You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -10,6 +10,7 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|||||||
import type { PartialMessage } from "@protobuf-ts/runtime";
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
||||||
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
||||||
import { MessageType } from "@protobuf-ts/runtime";
|
import { MessageType } from "@protobuf-ts/runtime";
|
||||||
|
import { QuantityByUnit } from "./slotbooking";
|
||||||
import { Address } from "./repositoryShared";
|
import { Address } from "./repositoryShared";
|
||||||
import { AttachmentSummary } from "./shared";
|
import { AttachmentSummary } from "./shared";
|
||||||
import { AppointmentStatusStruct } from "./collabShared";
|
import { AppointmentStatusStruct } from "./collabShared";
|
||||||
@@ -148,6 +149,12 @@ export interface AppointmentPayload {
|
|||||||
* @generated from protobuf field: string SiteName = 22
|
* @generated from protobuf field: string SiteName = 22
|
||||||
*/
|
*/
|
||||||
SiteName: string;
|
SiteName: string;
|
||||||
|
/**
|
||||||
|
* Total volumetry in all commissions inside the truck.
|
||||||
|
*
|
||||||
|
* @generated from protobuf field: repeated api.QuantityByUnit TotalQuantities = 23
|
||||||
|
*/
|
||||||
|
TotalQuantities: QuantityByUnit[];
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.AppointmentTriplet
|
* @generated from protobuf message api.AppointmentTriplet
|
||||||
@@ -246,7 +253,8 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
|||||||
{ no: 18, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ },
|
{ no: 18, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ },
|
||||||
{ no: 20, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "api.aggSkip": "Created,Canceled,SlotUpdated,CommissionsUpdated,CarrierInformationUpdated,CarrierExpected,CarrierArrived,LoadingStarted,LoadingCompleted,UnloadingStarted,UnloadingCompleted,CarrierDeparted,MetaDataUpdated,AttachmentAdded,AttachmentRemoved,EmailsAdded,EmailsRemoved,Sanitised,CustomFieldsUpdated" } },
|
{ no: 20, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/, options: { "api.aggSkip": "Created,Canceled,SlotUpdated,CommissionsUpdated,CarrierInformationUpdated,CarrierExpected,CarrierArrived,LoadingStarted,LoadingCompleted,UnloadingStarted,UnloadingCompleted,CarrierDeparted,MetaDataUpdated,AttachmentAdded,AttachmentRemoved,EmailsAdded,EmailsRemoved,Sanitised,CustomFieldsUpdated" } },
|
||||||
{ no: 21, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
|
{ no: 21, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
|
||||||
{ no: 22, name: "SiteName", kind: "scalar", localName: "SiteName", jsonName: "SiteName", T: 9 /*ScalarType.STRING*/ }
|
{ no: 22, name: "SiteName", kind: "scalar", localName: "SiteName", jsonName: "SiteName", T: 9 /*ScalarType.STRING*/ },
|
||||||
|
{ no: 23, name: "TotalQuantities", kind: "message", localName: "TotalQuantities", jsonName: "TotalQuantities", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByUnit }
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["AppointmentType", "Segmentations"] } } });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["AppointmentType", "Segmentations"] } } });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<AppointmentPayload>): AppointmentPayload {
|
create(value?: PartialMessage<AppointmentPayload>): AppointmentPayload {
|
||||||
@@ -265,6 +273,7 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
|||||||
message.InstructionAck = false;
|
message.InstructionAck = false;
|
||||||
message.ActorID = "";
|
message.ActorID = "";
|
||||||
message.SiteName = "";
|
message.SiteName = "";
|
||||||
|
message.TotalQuantities = [];
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<AppointmentPayload>(this, message, value);
|
reflectionMergePartial<AppointmentPayload>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -325,6 +334,9 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
|||||||
case /* string SiteName */ 22:
|
case /* string SiteName */ 22:
|
||||||
message.SiteName = reader.string();
|
message.SiteName = reader.string();
|
||||||
break;
|
break;
|
||||||
|
case /* repeated api.QuantityByUnit TotalQuantities */ 23:
|
||||||
|
message.TotalQuantities.push(QuantityByUnit.internalBinaryRead(reader, reader.uint32(), options));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -388,6 +400,9 @@ class AppointmentPayload$Type extends MessageType<AppointmentPayload> {
|
|||||||
/* string SiteName = 22; */
|
/* string SiteName = 22; */
|
||||||
if (message.SiteName !== "")
|
if (message.SiteName !== "")
|
||||||
writer.tag(22, WireType.LengthDelimited).string(message.SiteName);
|
writer.tag(22, WireType.LengthDelimited).string(message.SiteName);
|
||||||
|
/* repeated api.QuantityByUnit TotalQuantities = 23; */
|
||||||
|
for (let i = 0; i < message.TotalQuantities.length; i++)
|
||||||
|
QuantityByUnit.internalBinaryWrite(message.TotalQuantities[i], writer.tag(23, WireType.LengthDelimited).fork(), options).join();
|
||||||
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);
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ import { ResponseHeader } from "./shared";
|
|||||||
import { RequestProjectHeader } from "./shared";
|
import { RequestProjectHeader } from "./shared";
|
||||||
import { EntityID } from "./shared";
|
import { EntityID } from "./shared";
|
||||||
import { EventHeader } from "./shared";
|
import { EventHeader } from "./shared";
|
||||||
|
import { QuantityByUnit } from "./slotbooking";
|
||||||
import { Address } from "./repositoryShared";
|
import { Address } from "./repositoryShared";
|
||||||
import { Slot } from "./slotbooking";
|
import { Slot } from "./slotbooking";
|
||||||
import { MetadataElement } from "./shared";
|
import { MetadataElement } from "./shared";
|
||||||
@@ -105,6 +106,12 @@ export interface AppointmentCreatedPayload {
|
|||||||
* @generated from protobuf field: string SiteName = 18
|
* @generated from protobuf field: string SiteName = 18
|
||||||
*/
|
*/
|
||||||
SiteName: string;
|
SiteName: string;
|
||||||
|
/**
|
||||||
|
* Total volumetry in all commissions inside the truck.
|
||||||
|
*
|
||||||
|
* @generated from protobuf field: repeated api.QuantityByUnit TotalQuantities = 19
|
||||||
|
*/
|
||||||
|
TotalQuantities: QuantityByUnit[];
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Event message
|
* Event message
|
||||||
@@ -314,6 +321,12 @@ export interface AppointmentCommissionsUpdatedPayload {
|
|||||||
* @generated from protobuf field: string ActorID = 1
|
* @generated from protobuf field: string ActorID = 1
|
||||||
*/
|
*/
|
||||||
ActorID: string;
|
ActorID: string;
|
||||||
|
/**
|
||||||
|
* Total volumetry in all commissions inside the truck.
|
||||||
|
*
|
||||||
|
* @generated from protobuf field: repeated api.QuantityByUnit TotalQuantities = 3
|
||||||
|
*/
|
||||||
|
TotalQuantities: QuantityByUnit[];
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Event message
|
* Event message
|
||||||
@@ -1377,7 +1390,8 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
|||||||
{ no: 14, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ },
|
{ no: 14, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ },
|
||||||
{ no: 16, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
|
{ no: 16, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
|
||||||
{ no: 17, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
|
{ no: 17, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
|
||||||
{ no: 18, name: "SiteName", kind: "scalar", localName: "SiteName", jsonName: "SiteName", T: 9 /*ScalarType.STRING*/ }
|
{ no: 18, name: "SiteName", kind: "scalar", localName: "SiteName", jsonName: "SiteName", T: 9 /*ScalarType.STRING*/ },
|
||||||
|
{ no: 19, name: "TotalQuantities", kind: "message", localName: "TotalQuantities", jsonName: "TotalQuantities", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByUnit }
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["AppointmentType"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created" });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["AppointmentType"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<AppointmentCreatedPayload>): AppointmentCreatedPayload {
|
create(value?: PartialMessage<AppointmentCreatedPayload>): AppointmentCreatedPayload {
|
||||||
@@ -1392,6 +1406,7 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
|||||||
message.InstructionAck = false;
|
message.InstructionAck = false;
|
||||||
message.ActorID = "";
|
message.ActorID = "";
|
||||||
message.SiteName = "";
|
message.SiteName = "";
|
||||||
|
message.TotalQuantities = [];
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<AppointmentCreatedPayload>(this, message, value);
|
reflectionMergePartial<AppointmentCreatedPayload>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -1437,6 +1452,9 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
|||||||
case /* string SiteName */ 18:
|
case /* string SiteName */ 18:
|
||||||
message.SiteName = reader.string();
|
message.SiteName = reader.string();
|
||||||
break;
|
break;
|
||||||
|
case /* repeated api.QuantityByUnit TotalQuantities */ 19:
|
||||||
|
message.TotalQuantities.push(QuantityByUnit.internalBinaryRead(reader, reader.uint32(), options));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -1485,6 +1503,9 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
|||||||
/* string SiteName = 18; */
|
/* string SiteName = 18; */
|
||||||
if (message.SiteName !== "")
|
if (message.SiteName !== "")
|
||||||
writer.tag(18, WireType.LengthDelimited).string(message.SiteName);
|
writer.tag(18, WireType.LengthDelimited).string(message.SiteName);
|
||||||
|
/* repeated api.QuantityByUnit TotalQuantities = 19; */
|
||||||
|
for (let i = 0; i < message.TotalQuantities.length; i++)
|
||||||
|
QuantityByUnit.internalBinaryWrite(message.TotalQuantities[i], writer.tag(19, WireType.LengthDelimited).fork(), options).join();
|
||||||
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);
|
||||||
@@ -2120,13 +2141,15 @@ class AppointmentCommissionsUpdatedPayload$Type extends MessageType<AppointmentC
|
|||||||
constructor() {
|
constructor() {
|
||||||
super("api.AppointmentCommissionsUpdatedPayload", [
|
super("api.AppointmentCommissionsUpdatedPayload", [
|
||||||
{ no: 2, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentCommission },
|
{ no: 2, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentCommission },
|
||||||
{ no: 1, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ }
|
{ no: 1, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
|
||||||
|
{ no: 3, name: "TotalQuantities", kind: "message", localName: "TotalQuantities", jsonName: "TotalQuantities", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByUnit }
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CommissionsUpdated" });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CommissionsUpdated" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<AppointmentCommissionsUpdatedPayload>): AppointmentCommissionsUpdatedPayload {
|
create(value?: PartialMessage<AppointmentCommissionsUpdatedPayload>): AppointmentCommissionsUpdatedPayload {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.Commissions = [];
|
message.Commissions = [];
|
||||||
message.ActorID = "";
|
message.ActorID = "";
|
||||||
|
message.TotalQuantities = [];
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<AppointmentCommissionsUpdatedPayload>(this, message, value);
|
reflectionMergePartial<AppointmentCommissionsUpdatedPayload>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -2142,6 +2165,9 @@ class AppointmentCommissionsUpdatedPayload$Type extends MessageType<AppointmentC
|
|||||||
case /* string ActorID */ 1:
|
case /* string ActorID */ 1:
|
||||||
message.ActorID = reader.string();
|
message.ActorID = reader.string();
|
||||||
break;
|
break;
|
||||||
|
case /* repeated api.QuantityByUnit TotalQuantities */ 3:
|
||||||
|
message.TotalQuantities.push(QuantityByUnit.internalBinaryRead(reader, reader.uint32(), options));
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -2160,6 +2186,9 @@ class AppointmentCommissionsUpdatedPayload$Type extends MessageType<AppointmentC
|
|||||||
/* repeated api.AppointmentCommission Commissions = 2; */
|
/* repeated api.AppointmentCommission Commissions = 2; */
|
||||||
for (let i = 0; i < message.Commissions.length; i++)
|
for (let i = 0; i < message.Commissions.length; i++)
|
||||||
AppointmentCommission.internalBinaryWrite(message.Commissions[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
AppointmentCommission.internalBinaryWrite(message.Commissions[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||||
|
/* repeated api.QuantityByUnit TotalQuantities = 3; */
|
||||||
|
for (let i = 0; i < message.TotalQuantities.length; i++)
|
||||||
|
QuantityByUnit.internalBinaryWrite(message.TotalQuantities[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||||
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-251210095139",
|
"version": "1.12.0-SNAPSHOT-251211085513",
|
||||||
"description": "npm libs from core model proto files",
|
"description": "npm libs from core model proto files",
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
|
|||||||
@@ -62,6 +62,10 @@ export interface Slot {
|
|||||||
* @generated from protobuf field: uint64 DurationInSeconds = 3
|
* @generated from protobuf field: uint64 DurationInSeconds = 3
|
||||||
*/
|
*/
|
||||||
DurationInSeconds: bigint;
|
DurationInSeconds: bigint;
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: string EndDateTime = 4
|
||||||
|
*/
|
||||||
|
EndDateTime: string;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Segmentation
|
* Segmentation
|
||||||
@@ -817,14 +821,16 @@ export const QuantityByUnit = new QuantityByUnit$Type();
|
|||||||
class Slot$Type extends MessageType<Slot> {
|
class Slot$Type extends MessageType<Slot> {
|
||||||
constructor() {
|
constructor() {
|
||||||
super("api.Slot", [
|
super("api.Slot", [
|
||||||
{ no: 1, name: "StartDateTime", kind: "scalar", localName: "StartDateTime", jsonName: "StartDateTime", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T[01][0-9]|2[0-3]:[0-5][0-9]:[0-5][0-9]$" } } } },
|
{ no: 1, name: "StartDateTime", kind: "scalar", localName: "StartDateTime", jsonName: "StartDateTime", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T[01][0-9]|2[0-3]:[0-5][0-9]:[0-5][0-9]$" } }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] } } },
|
||||||
{ no: 3, name: "DurationInSeconds", kind: "scalar", localName: "DurationInSeconds", jsonName: "DurationInSeconds", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }
|
{ no: 3, name: "DurationInSeconds", kind: "scalar", localName: "DurationInSeconds", jsonName: "DurationInSeconds", T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },
|
||||||
|
{ no: 4, name: "EndDateTime", kind: "scalar", localName: "EndDateTime", jsonName: "EndDateTime", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { pattern: "^20[0-9]{2}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T[01][0-9]|2[0-3]:[0-5][0-9]:[0-5][0-9]$" } }, "api.indexationType": { Types: [{ Context: "*", Type: "date" }] } } }
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<Slot>): Slot {
|
create(value?: PartialMessage<Slot>): Slot {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.StartDateTime = "";
|
message.StartDateTime = "";
|
||||||
message.DurationInSeconds = 0n;
|
message.DurationInSeconds = 0n;
|
||||||
|
message.EndDateTime = "";
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<Slot>(this, message, value);
|
reflectionMergePartial<Slot>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -840,6 +846,9 @@ class Slot$Type extends MessageType<Slot> {
|
|||||||
case /* uint64 DurationInSeconds */ 3:
|
case /* uint64 DurationInSeconds */ 3:
|
||||||
message.DurationInSeconds = reader.uint64().toBigInt();
|
message.DurationInSeconds = reader.uint64().toBigInt();
|
||||||
break;
|
break;
|
||||||
|
case /* string EndDateTime */ 4:
|
||||||
|
message.EndDateTime = reader.string();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -858,6 +867,9 @@ class Slot$Type extends MessageType<Slot> {
|
|||||||
/* uint64 DurationInSeconds = 3; */
|
/* uint64 DurationInSeconds = 3; */
|
||||||
if (message.DurationInSeconds !== 0n)
|
if (message.DurationInSeconds !== 0n)
|
||||||
writer.tag(3, WireType.Varint).uint64(message.DurationInSeconds);
|
writer.tag(3, WireType.Varint).uint64(message.DurationInSeconds);
|
||||||
|
/* string EndDateTime = 4; */
|
||||||
|
if (message.EndDateTime !== "")
|
||||||
|
writer.tag(4, WireType.LengthDelimited).string(message.EndDateTime);
|
||||||
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