Latest generation

This commit is contained in:
ci core model
2025-10-07 14:25:55 +00:00
parent 70ab5e6f05
commit 32e5d8fd6a
4 changed files with 33 additions and 114 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "@reflex-platform/npm-core-sdk", "name": "@reflex-platform/npm-core-sdk",
"version": "1.12.0-SNAPSHOT-251007132106", "version": "1.12.0-SNAPSHOT-251007142514",
"description": "npm libs from core model proto files", "description": "npm libs from core model proto files",
"homepage": "", "homepage": "",
"main": "index.ts", "main": "index.ts",

View File

@@ -346,6 +346,13 @@ export interface EventHeader {
* @generated from protobuf field: string Project = 3 * @generated from protobuf field: string Project = 3
*/ */
Project: string; Project: string;
/**
* Contains the ID of the parent site if entity belongs to site rscType
*
* @deprecated
* @generated from protobuf field: string Site = 8 [deprecated = true]
*/
Site: string;
/** /**
* @generated from protobuf field: string Author = 4 * @generated from protobuf field: string Author = 4
*/ */
@@ -3489,6 +3496,7 @@ class EventHeader$Type extends MessageType<EventHeader> {
{ no: 1, name: "InputEvent", kind: "scalar", localName: "InputEvent", jsonName: "InputEvent", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 1, name: "InputEvent", kind: "scalar", localName: "InputEvent", jsonName: "InputEvent", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "EventTS", kind: "message", localName: "EventTS", jsonName: "EventTS", T: () => DateTime, options: { "validate.rules": { message: { required: true } } } }, { no: 2, name: "EventTS", kind: "message", localName: "EventTS", jsonName: "EventTS", T: () => DateTime, options: { "validate.rules": { message: { required: true } } } },
{ no: 3, name: "Project", kind: "scalar", localName: "Project", jsonName: "Project", T: 9 /*ScalarType.STRING*/ }, { no: 3, name: "Project", kind: "scalar", localName: "Project", jsonName: "Project", T: 9 /*ScalarType.STRING*/ },
{ no: 8, name: "Site", kind: "scalar", localName: "Site", jsonName: "Site", T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "Author", kind: "scalar", localName: "Author", jsonName: "Author", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } }, { no: 4, name: "Author", kind: "scalar", localName: "Author", jsonName: "Author", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } }, "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } },
{ no: 5, name: "EventID", kind: "scalar", localName: "EventID", jsonName: "EventID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }, { no: 5, name: "EventID", kind: "scalar", localName: "EventID", jsonName: "EventID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 6, name: "CreatedBy", kind: "scalar", localName: "CreatedBy", jsonName: "CreatedBy", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } }, { no: 6, name: "CreatedBy", kind: "scalar", localName: "CreatedBy", jsonName: "CreatedBy", T: 9 /*ScalarType.STRING*/, options: { "api.indexationType": { Types: [{ Context: "*", Type: "text" }] }, "api.kpiItems": { Items: [{ Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Claim", Group: "claim", Queryable: true }] }, "api.viewType": { Types: [{ Context: "*", Type: "user" }] } } },
@@ -3500,6 +3508,7 @@ class EventHeader$Type extends MessageType<EventHeader> {
const message = globalThis.Object.create((this.messagePrototype!)); const message = globalThis.Object.create((this.messagePrototype!));
message.InputEvent = ""; message.InputEvent = "";
message.Project = ""; message.Project = "";
message.Site = "";
message.Author = ""; message.Author = "";
message.EventID = ""; message.EventID = "";
message.CreatedBy = ""; message.CreatedBy = "";
@@ -3523,6 +3532,9 @@ class EventHeader$Type extends MessageType<EventHeader> {
case /* string Project */ 3: case /* string Project */ 3:
message.Project = reader.string(); message.Project = reader.string();
break; break;
case /* string Site = 8 [deprecated = true] */ 8:
message.Site = reader.string();
break;
case /* string Author */ 4: case /* string Author */ 4:
message.Author = reader.string(); message.Author = reader.string();
break; break;
@@ -3571,6 +3583,9 @@ class EventHeader$Type extends MessageType<EventHeader> {
/* uint32 Version = 7; */ /* uint32 Version = 7; */
if (message.Version !== 0) if (message.Version !== 0)
writer.tag(7, WireType.Varint).uint32(message.Version); writer.tag(7, WireType.Varint).uint32(message.Version);
/* string Site = 8 [deprecated = true]; */
if (message.Site !== "")
writer.tag(8, WireType.LengthDelimited).string(message.Site);
/* bool OversizedPayload = 9; */ /* bool OversizedPayload = 9; */
if (message.OversizedPayload !== false) if (message.OversizedPayload !== false)
writer.tag(9, WireType.Varint).bool(message.OversizedPayload); writer.tag(9, WireType.Varint).bool(message.OversizedPayload);

View File

@@ -20,8 +20,6 @@ import type { ListUserSitesRequest } from "./site";
import type { GetAllSlotsResponse } from "./site"; import type { GetAllSlotsResponse } from "./site";
import type { GetAvailableSlotsResponse } from "./site"; import type { GetAvailableSlotsResponse } from "./site";
import type { GetAvailableSlotsRequest } from "./site"; import type { GetAvailableSlotsRequest } from "./site";
import type { SuggestSiteIDResult } from "./site";
import type { SuggestSiteIDRequest } from "./site";
import type { DeleteInstructionDocumentResponse } from "./site"; import type { DeleteInstructionDocumentResponse } from "./site";
import type { DeleteInstructionDocumentRequest } from "./site"; import type { DeleteInstructionDocumentRequest } from "./site";
import type { UploadInstructionDocumentResponse } from "./site"; import type { UploadInstructionDocumentResponse } from "./site";
@@ -32,8 +30,6 @@ import type { UploadPhotoResponse } from "./site";
import type { UploadPhotoRequest } from "./site"; import type { UploadPhotoRequest } from "./site";
import type { UpdateSettingsResponse } from "./site"; import type { UpdateSettingsResponse } from "./site";
import type { UpdateSettingsRequest } from "./site"; import type { UpdateSettingsRequest } from "./site";
import type { ListSettingsResponse } from "./site";
import type { ListSettingsRequest } from "./site";
import type { GetSettingsResponse } from "./site"; import type { GetSettingsResponse } from "./site";
import type { GetSettingsRequest } from "./site"; import type { GetSettingsRequest } from "./site";
import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import { stackIntercept } from "@protobuf-ts/runtime-rpc";
@@ -53,10 +49,6 @@ export interface ISiteServiceClient {
* @generated from protobuf rpc: GetSettings * @generated from protobuf rpc: GetSettings
*/ */
getSettings(input: GetSettingsRequest, options?: RpcOptions): UnaryCall<GetSettingsRequest, GetSettingsResponse>; getSettings(input: GetSettingsRequest, options?: RpcOptions): UnaryCall<GetSettingsRequest, GetSettingsResponse>;
/**
* @generated from protobuf rpc: ListSettings
*/
listSettings(input: ListSettingsRequest, options?: RpcOptions): UnaryCall<ListSettingsRequest, ListSettingsResponse>;
/** /**
* @generated from protobuf rpc: UpdateSettings * @generated from protobuf rpc: UpdateSettings
*/ */
@@ -77,10 +69,6 @@ export interface ISiteServiceClient {
* @generated from protobuf rpc: DeleteInstructionDocument * @generated from protobuf rpc: DeleteInstructionDocument
*/ */
deleteInstructionDocument(input: DeleteInstructionDocumentRequest, options?: RpcOptions): UnaryCall<DeleteInstructionDocumentRequest, DeleteInstructionDocumentResponse>; deleteInstructionDocument(input: DeleteInstructionDocumentRequest, options?: RpcOptions): UnaryCall<DeleteInstructionDocumentRequest, DeleteInstructionDocumentResponse>;
/**
* @generated from protobuf rpc: SuggestID
*/
suggestID(input: SuggestSiteIDRequest, options?: RpcOptions): UnaryCall<SuggestSiteIDRequest, SuggestSiteIDResult>;
/** /**
* @generated from protobuf rpc: GetAvailableSlots * @generated from protobuf rpc: GetAvailableSlots
*/ */
@@ -149,130 +137,116 @@ export class SiteServiceClient implements ISiteServiceClient, ServiceInfo {
const method = this.methods[1], opt = this._transport.mergeOptions(options); const method = this.methods[1], opt = this._transport.mergeOptions(options);
return stackIntercept<GetSettingsRequest, GetSettingsResponse>("unary", this._transport, method, opt, input); return stackIntercept<GetSettingsRequest, GetSettingsResponse>("unary", this._transport, method, opt, input);
} }
/**
* @generated from protobuf rpc: ListSettings
*/
listSettings(input: ListSettingsRequest, options?: RpcOptions): UnaryCall<ListSettingsRequest, ListSettingsResponse> {
const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<ListSettingsRequest, ListSettingsResponse>("unary", this._transport, method, opt, input);
}
/** /**
* @generated from protobuf rpc: UpdateSettings * @generated from protobuf rpc: UpdateSettings
*/ */
updateSettings(input: UpdateSettingsRequest, options?: RpcOptions): UnaryCall<UpdateSettingsRequest, UpdateSettingsResponse> { updateSettings(input: UpdateSettingsRequest, options?: RpcOptions): UnaryCall<UpdateSettingsRequest, UpdateSettingsResponse> {
const method = this.methods[3], opt = this._transport.mergeOptions(options); const method = this.methods[2], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateSettingsRequest, UpdateSettingsResponse>("unary", this._transport, method, opt, input); return stackIntercept<UpdateSettingsRequest, UpdateSettingsResponse>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: UploadPhoto * @generated from protobuf rpc: UploadPhoto
*/ */
uploadPhoto(input: UploadPhotoRequest, options?: RpcOptions): UnaryCall<UploadPhotoRequest, UploadPhotoResponse> { uploadPhoto(input: UploadPhotoRequest, options?: RpcOptions): UnaryCall<UploadPhotoRequest, UploadPhotoResponse> {
const method = this.methods[4], opt = this._transport.mergeOptions(options); const method = this.methods[3], opt = this._transport.mergeOptions(options);
return stackIntercept<UploadPhotoRequest, UploadPhotoResponse>("unary", this._transport, method, opt, input); return stackIntercept<UploadPhotoRequest, UploadPhotoResponse>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: DeletePhoto * @generated from protobuf rpc: DeletePhoto
*/ */
deletePhoto(input: DeletePhotoRequest, options?: RpcOptions): UnaryCall<DeletePhotoRequest, DeletePhotoResponse> { deletePhoto(input: DeletePhotoRequest, options?: RpcOptions): UnaryCall<DeletePhotoRequest, DeletePhotoResponse> {
const method = this.methods[5], opt = this._transport.mergeOptions(options); const method = this.methods[4], opt = this._transport.mergeOptions(options);
return stackIntercept<DeletePhotoRequest, DeletePhotoResponse>("unary", this._transport, method, opt, input); return stackIntercept<DeletePhotoRequest, DeletePhotoResponse>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: UploadInstructionDocument * @generated from protobuf rpc: UploadInstructionDocument
*/ */
uploadInstructionDocument(input: UploadInstructionDocumentRequest, options?: RpcOptions): UnaryCall<UploadInstructionDocumentRequest, UploadInstructionDocumentResponse> { uploadInstructionDocument(input: UploadInstructionDocumentRequest, options?: RpcOptions): UnaryCall<UploadInstructionDocumentRequest, UploadInstructionDocumentResponse> {
const method = this.methods[6], opt = this._transport.mergeOptions(options); const method = this.methods[5], opt = this._transport.mergeOptions(options);
return stackIntercept<UploadInstructionDocumentRequest, UploadInstructionDocumentResponse>("unary", this._transport, method, opt, input); return stackIntercept<UploadInstructionDocumentRequest, UploadInstructionDocumentResponse>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: DeleteInstructionDocument * @generated from protobuf rpc: DeleteInstructionDocument
*/ */
deleteInstructionDocument(input: DeleteInstructionDocumentRequest, options?: RpcOptions): UnaryCall<DeleteInstructionDocumentRequest, DeleteInstructionDocumentResponse> { deleteInstructionDocument(input: DeleteInstructionDocumentRequest, options?: RpcOptions): UnaryCall<DeleteInstructionDocumentRequest, DeleteInstructionDocumentResponse> {
const method = this.methods[7], opt = this._transport.mergeOptions(options); const method = this.methods[6], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteInstructionDocumentRequest, DeleteInstructionDocumentResponse>("unary", this._transport, method, opt, input); return stackIntercept<DeleteInstructionDocumentRequest, DeleteInstructionDocumentResponse>("unary", this._transport, method, opt, input);
} }
/**
* @generated from protobuf rpc: SuggestID
*/
suggestID(input: SuggestSiteIDRequest, options?: RpcOptions): UnaryCall<SuggestSiteIDRequest, SuggestSiteIDResult> {
const method = this.methods[8], opt = this._transport.mergeOptions(options);
return stackIntercept<SuggestSiteIDRequest, SuggestSiteIDResult>("unary", this._transport, method, opt, input);
}
/** /**
* @generated from protobuf rpc: GetAvailableSlots * @generated from protobuf rpc: GetAvailableSlots
*/ */
getAvailableSlots(input: GetAvailableSlotsRequest, options?: RpcOptions): UnaryCall<GetAvailableSlotsRequest, GetAvailableSlotsResponse> { getAvailableSlots(input: GetAvailableSlotsRequest, options?: RpcOptions): UnaryCall<GetAvailableSlotsRequest, GetAvailableSlotsResponse> {
const method = this.methods[9], opt = this._transport.mergeOptions(options); const method = this.methods[7], opt = this._transport.mergeOptions(options);
return stackIntercept<GetAvailableSlotsRequest, GetAvailableSlotsResponse>("unary", this._transport, method, opt, input); return stackIntercept<GetAvailableSlotsRequest, GetAvailableSlotsResponse>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: GetAllSlots * @generated from protobuf rpc: GetAllSlots
*/ */
getAllSlots(input: GetAvailableSlotsRequest, options?: RpcOptions): UnaryCall<GetAvailableSlotsRequest, GetAllSlotsResponse> { getAllSlots(input: GetAvailableSlotsRequest, options?: RpcOptions): UnaryCall<GetAvailableSlotsRequest, GetAllSlotsResponse> {
const method = this.methods[10], opt = this._transport.mergeOptions(options); const method = this.methods[8], opt = this._transport.mergeOptions(options);
return stackIntercept<GetAvailableSlotsRequest, GetAllSlotsResponse>("unary", this._transport, method, opt, input); return stackIntercept<GetAvailableSlotsRequest, GetAllSlotsResponse>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: ListUserSites * @generated from protobuf rpc: ListUserSites
*/ */
listUserSites(input: ListUserSitesRequest, options?: RpcOptions): UnaryCall<ListUserSitesRequest, ListUserSitesResponse> { listUserSites(input: ListUserSitesRequest, options?: RpcOptions): UnaryCall<ListUserSitesRequest, ListUserSitesResponse> {
const method = this.methods[11], opt = this._transport.mergeOptions(options); const method = this.methods[9], opt = this._transport.mergeOptions(options);
return stackIntercept<ListUserSitesRequest, ListUserSitesResponse>("unary", this._transport, method, opt, input); return stackIntercept<ListUserSitesRequest, ListUserSitesResponse>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: BookAppointment * @generated from protobuf rpc: BookAppointment
*/ */
bookAppointment(input: BookAppointmentRequest, options?: RpcOptions): UnaryCall<BookAppointmentRequest, BookAppointmentResponse> { bookAppointment(input: BookAppointmentRequest, options?: RpcOptions): UnaryCall<BookAppointmentRequest, BookAppointmentResponse> {
const method = this.methods[12], opt = this._transport.mergeOptions(options); const method = this.methods[10], opt = this._transport.mergeOptions(options);
return stackIntercept<BookAppointmentRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input); return stackIntercept<BookAppointmentRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: BookAppointmentNoReference * @generated from protobuf rpc: BookAppointmentNoReference
*/ */
bookAppointmentNoReference(input: BookAppointmentNoReferenceRequest, options?: RpcOptions): UnaryCall<BookAppointmentNoReferenceRequest, BookAppointmentResponse> { bookAppointmentNoReference(input: BookAppointmentNoReferenceRequest, options?: RpcOptions): UnaryCall<BookAppointmentNoReferenceRequest, BookAppointmentResponse> {
const method = this.methods[13], opt = this._transport.mergeOptions(options); const method = this.methods[11], opt = this._transport.mergeOptions(options);
return stackIntercept<BookAppointmentNoReferenceRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input); return stackIntercept<BookAppointmentNoReferenceRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: ForceBookAppointment * @generated from protobuf rpc: ForceBookAppointment
*/ */
forceBookAppointment(input: ForceBookAppointmentRequest, options?: RpcOptions): UnaryCall<ForceBookAppointmentRequest, BookAppointmentResponse> { forceBookAppointment(input: ForceBookAppointmentRequest, options?: RpcOptions): UnaryCall<ForceBookAppointmentRequest, BookAppointmentResponse> {
const method = this.methods[14], opt = this._transport.mergeOptions(options); const method = this.methods[12], opt = this._transport.mergeOptions(options);
return stackIntercept<ForceBookAppointmentRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input); return stackIntercept<ForceBookAppointmentRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: CancelAppointment * @generated from protobuf rpc: CancelAppointment
*/ */
cancelAppointment(input: CancelAppointmentRequest, options?: RpcOptions): UnaryCall<CancelAppointmentRequest, CancelAppointmentResponse> { cancelAppointment(input: CancelAppointmentRequest, options?: RpcOptions): UnaryCall<CancelAppointmentRequest, CancelAppointmentResponse> {
const method = this.methods[15], opt = this._transport.mergeOptions(options); const method = this.methods[13], opt = this._transport.mergeOptions(options);
return stackIntercept<CancelAppointmentRequest, CancelAppointmentResponse>("unary", this._transport, method, opt, input); return stackIntercept<CancelAppointmentRequest, CancelAppointmentResponse>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: UpdateAppointment * @generated from protobuf rpc: UpdateAppointment
*/ */
updateAppointment(input: UpdateAppointmentRequest, options?: RpcOptions): UnaryCall<UpdateAppointmentRequest, BookAppointmentResponse> { updateAppointment(input: UpdateAppointmentRequest, options?: RpcOptions): UnaryCall<UpdateAppointmentRequest, BookAppointmentResponse> {
const method = this.methods[16], opt = this._transport.mergeOptions(options); const method = this.methods[14], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateAppointmentRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input); return stackIntercept<UpdateAppointmentRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: UpdateAppointmentNoReference * @generated from protobuf rpc: UpdateAppointmentNoReference
*/ */
updateAppointmentNoReference(input: UpdateAppointmentNoReferenceRequest, options?: RpcOptions): UnaryCall<UpdateAppointmentNoReferenceRequest, BookAppointmentResponse> { updateAppointmentNoReference(input: UpdateAppointmentNoReferenceRequest, options?: RpcOptions): UnaryCall<UpdateAppointmentNoReferenceRequest, BookAppointmentResponse> {
const method = this.methods[17], opt = this._transport.mergeOptions(options); const method = this.methods[15], opt = this._transport.mergeOptions(options);
return stackIntercept<UpdateAppointmentNoReferenceRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input); return stackIntercept<UpdateAppointmentNoReferenceRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: ForceUpdateAppointment * @generated from protobuf rpc: ForceUpdateAppointment
*/ */
forceUpdateAppointment(input: ForceUpdateAppointmentRequest, options?: RpcOptions): UnaryCall<ForceUpdateAppointmentRequest, BookAppointmentResponse> { forceUpdateAppointment(input: ForceUpdateAppointmentRequest, options?: RpcOptions): UnaryCall<ForceUpdateAppointmentRequest, BookAppointmentResponse> {
const method = this.methods[18], opt = this._transport.mergeOptions(options); const method = this.methods[16], opt = this._transport.mergeOptions(options);
return stackIntercept<ForceUpdateAppointmentRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input); return stackIntercept<ForceUpdateAppointmentRequest, BookAppointmentResponse>("unary", this._transport, method, opt, input);
} }
/** /**
* @generated from protobuf rpc: DeleteSettings * @generated from protobuf rpc: DeleteSettings
*/ */
deleteSettings(input: DeleteSettingsRequest, options?: RpcOptions): UnaryCall<DeleteSettingsRequest, DeleteSettingsResult> { deleteSettings(input: DeleteSettingsRequest, options?: RpcOptions): UnaryCall<DeleteSettingsRequest, DeleteSettingsResult> {
const method = this.methods[19], opt = this._transport.mergeOptions(options); const method = this.methods[17], opt = this._transport.mergeOptions(options);
return stackIntercept<DeleteSettingsRequest, DeleteSettingsResult>("unary", this._transport, method, opt, input); return stackIntercept<DeleteSettingsRequest, DeleteSettingsResult>("unary", this._transport, method, opt, input);
} }
} }

72
site.ts
View File

@@ -219,21 +219,6 @@ export interface GetSettingsResponse {
*/ */
Site?: Site; Site?: Site;
} }
/**
* List
*
* @generated from protobuf message api.ListSettingsRequest
*/
export interface ListSettingsRequest {
/**
* @generated from protobuf field: api.RequestOrganisationHeader Header = 1
*/
Header?: RequestOrganisationHeader;
/**
* @generated from protobuf field: api.FilterSite Filter = 2
*/
Filter?: FilterSite;
}
/** /**
* @generated from protobuf message api.FilterSite * @generated from protobuf message api.FilterSite
*/ */
@@ -1450,59 +1435,6 @@ class GetSettingsResponse$Type extends MessageType<GetSettingsResponse> {
*/ */
export const GetSettingsResponse = new GetSettingsResponse$Type(); export const GetSettingsResponse = new GetSettingsResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods // @generated message type with reflection information, may provide speed optimized methods
class ListSettingsRequest$Type extends MessageType<ListSettingsRequest> {
constructor() {
super("api.ListSettingsRequest", [
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestOrganisationHeader, options: { "validate.rules": { message: { required: true } } } },
{ no: 2, name: "Filter", kind: "message", localName: "Filter", jsonName: "Filter", T: () => FilterSite }
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
}
create(value?: PartialMessage<ListSettingsRequest>): ListSettingsRequest {
const message = globalThis.Object.create((this.messagePrototype!));
if (value !== undefined)
reflectionMergePartial<ListSettingsRequest>(this, message, value);
return message;
}
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListSettingsRequest): ListSettingsRequest {
let message = target ?? this.create(), end = reader.pos + length;
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.RequestOrganisationHeader Header */ 1:
message.Header = RequestOrganisationHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* api.FilterSite Filter */ 2:
message.Filter = FilterSite.internalBinaryRead(reader, reader.uint32(), options, message.Filter);
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: ListSettingsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestOrganisationHeader Header = 1; */
if (message.Header)
RequestOrganisationHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* api.FilterSite Filter = 2; */
if (message.Filter)
FilterSite.internalBinaryWrite(message.Filter, writer.tag(2, 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.ListSettingsRequest
*/
export const ListSettingsRequest = new ListSettingsRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class FilterSite$Type extends MessageType<FilterSite> { class FilterSite$Type extends MessageType<FilterSite> {
constructor() { constructor() {
super("api.FilterSite", [ super("api.FilterSite", [
@@ -3660,15 +3592,13 @@ export const DeleteSettingsResult = new DeleteSettingsResult$Type();
* @generated ServiceType for protobuf service api.SiteService * @generated ServiceType for protobuf service api.SiteService
*/ */
export const SiteService = new ServiceType("api.SiteService", [ export const SiteService = new ServiceType("api.SiteService", [
{ name: "CreateSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Creates the site settings" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateSettingsRequest, O: CreateSettingsResponse }, { name: "CreateSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Creates the site settings" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateSettingsRequest, O: CreateSettingsResponse },
{ name: "GetSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get site settings" }, "api.rscType": "Project", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "SDK" } }, I: GetSettingsRequest, O: GetSettingsResponse }, { name: "GetSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get site settings" }, "api.rscType": "Project", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "SDK" } }, I: GetSettingsRequest, O: GetSettingsResponse },
{ name: "ListSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List site settings of an organisation" }, "api.rscType": "Organisation", "api.roles": "Platform.Site", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: ListSettingsRequest, O: ListSettingsResponse },
{ name: "UpdateSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update site Settings" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateSettingsRequest, O: UpdateSettingsResponse }, { name: "UpdateSettings", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update site Settings" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateSettingsRequest, O: UpdateSettingsResponse },
{ name: "UploadPhoto", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Upload or replace the photo of the site. <br>Must be called using a multipart form-data content type request. <br> Example of curl request : curl -X POST https://$REFLEXPLATFORM_REST_URL/api.SiteService/UploadPhoto -H \"Authorization: Bearer ...\" -F File=\"@path/to/my/file/to/upload\" -F SiteID=mySiteID" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: UploadPhotoRequest, O: UploadPhotoResponse }, { name: "UploadPhoto", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Upload or replace the photo of the site. <br>Must be called using a multipart form-data content type request. <br> Example of curl request : curl -X POST https://$REFLEXPLATFORM_REST_URL/api.SiteService/UploadPhoto -H \"Authorization: Bearer ...\" -F File=\"@path/to/my/file/to/upload\" -F SiteID=mySiteID" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: UploadPhotoRequest, O: UploadPhotoResponse },
{ name: "DeletePhoto", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete the photo of the site." }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: DeletePhotoRequest, O: DeletePhotoResponse }, { name: "DeletePhoto", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete the photo of the site." }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: DeletePhotoRequest, O: DeletePhotoResponse },
{ name: "UploadInstructionDocument", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Upload or replace an instruction document on a site for a specific language. <br>Must be called using a multipart form-data content type request. <br> Example of curl request : curl -X POST https://$REFLEXPLATFORM_REST_URL/api.SiteService/UploadInstructionDocument -H \"Authorization: Bearer ...\" -F File=\"@path/to/my/file/to/upload\" -F SiteID=mySiteID -F DocID=myDocID -F LanguageCodeISO6391=en -F Name=myName -F AckRequired=False" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: UploadInstructionDocumentRequest, O: UploadInstructionDocumentResponse }, { name: "UploadInstructionDocument", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Upload or replace an instruction document on a site for a specific language. <br>Must be called using a multipart form-data content type request. <br> Example of curl request : curl -X POST https://$REFLEXPLATFORM_REST_URL/api.SiteService/UploadInstructionDocument -H \"Authorization: Bearer ...\" -F File=\"@path/to/my/file/to/upload\" -F SiteID=mySiteID -F DocID=myDocID -F LanguageCodeISO6391=en -F Name=myName -F AckRequired=False" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: UploadInstructionDocumentRequest, O: UploadInstructionDocumentResponse },
{ name: "DeleteInstructionDocument", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete an instruction document on a site for a specific language. If no languages are specified, all the documents per language are removed" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteInstructionDocumentRequest, O: DeleteInstructionDocumentResponse }, { name: "DeleteInstructionDocument", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete an instruction document on a site for a specific language. If no languages are specified, all the documents per language are removed" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteInstructionDocumentRequest, O: DeleteInstructionDocumentResponse },
{ name: "SuggestID", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Suggest a site ID" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: SuggestSiteIDRequest, O: SuggestSiteIDResult },
{ name: "GetAvailableSlots", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get available slots to book an appointment on the site." }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: GetAvailableSlotsRequest, O: GetAvailableSlotsResponse }, { name: "GetAvailableSlots", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get available slots to book an appointment on the site." }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: GetAvailableSlotsRequest, O: GetAvailableSlotsResponse },
{ name: "GetAllSlots", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get all slots to book an appointment on the site." }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetAvailableSlotsRequest, O: GetAllSlotsResponse }, { name: "GetAllSlots", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get all slots to book an appointment on the site." }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetAvailableSlotsRequest, O: GetAllSlotsResponse },
{ name: "ListUserSites", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List sites authorized for a user according to its permissions." }, "api.rscType": "Platform", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "SDK" } }, I: ListUserSitesRequest, O: ListUserSitesResponse }, { name: "ListUserSites", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List sites authorized for a user according to its permissions." }, "api.rscType": "Platform", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "SDK" } }, I: ListUserSitesRequest, O: ListUserSitesResponse },