You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.12.0-SNAPSHOT-251215160525",
|
||||
"version": "1.12.0-SNAPSHOT-251216104939",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
14
site.ts
14
site.ts
@@ -865,6 +865,10 @@ export interface RescheduleAppointmentRequest {
|
||||
* @generated from protobuf field: repeated api.Slot Slots = 3
|
||||
*/
|
||||
Slots: Slot[];
|
||||
/**
|
||||
* @generated from protobuf field: string ActorID = 4
|
||||
*/
|
||||
ActorID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.UpdateAppointmentRequest
|
||||
@@ -3754,13 +3758,15 @@ class RescheduleAppointmentRequest$Type extends MessageType<RescheduleAppointmen
|
||||
super("api.RescheduleAppointmentRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, 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", maxLen: "192" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Your identifier", example: "\"Your_Appointment_ID\"" } } },
|
||||
{ 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: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentID", "Slots"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<RescheduleAppointmentRequest>): RescheduleAppointmentRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.AppointmentID = "";
|
||||
message.Slots = [];
|
||||
message.ActorID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<RescheduleAppointmentRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -3779,6 +3785,9 @@ class RescheduleAppointmentRequest$Type extends MessageType<RescheduleAppointmen
|
||||
case /* repeated api.Slot Slots */ 3:
|
||||
message.Slots.push(Slot.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* string ActorID */ 4:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -3800,6 +3809,9 @@ class RescheduleAppointmentRequest$Type extends MessageType<RescheduleAppointmen
|
||||
/* 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 ActorID = 4; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.ActorID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user