Latest generation

This commit is contained in:
ci core model
2026-03-26 10:57:05 +00:00
parent 36b8c7f82d
commit 2125c7f9ac
3 changed files with 57 additions and 5 deletions

View File

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

30
site.ts
View File

@@ -19,10 +19,10 @@ import { SegmentationFilter } from "./slotbooking";
import { PrjMetadata } from "./metadatadef"; import { PrjMetadata } from "./metadatadef";
import { CustomField } from "./shared"; import { CustomField } from "./shared";
import { Slot } from "./slotbooking"; import { Slot } from "./slotbooking";
import { MetadataElement } from "./shared";
import { ResponseHeader } from "./shared"; import { ResponseHeader } from "./shared";
import { SlotGroupAndReason } from "./slotbooking"; import { SlotGroupAndReason } from "./slotbooking";
import { SlotGroup } from "./slotbooking"; import { SlotGroup } from "./slotbooking";
import { MetadataElement } from "./shared";
import { SegmentationSelection } from "./slotbooking"; import { SegmentationSelection } from "./slotbooking";
import { Commission } from "./slotbooking"; import { Commission } from "./slotbooking";
import { AppointmentType } from "./slotbooking"; import { AppointmentType } from "./slotbooking";
@@ -531,6 +531,16 @@ export interface GetAvailableSlotsRequest {
* @generated from protobuf field: string ActorID = 8 * @generated from protobuf field: string ActorID = 8
*/ */
ActorID: string; // actor with which the siteID/project-depositID will be processed ActorID: string; // actor with which the siteID/project-depositID will be processed
/**
* Carrier information metadata
*
* @generated from protobuf field: repeated api.MetadataElement CarrierInformation = 9
*/
CarrierInformation: MetadataElement[];
/**
* @generated from protobuf field: repeated api.MetadataElement MetaData = 10
*/
MetaData: MetadataElement[];
} }
/** /**
* @generated from protobuf message api.GetAvailableSlotsResponse * @generated from protobuf message api.GetAvailableSlotsResponse
@@ -2649,7 +2659,9 @@ class GetAvailableSlotsRequest$Type extends MessageType<GetAvailableSlotsRequest
{ no: 5, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } } }, { no: 5, name: "StartDate", kind: "scalar", localName: "StartDate", jsonName: "StartDate", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } } },
{ no: 6, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } } }, { no: 6, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } } },
{ no: 7, name: "SkippedAppointmentIDs", kind: "scalar", localName: "SkippedAppointmentIDs", jsonName: "SkippedAppointmentIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, { no: 7, name: "SkippedAppointmentIDs", kind: "scalar", localName: "SkippedAppointmentIDs", jsonName: "SkippedAppointmentIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 8, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ } { no: 8, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
{ no: 9, 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: 10, 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" } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "SegmentationSelection", "ActorID"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "SegmentationSelection", "ActorID"] } } });
} }
create(value?: PartialMessage<GetAvailableSlotsRequest>): GetAvailableSlotsRequest { create(value?: PartialMessage<GetAvailableSlotsRequest>): GetAvailableSlotsRequest {
@@ -2661,6 +2673,8 @@ class GetAvailableSlotsRequest$Type extends MessageType<GetAvailableSlotsRequest
message.EndDate = ""; message.EndDate = "";
message.SkippedAppointmentIDs = []; message.SkippedAppointmentIDs = [];
message.ActorID = ""; message.ActorID = "";
message.CarrierInformation = [];
message.MetaData = [];
if (value !== undefined) if (value !== undefined)
reflectionMergePartial<GetAvailableSlotsRequest>(this, message, value); reflectionMergePartial<GetAvailableSlotsRequest>(this, message, value);
return message; return message;
@@ -2694,6 +2708,12 @@ class GetAvailableSlotsRequest$Type extends MessageType<GetAvailableSlotsRequest
case /* string ActorID */ 8: case /* string ActorID */ 8:
message.ActorID = reader.string(); message.ActorID = reader.string();
break; break;
case /* repeated api.MetadataElement CarrierInformation */ 9:
message.CarrierInformation.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* repeated api.MetadataElement MetaData */ 10:
message.MetaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
break;
default: default:
let u = options.readUnknownField; let u = options.readUnknownField;
if (u === "throw") if (u === "throw")
@@ -2730,6 +2750,12 @@ class GetAvailableSlotsRequest$Type extends MessageType<GetAvailableSlotsRequest
/* string ActorID = 8; */ /* string ActorID = 8; */
if (message.ActorID !== "") if (message.ActorID !== "")
writer.tag(8, WireType.LengthDelimited).string(message.ActorID); writer.tag(8, WireType.LengthDelimited).string(message.ActorID);
/* repeated api.MetadataElement CarrierInformation = 9; */
for (let i = 0; i < message.CarrierInformation.length; i++)
MetadataElement.internalBinaryWrite(message.CarrierInformation[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join();
/* repeated api.MetadataElement MetaData = 10; */
for (let i = 0; i < message.MetaData.length; i++)
MetadataElement.internalBinaryWrite(message.MetaData[i], writer.tag(10, WireType.LengthDelimited).fork(), options).join();
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);

View File

@@ -13,9 +13,9 @@ import { reflectionMergePartial } from "@protobuf-ts/runtime";
import { MessageType } from "@protobuf-ts/runtime"; import { MessageType } from "@protobuf-ts/runtime";
import { ResponseHeader } from "./shared"; import { ResponseHeader } from "./shared";
import { Slot } from "./slotbooking"; import { Slot } from "./slotbooking";
import { MetadataElement } from "./shared";
import { EntityID } from "./shared"; import { EntityID } from "./shared";
import { BookableSlot } from "./slotbooking"; import { BookableSlot } from "./slotbooking";
import { MetadataElement } from "./shared";
import { AppointmentContent } from "./slotbooking"; import { AppointmentContent } from "./slotbooking";
import { SegmentationSelection } from "./slotbooking"; import { SegmentationSelection } from "./slotbooking";
import { AppointmentType } from "./slotbooking"; import { AppointmentType } from "./slotbooking";
@@ -70,6 +70,16 @@ export interface GetBookingSlotsRequest {
* @generated from protobuf field: api.AppointmentContent Unloading = 11 * @generated from protobuf field: api.AppointmentContent Unloading = 11
*/ */
Unloading?: AppointmentContent; Unloading?: AppointmentContent;
/**
* Carrier information metadata
*
* @generated from protobuf field: repeated api.MetadataElement CarrierInformation = 12
*/
CarrierInformation: MetadataElement[];
/**
* @generated from protobuf field: repeated api.MetadataElement MetaData = 13
*/
MetaData: MetadataElement[];
} }
/** /**
* @generated from protobuf message api.GetBookingSlotsResponse * @generated from protobuf message api.GetBookingSlotsResponse
@@ -445,7 +455,9 @@ class GetBookingSlotsRequest$Type extends MessageType<GetBookingSlotsRequest> {
{ no: 6, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } } }, { no: 6, name: "EndDate", kind: "scalar", localName: "EndDate", jsonName: "EndDate", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$" } } } },
{ no: 7, name: "SkippedAppointmentIDs", kind: "scalar", localName: "SkippedAppointmentIDs", jsonName: "SkippedAppointmentIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }, { no: 7, name: "SkippedAppointmentIDs", kind: "scalar", localName: "SkippedAppointmentIDs", jsonName: "SkippedAppointmentIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 10, name: "Loading", kind: "message", localName: "Loading", jsonName: "Loading", T: () => AppointmentContent }, { no: 10, name: "Loading", kind: "message", localName: "Loading", jsonName: "Loading", T: () => AppointmentContent },
{ no: 11, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", T: () => AppointmentContent } { no: 11, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", T: () => AppointmentContent },
{ no: 12, 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: 13, 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" } }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType", "SegmentationSelections"] } } }); ], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType", "SegmentationSelections"] } } });
} }
create(value?: PartialMessage<GetBookingSlotsRequest>): GetBookingSlotsRequest { create(value?: PartialMessage<GetBookingSlotsRequest>): GetBookingSlotsRequest {
@@ -455,6 +467,8 @@ class GetBookingSlotsRequest$Type extends MessageType<GetBookingSlotsRequest> {
message.StartDate = ""; message.StartDate = "";
message.EndDate = ""; message.EndDate = "";
message.SkippedAppointmentIDs = []; message.SkippedAppointmentIDs = [];
message.CarrierInformation = [];
message.MetaData = [];
if (value !== undefined) if (value !== undefined)
reflectionMergePartial<GetBookingSlotsRequest>(this, message, value); reflectionMergePartial<GetBookingSlotsRequest>(this, message, value);
return message; return message;
@@ -488,6 +502,12 @@ class GetBookingSlotsRequest$Type extends MessageType<GetBookingSlotsRequest> {
case /* api.AppointmentContent Unloading */ 11: case /* api.AppointmentContent Unloading */ 11:
message.Unloading = AppointmentContent.internalBinaryRead(reader, reader.uint32(), options, message.Unloading); message.Unloading = AppointmentContent.internalBinaryRead(reader, reader.uint32(), options, message.Unloading);
break; break;
case /* repeated api.MetadataElement CarrierInformation */ 12:
message.CarrierInformation.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* repeated api.MetadataElement MetaData */ 13:
message.MetaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
break;
default: default:
let u = options.readUnknownField; let u = options.readUnknownField;
if (u === "throw") if (u === "throw")
@@ -524,6 +544,12 @@ class GetBookingSlotsRequest$Type extends MessageType<GetBookingSlotsRequest> {
/* api.AppointmentContent Unloading = 11; */ /* api.AppointmentContent Unloading = 11; */
if (message.Unloading) if (message.Unloading)
AppointmentContent.internalBinaryWrite(message.Unloading, writer.tag(11, WireType.LengthDelimited).fork(), options).join(); AppointmentContent.internalBinaryWrite(message.Unloading, writer.tag(11, WireType.LengthDelimited).fork(), options).join();
/* repeated api.MetadataElement CarrierInformation = 12; */
for (let i = 0; i < message.CarrierInformation.length; i++)
MetadataElement.internalBinaryWrite(message.CarrierInformation[i], writer.tag(12, WireType.LengthDelimited).fork(), options).join();
/* repeated api.MetadataElement MetaData = 13; */
for (let i = 0; i < message.MetaData.length; i++)
MetadataElement.internalBinaryWrite(message.MetaData[i], writer.tag(13, WireType.LengthDelimited).fork(), options).join();
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);