Latest generation

This commit is contained in:
ci core model
2025-08-11 09:08:33 +00:00
parent cf49a2e6f3
commit 44a5bd3cc8
93 changed files with 1440 additions and 1404 deletions

View File

@@ -105,7 +105,7 @@ export interface DeleteOpenSearchProjectResponse {
class CreateOpenSearchUserRequest$Type extends MessageType<CreateOpenSearchUserRequest> {
constructor() {
super("api.CreateOpenSearchUserRequest", [
{ no: 1, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "PartnerAppID for which the user will be created." } } }
{ no: 1, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "PartnerAppID for which the user will be created." }, "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["PartnerAppID"] } } });
}
create(value?: PartialMessage<CreateOpenSearchUserRequest>): CreateOpenSearchUserRequest {
@@ -215,7 +215,7 @@ export const CreateOpenSearchUserResponse = new CreateOpenSearchUserResponse$Typ
class DeleteOpenSearchUserRequest$Type extends MessageType<DeleteOpenSearchUserRequest> {
constructor() {
super("api.DeleteOpenSearchUserRequest", [
{ no: 1, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "PartnerAppID for which the user will be created." } } }
{ no: 1, name: "PartnerAppID", kind: "scalar", localName: "PartnerAppID", jsonName: "PartnerAppID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "PartnerAppID for which the user will be created." }, "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["PartnerAppID"] } } });
}
create(value?: PartialMessage<DeleteOpenSearchUserRequest>): DeleteOpenSearchUserRequest {
@@ -300,7 +300,7 @@ export const DeleteOpenSearchUserResponse = new DeleteOpenSearchUserResponse$Typ
class CreateOpenSearchTenantRequest$Type extends MessageType<CreateOpenSearchTenantRequest> {
constructor() {
super("api.CreateOpenSearchTenantRequest", [
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Tenant's name. This will be used as the index template name. For example if the name is 'mytenant', the index template will be 'mytenant_template' with an index pattern as '*_mytenant' (if mappings are provided)." } } },
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Tenant's name. This will be used as the index template name. For example if the name is 'mytenant', the index template will be 'mytenant_template' with an index pattern as '*_mytenant' (if mappings are provided)." }, "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "DashboardJSON", kind: "scalar", localName: "DashboardJSON", jsonName: "DashboardJSON", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Exported dashboard JSON from Opensearch that will be created under the given tenant. If not provided, no dashboard will be created." } } },
{ no: 3, name: "MappingsJSON", kind: "scalar", localName: "MappingsJSON", jsonName: "MappingsJSON", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Mappings used for the tenant's index template. If not provided, no index template will be created. See https://opensearch.org/docs/latest/opensearch/mappings/ for correct mappings format." } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Name"] } } });
@@ -401,7 +401,7 @@ export const CreateOpenSearchTenantResponse = new CreateOpenSearchTenantResponse
class CreateOpenSearchProjectRoleRequest$Type extends MessageType<CreateOpenSearchProjectRoleRequest> {
constructor() {
super("api.CreateOpenSearchProjectRoleRequest", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ProjectID for which the role will be created." } } }
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ProjectID for which the role will be created." }, "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } });
}
create(value?: PartialMessage<CreateOpenSearchProjectRoleRequest>): CreateOpenSearchProjectRoleRequest {
@@ -486,7 +486,7 @@ export const CreateOpenSearchProjectRoleResponse = new CreateOpenSearchProjectRo
class DeleteOpenSearchProjectRequest$Type extends MessageType<DeleteOpenSearchProjectRequest> {
constructor() {
super("api.DeleteOpenSearchProjectRequest", [
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ProjectID for which the role will be deleted." } } }
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "ProjectID for which the role will be deleted." }, "validate.rules": { string: { minLen: "1" } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } });
}
create(value?: PartialMessage<DeleteOpenSearchProjectRequest>): DeleteOpenSearchProjectRequest {
@@ -571,9 +571,9 @@ export const DeleteOpenSearchProjectResponse = new DeleteOpenSearchProjectRespon
* @generated ServiceType for protobuf service api.OpenSearchService
*/
export const OpenSearchService = new ServiceType("api.OpenSearchService", [
{ name: "CreateUser", options: { "api.rscType": "Platform", "api.roles": "Platform.OpenSearch", "api.moduleID": "common", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Creates the various OpenSearch resources required for a PartnerApp (user, tenant, role)", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateOpenSearchUserRequest, O: CreateOpenSearchUserResponse },
{ name: "DeleteUser", options: { "api.rscType": "Platform", "api.roles": "Platform.OpenSearch", "api.moduleID": "common", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Deletes the various OpenSearch resources required for a PartnerApp", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteOpenSearchUserRequest, O: DeleteOpenSearchUserResponse },
{ name: "CreateTenant", options: { "api.rscType": "Platform", "api.roles": "", "api.moduleID": "common", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Creates the various OpenSearch resources required for a new Tenant (tenant, index template, index policy, role, dashboard)", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateOpenSearchTenantRequest, O: CreateOpenSearchTenantResponse },
{ name: "CreateProjectRole", options: { "api.rscType": "Platform", "api.roles": "Platform.OpenSearch", "api.moduleID": "common", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Creates a role for a given project that will allow the user to access the project's index", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateOpenSearchProjectRoleRequest, O: CreateOpenSearchProjectRoleResponse },
{ name: "DeleteProject", options: { "api.rscType": "Platform", "api.roles": "Platform.OpenSearch", "api.moduleID": "common", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Deletes the various OpenSearch resources required for a given project (indexes, roles)", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteOpenSearchProjectRequest, O: DeleteOpenSearchProjectResponse }
{ name: "CreateUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Creates the various OpenSearch resources required for a PartnerApp (user, tenant, role)", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.OpenSearch", "api.moduleID": "common" }, I: CreateOpenSearchUserRequest, O: CreateOpenSearchUserResponse },
{ name: "DeleteUser", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Deletes the various OpenSearch resources required for a PartnerApp", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.OpenSearch", "api.moduleID": "common" }, I: DeleteOpenSearchUserRequest, O: DeleteOpenSearchUserResponse },
{ name: "CreateTenant", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Creates the various OpenSearch resources required for a new Tenant (tenant, index template, index policy, role, dashboard)", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "", "api.moduleID": "common" }, I: CreateOpenSearchTenantRequest, O: CreateOpenSearchTenantResponse },
{ name: "CreateProjectRole", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Creates a role for a given project that will allow the user to access the project's index", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.OpenSearch", "api.moduleID": "common" }, I: CreateOpenSearchProjectRoleRequest, O: CreateOpenSearchProjectRoleResponse },
{ name: "DeleteProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["OpenSearch"], description: "Deletes the various OpenSearch resources required for a given project (indexes, roles)", externalDocs: { description: "Find out more", url: "https://portal.dev.reflex-platform.com/" } }, "google.api.method_visibility": { restriction: "INTERNAL" }, "api.rscType": "Platform", "api.roles": "Platform.OpenSearch", "api.moduleID": "common" }, I: DeleteOpenSearchProjectRequest, O: DeleteOpenSearchProjectResponse }
], { "api.k8sService": "logger-server" });