You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -124,14 +124,20 @@ export interface AppointmentPayload {
|
||||
*/
|
||||
AttachmentNumber: number;
|
||||
/**
|
||||
* This boolean will be used to either check reason or check the commissions for informations
|
||||
*
|
||||
* @generated from protobuf field: bool HasCommission = 15
|
||||
*/
|
||||
HasCommission: boolean;
|
||||
/**
|
||||
* The Reason for which the appointment has no commission
|
||||
*
|
||||
* @generated from protobuf field: string Reason = 17
|
||||
*/
|
||||
Reason: string;
|
||||
/**
|
||||
* Acknowledgment of the site instructions
|
||||
*
|
||||
* @generated from protobuf field: bool InstructionAck = 18
|
||||
*/
|
||||
InstructionAck: boolean;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.11.0-SNAPSHOT-250811090749",
|
||||
"version": "1.11.0-SNAPSHOT-250811093019",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
64
site.ts
64
site.ts
@@ -679,6 +679,12 @@ export interface BookAppointmentRequest {
|
||||
* @generated from protobuf field: string AppointmentID = 11
|
||||
*/
|
||||
AppointmentID: string;
|
||||
/**
|
||||
* Acknowledgment of the site instructions
|
||||
*
|
||||
* @generated from protobuf field: bool InstructionAck = 12
|
||||
*/
|
||||
InstructionAck: boolean;
|
||||
}
|
||||
/**
|
||||
* BookAppointment
|
||||
@@ -757,6 +763,12 @@ export interface BookAppointmentNoReferenceRequest {
|
||||
* @generated from protobuf field: string Reason = 12
|
||||
*/
|
||||
Reason: string;
|
||||
/**
|
||||
* Acknowledgment of the site instructions
|
||||
*
|
||||
* @generated from protobuf field: bool InstructionAck = 13
|
||||
*/
|
||||
InstructionAck: boolean;
|
||||
}
|
||||
/**
|
||||
* BookAppointment
|
||||
@@ -829,6 +841,12 @@ export interface WMSBookAppointmentRequest {
|
||||
* @generated from protobuf field: string AppointmentID = 12
|
||||
*/
|
||||
AppointmentID: string;
|
||||
/**
|
||||
* Acknowledgment of the site instructions
|
||||
*
|
||||
* @generated from protobuf field: bool InstructionAck = 13
|
||||
*/
|
||||
InstructionAck: boolean;
|
||||
}
|
||||
/**
|
||||
* BookAppointment
|
||||
@@ -913,6 +931,12 @@ export interface WMSBookAppointmentNoReferenceRequest {
|
||||
* @generated from protobuf field: string Reason = 13
|
||||
*/
|
||||
Reason: string;
|
||||
/**
|
||||
* Acknowledgment of the site instructions
|
||||
*
|
||||
* @generated from protobuf field: bool InstructionAck = 14
|
||||
*/
|
||||
InstructionAck: boolean;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.BookAppointmentResponse
|
||||
@@ -2838,7 +2862,8 @@ class BookAppointmentRequest$Type extends MessageType<BookAppointmentRequest> {
|
||||
{ no: 8, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "validate.rules": { repeated: { minItems: "1", items: { string: { email: true, ignoreEmpty: true } } } } } },
|
||||
{ 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: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]+$" } } }
|
||||
{ no: 11, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { pattern: "^[a-zA-Z0-9-]+$" } } },
|
||||
{ no: 12, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType", "Commissions", "Segmentations", "CarrierInformation"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<BookAppointmentRequest>): BookAppointmentRequest {
|
||||
@@ -2852,6 +2877,7 @@ class BookAppointmentRequest$Type extends MessageType<BookAppointmentRequest> {
|
||||
message.CarrierID = "";
|
||||
message.CarrierName = "";
|
||||
message.AppointmentID = "";
|
||||
message.InstructionAck = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<BookAppointmentRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -2891,6 +2917,9 @@ class BookAppointmentRequest$Type extends MessageType<BookAppointmentRequest> {
|
||||
case /* string AppointmentID */ 11:
|
||||
message.AppointmentID = reader.string();
|
||||
break;
|
||||
case /* bool InstructionAck */ 12:
|
||||
message.InstructionAck = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -2933,6 +2962,9 @@ class BookAppointmentRequest$Type extends MessageType<BookAppointmentRequest> {
|
||||
/* string AppointmentID = 11; */
|
||||
if (message.AppointmentID !== "")
|
||||
writer.tag(11, WireType.LengthDelimited).string(message.AppointmentID);
|
||||
/* bool InstructionAck = 12; */
|
||||
if (message.InstructionAck !== false)
|
||||
writer.tag(12, WireType.Varint).bool(message.InstructionAck);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -2958,7 +2990,8 @@ class BookAppointmentNoReferenceRequest$Type extends MessageType<BookAppointment
|
||||
{ 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: "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*/ }
|
||||
{ no: 12, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 13, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType", "ProjectID", "Quantities", "Segmentations", "CarrierInformation"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<BookAppointmentNoReferenceRequest>): BookAppointmentNoReferenceRequest {
|
||||
@@ -2974,6 +3007,7 @@ class BookAppointmentNoReferenceRequest$Type extends MessageType<BookAppointment
|
||||
message.CarrierName = "";
|
||||
message.AppointmentID = "";
|
||||
message.Reason = "";
|
||||
message.InstructionAck = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<BookAppointmentNoReferenceRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -3019,6 +3053,9 @@ class BookAppointmentNoReferenceRequest$Type extends MessageType<BookAppointment
|
||||
case /* string Reason */ 12:
|
||||
message.Reason = reader.string();
|
||||
break;
|
||||
case /* bool InstructionAck */ 13:
|
||||
message.InstructionAck = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -3067,6 +3104,9 @@ class BookAppointmentNoReferenceRequest$Type extends MessageType<BookAppointment
|
||||
/* string Reason = 12; */
|
||||
if (message.Reason !== "")
|
||||
writer.tag(12, WireType.LengthDelimited).string(message.Reason);
|
||||
/* bool InstructionAck = 13; */
|
||||
if (message.InstructionAck !== false)
|
||||
writer.tag(13, WireType.Varint).bool(message.InstructionAck);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -3091,7 +3131,8 @@ class WMSBookAppointmentRequest$Type extends MessageType<WMSBookAppointmentReque
|
||||
{ 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: 12, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 12, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 13, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType", "Commissions", "Segmentations", "CarrierInformation", "TimeZone"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<WMSBookAppointmentRequest>): WMSBookAppointmentRequest {
|
||||
@@ -3106,6 +3147,7 @@ class WMSBookAppointmentRequest$Type extends MessageType<WMSBookAppointmentReque
|
||||
message.CarrierName = "";
|
||||
message.TimeZone = "";
|
||||
message.AppointmentID = "";
|
||||
message.InstructionAck = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<WMSBookAppointmentRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -3148,6 +3190,9 @@ class WMSBookAppointmentRequest$Type extends MessageType<WMSBookAppointmentReque
|
||||
case /* string AppointmentID */ 12:
|
||||
message.AppointmentID = reader.string();
|
||||
break;
|
||||
case /* bool InstructionAck */ 13:
|
||||
message.InstructionAck = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -3193,6 +3238,9 @@ class WMSBookAppointmentRequest$Type extends MessageType<WMSBookAppointmentReque
|
||||
/* string AppointmentID = 12; */
|
||||
if (message.AppointmentID !== "")
|
||||
writer.tag(12, WireType.LengthDelimited).string(message.AppointmentID);
|
||||
/* bool InstructionAck = 13; */
|
||||
if (message.InstructionAck !== false)
|
||||
writer.tag(13, WireType.Varint).bool(message.InstructionAck);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -3219,7 +3267,8 @@ class WMSBookAppointmentNoReferenceRequest$Type extends MessageType<WMSBookAppoi
|
||||
{ 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: 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*/ }
|
||||
{ no: 13, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 14, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType", "ProjectID", "Quantities", "Segmentations", "CarrierInformation", "TimeZone"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<WMSBookAppointmentNoReferenceRequest>): WMSBookAppointmentNoReferenceRequest {
|
||||
@@ -3236,6 +3285,7 @@ class WMSBookAppointmentNoReferenceRequest$Type extends MessageType<WMSBookAppoi
|
||||
message.TimeZone = "";
|
||||
message.AppointmentID = "";
|
||||
message.Reason = "";
|
||||
message.InstructionAck = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<WMSBookAppointmentNoReferenceRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -3284,6 +3334,9 @@ class WMSBookAppointmentNoReferenceRequest$Type extends MessageType<WMSBookAppoi
|
||||
case /* string Reason */ 13:
|
||||
message.Reason = reader.string();
|
||||
break;
|
||||
case /* bool InstructionAck */ 14:
|
||||
message.InstructionAck = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -3335,6 +3388,9 @@ class WMSBookAppointmentNoReferenceRequest$Type extends MessageType<WMSBookAppoi
|
||||
/* string Reason = 13; */
|
||||
if (message.Reason !== "")
|
||||
writer.tag(13, WireType.LengthDelimited).string(message.Reason);
|
||||
/* bool InstructionAck = 14; */
|
||||
if (message.InstructionAck !== false)
|
||||
writer.tag(14, WireType.Varint).bool(message.InstructionAck);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user