Latest generation

This commit is contained in:
ci core model
2025-09-22 09:42:45 +00:00
parent cc9d606829
commit 14c772d9d0
2 changed files with 16 additions and 2 deletions

View File

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

16
site.ts
View File

@@ -578,6 +578,12 @@ export interface GetAvailableSlotsRequest {
* @generated from protobuf field: string EndDate = 6
*/
EndDate: string; // End date of the range to look for available slots, format yyyy-mm-dd.
/**
* Optional, needed to skip counting those appointments in the capacity rules
*
* @generated from protobuf field: repeated string SkippedAppointmentIDs = 7
*/
SkippedAppointmentIDs: string[];
}
/**
* @generated from protobuf message api.GetAvailableSlotsResponse
@@ -2619,7 +2625,8 @@ class GetAvailableSlotsRequest$Type extends MessageType<GetAvailableSlotsRequest
{ no: 3, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Commission },
{ no: 4, name: "SegmentationSelections", kind: "message", localName: "SegmentationSelections", jsonName: "SegmentationSelections", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationSelection },
{ 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*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<GetAvailableSlotsRequest>): GetAvailableSlotsRequest {
@@ -2629,6 +2636,7 @@ class GetAvailableSlotsRequest$Type extends MessageType<GetAvailableSlotsRequest
message.SegmentationSelections = [];
message.StartDate = "";
message.EndDate = "";
message.SkippedAppointmentIDs = [];
if (value !== undefined)
reflectionMergePartial<GetAvailableSlotsRequest>(this, message, value);
return message;
@@ -2656,6 +2664,9 @@ class GetAvailableSlotsRequest$Type extends MessageType<GetAvailableSlotsRequest
case /* string EndDate */ 6:
message.EndDate = reader.string();
break;
case /* repeated string SkippedAppointmentIDs */ 7:
message.SkippedAppointmentIDs.push(reader.string());
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -2686,6 +2697,9 @@ class GetAvailableSlotsRequest$Type extends MessageType<GetAvailableSlotsRequest
/* string EndDate = 6; */
if (message.EndDate !== "")
writer.tag(6, WireType.LengthDelimited).string(message.EndDate);
/* repeated string SkippedAppointmentIDs = 7; */
for (let i = 0; i < message.SkippedAppointmentIDs.length; i++)
writer.tag(7, WireType.LengthDelimited).string(message.SkippedAppointmentIDs[i]);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);