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
|
* @generated from protobuf field: repeated string RemovedAttendees = 28
|
||||||
*/
|
*/
|
||||||
RemovedAttendees: string[];
|
RemovedAttendees: string[];
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: bool WMSCreated = 31
|
||||||
|
*/
|
||||||
|
WMSCreated: boolean;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.AppointmentTriplet
|
* @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: 25, name: "Loading", kind: "message", localName: "Loading", jsonName: "Loading", T: () => AppointmentContent },
|
||||||
{ no: 26, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", 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: 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"] } } });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["AppointmentType", "Segmentations"] } } });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<AppointmentPayload>): AppointmentPayload {
|
create(value?: PartialMessage<AppointmentPayload>): AppointmentPayload {
|
||||||
@@ -326,6 +331,7 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
|||||||
message.TimeZone = "";
|
message.TimeZone = "";
|
||||||
message.Attendees = [];
|
message.Attendees = [];
|
||||||
message.RemovedAttendees = [];
|
message.RemovedAttendees = [];
|
||||||
|
message.WMSCreated = false;
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<AppointmentPayload>(this, message, value);
|
reflectionMergePartial<AppointmentPayload>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -407,6 +413,9 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
|||||||
case /* repeated string RemovedAttendees */ 28:
|
case /* repeated string RemovedAttendees */ 28:
|
||||||
message.RemovedAttendees.push(reader.string());
|
message.RemovedAttendees.push(reader.string());
|
||||||
break;
|
break;
|
||||||
|
case /* bool WMSCreated */ 31:
|
||||||
|
message.WMSCreated = reader.bool();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -491,6 +500,9 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
|||||||
/* api.DateTime CreationDateTime = 30; */
|
/* api.DateTime CreationDateTime = 30; */
|
||||||
if (message.CreationDateTime)
|
if (message.CreationDateTime)
|
||||||
DateTime.internalBinaryWrite(message.CreationDateTime, writer.tag(30, WireType.LengthDelimited).fork(), options).join();
|
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;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
@@ -102,6 +102,10 @@ export interface AppointmentNotifyPayload {
|
|||||||
* @generated from protobuf field: repeated string RemovedAttendees = 24
|
* @generated from protobuf field: repeated string RemovedAttendees = 24
|
||||||
*/
|
*/
|
||||||
RemovedAttendees: string[];
|
RemovedAttendees: string[];
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: bool WMSCreated = 26
|
||||||
|
*/
|
||||||
|
WMSCreated: boolean;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.AppointmentNotify
|
* @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: 21, name: "Loading", kind: "message", localName: "Loading", jsonName: "Loading", T: () => AppointmentContent },
|
||||||
{ no: 22, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", 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: 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" });
|
], { "api.messageType": "Command", "api.payload": true, "api.action": "Notify" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<AppointmentNotifyPayload>): AppointmentNotifyPayload {
|
create(value?: PartialMessage<AppointmentNotifyPayload>): AppointmentNotifyPayload {
|
||||||
@@ -311,6 +316,7 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
|||||||
message.TimeZone = "";
|
message.TimeZone = "";
|
||||||
message.Attendees = [];
|
message.Attendees = [];
|
||||||
message.RemovedAttendees = [];
|
message.RemovedAttendees = [];
|
||||||
|
message.WMSCreated = false;
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<AppointmentNotifyPayload>(this, message, value);
|
reflectionMergePartial<AppointmentNotifyPayload>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -368,6 +374,9 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
|||||||
case /* repeated string RemovedAttendees */ 24:
|
case /* repeated string RemovedAttendees */ 24:
|
||||||
message.RemovedAttendees.push(reader.string());
|
message.RemovedAttendees.push(reader.string());
|
||||||
break;
|
break;
|
||||||
|
case /* bool WMSCreated */ 26:
|
||||||
|
message.WMSCreated = reader.bool();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -428,6 +437,9 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
|
|||||||
/* repeated api.MetadataElement SegmentationKeys = 25; */
|
/* repeated api.MetadataElement SegmentationKeys = 25; */
|
||||||
for (let i = 0; i < message.SegmentationKeys.length; i++)
|
for (let i = 0; i < message.SegmentationKeys.length; i++)
|
||||||
MetadataElement.internalBinaryWrite(message.SegmentationKeys[i], writer.tag(25, WireType.LengthDelimited).fork(), options).join();
|
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;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(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",
|
"TechMessage": "Actor {ressource} unknown or not well defined",
|
||||||
"UserMessage": "Actor {ressource} unknown or not well defined"
|
"UserMessage": "Actor {ressource} unknown or not well defined"
|
||||||
},
|
},
|
||||||
@@ -19,6 +19,10 @@
|
|||||||
"TechMessage": "Ressource {ressource} invalid: {reason}",
|
"TechMessage": "Ressource {ressource} invalid: {reason}",
|
||||||
"UserMessage": "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": {
|
"APPOINTMENT_NOT_ALLOWED": {
|
||||||
"TechMessage": "Action on appointment {ressource} not allowed: {reason}",
|
"TechMessage": "Action on appointment {ressource} not allowed: {reason}",
|
||||||
"UserMessage": "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": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
},
|
},
|
||||||
@@ -19,6 +19,10 @@
|
|||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
},
|
},
|
||||||
|
"APPOINTMENT_INVALID_UPDATE_STATUS": {
|
||||||
|
"TechMessage": "",
|
||||||
|
"UserMessage": ""
|
||||||
|
},
|
||||||
"APPOINTMENT_NOT_ALLOWED": {
|
"APPOINTMENT_NOT_ALLOWED": {
|
||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"ACTOR_UNKNOWN": {
|
"APPOINTMENT_ACTOR_UNKNOWN": {
|
||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
},
|
},
|
||||||
@@ -19,6 +19,10 @@
|
|||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
},
|
},
|
||||||
|
"APPOINTMENT_INVALID_UPDATE_STATUS": {
|
||||||
|
"TechMessage": "",
|
||||||
|
"UserMessage": ""
|
||||||
|
},
|
||||||
"APPOINTMENT_NOT_ALLOWED": {
|
"APPOINTMENT_NOT_ALLOWED": {
|
||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"ACTOR_UNKNOWN": {
|
"APPOINTMENT_ACTOR_UNKNOWN": {
|
||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
},
|
},
|
||||||
@@ -19,6 +19,10 @@
|
|||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
},
|
},
|
||||||
|
"APPOINTMENT_INVALID_UPDATE_STATUS": {
|
||||||
|
"TechMessage": "",
|
||||||
|
"UserMessage": ""
|
||||||
|
},
|
||||||
"APPOINTMENT_NOT_ALLOWED": {
|
"APPOINTMENT_NOT_ALLOWED": {
|
||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"ACTOR_UNKNOWN": {
|
"APPOINTMENT_ACTOR_UNKNOWN": {
|
||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
},
|
},
|
||||||
@@ -19,6 +19,10 @@
|
|||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
},
|
},
|
||||||
|
"APPOINTMENT_INVALID_UPDATE_STATUS": {
|
||||||
|
"TechMessage": "",
|
||||||
|
"UserMessage": ""
|
||||||
|
},
|
||||||
"APPOINTMENT_NOT_ALLOWED": {
|
"APPOINTMENT_NOT_ALLOWED": {
|
||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"ACTOR_UNKNOWN": {
|
"APPOINTMENT_ACTOR_UNKNOWN": {
|
||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
},
|
},
|
||||||
@@ -19,6 +19,10 @@
|
|||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
},
|
},
|
||||||
|
"APPOINTMENT_INVALID_UPDATE_STATUS": {
|
||||||
|
"TechMessage": "",
|
||||||
|
"UserMessage": ""
|
||||||
|
},
|
||||||
"APPOINTMENT_NOT_ALLOWED": {
|
"APPOINTMENT_NOT_ALLOWED": {
|
||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"ACTOR_UNKNOWN": {
|
"APPOINTMENT_ACTOR_UNKNOWN": {
|
||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
},
|
},
|
||||||
@@ -19,6 +19,10 @@
|
|||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
},
|
},
|
||||||
|
"APPOINTMENT_INVALID_UPDATE_STATUS": {
|
||||||
|
"TechMessage": "",
|
||||||
|
"UserMessage": ""
|
||||||
|
},
|
||||||
"APPOINTMENT_NOT_ALLOWED": {
|
"APPOINTMENT_NOT_ALLOWED": {
|
||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"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",
|
"description": "npm libs from core model proto files",
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user