Latest generation

This commit is contained in:
ci core model
2026-08-31 08:10:50 +00:00
parent d4b5ec178b
commit 237fd5bec2
96 changed files with 1171 additions and 1116 deletions

View File

@@ -151,7 +151,7 @@ class MessagingSettings$Type extends MessageType<MessagingSettings> {
super("api.MessagingSettings", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "MaxUsage", kind: "scalar", localName: "MaxUsage", jsonName: "MaxUsage", T: 2 /*ScalarType.FLOAT*/, options: { "n1validate.rules": { float: { gte: 0 } } } },
{ no: 3, name: "Currency", kind: "enum", localName: "Currency", jsonName: "Currency", T: () => ["api.Currency", Currency], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/ISO_4217'>ISO 4217</a> currency code", example: "[\"EUR\", \"USD\"]" }, "n1validate.rules": { enum: { definedOnly: true } } } },
{ no: 3, name: "Currency", kind: "enum", localName: "Currency", jsonName: "Currency", T: () => ["api.Currency", Currency], options: { "n1validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/ISO_4217'>ISO 4217</a> currency code", example: "[\"EUR\", \"USD\"]" } } },
{ no: 4, name: "SenderLabel", kind: "scalar", localName: "SenderLabel", jsonName: "SenderLabel", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^[A-Z]{1,11}$", ignoreEmpty: true } } } }
]);
}
@@ -222,7 +222,7 @@ class MessagingSettingsHistoryRecord$Type extends MessageType<MessagingSettingsH
super("api.MessagingSettingsHistoryRecord", [
{ no: 1, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "MessagingSettings", kind: "message", localName: "MessagingSettings", jsonName: "MessagingSettings", T: () => MessagingSettings },
{ no: 3, name: "UpdatedAt", kind: "scalar", localName: "UpdatedAt", jsonName: "UpdatedAt", 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" }, "n1validate.rules": { string: { dateIso8601: true } } } }
{ no: 3, name: "UpdatedAt", kind: "scalar", localName: "UpdatedAt", jsonName: "UpdatedAt", T: 9 /*ScalarType.STRING*/, options: { "n1validate.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" } } }
]);
}
create(value?: PartialMessage<MessagingSettingsHistoryRecord>): MessagingSettingsHistoryRecord {
@@ -469,7 +469,7 @@ class PutMessagingSettingsRequest$Type extends MessageType<PutMessagingSettingsR
super("api.PutMessagingSettingsRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } },
{ no: 2, name: "MaxUsage", kind: "scalar", localName: "MaxUsage", jsonName: "MaxUsage", T: 2 /*ScalarType.FLOAT*/, options: { "n1validate.rules": { float: { gte: 0 } } } },
{ no: 3, name: "Currency", kind: "enum", localName: "Currency", jsonName: "Currency", T: () => ["api.Currency", Currency], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/ISO_4217'>ISO 4217</a> currency code", example: "[\"EUR\", \"USD\"]" }, "n1validate.rules": { enum: { definedOnly: true } } } },
{ no: 3, name: "Currency", kind: "enum", localName: "Currency", jsonName: "Currency", T: () => ["api.Currency", Currency], options: { "n1validate.rules": { enum: { definedOnly: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/ISO_4217'>ISO 4217</a> currency code", example: "[\"EUR\", \"USD\"]" } } },
{ no: 4, name: "SenderLabel", kind: "scalar", localName: "SenderLabel", jsonName: "SenderLabel", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { pattern: "^[A-Z]{1,11}$", ignoreEmpty: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "MaxUsage", "Currency", "SenderLabel"] } } });
}
@@ -745,9 +745,9 @@ export const DeleteSettingsAccountResponse = new DeleteSettingsAccountResponse$T
* @generated ServiceType for protobuf service api.MessagingSettingsService
*/
export const MessagingSettingsService = new ServiceType("api.MessagingSettingsService", [
{ name: "CreateSettingsAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Create related messaging resources for a Project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Account" }, I: CreateSettingsAccountRequest, O: CreateSettingsAccountResponse },
{ name: "DeleteSettingsAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Delete related messaging resources for a Project" }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.Account" }, I: DeleteSettingsAccountRequest, O: DeleteSettingsAccountResponse },
{ name: "Put", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Update the messaging settings for a Project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "sms" }, I: PutMessagingSettingsRequest, O: PutMessagingSettingsResponse },
{ name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Retrieve a messaging settings for a Project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "sms" }, I: GetMessagingSettingsRequest, O: GetMessagingSettingsResponse },
{ name: "GetHistory", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Retrieve the messaging settings modification history for a Project" }, "google.api.method_visibility": { restriction: "SDK" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "sms" }, I: GetMessagingSettingsHistoryRequest, O: GetMessagingSettingsHistoryResponse }
{ name: "CreateSettingsAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Create related messaging resources for a Project" }, "api.rscType": "Platform", "api.roles": "Platform.Account", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateSettingsAccountRequest, O: CreateSettingsAccountResponse },
{ name: "DeleteSettingsAccount", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Delete related messaging resources for a Project" }, "api.rscType": "Platform", "api.roles": "Platform.Account", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteSettingsAccountRequest, O: DeleteSettingsAccountResponse },
{ name: "Put", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Update the messaging settings for a Project" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "sms", "google.api.method_visibility": { restriction: "SDK" } }, I: PutMessagingSettingsRequest, O: PutMessagingSettingsResponse },
{ name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Retrieve a messaging settings for a Project" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "sms", "google.api.method_visibility": { restriction: "SDK" } }, I: GetMessagingSettingsRequest, O: GetMessagingSettingsResponse },
{ name: "GetHistory", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Messaging"], description: "Retrieve the messaging settings modification history for a Project" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "sms", "google.api.method_visibility": { restriction: "SDK" } }, I: GetMessagingSettingsHistoryRequest, O: GetMessagingSettingsHistoryResponse }
], { "api.k8sService": "messaging-server" });