You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -691,6 +691,10 @@ export interface Booking {
|
||||
* @generated from protobuf field: string LastUpdate = 12
|
||||
*/
|
||||
LastUpdate: string;
|
||||
/**
|
||||
* @generated from protobuf field: bool Locked = 13
|
||||
*/
|
||||
Locked: boolean;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.SlotGroup
|
||||
@@ -2702,7 +2706,8 @@ class Booking$Type extends MessageType<Booking> {
|
||||
{ no: 9, name: "Loading", kind: "message", localName: "Loading", jsonName: "Loading", T: () => AppointmentContent },
|
||||
{ no: 10, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", T: () => AppointmentContent },
|
||||
{ no: 8, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 12, name: "LastUpdate", kind: "scalar", localName: "LastUpdate", jsonName: "LastUpdate", T: 9 /*ScalarType.STRING*/ }
|
||||
{ no: 12, name: "LastUpdate", kind: "scalar", localName: "LastUpdate", jsonName: "LastUpdate", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 13, name: "Locked", kind: "scalar", localName: "Locked", jsonName: "Locked", T: 8 /*ScalarType.BOOL*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<Booking>): Booking {
|
||||
@@ -2716,6 +2721,7 @@ class Booking$Type extends MessageType<Booking> {
|
||||
message.Emails = [];
|
||||
message.Reason = "";
|
||||
message.LastUpdate = "";
|
||||
message.Locked = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<Booking>(this, message, value);
|
||||
return message;
|
||||
@@ -2758,6 +2764,9 @@ class Booking$Type extends MessageType<Booking> {
|
||||
case /* string LastUpdate */ 12:
|
||||
message.LastUpdate = reader.string();
|
||||
break;
|
||||
case /* bool Locked */ 13:
|
||||
message.Locked = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -2803,6 +2812,9 @@ class Booking$Type extends MessageType<Booking> {
|
||||
/* string LastUpdate = 12; */
|
||||
if (message.LastUpdate !== "")
|
||||
writer.tag(12, WireType.LengthDelimited).string(message.LastUpdate);
|
||||
/* bool Locked = 13; */
|
||||
if (message.Locked !== false)
|
||||
writer.tag(13, WireType.Varint).bool(message.Locked);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user