You've already forked npm-core-sdk
Latest generation
This commit is contained in:
18
module.ts
18
module.ts
@@ -215,7 +215,7 @@ export enum ModuleCategory {
|
||||
class Module$Type extends MessageType<Module> {
|
||||
constructor() {
|
||||
super("api.Module", [
|
||||
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "DependsOn", kind: "message", localName: "DependsOn", jsonName: "DependsOn", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Module },
|
||||
{ no: 3, name: "Category", kind: "enum", localName: "Category", jsonName: "Category", T: () => ["api.ModuleCategory", ModuleCategory] }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ID"] } } });
|
||||
@@ -363,7 +363,7 @@ export const ListModulesResponse = new ListModulesResponse$Type();
|
||||
class SetOrganisationModulesRequest$Type extends MessageType<SetOrganisationModulesRequest> {
|
||||
constructor() {
|
||||
super("api.SetOrganisationModulesRequest", [
|
||||
{ no: 1, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 1, name: "OrganisationID", kind: "scalar", localName: "OrganisationID", jsonName: "OrganisationID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Module }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["OrganisationID"] } } });
|
||||
}
|
||||
@@ -503,7 +503,7 @@ export const ListOrganisationModulesResponse = new ListOrganisationModulesRespon
|
||||
class SetProjectModulesRequest$Type extends MessageType<SetProjectModulesRequest> {
|
||||
constructor() {
|
||||
super("api.SetProjectModulesRequest", [
|
||||
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Module }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } });
|
||||
}
|
||||
@@ -643,7 +643,7 @@ export const ListProjectModulesResponse = new ListProjectModulesResponse$Type();
|
||||
class SetResourceModulesRequest$Type extends MessageType<SetResourceModulesRequest> {
|
||||
constructor() {
|
||||
super("api.SetResourceModulesRequest", [
|
||||
{ no: 1, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 1, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "Modules", kind: "message", localName: "Modules", jsonName: "Modules", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Module }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ResourceID"] } } });
|
||||
}
|
||||
@@ -736,7 +736,7 @@ export const SetResourceModulesResponse = new SetResourceModulesResponse$Type();
|
||||
class ListResourceModulesRequest$Type extends MessageType<ListResourceModulesRequest> {
|
||||
constructor() {
|
||||
super("api.ListResourceModulesRequest", [
|
||||
{ no: 1, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 1, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ResourceID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<ListResourceModulesRequest>): ListResourceModulesRequest {
|
||||
@@ -830,9 +830,9 @@ export const ListResourceModulesResponse = new ListResourceModulesResponse$Type(
|
||||
class IsAPIActivatedRequest$Type extends MessageType<IsAPIActivatedRequest> {
|
||||
constructor() {
|
||||
super("api.IsAPIActivatedRequest", [
|
||||
{ no: 1, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "Service", kind: "scalar", localName: "Service", jsonName: "Service", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "Method", kind: "scalar", localName: "Method", jsonName: "Method", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 1, name: "ResourceID", kind: "scalar", localName: "ResourceID", jsonName: "ResourceID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "Service", kind: "scalar", localName: "Service", jsonName: "Service", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "Method", kind: "scalar", localName: "Method", jsonName: "Method", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ResourceID", "Service", "Method"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<IsAPIActivatedRequest>): IsAPIActivatedRequest {
|
||||
@@ -1040,7 +1040,7 @@ export const CreateModuleResponse = new CreateModuleResponse$Type();
|
||||
class DeleteModuleRequest$Type extends MessageType<DeleteModuleRequest> {
|
||||
constructor() {
|
||||
super("api.DeleteModuleRequest", [
|
||||
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<DeleteModuleRequest>): DeleteModuleRequest {
|
||||
|
||||
Reference in New Issue
Block a user