You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -15,7 +15,7 @@ import { Slot } from "./slotbooking";
|
||||
import { CarrierInformationWithValue } from "./slotbooking";
|
||||
import { Segmentation } from "./slotbooking";
|
||||
import { QuantityByUnit } from "./slotbooking";
|
||||
import { Commission } from "./collabShared";
|
||||
import { Commission } from "./slotbooking";
|
||||
import { AppointmentType } from "./slotbooking";
|
||||
import { EntityID } from "./shared";
|
||||
import { EventHeader } from "./shared";
|
||||
|
||||
@@ -19,7 +19,7 @@ import { Slot } from "./slotbooking";
|
||||
import { CarrierInformationWithValue } from "./slotbooking";
|
||||
import { Segmentation } from "./slotbooking";
|
||||
import { QuantityByUnit } from "./slotbooking";
|
||||
import { Commission } from "./collabShared";
|
||||
import { Commission } from "./slotbooking";
|
||||
import { AppointmentType } from "./slotbooking";
|
||||
//
|
||||
// Created : this message tells that appointment is created
|
||||
|
||||
@@ -10,7 +10,6 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
||||
import type { PartialMessage } from "@protobuf-ts/runtime";
|
||||
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
||||
import { MessageType } from "@protobuf-ts/runtime";
|
||||
import { QuantityByUnit } from "./slotbooking";
|
||||
import { Struct } from "./google/protobuf/struct";
|
||||
import { DateTime } from "./shared";
|
||||
import { ClaimStatus } from "./shared";
|
||||
@@ -197,29 +196,6 @@ export interface AppointmentStatusStruct {
|
||||
*/
|
||||
Version: number;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.Commission
|
||||
*/
|
||||
export interface Commission {
|
||||
/**
|
||||
* Identifier for the project associated with the order
|
||||
*
|
||||
* @generated from protobuf field: string ProjectID = 1
|
||||
*/
|
||||
ProjectID: string;
|
||||
/**
|
||||
* ID of the order, might be null for standalone
|
||||
*
|
||||
* @generated from protobuf field: string OrderID = 2
|
||||
*/
|
||||
OrderID: string;
|
||||
/**
|
||||
* Volumetry inside the truck, should have at least one item listed
|
||||
*
|
||||
* @generated from protobuf field: repeated api.QuantityByUnit Quantities = 3
|
||||
*/
|
||||
Quantities: QuantityByUnit[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf enum api.NotifTypeEnum
|
||||
*/
|
||||
@@ -863,66 +839,3 @@ class AppointmentStatusStruct$Type extends MessageType<AppointmentStatusStruct>
|
||||
* @generated MessageType for protobuf message api.AppointmentStatusStruct
|
||||
*/
|
||||
export const AppointmentStatusStruct = new AppointmentStatusStruct$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class Commission$Type extends MessageType<Commission> {
|
||||
constructor() {
|
||||
super("api.Commission", [
|
||||
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "OrderID", kind: "scalar", localName: "OrderID", jsonName: "OrderID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "Quantities", kind: "message", localName: "Quantities", jsonName: "Quantities", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByUnit, options: { "validate.rules": { repeated: { minItems: "1" } } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<Commission>): Commission {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ProjectID = "";
|
||||
message.OrderID = "";
|
||||
message.Quantities = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<Commission>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Commission): Commission {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ProjectID */ 1:
|
||||
message.ProjectID = reader.string();
|
||||
break;
|
||||
case /* string OrderID */ 2:
|
||||
message.OrderID = reader.string();
|
||||
break;
|
||||
case /* repeated api.QuantityByUnit Quantities */ 3:
|
||||
message.Quantities.push(QuantityByUnit.internalBinaryRead(reader, reader.uint32(), options));
|
||||
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: Commission, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ProjectID = 1; */
|
||||
if (message.ProjectID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
|
||||
/* string OrderID = 2; */
|
||||
if (message.OrderID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.OrderID);
|
||||
/* repeated api.QuantityByUnit Quantities = 3; */
|
||||
for (let i = 0; i < message.Quantities.length; i++)
|
||||
QuantityByUnit.internalBinaryWrite(message.Quantities[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.Commission
|
||||
*/
|
||||
export const Commission = new Commission$Type();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.11.0-SNAPSHOT-250526122642",
|
||||
"version": "1.11.0-SNAPSHOT-250526135811",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
21
site.ts
21
site.ts
@@ -12,7 +12,8 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
|
||||
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
||||
import { MessageType } from "@protobuf-ts/runtime";
|
||||
import { Slot } from "./slotbooking";
|
||||
import { Commission } from "./collabShared";
|
||||
import { SlotGroup } from "./slotbooking";
|
||||
import { Commission } from "./slotbooking";
|
||||
import { AppointmentType } from "./slotbooking";
|
||||
import { RequestSiteHeader } from "./shared";
|
||||
import { RequestOrganisationHeader } from "./shared";
|
||||
@@ -437,9 +438,9 @@ export interface GetAvailableSlotsRequest {
|
||||
*/
|
||||
export interface GetAvailableSlotsResponse {
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.Slot Slots = 1
|
||||
* @generated from protobuf field: repeated api.SlotGroup SlotGroups = 1
|
||||
*/
|
||||
Slots: Slot[];
|
||||
SlotGroups: SlotGroup[]; // List of slot groups available for the current request
|
||||
}
|
||||
/**
|
||||
* BookAppointment
|
||||
@@ -1575,12 +1576,12 @@ export const GetAvailableSlotsRequest = new GetAvailableSlotsRequest$Type();
|
||||
class GetAvailableSlotsResponse$Type extends MessageType<GetAvailableSlotsResponse> {
|
||||
constructor() {
|
||||
super("api.GetAvailableSlotsResponse", [
|
||||
{ no: 1, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot }
|
||||
{ no: 1, name: "SlotGroups", kind: "message", localName: "SlotGroups", jsonName: "SlotGroups", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SlotGroup }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<GetAvailableSlotsResponse>): GetAvailableSlotsResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Slots = [];
|
||||
message.SlotGroups = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<GetAvailableSlotsResponse>(this, message, value);
|
||||
return message;
|
||||
@@ -1590,8 +1591,8 @@ class GetAvailableSlotsResponse$Type extends MessageType<GetAvailableSlotsRespon
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated api.Slot Slots */ 1:
|
||||
message.Slots.push(Slot.internalBinaryRead(reader, reader.uint32(), options));
|
||||
case /* repeated api.SlotGroup SlotGroups */ 1:
|
||||
message.SlotGroups.push(SlotGroup.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -1605,9 +1606,9 @@ class GetAvailableSlotsResponse$Type extends MessageType<GetAvailableSlotsRespon
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: GetAvailableSlotsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated api.Slot Slots = 1; */
|
||||
for (let i = 0; i < message.Slots.length; i++)
|
||||
Slot.internalBinaryWrite(message.Slots[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.SlotGroup SlotGroups = 1; */
|
||||
for (let i = 0; i < message.SlotGroups.length; i++)
|
||||
SlotGroup.internalBinaryWrite(message.SlotGroups[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
240
slotbooking.ts
240
slotbooking.ts
@@ -591,6 +591,57 @@ export interface SegmentationActorConstraint {
|
||||
*/
|
||||
AttributePath: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.Commission
|
||||
*/
|
||||
export interface Commission {
|
||||
/**
|
||||
* @generated from protobuf field: string ProjectID = 1
|
||||
*/
|
||||
ProjectID: string; // Identifier for the project associated with the order
|
||||
/**
|
||||
* @generated from protobuf field: string OrderID = 2
|
||||
*/
|
||||
OrderID: string; // ID of the order, might be null for standalone
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.QuantityByUnit Quantities = 3
|
||||
*/
|
||||
Quantities: QuantityByUnit[]; // Volumetry inside the truck, should have at least one item listed
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.Booking
|
||||
*/
|
||||
export interface Booking {
|
||||
/**
|
||||
* @generated from protobuf field: api.AppointmentType AppointmentType = 1
|
||||
*/
|
||||
AppointmentType: AppointmentType;
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.Commission Commissions = 2
|
||||
*/
|
||||
Commissions: Commission[];
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.Segmentation Segmentations = 3
|
||||
*/
|
||||
Segmentations: Segmentation[];
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.Slot Slots = 4
|
||||
*/
|
||||
Slots: Slot[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.SlotGroup
|
||||
*/
|
||||
export interface SlotGroup {
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.Slot Slots = 1
|
||||
*/
|
||||
Slots: Slot[]; // List of slots belonging to the group
|
||||
/**
|
||||
* @generated from protobuf field: uint32 Availability = 2
|
||||
*/
|
||||
Availability: number; // Availability of the slot group according to site configuration and current bookings (0: no longer available, 100: fully available)
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf enum api.AppointmentType
|
||||
*/
|
||||
@@ -2331,3 +2382,192 @@ class SegmentationActorConstraint$Type extends MessageType<SegmentationActorCons
|
||||
* @generated MessageType for protobuf message api.SegmentationActorConstraint
|
||||
*/
|
||||
export const SegmentationActorConstraint = new SegmentationActorConstraint$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class Commission$Type extends MessageType<Commission> {
|
||||
constructor() {
|
||||
super("api.Commission", [
|
||||
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "OrderID", kind: "scalar", localName: "OrderID", jsonName: "OrderID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "Quantities", kind: "message", localName: "Quantities", jsonName: "Quantities", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByUnit, options: { "validate.rules": { repeated: { minItems: "1" } } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<Commission>): Commission {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ProjectID = "";
|
||||
message.OrderID = "";
|
||||
message.Quantities = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<Commission>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Commission): Commission {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string ProjectID */ 1:
|
||||
message.ProjectID = reader.string();
|
||||
break;
|
||||
case /* string OrderID */ 2:
|
||||
message.OrderID = reader.string();
|
||||
break;
|
||||
case /* repeated api.QuantityByUnit Quantities */ 3:
|
||||
message.Quantities.push(QuantityByUnit.internalBinaryRead(reader, reader.uint32(), options));
|
||||
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: Commission, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string ProjectID = 1; */
|
||||
if (message.ProjectID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
|
||||
/* string OrderID = 2; */
|
||||
if (message.OrderID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.OrderID);
|
||||
/* repeated api.QuantityByUnit Quantities = 3; */
|
||||
for (let i = 0; i < message.Quantities.length; i++)
|
||||
QuantityByUnit.internalBinaryWrite(message.Quantities[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.Commission
|
||||
*/
|
||||
export const Commission = new Commission$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class Booking$Type extends MessageType<Booking> {
|
||||
constructor() {
|
||||
super("api.Booking", [
|
||||
{ no: 1, name: "AppointmentType", kind: "enum", localName: "AppointmentType", jsonName: "AppointmentType", T: () => ["api.AppointmentType", AppointmentType] },
|
||||
{ no: 2, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Commission },
|
||||
{ no: 3, name: "Segmentations", kind: "message", localName: "Segmentations", jsonName: "Segmentations", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Segmentation },
|
||||
{ no: 4, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<Booking>): Booking {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.AppointmentType = 0;
|
||||
message.Commissions = [];
|
||||
message.Segmentations = [];
|
||||
message.Slots = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<Booking>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Booking): Booking {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.AppointmentType AppointmentType */ 1:
|
||||
message.AppointmentType = reader.int32();
|
||||
break;
|
||||
case /* repeated api.Commission Commissions */ 2:
|
||||
message.Commissions.push(Commission.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.Segmentation Segmentations */ 3:
|
||||
message.Segmentations.push(Segmentation.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.Slot Slots */ 4:
|
||||
message.Slots.push(Slot.internalBinaryRead(reader, reader.uint32(), options));
|
||||
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: Booking, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.AppointmentType AppointmentType = 1; */
|
||||
if (message.AppointmentType !== 0)
|
||||
writer.tag(1, WireType.Varint).int32(message.AppointmentType);
|
||||
/* repeated api.Commission Commissions = 2; */
|
||||
for (let i = 0; i < message.Commissions.length; i++)
|
||||
Commission.internalBinaryWrite(message.Commissions[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.Segmentation Segmentations = 3; */
|
||||
for (let i = 0; i < message.Segmentations.length; i++)
|
||||
Segmentation.internalBinaryWrite(message.Segmentations[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.Slot Slots = 4; */
|
||||
for (let i = 0; i < message.Slots.length; i++)
|
||||
Slot.internalBinaryWrite(message.Slots[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.Booking
|
||||
*/
|
||||
export const Booking = new Booking$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class SlotGroup$Type extends MessageType<SlotGroup> {
|
||||
constructor() {
|
||||
super("api.SlotGroup", [
|
||||
{ no: 1, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot },
|
||||
{ no: 2, name: "Availability", kind: "scalar", localName: "Availability", jsonName: "Availability", T: 13 /*ScalarType.UINT32*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<SlotGroup>): SlotGroup {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.Slots = [];
|
||||
message.Availability = 0;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<SlotGroup>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SlotGroup): SlotGroup {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* repeated api.Slot Slots */ 1:
|
||||
message.Slots.push(Slot.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* uint32 Availability */ 2:
|
||||
message.Availability = reader.uint32();
|
||||
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: SlotGroup, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* repeated api.Slot Slots = 1; */
|
||||
for (let i = 0; i < message.Slots.length; i++)
|
||||
Slot.internalBinaryWrite(message.Slots[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* uint32 Availability = 2; */
|
||||
if (message.Availability !== 0)
|
||||
writer.tag(2, WireType.Varint).uint32(message.Availability);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.SlotGroup
|
||||
*/
|
||||
export const SlotGroup = new SlotGroup$Type();
|
||||
|
||||
Reference in New Issue
Block a user