You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"name": "@reflex-platform/npm-core-sdk",
|
||||||
"version": "1.13.0-SNAPSHOT-260127152356",
|
"version": "1.13.0-SNAPSHOT-260128105820",
|
||||||
"description": "npm libs from core model proto files",
|
"description": "npm libs from core model proto files",
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
|
|||||||
18
site.ts
18
site.ts
@@ -953,6 +953,12 @@ export interface WMSUpdateAppointmentRequest {
|
|||||||
* @generated from protobuf field: string ActorID = 5
|
* @generated from protobuf field: string ActorID = 5
|
||||||
*/
|
*/
|
||||||
ActorID: string; // actor with which the siteID/project-depositID will be processed
|
ActorID: string; // actor with which the siteID/project-depositID will be processed
|
||||||
|
/**
|
||||||
|
* In case of no reference, The Reason for which the appointment has no commissions
|
||||||
|
*
|
||||||
|
* @generated from protobuf field: string Reason = 7
|
||||||
|
*/
|
||||||
|
Reason: string;
|
||||||
/**
|
/**
|
||||||
* time zone, useful only if a WMS send a message
|
* time zone, useful only if a WMS send a message
|
||||||
*
|
*
|
||||||
@@ -3973,11 +3979,12 @@ class WMSUpdateAppointmentRequest$Type extends MessageType<WMSUpdateAppointmentR
|
|||||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||||
{ no: 2, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", maxLen: "192" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Your identifier", example: "\"Your_Appointment_ID\"" } } },
|
{ no: 2, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", maxLen: "192" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Your identifier", example: "\"Your_Appointment_ID\"" } } },
|
||||||
{ no: 3, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot, options: { "validate.rules": { repeated: { minItems: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Appointment slots" } } },
|
{ no: 3, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot, options: { "validate.rules": { repeated: { minItems: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Appointment slots" } } },
|
||||||
{ no: 4, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => WMSCommission, options: { "validate.rules": { repeated: { minItems: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the appointment by project" } } },
|
{ no: 4, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => WMSCommission, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the appointment by project" } } },
|
||||||
{ no: 5, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
|
{ no: 5, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
|
||||||
|
{ no: 7, 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" } } },
|
||||||
{ no: 8, 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: 8, 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: 9, name: "CustomFields", kind: "message", localName: "CustomFields", jsonName: "CustomFields", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CustomField, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "A free-form key/value map provided by the client. The API stores and returns these fields as-is. Intended solely for client use; the API does not interpret or validate the content." } } }
|
{ no: 9, name: "CustomFields", kind: "message", localName: "CustomFields", jsonName: "CustomFields", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CustomField, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "A free-form key/value map provided by the client. The API stores and returns these fields as-is. Intended solely for client use; the API does not interpret or validate the content." } } }
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentID", "Slots", "Commissions", "ActorID"] } } });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentID", "Slots", "ActorID"] } } });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<WMSUpdateAppointmentRequest>): WMSUpdateAppointmentRequest {
|
create(value?: PartialMessage<WMSUpdateAppointmentRequest>): WMSUpdateAppointmentRequest {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
@@ -3985,6 +3992,7 @@ class WMSUpdateAppointmentRequest$Type extends MessageType<WMSUpdateAppointmentR
|
|||||||
message.Slots = [];
|
message.Slots = [];
|
||||||
message.Commissions = [];
|
message.Commissions = [];
|
||||||
message.ActorID = "";
|
message.ActorID = "";
|
||||||
|
message.Reason = "";
|
||||||
message.TimeZone = "";
|
message.TimeZone = "";
|
||||||
message.CustomFields = [];
|
message.CustomFields = [];
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
@@ -4011,6 +4019,9 @@ class WMSUpdateAppointmentRequest$Type extends MessageType<WMSUpdateAppointmentR
|
|||||||
case /* string ActorID */ 5:
|
case /* string ActorID */ 5:
|
||||||
message.ActorID = reader.string();
|
message.ActorID = reader.string();
|
||||||
break;
|
break;
|
||||||
|
case /* string Reason */ 7:
|
||||||
|
message.Reason = reader.string();
|
||||||
|
break;
|
||||||
case /* string TimeZone */ 8:
|
case /* string TimeZone */ 8:
|
||||||
message.TimeZone = reader.string();
|
message.TimeZone = reader.string();
|
||||||
break;
|
break;
|
||||||
@@ -4044,6 +4055,9 @@ class WMSUpdateAppointmentRequest$Type extends MessageType<WMSUpdateAppointmentR
|
|||||||
/* string ActorID = 5; */
|
/* string ActorID = 5; */
|
||||||
if (message.ActorID !== "")
|
if (message.ActorID !== "")
|
||||||
writer.tag(5, WireType.LengthDelimited).string(message.ActorID);
|
writer.tag(5, WireType.LengthDelimited).string(message.ActorID);
|
||||||
|
/* string Reason = 7; */
|
||||||
|
if (message.Reason !== "")
|
||||||
|
writer.tag(7, WireType.LengthDelimited).string(message.Reason);
|
||||||
/* string TimeZone = 8; */
|
/* string TimeZone = 8; */
|
||||||
if (message.TimeZone !== "")
|
if (message.TimeZone !== "")
|
||||||
writer.tag(8, WireType.LengthDelimited).string(message.TimeZone);
|
writer.tag(8, WireType.LengthDelimited).string(message.TimeZone);
|
||||||
|
|||||||
Reference in New Issue
Block a user