You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"name": "@reflex-platform/npm-core-sdk",
|
||||||
"version": "1.13.0-SNAPSHOT-260331152507",
|
"version": "1.13.0-SNAPSHOT-260402135034",
|
||||||
"description": "npm libs from core model proto files",
|
"description": "npm libs from core model proto files",
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
|
|||||||
16
site.ts
16
site.ts
@@ -1259,7 +1259,11 @@ export interface GetMyBookingContextResponse {
|
|||||||
/**
|
/**
|
||||||
* @generated from protobuf field: repeated api.SiteBookingContext SiteBookingContexts = 1
|
* @generated from protobuf field: repeated api.SiteBookingContext SiteBookingContexts = 1
|
||||||
*/
|
*/
|
||||||
SiteBookingContexts: SiteBookingContext[];
|
SiteBookingContexts: SiteBookingContext[]; // List of booking contexts for the sites the user is allowed to book on. A booking context contains all the necessary information to book an appointment on a site for a specific project and appointment type (loading/unloading).
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: repeated api.SiteBookingContext SiteViewingContexts = 2
|
||||||
|
*/
|
||||||
|
SiteViewingContexts: SiteBookingContext[]; // List of booking contexts for the sites the user is allowed to view appointments on. A booking context contains all the necessary information to book an appointment on a site for a specific project and appointment type (loading/unloading).
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.SiteBookingContext
|
* @generated from protobuf message api.SiteBookingContext
|
||||||
@@ -5073,12 +5077,14 @@ export const GetMyBookingContextRequest = new GetMyBookingContextRequest$Type();
|
|||||||
class GetMyBookingContextResponse$Type extends MessageType<GetMyBookingContextResponse> {
|
class GetMyBookingContextResponse$Type extends MessageType<GetMyBookingContextResponse> {
|
||||||
constructor() {
|
constructor() {
|
||||||
super("api.GetMyBookingContextResponse", [
|
super("api.GetMyBookingContextResponse", [
|
||||||
{ no: 1, name: "SiteBookingContexts", kind: "message", localName: "SiteBookingContexts", jsonName: "SiteBookingContexts", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SiteBookingContext }
|
{ no: 1, name: "SiteBookingContexts", kind: "message", localName: "SiteBookingContexts", jsonName: "SiteBookingContexts", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SiteBookingContext },
|
||||||
|
{ no: 2, name: "SiteViewingContexts", kind: "message", localName: "SiteViewingContexts", jsonName: "SiteViewingContexts", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SiteBookingContext }
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<GetMyBookingContextResponse>): GetMyBookingContextResponse {
|
create(value?: PartialMessage<GetMyBookingContextResponse>): GetMyBookingContextResponse {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.SiteBookingContexts = [];
|
message.SiteBookingContexts = [];
|
||||||
|
message.SiteViewingContexts = [];
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<GetMyBookingContextResponse>(this, message, value);
|
reflectionMergePartial<GetMyBookingContextResponse>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -5091,6 +5097,9 @@ class GetMyBookingContextResponse$Type extends MessageType<GetMyBookingContextRe
|
|||||||
case /* repeated api.SiteBookingContext SiteBookingContexts */ 1:
|
case /* repeated api.SiteBookingContext SiteBookingContexts */ 1:
|
||||||
message.SiteBookingContexts.push(SiteBookingContext.internalBinaryRead(reader, reader.uint32(), options));
|
message.SiteBookingContexts.push(SiteBookingContext.internalBinaryRead(reader, reader.uint32(), options));
|
||||||
break;
|
break;
|
||||||
|
case /* repeated api.SiteBookingContext SiteViewingContexts */ 2:
|
||||||
|
message.SiteViewingContexts.push(SiteBookingContext.internalBinaryRead(reader, reader.uint32(), options));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -5106,6 +5115,9 @@ class GetMyBookingContextResponse$Type extends MessageType<GetMyBookingContextRe
|
|||||||
/* repeated api.SiteBookingContext SiteBookingContexts = 1; */
|
/* repeated api.SiteBookingContext SiteBookingContexts = 1; */
|
||||||
for (let i = 0; i < message.SiteBookingContexts.length; i++)
|
for (let i = 0; i < message.SiteBookingContexts.length; i++)
|
||||||
SiteBookingContext.internalBinaryWrite(message.SiteBookingContexts[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
SiteBookingContext.internalBinaryWrite(message.SiteBookingContexts[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||||
|
/* repeated api.SiteBookingContext SiteViewingContexts = 2; */
|
||||||
|
for (let i = 0; i < message.SiteViewingContexts.length; i++)
|
||||||
|
SiteBookingContext.internalBinaryWrite(message.SiteViewingContexts[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||||
let u = options.writeUnknownFields;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
Reference in New Issue
Block a user