Latest generation

This commit is contained in:
ci core model
2025-08-05 14:35:13 +00:00
parent 2bff3fcba2
commit fbaec9376a
2 changed files with 36 additions and 6 deletions

View File

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

40
site.ts
View File

@@ -960,11 +960,17 @@ export interface UpdateSlotAppointmentRequest {
*/
AppointmentID: string;
/**
* The slot to book for the appointment
* The slots to book for the appointment
*
* @generated from protobuf field: repeated api.Slot Slots = 3
*/
Slots: Slot[];
/**
* time zone, useful only if a WMS use this API
*
* @generated from protobuf field: string TimeZone = 4
*/
TimeZone: string;
}
/**
* @generated from protobuf message api.UpdateSlotAppointmentResponse
@@ -988,15 +994,23 @@ export interface UpdateCommissionsAppointmentRequest {
*/
AppointmentID: string;
/**
* The slot to book for the appointment
* The slots to book for the appointment
*
* @generated from protobuf field: repeated api.Slot Slots = 3
*/
Slots: Slot[];
/**
* The modified Commissions for the appointment
*
* @generated from protobuf field: repeated api.Commission Commissions = 4
*/
Commissions: Commission[];
/**
* time zone, useful only if a WMS use this API
*
* @generated from protobuf field: string TimeZone = 5
*/
TimeZone: string;
}
/**
* @generated from protobuf message api.UpdateCommissionsAppointmentResponse
@@ -3485,13 +3499,15 @@ class UpdateSlotAppointmentRequest$Type extends MessageType<UpdateSlotAppointmen
super("api.UpdateSlotAppointmentRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestSiteHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot }
{ no: 3, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot },
{ no: 4, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentID", "Slots"] } } });
}
create(value?: PartialMessage<UpdateSlotAppointmentRequest>): UpdateSlotAppointmentRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.AppointmentID = "";
message.Slots = [];
message.TimeZone = "";
if (value !== undefined)
reflectionMergePartial<UpdateSlotAppointmentRequest>(this, message, value);
return message;
@@ -3510,6 +3526,9 @@ class UpdateSlotAppointmentRequest$Type extends MessageType<UpdateSlotAppointmen
case /* repeated api.Slot Slots */ 3:
message.Slots.push(Slot.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* string TimeZone */ 4:
message.TimeZone = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -3531,6 +3550,9 @@ class UpdateSlotAppointmentRequest$Type extends MessageType<UpdateSlotAppointmen
/* repeated api.Slot Slots = 3; */
for (let i = 0; i < message.Slots.length; i++)
Slot.internalBinaryWrite(message.Slots[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
/* string TimeZone = 4; */
if (message.TimeZone !== "")
writer.tag(4, WireType.LengthDelimited).string(message.TimeZone);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3595,14 +3617,16 @@ class UpdateCommissionsAppointmentRequest$Type extends MessageType<UpdateCommiss
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestSiteHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot },
{ no: 4, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Commission }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentID", "Slots"] } } });
{ no: 4, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Commission },
{ no: 5, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/ }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentID", "Slots", "Commissions"] } } });
}
create(value?: PartialMessage<UpdateCommissionsAppointmentRequest>): UpdateCommissionsAppointmentRequest {
const message = globalThis.Object.create((this.messagePrototype!));
message.AppointmentID = "";
message.Slots = [];
message.Commissions = [];
message.TimeZone = "";
if (value !== undefined)
reflectionMergePartial<UpdateCommissionsAppointmentRequest>(this, message, value);
return message;
@@ -3624,6 +3648,9 @@ class UpdateCommissionsAppointmentRequest$Type extends MessageType<UpdateCommiss
case /* repeated api.Commission Commissions */ 4:
message.Commissions.push(Commission.internalBinaryRead(reader, reader.uint32(), options));
break;
case /* string TimeZone */ 5:
message.TimeZone = reader.string();
break;
default:
let u = options.readUnknownField;
if (u === "throw")
@@ -3648,6 +3675,9 @@ class UpdateCommissionsAppointmentRequest$Type extends MessageType<UpdateCommiss
/* repeated api.Commission Commissions = 4; */
for (let i = 0; i < message.Commissions.length; i++)
Commission.internalBinaryWrite(message.Commissions[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
/* string TimeZone = 5; */
if (message.TimeZone !== "")
writer.tag(5, WireType.LengthDelimited).string(message.TimeZone);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);