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-251118100122",
|
||||
"version": "1.12.0-SNAPSHOT-251118103055",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
16
site.ts
16
site.ts
@@ -761,6 +761,10 @@ export interface GetBookingContextRequest {
|
||||
* @generated from protobuf field: string ActorID = 2
|
||||
*/
|
||||
ActorID: string;
|
||||
/**
|
||||
* @generated from protobuf field: api.AppointmentType AppointmentType = 3
|
||||
*/
|
||||
AppointmentType: AppointmentType;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.GetBookingContextResponse
|
||||
@@ -3310,12 +3314,14 @@ class GetBookingContextRequest$Type extends MessageType<GetBookingContextRequest
|
||||
constructor() {
|
||||
super("api.GetBookingContextRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ActorID"] } } });
|
||||
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "AppointmentType", kind: "enum", localName: "AppointmentType", jsonName: "AppointmentType", T: () => ["api.AppointmentType", AppointmentType], options: { "validate.rules": { enum: { definedOnly: true } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ActorID", "AppointmentType"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<GetBookingContextRequest>): GetBookingContextRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ActorID = "";
|
||||
message.AppointmentType = 0;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<GetBookingContextRequest>(this, message, value);
|
||||
return message;
|
||||
@@ -3331,6 +3337,9 @@ class GetBookingContextRequest$Type extends MessageType<GetBookingContextRequest
|
||||
case /* string ActorID */ 2:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
case /* api.AppointmentType AppointmentType */ 3:
|
||||
message.AppointmentType = reader.int32();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -3349,6 +3358,9 @@ class GetBookingContextRequest$Type extends MessageType<GetBookingContextRequest
|
||||
/* string ActorID = 2; */
|
||||
if (message.ActorID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.ActorID);
|
||||
/* api.AppointmentType AppointmentType = 3; */
|
||||
if (message.AppointmentType !== 0)
|
||||
writer.tag(3, WireType.Varint).int32(message.AppointmentType);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user