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.12.0-SNAPSHOT-251125092907",
|
||||
"version": "1.12.0-SNAPSHOT-251125094319",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
32
site.ts
32
site.ts
@@ -677,6 +677,12 @@ export interface BookAppointmentRequest {
|
||||
* @generated from protobuf field: string Reason = 16
|
||||
*/
|
||||
Reason: string;
|
||||
/**
|
||||
* time zone, useful only if a WMS send a message
|
||||
*
|
||||
* @generated from protobuf field: string TimeZone = 17
|
||||
*/
|
||||
TimeZone: string;
|
||||
}
|
||||
/**
|
||||
* SiteActor: connection between an actor in a project and a Site
|
||||
@@ -845,6 +851,12 @@ export interface UpdateAppointmentRequest {
|
||||
* @generated from protobuf field: string Reason = 7
|
||||
*/
|
||||
Reason: string;
|
||||
/**
|
||||
* time zone, useful only if a WMS send a message
|
||||
*
|
||||
* @generated from protobuf field: string TimeZone = 8
|
||||
*/
|
||||
TimeZone: string;
|
||||
}
|
||||
/**
|
||||
* ListUserSites
|
||||
@@ -2882,7 +2894,8 @@ class BookAppointmentRequest$Type extends MessageType<BookAppointmentRequest> {
|
||||
{ no: 12, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ },
|
||||
{ no: 13, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 15, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the site. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } },
|
||||
{ no: 16, 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 book appointment without order reference" } } }
|
||||
{ no: 16, 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 book appointment without order reference" } } },
|
||||
{ no: 17, 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" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType", "Slots", "Commissions", "SegmentationSelections", "CarrierInformation", "ActorID", "Emails"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<BookAppointmentRequest>): BookAppointmentRequest {
|
||||
@@ -2898,6 +2911,7 @@ class BookAppointmentRequest$Type extends MessageType<BookAppointmentRequest> {
|
||||
message.ActorID = "";
|
||||
message.MetaData = [];
|
||||
message.Reason = "";
|
||||
message.TimeZone = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<BookAppointmentRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -2943,6 +2957,9 @@ class BookAppointmentRequest$Type extends MessageType<BookAppointmentRequest> {
|
||||
case /* string Reason */ 16:
|
||||
message.Reason = reader.string();
|
||||
break;
|
||||
case /* string TimeZone */ 17:
|
||||
message.TimeZone = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -2991,6 +3008,9 @@ class BookAppointmentRequest$Type extends MessageType<BookAppointmentRequest> {
|
||||
/* string Reason = 16; */
|
||||
if (message.Reason !== "")
|
||||
writer.tag(16, WireType.LengthDelimited).string(message.Reason);
|
||||
/* string TimeZone = 17; */
|
||||
if (message.TimeZone !== "")
|
||||
writer.tag(17, WireType.LengthDelimited).string(message.TimeZone);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -3454,7 +3474,8 @@ class UpdateAppointmentRequest$Type extends MessageType<UpdateAppointmentRequest
|
||||
{ no: 4, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Commission, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the appointment by project", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "validate.rules": { repeated: { minItems: "1" } } } },
|
||||
{ no: 5, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 6, 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": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" }, "validate.rules": { repeated: { minItems: "1", items: { string: { email: true, ignoreEmpty: true } } } } } },
|
||||
{ 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 book appointment without order reference" } } }
|
||||
{ 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 book 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" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentID", "Slots", "Commissions", "ActorID", "Emails"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<UpdateAppointmentRequest>): UpdateAppointmentRequest {
|
||||
@@ -3465,6 +3486,7 @@ class UpdateAppointmentRequest$Type extends MessageType<UpdateAppointmentRequest
|
||||
message.ActorID = "";
|
||||
message.Emails = [];
|
||||
message.Reason = "";
|
||||
message.TimeZone = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<UpdateAppointmentRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -3495,6 +3517,9 @@ class UpdateAppointmentRequest$Type extends MessageType<UpdateAppointmentRequest
|
||||
case /* string Reason */ 7:
|
||||
message.Reason = reader.string();
|
||||
break;
|
||||
case /* string TimeZone */ 8:
|
||||
message.TimeZone = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -3528,6 +3553,9 @@ class UpdateAppointmentRequest$Type extends MessageType<UpdateAppointmentRequest
|
||||
/* string Reason = 7; */
|
||||
if (message.Reason !== "")
|
||||
writer.tag(7, WireType.LengthDelimited).string(message.Reason);
|
||||
/* string TimeZone = 8; */
|
||||
if (message.TimeZone !== "")
|
||||
writer.tag(8, WireType.LengthDelimited).string(message.TimeZone);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user