You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -116,6 +116,14 @@ export interface ActorSetSiteAlias {
|
|||||||
* @generated from protobuf message api.ActorClearSiteAliasPayload
|
* @generated from protobuf message api.ActorClearSiteAliasPayload
|
||||||
*/
|
*/
|
||||||
export interface ActorClearSiteAliasPayload {
|
export interface ActorClearSiteAliasPayload {
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: api.SiteAlias SiteAlias = 1
|
||||||
|
*/
|
||||||
|
SiteAlias?: SiteAlias;
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: bool IsSlotBookingEnabled = 2
|
||||||
|
*/
|
||||||
|
IsSlotBookingEnabled: boolean;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.ClearSiteAlias
|
* @generated from protobuf message api.ClearSiteAlias
|
||||||
@@ -408,10 +416,14 @@ export const ActorSetSiteAlias = new ActorSetSiteAlias$Type();
|
|||||||
// @generated message type with reflection information, may provide speed optimized methods
|
// @generated message type with reflection information, may provide speed optimized methods
|
||||||
class ActorClearSiteAliasPayload$Type extends MessageType<ActorClearSiteAliasPayload> {
|
class ActorClearSiteAliasPayload$Type extends MessageType<ActorClearSiteAliasPayload> {
|
||||||
constructor() {
|
constructor() {
|
||||||
super("api.ActorClearSiteAliasPayload", [], { "api.messageType": "Command", "api.payload": true, "api.action": "ClearSiteAlias" });
|
super("api.ActorClearSiteAliasPayload", [
|
||||||
|
{ 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": "ClearSiteAlias" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<ActorClearSiteAliasPayload>): ActorClearSiteAliasPayload {
|
create(value?: PartialMessage<ActorClearSiteAliasPayload>): ActorClearSiteAliasPayload {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
|
message.IsSlotBookingEnabled = false;
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<ActorClearSiteAliasPayload>(this, message, value);
|
reflectionMergePartial<ActorClearSiteAliasPayload>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -421,6 +433,12 @@ class ActorClearSiteAliasPayload$Type extends MessageType<ActorClearSiteAliasPay
|
|||||||
while (reader.pos < end) {
|
while (reader.pos < end) {
|
||||||
let [fieldNo, wireType] = reader.tag();
|
let [fieldNo, wireType] = reader.tag();
|
||||||
switch (fieldNo) {
|
switch (fieldNo) {
|
||||||
|
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:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -433,6 +451,12 @@ class ActorClearSiteAliasPayload$Type extends MessageType<ActorClearSiteAliasPay
|
|||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
internalBinaryWrite(message: ActorClearSiteAliasPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
internalBinaryWrite(message: ActorClearSiteAliasPayload, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||||
|
/* 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;
|
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.13.0-SNAPSHOT-260217151939",
|
"version": "1.13.0-SNAPSHOT-260218103017",
|
||||||
"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