You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -103,6 +103,12 @@ export interface AppointmentCreatedPayload {
|
|||||||
* @generated from protobuf field: api.Address Address = 17
|
* @generated from protobuf field: api.Address Address = 17
|
||||||
*/
|
*/
|
||||||
Address?: Address;
|
Address?: Address;
|
||||||
|
/**
|
||||||
|
* Name of the appointment site
|
||||||
|
*
|
||||||
|
* @generated from protobuf field: string SiteName = 18
|
||||||
|
*/
|
||||||
|
SiteName: string;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Event message
|
* Event message
|
||||||
@@ -1375,7 +1381,8 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
|||||||
{ no: 13, name: "HasCommission", kind: "scalar", localName: "HasCommission", jsonName: "HasCommission", T: 8 /*ScalarType.BOOL*/ },
|
{ no: 13, name: "HasCommission", kind: "scalar", localName: "HasCommission", jsonName: "HasCommission", T: 8 /*ScalarType.BOOL*/ },
|
||||||
{ no: 14, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ },
|
{ no: 14, name: "InstructionAck", kind: "scalar", localName: "InstructionAck", jsonName: "InstructionAck", T: 8 /*ScalarType.BOOL*/ },
|
||||||
{ no: 16, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
|
{ no: 16, name: "ActorID", kind: "scalar", localName: "ActorID", jsonName: "ActorID", T: 9 /*ScalarType.STRING*/ },
|
||||||
{ no: 17, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address }
|
{ no: 17, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
|
||||||
|
{ no: 18, name: "SiteName", kind: "scalar", localName: "SiteName", jsonName: "SiteName", T: 9 /*ScalarType.STRING*/ }
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["AppointmentType"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created" });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Event Payload", required: ["AppointmentType"] } }, "api.messageType": "Event", "api.payload": true, "api.inputEvent": "Created" });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<AppointmentCreatedPayload>): AppointmentCreatedPayload {
|
create(value?: PartialMessage<AppointmentCreatedPayload>): AppointmentCreatedPayload {
|
||||||
@@ -1390,6 +1397,7 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
|||||||
message.HasCommission = false;
|
message.HasCommission = false;
|
||||||
message.InstructionAck = false;
|
message.InstructionAck = false;
|
||||||
message.ActorID = "";
|
message.ActorID = "";
|
||||||
|
message.SiteName = "";
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<AppointmentCreatedPayload>(this, message, value);
|
reflectionMergePartial<AppointmentCreatedPayload>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -1435,6 +1443,9 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
|||||||
case /* api.Address Address */ 17:
|
case /* api.Address Address */ 17:
|
||||||
message.Address = Address.internalBinaryRead(reader, reader.uint32(), options, message.Address);
|
message.Address = Address.internalBinaryRead(reader, reader.uint32(), options, message.Address);
|
||||||
break;
|
break;
|
||||||
|
case /* string SiteName */ 18:
|
||||||
|
message.SiteName = reader.string();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -1483,6 +1494,9 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
|||||||
/* api.Address Address = 17; */
|
/* api.Address Address = 17; */
|
||||||
if (message.Address)
|
if (message.Address)
|
||||||
Address.internalBinaryWrite(message.Address, writer.tag(17, WireType.LengthDelimited).fork(), options).join();
|
Address.internalBinaryWrite(message.Address, writer.tag(17, WireType.LengthDelimited).fork(), options).join();
|
||||||
|
/* string SiteName = 18; */
|
||||||
|
if (message.SiteName !== "")
|
||||||
|
writer.tag(18, WireType.LengthDelimited).string(message.SiteName);
|
||||||
let u = options.writeUnknownFields;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"name": "@reflex-platform/npm-core-sdk",
|
||||||
"version": "1.12.0-SNAPSHOT-251201090632",
|
"version": "1.12.0-SNAPSHOT-251201091850",
|
||||||
"description": "npm libs from core model proto files",
|
"description": "npm libs from core model proto files",
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user