You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -10,6 +10,7 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|||||||
import type { PartialMessage } from "@protobuf-ts/runtime";
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
||||||
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
||||||
import { MessageType } from "@protobuf-ts/runtime";
|
import { MessageType } from "@protobuf-ts/runtime";
|
||||||
|
import { ActorAuthorisation } from "./slotbooking";
|
||||||
import { SiteAlias } from "./repositoryShared";
|
import { SiteAlias } from "./repositoryShared";
|
||||||
import { EntityID } from "./shared";
|
import { EntityID } from "./shared";
|
||||||
import { CommandHeader } from "./shared";
|
import { CommandHeader } from "./shared";
|
||||||
@@ -74,6 +75,10 @@ export interface ActorSetSiteAliasPayload {
|
|||||||
* @generated from protobuf field: bool IsSlotBookingEnabled = 2
|
* @generated from protobuf field: bool IsSlotBookingEnabled = 2
|
||||||
*/
|
*/
|
||||||
IsSlotBookingEnabled: boolean;
|
IsSlotBookingEnabled: boolean;
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: api.ActorAuthorisation AppointmentConstraints = 3
|
||||||
|
*/
|
||||||
|
AppointmentConstraints?: ActorAuthorisation;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.ActorSetSiteAlias
|
* @generated from protobuf message api.ActorSetSiteAlias
|
||||||
@@ -258,7 +263,8 @@ class ActorSetSiteAliasPayload$Type extends MessageType<ActorSetSiteAliasPayload
|
|||||||
constructor() {
|
constructor() {
|
||||||
super("api.ActorSetSiteAliasPayload", [
|
super("api.ActorSetSiteAliasPayload", [
|
||||||
{ no: 1, name: "SiteAlias", kind: "message", localName: "SiteAlias", jsonName: "SiteAlias", T: () => SiteAlias },
|
{ no: 1, name: "SiteAlias", kind: "message", localName: "SiteAlias", jsonName: "SiteAlias", T: () => SiteAlias },
|
||||||
{ no: 2, name: "IsSlotBookingEnabled", kind: "scalar", localName: "IsSlotBookingEnabled", jsonName: "IsSlotBookingEnabled", T: 8 /*ScalarType.BOOL*/ }
|
{ no: 2, name: "IsSlotBookingEnabled", kind: "scalar", localName: "IsSlotBookingEnabled", jsonName: "IsSlotBookingEnabled", T: 8 /*ScalarType.BOOL*/ },
|
||||||
|
{ no: 3, name: "AppointmentConstraints", kind: "message", localName: "AppointmentConstraints", jsonName: "AppointmentConstraints", T: () => ActorAuthorisation }
|
||||||
], { "api.messageType": "Command", "api.payload": true, "api.action": "SetSiteAlias" });
|
], { "api.messageType": "Command", "api.payload": true, "api.action": "SetSiteAlias" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<ActorSetSiteAliasPayload>): ActorSetSiteAliasPayload {
|
create(value?: PartialMessage<ActorSetSiteAliasPayload>): ActorSetSiteAliasPayload {
|
||||||
@@ -279,6 +285,9 @@ class ActorSetSiteAliasPayload$Type extends MessageType<ActorSetSiteAliasPayload
|
|||||||
case /* bool IsSlotBookingEnabled */ 2:
|
case /* bool IsSlotBookingEnabled */ 2:
|
||||||
message.IsSlotBookingEnabled = reader.bool();
|
message.IsSlotBookingEnabled = reader.bool();
|
||||||
break;
|
break;
|
||||||
|
case /* api.ActorAuthorisation AppointmentConstraints */ 3:
|
||||||
|
message.AppointmentConstraints = ActorAuthorisation.internalBinaryRead(reader, reader.uint32(), options, message.AppointmentConstraints);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -297,6 +306,9 @@ class ActorSetSiteAliasPayload$Type extends MessageType<ActorSetSiteAliasPayload
|
|||||||
/* bool IsSlotBookingEnabled = 2; */
|
/* bool IsSlotBookingEnabled = 2; */
|
||||||
if (message.IsSlotBookingEnabled !== false)
|
if (message.IsSlotBookingEnabled !== false)
|
||||||
writer.tag(2, WireType.Varint).bool(message.IsSlotBookingEnabled);
|
writer.tag(2, WireType.Varint).bool(message.IsSlotBookingEnabled);
|
||||||
|
/* api.ActorAuthorisation AppointmentConstraints = 3; */
|
||||||
|
if (message.AppointmentConstraints)
|
||||||
|
ActorAuthorisation.internalBinaryWrite(message.AppointmentConstraints, writer.tag(3, 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);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"name": "@reflex-platform/npm-core-sdk",
|
||||||
"version": "1.12.0-SNAPSHOT-251127140532",
|
"version": "1.12.0-SNAPSHOT-251127144834",
|
||||||
"description": "npm libs from core model proto files",
|
"description": "npm libs from core model proto files",
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user