You've already forked npm-core-sdk
Latest generation
This commit is contained in:
30
site.ts
30
site.ts
@@ -725,6 +725,12 @@ export interface SiteActor {
|
||||
* @generated from protobuf field: api.CommandIdentifierEntry UnLoadingCommandIdentifierEntry = 6
|
||||
*/
|
||||
UnLoadingCommandIdentifierEntry: CommandIdentifierEntry;
|
||||
/**
|
||||
* Name of the actor
|
||||
*
|
||||
* @generated from protobuf field: string ActorName = 7
|
||||
*/
|
||||
ActorName: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.GetBookingContextRequest
|
||||
@@ -1443,6 +1449,10 @@ export interface SiteProjectAptTypeBookingActorsContext {
|
||||
* @generated from protobuf field: string ActorID = 2
|
||||
*/
|
||||
ActorID: string;
|
||||
/**
|
||||
* @generated from protobuf field: string ActorName = 3
|
||||
*/
|
||||
ActorName: string;
|
||||
}
|
||||
/**
|
||||
* @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: 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: 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 {
|
||||
@@ -3249,6 +3260,7 @@ class SiteActor$Type extends MessageType<SiteActor> {
|
||||
message.Type = 0;
|
||||
message.LoadingCommandIdentifierEntry = 0;
|
||||
message.UnLoadingCommandIdentifierEntry = 0;
|
||||
message.ActorName = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<SiteActor>(this, message, value);
|
||||
return message;
|
||||
@@ -3276,6 +3288,9 @@ class SiteActor$Type extends MessageType<SiteActor> {
|
||||
case /* api.CommandIdentifierEntry UnLoadingCommandIdentifierEntry */ 6:
|
||||
message.UnLoadingCommandIdentifierEntry = reader.int32();
|
||||
break;
|
||||
case /* string ActorName */ 7:
|
||||
message.ActorName = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -3306,6 +3321,9 @@ class SiteActor$Type extends MessageType<SiteActor> {
|
||||
/* api.CommandIdentifierEntry UnLoadingCommandIdentifierEntry = 6; */
|
||||
if (message.UnLoadingCommandIdentifierEntry !== 0)
|
||||
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;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -5897,13 +5915,15 @@ class SiteProjectAptTypeBookingActorsContext$Type extends MessageType<SiteProjec
|
||||
constructor() {
|
||||
super("api.SiteProjectAptTypeBookingActorsContext", [
|
||||
{ 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 {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.CommandIdentifierEntry = 0;
|
||||
message.ActorID = "";
|
||||
message.ActorName = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<SiteProjectAptTypeBookingActorsContext>(this, message, value);
|
||||
return message;
|
||||
@@ -5919,6 +5939,9 @@ class SiteProjectAptTypeBookingActorsContext$Type extends MessageType<SiteProjec
|
||||
case /* string ActorID */ 2:
|
||||
message.ActorID = reader.string();
|
||||
break;
|
||||
case /* string ActorName */ 3:
|
||||
message.ActorName = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -5937,6 +5960,9 @@ class SiteProjectAptTypeBookingActorsContext$Type extends MessageType<SiteProjec
|
||||
/* string ActorID = 2; */
|
||||
if (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;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user