Latest generation

This commit is contained in:
ci core model
2025-08-05 13:20:13 +00:00
parent 52b19bc3e4
commit 2bff3fcba2
4 changed files with 139 additions and 7 deletions

View File

@@ -123,6 +123,14 @@ export interface AppointmentPayload {
* @generated from protobuf field: int32 AttachmentNumber = 14
*/
AttachmentNumber: number;
/**
* @generated from protobuf field: bool HasCommission = 15
*/
HasCommission: boolean;
/**
* @generated from protobuf field: string Reason = 17
*/
Reason: string;
}
/**
* @generated from protobuf message api.AppointmentTriplet
@@ -218,7 +226,9 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
{ no: 11, name: "CarrierID", kind: "scalar", localName: "CarrierID", jsonName: "CarrierID", T: 9 /*ScalarType.STRING*/ },
{ no: 12, name: "CarrierName", kind: "scalar", localName: "CarrierName", jsonName: "CarrierName", T: 9 /*ScalarType.STRING*/ },
{ no: 13, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary, options: { "api.aggSkip": "AttachmentAdded,AttachmentRemoved", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments per type" } } },
{ no: 14, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of attachments" } } }
{ no: 14, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of attachments" } } },
{ 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*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["AppointmentType", "Segmentations"] } } });
}
create(value?: PartialMessage<AppointmentPayload>): AppointmentPayload {
@@ -235,6 +245,8 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
message.CarrierName = "";
message.Attachments = [];
message.AttachmentNumber = 0;
message.HasCommission = false;
message.Reason = "";
if (value !== undefined)
reflectionMergePartial<AppointmentPayload>(this, message, value);
return message;
@@ -286,6 +298,12 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
case /* int32 AttachmentNumber */ 14:
message.AttachmentNumber = reader.int32();
break;
case /* bool HasCommission */ 15:
message.HasCommission = reader.bool();
break;
case /* string Reason */ 17:
message.Reason = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -337,9 +355,15 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
/* int32 AttachmentNumber = 14; */
if (message.AttachmentNumber !== 0)
writer.tag(14, WireType.Varint).int32(message.AttachmentNumber);
/* bool HasCommission = 15; */
if (message.HasCommission !== false)
writer.tag(15, WireType.Varint).bool(message.HasCommission);
/* repeated string RemovedEmails = 16; */
for (let i = 0; i < message.RemovedEmails.length; i++)
writer.tag(16, WireType.LengthDelimited).string(message.RemovedEmails[i]);
/* string Reason = 17; */
if (message.Reason !== "")
writer.tag(17, WireType.LengthDelimited).string(message.Reason);
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.11.0-SNAPSHOT-250804132324",
"version": "1.11.0-SNAPSHOT-250805131955",
"description": "npm libs from core model proto files",
"homepage": "",
"main": "index.ts",

92
site.ts
View File

@@ -673,6 +673,12 @@ export interface BookAppointmentRequest {
* @generated from protobuf field: string CarrierName = 10
*/
CarrierName: string;
/**
* The appointment ID, usually generated using siteCounterServices
*
* @generated from protobuf field: string AppointmentID = 11
*/
AppointmentID: string;
}
/**
* BookAppointment
@@ -739,6 +745,18 @@ export interface BookAppointmentNoReferenceRequest {
* @generated from protobuf field: string CarrierName = 10
*/
CarrierName: string;
/**
* The appointment ID, usually generated using siteCounterServices
*
* @generated from protobuf field: string AppointmentID = 11
*/
AppointmentID: string;
/**
* The Reason for which the appointment has no commissions
*
* @generated from protobuf field: string Reason = 12
*/
Reason: string;
}
/**
* BookAppointment
@@ -805,6 +823,12 @@ export interface WMSBookAppointmentRequest {
* @generated from protobuf field: string TimeZone = 11
*/
TimeZone: string;
/**
* The appointment ID, usually generated using siteCounterServices
*
* @generated from protobuf field: string AppointmentID = 12
*/
AppointmentID: string;
}
/**
* BookAppointment
@@ -877,6 +901,18 @@ export interface WMSBookAppointmentNoReferenceRequest {
* @generated from protobuf field: string TimeZone = 11
*/
TimeZone: string;
/**
* The appointment ID, usually generated using siteCounterServices
*
* @generated from protobuf field: string AppointmentID = 12
*/
AppointmentID: string;
/**
* The Reason for which the appointment has no commissions
*
* @generated from protobuf field: string Reason = 13
*/
Reason: string;
}
/**
* @generated from protobuf message api.BookAppointmentResponse
@@ -2787,7 +2823,8 @@ class BookAppointmentRequest$Type extends MessageType<BookAppointmentRequest> {
{ no: 6, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot },
{ no: 8, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { minItems: "1", items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } },
{ no: 9, name: "CarrierID", kind: "scalar", localName: "CarrierID", jsonName: "CarrierID", T: 9 /*ScalarType.STRING*/ },
{ no: 10, name: "CarrierName", kind: "scalar", localName: "CarrierName", jsonName: "CarrierName", T: 9 /*ScalarType.STRING*/ }
{ no: 10, name: "CarrierName", kind: "scalar", localName: "CarrierName", jsonName: "CarrierName", T: 9 /*ScalarType.STRING*/ },
{ no: 11, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType", "Commissions", "Segmentations", "CarrierInformation"] } } });
}
create(value?: PartialMessage<BookAppointmentRequest>): BookAppointmentRequest {
@@ -2800,6 +2837,7 @@ class BookAppointmentRequest$Type extends MessageType<BookAppointmentRequest> {
message.Emails = [];
message.CarrierID = "";
message.CarrierName = "";
message.AppointmentID = "";
if (value !== undefined)
reflectionMergePartial<BookAppointmentRequest>(this, message, value);
return message;
@@ -2836,6 +2874,9 @@ class BookAppointmentRequest$Type extends MessageType<BookAppointmentRequest> {
case /* string CarrierName */ 10:
message.CarrierName = reader.string();
break;
case /* string AppointmentID */ 11:
message.AppointmentID = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -2875,6 +2916,9 @@ class BookAppointmentRequest$Type extends MessageType<BookAppointmentRequest> {
/* string CarrierName = 10; */
if (message.CarrierName !== "")
writer.tag(10, WireType.LengthDelimited).string(message.CarrierName);
/* string AppointmentID = 11; */
if (message.AppointmentID !== "")
writer.tag(11, WireType.LengthDelimited).string(message.AppointmentID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2898,7 +2942,9 @@ class BookAppointmentNoReferenceRequest$Type extends MessageType<BookAppointment
{ no: 7, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot },
{ no: 8, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { minItems: "1", items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } },
{ no: 9, name: "CarrierID", kind: "scalar", localName: "CarrierID", jsonName: "CarrierID", T: 9 /*ScalarType.STRING*/ },
{ no: 10, name: "CarrierName", kind: "scalar", localName: "CarrierName", jsonName: "CarrierName", T: 9 /*ScalarType.STRING*/ }
{ no: 10, name: "CarrierName", kind: "scalar", localName: "CarrierName", jsonName: "CarrierName", T: 9 /*ScalarType.STRING*/ },
{ no: 11, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/ },
{ no: 12, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType", "ProjectID", "Quantities", "Segmentations", "CarrierInformation"] } } });
}
create(value?: PartialMessage<BookAppointmentNoReferenceRequest>): BookAppointmentNoReferenceRequest {
@@ -2912,6 +2958,8 @@ class BookAppointmentNoReferenceRequest$Type extends MessageType<BookAppointment
message.Emails = [];
message.CarrierID = "";
message.CarrierName = "";
message.AppointmentID = "";
message.Reason = "";
if (value !== undefined)
reflectionMergePartial<BookAppointmentNoReferenceRequest>(this, message, value);
return message;
@@ -2951,6 +2999,12 @@ class BookAppointmentNoReferenceRequest$Type extends MessageType<BookAppointment
case /* string CarrierName */ 10:
message.CarrierName = reader.string();
break;
case /* string AppointmentID */ 11:
message.AppointmentID = reader.string();
break;
case /* string Reason */ 12:
message.Reason = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -2993,6 +3047,12 @@ class BookAppointmentNoReferenceRequest$Type extends MessageType<BookAppointment
/* string CarrierName = 10; */
if (message.CarrierName !== "")
writer.tag(10, WireType.LengthDelimited).string(message.CarrierName);
/* string AppointmentID = 11; */
if (message.AppointmentID !== "")
writer.tag(11, WireType.LengthDelimited).string(message.AppointmentID);
/* string Reason = 12; */
if (message.Reason !== "")
writer.tag(12, WireType.LengthDelimited).string(message.Reason);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3016,7 +3076,8 @@ class WMSBookAppointmentRequest$Type extends MessageType<WMSBookAppointmentReque
{ no: 8, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { minItems: "1", items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } },
{ no: 9, name: "CarrierID", kind: "scalar", localName: "CarrierID", jsonName: "CarrierID", T: 9 /*ScalarType.STRING*/ },
{ no: 10, name: "CarrierName", kind: "scalar", localName: "CarrierName", jsonName: "CarrierName", T: 9 /*ScalarType.STRING*/ },
{ no: 11, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/ }
{ no: 11, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/ },
{ no: 12, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType", "Commissions", "Segmentations", "CarrierInformation", "TimeZone"] } } });
}
create(value?: PartialMessage<WMSBookAppointmentRequest>): WMSBookAppointmentRequest {
@@ -3030,6 +3091,7 @@ class WMSBookAppointmentRequest$Type extends MessageType<WMSBookAppointmentReque
message.CarrierID = "";
message.CarrierName = "";
message.TimeZone = "";
message.AppointmentID = "";
if (value !== undefined)
reflectionMergePartial<WMSBookAppointmentRequest>(this, message, value);
return message;
@@ -3069,6 +3131,9 @@ class WMSBookAppointmentRequest$Type extends MessageType<WMSBookAppointmentReque
case /* string TimeZone */ 11:
message.TimeZone = reader.string();
break;
case /* string AppointmentID */ 12:
message.AppointmentID = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -3111,6 +3176,9 @@ class WMSBookAppointmentRequest$Type extends MessageType<WMSBookAppointmentReque
/* string TimeZone = 11; */
if (message.TimeZone !== "")
writer.tag(11, WireType.LengthDelimited).string(message.TimeZone);
/* string AppointmentID = 12; */
if (message.AppointmentID !== "")
writer.tag(12, WireType.LengthDelimited).string(message.AppointmentID);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3135,7 +3203,9 @@ class WMSBookAppointmentNoReferenceRequest$Type extends MessageType<WMSBookAppoi
{ no: 8, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { minItems: "1", items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } },
{ no: 9, name: "CarrierID", kind: "scalar", localName: "CarrierID", jsonName: "CarrierID", T: 9 /*ScalarType.STRING*/ },
{ no: 10, name: "CarrierName", kind: "scalar", localName: "CarrierName", jsonName: "CarrierName", T: 9 /*ScalarType.STRING*/ },
{ no: 11, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/ }
{ no: 11, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/ },
{ no: 12, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/ },
{ no: 13, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType", "ProjectID", "Quantities", "Segmentations", "CarrierInformation", "TimeZone"] } } });
}
create(value?: PartialMessage<WMSBookAppointmentNoReferenceRequest>): WMSBookAppointmentNoReferenceRequest {
@@ -3150,6 +3220,8 @@ class WMSBookAppointmentNoReferenceRequest$Type extends MessageType<WMSBookAppoi
message.CarrierID = "";
message.CarrierName = "";
message.TimeZone = "";
message.AppointmentID = "";
message.Reason = "";
if (value !== undefined)
reflectionMergePartial<WMSBookAppointmentNoReferenceRequest>(this, message, value);
return message;
@@ -3192,6 +3264,12 @@ class WMSBookAppointmentNoReferenceRequest$Type extends MessageType<WMSBookAppoi
case /* string TimeZone */ 11:
message.TimeZone = reader.string();
break;
case /* string AppointmentID */ 12:
message.AppointmentID = reader.string();
break;
case /* string Reason */ 13:
message.Reason = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -3237,6 +3315,12 @@ class WMSBookAppointmentNoReferenceRequest$Type extends MessageType<WMSBookAppoi
/* string TimeZone = 11; */
if (message.TimeZone !== "")
writer.tag(11, WireType.LengthDelimited).string(message.TimeZone);
/* string AppointmentID = 12; */
if (message.AppointmentID !== "")
writer.tag(12, WireType.LengthDelimited).string(message.AppointmentID);
/* string Reason = 13; */
if (message.Reason !== "")
writer.tag(13, WireType.LengthDelimited).string(message.Reason);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -572,6 +572,14 @@ export interface Booking {
* @generated from protobuf field: repeated api.Slot Slots = 4
*/
Slots: Slot[];
/**
* @generated from protobuf field: string AppointmentKind = 5
*/
AppointmentKind: string;
/**
* @generated from protobuf field: bool HasReference = 6
*/
HasReference: boolean;
}
/**
* @generated from protobuf message api.SlotGroup
@@ -2324,7 +2332,9 @@ class Booking$Type extends MessageType<Booking> {
{ no: 1, name: "AppointmentType", kind: "enum", localName: "AppointmentType", jsonName: "AppointmentType", T: () => ["api.AppointmentType", AppointmentType] },
{ no: 2, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Commission },
{ no: 3, name: "SegmentationSelections", kind: "message", localName: "SegmentationSelections", jsonName: "SegmentationSelections", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationSelection },
{ no: 4, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot }
{ no: 4, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot },
{ no: 5, name: "AppointmentKind", kind: "scalar", localName: "AppointmentKind", jsonName: "AppointmentKind", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "HasReference", kind: "scalar", localName: "HasReference", jsonName: "HasReference", T: 8 /*ScalarType.BOOL*/ }
]);
}
create(value?: PartialMessage<Booking>): Booking {
@@ -2333,6 +2343,8 @@ class Booking$Type extends MessageType<Booking> {
message.Commissions = [];
message.SegmentationSelections = [];
message.Slots = [];
message.AppointmentKind = "";
message.HasReference = false;
if (value !== undefined)
reflectionMergePartial<Booking>(this, message, value);
return message;
@@ -2354,6 +2366,12 @@ class Booking$Type extends MessageType<Booking> {
case /* repeated api.Slot Slots */ 4:
message.Slots.push(Slot.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* string AppointmentKind */ 5:
message.AppointmentKind = reader.string();
break;
case /* bool HasReference */ 6:
message.HasReference = reader.bool();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -2378,6 +2396,12 @@ class Booking$Type extends MessageType<Booking> {
/* repeated api.Slot Slots = 4; */
for (let i = 0; i < message.Slots.length; i++)
Slot.internalBinaryWrite(message.Slots[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* string AppointmentKind = 5; */
if (message.AppointmentKind !== "")
writer.tag(5, WireType.LengthDelimited).string(message.AppointmentKind);
/* bool HasReference = 6; */
if (message.HasReference !== false)
writer.tag(6, WireType.Varint).bool(message.HasReference);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);