You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -575,6 +575,19 @@ export interface AppointmentCommission {
|
||||
*/
|
||||
UnitQuantities: MetadataElement[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.AckDocument
|
||||
*/
|
||||
export interface AckDocument {
|
||||
/**
|
||||
* @generated from protobuf field: string DocID = 1
|
||||
*/
|
||||
DocID: string;
|
||||
/**
|
||||
* @generated from protobuf field: bool Ack = 2
|
||||
*/
|
||||
Ack: boolean;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.AppointmentContent
|
||||
*/
|
||||
@@ -2432,6 +2445,61 @@ class AppointmentCommission$Type extends MessageType<AppointmentCommission> {
|
||||
*/
|
||||
export const AppointmentCommission = new AppointmentCommission$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class AckDocument$Type extends MessageType<AckDocument> {
|
||||
constructor() {
|
||||
super("api.AckDocument", [
|
||||
{ no: 1, name: "DocID", kind: "scalar", localName: "DocID", jsonName: "DocID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 2, name: "Ack", kind: "scalar", localName: "Ack", jsonName: "Ack", T: 8 /*ScalarType.BOOL*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<AckDocument>): AckDocument {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.DocID = "";
|
||||
message.Ack = false;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AckDocument>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AckDocument): AckDocument {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string DocID */ 1:
|
||||
message.DocID = reader.string();
|
||||
break;
|
||||
case /* bool Ack */ 2:
|
||||
message.Ack = reader.bool();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
||||
let d = reader.skip(wireType);
|
||||
if (u !== false)
|
||||
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
||||
}
|
||||
}
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: AckDocument, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string DocID = 1; */
|
||||
if (message.DocID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.DocID);
|
||||
/* bool Ack = 2; */
|
||||
if (message.Ack !== false)
|
||||
writer.tag(2, WireType.Varint).bool(message.Ack);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.AckDocument
|
||||
*/
|
||||
export const AckDocument = new AckDocument$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class AppointmentContent$Type extends MessageType<AppointmentContent> {
|
||||
constructor() {
|
||||
super("api.AppointmentContent", [
|
||||
|
||||
Reference in New Issue
Block a user