From 978d27fe26032d7d49a27d532407c9dd77f4fd66 Mon Sep 17 00:00:00 2001 From: ci core model Date: Mon, 7 Sep 2026 14:21:37 +0000 Subject: [PATCH] Latest generation --- actorInput.client.ts | 13 ++ actorInput.ts | 285 +++++++++++++++++++++++++++++- model-errors/model_errors_en.json | 4 + model-errors/model_errors_es.json | 4 + model-errors/model_errors_fr.json | 4 + model-errors/model_errors_it.json | 4 + model-errors/model_errors_nl.json | 4 + model-errors/model_errors_pl.json | 4 + model-errors/model_errors_pt.json | 4 + package.json | 2 +- 10 files changed, 326 insertions(+), 2 deletions(-) diff --git a/actorInput.client.ts b/actorInput.client.ts index 0b5d7a7..f459e1c 100644 --- a/actorInput.client.ts +++ b/actorInput.client.ts @@ -4,6 +4,8 @@ import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { ActorInputAPI } from "./actorInput"; +import type { ActorInformationUpdatedResponse } from "./actorInput"; +import type { ActorInformationUpdatedRequest } from "./actorInput"; import type { ActorWMSUpdatedResponse } from "./actorInput"; import type { ActorWMSUpdatedRequest } from "./actorInput"; import type { ActorConnectionUpdatedResponse } from "./actorInput"; @@ -122,6 +124,10 @@ export interface IActorInputAPIClient { * @generated from protobuf rpc: WMSUpdated */ wMSUpdated(input: ActorWMSUpdatedRequest, options?: RpcOptions): UnaryCall; + /** + * @generated from protobuf rpc: InformationUpdated + */ + informationUpdated(input: ActorInformationUpdatedRequest, options?: RpcOptions): UnaryCall; } /** * @@ -261,4 +267,11 @@ export class ActorInputAPIClient implements IActorInputAPIClient, ServiceInfo { const method = this.methods[17], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } + /** + * @generated from protobuf rpc: InformationUpdated + */ + informationUpdated(input: ActorInformationUpdatedRequest, options?: RpcOptions): UnaryCall { + const method = this.methods[18], opt = this._transport.mergeOptions(options); + return stackIntercept("unary", this._transport, method, opt, input); + } } diff --git a/actorInput.ts b/actorInput.ts index cbdfe79..929b5ec 100644 --- a/actorInput.ts +++ b/actorInput.ts @@ -1335,6 +1335,68 @@ export interface ActorCustomFieldsUpdatedResponse { */ ID?: EntityID; } +/** + * @generated from protobuf message api.ActorInformationUpdatedPayload + */ +export interface ActorInformationUpdatedPayload { + /** + * @generated from protobuf field: string AdditionalInformation = 1 + */ + AdditionalInformation: string; +} +/** + * Event message + * + * @generated from protobuf message api.ActorInformationUpdatedEvent + */ +export interface ActorInformationUpdatedEvent { + /** + * @generated from protobuf field: api.EventHeader Header = 1 + */ + Header?: EventHeader; + /** + * @generated from protobuf field: api.EntityID ID = 2 + */ + ID?: EntityID; + /** + * @generated from protobuf field: api.ActorInformationUpdatedPayload Payload = 3 + */ + Payload?: ActorInformationUpdatedPayload; +} +/** + * API Request + * + * @generated from protobuf message api.ActorInformationUpdatedRequest + */ +export interface ActorInformationUpdatedRequest { + /** + * @generated from protobuf field: api.RequestProjectHeader Header = 1 + */ + Header?: RequestProjectHeader; + /** + * @generated from protobuf field: api.EntityID ID = 2 + */ + ID?: EntityID; + /** + * @generated from protobuf field: api.ActorInformationUpdatedPayload Payload = 3 + */ + Payload?: ActorInformationUpdatedPayload; +} +/** + * API Response + * + * @generated from protobuf message api.ActorInformationUpdatedResponse + */ +export interface ActorInformationUpdatedResponse { + /** + * @generated from protobuf field: api.ResponseHeader Header = 1 + */ + Header?: ResponseHeader; + /** + * @generated from protobuf field: api.EntityID ID = 2 + */ + ID?: EntityID; +} // @generated message type with reflection information, may provide speed optimized methods class ActorCreatedPayload$Type extends MessageType { constructor() { @@ -5574,6 +5636,226 @@ class ActorCustomFieldsUpdatedResponse$Type extends MessageType { + constructor() { + super("api.ActorInformationUpdatedPayload", [ + { no: 1, name: "AdditionalInformation", kind: "scalar", localName: "AdditionalInformation", jsonName: "AdditionalInformation", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Additional information about the actor" } } } + ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "InformationUpdated" }); + } + create(value?: PartialMessage): ActorInformationUpdatedPayload { + const message = globalThis.Object.create((this.messagePrototype!)); + message.AdditionalInformation = ""; + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorInformationUpdatedPayload): ActorInformationUpdatedPayload { + let message = target ?? this.create(), end = reader.pos + length; + while (reader.pos < end) { + let [fieldNo, wireType] = reader.tag(); + switch (fieldNo) { + case /* string AdditionalInformation */ 1: + message.AdditionalInformation = reader.string(); + break; + default: + let u = options.readUnknownField; + if (u === "throw") + throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); + let d = reader.skip(wireType); + if (u !== false) + (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); + } + } + return message; + } + internalBinaryWrite(message: ActorInformationUpdatedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { + /* string AdditionalInformation = 1; */ + if (message.AdditionalInformation !== "") + writer.tag(1, WireType.LengthDelimited).string(message.AdditionalInformation); + let u = options.writeUnknownFields; + if (u !== false) + (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); + return writer; + } +} +/** + * @generated MessageType for protobuf message api.ActorInformationUpdatedPayload + */ +export const ActorInformationUpdatedPayload = new ActorInformationUpdatedPayload$Type(); +// @generated message type with reflection information, may provide speed optimized methods +class ActorInformationUpdatedEvent$Type extends MessageType { + constructor() { + super("api.ActorInformationUpdatedEvent", [ + { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "n1validate.rules": { message: { required: true } } } }, + { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, + { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorInformationUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } } + ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Event", "api.inputEvent": "InformationUpdated", "api.preAggMethods": "checkPartnerAppId" }); + } + create(value?: PartialMessage): ActorInformationUpdatedEvent { + const message = globalThis.Object.create((this.messagePrototype!)); + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorInformationUpdatedEvent): ActorInformationUpdatedEvent { + let message = target ?? this.create(), end = reader.pos + length; + while (reader.pos < end) { + let [fieldNo, wireType] = reader.tag(); + switch (fieldNo) { + case /* api.EventHeader Header */ 1: + message.Header = EventHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); + break; + case /* api.EntityID ID */ 2: + message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); + break; + case /* api.ActorInformationUpdatedPayload Payload */ 3: + message.Payload = ActorInformationUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); + break; + default: + let u = options.readUnknownField; + if (u === "throw") + throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); + let d = reader.skip(wireType); + if (u !== false) + (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); + } + } + return message; + } + internalBinaryWrite(message: ActorInformationUpdatedEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { + /* api.EventHeader Header = 1; */ + if (message.Header) + EventHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); + /* api.EntityID ID = 2; */ + if (message.ID) + EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); + /* api.ActorInformationUpdatedPayload Payload = 3; */ + if (message.Payload) + ActorInformationUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); + let u = options.writeUnknownFields; + if (u !== false) + (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); + return writer; + } +} +/** + * @generated MessageType for protobuf message api.ActorInformationUpdatedEvent + */ +export const ActorInformationUpdatedEvent = new ActorInformationUpdatedEvent$Type(); +// @generated message type with reflection information, may provide speed optimized methods +class ActorInformationUpdatedRequest$Type extends MessageType { + constructor() { + super("api.ActorInformationUpdatedRequest", [ + { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "n1validate.rules": { message: { required: true } } } }, + { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "n1validate.rules": { message: { required: true } } } }, + { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ActorInformationUpdatedPayload, options: { "n1validate.rules": { message: { required: true } } } } + ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "InformationUpdated" }); + } + create(value?: PartialMessage): ActorInformationUpdatedRequest { + const message = globalThis.Object.create((this.messagePrototype!)); + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorInformationUpdatedRequest): ActorInformationUpdatedRequest { + let message = target ?? this.create(), end = reader.pos + length; + while (reader.pos < end) { + let [fieldNo, wireType] = reader.tag(); + switch (fieldNo) { + case /* api.RequestProjectHeader Header */ 1: + message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); + break; + case /* api.EntityID ID */ 2: + message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); + break; + case /* api.ActorInformationUpdatedPayload Payload */ 3: + message.Payload = ActorInformationUpdatedPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); + break; + default: + let u = options.readUnknownField; + if (u === "throw") + throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); + let d = reader.skip(wireType); + if (u !== false) + (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); + } + } + return message; + } + internalBinaryWrite(message: ActorInformationUpdatedRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { + /* api.RequestProjectHeader Header = 1; */ + if (message.Header) + RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); + /* api.EntityID ID = 2; */ + if (message.ID) + EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); + /* api.ActorInformationUpdatedPayload Payload = 3; */ + if (message.Payload) + ActorInformationUpdatedPayload.internalBinaryWrite(message.Payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); + let u = options.writeUnknownFields; + if (u !== false) + (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); + return writer; + } +} +/** + * @generated MessageType for protobuf message api.ActorInformationUpdatedRequest + */ +export const ActorInformationUpdatedRequest = new ActorInformationUpdatedRequest$Type(); +// @generated message type with reflection information, may provide speed optimized methods +class ActorInformationUpdatedResponse$Type extends MessageType { + constructor() { + super("api.ActorInformationUpdatedResponse", [ + { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader }, + { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID } + ], { "api.messageType": "Response", "api.inputEvent": "InformationUpdated" }); + } + create(value?: PartialMessage): ActorInformationUpdatedResponse { + const message = globalThis.Object.create((this.messagePrototype!)); + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActorInformationUpdatedResponse): ActorInformationUpdatedResponse { + let message = target ?? this.create(), end = reader.pos + length; + while (reader.pos < end) { + let [fieldNo, wireType] = reader.tag(); + switch (fieldNo) { + case /* api.ResponseHeader Header */ 1: + message.Header = ResponseHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header); + break; + case /* api.EntityID ID */ 2: + message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID); + break; + default: + let u = options.readUnknownField; + if (u === "throw") + throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`); + let d = reader.skip(wireType); + if (u !== false) + (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d); + } + } + return message; + } + internalBinaryWrite(message: ActorInformationUpdatedResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { + /* api.ResponseHeader Header = 1; */ + if (message.Header) + ResponseHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join(); + /* api.EntityID ID = 2; */ + if (message.ID) + EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join(); + let u = options.writeUnknownFields; + if (u !== false) + (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); + return writer; + } +} +/** + * @generated MessageType for protobuf message api.ActorInformationUpdatedResponse + */ +export const ActorInformationUpdatedResponse = new ActorInformationUpdatedResponse$Type(); /** * @generated ServiceType for protobuf service api.ActorInputAPI */ @@ -5595,5 +5877,6 @@ export const ActorInputAPI = new ServiceType("api.ActorInputAPI", [ { name: "CarrierInformationUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Carrier information has been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorCarrierInformationUpdatedRequest, O: ActorCarrierInformationUpdatedResponse }, { name: "PhotoURIUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Photo URI has been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorPhotoURIUpdatedRequest, O: ActorPhotoURIUpdatedResponse }, { name: "ConnectionUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Connection has been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorConnectionUpdatedRequest, O: ActorConnectionUpdatedResponse }, - { name: "WMSUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "WMS definition has been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorWMSUpdatedRequest, O: ActorWMSUpdatedResponse } + { name: "WMSUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "WMS definition has been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorWMSUpdatedRequest, O: ActorWMSUpdatedResponse }, + { name: "InformationUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Information has been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorInformationUpdatedRequest, O: ActorInformationUpdatedResponse } ], { "api.serviceType": "Api", "api.k8sService": "api-server" }); diff --git a/model-errors/model_errors_en.json b/model-errors/model_errors_en.json index 1e7c2a8..44cc422 100644 --- a/model-errors/model_errors_en.json +++ b/model-errors/model_errors_en.json @@ -191,6 +191,10 @@ "TechMessage": "Could not deploy the role", "UserMessage": "Could not deploy the role {name}" }, + "IAM_USER_DISABLED": { + "TechMessage": "The user {userMail} is disabled", + "UserMessage": "The user {userMail} is disabled" + }, "INTERNAL_ERROR_DEFAULT": { "TechMessage": "Internal server error", "UserMessage": "Internal server error" diff --git a/model-errors/model_errors_es.json b/model-errors/model_errors_es.json index 3837dc7..5800534 100644 --- a/model-errors/model_errors_es.json +++ b/model-errors/model_errors_es.json @@ -191,6 +191,10 @@ "TechMessage": "", "UserMessage": "" }, + "IAM_USER_DISABLED": { + "TechMessage": "", + "UserMessage": "" + }, "INTERNAL_ERROR_DEFAULT": { "TechMessage": "", "UserMessage": "" diff --git a/model-errors/model_errors_fr.json b/model-errors/model_errors_fr.json index 3837dc7..5800534 100644 --- a/model-errors/model_errors_fr.json +++ b/model-errors/model_errors_fr.json @@ -191,6 +191,10 @@ "TechMessage": "", "UserMessage": "" }, + "IAM_USER_DISABLED": { + "TechMessage": "", + "UserMessage": "" + }, "INTERNAL_ERROR_DEFAULT": { "TechMessage": "", "UserMessage": "" diff --git a/model-errors/model_errors_it.json b/model-errors/model_errors_it.json index 3837dc7..5800534 100644 --- a/model-errors/model_errors_it.json +++ b/model-errors/model_errors_it.json @@ -191,6 +191,10 @@ "TechMessage": "", "UserMessage": "" }, + "IAM_USER_DISABLED": { + "TechMessage": "", + "UserMessage": "" + }, "INTERNAL_ERROR_DEFAULT": { "TechMessage": "", "UserMessage": "" diff --git a/model-errors/model_errors_nl.json b/model-errors/model_errors_nl.json index 3837dc7..5800534 100644 --- a/model-errors/model_errors_nl.json +++ b/model-errors/model_errors_nl.json @@ -191,6 +191,10 @@ "TechMessage": "", "UserMessage": "" }, + "IAM_USER_DISABLED": { + "TechMessage": "", + "UserMessage": "" + }, "INTERNAL_ERROR_DEFAULT": { "TechMessage": "", "UserMessage": "" diff --git a/model-errors/model_errors_pl.json b/model-errors/model_errors_pl.json index 3837dc7..5800534 100644 --- a/model-errors/model_errors_pl.json +++ b/model-errors/model_errors_pl.json @@ -191,6 +191,10 @@ "TechMessage": "", "UserMessage": "" }, + "IAM_USER_DISABLED": { + "TechMessage": "", + "UserMessage": "" + }, "INTERNAL_ERROR_DEFAULT": { "TechMessage": "", "UserMessage": "" diff --git a/model-errors/model_errors_pt.json b/model-errors/model_errors_pt.json index 3837dc7..5800534 100644 --- a/model-errors/model_errors_pt.json +++ b/model-errors/model_errors_pt.json @@ -191,6 +191,10 @@ "TechMessage": "", "UserMessage": "" }, + "IAM_USER_DISABLED": { + "TechMessage": "", + "UserMessage": "" + }, "INTERNAL_ERROR_DEFAULT": { "TechMessage": "", "UserMessage": "" diff --git a/package.json b/package.json index 04a6b1d..ccb16f4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.15.0-SNAPSHOT-260904132949", + "version": "1.15.0-SNAPSHOT-260907142047", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts",