You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.13.0-SNAPSHOT-260224095001",
|
||||
"version": "1.13.0-SNAPSHOT-260224100807",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
14
site.ts
14
site.ts
@@ -765,6 +765,10 @@ export interface BookAppointmentResponse {
|
||||
* @generated from protobuf field: string AppointmentID = 1
|
||||
*/
|
||||
AppointmentID: string;
|
||||
/**
|
||||
* @generated from protobuf field: repeated string Attendees = 27
|
||||
*/
|
||||
Attendees: string[];
|
||||
}
|
||||
/**
|
||||
* CancelAppointment
|
||||
@@ -3315,12 +3319,14 @@ class BookAppointmentResponse$Type extends MessageType<BookAppointmentResponse>
|
||||
constructor() {
|
||||
super("api.BookAppointmentResponse", [
|
||||
{ no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResponseHeader },
|
||||
{ no: 1, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 1, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 27, name: "Attendees", kind: "scalar", localName: "Attendees", jsonName: "Attendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<BookAppointmentResponse>): BookAppointmentResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.AppointmentID = "";
|
||||
message.Attendees = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<BookAppointmentResponse>(this, message, value);
|
||||
return message;
|
||||
@@ -3336,6 +3342,9 @@ class BookAppointmentResponse$Type extends MessageType<BookAppointmentResponse>
|
||||
case /* string AppointmentID */ 1:
|
||||
message.AppointmentID = reader.string();
|
||||
break;
|
||||
case /* repeated string Attendees */ 27:
|
||||
message.Attendees.push(reader.string());
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -3354,6 +3363,9 @@ class BookAppointmentResponse$Type extends MessageType<BookAppointmentResponse>
|
||||
/* api.ResponseHeader Header = 2; */
|
||||
if (message.Header)
|
||||
ResponseHeader.internalBinaryWrite(message.Header, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated string Attendees = 27; */
|
||||
for (let i = 0; i < message.Attendees.length; i++)
|
||||
writer.tag(27, WireType.LengthDelimited).string(message.Attendees[i]);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -344,6 +344,12 @@ export interface WMSUpdateAppointmentPayload {
|
||||
* @generated from protobuf field: api.AppointmentContent Unloading = 4
|
||||
*/
|
||||
Unloading?: AppointmentContent;
|
||||
/**
|
||||
* In case of no reference, The Reason for which the appointment has no commissions
|
||||
*
|
||||
* @generated from protobuf field: string Reason = 5
|
||||
*/
|
||||
Reason: string;
|
||||
}
|
||||
/**
|
||||
* CheckAppointmentEditable
|
||||
@@ -1192,12 +1198,14 @@ class WMSUpdateAppointmentPayload$Type extends MessageType<WMSUpdateAppointmentP
|
||||
{ no: 1, name: "Slot", kind: "message", localName: "Slot", jsonName: "Slot", T: () => Slot },
|
||||
{ no: 2, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "TimeZone is required only when a WMS calls the API" } } },
|
||||
{ no: 3, name: "Loading", kind: "message", localName: "Loading", jsonName: "Loading", T: () => AppointmentContent },
|
||||
{ no: 4, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", T: () => AppointmentContent }
|
||||
{ no: 4, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", T: () => AppointmentContent },
|
||||
{ no: 5, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Reason is required to update appointment without order reference" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Slot"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<WMSUpdateAppointmentPayload>): WMSUpdateAppointmentPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.TimeZone = "";
|
||||
message.Reason = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<WMSUpdateAppointmentPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -1219,6 +1227,9 @@ class WMSUpdateAppointmentPayload$Type extends MessageType<WMSUpdateAppointmentP
|
||||
case /* api.AppointmentContent Unloading */ 4:
|
||||
message.Unloading = AppointmentContent.internalBinaryRead(reader, reader.uint32(), options, message.Unloading);
|
||||
break;
|
||||
case /* string Reason */ 5:
|
||||
message.Reason = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1243,6 +1254,9 @@ class WMSUpdateAppointmentPayload$Type extends MessageType<WMSUpdateAppointmentP
|
||||
/* api.AppointmentContent Unloading = 4; */
|
||||
if (message.Unloading)
|
||||
AppointmentContent.internalBinaryWrite(message.Unloading, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string Reason = 5; */
|
||||
if (message.Reason !== "")
|
||||
writer.tag(5, 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