You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -17,7 +17,6 @@ import { ResponseHeader } from "./shared";
|
||||
import { RequestProjectHeader } from "./shared";
|
||||
import { EntityID } from "./shared";
|
||||
import { EventHeader } from "./shared";
|
||||
import { AckDocument } from "./slotbooking";
|
||||
import { AppointmentContent } from "./slotbooking";
|
||||
import { Address } from "./repositoryShared";
|
||||
import { Slot } from "./slotbooking";
|
||||
@@ -136,10 +135,6 @@ export interface AppointmentCreatedPayload {
|
||||
* @generated from protobuf field: repeated string Attendees = 27
|
||||
*/
|
||||
Attendees: string[];
|
||||
/**
|
||||
* @generated from protobuf field: repeated api.AckDocument AckDocuments = 29
|
||||
*/
|
||||
AckDocuments: AckDocument[];
|
||||
}
|
||||
/**
|
||||
* Event message
|
||||
@@ -1972,8 +1967,7 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
||||
{ no: 20, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 25, name: "Loading", kind: "message", localName: "Loading", jsonName: "Loading", T: () => AppointmentContent },
|
||||
{ no: 26, name: "Unloading", kind: "message", localName: "Unloading", jsonName: "Unloading", T: () => AppointmentContent },
|
||||
{ no: 27, name: "Attendees", kind: "scalar", localName: "Attendees", jsonName: "Attendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { minItems: "1", items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Some attendees added on the appointment (user uuid)" } } },
|
||||
{ no: 29, name: "AckDocuments", kind: "message", localName: "AckDocuments", jsonName: "AckDocuments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AckDocument }
|
||||
{ no: 27, name: "Attendees", kind: "scalar", localName: "Attendees", jsonName: "Attendees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { repeated: { minItems: "1", items: { string: { pattern: "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$" } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Some attendees added on the appointment (user uuid)" } } }
|
||||
], { "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 {
|
||||
@@ -1988,7 +1982,6 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
||||
message.SiteName = "";
|
||||
message.TimeZone = "";
|
||||
message.Attendees = [];
|
||||
message.AckDocuments = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<AppointmentCreatedPayload>(this, message, value);
|
||||
return message;
|
||||
@@ -2040,9 +2033,6 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
||||
case /* repeated string Attendees */ 27:
|
||||
message.Attendees.push(reader.string());
|
||||
break;
|
||||
case /* repeated api.AckDocument AckDocuments */ 29:
|
||||
message.AckDocuments.push(AckDocument.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -2097,9 +2087,6 @@ class AppointmentCreatedPayload$Type extends MessageType<AppointmentCreatedPaylo
|
||||
/* repeated api.MetadataElement SegmentationKeys = 28; */
|
||||
for (let i = 0; i < message.SegmentationKeys.length; i++)
|
||||
MetadataElement.internalBinaryWrite(message.SegmentationKeys[i], writer.tag(28, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.AckDocument AckDocuments = 29; */
|
||||
for (let i = 0; i < message.AckDocuments.length; i++)
|
||||
AckDocument.internalBinaryWrite(message.AckDocuments[i], writer.tag(29, 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