You've already forked npm-core-sdk
Latest generation
This commit is contained in:
92
site.ts
92
site.ts
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user