Latest generation

This commit is contained in:
ci core model
2026-03-24 09:58:00 +00:00
parent f5b4cd2ef9
commit c6070f440f
4 changed files with 320 additions and 18 deletions

View File

@@ -447,7 +447,7 @@ class AppointmentNotify$Type extends MessageType<AppointmentNotify> {
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => AppointmentNotifyPayload },
{ no: 4, name: "EventPayload", kind: "message", localName: "EventPayload", jsonName: "EventPayload", T: () => AppointmentNotifyPayload },
{ no: 5, name: "PreviousPayload", kind: "message", localName: "PreviousPayload", jsonName: "PreviousPayload", T: () => AppointmentNotifyPayload }
], { "api.messageType": "Command", "api.action": "Notify", "api.windowMethod": "TumblingProcessingTimeWindows", "api.keyByExpression": "obj.getID().getRefID()" });
], { "api.messageType": "Command", "api.action": "Notify", "api.triggerNotEventFilters": "AllocationConfirmed", "api.windowMethod": "TumblingProcessingTimeWindows", "api.keyByExpression": "obj.getID().getRefID()" });
}
create(value?: PartialMessage<AppointmentNotify>): AppointmentNotify {
const message = globalThis.Object.create((this.messagePrototype!));

View File

@@ -36,6 +36,8 @@ import type { AppointmentLoadingStartedResponse } from "./appointmentInput";
import type { AppointmentLoadingStartedRequest } from "./appointmentInput";
import type { AppointmentCarrierArrivedResponse } from "./appointmentInput";
import type { AppointmentCarrierArrivedRequest } from "./appointmentInput";
import type { AppointmentAllocationConfirmedResponse } from "./appointmentInput";
import type { AppointmentAllocationConfirmedRequest } from "./appointmentInput";
import type { AppointmentAllocationErrorResponse } from "./appointmentInput";
import type { AppointmentAllocationErrorRequest } from "./appointmentInput";
import type { AppointmentCarrierExpectedResponse } from "./appointmentInput";
@@ -100,6 +102,10 @@ export interface IAppointmentInputAPIClient {
* @generated from protobuf rpc: AllocationError
*/
allocationError(input: AppointmentAllocationErrorRequest, options?: RpcOptions): UnaryCall<AppointmentAllocationErrorRequest, AppointmentAllocationErrorResponse>;
/**
* @generated from protobuf rpc: AllocationConfirmed
*/
allocationConfirmed(input: AppointmentAllocationConfirmedRequest, options?: RpcOptions): UnaryCall<AppointmentAllocationConfirmedRequest, AppointmentAllocationConfirmedResponse>;
/**
* @generated from protobuf rpc: CarrierArrived
*/
@@ -242,67 +248,74 @@ export class AppointmentInputAPIClient implements IAppointmentInputAPIClient, Se
const method = this.methods[8], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentAllocationErrorRequest, AppointmentAllocationErrorResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: AllocationConfirmed
*/
allocationConfirmed(input: AppointmentAllocationConfirmedRequest, options?: RpcOptions): UnaryCall<AppointmentAllocationConfirmedRequest, AppointmentAllocationConfirmedResponse> {
const method = this.methods[9], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentAllocationConfirmedRequest, AppointmentAllocationConfirmedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CarrierArrived
*/
carrierArrived(input: AppointmentCarrierArrivedRequest, options?: RpcOptions): UnaryCall<AppointmentCarrierArrivedRequest, AppointmentCarrierArrivedResponse> {
const method = this.methods[9], opt = this._transport.mergeOptions(options);
const method = this.methods[10], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentCarrierArrivedRequest, AppointmentCarrierArrivedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: LoadingStarted
*/
loadingStarted(input: AppointmentLoadingStartedRequest, options?: RpcOptions): UnaryCall<AppointmentLoadingStartedRequest, AppointmentLoadingStartedResponse> {
const method = this.methods[10], opt = this._transport.mergeOptions(options);
const method = this.methods[11], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentLoadingStartedRequest, AppointmentLoadingStartedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: LoadingCompleted
*/
loadingCompleted(input: AppointmentLoadingCompletedRequest, options?: RpcOptions): UnaryCall<AppointmentLoadingCompletedRequest, AppointmentLoadingCompletedResponse> {
const method = this.methods[11], opt = this._transport.mergeOptions(options);
const method = this.methods[12], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentLoadingCompletedRequest, AppointmentLoadingCompletedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UnloadingStarted
*/
unloadingStarted(input: AppointmentUnloadingStartedRequest, options?: RpcOptions): UnaryCall<AppointmentUnloadingStartedRequest, AppointmentUnloadingStartedResponse> {
const method = this.methods[12], opt = this._transport.mergeOptions(options);
const method = this.methods[13], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentUnloadingStartedRequest, AppointmentUnloadingStartedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: UnloadingCompleted
*/
unloadingCompleted(input: AppointmentUnloadingCompletedRequest, options?: RpcOptions): UnaryCall<AppointmentUnloadingCompletedRequest, AppointmentUnloadingCompletedResponse> {
const method = this.methods[13], opt = this._transport.mergeOptions(options);
const method = this.methods[14], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentUnloadingCompletedRequest, AppointmentUnloadingCompletedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CarrierDeparted
*/
carrierDeparted(input: AppointmentCarrierDepartedRequest, options?: RpcOptions): UnaryCall<AppointmentCarrierDepartedRequest, AppointmentCarrierDepartedResponse> {
const method = this.methods[14], opt = this._transport.mergeOptions(options);
const method = this.methods[15], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentCarrierDepartedRequest, AppointmentCarrierDepartedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: MetaDataUpdated
*/
metaDataUpdated(input: AppointmentMetaDataUpdatedRequest, options?: RpcOptions): UnaryCall<AppointmentMetaDataUpdatedRequest, AppointmentMetaDataUpdatedResponse> {
const method = this.methods[15], opt = this._transport.mergeOptions(options);
const method = this.methods[16], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentMetaDataUpdatedRequest, AppointmentMetaDataUpdatedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: AttachmentAdded
*/
attachmentAdded(input: AppointmentAttachmentAddedRequest, options?: RpcOptions): UnaryCall<AppointmentAttachmentAddedRequest, AppointmentAttachmentAddedResponse> {
const method = this.methods[16], opt = this._transport.mergeOptions(options);
const method = this.methods[17], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentAttachmentAddedRequest, AppointmentAttachmentAddedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: AttachmentRemoved
*/
attachmentRemoved(input: AppointmentAttachmentRemovedRequest, options?: RpcOptions): UnaryCall<AppointmentAttachmentRemovedRequest, AppointmentAttachmentRemovedResponse> {
const method = this.methods[17], opt = this._transport.mergeOptions(options);
const method = this.methods[18], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentAttachmentRemovedRequest, AppointmentAttachmentRemovedResponse>("unary", this._transport, method, opt, input);
}
/**
@@ -310,7 +323,7 @@ export class AppointmentInputAPIClient implements IAppointmentInputAPIClient, Se
* @generated from protobuf rpc: EmailsAdded
*/
emailsAdded(input: AppointmentEmailsAddedRequest, options?: RpcOptions): UnaryCall<AppointmentEmailsAddedRequest, AppointmentEmailsAddedResponse> {
const method = this.methods[18], opt = this._transport.mergeOptions(options);
const method = this.methods[19], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentEmailsAddedRequest, AppointmentEmailsAddedResponse>("unary", this._transport, method, opt, input);
}
/**
@@ -318,42 +331,42 @@ export class AppointmentInputAPIClient implements IAppointmentInputAPIClient, Se
* @generated from protobuf rpc: EmailsRemoved
*/
emailsRemoved(input: AppointmentEmailsRemovedRequest, options?: RpcOptions): UnaryCall<AppointmentEmailsRemovedRequest, AppointmentEmailsRemovedResponse> {
const method = this.methods[19], opt = this._transport.mergeOptions(options);
const method = this.methods[20], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentEmailsRemovedRequest, AppointmentEmailsRemovedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: AttendeesAdded
*/
attendeesAdded(input: AppointmentAttendeesAddedRequest, options?: RpcOptions): UnaryCall<AppointmentAttendeesAddedRequest, AppointmentAttendeesAddedResponse> {
const method = this.methods[20], opt = this._transport.mergeOptions(options);
const method = this.methods[21], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentAttendeesAddedRequest, AppointmentAttendeesAddedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: AttendeesRemoved
*/
attendeesRemoved(input: AppointmentAttendeesRemovedRequest, options?: RpcOptions): UnaryCall<AppointmentAttendeesRemovedRequest, AppointmentAttendeesRemovedResponse> {
const method = this.methods[21], opt = this._transport.mergeOptions(options);
const method = this.methods[22], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentAttendeesRemovedRequest, AppointmentAttendeesRemovedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Sanitised
*/
sanitised(input: AppointmentSanitisedRequest, options?: RpcOptions): UnaryCall<AppointmentSanitisedRequest, AppointmentSanitisedResponse> {
const method = this.methods[22], opt = this._transport.mergeOptions(options);
const method = this.methods[23], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentSanitisedRequest, AppointmentSanitisedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: CustomFieldsUpdated
*/
customFieldsUpdated(input: AppointmentCustomFieldsUpdatedRequest, options?: RpcOptions): UnaryCall<AppointmentCustomFieldsUpdatedRequest, AppointmentCustomFieldsUpdatedResponse> {
const method = this.methods[23], opt = this._transport.mergeOptions(options);
const method = this.methods[24], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentCustomFieldsUpdatedRequest, AppointmentCustomFieldsUpdatedResponse>("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: Redetected
*/
redetected(input: AppointmentRedetectedRequest, options?: RpcOptions): UnaryCall<AppointmentRedetectedRequest, AppointmentRedetectedResponse> {
const method = this.methods[24], opt = this._transport.mergeOptions(options);
const method = this.methods[25], opt = this._transport.mergeOptions(options);
return stackIntercept<AppointmentRedetectedRequest, AppointmentRedetectedResponse>("unary", this._transport, method, opt, input);
}
}

View File

@@ -896,6 +896,74 @@ export interface AppointmentAllocationErrorResponse {
ID?: EntityID;
}
//
// AllocationConfirmed : this message tells that appointment allocation is confirmed. This is typically called from an WMS when the appointment is correctly allocated after being in allocationError
/**
* Event Payload
*
* @generated from protobuf message api.AppointmentAllocationConfirmedPayload
*/
export interface AppointmentAllocationConfirmedPayload {
/**
* @deprecated
* @generated from protobuf field: string ActorID = 1 [deprecated = true]
*/
ActorID: string;
}
/**
* Event message
*
* @generated from protobuf message api.AppointmentAllocationConfirmedEvent
*/
export interface AppointmentAllocationConfirmedEvent {
/**
* @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.AppointmentAllocationConfirmedPayload Payload = 3
*/
Payload?: AppointmentAllocationConfirmedPayload;
}
/**
* API Request
*
* @generated from protobuf message api.AppointmentAllocationConfirmedRequest
*/
export interface AppointmentAllocationConfirmedRequest {
/**
* @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.AppointmentAllocationConfirmedPayload Payload = 3
*/
Payload?: AppointmentAllocationConfirmedPayload;
}
/**
* API Response
*
* @generated from protobuf message api.AppointmentAllocationConfirmedResponse
*/
export interface AppointmentAllocationConfirmedResponse {
/**
* @generated from protobuf field: api.ResponseHeader Header = 1
*/
Header?: ResponseHeader;
/**
* @generated from protobuf field: api.EntityID ID = 2
*/
ID?: EntityID;
}
//
// CarrierArrived : this message tells that appointment carrier is expected
/**
@@ -4407,6 +4475,226 @@ class AppointmentAllocationErrorResponse$Type extends MessageType<AppointmentAll
*/
export const AppointmentAllocationErrorResponse = new AppointmentAllocationErrorResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class AppointmentAllocationConfirmedPayload$Type extends MessageType<AppointmentAllocationConfirmedPayload> {
constructor() {
super("api.AppointmentAllocationConfirmedPayload", [
{ no: 1, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "AllocationConfirmed" });
}
create(value?: PartialMessage<AppointmentAllocationConfirmedPayload>): AppointmentAllocationConfirmedPayload {
const message = globalThis.Object.create((this.messagePrototype!));
message.ActorID = "";
if (value !== undefined)
reflectionMergePartial<AppointmentAllocationConfirmedPayload>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AppointmentAllocationConfirmedPayload): AppointmentAllocationConfirmedPayload {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string ActorID = 1 [deprecated = true] */ 1:
message.ActorID = 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: AppointmentAllocationConfirmedPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string ActorID = 1 [deprecated = true]; */
if (message.ActorID !== "")
writer.tag(1, WireType.LengthDelimited).string(message.ActorID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
return writer;
}
}
/**
* @generated MessageType for protobuf message api.AppointmentAllocationConfirmedPayload
*/
export const AppointmentAllocationConfirmedPayload = new AppointmentAllocationConfirmedPayload$Type();
// @generated message type with reflection information, may provide speed optimized methods
class AppointmentAllocationConfirmedEvent$Type extends MessageType<AppointmentAllocationConfirmedEvent> {
constructor() {
super("api.AppointmentAllocationConfirmedEvent", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => EventHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => AppointmentAllocationConfirmedPayload, options: { "validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Event", "api.inputEvent": "AllocationConfirmed", "api.preAggMethods": "allocationConfirmed" });
}
create(value?: PartialMessage<AppointmentAllocationConfirmedEvent>): AppointmentAllocationConfirmedEvent {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<AppointmentAllocationConfirmedEvent>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AppointmentAllocationConfirmedEvent): AppointmentAllocationConfirmedEvent {
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.AppointmentAllocationConfirmedPayload Payload */ 3:
message.Payload = AppointmentAllocationConfirmedPayload.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: AppointmentAllocationConfirmedEvent, 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.AppointmentAllocationConfirmedPayload Payload = 3; */
if (message.Payload)
AppointmentAllocationConfirmedPayload.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.AppointmentAllocationConfirmedEvent
*/
export const AppointmentAllocationConfirmedEvent = new AppointmentAllocationConfirmedEvent$Type();
// @generated message type with reflection information, may provide speed optimized methods
class AppointmentAllocationConfirmedRequest$Type extends MessageType<AppointmentAllocationConfirmedRequest> {
constructor() {
super("api.AppointmentAllocationConfirmedRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } } } },
{ no: 3, name: "Payload", kind: "message", localName: "Payload", jsonName: "Payload", T: () => AppointmentAllocationConfirmedPayload, options: { "validate.rules": { message: { required: true } } } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID", "Payload"] } }, "api.messageType": "Request", "api.inputEvent": "AllocationConfirmed" });
}
create(value?: PartialMessage<AppointmentAllocationConfirmedRequest>): AppointmentAllocationConfirmedRequest {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<AppointmentAllocationConfirmedRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AppointmentAllocationConfirmedRequest): AppointmentAllocationConfirmedRequest {
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.AppointmentAllocationConfirmedPayload Payload */ 3:
message.Payload = AppointmentAllocationConfirmedPayload.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: AppointmentAllocationConfirmedRequest, 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.AppointmentAllocationConfirmedPayload Payload = 3; */
if (message.Payload)
AppointmentAllocationConfirmedPayload.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.AppointmentAllocationConfirmedRequest
*/
export const AppointmentAllocationConfirmedRequest = new AppointmentAllocationConfirmedRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class AppointmentAllocationConfirmedResponse$Type extends MessageType<AppointmentAllocationConfirmedResponse> {
constructor() {
super("api.AppointmentAllocationConfirmedResponse", [
{ 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": "AllocationConfirmed" });
}
create(value?: PartialMessage<AppointmentAllocationConfirmedResponse>): AppointmentAllocationConfirmedResponse {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<AppointmentAllocationConfirmedResponse>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AppointmentAllocationConfirmedResponse): AppointmentAllocationConfirmedResponse {
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: AppointmentAllocationConfirmedResponse, 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.AppointmentAllocationConfirmedResponse
*/
export const AppointmentAllocationConfirmedResponse = new AppointmentAllocationConfirmedResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class AppointmentCarrierArrivedPayload$Type extends MessageType<AppointmentCarrierArrivedPayload> {
constructor() {
super("api.AppointmentCarrierArrivedPayload", [
@@ -7514,6 +7802,7 @@ export const AppointmentInputAPI = new ServiceType("api.AppointmentInputAPI", [
{ name: "CarrierInformationUpdated", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An appointment carrier information have been updated." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierInformationUpdatedRequest, O: AppointmentCarrierInformationUpdatedResponse },
{ name: "CarrierExpected", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is expected for the appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierExpectedRequest, O: AppointmentCarrierExpectedResponse },
{ name: "AllocationError", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An allocation error occured on the appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentAllocationErrorRequest, O: AppointmentAllocationErrorResponse },
{ name: "AllocationConfirmed", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "An allocation has been confirmed on the appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: AppointmentAllocationConfirmedRequest, O: AppointmentAllocationConfirmedResponse },
{ name: "CarrierArrived", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The carrier is arrived for the appointment." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentCarrierArrivedRequest, O: AppointmentCarrierArrivedResponse },
{ name: "LoadingStarted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment loading is started." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentLoadingStartedRequest, O: AppointmentLoadingStartedResponse },
{ name: "LoadingCompleted", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Inputs"], description: "The appointment loading is completed." }, "api.rscType": "Project", "api.roles": "Platform.Project-Input", "api.moduleID": "", "api.tags": "PROJECT_SITE", "api.aliasType": "APPOINTMENT_SCHEDULING", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentLoadingCompletedRequest, O: AppointmentLoadingCompletedResponse },

View File

@@ -1,6 +1,6 @@
{
"name": "@reflex-platform/npm-core-sdk",
"version": "1.13.0-SNAPSHOT-260323100216",
"version": "1.13.0-SNAPSHOT-260324095724",
"description": "npm libs from core model proto files",
"homepage": "",
"main": "index.ts",