You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -327,6 +327,10 @@ export interface AppointmentCommissionsUpdatedPayload {
|
||||
* @generated from protobuf field: repeated api.QuantityByUnit TotalQuantities = 3
|
||||
*/
|
||||
TotalQuantities: QuantityByUnit[];
|
||||
/**
|
||||
* @generated from protobuf field: string Reason = 4
|
||||
*/
|
||||
Reason: string;
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
@@ -2142,7 +2146,8 @@ class AppointmentCommissionsUpdatedPayload$Type extends MessageType<AppointmentC
|
||||
super("api.AppointmentCommissionsUpdatedPayload", [
|
||||
{ no: 2, name: "Commissions", kind: "message", localName: "Commissions", jsonName: "Commissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AppointmentCommission },
|
||||
{ no: 1, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "TotalQuantities", kind: "message", localName: "TotalQuantities", jsonName: "TotalQuantities", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByUnit }
|
||||
{ no: 3, name: "TotalQuantities", kind: "message", localName: "TotalQuantities", jsonName: "TotalQuantities", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByUnit },
|
||||
{ no: 4, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload" } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "CommissionsUpdated" });
|
||||
}
|
||||
create(value?: PartialMessage<AppointmentCommissionsUpdatedPayload>): AppointmentCommissionsUpdatedPayload {
|
||||
@@ -2150,6 +2155,7 @@ class AppointmentCommissionsUpdatedPayload$Type extends MessageType<AppointmentC
|
||||
message.Commissions = [];
|
||||
message.ActorID = "";
|
||||
message.TotalQuantities = [];
|
||||
message.Reason = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentCommissionsUpdatedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -2168,6 +2174,9 @@ class AppointmentCommissionsUpdatedPayload$Type extends MessageType<AppointmentC
|
||||
case /* repeated api.QuantityByUnit TotalQuantities */ 3:
|
||||
message.TotalQuantities.push(QuantityByUnit.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* string Reason */ 4:
|
||||
message.Reason = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -2189,6 +2198,9 @@ class AppointmentCommissionsUpdatedPayload$Type extends MessageType<AppointmentC
|
||||
/* repeated api.QuantityByUnit TotalQuantities = 3; */
|
||||
for (let i = 0; i < message.TotalQuantities.length; i++)
|
||||
QuantityByUnit.internalBinaryWrite(message.TotalQuantities[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string Reason = 4; */
|
||||
if (message.Reason !== "")
|
||||
writer.tag(4, WireType.LengthDelimited).string(message.Reason);
|
||||
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.12.0-SNAPSHOT-251212093316",
|
||||
"version": "1.12.0-SNAPSHOT-251212101019",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
Reference in New Issue
Block a user