Latest generation

This commit is contained in:
ci core model
2025-12-09 11:20:34 +00:00
parent 3896777a92
commit 35023738c7
62 changed files with 367 additions and 367 deletions

22
role.ts
View File

@@ -872,7 +872,7 @@ export const ExternalPermission = new ExternalPermission$Type();
class CreatePlatformRoleRequest$Type extends MessageType<CreatePlatformRoleRequest> {
constructor() {
super("api.CreatePlatformRoleRequest", [
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } },
{ no: 4, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 5, name: "Permissions", kind: "message", localName: "Permissions", jsonName: "Permissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Permission },
{ no: 6, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.RoleType", RoleType], options: { "validate.rules": { enum: { definedOnly: true } } } },
@@ -1006,7 +1006,7 @@ class CreateOrganisationRoleRequest$Type extends MessageType<CreateOrganisationR
constructor() {
super("api.CreateOrganisationRoleRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } },
{ no: 4, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 5, name: "Permissions", kind: "message", localName: "Permissions", jsonName: "Permissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Permission },
{ no: 6, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.RoleType", RoleType], options: { "validate.rules": { enum: { definedOnly: true } } } },
@@ -1138,7 +1138,7 @@ class CreateProjectRoleRequest$Type extends MessageType<CreateProjectRoleRequest
constructor() {
super("api.CreateProjectRoleRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } },
{ no: 4, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 5, name: "Permissions", kind: "message", localName: "Permissions", jsonName: "Permissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Permission },
{ no: 6, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.RoleType", RoleType], options: { "validate.rules": { enum: { definedOnly: true } } } },
@@ -1269,7 +1269,7 @@ export const CreateProjectRoleResult = new CreateProjectRoleResult$Type();
class UpdatePlatformRoleRequest$Type extends MessageType<UpdatePlatformRoleRequest> {
constructor() {
super("api.UpdatePlatformRoleRequest", [
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } },
{ no: 4, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 5, name: "Permissions", kind: "message", localName: "Permissions", jsonName: "Permissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Permission },
{ no: 6, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.RoleType", RoleType], options: { "validate.rules": { enum: { definedOnly: true } } } },
@@ -1403,7 +1403,7 @@ class UpdateOrganisationRoleRequest$Type extends MessageType<UpdateOrganisationR
constructor() {
super("api.UpdateOrganisationRoleRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } },
{ no: 4, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 5, name: "Permissions", kind: "message", localName: "Permissions", jsonName: "Permissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Permission, options: { "validate.rules": { repeated: { minItems: "1" } } } },
{ no: 6, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.RoleType", RoleType], options: { "validate.rules": { enum: { definedOnly: true } } } },
@@ -1535,7 +1535,7 @@ class UpdateProjectRoleRequest$Type extends MessageType<UpdateProjectRoleRequest
constructor() {
super("api.UpdateProjectRoleRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } },
{ no: 4, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 5, name: "Permissions", kind: "message", localName: "Permissions", jsonName: "Permissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Permission },
{ no: 6, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.RoleType", RoleType], options: { "validate.rules": { enum: { definedOnly: true } } } },
@@ -1768,7 +1768,7 @@ class GetOrganisationRoleRequest$Type extends MessageType<GetOrganisationRoleReq
constructor() {
super("api.GetOrganisationRoleRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } },
{ no: 3, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "validate.rules": { enum: { definedOnly: true } } } }
]);
}
@@ -1876,7 +1876,7 @@ class GetProjectRoleRequest$Type extends MessageType<GetProjectRoleRequest> {
constructor() {
super("api.GetProjectRoleRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } },
{ no: 3, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "validate.rules": { enum: { definedOnly: true } } } }
]);
}
@@ -2619,7 +2619,7 @@ export const DeleteAllPlatformRolesResult = new DeleteAllPlatformRolesResult$Typ
class DeletePlatformRoleRequest$Type extends MessageType<DeletePlatformRoleRequest> {
constructor() {
super("api.DeletePlatformRoleRequest", [
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } },
{ no: 4, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "validate.rules": { enum: { definedOnly: true } } } }
]);
}
@@ -2713,7 +2713,7 @@ class DeleteOrganisationRoleRequest$Type extends MessageType<DeleteOrganisationR
constructor() {
super("api.DeleteOrganisationRoleRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } },
{ no: 4, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "validate.rules": { enum: { definedOnly: true } } } }
]);
}
@@ -2813,7 +2813,7 @@ class DeleteProjectRoleRequest$Type extends MessageType<DeleteProjectRoleRequest
constructor() {
super("api.DeleteProjectRoleRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" }, "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } } },
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[.a-zA-Z0-9]+(?:-[.a-zA-Z0-9]+)*$" } } },
{ no: 4, name: "ResourceType", kind: "enum", localName: "ResourceType", jsonName: "ResourceType", T: () => ["api.ResourceType", ResourceType], options: { "validate.rules": { enum: { definedOnly: true } } } }
]);
}