diff --git a/actorInput.ts b/actorInput.ts index 30ac499..69c6b42 100644 --- a/actorInput.ts +++ b/actorInput.ts @@ -529,7 +529,7 @@ export interface ActorAttachmentRemovedResponse { ID?: EntityID; } // -// ClaimAdded : this message tells that a claim is added for the Actor +// ClaimAdded : this message tells that A claim has been added on the Actor /** * @generated from protobuf message api.ActorClaimAddedPayload @@ -3447,7 +3447,7 @@ export const ActorInputAPI = new ServiceType("api.ActorInputAPI", [ { name: "SnapshotCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "A snapshot has been completed on this actor. This is called from a WMS to inform that all Stock snapshot event have been sent." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorSnapshotCompletedRequest, O: ActorSnapshotCompletedResponse }, { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An attachment is added for the Actor." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ActorAttachmentAddedRequest, O: ActorAttachmentAddedResponse }, { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An attachment is removed for the Actor." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ActorAttachmentRemovedRequest, O: ActorAttachmentRemovedResponse }, - { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "A claim is added for the Actor." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ActorClaimAddedRequest, O: ActorClaimAddedResponse }, + { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "A claim has been added on the Actor." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ActorClaimAddedRequest, O: ActorClaimAddedResponse }, { name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Some metadata have been updated on an Actor. This is typically called from OMS or ERP." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorMetaDataUpdatedRequest, O: ActorMetaDataUpdatedResponse }, { name: "AppointmentConfigurationUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "Appointment configuration is updated on an Actor." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ActorAppointmentConfigurationUpdatedRequest, O: ActorAppointmentConfigurationUpdatedResponse }, { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Actor Inputs"], description: "An Actor has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ActorSanitisedRequest, O: ActorSanitisedResponse }, diff --git a/appointment.ts b/appointment.ts index 4be9931..f9eb51f 100644 --- a/appointment.ts +++ b/appointment.ts @@ -10,6 +10,7 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime"; import type { PartialMessage } from "@protobuf-ts/runtime"; import { reflectionMergePartial } from "@protobuf-ts/runtime"; import { MessageType } from "@protobuf-ts/runtime"; +import { ClaimSummary } from "./shared"; import { AppointmentContent } from "./slotbooking"; import { Address } from "./repositoryShared"; import { AttachmentSummary } from "./shared"; @@ -208,6 +209,14 @@ export interface AppointmentPayload { * @generated from protobuf field: api.AppointmentExternalAccess ExternalAccess = 32 */ ExternalAccess?: AppointmentExternalAccess; // Carries the hash and signed URL granting external parties access to this appointment without the need to authenticate + /** + * @generated from protobuf field: repeated api.ClaimSummary Claims = 33 + */ + Claims: ClaimSummary[]; + /** + * @generated from protobuf field: int32 ClaimNumber = 34 + */ + ClaimNumber: number; } /** * @generated from protobuf message api.AppointmentTriplet @@ -332,7 +341,9 @@ class AppointmentPayload$Type extends MessageType { { no: 27, name: "Attendees", kind: "scalar", localName: "Attendees", jsonName: "Attendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { minItems: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Attendees of the appointment" }, "api.aggSkip": "AttendeesAdded", "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } }, { no: 28, name: "RemovedAttendees", kind: "scalar", localName: "RemovedAttendees", jsonName: "RemovedAttendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggSkip": "AttendeesRemoved", "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } }, { no: 31, name: "WMSCreated", kind: "scalar", localName: "WMSCreated", jsonName: "WMSCreated", T: 8 /*ScalarType.BOOL*/ }, - { no: 32, name: "ExternalAccess", kind: "message", localName: "ExternalAccess", jsonName: "ExternalAccess", T: () => AppointmentExternalAccess } + { no: 32, name: "ExternalAccess", kind: "message", localName: "ExternalAccess", jsonName: "ExternalAccess", T: () => AppointmentExternalAccess }, + { no: 33, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims per type" }, "api.aggKey": "ClaimTypeID", "api.aggSkip": "ClaimAdded" } }, + { no: 34, name: "ClaimNumber", kind: "scalar", localName: "ClaimNumber", jsonName: "ClaimNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of claims" } } } ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["AppointmentType", "Segmentations"] } } }); } create(value?: PartialMessage): AppointmentPayload { @@ -356,6 +367,8 @@ class AppointmentPayload$Type extends MessageType { message.Attendees = []; message.RemovedAttendees = []; message.WMSCreated = false; + message.Claims = []; + message.ClaimNumber = 0; if (value !== undefined) reflectionMergePartial(this, message, value); return message; @@ -443,6 +456,12 @@ class AppointmentPayload$Type extends MessageType { case /* api.AppointmentExternalAccess ExternalAccess */ 32: message.ExternalAccess = AppointmentExternalAccess.internalBinaryRead(reader, reader.uint32(), options, message.ExternalAccess); break; + case /* repeated api.ClaimSummary Claims */ 33: + message.Claims.push(ClaimSummary.internalBinaryRead(reader, reader.uint32(), options)); + break; + case /* int32 ClaimNumber */ 34: + message.ClaimNumber = reader.int32(); + break; default: let u = options.readUnknownField; if (u === "throw") @@ -533,6 +552,12 @@ class AppointmentPayload$Type extends MessageType { /* api.AppointmentExternalAccess ExternalAccess = 32; */ if (message.ExternalAccess) AppointmentExternalAccess.internalBinaryWrite(message.ExternalAccess, writer.tag(32, WireType.LengthDelimited).fork(), options).join(); + /* repeated api.ClaimSummary Claims = 33; */ + for (let i = 0; i < message.Claims.length; i++) + ClaimSummary.internalBinaryWrite(message.Claims[i], writer.tag(33, WireType.LengthDelimited).fork(), options).join(); + /* int32 ClaimNumber = 34; */ + if (message.ClaimNumber !== 0) + writer.tag(34, WireType.Varint).int32(message.ClaimNumber); let u = options.writeUnknownFields; if (u !== false) (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); diff --git a/appointmentInput.client.ts b/appointmentInput.client.ts index d091129..33e22a1 100644 --- a/appointmentInput.client.ts +++ b/appointmentInput.client.ts @@ -4,6 +4,8 @@ import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { AppointmentInputAPI } from "./appointmentInput"; +import type { AppointmentClaimAddedResponse } from "./appointmentInput"; +import type { AppointmentClaimAddedRequest } from "./appointmentInput"; import type { AppointmentRedetectedResponse } from "./appointmentInput"; import type { AppointmentRedetectedRequest } from "./appointmentInput"; import type { AppointmentCustomFieldsUpdatedResponse } from "./appointmentInput"; @@ -172,6 +174,10 @@ export interface IAppointmentInputAPIClient { * @generated from protobuf rpc: Redetected */ redetected(input: AppointmentRedetectedRequest, options?: RpcOptions): UnaryCall; + /** + * @generated from protobuf rpc: ClaimAdded + */ + claimAdded(input: AppointmentClaimAddedRequest, options?: RpcOptions): UnaryCall; } /** * @@ -369,4 +375,11 @@ export class AppointmentInputAPIClient implements IAppointmentInputAPIClient, Se const method = this.methods[25], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } + /** + * @generated from protobuf rpc: ClaimAdded + */ + claimAdded(input: AppointmentClaimAddedRequest, options?: RpcOptions): UnaryCall { + const method = this.methods[26], opt = this._transport.mergeOptions(options); + return stackIntercept("unary", this._transport, method, opt, input); + } } diff --git a/appointmentInput.ts b/appointmentInput.ts index 79a3ecc..63e4049 100644 --- a/appointmentInput.ts +++ b/appointmentInput.ts @@ -11,6 +11,7 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime"; import type { PartialMessage } from "@protobuf-ts/runtime"; import { reflectionMergePartial } from "@protobuf-ts/runtime"; import { MessageType } from "@protobuf-ts/runtime"; +import { ClaimSummary } from "./shared"; import { AttachmentSummary } from "./shared"; import { ResponseHeader } from "./shared"; import { RequestProjectHeader } from "./shared"; @@ -1890,6 +1891,65 @@ export interface AppointmentRedetectedResponse { */ ID?: EntityID; } +// +// ClaimAdded : this message tells that A claim has been added on the Appointment. + +/** + * @generated from protobuf message api.AppointmentClaimAddedPayload + */ +export interface AppointmentClaimAddedPayload { + /** + * @generated from protobuf field: repeated api.ClaimSummary Claims = 1 + */ + Claims: ClaimSummary[]; +} +/** + * @generated from protobuf message api.AppointmentClaimAddedEvent + */ +export interface AppointmentClaimAddedEvent { + /** + * @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.AppointmentClaimAddedPayload Payload = 3 + */ + Payload?: AppointmentClaimAddedPayload; +} +/** + * @generated from protobuf message api.AppointmentClaimAddedRequest + */ +export interface AppointmentClaimAddedRequest { + /** + * @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.AppointmentClaimAddedPayload Payload = 3 + */ + Payload?: AppointmentClaimAddedPayload; +} +/** + * @generated from protobuf message api.AppointmentClaimAddedResponse + */ +export interface AppointmentClaimAddedResponse { + /** + * @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 AppointmentCreatedPayload$Type extends MessageType { constructor() { @@ -7786,6 +7846,226 @@ class AppointmentRedetectedResponse$Type extends MessageType { + constructor() { + super("api.AppointmentClaimAddedPayload", [ + { no: 1, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of claims added per type" }, "api.aggKey": "ClaimTypeID" } } + ], { "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ClaimAdded" }); + } + create(value?: PartialMessage): AppointmentClaimAddedPayload { + const message = globalThis.Object.create((this.messagePrototype!)); + message.Claims = []; + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AppointmentClaimAddedPayload): AppointmentClaimAddedPayload { + let message = target ?? this.create(), end = reader.pos + length; + while (reader.pos < end) { + let [fieldNo, wireType] = reader.tag(); + switch (fieldNo) { + case /* repeated api.ClaimSummary Claims */ 1: + message.Claims.push(ClaimSummary.internalBinaryRead(reader, reader.uint32(), options)); + 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: AppointmentClaimAddedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { + /* repeated api.ClaimSummary Claims = 1; */ + for (let i = 0; i < message.Claims.length; i++) + ClaimSummary.internalBinaryWrite(message.Claims[i], writer.tag(1, 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.AppointmentClaimAddedPayload + */ +export const AppointmentClaimAddedPayload = new AppointmentClaimAddedPayload$Type(); +// @generated message type with reflection information, may provide speed optimized methods +class AppointmentClaimAddedEvent$Type extends MessageType { + constructor() { + super("api.AppointmentClaimAddedEvent", [ + { 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: () => AppointmentClaimAddedPayload, options: { "n1validate.rules": { message: { required: true } } } } + ], { "api.messageType": "Event", "api.inputEvent": "ClaimAdded", "api.preAggMethods": "addClaim" }); + } + create(value?: PartialMessage): AppointmentClaimAddedEvent { + const message = globalThis.Object.create((this.messagePrototype!)); + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AppointmentClaimAddedEvent): AppointmentClaimAddedEvent { + 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.AppointmentClaimAddedPayload Payload */ 3: + message.Payload = AppointmentClaimAddedPayload.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: AppointmentClaimAddedEvent, 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.AppointmentClaimAddedPayload Payload = 3; */ + if (message.Payload) + AppointmentClaimAddedPayload.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.AppointmentClaimAddedEvent + */ +export const AppointmentClaimAddedEvent = new AppointmentClaimAddedEvent$Type(); +// @generated message type with reflection information, may provide speed optimized methods +class AppointmentClaimAddedRequest$Type extends MessageType { + constructor() { + super("api.AppointmentClaimAddedRequest", [ + { 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: () => AppointmentClaimAddedPayload, options: { "n1validate.rules": { message: { required: true } } } } + ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "ClaimAdded" }); + } + create(value?: PartialMessage): AppointmentClaimAddedRequest { + const message = globalThis.Object.create((this.messagePrototype!)); + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AppointmentClaimAddedRequest): AppointmentClaimAddedRequest { + 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.AppointmentClaimAddedPayload Payload */ 3: + message.Payload = AppointmentClaimAddedPayload.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: AppointmentClaimAddedRequest, 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.AppointmentClaimAddedPayload Payload = 3; */ + if (message.Payload) + AppointmentClaimAddedPayload.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.AppointmentClaimAddedRequest + */ +export const AppointmentClaimAddedRequest = new AppointmentClaimAddedRequest$Type(); +// @generated message type with reflection information, may provide speed optimized methods +class AppointmentClaimAddedResponse$Type extends MessageType { + constructor() { + super("api.AppointmentClaimAddedResponse", [ + { 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": "ClaimAdded" }); + } + create(value?: PartialMessage): AppointmentClaimAddedResponse { + const message = globalThis.Object.create((this.messagePrototype!)); + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AppointmentClaimAddedResponse): AppointmentClaimAddedResponse { + 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: AppointmentClaimAddedResponse, 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.AppointmentClaimAddedResponse + */ +export const AppointmentClaimAddedResponse = new AppointmentClaimAddedResponse$Type(); /** * @generated ServiceType for protobuf service api.AppointmentInputAPI */ @@ -7815,5 +8095,6 @@ export const AppointmentInputAPI = new ServiceType("api.AppointmentInputAPI", [ { name: "AttendeesRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "Appointment attendees have been removed." }, "api.rscType": "Project", "api.roles": "Platform.Project-Appointment", "api.platformReserved": true, "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentAttendeesRemovedRequest, O: AppointmentAttendeesRemovedResponse }, { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An Appointment has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentSanitisedRequest, O: AppointmentSanitisedResponse }, { name: "CustomFieldsUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "CustomFields have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCustomFieldsUpdatedRequest, O: AppointmentCustomFieldsUpdatedResponse }, - { name: "Redetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The associated appointment was not created correctly. Call this api to fix the appointment creation. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentRedetectedRequest, O: AppointmentRedetectedResponse } + { name: "Redetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The associated appointment was not created correctly. Call this api to fix the appointment creation. " }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentRedetectedRequest, O: AppointmentRedetectedResponse }, + { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "A claim has been added on the Appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentClaimAddedRequest, O: AppointmentClaimAddedResponse } ], { "api.serviceType": "Api", "api.k8sService": "collab-api-server" }); diff --git a/claimAction.ts b/claimAction.ts index 8f134c9..58508c1 100644 --- a/claimAction.ts +++ b/claimAction.ts @@ -25,6 +25,7 @@ import { ClaimStatusStruct } from "./collabShared"; // - PropagateOrder : Propagate the created claim on order // - PropagateExecutionflow : Propagate the created claim on executionflow // - PropagateStockMove : Propagate the created claim on stock movement +// - PropagateAppointment : Propagate the created claim on appointment // /** @@ -385,6 +386,59 @@ export interface ClaimPropagateMovement { */ PreviousPayload?: ClaimPropagateMovementPayload; } +/** + * + * PropagateAppointment : Propagate the created claim on Appointment + * + * @generated from protobuf message api.ClaimPropagateAppointmentPayload + */ +export interface ClaimPropagateAppointmentPayload { + /** + * Identifier of the Appointment + * + * @generated from protobuf field: string EntityID = 1 + */ + EntityID: string; + /** + * Identifier of the claim type + * + * @generated from protobuf field: string ClaimTypeID = 2 + */ + ClaimTypeID: string; + /** + * @generated from protobuf field: string Reason = 3 + */ + Reason: string; + /** + * @generated from protobuf field: api.ClaimEntityType EntityType = 4 + */ + EntityType: ClaimEntityType; +} +/** + * @generated from protobuf message api.ClaimPropagateAppointment + */ +export interface ClaimPropagateAppointment { + /** + * @generated from protobuf field: api.CommandHeader Header = 1 + */ + Header?: CommandHeader; + /** + * @generated from protobuf field: api.EntityID ID = 2 + */ + ID?: EntityID; + /** + * @generated from protobuf field: api.ClaimPropagateAppointmentPayload Payload = 3 + */ + Payload?: ClaimPropagateAppointmentPayload; + /** + * @generated from protobuf field: api.ClaimPropagateAppointmentPayload EventPayload = 4 + */ + EventPayload?: ClaimPropagateAppointmentPayload; + /** + * @generated from protobuf field: api.ClaimPropagateAppointmentPayload PreviousPayload = 5 + */ + PreviousPayload?: ClaimPropagateAppointmentPayload; +} // @generated message type with reflection information, may provide speed optimized methods class ClaimNotifyPayload$Type extends MessageType { constructor() { @@ -1340,3 +1394,148 @@ class ClaimPropagateMovement$Type extends MessageType { * @generated MessageType for protobuf message api.ClaimPropagateMovement */ export const ClaimPropagateMovement = new ClaimPropagateMovement$Type(); +// @generated message type with reflection information, may provide speed optimized methods +class ClaimPropagateAppointmentPayload$Type extends MessageType { + constructor() { + super("api.ClaimPropagateAppointmentPayload", [ + { no: 1, name: "EntityID", kind: "scalar", localName: "EntityID", jsonName: "EntityID", T: 9 /*ScalarType.STRING*/ }, + { no: 2, name: "ClaimTypeID", kind: "scalar", localName: "ClaimTypeID", jsonName: "ClaimTypeID", T: 9 /*ScalarType.STRING*/ }, + { no: 3, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ }, + { no: 4, name: "EntityType", kind: "enum", localName: "EntityType", jsonName: "EntityType", T: () => ["api.ClaimEntityType", ClaimEntityType] } + ], { "api.messageType": "Command", "api.payload": true, "api.action": "PropagateAppointment" }); + } + create(value?: PartialMessage): ClaimPropagateAppointmentPayload { + const message = globalThis.Object.create((this.messagePrototype!)); + message.EntityID = ""; + message.ClaimTypeID = ""; + message.Reason = ""; + message.EntityType = 0; + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimPropagateAppointmentPayload): ClaimPropagateAppointmentPayload { + let message = target ?? this.create(), end = reader.pos + length; + while (reader.pos < end) { + let [fieldNo, wireType] = reader.tag(); + switch (fieldNo) { + case /* string EntityID */ 1: + message.EntityID = reader.string(); + break; + case /* string ClaimTypeID */ 2: + message.ClaimTypeID = reader.string(); + break; + case /* string Reason */ 3: + message.Reason = reader.string(); + break; + case /* api.ClaimEntityType EntityType */ 4: + message.EntityType = reader.int32(); + 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: ClaimPropagateAppointmentPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { + /* string EntityID = 1; */ + if (message.EntityID !== "") + writer.tag(1, WireType.LengthDelimited).string(message.EntityID); + /* string ClaimTypeID = 2; */ + if (message.ClaimTypeID !== "") + writer.tag(2, WireType.LengthDelimited).string(message.ClaimTypeID); + /* string Reason = 3; */ + if (message.Reason !== "") + writer.tag(3, WireType.LengthDelimited).string(message.Reason); + /* api.ClaimEntityType EntityType = 4; */ + if (message.EntityType !== 0) + writer.tag(4, WireType.Varint).int32(message.EntityType); + let u = options.writeUnknownFields; + if (u !== false) + (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer); + return writer; + } +} +/** + * @generated MessageType for protobuf message api.ClaimPropagateAppointmentPayload + */ +export const ClaimPropagateAppointmentPayload = new ClaimPropagateAppointmentPayload$Type(); +// @generated message type with reflection information, may provide speed optimized methods +class ClaimPropagateAppointment$Type extends MessageType { + constructor() { + super("api.ClaimPropagateAppointment", [ + { no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => CommandHeader }, + { no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID }, + { no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => ClaimPropagateAppointmentPayload }, + { no: 4, name: "EventPayload", kind: "message", localName: "EventPayload", jsonName: "EventPayload", T: () => ClaimPropagateAppointmentPayload }, + { no: 5, name: "PreviousPayload", kind: "message", localName: "PreviousPayload", jsonName: "PreviousPayload", T: () => ClaimPropagateAppointmentPayload } + ], { "api.messageType": "Command", "api.action": "PropagateAppointment", "api.resultingEvent": "collab.appointment.ClaimAdded", "api.triggerEventFilters": "Created" }); + } + create(value?: PartialMessage): ClaimPropagateAppointment { + const message = globalThis.Object.create((this.messagePrototype!)); + if (value !== undefined) + reflectionMergePartial(this, message, value); + return message; + } + internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimPropagateAppointment): ClaimPropagateAppointment { + let message = target ?? this.create(), end = reader.pos + length; + while (reader.pos < end) { + let [fieldNo, wireType] = reader.tag(); + switch (fieldNo) { + case /* api.CommandHeader Header */ 1: + message.Header = CommandHeader.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.ClaimPropagateAppointmentPayload Payload */ 3: + message.Payload = ClaimPropagateAppointmentPayload.internalBinaryRead(reader, reader.uint32(), options, message.Payload); + break; + case /* api.ClaimPropagateAppointmentPayload EventPayload */ 4: + message.EventPayload = ClaimPropagateAppointmentPayload.internalBinaryRead(reader, reader.uint32(), options, message.EventPayload); + break; + case /* api.ClaimPropagateAppointmentPayload PreviousPayload */ 5: + message.PreviousPayload = ClaimPropagateAppointmentPayload.internalBinaryRead(reader, reader.uint32(), options, message.PreviousPayload); + 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: ClaimPropagateAppointment, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter { + /* api.CommandHeader Header = 1; */ + if (message.Header) + CommandHeader.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.ClaimPropagateAppointmentPayload Payload = 3; */ + if (message.Payload) + ClaimPropagateAppointmentPayload.internalBinaryWrite(message.Payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join(); + /* api.ClaimPropagateAppointmentPayload EventPayload = 4; */ + if (message.EventPayload) + ClaimPropagateAppointmentPayload.internalBinaryWrite(message.EventPayload, writer.tag(4, WireType.LengthDelimited).fork(), options).join(); + /* api.ClaimPropagateAppointmentPayload PreviousPayload = 5; */ + if (message.PreviousPayload) + ClaimPropagateAppointmentPayload.internalBinaryWrite(message.PreviousPayload, writer.tag(5, 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.ClaimPropagateAppointment + */ +export const ClaimPropagateAppointment = new ClaimPropagateAppointment$Type(); diff --git a/executionflowInput.ts b/executionflowInput.ts index 87ea49a..7799dbf 100644 --- a/executionflowInput.ts +++ b/executionflowInput.ts @@ -1664,7 +1664,7 @@ export interface ExecutionflowAttachmentRemovedResponse { } /** * - * ClaimAdded : this message tells that a claim is added for the Executionflow + * ClaimAdded : this message tells that A claim has been added on the Executionflow * * @generated from protobuf message api.ExecutionflowClaimAddedPayload */ @@ -9628,7 +9628,7 @@ export const ExecutionflowInputAPI = new ServiceType("api.ExecutionflowInputAPI" { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An attachment is added for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowAttachmentAddedRequest, O: ExecutionflowAttachmentAddedResponse }, { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An attachment is removed for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowAttachmentRemovedRequest, O: ExecutionflowAttachmentRemovedResponse }, { name: "AllocationError", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An allocation error occured on the Executionflow." }, "api.rscType": "Project", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowAllocationErrorRequest, O: ExecutionflowAllocationErrorResponse }, - { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "A claim is added for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowClaimAddedRequest, O: ExecutionflowClaimAddedResponse }, + { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "A claim has been added on the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowClaimAddedRequest, O: ExecutionflowClaimAddedResponse }, { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "An executionflow has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation executionflows." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowDeletedRequest, O: ExecutionflowDeletedResponse }, { name: "LinesAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Some lines are added for the Executionflow." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExecutionflowLinesAddedRequest, O: ExecutionflowLinesAddedResponse }, { name: "LinesDetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["ExecutionFlow Inputs"], description: "Adding lines in the Order has been reported to an Executionflow. This is called internally." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ExecutionflowLinesDetectedRequest, O: ExecutionflowLinesDetectedResponse }, diff --git a/handlingunitInput.ts b/handlingunitInput.ts index 66adc0e..528c355 100644 --- a/handlingunitInput.ts +++ b/handlingunitInput.ts @@ -735,7 +735,7 @@ export interface HandlingunitParentHUUpdatedResponse { ID?: EntityID; } // -// ClaimAdded : this message tells that a claim is added for the Handlingunit +// ClaimAdded : this message tells that A claim has been added on the Handlingunit /** * @generated from protobuf message api.HandlingunitClaimAddedPayload @@ -4568,7 +4568,7 @@ export const HandlingunitInputAPI = new ServiceType("api.HandlingunitInputAPI", { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "An attachment is removed for the Handling Unit." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: HandlingunitAttachmentRemovedRequest, O: HandlingunitAttachmentRemovedResponse }, { name: "MetaDataUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "Some metadata are updated on an Handling Unit. This is typically called from WMS during preparation." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: HandlingunitMetaDataUpdatedRequest, O: HandlingunitMetaDataUpdatedResponse }, { name: "ParentHUUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "Parent Hu us updated on an Handling Unit. This is called after HUAdded to propagate Parent HU." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: HandlingunitParentHUUpdatedRequest, O: HandlingunitParentHUUpdatedResponse }, - { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "A claim is added for the Handlingunit." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: HandlingunitClaimAddedRequest, O: HandlingunitClaimAddedResponse }, + { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "A claim has been added on the Handlingunit." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: HandlingunitClaimAddedRequest, O: HandlingunitClaimAddedResponse }, { name: "ReadyToBeCollected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "HandlingUnit is available on Dock, Ready to be collected." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: HandlingunitReadyToBeCollectedRequest, O: HandlingunitReadyToBeCollectedResponse }, { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "An Handlingunit has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation Handlingunits." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: HandlingunitDeletedRequest, O: HandlingunitDeletedResponse }, { name: "Sanitised", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["HandlingUnit Inputs"], description: "An Handlingunit has been sanitised." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": false, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: HandlingunitSanitisedRequest, O: HandlingunitSanitisedResponse }, diff --git a/itemInput.client.ts b/itemInput.client.ts index 719152e..3801a70 100644 --- a/itemInput.client.ts +++ b/itemInput.client.ts @@ -79,7 +79,7 @@ export interface IItemInputAPIClient { // option (roles) = "Platform.Project-Claim"; // option (platformReserved) = true; // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { - // description: "A claim is added for the Item." + // description: "A claim has been added on the Item." // summary: "" // tags: "Item Inputs" // }; @@ -177,7 +177,7 @@ export class ItemInputAPIClient implements IItemInputAPIClient, ServiceInfo { // option (roles) = "Platform.Project-Claim"; // option (platformReserved) = true; // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { - // description: "A claim is added for the Item." + // description: "A claim has been added on the Item." // summary: "" // tags: "Item Inputs" // }; diff --git a/itemInput.ts b/itemInput.ts index 6a2645d..da5c251 100644 --- a/itemInput.ts +++ b/itemInput.ts @@ -611,7 +611,7 @@ export interface ItemSanitisedResponse { ID?: EntityID; } // -// ClaimAdded : this message tells that a claim is added for the Item +// ClaimAdded : this message tells that A claim has been added on the Item // // message ItemClaimAddedPayload diff --git a/movementInput.ts b/movementInput.ts index 96931aa..5536ef8 100644 --- a/movementInput.ts +++ b/movementInput.ts @@ -256,7 +256,7 @@ export interface MovementStockValueUpdatedResponse { ID?: EntityID; } // -// ClaimAdded : this message tells that a claim is added for the movement (stock move) +// ClaimAdded : this message tells that A claim has been added on the movement (stock move) /** * @generated from protobuf message api.MovementClaimAddedPayload @@ -2604,7 +2604,7 @@ export const MovementInputAPI = new ServiceType("api.MovementInputAPI", [ { name: "Created", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "A stock has been moved. Called directly from WMS for requalification or fix." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: MovementCreatedRequest, O: MovementCreatedResponse }, { name: "Generated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "A stock has been moved. Called internally only, from outbound and inbound and stock" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: MovementGeneratedRequest, O: MovementGeneratedResponse }, { name: "StockValueUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "The stock value (after the movement is applied) is updated on the movement" }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: MovementStockValueUpdatedRequest, O: MovementStockValueUpdatedResponse }, - { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "A claim is added for the Stock movement." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: MovementClaimAddedRequest, O: MovementClaimAddedResponse }, + { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "A claim has been added on the Stock movement." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: MovementClaimAddedRequest, O: MovementClaimAddedResponse }, { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "An attachment is added for the Movement." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: MovementAttachmentAddedRequest, O: MovementAttachmentAddedResponse }, { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "An attachment is removed for the Movement." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: MovementAttachmentRemovedRequest, O: MovementAttachmentRemovedResponse }, { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Movement Inputs"], description: "An Movement has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation Movements." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: MovementDeletedRequest, O: MovementDeletedResponse }, diff --git a/orderInput.ts b/orderInput.ts index 2958caf..b09086b 100644 --- a/orderInput.ts +++ b/orderInput.ts @@ -1093,7 +1093,7 @@ export interface OrderAttachmentRemovedResponse { ID?: EntityID; } // -// ClaimAdded : this message tells that a claim is added for the order +// ClaimAdded : this message tells that A claim has been added on the order /** * @generated from protobuf message api.OrderClaimAddedPayload @@ -9022,7 +9022,7 @@ export const OrderInputAPI = new ServiceType("api.OrderInputAPI", [ { name: "CarrierUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "The carrier and/or carrier service has been updated for the Order. This is typically called from OMS or ERP." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderCarrierUpdatedRequest, O: OrderCarrierUpdatedResponse }, { name: "AttachmentAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An attachment is added for the Order." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: OrderAttachmentAddedRequest, O: OrderAttachmentAddedResponse }, { name: "AttachmentRemoved", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An attachment is removed for the Order." }, "api.rscType": "Project", "api.roles": "Platform.Project-Attachment", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: OrderAttachmentRemovedRequest, O: OrderAttachmentRemovedResponse }, - { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "A claim is added for the Order." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: OrderClaimAddedRequest, O: OrderClaimAddedResponse }, + { name: "ClaimAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "A claim has been added on the Order." }, "api.rscType": "Project", "api.roles": "Platform.Project-Claim", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: OrderClaimAddedRequest, O: OrderClaimAddedResponse }, { name: "Deleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "An Order has been deleted. This is called from HARDIS SC NETWORK Admin service to share the Organisation Orders." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderDeletedRequest, O: OrderDeletedResponse }, { name: "LinesAdded", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Some lines are added for the Order." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: OrderLinesAddedRequest, O: OrderLinesAddedResponse }, { name: "LinesDetected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Order Inputs"], description: "Adding lines in the Executionflow has been reported to an Order. This is called internally." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.platformReserved": true, "api.tags": "PROJECT_ACTIVITY", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: OrderLinesDetectedRequest, O: OrderLinesDetectedResponse }, diff --git a/package.json b/package.json index 03350b1..e12f8f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.14.0-SNAPSHOT-260611140956", + "version": "1.14.0-SNAPSHOT-260612092854", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts", diff --git a/partnerInput.client.ts b/partnerInput.client.ts index 6350af6..1a5278f 100644 --- a/partnerInput.client.ts +++ b/partnerInput.client.ts @@ -53,7 +53,7 @@ export interface IPartnerInputAPIClient { // option (roles) = "Platform.Project-Claim"; // option (platformReserved) = true; // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { - // description: "A claim is added for the Partner." + // description: "A claim has been added on the Partner." // summary: "" // tags: "Partner Inputs" // }; @@ -119,7 +119,7 @@ export class PartnerInputAPIClient implements IPartnerInputAPIClient, ServiceInf // option (roles) = "Platform.Project-Claim"; // option (platformReserved) = true; // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { - // description: "A claim is added for the Partner." + // description: "A claim has been added on the Partner." // summary: "" // tags: "Partner Inputs" // }; diff --git a/partnerInput.ts b/partnerInput.ts index 1cb2994..b023cc7 100644 --- a/partnerInput.ts +++ b/partnerInput.ts @@ -334,7 +334,7 @@ export interface PartnerSanitisedResponse { ID?: EntityID; } // -// ClaimAdded : this message tells that a claim is added for the Partner +// ClaimAdded : this message tells that A claim has been added on the Partner // // message PartnerClaimAddedPayload