You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.11.0-SNAPSHOT-250723125926",
|
||||
"version": "1.11.0-SNAPSHOT-250723135249",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -8,8 +8,12 @@ import type { DeleteSiteInDBResult } from "./site";
|
||||
import type { DeleteSiteInDBRequest } from "./site";
|
||||
import type { UpdateSiteStatusResult } from "./site";
|
||||
import type { UpdateSiteStatusRequest } from "./site";
|
||||
import type { ModifyAppointmentDateResponse } from "./site";
|
||||
import type { ModifyAppointmentDateRequest } from "./site";
|
||||
import type { CancelAppointmentResponse } from "./site";
|
||||
import type { CancelAppointmentRequest } from "./site";
|
||||
import type { WMSBookAppointmentNoReferenceRequest } from "./site";
|
||||
import type { BookAppointmentNoReferenceRequest } from "./site";
|
||||
import type { WMSBookAppointmentRequest } from "./site";
|
||||
import type { BookAppointmentResponse } from "./site";
|
||||
import type { BookAppointmentRequest } from "./site";
|
||||
@@ -109,10 +113,26 @@ export interface ISiteServiceClient {
|
||||
* @generated from protobuf rpc: WMSForceBookAppointment
|
||||
*/
|
||||
wMSForceBookAppointment(input: WMSBookAppointmentRequest, options?: RpcOptions): UnaryCall<WMSBookAppointmentRequest, BookAppointmentResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: BookAppointmentNoReference
|
||||
*/
|
||||
bookAppointmentNoReference(input: BookAppointmentNoReferenceRequest, options?: RpcOptions): UnaryCall<BookAppointmentNoReferenceRequest, BookAppointmentResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: ForceBookAppointmentNoReference
|
||||
*/
|
||||
forceBookAppointmentNoReference(input: BookAppointmentNoReferenceRequest, options?: RpcOptions): UnaryCall<BookAppointmentNoReferenceRequest, BookAppointmentResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: WMSForceBookAppointmentNoReference
|
||||
*/
|
||||
wMSForceBookAppointmentNoReference(input: WMSBookAppointmentNoReferenceRequest, options?: RpcOptions): UnaryCall<WMSBookAppointmentNoReferenceRequest, BookAppointmentResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: CancelAppointment
|
||||
*/
|
||||
cancelAppointment(input: CancelAppointmentRequest, options?: RpcOptions): UnaryCall<CancelAppointmentRequest, CancelAppointmentResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: ModifyAppointmentDate
|
||||
*/
|
||||
modifyAppointmentDate(input: ModifyAppointmentDateRequest, options?: RpcOptions): UnaryCall<ModifyAppointmentDateRequest, ModifyAppointmentDateResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: UpdateStatus
|
||||
*/
|
||||
@@ -243,25 +263,53 @@ export class SiteServiceClient implements ISiteServiceClient, ServiceInfo {
|
||||
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<WMSBookAppointmentRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: BookAppointmentNoReference
|
||||
*/
|
||||
bookAppointmentNoReference(input: BookAppointmentNoReferenceRequest, options?: RpcOptions): UnaryCall<BookAppointmentNoReferenceRequest, BookAppointmentResponse> {
|
||||
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<BookAppointmentNoReferenceRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: ForceBookAppointmentNoReference
|
||||
*/
|
||||
forceBookAppointmentNoReference(input: BookAppointmentNoReferenceRequest, options?: RpcOptions): UnaryCall<BookAppointmentNoReferenceRequest, BookAppointmentResponse> {
|
||||
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<BookAppointmentNoReferenceRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: WMSForceBookAppointmentNoReference
|
||||
*/
|
||||
wMSForceBookAppointmentNoReference(input: WMSBookAppointmentNoReferenceRequest, options?: RpcOptions): UnaryCall<WMSBookAppointmentNoReferenceRequest, BookAppointmentResponse> {
|
||||
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<WMSBookAppointmentNoReferenceRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: CancelAppointment
|
||||
*/
|
||||
cancelAppointment(input: CancelAppointmentRequest, options?: RpcOptions): UnaryCall<CancelAppointmentRequest, CancelAppointmentResponse> {
|
||||
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<CancelAppointmentRequest, CancelAppointmentResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: ModifyAppointmentDate
|
||||
*/
|
||||
modifyAppointmentDate(input: ModifyAppointmentDateRequest, options?: RpcOptions): UnaryCall<ModifyAppointmentDateRequest, ModifyAppointmentDateResponse> {
|
||||
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<ModifyAppointmentDateRequest, ModifyAppointmentDateResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: UpdateStatus
|
||||
*/
|
||||
updateStatus(input: UpdateSiteStatusRequest, options?: RpcOptions): UnaryCall<UpdateSiteStatusRequest, UpdateSiteStatusResult> {
|
||||
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<UpdateSiteStatusRequest, UpdateSiteStatusResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: DeleteSiteInDB
|
||||
*/
|
||||
deleteSiteInDB(input: DeleteSiteInDBRequest, options?: RpcOptions): UnaryCall<DeleteSiteInDBRequest, DeleteSiteInDBResult> {
|
||||
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<DeleteSiteInDBRequest, DeleteSiteInDBResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
528
site.ts
528
site.ts
@@ -11,6 +11,7 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
||||
import type { PartialMessage } from "@protobuf-ts/runtime";
|
||||
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
||||
import { MessageType } from "@protobuf-ts/runtime";
|
||||
import { QuantityByUnit } from "./slotbooking";
|
||||
import { Slot } from "./slotbooking";
|
||||
import { CarrierInformationWithValue } from "./slotbooking";
|
||||
import { SlotGroup } from "./slotbooking";
|
||||
@@ -665,6 +666,72 @@ export interface BookAppointmentRequest {
|
||||
*/
|
||||
CarrierName: string;
|
||||
}
|
||||
/**
|
||||
* BookAppointment
|
||||
*
|
||||
* @generated from protobuf message api.BookAppointmentNoReferenceRequest
|
||||
*/
|
||||
export interface BookAppointmentNoReferenceRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestSiteHeader Header = 1
|
||||
*/
|
||||
Header?: RequestSiteHeader;
|
||||
/**
|
||||
* Type of appointment : Expedition / Reception / Both
|
||||
*
|
||||
* @generated from protobuf field: api.AppointmentType AppointmentType = 2
|
||||
*/
|
||||
AppointmentType: AppointmentType;
|
||||
/**
|
||||
* Project for which the appointment is made, with the quantities
|
||||
*
|
||||
* @generated from protobuf field: string ProjectID = 3
|
||||
*/
|
||||
ProjectID: string;
|
||||
/**
|
||||
* quantities
|
||||
*
|
||||
* @generated from protobuf field: repeated api.QuantityByUnit Quantities = 4
|
||||
*/
|
||||
Quantities: QuantityByUnit[]; // Volumetry inside the truck, should have at least one item listed.
|
||||
/**
|
||||
* Set of segmentation constraining the slot booking
|
||||
*
|
||||
* @generated from protobuf field: repeated api.SegmentationSelection SegmentationSelections = 5
|
||||
*/
|
||||
SegmentationSelections: SegmentationSelection[];
|
||||
/**
|
||||
* Required carrierInformation, some can be obligatory
|
||||
*
|
||||
* @generated from protobuf field: repeated api.CarrierInformationWithValue CarrierInformation = 6
|
||||
*/
|
||||
CarrierInformation: CarrierInformationWithValue[];
|
||||
/**
|
||||
* The slot to book for the appointment
|
||||
*
|
||||
* @generated from protobuf field: repeated api.Slot Slots = 7
|
||||
*/
|
||||
Slots: Slot[];
|
||||
/**
|
||||
* TODO Need to add a structure to store platform user identifiers which can act on this appointment ?
|
||||
* User mails being notified on this appointment
|
||||
*
|
||||
* @generated from protobuf field: repeated string Emails = 8
|
||||
*/
|
||||
Emails: string[];
|
||||
/**
|
||||
* The carrier identifier who requests to book the appointment
|
||||
*
|
||||
* @generated from protobuf field: string CarrierID = 9
|
||||
*/
|
||||
CarrierID: string;
|
||||
/**
|
||||
* The carrier name who requests to book the appointment
|
||||
*
|
||||
* @generated from protobuf field: string CarrierName = 10
|
||||
*/
|
||||
CarrierName: string;
|
||||
}
|
||||
/**
|
||||
* BookAppointment
|
||||
*
|
||||
@@ -731,6 +798,78 @@ export interface WMSBookAppointmentRequest {
|
||||
*/
|
||||
TimeZone: string;
|
||||
}
|
||||
/**
|
||||
* BookAppointment
|
||||
*
|
||||
* @generated from protobuf message api.WMSBookAppointmentNoReferenceRequest
|
||||
*/
|
||||
export interface WMSBookAppointmentNoReferenceRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestSiteHeader Header = 1
|
||||
*/
|
||||
Header?: RequestSiteHeader;
|
||||
/**
|
||||
* Type of appointment : Expedition / Reception / Both
|
||||
*
|
||||
* @generated from protobuf field: api.AppointmentType AppointmentType = 2
|
||||
*/
|
||||
AppointmentType: AppointmentType;
|
||||
/**
|
||||
* Project for which the appointment is made, with the quantities
|
||||
*
|
||||
* @generated from protobuf field: string ProjectID = 3
|
||||
*/
|
||||
ProjectID: string;
|
||||
/**
|
||||
* quantities
|
||||
*
|
||||
* @generated from protobuf field: repeated api.QuantityByUnit Quantities = 4
|
||||
*/
|
||||
Quantities: QuantityByUnit[]; // Volumetry inside the truck, should have at least one item listed.
|
||||
/**
|
||||
* Set of segmentation constraining the slot booking
|
||||
*
|
||||
* @generated from protobuf field: repeated api.SegmentationSelection SegmentationSelections = 5
|
||||
*/
|
||||
SegmentationSelections: SegmentationSelection[];
|
||||
/**
|
||||
* Required carrierInformation, some can be obligatory
|
||||
*
|
||||
* @generated from protobuf field: repeated api.CarrierInformationWithValue CarrierInformation = 6
|
||||
*/
|
||||
CarrierInformation: CarrierInformationWithValue[];
|
||||
/**
|
||||
* The slot to book for the appointment
|
||||
*
|
||||
* @generated from protobuf field: repeated api.Slot Slots = 7
|
||||
*/
|
||||
Slots: Slot[];
|
||||
/**
|
||||
* TODO Need to add a structure to store platform user identifiers which can act on this appointment ?
|
||||
* User mails being notified on this appointment
|
||||
*
|
||||
* @generated from protobuf field: repeated string Emails = 8
|
||||
*/
|
||||
Emails: string[];
|
||||
/**
|
||||
* The carrier identifier who requests to book the appointment
|
||||
*
|
||||
* @generated from protobuf field: string CarrierID = 9
|
||||
*/
|
||||
CarrierID: string;
|
||||
/**
|
||||
* The carrier name who requests to book the appointment
|
||||
*
|
||||
* @generated from protobuf field: string CarrierName = 10
|
||||
*/
|
||||
CarrierName: string;
|
||||
/**
|
||||
* time zone, useful only if a WMS send a message
|
||||
*
|
||||
* @generated from protobuf field: string TimeZone = 11
|
||||
*/
|
||||
TimeZone: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.BookAppointmentResponse
|
||||
*/
|
||||
@@ -764,6 +903,34 @@ export interface CancelAppointmentResponse {
|
||||
*/
|
||||
AppointmentID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ModifyAppointmentDateRequest
|
||||
*/
|
||||
export interface ModifyAppointmentDateRequest {
|
||||
/**
|
||||
* @generated from protobuf field: api.RequestSiteHeader Header = 1
|
||||
*/
|
||||
Header?: RequestSiteHeader;
|
||||
/**
|
||||
* @generated from protobuf field: string AppointmentID = 2
|
||||
*/
|
||||
AppointmentID: string;
|
||||
/**
|
||||
* The slot to book for the appointment
|
||||
*
|
||||
* @generated from protobuf field: repeated api.Slot Slots = 3
|
||||
*/
|
||||
Slots: Slot[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ModifyAppointmentDateResponse
|
||||
*/
|
||||
export interface ModifyAppointmentDateResponse {
|
||||
/**
|
||||
* @generated from protobuf field: string AppointmentID = 1
|
||||
*/
|
||||
AppointmentID: string;
|
||||
}
|
||||
/**
|
||||
* ListUserSites
|
||||
*
|
||||
@@ -2565,7 +2732,7 @@ class BookAppointmentRequest$Type extends MessageType<BookAppointmentRequest> {
|
||||
{ no: 8, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { minItems: "1", 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: 9, name: "CarrierID", kind: "scalar", localName: "CarrierID", jsonName: "CarrierID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "CarrierName", kind: "scalar", localName: "CarrierName", jsonName: "CarrierName", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType", "Segmentations", "CarrierInformation"] } } });
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType", "Commissions", "Segmentations", "CarrierInformation"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<BookAppointmentRequest>): BookAppointmentRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
@@ -2663,6 +2830,124 @@ class BookAppointmentRequest$Type extends MessageType<BookAppointmentRequest> {
|
||||
*/
|
||||
export const BookAppointmentRequest = new BookAppointmentRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class BookAppointmentNoReferenceRequest$Type extends MessageType<BookAppointmentNoReferenceRequest> {
|
||||
constructor() {
|
||||
super("api.BookAppointmentNoReferenceRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestSiteHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "AppointmentType", kind: "enum", localName: "AppointmentType", jsonName: "AppointmentType", T: () => ["api.AppointmentType", AppointmentType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 3, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "Quantities", kind: "message", localName: "Quantities", jsonName: "Quantities", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByUnit, options: { "validate.rules": { repeated: { minItems: "1" } } } },
|
||||
{ no: 5, name: "SegmentationSelections", kind: "message", localName: "SegmentationSelections", jsonName: "SegmentationSelections", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationSelection },
|
||||
{ no: 6, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CarrierInformationWithValue },
|
||||
{ no: 7, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot },
|
||||
{ no: 8, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { minItems: "1", 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: 9, name: "CarrierID", kind: "scalar", localName: "CarrierID", jsonName: "CarrierID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "CarrierName", kind: "scalar", localName: "CarrierName", jsonName: "CarrierName", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType", "ProjectID", "Quantities", "Segmentations", "CarrierInformation"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<BookAppointmentNoReferenceRequest>): BookAppointmentNoReferenceRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.AppointmentType = 0;
|
||||
message.ProjectID = "";
|
||||
message.Quantities = [];
|
||||
message.SegmentationSelections = [];
|
||||
message.CarrierInformation = [];
|
||||
message.Slots = [];
|
||||
message.Emails = [];
|
||||
message.CarrierID = "";
|
||||
message.CarrierName = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<BookAppointmentNoReferenceRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: BookAppointmentNoReferenceRequest): BookAppointmentNoReferenceRequest {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.RequestSiteHeader Header */ 1:
|
||||
message.Header = RequestSiteHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
break;
|
||||
case /* api.AppointmentType AppointmentType */ 2:
|
||||
message.AppointmentType = reader.int32();
|
||||
break;
|
||||
case /* string ProjectID */ 3:
|
||||
message.ProjectID = reader.string();
|
||||
break;
|
||||
case /* repeated api.QuantityByUnit Quantities */ 4:
|
||||
message.Quantities.push(QuantityByUnit.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.SegmentationSelection SegmentationSelections */ 5:
|
||||
message.SegmentationSelections.push(SegmentationSelection.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.CarrierInformationWithValue CarrierInformation */ 6:
|
||||
message.CarrierInformation.push(CarrierInformationWithValue.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.Slot Slots */ 7:
|
||||
message.Slots.push(Slot.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated string Emails */ 8:
|
||||
message.Emails.push(reader.string());
|
||||
break;
|
||||
case /* string CarrierID */ 9:
|
||||
message.CarrierID = reader.string();
|
||||
break;
|
||||
case /* string CarrierName */ 10:
|
||||
message.CarrierName = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
||||
let d = reader.skip(wireType);
|
||||
if (u !== false)
|
||||
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
||||
}
|
||||
}
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: BookAppointmentNoReferenceRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.RequestSiteHeader Header = 1; */
|
||||
if (message.Header)
|
||||
RequestSiteHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.AppointmentType AppointmentType = 2; */
|
||||
if (message.AppointmentType !== 0)
|
||||
writer.tag(2, WireType.Varint).int32(message.AppointmentType);
|
||||
/* string ProjectID = 3; */
|
||||
if (message.ProjectID !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.ProjectID);
|
||||
/* repeated api.QuantityByUnit Quantities = 4; */
|
||||
for (let i = 0; i < message.Quantities.length; i++)
|
||||
QuantityByUnit.internalBinaryWrite(message.Quantities[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.SegmentationSelection SegmentationSelections = 5; */
|
||||
for (let i = 0; i < message.SegmentationSelections.length; i++)
|
||||
SegmentationSelection.internalBinaryWrite(message.SegmentationSelections[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.CarrierInformationWithValue CarrierInformation = 6; */
|
||||
for (let i = 0; i < message.CarrierInformation.length; i++)
|
||||
CarrierInformationWithValue.internalBinaryWrite(message.CarrierInformation[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.Slot Slots = 7; */
|
||||
for (let i = 0; i < message.Slots.length; i++)
|
||||
Slot.internalBinaryWrite(message.Slots[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated string Emails = 8; */
|
||||
for (let i = 0; i < message.Emails.length; i++)
|
||||
writer.tag(8, WireType.LengthDelimited).string(message.Emails[i]);
|
||||
/* string CarrierID = 9; */
|
||||
if (message.CarrierID !== "")
|
||||
writer.tag(9, WireType.LengthDelimited).string(message.CarrierID);
|
||||
/* string CarrierName = 10; */
|
||||
if (message.CarrierName !== "")
|
||||
writer.tag(10, WireType.LengthDelimited).string(message.CarrierName);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.BookAppointmentNoReferenceRequest
|
||||
*/
|
||||
export const BookAppointmentNoReferenceRequest = new BookAppointmentNoReferenceRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class WMSBookAppointmentRequest$Type extends MessageType<WMSBookAppointmentRequest> {
|
||||
constructor() {
|
||||
super("api.WMSBookAppointmentRequest", [
|
||||
@@ -2676,7 +2961,7 @@ class WMSBookAppointmentRequest$Type extends MessageType<WMSBookAppointmentReque
|
||||
{ no: 9, name: "CarrierID", kind: "scalar", localName: "CarrierID", jsonName: "CarrierID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "CarrierName", kind: "scalar", localName: "CarrierName", jsonName: "CarrierName", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 11, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType", "Segmentations", "CarrierInformation", "TimeZone"] } } });
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType", "Commissions", "Segmentations", "CarrierInformation", "TimeZone"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<WMSBookAppointmentRequest>): WMSBookAppointmentRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
@@ -2781,6 +3066,132 @@ class WMSBookAppointmentRequest$Type extends MessageType<WMSBookAppointmentReque
|
||||
*/
|
||||
export const WMSBookAppointmentRequest = new WMSBookAppointmentRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class WMSBookAppointmentNoReferenceRequest$Type extends MessageType<WMSBookAppointmentNoReferenceRequest> {
|
||||
constructor() {
|
||||
super("api.WMSBookAppointmentNoReferenceRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestSiteHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "AppointmentType", kind: "enum", localName: "AppointmentType", jsonName: "AppointmentType", T: () => ["api.AppointmentType", AppointmentType], options: { "validate.rules": { enum: { definedOnly: true } } } },
|
||||
{ no: 3, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "Quantities", kind: "message", localName: "Quantities", jsonName: "Quantities", repeat: 2 /*RepeatType.UNPACKED*/, T: () => QuantityByUnit, options: { "validate.rules": { repeated: { minItems: "1" } } } },
|
||||
{ no: 5, name: "SegmentationSelections", kind: "message", localName: "SegmentationSelections", jsonName: "SegmentationSelections", repeat: 2 /*RepeatType.UNPACKED*/, T: () => SegmentationSelection },
|
||||
{ no: 6, name: "CarrierInformation", kind: "message", localName: "CarrierInformation", jsonName: "CarrierInformation", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CarrierInformationWithValue },
|
||||
{ no: 7, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot },
|
||||
{ no: 8, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { minItems: "1", 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: 9, name: "CarrierID", kind: "scalar", localName: "CarrierID", jsonName: "CarrierID", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 10, name: "CarrierName", kind: "scalar", localName: "CarrierName", jsonName: "CarrierName", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 11, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/ }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentType", "ProjectID", "Quantities", "Segmentations", "CarrierInformation", "TimeZone"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<WMSBookAppointmentNoReferenceRequest>): WMSBookAppointmentNoReferenceRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.AppointmentType = 0;
|
||||
message.ProjectID = "";
|
||||
message.Quantities = [];
|
||||
message.SegmentationSelections = [];
|
||||
message.CarrierInformation = [];
|
||||
message.Slots = [];
|
||||
message.Emails = [];
|
||||
message.CarrierID = "";
|
||||
message.CarrierName = "";
|
||||
message.TimeZone = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<WMSBookAppointmentNoReferenceRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: WMSBookAppointmentNoReferenceRequest): WMSBookAppointmentNoReferenceRequest {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.RequestSiteHeader Header */ 1:
|
||||
message.Header = RequestSiteHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
break;
|
||||
case /* api.AppointmentType AppointmentType */ 2:
|
||||
message.AppointmentType = reader.int32();
|
||||
break;
|
||||
case /* string ProjectID */ 3:
|
||||
message.ProjectID = reader.string();
|
||||
break;
|
||||
case /* repeated api.QuantityByUnit Quantities */ 4:
|
||||
message.Quantities.push(QuantityByUnit.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.SegmentationSelection SegmentationSelections */ 5:
|
||||
message.SegmentationSelections.push(SegmentationSelection.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.CarrierInformationWithValue CarrierInformation */ 6:
|
||||
message.CarrierInformation.push(CarrierInformationWithValue.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated api.Slot Slots */ 7:
|
||||
message.Slots.push(Slot.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
case /* repeated string Emails */ 8:
|
||||
message.Emails.push(reader.string());
|
||||
break;
|
||||
case /* string CarrierID */ 9:
|
||||
message.CarrierID = reader.string();
|
||||
break;
|
||||
case /* string CarrierName */ 10:
|
||||
message.CarrierName = reader.string();
|
||||
break;
|
||||
case /* string TimeZone */ 11:
|
||||
message.TimeZone = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
||||
let d = reader.skip(wireType);
|
||||
if (u !== false)
|
||||
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
||||
}
|
||||
}
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: WMSBookAppointmentNoReferenceRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.RequestSiteHeader Header = 1; */
|
||||
if (message.Header)
|
||||
RequestSiteHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* api.AppointmentType AppointmentType = 2; */
|
||||
if (message.AppointmentType !== 0)
|
||||
writer.tag(2, WireType.Varint).int32(message.AppointmentType);
|
||||
/* string ProjectID = 3; */
|
||||
if (message.ProjectID !== "")
|
||||
writer.tag(3, WireType.LengthDelimited).string(message.ProjectID);
|
||||
/* repeated api.QuantityByUnit Quantities = 4; */
|
||||
for (let i = 0; i < message.Quantities.length; i++)
|
||||
QuantityByUnit.internalBinaryWrite(message.Quantities[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.SegmentationSelection SegmentationSelections = 5; */
|
||||
for (let i = 0; i < message.SegmentationSelections.length; i++)
|
||||
SegmentationSelection.internalBinaryWrite(message.SegmentationSelections[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.CarrierInformationWithValue CarrierInformation = 6; */
|
||||
for (let i = 0; i < message.CarrierInformation.length; i++)
|
||||
CarrierInformationWithValue.internalBinaryWrite(message.CarrierInformation[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated api.Slot Slots = 7; */
|
||||
for (let i = 0; i < message.Slots.length; i++)
|
||||
Slot.internalBinaryWrite(message.Slots[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
||||
/* repeated string Emails = 8; */
|
||||
for (let i = 0; i < message.Emails.length; i++)
|
||||
writer.tag(8, WireType.LengthDelimited).string(message.Emails[i]);
|
||||
/* string CarrierID = 9; */
|
||||
if (message.CarrierID !== "")
|
||||
writer.tag(9, WireType.LengthDelimited).string(message.CarrierID);
|
||||
/* string CarrierName = 10; */
|
||||
if (message.CarrierName !== "")
|
||||
writer.tag(10, WireType.LengthDelimited).string(message.CarrierName);
|
||||
/* string TimeZone = 11; */
|
||||
if (message.TimeZone !== "")
|
||||
writer.tag(11, WireType.LengthDelimited).string(message.TimeZone);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.WMSBookAppointmentNoReferenceRequest
|
||||
*/
|
||||
export const WMSBookAppointmentNoReferenceRequest = new WMSBookAppointmentNoReferenceRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class BookAppointmentResponse$Type extends MessageType<BookAppointmentResponse> {
|
||||
constructor() {
|
||||
super("api.BookAppointmentResponse", [
|
||||
@@ -2929,6 +3340,115 @@ class CancelAppointmentResponse$Type extends MessageType<CancelAppointmentRespon
|
||||
*/
|
||||
export const CancelAppointmentResponse = new CancelAppointmentResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ModifyAppointmentDateRequest$Type extends MessageType<ModifyAppointmentDateRequest> {
|
||||
constructor() {
|
||||
super("api.ModifyAppointmentDateRequest", [
|
||||
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestSiteHeader, options: { "validate.rules": { message: { required: true } } } },
|
||||
{ no: 2, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 3, name: "Slots", kind: "message", localName: "Slots", jsonName: "Slots", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Slot }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "AppointmentID", "Slots"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<ModifyAppointmentDateRequest>): ModifyAppointmentDateRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.AppointmentID = "";
|
||||
message.Slots = [];
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ModifyAppointmentDateRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ModifyAppointmentDateRequest): ModifyAppointmentDateRequest {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.RequestSiteHeader Header */ 1:
|
||||
message.Header = RequestSiteHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
||||
break;
|
||||
case /* string AppointmentID */ 2:
|
||||
message.AppointmentID = reader.string();
|
||||
break;
|
||||
case /* repeated api.Slot Slots */ 3:
|
||||
message.Slots.push(Slot.internalBinaryRead(reader, reader.uint32(), options));
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
||||
let d = reader.skip(wireType);
|
||||
if (u !== false)
|
||||
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
||||
}
|
||||
}
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ModifyAppointmentDateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.RequestSiteHeader Header = 1; */
|
||||
if (message.Header)
|
||||
RequestSiteHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
/* string AppointmentID = 2; */
|
||||
if (message.AppointmentID !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.AppointmentID);
|
||||
/* repeated api.Slot Slots = 3; */
|
||||
for (let i = 0; i < message.Slots.length; i++)
|
||||
Slot.internalBinaryWrite(message.Slots[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.ModifyAppointmentDateRequest
|
||||
*/
|
||||
export const ModifyAppointmentDateRequest = new ModifyAppointmentDateRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ModifyAppointmentDateResponse$Type extends MessageType<ModifyAppointmentDateResponse> {
|
||||
constructor() {
|
||||
super("api.ModifyAppointmentDateResponse", [
|
||||
{ no: 1, name: "AppointmentID", kind: "scalar", localName: "AppointmentID", jsonName: "AppointmentID", T: 9 /*ScalarType.STRING*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ModifyAppointmentDateResponse>): ModifyAppointmentDateResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.AppointmentID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ModifyAppointmentDateResponse>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ModifyAppointmentDateResponse): ModifyAppointmentDateResponse {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string AppointmentID */ 1:
|
||||
message.AppointmentID = reader.string();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
||||
let d = reader.skip(wireType);
|
||||
if (u !== false)
|
||||
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
||||
}
|
||||
}
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: ModifyAppointmentDateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string AppointmentID = 1; */
|
||||
if (message.AppointmentID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.AppointmentID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.ModifyAppointmentDateResponse
|
||||
*/
|
||||
export const ModifyAppointmentDateResponse = new ModifyAppointmentDateResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class ListUserSitesRequest$Type extends MessageType<ListUserSitesRequest> {
|
||||
constructor() {
|
||||
super("api.ListUserSitesRequest", [
|
||||
@@ -3229,7 +3749,11 @@ export const SiteService = new ServiceType("api.SiteService", [
|
||||
{ name: "BookAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site, if the requested slots are available." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: BookAppointmentRequest, O: BookAppointmentResponse },
|
||||
{ name: "ForceBookAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site without checking if the slots are available." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: BookAppointmentRequest, O: BookAppointmentResponse },
|
||||
{ name: "WMSForceBookAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site without checking if the slots are available, should not be called by human user." }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: WMSBookAppointmentRequest, O: BookAppointmentResponse },
|
||||
{ name: "BookAppointmentNoReference", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site, if the requested slots are available." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: BookAppointmentNoReferenceRequest, O: BookAppointmentResponse },
|
||||
{ name: "ForceBookAppointmentNoReference", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site without checking if the slots are available." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: BookAppointmentNoReferenceRequest, O: BookAppointmentResponse },
|
||||
{ name: "WMSForceBookAppointmentNoReference", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Book an appointment on the site without checking if the slots are available, should not be called by human user." }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: WMSBookAppointmentNoReferenceRequest, O: BookAppointmentResponse },
|
||||
{ name: "CancelAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Cancel an appointment on the site." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: CancelAppointmentRequest, O: CancelAppointmentResponse },
|
||||
{ name: "ModifyAppointmentDate", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Modify an appointment date on the site." }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: ModifyAppointmentDateRequest, O: ModifyAppointmentDateResponse },
|
||||
{ name: "UpdateStatus", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update site status" }, "api.rscType": "Site", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateSiteStatusRequest, O: UpdateSiteStatusResult },
|
||||
{ name: "DeleteSiteInDB", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete the Site in database" }, "api.rscType": "Platform", "api.roles": "Platform.Site-Deletion", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DeleteSiteInDBRequest, O: DeleteSiteInDBResult }
|
||||
], { "api.k8sService": "core-site" });
|
||||
|
||||
Reference in New Issue
Block a user