You've already forked npm-core-sdk
Latest generation
This commit is contained in:
14
site.ts
14
site.ts
@@ -737,6 +737,10 @@ export interface SegmentationsByType {
|
||||
* @generated from protobuf field: repeated api.SegmentationFilter Segmentations = 2
|
||||
*/
|
||||
Segmentations: SegmentationFilter[];
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.PrjMetadata SegmentationKeys = 3
|
||||
*/
|
||||
SegmentationKeys: PrjMetadata[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.DeleteSettingsRequest
|
||||
@@ -3143,13 +3147,15 @@ class SegmentationsByType$Type extends MessageType<SegmentationsByType> {
|
||||
constructor() {
|
||||
super("api.SegmentationsByType", [
|
||||
{ no: 1, name: "AppointmentType", kind: "enum", localName: "AppointmentType", jsonName: "AppointmentType", T: () => ["api.AppointmentType", AppointmentType] },
|
||||
{ no: 2, name: "Segmentations", kind: "message", localName: "Segmentations", jsonName: "Segmentations", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationFilter }
|
||||
{ no: 2, name: "Segmentations", kind: "message", localName: "Segmentations", jsonName: "Segmentations", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationFilter },
|
||||
{ no: 3, name: "SegmentationKeys", kind: "message", localName: "SegmentationKeys", jsonName: "SegmentationKeys", repeat: 2 /*RepeatType.UNPACKED*/, T: () => PrjMetadata }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<SegmentationsByType>): SegmentationsByType {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.AppointmentType = 0;
|
||||
message.Segmentations = [];
|
||||
message.SegmentationKeys = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<SegmentationsByType>(this, message, value);
|
||||
return message;
|
||||
@@ -3165,6 +3171,9 @@ class SegmentationsByType$Type extends MessageType<SegmentationsByType> {
|
||||
case /* repeated api.SegmentationFilter Segmentations */ 2:
|
||||
message.Segmentations.push(SegmentationFilter.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.PrjMetadata SegmentationKeys */ 3:
|
||||
message.SegmentationKeys.push(PrjMetadata.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -3183,6 +3192,9 @@ class SegmentationsByType$Type extends MessageType<SegmentationsByType> {
|
||||
/* repeated api.SegmentationFilter Segmentations = 2; */
|
||||
for (let i = 0; i < message.Segmentations.length; i++)
|
||||
SegmentationFilter.internalBinaryWrite(message.Segmentations[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.PrjMetadata SegmentationKeys = 3; */
|
||||
for (let i = 0; i < message.SegmentationKeys.length; i++)
|
||||
PrjMetadata.internalBinaryWrite(message.SegmentationKeys[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);
|
||||
|
||||
Reference in New Issue
Block a user