You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -79,6 +79,10 @@ export interface ActorSetSiteAliasPayload {
|
|||||||
* @generated from protobuf field: api.ActorAuthorisation AppointmentConstraints = 3
|
* @generated from protobuf field: api.ActorAuthorisation AppointmentConstraints = 3
|
||||||
*/
|
*/
|
||||||
AppointmentConstraints?: ActorAuthorisation;
|
AppointmentConstraints?: ActorAuthorisation;
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: string ActorName = 4
|
||||||
|
*/
|
||||||
|
ActorName: string;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.ActorSetSiteAlias
|
* @generated from protobuf message api.ActorSetSiteAlias
|
||||||
@@ -264,12 +268,14 @@ class ActorSetSiteAliasPayload$Type extends MessageType<ActorSetSiteAliasPayload
|
|||||||
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 }
|
{ no: 3, name: "AppointmentConstraints", kind: "message", localName: "AppointmentConstraints", jsonName: "AppointmentConstraints", T: () => ActorAuthorisation },
|
||||||
|
{ no: 4, name: "ActorName", kind: "scalar", localName: "ActorName", jsonName: "ActorName", T: 9 /*ScalarType.STRING*/ }
|
||||||
], { "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 {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.IsSlotBookingEnabled = false;
|
message.IsSlotBookingEnabled = false;
|
||||||
|
message.ActorName = "";
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<ActorSetSiteAliasPayload>(this, message, value);
|
reflectionMergePartial<ActorSetSiteAliasPayload>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -288,6 +294,9 @@ class ActorSetSiteAliasPayload$Type extends MessageType<ActorSetSiteAliasPayload
|
|||||||
case /* api.ActorAuthorisation AppointmentConstraints */ 3:
|
case /* api.ActorAuthorisation AppointmentConstraints */ 3:
|
||||||
message.AppointmentConstraints = ActorAuthorisation.internalBinaryRead(reader, reader.uint32(), options, message.AppointmentConstraints);
|
message.AppointmentConstraints = ActorAuthorisation.internalBinaryRead(reader, reader.uint32(), options, message.AppointmentConstraints);
|
||||||
break;
|
break;
|
||||||
|
case /* string ActorName */ 4:
|
||||||
|
message.ActorName = reader.string();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -309,6 +318,9 @@ class ActorSetSiteAliasPayload$Type extends MessageType<ActorSetSiteAliasPayload
|
|||||||
/* api.ActorAuthorisation AppointmentConstraints = 3; */
|
/* api.ActorAuthorisation AppointmentConstraints = 3; */
|
||||||
if (message.AppointmentConstraints)
|
if (message.AppointmentConstraints)
|
||||||
ActorAuthorisation.internalBinaryWrite(message.AppointmentConstraints, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
ActorAuthorisation.internalBinaryWrite(message.AppointmentConstraints, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||||
|
/* string ActorName = 4; */
|
||||||
|
if (message.ActorName !== "")
|
||||||
|
writer.tag(4, WireType.LengthDelimited).string(message.ActorName);
|
||||||
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-251216104939",
|
"version": "1.12.0-SNAPSHOT-251217083501",
|
||||||
"description": "npm libs from core model proto files",
|
"description": "npm libs from core model proto files",
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
|
|||||||
30
site.ts
30
site.ts
@@ -725,6 +725,12 @@ export interface SiteActor {
|
|||||||
* @generated from protobuf field: api.CommandIdentifierEntry UnLoadingCommandIdentifierEntry = 6
|
* @generated from protobuf field: api.CommandIdentifierEntry UnLoadingCommandIdentifierEntry = 6
|
||||||
*/
|
*/
|
||||||
UnLoadingCommandIdentifierEntry: CommandIdentifierEntry;
|
UnLoadingCommandIdentifierEntry: CommandIdentifierEntry;
|
||||||
|
/**
|
||||||
|
* Name of the actor
|
||||||
|
*
|
||||||
|
* @generated from protobuf field: string ActorName = 7
|
||||||
|
*/
|
||||||
|
ActorName: string;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.GetBookingContextRequest
|
* @generated from protobuf message api.GetBookingContextRequest
|
||||||
@@ -1443,6 +1449,10 @@ export interface SiteProjectAptTypeBookingActorsContext {
|
|||||||
* @generated from protobuf field: string ActorID = 2
|
* @generated from protobuf field: string ActorID = 2
|
||||||
*/
|
*/
|
||||||
ActorID: string;
|
ActorID: string;
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: string ActorName = 3
|
||||||
|
*/
|
||||||
|
ActorName: string;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.InitBookerProfileRequest
|
* @generated from protobuf message api.InitBookerProfileRequest
|
||||||
@@ -3238,7 +3248,8 @@ class SiteActor$Type extends MessageType<SiteActor> {
|
|||||||
{ no: 3, name: "SiteID", kind: "scalar", localName: "SiteID", jsonName: "SiteID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
{ no: 3, name: "SiteID", kind: "scalar", localName: "SiteID", jsonName: "SiteID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||||
{ no: 4, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.AppointmentType", AppointmentType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
{ no: 4, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.AppointmentType", AppointmentType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||||
{ no: 5, name: "LoadingCommandIdentifierEntry", kind: "enum", localName: "LoadingCommandIdentifierEntry", jsonName: "LoadingCommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
{ no: 5, name: "LoadingCommandIdentifierEntry", kind: "enum", localName: "LoadingCommandIdentifierEntry", jsonName: "LoadingCommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||||
{ no: 6, name: "UnLoadingCommandIdentifierEntry", kind: "enum", localName: "UnLoadingCommandIdentifierEntry", jsonName: "UnLoadingCommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry], options: { "validate.rules": { enum: { definedOnly: true } } } }
|
{ no: 6, name: "UnLoadingCommandIdentifierEntry", kind: "enum", localName: "UnLoadingCommandIdentifierEntry", jsonName: "UnLoadingCommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||||
|
{ no: 7, name: "ActorName", kind: "scalar", localName: "ActorName", jsonName: "ActorName", T: 9 /*ScalarType.STRING*/ }
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<SiteActor>): SiteActor {
|
create(value?: PartialMessage<SiteActor>): SiteActor {
|
||||||
@@ -3249,6 +3260,7 @@ class SiteActor$Type extends MessageType<SiteActor> {
|
|||||||
message.Type = 0;
|
message.Type = 0;
|
||||||
message.LoadingCommandIdentifierEntry = 0;
|
message.LoadingCommandIdentifierEntry = 0;
|
||||||
message.UnLoadingCommandIdentifierEntry = 0;
|
message.UnLoadingCommandIdentifierEntry = 0;
|
||||||
|
message.ActorName = "";
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<SiteActor>(this, message, value);
|
reflectionMergePartial<SiteActor>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -3276,6 +3288,9 @@ class SiteActor$Type extends MessageType<SiteActor> {
|
|||||||
case /* api.CommandIdentifierEntry UnLoadingCommandIdentifierEntry */ 6:
|
case /* api.CommandIdentifierEntry UnLoadingCommandIdentifierEntry */ 6:
|
||||||
message.UnLoadingCommandIdentifierEntry = reader.int32();
|
message.UnLoadingCommandIdentifierEntry = reader.int32();
|
||||||
break;
|
break;
|
||||||
|
case /* string ActorName */ 7:
|
||||||
|
message.ActorName = reader.string();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -3306,6 +3321,9 @@ class SiteActor$Type extends MessageType<SiteActor> {
|
|||||||
/* api.CommandIdentifierEntry UnLoadingCommandIdentifierEntry = 6; */
|
/* api.CommandIdentifierEntry UnLoadingCommandIdentifierEntry = 6; */
|
||||||
if (message.UnLoadingCommandIdentifierEntry !== 0)
|
if (message.UnLoadingCommandIdentifierEntry !== 0)
|
||||||
writer.tag(6, WireType.Varint).int32(message.UnLoadingCommandIdentifierEntry);
|
writer.tag(6, WireType.Varint).int32(message.UnLoadingCommandIdentifierEntry);
|
||||||
|
/* string ActorName = 7; */
|
||||||
|
if (message.ActorName !== "")
|
||||||
|
writer.tag(7, WireType.LengthDelimited).string(message.ActorName);
|
||||||
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);
|
||||||
@@ -5897,13 +5915,15 @@ class SiteProjectAptTypeBookingActorsContext$Type extends MessageType<SiteProjec
|
|||||||
constructor() {
|
constructor() {
|
||||||
super("api.SiteProjectAptTypeBookingActorsContext", [
|
super("api.SiteProjectAptTypeBookingActorsContext", [
|
||||||
{ no: 1, name: "CommandIdentifierEntry", kind: "enum", localName: "CommandIdentifierEntry", jsonName: "CommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry] },
|
{ no: 1, name: "CommandIdentifierEntry", kind: "enum", localName: "CommandIdentifierEntry", jsonName: "CommandIdentifierEntry", T: () => ["api.CommandIdentifierEntry", CommandIdentifierEntry] },
|
||||||
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
{ no: 2, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
|
||||||
|
{ no: 3, name: "ActorName", kind: "scalar", localName: "ActorName", jsonName: "ActorName", T: 9 /*ScalarType.STRING*/ }
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<SiteProjectAptTypeBookingActorsContext>): SiteProjectAptTypeBookingActorsContext {
|
create(value?: PartialMessage<SiteProjectAptTypeBookingActorsContext>): SiteProjectAptTypeBookingActorsContext {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.CommandIdentifierEntry = 0;
|
message.CommandIdentifierEntry = 0;
|
||||||
message.ActorID = "";
|
message.ActorID = "";
|
||||||
|
message.ActorName = "";
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<SiteProjectAptTypeBookingActorsContext>(this, message, value);
|
reflectionMergePartial<SiteProjectAptTypeBookingActorsContext>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -5919,6 +5939,9 @@ class SiteProjectAptTypeBookingActorsContext$Type extends MessageType<SiteProjec
|
|||||||
case /* string ActorID */ 2:
|
case /* string ActorID */ 2:
|
||||||
message.ActorID = reader.string();
|
message.ActorID = reader.string();
|
||||||
break;
|
break;
|
||||||
|
case /* string ActorName */ 3:
|
||||||
|
message.ActorName = reader.string();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -5937,6 +5960,9 @@ class SiteProjectAptTypeBookingActorsContext$Type extends MessageType<SiteProjec
|
|||||||
/* string ActorID = 2; */
|
/* string ActorID = 2; */
|
||||||
if (message.ActorID !== "")
|
if (message.ActorID !== "")
|
||||||
writer.tag(2, WireType.LengthDelimited).string(message.ActorID);
|
writer.tag(2, WireType.LengthDelimited).string(message.ActorID);
|
||||||
|
/* string ActorName = 3; */
|
||||||
|
if (message.ActorName !== "")
|
||||||
|
writer.tag(3, WireType.LengthDelimited).string(message.ActorName);
|
||||||
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