You've already forked npm-core-sdk
Latest generation
This commit is contained in:
40
alias.ts
40
alias.ts
@@ -250,9 +250,9 @@ export enum AliasType {
|
||||
class AliasPropertiesAppointmentScheduling$Type extends MessageType<AliasPropertiesAppointmentScheduling> {
|
||||
constructor() {
|
||||
super("api.AliasPropertiesAppointmentScheduling", [
|
||||
{ no: 1, name: "AptType", kind: "enum", localName: "AptType", jsonName: "AptType", T: () => ["api.AppointmentType", AppointmentType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 2, name: "LoadingCommandIdentifierEntry", kind: "enum", localName: "LoadingCommandIdentifierEntry", jsonName: "LoadingCommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 3, name: "UnLoadingCommandIdentifierEntry", kind: "enum", localName: "UnLoadingCommandIdentifierEntry", jsonName: "UnLoadingCommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 1, name: "AptType", kind: "enum", localName: "AptType", jsonName: "AptType", T: () => ["api.AppointmentType", AppointmentType], options: { "n1validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 2, name: "LoadingCommandIdentifierEntry", kind: "enum", localName: "LoadingCommandIdentifierEntry", jsonName: "LoadingCommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry], options: { "n1validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 3, name: "UnLoadingCommandIdentifierEntry", kind: "enum", localName: "UnLoadingCommandIdentifierEntry", jsonName: "UnLoadingCommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry], options: { "n1validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 4, name: "ActorName", kind: "scalar", localName: "ActorName", jsonName: "ActorName", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
@@ -321,10 +321,10 @@ export const AliasPropertiesAppointmentScheduling = new AliasPropertiesAppointme
|
||||
class Alias$Type extends MessageType<Alias> {
|
||||
constructor() {
|
||||
super("api.Alias", [
|
||||
{ no: 1, name: "FromID", kind: "scalar", localName: "FromID", jsonName: "FromID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "AliasType", kind: "enum", localName: "AliasType", jsonName: "AliasType", T: () => ["api.AliasType", AliasType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 3, name: "AliasName", kind: "scalar", localName: "AliasName", jsonName: "AliasName", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 4, name: "ToID", kind: "scalar", localName: "ToID", jsonName: "ToID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 1, name: "FromID", kind: "scalar", localName: "FromID", jsonName: "FromID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "AliasType", kind: "enum", localName: "AliasType", jsonName: "AliasType", T: () => ["api.AliasType", AliasType], options: { "n1validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 3, name: "AliasName", kind: "scalar", localName: "AliasName", jsonName: "AliasName", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 4, name: "ToID", kind: "scalar", localName: "ToID", jsonName: "ToID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 5, name: "Properties", kind: "scalar", localName: "Properties", jsonName: "Properties", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
@@ -400,7 +400,7 @@ export const Alias = new Alias$Type();
|
||||
class CreateAliasRequest$Type extends MessageType<CreateAliasRequest> {
|
||||
constructor() {
|
||||
super("api.CreateAliasRequest", [
|
||||
{ no: 1, name: "Alias", kind: "message", localName: "Alias", jsonName: "Alias", T: () => Alias, options: { "validate.rules": { message: { required: true } } } }
|
||||
{ no: 1, name: "Alias", kind: "message", localName: "Alias", jsonName: "Alias", T: () => Alias, options: { "n1validate.rules": { message: { required: true } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Alias"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<CreateAliasRequest>): CreateAliasRequest {
|
||||
@@ -492,9 +492,9 @@ export const CreateAliasResponse = new CreateAliasResponse$Type();
|
||||
class GetAliasRequest$Type extends MessageType<GetAliasRequest> {
|
||||
constructor() {
|
||||
super("api.GetAliasRequest", [
|
||||
{ no: 1, name: "FromID", kind: "scalar", localName: "FromID", jsonName: "FromID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "AliasType", kind: "enum", localName: "AliasType", jsonName: "AliasType", T: () => ["api.AliasType", AliasType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 3, name: "AliasName", kind: "scalar", localName: "AliasName", jsonName: "AliasName", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 1, name: "FromID", kind: "scalar", localName: "FromID", jsonName: "FromID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "AliasType", kind: "enum", localName: "AliasType", jsonName: "AliasType", T: () => ["api.AliasType", AliasType], options: { "n1validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 3, name: "AliasName", kind: "scalar", localName: "AliasName", jsonName: "AliasName", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["FromID", "AliasType", "AliasName"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<GetAliasRequest>): GetAliasRequest {
|
||||
@@ -601,7 +601,7 @@ export const GetAliasResponse = new GetAliasResponse$Type();
|
||||
class ListAliasesFromRequest$Type extends MessageType<ListAliasesFromRequest> {
|
||||
constructor() {
|
||||
super("api.ListAliasesFromRequest", [
|
||||
{ no: 1, name: "FromID", kind: "scalar", localName: "FromID", jsonName: "FromID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 1, name: "FromID", kind: "scalar", localName: "FromID", jsonName: "FromID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "AliasType", kind: "enum", localName: "AliasType", jsonName: "AliasType", T: () => ["api.AliasType", AliasType] }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["FromID"] } } });
|
||||
}
|
||||
@@ -703,7 +703,7 @@ export const ListAliasesFromResponse = new ListAliasesFromResponse$Type();
|
||||
class ListAliasesToRequest$Type extends MessageType<ListAliasesToRequest> {
|
||||
constructor() {
|
||||
super("api.ListAliasesToRequest", [
|
||||
{ no: 1, name: "ToID", kind: "scalar", localName: "ToID", jsonName: "ToID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 1, name: "ToID", kind: "scalar", localName: "ToID", jsonName: "ToID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ToID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<ListAliasesToRequest>): ListAliasesToRequest {
|
||||
@@ -797,9 +797,9 @@ export const ListAliasesToResponse = new ListAliasesToResponse$Type();
|
||||
class DeleteAliasRequest$Type extends MessageType<DeleteAliasRequest> {
|
||||
constructor() {
|
||||
super("api.DeleteAliasRequest", [
|
||||
{ no: 1, name: "FromID", kind: "scalar", localName: "FromID", jsonName: "FromID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "AliasType", kind: "enum", localName: "AliasType", jsonName: "AliasType", T: () => ["api.AliasType", AliasType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 3, name: "AliasName", kind: "scalar", localName: "AliasName", jsonName: "AliasName", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 1, name: "FromID", kind: "scalar", localName: "FromID", jsonName: "FromID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "AliasType", kind: "enum", localName: "AliasType", jsonName: "AliasType", T: () => ["api.AliasType", AliasType], options: { "n1validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 3, name: "AliasName", kind: "scalar", localName: "AliasName", jsonName: "AliasName", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["FromID", "AliasType", "AliasName"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<DeleteAliasRequest>): DeleteAliasRequest {
|
||||
@@ -898,7 +898,7 @@ export const DeleteAliasResponse = new DeleteAliasResponse$Type();
|
||||
class DeleteAllAliasesFromRequest$Type extends MessageType<DeleteAllAliasesFromRequest> {
|
||||
constructor() {
|
||||
super("api.DeleteAllAliasesFromRequest", [
|
||||
{ no: 1, name: "FromID", kind: "scalar", localName: "FromID", jsonName: "FromID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 1, name: "FromID", kind: "scalar", localName: "FromID", jsonName: "FromID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "AliasType", kind: "enum", localName: "AliasType", jsonName: "AliasType", T: () => ["api.AliasType", AliasType] }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["FromID"] } } });
|
||||
}
|
||||
@@ -991,7 +991,7 @@ export const DeleteAllAliasesFromResponse = new DeleteAllAliasesFromResponse$Typ
|
||||
class DeleteAllAliasesToRequest$Type extends MessageType<DeleteAllAliasesToRequest> {
|
||||
constructor() {
|
||||
super("api.DeleteAllAliasesToRequest", [
|
||||
{ no: 1, name: "ToID", kind: "scalar", localName: "ToID", jsonName: "ToID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 1, name: "ToID", kind: "scalar", localName: "ToID", jsonName: "ToID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ToID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<DeleteAllAliasesToRequest>): DeleteAllAliasesToRequest {
|
||||
@@ -1076,8 +1076,8 @@ export const DeleteAllAliasesToResponse = new DeleteAllAliasesToResponse$Type();
|
||||
class DeleteAllAliasesFromToRequest$Type extends MessageType<DeleteAllAliasesFromToRequest> {
|
||||
constructor() {
|
||||
super("api.DeleteAllAliasesFromToRequest", [
|
||||
{ no: 1, name: "FromID", kind: "scalar", localName: "FromID", jsonName: "FromID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "ToID", kind: "scalar", localName: "ToID", jsonName: "ToID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 1, name: "FromID", kind: "scalar", localName: "FromID", jsonName: "FromID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "ToID", kind: "scalar", localName: "ToID", jsonName: "ToID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "AliasType", kind: "enum", localName: "AliasType", jsonName: "AliasType", T: () => ["api.AliasType", AliasType] }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["FromID", "ToID"] } } });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user