You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -238,6 +238,10 @@ export interface AppointmentExternalAccess {
|
||||
* @generated from protobuf field: string URL = 2
|
||||
*/
|
||||
URL: string; // Signed TinyURL embedding a JWT; external clients resolve this URL to authenticate and call the appointment public APIs
|
||||
/**
|
||||
* @generated from protobuf field: int64 ExpirationTime = 3
|
||||
*/
|
||||
ExpirationTime: bigint; // Unix timestamp indicating when the signed URL expires (seconds since epoch)
|
||||
}
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class Appointment$Type extends MessageType<Appointment> {
|
||||
@@ -604,13 +608,15 @@ class AppointmentExternalAccess$Type extends MessageType<AppointmentExternalAcce
|
||||
constructor() {
|
||||
super("api.AppointmentExternalAccess", [
|
||||
{ no: 1, name: "Hash", kind: "scalar", localName: "Hash", jsonName: "Hash", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "URL", kind: "scalar", localName: "URL", jsonName: "URL", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 2, name: "URL", kind: "scalar", localName: "URL", jsonName: "URL", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "ExpirationTime", kind: "scalar", localName: "ExpirationTime", jsonName: "ExpirationTime", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentExternalAccess>): AppointmentExternalAccess {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Hash = "";
|
||||
message.URL = "";
|
||||
message.ExpirationTime = 0n;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentExternalAccess>(this, message, value);
|
||||
return message;
|
||||
@@ -626,6 +632,9 @@ class AppointmentExternalAccess$Type extends MessageType<AppointmentExternalAcce
|
||||
case /* string URL */ 2:
|
||||
message.URL = reader.string();
|
||||
break;
|
||||
case /* int64 ExpirationTime */ 3:
|
||||
message.ExpirationTime = reader.int64().toBigInt();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -644,6 +653,9 @@ class AppointmentExternalAccess$Type extends MessageType<AppointmentExternalAcce
|
||||
/* string URL = 2; */
|
||||
if (message.URL !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.URL);
|
||||
/* int64 ExpirationTime = 3; */
|
||||
if (message.ExpirationTime !== 0n)
|
||||
writer.tag(3, WireType.Varint).int64(message.ExpirationTime);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.14.0-SNAPSHOT-260601131821",
|
||||
"version": "1.14.0-SNAPSHOT-260601140552",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
Reference in New Issue
Block a user