Latest generation

This commit is contained in:
ci core model
2026-03-05 13:00:18 +00:00
parent fa28bf1825
commit 29f6885200
5 changed files with 51 additions and 35 deletions

View File

@@ -68,6 +68,12 @@ export interface AppointmentPayload {
* @generated from protobuf field: repeated api.SegmentationSelection SegmentationSelections = 4
*/
SegmentationSelections: SegmentationSelection[];
/**
* Set of segmentation constraining the slot booking
*
* @generated from protobuf field: repeated api.MetadataElement SegmentationKeys = 29
*/
SegmentationKeys: MetadataElement[];
/**
* Carrier information metadata
*
@@ -271,6 +277,7 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
{ no: 1, name: "AppointmentType", kind: "enum", localName: "AppointmentType", jsonName: "AppointmentType", T: () => ["api.AppointmentType", AppointmentType], options: { "api.kpiItems": { Items: [{ Context: "Appointment", Group: "appointment", Queryable: true }] } } },
{ no: 2, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentCommission, options: { "validate.rules": { repeated: { maxItems: "0" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Deprecated field, to be removed. Use Loading and Unloading fields instead", readOnly: true } } },
{ no: 4, name: "SegmentationSelections", kind: "message", localName: "SegmentationSelections", jsonName: "SegmentationSelections", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationSelection },
{ no: 29, name: "SegmentationKeys", kind: "message", localName: "SegmentationKeys", jsonName: "SegmentationKeys", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Segmentation keys constraining the slot booking" }, "api.aggKey": "Key", "api.segmentationKeys": true, "api.parentEntity": "Appointment" } },
{ no: 19, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Carrier information metadata" }, "api.metadata": true, "api.aggKey": "Key", "api.parentEntity": "Appointment" } },
{ no: 6, name: "Slot", kind: "message", localName: "Slot", jsonName: "Slot", T: () => Slot },
{ no: 7, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { maxItems: "0", items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Deprecated field, to be removed. Use Attendees field instead", readOnly: true }, "api.aggSkip": "EmailsRemoved,EmailsAdded" } },
@@ -297,6 +304,7 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
message.AppointmentType = 0;
message.Commissions = [];
message.SegmentationSelections = [];
message.SegmentationKeys = [];
message.CarrierInformation = [];
message.Emails = [];
message.RemovedEmails = [];
@@ -329,6 +337,9 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
case /* repeated api.SegmentationSelection SegmentationSelections */ 4:
message.SegmentationSelections.push(SegmentationSelection.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* repeated api.MetadataElement SegmentationKeys */ 29:
message.SegmentationKeys.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* repeated api.MetadataElement CarrierInformation */ 19:
message.CarrierInformation.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
break;
@@ -464,6 +475,9 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
/* repeated string RemovedAttendees = 28; */
for (let i = 0; i < message.RemovedAttendees.length; i++)
writer.tag(28, WireType.LengthDelimited).string(message.RemovedAttendees[i]);
/* repeated api.MetadataElement SegmentationKeys = 29; */
for (let i = 0; i < message.SegmentationKeys.length; i++)
MetadataElement.internalBinaryWrite(message.SegmentationKeys[i], writer.tag(29, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -18,7 +18,6 @@ import { AttachmentSummary } from "./shared";
import { AppointmentStatusStruct } from "./collabShared";
import { Slot } from "./slotbooking";
import { MetadataElement } from "./shared";
import { SegmentationSelection } from "./slotbooking";
import { AppointmentType } from "./slotbooking";
// Action Summary
// - Notify : Push appointment to project present into the commissions
@@ -36,10 +35,11 @@ export interface AppointmentNotifyPayload {
AppointmentType: AppointmentType;
/**
* repeated AppointmentCommission Commissions = 2;
* repeated SegmentationSelection SegmentationSelections = 4;
*
* @generated from protobuf field: repeated api.SegmentationSelection SegmentationSelections = 4
* @generated from protobuf field: repeated api.MetadataElement SegmentationKeys = 25
*/
SegmentationSelections: SegmentationSelection[];
SegmentationKeys: MetadataElement[];
/**
* @generated from protobuf field: repeated api.MetadataElement CarrierInformation = 19
*/
@@ -141,10 +141,11 @@ export interface AppointmentMailPayload {
AppointmentType: AppointmentType;
/**
* repeated AppointmentCommission Commissions = 2;
* repeated SegmentationSelection SegmentationSelections = 4;
*
* @generated from protobuf field: repeated api.SegmentationSelection SegmentationSelections = 4
* @generated from protobuf field: repeated api.MetadataElement SegmentationKeys = 25
*/
SegmentationSelections: SegmentationSelection[];
SegmentationKeys: MetadataElement[];
/**
* @generated from protobuf field: repeated api.MetadataElement CarrierInformation = 19
*/
@@ -242,7 +243,7 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
constructor() {
super("api.AppointmentNotifyPayload", [
{ no: 1, name: "AppointmentType", kind: "enum", localName: "AppointmentType", jsonName: "AppointmentType", T: () => ["api.AppointmentType", AppointmentType] },
{ no: 4, name: "SegmentationSelections", kind: "message", localName: "SegmentationSelections", jsonName: "SegmentationSelections", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationSelection },
{ no: 25, name: "SegmentationKeys", kind: "message", localName: "SegmentationKeys", jsonName: "SegmentationKeys", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement },
{ no: 19, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement },
{ no: 6, name: "Slot", kind: "message", localName: "Slot", jsonName: "Slot", T: () => Slot },
{ no: 8, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => AppointmentStatusStruct },
@@ -262,7 +263,7 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
create(value?: PartialMessage<AppointmentNotifyPayload>): AppointmentNotifyPayload {
const message = globalThis.Object.create((this.messagePrototype!));
message.AppointmentType = 0;
message.SegmentationSelections = [];
message.SegmentationKeys = [];
message.CarrierInformation = [];
message.CreationDate = "";
message.MetaData = [];
@@ -285,8 +286,8 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
case /* api.AppointmentType AppointmentType */ 1:
message.AppointmentType = reader.int32();
break;
case /* repeated api.SegmentationSelection SegmentationSelections */ 4:
message.SegmentationSelections.push(SegmentationSelection.internalBinaryRead(reader, reader.uint32(), options));
case /* repeated api.MetadataElement SegmentationKeys */ 25:
message.SegmentationKeys.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* repeated api.MetadataElement CarrierInformation */ 19:
message.CarrierInformation.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
@@ -345,9 +346,6 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
/* api.AppointmentType AppointmentType = 1; */
if (message.AppointmentType !== 0)
writer.tag(1, WireType.Varint).int32(message.AppointmentType);
/* repeated api.SegmentationSelection SegmentationSelections = 4; */
for (let i = 0; i < message.SegmentationSelections.length; i++)
SegmentationSelection.internalBinaryWrite(message.SegmentationSelections[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* api.Slot Slot = 6; */
if (message.Slot)
Slot.internalBinaryWrite(message.Slot, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
@@ -390,6 +388,9 @@ class AppointmentNotifyPayload$Type extends MessageType<AppointmentNotifyPayload
/* repeated string RemovedAttendees = 24; */
for (let i = 0; i < message.RemovedAttendees.length; i++)
writer.tag(24, WireType.LengthDelimited).string(message.RemovedAttendees[i]);
/* 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();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -479,7 +480,7 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
constructor() {
super("api.AppointmentMailPayload", [
{ no: 1, name: "AppointmentType", kind: "enum", localName: "AppointmentType", jsonName: "AppointmentType", T: () => ["api.AppointmentType", AppointmentType] },
{ no: 4, name: "SegmentationSelections", kind: "message", localName: "SegmentationSelections", jsonName: "SegmentationSelections", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationSelection },
{ no: 25, name: "SegmentationKeys", kind: "message", localName: "SegmentationKeys", jsonName: "SegmentationKeys", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement },
{ no: 19, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement },
{ no: 6, name: "Slot", kind: "message", localName: "Slot", jsonName: "Slot", T: () => Slot },
{ no: 8, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => AppointmentStatusStruct },
@@ -499,7 +500,7 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
create(value?: PartialMessage<AppointmentMailPayload>): AppointmentMailPayload {
const message = globalThis.Object.create((this.messagePrototype!));
message.AppointmentType = 0;
message.SegmentationSelections = [];
message.SegmentationKeys = [];
message.CarrierInformation = [];
message.CreationDate = "";
message.MetaData = [];
@@ -521,8 +522,8 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
case /* api.AppointmentType AppointmentType */ 1:
message.AppointmentType = reader.int32();
break;
case /* repeated api.SegmentationSelection SegmentationSelections */ 4:
message.SegmentationSelections.push(SegmentationSelection.internalBinaryRead(reader, reader.uint32(), options));
case /* repeated api.MetadataElement SegmentationKeys */ 25:
message.SegmentationKeys.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* repeated api.MetadataElement CarrierInformation */ 19:
message.CarrierInformation.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
@@ -581,9 +582,6 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
/* api.AppointmentType AppointmentType = 1; */
if (message.AppointmentType !== 0)
writer.tag(1, WireType.Varint).int32(message.AppointmentType);
/* repeated api.SegmentationSelection SegmentationSelections = 4; */
for (let i = 0; i < message.SegmentationSelections.length; i++)
SegmentationSelection.internalBinaryWrite(message.SegmentationSelections[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* api.Slot Slot = 6; */
if (message.Slot)
Slot.internalBinaryWrite(message.Slot, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
@@ -626,6 +624,9 @@ class AppointmentMailPayload$Type extends MessageType<AppointmentMailPayload> {
/* repeated string RemovedAttendees = 24; */
for (let i = 0; i < message.RemovedAttendees.length; i++)
writer.tag(24, WireType.LengthDelimited).string(message.RemovedAttendees[i]);
/* 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();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -20,7 +20,6 @@ import { AppointmentContent } from "./slotbooking";
import { Address } from "./repositoryShared";
import { Slot } from "./slotbooking";
import { MetadataElement } from "./shared";
import { SegmentationSelection } from "./slotbooking";
import { AppointmentType } from "./slotbooking";
//
// Created : this message tells that appointment is created
@@ -44,12 +43,13 @@ export interface AppointmentCreatedPayload {
// (validate.rules).repeated.min_items = 1
// ];
// Set of segmentation constraining the slot booking
// repeated SegmentationSelection SegmentationSelections = 4;
/**
* Set of segmentation constraining the slot booking
*
* @generated from protobuf field: repeated api.SegmentationSelection SegmentationSelections = 4
* @generated from protobuf field: repeated api.MetadataElement SegmentationKeys = 28
*/
SegmentationSelections: SegmentationSelection[];
SegmentationKeys: MetadataElement[];
// // Required carrierInformation, some can be obligatory
// repeated CarrierInformationWithValue CarrierInformation = 5;
@@ -1762,7 +1762,7 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
constructor() {
super("api.AppointmentCreatedPayload", [
{ no: 1, name: "AppointmentType", kind: "enum", localName: "AppointmentType", jsonName: "AppointmentType", T: () => ["api.AppointmentType", AppointmentType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 4, name: "SegmentationSelections", kind: "message", localName: "SegmentationSelections", jsonName: "SegmentationSelections", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationSelection },
{ no: 28, name: "SegmentationKeys", kind: "message", localName: "SegmentationKeys", jsonName: "SegmentationKeys", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Segmentation keys" }, "api.metadata": true, "api.aggKey": "Key" } },
{ no: 15, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Carrier information metadata" }, "api.metadata": true, "api.aggKey": "Key" } },
{ no: 6, name: "Slot", kind: "message", localName: "Slot", jsonName: "Slot", T: () => Slot },
{ no: 8, 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" } },
@@ -1780,7 +1780,7 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
create(value?: PartialMessage<AppointmentCreatedPayload>): AppointmentCreatedPayload {
const message = globalThis.Object.create((this.messagePrototype!));
message.AppointmentType = 0;
message.SegmentationSelections = [];
message.SegmentationKeys = [];
message.CarrierInformation = [];
message.MetaData = [];
message.Reason = "";
@@ -1801,8 +1801,8 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
case /* api.AppointmentType AppointmentType */ 1:
message.AppointmentType = reader.int32();
break;
case /* repeated api.SegmentationSelection SegmentationSelections */ 4:
message.SegmentationSelections.push(SegmentationSelection.internalBinaryRead(reader, reader.uint32(), options));
case /* repeated api.MetadataElement SegmentationKeys */ 28:
message.SegmentationKeys.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* repeated api.MetadataElement CarrierInformation */ 15:
message.CarrierInformation.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
@@ -1855,9 +1855,6 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
/* api.AppointmentType AppointmentType = 1; */
if (message.AppointmentType !== 0)
writer.tag(1, WireType.Varint).int32(message.AppointmentType);
/* repeated api.SegmentationSelection SegmentationSelections = 4; */
for (let i = 0; i < message.SegmentationSelections.length; i++)
SegmentationSelection.internalBinaryWrite(message.SegmentationSelections[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* api.Slot Slot = 6; */
if (message.Slot)
Slot.internalBinaryWrite(message.Slot, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
@@ -1894,6 +1891,9 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
/* repeated string Attendees = 27; */
for (let i = 0; i < message.Attendees.length; i++)
writer.tag(27, WireType.LengthDelimited).string(message.Attendees[i]);
/* repeated api.MetadataElement SegmentationKeys = 28; */
for (let i = 0; i < message.SegmentationKeys.length; i++)
MetadataElement.internalBinaryWrite(message.SegmentationKeys[i], writer.tag(28, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);

View File

@@ -1,6 +1,6 @@
{
"name": "@reflex-platform/npm-core-sdk",
"version": "1.13.0-SNAPSHOT-260305091359",
"version": "1.13.0-SNAPSHOT-260305125928",
"description": "npm libs from core model proto files",
"homepage": "",
"main": "index.ts",

View File

@@ -304,7 +304,8 @@ export interface UpdateSettingsRequest {
/**
* List of Segmentations that segment the logistic site.
*
* @generated from protobuf field: repeated api.Segmentation Segmentations = 9
* @deprecated
* @generated from protobuf field: repeated api.Segmentation Segmentations = 9 [deprecated = true]
*/
Segmentations: Segmentation[];
/**
@@ -2005,7 +2006,7 @@ class UpdateSettingsRequest$Type extends MessageType<UpdateSettingsRequest> {
case /* string Fax */ 8:
message.Fax = reader.string();
break;
case /* repeated api.Segmentation Segmentations */ 9:
case /* repeated api.Segmentation Segmentations = 9 [deprecated = true] */ 9:
message.Segmentations.push(Segmentation.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* repeated api.ProjectAuthorisation Authorisations */ 10:
@@ -2071,7 +2072,7 @@ class UpdateSettingsRequest$Type extends MessageType<UpdateSettingsRequest> {
/* string Fax = 8; */
if (message.Fax !== "")
writer.tag(8, WireType.LengthDelimited).string(message.Fax);
/* repeated api.Segmentation Segmentations = 9; */
/* repeated api.Segmentation Segmentations = 9 [deprecated = true]; */
for (let i = 0; i < message.Segmentations.length; i++)
Segmentation.internalBinaryWrite(message.Segmentations[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join();
/* repeated api.ProjectAuthorisation Authorisations = 10; */