You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -70,6 +70,10 @@ export interface ActorSetSiteAliasPayload {
|
||||
* @generated from protobuf field: api.SiteAlias SiteAlias = 1
|
||||
*/
|
||||
SiteAlias?: SiteAlias;
|
||||
/**
|
||||
* @generated from protobuf field: bool IsSlotBookingEnabled = 2
|
||||
*/
|
||||
IsSlotBookingEnabled: boolean;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ActorSetSiteAlias
|
||||
@@ -253,11 +257,13 @@ export const ActorCompleteSnapshot = new ActorCompleteSnapshot$Type();
|
||||
class ActorSetSiteAliasPayload$Type extends MessageType<ActorSetSiteAliasPayload> {
|
||||
constructor() {
|
||||
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*/ }
|
||||
], { "api.messageType": "Command", "api.payload": true, "api.action": "SetSiteAlias" });
|
||||
}
|
||||
create(value?: PartialMessage<ActorSetSiteAliasPayload>): ActorSetSiteAliasPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.IsSlotBookingEnabled = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ActorSetSiteAliasPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -270,6 +276,9 @@ class ActorSetSiteAliasPayload$Type extends MessageType<ActorSetSiteAliasPayload
|
||||
case /* api.SiteAlias SiteAlias */ 1:
|
||||
message.SiteAlias = SiteAlias.internalBinaryRead(reader, reader.uint32(), options, message.SiteAlias);
|
||||
break;
|
||||
case /* bool IsSlotBookingEnabled */ 2:
|
||||
message.IsSlotBookingEnabled = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -285,6 +294,9 @@ class ActorSetSiteAliasPayload$Type extends MessageType<ActorSetSiteAliasPayload
|
||||
/* api.SiteAlias SiteAlias = 1; */
|
||||
if (message.SiteAlias)
|
||||
SiteAlias.internalBinaryWrite(message.SiteAlias, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* bool IsSlotBookingEnabled = 2; */
|
||||
if (message.IsSlotBookingEnabled !== false)
|
||||
writer.tag(2, WireType.Varint).bool(message.IsSlotBookingEnabled);
|
||||
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.12.0-SNAPSHOT-251031144349",
|
||||
"version": "1.12.0-SNAPSHOT-251031162048",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
Reference in New Issue
Block a user