Latest generation

This commit is contained in:
ci core model
2025-12-01 09:07:03 +00:00
parent 1b1ca31626
commit 3fb5143e8d
3 changed files with 31 additions and 3 deletions

View File

@@ -148,6 +148,12 @@ export interface AppointmentPayload {
* @generated from protobuf field: api.Address Address = 21
*/
Address?: Address;
/**
* Name of the appointment site
*
* @generated from protobuf field: string SiteName = 22
*/
SiteName: string;
}
/**
* @generated from protobuf message api.AppointmentTriplet
@@ -246,7 +252,8 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
{ no: 17, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ },
{ no: 18, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ },
{ no: 20, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "api.aggSkip": "Created,Canceled,SlotUpdated,CommissionsUpdated,CarrierInformationUpdated,CarrierExpected,CarrierArrived,LoadingStarted,LoadingCompleted,UnloadingStarted,UnloadingCompleted,CarrierDeparted,MetaDataUpdated,AttachmentAdded,AttachmentRemoved,EmailsAdded,EmailsRemoved,Sanitised,CustomFieldsUpdated" } },
{ no: 21, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address }
{ no: 21, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
{ no: 22, name: "SiteName", kind: "scalar", localName: "SiteName", jsonName: "SiteName", T: 9 /*ScalarType.STRING*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["AppointmentType", "Segmentations"] } } });
}
create(value?: PartialMessage<AppointmentPayload>): AppointmentPayload {
@@ -265,6 +272,7 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
message.Reason = "";
message.InstructionAck = false;
message.ActorID = "";
message.SiteName = "";
if (value !== undefined)
reflectionMergePartial<AppointmentPayload>(this, message, value);
return message;
@@ -325,6 +333,9 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
case /* api.Address Address */ 21:
message.Address = Address.internalBinaryRead(reader, reader.uint32(), options, message.Address);
break;
case /* string SiteName */ 22:
message.SiteName = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -388,6 +399,9 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
/* api.Address Address = 21; */
if (message.Address)
Address.internalBinaryWrite(message.Address, writer.tag(21, WireType.LengthDelimited).fork(), options).join();
/* string SiteName = 22; */
if (message.SiteName !== "")
writer.tag(22, WireType.LengthDelimited).string(message.SiteName);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -193,6 +193,12 @@ export interface AppointmentMailPayload {
* @generated from protobuf field: api.Address Address = 18
*/
Address?: Address;
/**
* Name of the appointment site
*
* @generated from protobuf field: string SiteName = 20
*/
SiteName: string;
}
/**
* @generated from protobuf message api.AppointmentMail
@@ -468,7 +474,8 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
{ no: 14, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/ },
{ no: 15, name: "HasCommission", kind: "scalar", localName: "HasCommission", jsonName: "HasCommission", T: 8 /*ScalarType.BOOL*/ },
{ no: 17, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ },
{ no: 18, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address }
{ no: 18, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
{ no: 20, name: "SiteName", kind: "scalar", localName: "SiteName", jsonName: "SiteName", T: 9 /*ScalarType.STRING*/ }
], { "api.messageType": "Command", "api.payload": true, "api.action": "Mail" });
}
create(value?: PartialMessage<AppointmentMailPayload>): AppointmentMailPayload {
@@ -485,6 +492,7 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
message.AttachmentNumber = 0;
message.HasCommission = false;
message.Reason = "";
message.SiteName = "";
if (value !== undefined)
reflectionMergePartial<AppointmentMailPayload>(this, message, value);
return message;
@@ -539,6 +547,9 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
case /* api.Address Address */ 18:
message.Address = Address.internalBinaryRead(reader, reader.uint32(), options, message.Address);
break;
case /* string SiteName */ 20:
message.SiteName = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -596,6 +607,9 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
/* repeated api.MetadataElement CarrierInformation = 19; */
for (let i = 0; i < message.CarrierInformation.length; i++)
MetadataElement.internalBinaryWrite(message.CarrierInformation[i], writer.tag(19, WireType.LengthDelimited).fork(), options).join();
/* string SiteName = 20; */
if (message.SiteName !== "")
writer.tag(20, WireType.LengthDelimited).string(message.SiteName);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

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