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

24
user.ts
View File

@@ -1216,10 +1216,10 @@ class User$Type extends MessageType<User> {
{ no: 6, name: "LanguageCode", kind: "scalar", localName: "LanguageCode", jsonName: "LanguageCode", T: 9 /*ScalarType.STRING*/ },
{ no: 7, name: "TimezoneCode", kind: "scalar", localName: "TimezoneCode", jsonName: "TimezoneCode", T: 9 /*ScalarType.STRING*/ },
{ no: 10, name: "Status", kind: "enum", localName: "Status", jsonName: "Status", T: () => ["api.UserStatus", UserStatus] },
{ no: 11, name: "CreatedAt", kind: "scalar", localName: "CreatedAt", jsonName: "CreatedAt", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format" }, "validate.rules": { string: { dateIso8601: true } } } },
{ no: 11, name: "CreatedAt", kind: "scalar", localName: "CreatedAt", jsonName: "CreatedAt", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format" } } },
{ no: 12, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.UserType", UserType], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Type of the user, could be a Service Account or a normal User" } } },
{ no: 13, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If the user is a Service Account, the PartnerAppID is the ID of the partner app it belongs to, empty otherwise" } } },
{ no: 14, name: "ExpiresAt", kind: "scalar", localName: "ExpiresAt", jsonName: "ExpiresAt", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format ; only for Service Accounts, empty otherwise" }, "validate.rules": { string: { dateIso8601: true } } } },
{ no: 14, name: "ExpiresAt", kind: "scalar", localName: "ExpiresAt", jsonName: "ExpiresAt", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { dateIso8601: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "UTC date/time in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format ; only for Service Accounts, empty otherwise" } } },
{ no: 15, name: "PartnerID", kind: "scalar", localName: "PartnerID", jsonName: "PartnerID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The Partner ID the user belongs to. If empty, the user is not affiliated to a partner" } } },
{ no: 16, name: "TwoFA", kind: "enum", localName: "TwoFA", jsonName: "TwoFA", T: () => ["api.TwoFAValue", TwoFAValue], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "The 2FA value for the user" } } },
{ no: 17, name: "TemporarilyLocked", kind: "scalar", localName: "TemporarilyLocked", jsonName: "TemporarilyLocked", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "If the user has been temporarily locked due to too many failed login attempts" } } }
@@ -1743,7 +1743,7 @@ class CreateSARequest$Type extends MessageType<CreateSARequest> {
constructor() {
super("api.CreateSARequest", [
{ 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]+)*$" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Name"] } } });
}
create(value?: PartialMessage<CreateSARequest>): CreateSARequest {
@@ -1905,7 +1905,7 @@ class SuggestSANameRequest$Type extends MessageType<SuggestSANameRequest> {
constructor() {
super("api.SuggestSANameRequest", [
{ 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]+)*$" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Name"] } } });
}
create(value?: PartialMessage<SuggestSANameRequest>): SuggestSANameRequest {
@@ -1959,7 +1959,7 @@ class CreateProjectSARequest$Type extends MessageType<CreateProjectSARequest> {
constructor() {
super("api.CreateProjectSARequest", [
{ 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]+)*$" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Name"] } } });
}
create(value?: PartialMessage<CreateProjectSARequest>): CreateProjectSARequest {
@@ -2121,7 +2121,7 @@ class SuggestProjectSANameRequest$Type extends MessageType<SuggestProjectSANameR
constructor() {
super("api.SuggestProjectSANameRequest", [
{ 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]+)*$" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "Name"] } } });
}
create(value?: PartialMessage<SuggestProjectSANameRequest>): SuggestProjectSANameRequest {
@@ -2305,7 +2305,7 @@ class ListPartnerAppUsersRequest$Type extends MessageType<ListPartnerAppUsersReq
constructor() {
super("api.ListPartnerAppUsersRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" }, "validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } } } }
{ no: 2, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "PartnerAppID"] } } });
}
create(value?: PartialMessage<ListPartnerAppUsersRequest>): ListPartnerAppUsersRequest {
@@ -2359,7 +2359,7 @@ class ListConnectionUsersRequest$Type extends MessageType<ListConnectionUsersReq
constructor() {
super("api.ListConnectionUsersRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ConnectionID", kind: "scalar", localName: "ConnectionID", jsonName: "ConnectionID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" }, "validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } } } }
{ no: 2, name: "ConnectionID", kind: "scalar", localName: "ConnectionID", jsonName: "ConnectionID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ConnectionID"] } } });
}
create(value?: PartialMessage<ListConnectionUsersRequest>): ListConnectionUsersRequest {
@@ -5271,7 +5271,7 @@ class FindPartnerAppUsersRequest$Type extends MessageType<FindPartnerAppUsersReq
constructor() {
super("api.FindPartnerAppUsersRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" }, "validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } } } },
{ no: 2, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" } } },
{ no: 3, name: "Filter", kind: "message", localName: "Filter", jsonName: "Filter", T: () => FindUsersFilters, options: { "validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "PartnerAppID", "Filter"] } } });
}
@@ -5332,7 +5332,7 @@ class FindConnectionUsersRequest$Type extends MessageType<FindConnectionUsersReq
constructor() {
super("api.FindConnectionUsersRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ConnectionID", kind: "scalar", localName: "ConnectionID", jsonName: "ConnectionID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" }, "validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } } } },
{ no: 2, name: "ConnectionID", kind: "scalar", localName: "ConnectionID", jsonName: "ConnectionID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" } } },
{ no: 3, name: "Filter", kind: "message", localName: "Filter", jsonName: "Filter", T: () => FindUsersFilters, options: { "validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ConnectionID", "Filter"] } } });
}
@@ -5595,7 +5595,7 @@ class ListUsersInPartnerAppRoleRequest$Type extends MessageType<ListUsersInPartn
constructor() {
super("api.ListUsersInPartnerAppRoleRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" }, "validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } } } },
{ no: 2, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" } } },
{ no: 3, name: "Roles", kind: "scalar", localName: "Roles", jsonName: "Roles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { minItems: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "PartnerAppID", "Role"] } } });
}
@@ -5657,7 +5657,7 @@ class ListUsersInConnectionRoleRequest$Type extends MessageType<ListUsersInConne
constructor() {
super("api.ListUsersInConnectionRoleRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ConnectionID", kind: "scalar", localName: "ConnectionID", jsonName: "ConnectionID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" }, "validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } } } },
{ no: 2, name: "ConnectionID", kind: "scalar", localName: "ConnectionID", jsonName: "ConnectionID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^([A-Za-z0-9-])+$" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^([A-Za-z0-9-])+$" } } },
{ no: 3, name: "Roles", kind: "scalar", localName: "Roles", jsonName: "Roles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { minItems: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ConnectionID", "Role"] } } });
}