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 { reflectionMergePartial } from "@protobuf-ts/runtime";
|
||||
import { MessageType } from "@protobuf-ts/runtime";
|
||||
import { AppointmentSummary } from "./shared";
|
||||
import { ClaimSummary } from "./shared";
|
||||
import { AttachmentSummary } from "./shared";
|
||||
import { PartnerPayload } from "./partner";
|
||||
@@ -408,6 +409,10 @@ export interface ExecutionflowSummary {
|
||||
* @generated from protobuf field: int32 ClaimNumber = 21
|
||||
*/
|
||||
ClaimNumber: number;
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.AppointmentSummary Appointments = 22
|
||||
*/
|
||||
Appointments: AppointmentSummary[];
|
||||
}
|
||||
/**
|
||||
* Not a GS1 Object.
|
||||
@@ -1579,7 +1584,8 @@ class ExecutionflowSummary$Type extends MessageType<ExecutionflowSummary> {
|
||||
{ no: 18, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of executionflow attachments per type" } } },
|
||||
{ no: 19, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of executionflow attachments" } } },
|
||||
{ no: 20, name: "Claims", kind: "message", localName: "Claims", jsonName: "Claims", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of executionflow claims per type" } } },
|
||||
{ no: 21, name: "ClaimNumber", kind: "scalar", localName: "ClaimNumber", jsonName: "ClaimNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of executionflow claims" } } }
|
||||
{ no: 21, name: "ClaimNumber", kind: "scalar", localName: "ClaimNumber", jsonName: "ClaimNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of executionflow claims" } } },
|
||||
{ no: 22, name: "Appointments", kind: "message", localName: "Appointments", jsonName: "Appointments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "List of appointments attached to the executionflow" }, "api.aggSkip": "ExecutionflowUpdated" } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ExecutionflowID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<ExecutionflowSummary>): ExecutionflowSummary {
|
||||
@@ -1589,6 +1595,7 @@ class ExecutionflowSummary$Type extends MessageType<ExecutionflowSummary> {
|
||||
message.AttachmentNumber = 0;
|
||||
message.Claims = [];
|
||||
message.ClaimNumber = 0;
|
||||
message.Appointments = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExecutionflowSummary>(this, message, value);
|
||||
return message;
|
||||
@@ -1625,6 +1632,9 @@ class ExecutionflowSummary$Type extends MessageType<ExecutionflowSummary> {
|
||||
case /* int32 ClaimNumber */ 21:
|
||||
message.ClaimNumber = reader.int32();
|
||||
break;
|
||||
case /* repeated api.AppointmentSummary Appointments */ 22:
|
||||
message.Appointments.push(AppointmentSummary.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1664,6 +1674,9 @@ class ExecutionflowSummary$Type extends MessageType<ExecutionflowSummary> {
|
||||
/* int32 ClaimNumber = 21; */
|
||||
if (message.ClaimNumber !== 0)
|
||||
writer.tag(21, WireType.Varint).int32(message.ClaimNumber);
|
||||
/* repeated api.AppointmentSummary Appointments = 22; */
|
||||
for (let i = 0; i < message.Appointments.length; i++)
|
||||
AppointmentSummary.internalBinaryWrite(message.Appointments[i], writer.tag(22, 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