You've already forked npm-core-sdk
Latest generation
This commit is contained in:
28
accounts.ts
28
accounts.ts
@@ -298,7 +298,7 @@ export interface ListAccountsResult {
|
||||
class CreateAccountRequest$Type extends MessageType<CreateAccountRequest> {
|
||||
constructor() {
|
||||
super("api.CreateAccountRequest", [
|
||||
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "permission", kind: "message", T: () => NscPermission },
|
||||
{ no: 3, name: "jetStream", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["name"] } } });
|
||||
@@ -406,10 +406,10 @@ export const CreateAccountResult = new CreateAccountResult$Type();
|
||||
class AddExportRequest$Type extends MessageType<AddExportRequest> {
|
||||
constructor() {
|
||||
super("api.AddExportRequest", [
|
||||
{ no: 1, name: "accountName", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 1, name: "accountName", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "public", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 3, name: "stream", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 4, name: "subject", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 4, name: "subject", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["accountName", "subject"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<AddExportRequest>): AddExportRequest {
|
||||
@@ -523,9 +523,9 @@ export const AddExportResult = new AddExportResult$Type();
|
||||
class AddImportRequest$Type extends MessageType<AddImportRequest> {
|
||||
constructor() {
|
||||
super("api.AddImportRequest", [
|
||||
{ no: 1, name: "accountName", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "remoteAccount", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "subject", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 1, name: "accountName", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "remoteAccount", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "subject", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["accountName", "remoteAccount", "subject"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<AddImportRequest>): AddImportRequest {
|
||||
@@ -632,8 +632,8 @@ export const AddImportResult = new AddImportResult$Type();
|
||||
class DeleteExportRequest$Type extends MessageType<DeleteExportRequest> {
|
||||
constructor() {
|
||||
super("api.DeleteExportRequest", [
|
||||
{ no: 1, name: "accountName", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "subject", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 1, name: "accountName", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "subject", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["accountName", "subject"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<DeleteExportRequest>): DeleteExportRequest {
|
||||
@@ -733,9 +733,9 @@ export const DeleteExportResult = new DeleteExportResult$Type();
|
||||
class DeleteImportRequest$Type extends MessageType<DeleteImportRequest> {
|
||||
constructor() {
|
||||
super("api.DeleteImportRequest", [
|
||||
{ no: 1, name: "accountName", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "remoteAccount", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "subject", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 1, name: "accountName", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "remoteAccount", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "subject", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["accountName", "remoteAccount", "subject"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<DeleteImportRequest>): DeleteImportRequest {
|
||||
@@ -842,7 +842,7 @@ export const DeleteImportResult = new DeleteImportResult$Type();
|
||||
class GetAccountRequest$Type extends MessageType<GetAccountRequest> {
|
||||
constructor() {
|
||||
super("api.GetAccountRequest", [
|
||||
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["name"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<GetAccountRequest>): GetAccountRequest {
|
||||
@@ -935,7 +935,7 @@ export const GetAccountResult = new GetAccountResult$Type();
|
||||
class EditAccountRequest$Type extends MessageType<EditAccountRequest> {
|
||||
constructor() {
|
||||
super("api.EditAccountRequest", [
|
||||
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "permission", kind: "message", T: () => NscPermission },
|
||||
{ no: 3, name: "rmPerms", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "jetStream", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
||||
@@ -1075,7 +1075,7 @@ export const EditAccountResult = new EditAccountResult$Type();
|
||||
class DeleteAccountRequest$Type extends MessageType<DeleteAccountRequest> {
|
||||
constructor() {
|
||||
super("api.DeleteAccountRequest", [
|
||||
{ no: 1, name: "accountName", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 1, name: "accountName", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["accountName"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<DeleteAccountRequest>): DeleteAccountRequest {
|
||||
|
||||
Reference in New Issue
Block a user