You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -690,6 +690,10 @@ export interface HandlingunitParentHUUpdatedPayload {
|
||||
* @generated from protobuf field: string ParentHU = 1
|
||||
*/
|
||||
ParentHU: string;
|
||||
/**
|
||||
* @generated from protobuf field: string ParentHUReference = 2
|
||||
*/
|
||||
ParentHUReference: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.HandlingunitParentHUUpdatedEvent
|
||||
@@ -3285,12 +3289,14 @@ export const HandlingunitMetaDataUpdatedResponse = new HandlingunitMetaDataUpdat
|
||||
class HandlingunitParentHUUpdatedPayload$Type extends MessageType<HandlingunitParentHUUpdatedPayload> {
|
||||
constructor() {
|
||||
super("api.HandlingunitParentHUUpdatedPayload", [
|
||||
{ no: 1, name: "ParentHU", kind: "scalar", localName: "ParentHU", jsonName: "ParentHU", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "HU parent for this HU" } } }
|
||||
{ no: 1, name: "ParentHU", kind: "scalar", localName: "ParentHU", jsonName: "ParentHU", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "HU parent for this HU" } } },
|
||||
{ no: 2, name: "ParentHUReference", kind: "scalar", localName: "ParentHUReference", jsonName: "ParentHUReference", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "HU parent reference for this HU" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Update the list of Parents for this HU", required: ["ParentHUs"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "ParentHUUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<HandlingunitParentHUUpdatedPayload>): HandlingunitParentHUUpdatedPayload {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.ParentHU = "";
|
||||
message.ParentHUReference = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<HandlingunitParentHUUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -3303,6 +3309,9 @@ class HandlingunitParentHUUpdatedPayload$Type extends MessageType<HandlingunitPa
|
||||
case /* string ParentHU */ 1:
|
||||
message.ParentHU = reader.string();
|
||||
break;
|
||||
case /* string ParentHUReference */ 2:
|
||||
message.ParentHUReference = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -3318,6 +3327,9 @@ class HandlingunitParentHUUpdatedPayload$Type extends MessageType<HandlingunitPa
|
||||
/* string ParentHU = 1; */
|
||||
if (message.ParentHU !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.ParentHU);
|
||||
/* string ParentHUReference = 2; */
|
||||
if (message.ParentHUReference !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.ParentHUReference);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user