You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -320,6 +320,10 @@ export interface ActorWMSUpdatedPayload {
|
||||
* @generated from protobuf field: repeated string Phones = 6
|
||||
*/
|
||||
Phones: string[];
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.MetadataElement MetaData = 7
|
||||
*/
|
||||
MetaData: MetadataElement[];
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
@@ -1986,7 +1990,8 @@ class ActorWMSUpdatedPayload$Type extends MessageType<ActorWMSUpdatedPayload> {
|
||||
{ no: 3, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
|
||||
{ no: 4, name: "AdditionalInformation", kind: "scalar", localName: "AdditionalInformation", jsonName: "AdditionalInformation", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 5, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Must be a valid email address", example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } },
|
||||
{ no: 6, name: "Phones", kind: "scalar", localName: "Phones", jsonName: "Phones", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"06 00 00 00 00\", \"+49 00 0000 0000\"]" } } }
|
||||
{ no: 6, name: "Phones", kind: "scalar", localName: "Phones", jsonName: "Phones", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"06 00 00 00 00\", \"+49 00 0000 0000\"]" } } },
|
||||
{ no: 7, name: "MetaData", kind: "message", localName: "MetaData", jsonName: "MetaData", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MetadataElement, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Metadata are characteristics specific to the project. They can be of several data form (string, integer, float, boolean or timestamp)" }, "api.metadata": true, "api.aggKey": "Key" } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "WMSUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<ActorWMSUpdatedPayload>): ActorWMSUpdatedPayload {
|
||||
@@ -1996,6 +2001,7 @@ class ActorWMSUpdatedPayload$Type extends MessageType<ActorWMSUpdatedPayload> {
|
||||
message.AdditionalInformation = "";
|
||||
message.Emails = [];
|
||||
message.Phones = [];
|
||||
message.MetaData = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ActorWMSUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -2023,6 +2029,9 @@ class ActorWMSUpdatedPayload$Type extends MessageType<ActorWMSUpdatedPayload> {
|
||||
case /* repeated string Phones */ 6:
|
||||
message.Phones.push(reader.string());
|
||||
break;
|
||||
case /* repeated api.MetadataElement MetaData */ 7:
|
||||
message.MetaData.push(MetadataElement.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -2053,6 +2062,9 @@ class ActorWMSUpdatedPayload$Type extends MessageType<ActorWMSUpdatedPayload> {
|
||||
/* repeated string Phones = 6; */
|
||||
for (let i = 0; i < message.Phones.length; i++)
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.Phones[i]);
|
||||
/* repeated api.MetadataElement MetaData = 7; */
|
||||
for (let i = 0; i < message.MetaData.length; i++)
|
||||
MetadataElement.internalBinaryWrite(message.MetaData[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.15.0-SNAPSHOT-260901065228",
|
||||
"version": "1.15.0-SNAPSHOT-260902133640",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
Reference in New Issue
Block a user