You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -198,6 +198,10 @@ export interface AppointmentPayload {
|
||||
* @generated from protobuf field: repeated string RemovedAttendees = 28
|
||||
*/
|
||||
RemovedAttendees: string[];
|
||||
/**
|
||||
* @generated from protobuf field: bool WMSCreated = 31
|
||||
*/
|
||||
WMSCreated: boolean;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.AppointmentTriplet
|
||||
@@ -303,7 +307,8 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
||||
{ no: 25, name: "Loading", kind: "message", localName: "Loading", jsonName: "Loading", T: () => AppointmentContent },
|
||||
{ no: 26, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", T: () => AppointmentContent },
|
||||
{ no: 27, name: "Attendees", kind: "scalar", localName: "Attendees", jsonName: "Attendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { minItems: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Attendees of the appointment" }, "api.aggSkip": "AttendeesAdded", "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } },
|
||||
{ no: 28, name: "RemovedAttendees", kind: "scalar", localName: "RemovedAttendees", jsonName: "RemovedAttendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggSkip": "AttendeesRemoved", "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } }
|
||||
{ no: 28, name: "RemovedAttendees", kind: "scalar", localName: "RemovedAttendees", jsonName: "RemovedAttendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.aggSkip": "AttendeesRemoved", "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } },
|
||||
{ no: 31, name: "WMSCreated", kind: "scalar", localName: "WMSCreated", jsonName: "WMSCreated", T: 8 /*ScalarType.BOOL*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["AppointmentType", "Segmentations"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentPayload>): AppointmentPayload {
|
||||
@@ -326,6 +331,7 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
||||
message.TimeZone = "";
|
||||
message.Attendees = [];
|
||||
message.RemovedAttendees = [];
|
||||
message.WMSCreated = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -407,6 +413,9 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
||||
case /* repeated string RemovedAttendees */ 28:
|
||||
message.RemovedAttendees.push(reader.string());
|
||||
break;
|
||||
case /* bool WMSCreated */ 31:
|
||||
message.WMSCreated = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -491,6 +500,9 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
||||
/* api.DateTime CreationDateTime = 30; */
|
||||
if (message.CreationDateTime)
|
||||
DateTime.internalBinaryWrite(message.CreationDateTime, writer.tag(30, WireType.LengthDelimited).fork(), options).join();
|
||||
/* bool WMSCreated = 31; */
|
||||
if (message.WMSCreated !== false)
|
||||
writer.tag(31, WireType.Varint).bool(message.WMSCreated);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -102,6 +102,10 @@ export interface AppointmentNotifyPayload {
|
||||
* @generated from protobuf field: repeated string RemovedAttendees = 24
|
||||
*/
|
||||
RemovedAttendees: string[];
|
||||
/**
|
||||
* @generated from protobuf field: bool WMSCreated = 26
|
||||
*/
|
||||
WMSCreated: boolean;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.AppointmentNotify
|
||||
@@ -294,7 +298,8 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
{ no: 21, name: "Loading", kind: "message", localName: "Loading", jsonName: "Loading", T: () => AppointmentContent },
|
||||
{ no: 22, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", T: () => AppointmentContent },
|
||||
{ no: 23, name: "Attendees", kind: "scalar", localName: "Attendees", jsonName: "Attendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 24, name: "RemovedAttendees", kind: "scalar", localName: "RemovedAttendees", jsonName: "RemovedAttendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 24, name: "RemovedAttendees", kind: "scalar", localName: "RemovedAttendees", jsonName: "RemovedAttendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 26, name: "WMSCreated", kind: "scalar", localName: "WMSCreated", jsonName: "WMSCreated", T: 8 /*ScalarType.BOOL*/ }
|
||||
], { "api.messageType": "Command", "api.payload": true, "api.action": "Notify" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentNotifyPayload>): AppointmentNotifyPayload {
|
||||
@@ -311,6 +316,7 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
message.TimeZone = "";
|
||||
message.Attendees = [];
|
||||
message.RemovedAttendees = [];
|
||||
message.WMSCreated = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentNotifyPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -368,6 +374,9 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
case /* repeated string RemovedAttendees */ 24:
|
||||
message.RemovedAttendees.push(reader.string());
|
||||
break;
|
||||
case /* bool WMSCreated */ 26:
|
||||
message.WMSCreated = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -428,6 +437,9 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
||||
/* repeated api.MetadataElement SegmentationKeys = 25; */
|
||||
for (let i = 0; i < message.SegmentationKeys.length; i++)
|
||||
MetadataElement.internalBinaryWrite(message.SegmentationKeys[i], writer.tag(25, WireType.LengthDelimited).fork(), options).join();
|
||||
/* bool WMSCreated = 26; */
|
||||
if (message.WMSCreated !== false)
|
||||
writer.tag(26, WireType.Varint).bool(message.WMSCreated);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"ACTOR_UNKNOWN": {
|
||||
"APPOINTMENT_ACTOR_UNKNOWN": {
|
||||
"TechMessage": "Actor {ressource} unknown or not well defined",
|
||||
"UserMessage": "Actor {ressource} unknown or not well defined"
|
||||
},
|
||||
@@ -19,6 +19,10 @@
|
||||
"TechMessage": "Ressource {ressource} invalid: {reason}",
|
||||
"UserMessage": "Ressource {ressource} invalid: {reason}"
|
||||
},
|
||||
"APPOINTMENT_INVALID_UPDATE_STATUS": {
|
||||
"TechMessage": "The status {status} is not a valid status to update this appointment {id} to",
|
||||
"UserMessage": "The status {status} is not a valid status to update this appointment {id} to"
|
||||
},
|
||||
"APPOINTMENT_NOT_ALLOWED": {
|
||||
"TechMessage": "Action on appointment {ressource} not allowed: {reason}",
|
||||
"UserMessage": "Action on appointment {ressource} not allowed: {reason}"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"ACTOR_UNKNOWN": {
|
||||
"APPOINTMENT_ACTOR_UNKNOWN": {
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
},
|
||||
@@ -19,6 +19,10 @@
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
},
|
||||
"APPOINTMENT_INVALID_UPDATE_STATUS": {
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
},
|
||||
"APPOINTMENT_NOT_ALLOWED": {
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"ACTOR_UNKNOWN": {
|
||||
"APPOINTMENT_ACTOR_UNKNOWN": {
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
},
|
||||
@@ -19,6 +19,10 @@
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
},
|
||||
"APPOINTMENT_INVALID_UPDATE_STATUS": {
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
},
|
||||
"APPOINTMENT_NOT_ALLOWED": {
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"ACTOR_UNKNOWN": {
|
||||
"APPOINTMENT_ACTOR_UNKNOWN": {
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
},
|
||||
@@ -19,6 +19,10 @@
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
},
|
||||
"APPOINTMENT_INVALID_UPDATE_STATUS": {
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
},
|
||||
"APPOINTMENT_NOT_ALLOWED": {
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"ACTOR_UNKNOWN": {
|
||||
"APPOINTMENT_ACTOR_UNKNOWN": {
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
},
|
||||
@@ -19,6 +19,10 @@
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
},
|
||||
"APPOINTMENT_INVALID_UPDATE_STATUS": {
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
},
|
||||
"APPOINTMENT_NOT_ALLOWED": {
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"ACTOR_UNKNOWN": {
|
||||
"APPOINTMENT_ACTOR_UNKNOWN": {
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
},
|
||||
@@ -19,6 +19,10 @@
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
},
|
||||
"APPOINTMENT_INVALID_UPDATE_STATUS": {
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
},
|
||||
"APPOINTMENT_NOT_ALLOWED": {
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"ACTOR_UNKNOWN": {
|
||||
"APPOINTMENT_ACTOR_UNKNOWN": {
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
},
|
||||
@@ -19,6 +19,10 @@
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
},
|
||||
"APPOINTMENT_INVALID_UPDATE_STATUS": {
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
},
|
||||
"APPOINTMENT_NOT_ALLOWED": {
|
||||
"TechMessage": "",
|
||||
"UserMessage": ""
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.13.0-SNAPSHOT-260325092017",
|
||||
"version": "1.13.0-SNAPSHOT-260326095426",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
Reference in New Issue
Block a user