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-250703081252",
|
||||
"version": "1.11.0-SNAPSHOT-250703125546",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
@@ -2267,7 +2267,11 @@ export enum WorkflowTypeEnum {
|
||||
/**
|
||||
* @generated from protobuf enum value: SWEEP = 28;
|
||||
*/
|
||||
SWEEP = 28
|
||||
SWEEP = 28,
|
||||
/**
|
||||
* @generated from protobuf enum value: DELETE_SITE = 29;
|
||||
*/
|
||||
DELETE_SITE = 29
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf enum api.ModuleWorkflowTypeEnum
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
||||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
||||
import { SiteService } from "./site";
|
||||
import type { DeleteSiteInDBResult } from "./site";
|
||||
import type { DeleteSiteInDBRequest } from "./site";
|
||||
import type { UpdateSiteStatusResult } from "./site";
|
||||
import type { UpdateSiteStatusRequest } from "./site";
|
||||
import type { CancelAppointmentResponse } from "./site";
|
||||
import type { CancelAppointmentRequest } from "./site";
|
||||
import type { WMSBookAppointmentRequest } from "./site";
|
||||
@@ -84,6 +88,14 @@ export interface ISiteServiceClient {
|
||||
* @generated from protobuf rpc: CancelAppointment
|
||||
*/
|
||||
cancelAppointment(input: CancelAppointmentRequest, options?: RpcOptions): UnaryCall<CancelAppointmentRequest, CancelAppointmentResponse>;
|
||||
/**
|
||||
* @generated from protobuf rpc: UpdateStatus
|
||||
*/
|
||||
updateStatus(input: UpdateSiteStatusRequest, options?: RpcOptions): UnaryCall<UpdateSiteStatusRequest, UpdateSiteStatusResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: DeleteSiteInDB
|
||||
*/
|
||||
deleteSiteInDB(input: DeleteSiteInDBRequest, options?: RpcOptions): UnaryCall<DeleteSiteInDBRequest, DeleteSiteInDBResult>;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf service api.SiteService
|
||||
@@ -185,4 +197,18 @@ export class SiteServiceClient implements ISiteServiceClient, ServiceInfo {
|
||||
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<CancelAppointmentRequest, CancelAppointmentResponse>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: UpdateStatus
|
||||
*/
|
||||
updateStatus(input: UpdateSiteStatusRequest, options?: RpcOptions): UnaryCall<UpdateSiteStatusRequest, UpdateSiteStatusResult> {
|
||||
const method = this.methods[13], 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[14], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<DeleteSiteInDBRequest, DeleteSiteInDBResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
299
site.ts
299
site.ts
@@ -17,6 +17,7 @@ import { SlotGroup } from "./slotbooking";
|
||||
import { SegmentationSelection } from "./slotbooking";
|
||||
import { Commission } from "./slotbooking";
|
||||
import { AppointmentType } from "./slotbooking";
|
||||
import { WorkflowExecutionResult } from "./shared";
|
||||
import { RequestSiteHeader } from "./shared";
|
||||
import { RequestOrganisationHeader } from "./shared";
|
||||
import { CarrierInformation } from "./slotbooking";
|
||||
@@ -147,6 +148,10 @@ export interface Site {
|
||||
* @generated from protobuf field: string DefaultSiteLanguageISO6391 = 21
|
||||
*/
|
||||
DefaultSiteLanguageISO6391: string;
|
||||
/**
|
||||
* @generated from protobuf field: api.SiteStatusEnum status = 22
|
||||
*/
|
||||
status: SiteStatusEnum;
|
||||
}
|
||||
// ========== REQUESTS & RESPONSE MESSAGES ==========
|
||||
|
||||
@@ -367,6 +372,10 @@ export interface DeleteSiteRequest {
|
||||
* @generated from protobuf message api.DeleteSiteResponse
|
||||
*/
|
||||
export interface DeleteSiteResponse {
|
||||
/**
|
||||
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
|
||||
*/
|
||||
WorkflowExecution?: WorkflowExecutionResult;
|
||||
}
|
||||
/**
|
||||
* SuggestID
|
||||
@@ -623,6 +632,71 @@ export interface ListUserSitesResponse {
|
||||
*/
|
||||
Sites: Site[];
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.UpdateSiteStatusRequest
|
||||
*/
|
||||
export interface UpdateSiteStatusRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string SiteID = 1
|
||||
*/
|
||||
SiteID: string;
|
||||
/**
|
||||
* @generated from protobuf field: api.SiteStatusEnum status = 2
|
||||
*/
|
||||
status: SiteStatusEnum;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.UpdateSiteStatusResult
|
||||
*/
|
||||
export interface UpdateSiteStatusResult {
|
||||
/**
|
||||
* @generated from protobuf field: api.SiteStatusEnum status = 1
|
||||
*/
|
||||
status: SiteStatusEnum;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.DeleteSiteInDBRequest
|
||||
*/
|
||||
export interface DeleteSiteInDBRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string SiteID = 1
|
||||
*/
|
||||
SiteID: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.DeleteSiteInDBResult
|
||||
*/
|
||||
export interface DeleteSiteInDBResult {
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf enum api.SiteStatusEnum
|
||||
*/
|
||||
export enum SiteStatusEnum {
|
||||
/**
|
||||
* @generated from protobuf enum value: SITE_STATUS_UNKNOWN = 0;
|
||||
*/
|
||||
SITE_STATUS_UNKNOWN = 0,
|
||||
/**
|
||||
* @generated from protobuf enum value: SITE_STATUS_PROVISIONNING = 1;
|
||||
*/
|
||||
SITE_STATUS_PROVISIONNING = 1,
|
||||
/**
|
||||
* @generated from protobuf enum value: SITE_STATUS_READY = 2;
|
||||
*/
|
||||
SITE_STATUS_READY = 2,
|
||||
/**
|
||||
* @generated from protobuf enum value: SITE_STATUS_DEPROVISIONNING = 3;
|
||||
*/
|
||||
SITE_STATUS_DEPROVISIONNING = 3,
|
||||
/**
|
||||
* @generated from protobuf enum value: SITE_STATUS_DEPROVISIONNED = 4;
|
||||
*/
|
||||
SITE_STATUS_DEPROVISIONNED = 4,
|
||||
/**
|
||||
* @generated from protobuf enum value: SITE_STATUS_ERROR = 5;
|
||||
*/
|
||||
SITE_STATUS_ERROR = 5
|
||||
}
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class Site$Type extends MessageType<Site> {
|
||||
constructor() {
|
||||
@@ -647,7 +721,8 @@ class Site$Type extends MessageType<Site> {
|
||||
{ no: 18, name: "RoundedPeriodInMinutes", kind: "scalar", localName: "RoundedPeriodInMinutes", jsonName: "RoundedPeriodInMinutes", T: 13 /*ScalarType.UINT32*/ },
|
||||
{ no: 19, name: "TimeZone", kind: "scalar", localName: "TimeZone", jsonName: "TimeZone", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", tzData: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Site time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" } } },
|
||||
{ no: 20, name: "Emails", kind: "scalar", localName: "Emails", jsonName: "Emails", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { repeated: { items: { string: { email: true, ignoreEmpty: true } } } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "[\"John.doe@reflex.com\", \"will.smith@reflex.com\"]" } } },
|
||||
{ no: 21, name: "DefaultSiteLanguageISO6391", kind: "scalar", localName: "DefaultSiteLanguageISO6391", jsonName: "DefaultSiteLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" } } }
|
||||
{ no: 21, name: "DefaultSiteLanguageISO6391", kind: "scalar", localName: "DefaultSiteLanguageISO6391", jsonName: "DefaultSiteLanguageISO6391", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" } } },
|
||||
{ no: 22, name: "status", kind: "enum", T: () => ["api.SiteStatusEnum", SiteStatusEnum], options: { "validate.rules": { enum: { definedOnly: true } } } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<Site>): Site {
|
||||
@@ -671,6 +746,7 @@ class Site$Type extends MessageType<Site> {
|
||||
message.TimeZone = "";
|
||||
message.Emails = [];
|
||||
message.DefaultSiteLanguageISO6391 = "";
|
||||
message.status = 0;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<Site>(this, message, value);
|
||||
return message;
|
||||
@@ -743,6 +819,9 @@ class Site$Type extends MessageType<Site> {
|
||||
case /* string DefaultSiteLanguageISO6391 */ 21:
|
||||
message.DefaultSiteLanguageISO6391 = reader.string();
|
||||
break;
|
||||
case /* api.SiteStatusEnum status */ 22:
|
||||
message.status = reader.int32();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -818,6 +897,9 @@ class Site$Type extends MessageType<Site> {
|
||||
/* string DefaultSiteLanguageISO6391 = 21; */
|
||||
if (message.DefaultSiteLanguageISO6391 !== "")
|
||||
writer.tag(21, WireType.LengthDelimited).string(message.DefaultSiteLanguageISO6391);
|
||||
/* api.SiteStatusEnum status = 22; */
|
||||
if (message.status !== 0)
|
||||
writer.tag(22, WireType.Varint).int32(message.status);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -1428,7 +1510,9 @@ export const DeleteSiteRequest = new DeleteSiteRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class DeleteSiteResponse$Type extends MessageType<DeleteSiteResponse> {
|
||||
constructor() {
|
||||
super("api.DeleteSiteResponse", []);
|
||||
super("api.DeleteSiteResponse", [
|
||||
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<DeleteSiteResponse>): DeleteSiteResponse {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
@@ -1441,6 +1525,9 @@ class DeleteSiteResponse$Type extends MessageType<DeleteSiteResponse> {
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.WorkflowExecutionResult WorkflowExecution */ 1:
|
||||
message.WorkflowExecution = WorkflowExecutionResult.internalBinaryRead(reader, reader.uint32(), options, message.WorkflowExecution);
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1453,6 +1540,9 @@ class DeleteSiteResponse$Type extends MessageType<DeleteSiteResponse> {
|
||||
return message;
|
||||
}
|
||||
internalBinaryWrite(message: DeleteSiteResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.WorkflowExecutionResult WorkflowExecution = 1; */
|
||||
if (message.WorkflowExecution)
|
||||
WorkflowExecutionResult.internalBinaryWrite(message.WorkflowExecution, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
@@ -2175,21 +2265,210 @@ class ListUserSitesResponse$Type extends MessageType<ListUserSitesResponse> {
|
||||
* @generated MessageType for protobuf message api.ListUserSitesResponse
|
||||
*/
|
||||
export const ListUserSitesResponse = new ListUserSitesResponse$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class UpdateSiteStatusRequest$Type extends MessageType<UpdateSiteStatusRequest> {
|
||||
constructor() {
|
||||
super("api.UpdateSiteStatusRequest", [
|
||||
{ no: 1, name: "SiteID", kind: "scalar", localName: "SiteID", jsonName: "SiteID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "status", kind: "enum", T: () => ["api.SiteStatusEnum", SiteStatusEnum], options: { "validate.rules": { enum: { definedOnly: true } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["SiteID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<UpdateSiteStatusRequest>): UpdateSiteStatusRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.SiteID = "";
|
||||
message.status = 0;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<UpdateSiteStatusRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateSiteStatusRequest): UpdateSiteStatusRequest {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string SiteID */ 1:
|
||||
message.SiteID = reader.string();
|
||||
break;
|
||||
case /* api.SiteStatusEnum status */ 2:
|
||||
message.status = reader.int32();
|
||||
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: UpdateSiteStatusRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string SiteID = 1; */
|
||||
if (message.SiteID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.SiteID);
|
||||
/* api.SiteStatusEnum status = 2; */
|
||||
if (message.status !== 0)
|
||||
writer.tag(2, WireType.Varint).int32(message.status);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.UpdateSiteStatusRequest
|
||||
*/
|
||||
export const UpdateSiteStatusRequest = new UpdateSiteStatusRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class UpdateSiteStatusResult$Type extends MessageType<UpdateSiteStatusResult> {
|
||||
constructor() {
|
||||
super("api.UpdateSiteStatusResult", [
|
||||
{ no: 1, name: "status", kind: "enum", T: () => ["api.SiteStatusEnum", SiteStatusEnum] }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<UpdateSiteStatusResult>): UpdateSiteStatusResult {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.status = 0;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<UpdateSiteStatusResult>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateSiteStatusResult): UpdateSiteStatusResult {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.SiteStatusEnum status */ 1:
|
||||
message.status = reader.int32();
|
||||
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: UpdateSiteStatusResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.SiteStatusEnum status = 1; */
|
||||
if (message.status !== 0)
|
||||
writer.tag(1, WireType.Varint).int32(message.status);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.UpdateSiteStatusResult
|
||||
*/
|
||||
export const UpdateSiteStatusResult = new UpdateSiteStatusResult$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class DeleteSiteInDBRequest$Type extends MessageType<DeleteSiteInDBRequest> {
|
||||
constructor() {
|
||||
super("api.DeleteSiteInDBRequest", [
|
||||
{ no: 1, name: "SiteID", kind: "scalar", localName: "SiteID", jsonName: "SiteID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["SiteID"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<DeleteSiteInDBRequest>): DeleteSiteInDBRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.SiteID = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<DeleteSiteInDBRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteSiteInDBRequest): DeleteSiteInDBRequest {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string SiteID */ 1:
|
||||
message.SiteID = 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: DeleteSiteInDBRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string SiteID = 1; */
|
||||
if (message.SiteID !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.SiteID);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.DeleteSiteInDBRequest
|
||||
*/
|
||||
export const DeleteSiteInDBRequest = new DeleteSiteInDBRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class DeleteSiteInDBResult$Type extends MessageType<DeleteSiteInDBResult> {
|
||||
constructor() {
|
||||
super("api.DeleteSiteInDBResult", []);
|
||||
}
|
||||
create(value?: PartialMessage<DeleteSiteInDBResult>): DeleteSiteInDBResult {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<DeleteSiteInDBResult>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteSiteInDBResult): DeleteSiteInDBResult {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
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: DeleteSiteInDBResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.DeleteSiteInDBResult
|
||||
*/
|
||||
export const DeleteSiteInDBResult = new DeleteSiteInDBResult$Type();
|
||||
/**
|
||||
* @generated ServiceType for protobuf service api.SiteService
|
||||
*/
|
||||
export const SiteService = new ServiceType("api.SiteService", [
|
||||
{ name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Create a site" }, "api.rscType": "Organisation", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateSiteRequest, O: CreateSiteResponse },
|
||||
{ name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get a site" }, "api.rscType": "Site", "api.roles": "Platform.Site", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: GetSiteRequest, O: GetSiteResponse },
|
||||
{ name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Create a site" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: CreateSiteRequest, O: CreateSiteResponse },
|
||||
{ name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Get a site" }, "api.rscType": "Site", "api.roles": "Platform.Site", "google.api.method_visibility": { restriction: "SDK" } }, I: GetSiteRequest, O: GetSiteResponse },
|
||||
{ name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "List site of an organisation" }, "api.rscType": "Organisation", "api.roles": "Platform.Site", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: ListSiteRequest, O: ListSiteResponse },
|
||||
{ name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update a site" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateSiteRequest, O: UpdateSiteResponse },
|
||||
{ name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete a site" }, "api.rscType": "Organisation", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteSiteRequest, O: DeleteSiteResponse },
|
||||
{ name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Update a site" }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: UpdateSiteRequest, O: UpdateSiteResponse },
|
||||
{ name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Delete a site" }, "api.rscType": "Organisation", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: DeleteSiteRequest, O: DeleteSiteResponse },
|
||||
{ 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": "Site", "api.roles": "", "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": "Site", "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": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: GetAvailableSlotsRequest, O: GetAvailableSlotsResponse },
|
||||
{ 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: "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": "", "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": "", "google.api.method_visibility": { restriction: "SDK" } }, I: BookAppointmentRequest, O: BookAppointmentResponse },
|
||||
{ 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: "CancelAppointment", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Site"], description: "Cancel an appointment on the site." }, "api.rscType": "Site", "api.roles": "", "google.api.method_visibility": { restriction: "SDK" } }, I: CancelAppointmentRequest, O: CancelAppointmentResponse }
|
||||
{ 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: "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" });
|
||||
|
||||
@@ -54,6 +54,8 @@ import type { StartWorkflowDeleteConnectionResult } from "./workflow";
|
||||
import type { StartWorkflowDeleteConnectionRequest } from "./workflow";
|
||||
import type { StartWorkflowDeletePartnerAppResult } from "./workflow";
|
||||
import type { StartWorkflowDeletePartnerAppRequest } from "./workflow";
|
||||
import type { StartWorkflowDeleteSiteResult } from "./workflow";
|
||||
import type { StartWorkflowDeleteSiteRequest } from "./workflow";
|
||||
import type { StartWorkflowDeleteCoreResult } from "./workflow";
|
||||
import type { StartWorkflowDeleteCoreRequest } from "./workflow";
|
||||
import type { StartWorkflowDeleteProjectResult } from "./workflow";
|
||||
@@ -85,6 +87,10 @@ export interface IWorkflowServiceClient {
|
||||
* @generated from protobuf rpc: StartWorkflowDeleteCore
|
||||
*/
|
||||
startWorkflowDeleteCore(input: StartWorkflowDeleteCoreRequest, options?: RpcOptions): UnaryCall<StartWorkflowDeleteCoreRequest, StartWorkflowDeleteCoreResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowDeleteSite
|
||||
*/
|
||||
startWorkflowDeleteSite(input: StartWorkflowDeleteSiteRequest, options?: RpcOptions): UnaryCall<StartWorkflowDeleteSiteRequest, StartWorkflowDeleteSiteResult>;
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowDeletePartnerApp
|
||||
*/
|
||||
@@ -223,179 +229,186 @@ export class WorkflowServiceClient implements IWorkflowServiceClient, ServiceInf
|
||||
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowDeleteCoreRequest, StartWorkflowDeleteCoreResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowDeleteSite
|
||||
*/
|
||||
startWorkflowDeleteSite(input: StartWorkflowDeleteSiteRequest, options?: RpcOptions): UnaryCall<StartWorkflowDeleteSiteRequest, StartWorkflowDeleteSiteResult> {
|
||||
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowDeleteSiteRequest, StartWorkflowDeleteSiteResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowDeletePartnerApp
|
||||
*/
|
||||
startWorkflowDeletePartnerApp(input: StartWorkflowDeletePartnerAppRequest, options?: RpcOptions): UnaryCall<StartWorkflowDeletePartnerAppRequest, StartWorkflowDeletePartnerAppResult> {
|
||||
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowDeletePartnerAppRequest, StartWorkflowDeletePartnerAppResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowDeleteConnection
|
||||
*/
|
||||
startWorkflowDeleteConnection(input: StartWorkflowDeleteConnectionRequest, options?: RpcOptions): UnaryCall<StartWorkflowDeleteConnectionRequest, StartWorkflowDeleteConnectionResult> {
|
||||
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowDeleteConnectionRequest, StartWorkflowDeleteConnectionResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowBilling
|
||||
*/
|
||||
startWorkflowBilling(input: StartWorkflowBillingRequest, options?: RpcOptions): UnaryCall<StartWorkflowBillingRequest, StartWorkflowBillingResult> {
|
||||
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowBillingRequest, StartWorkflowBillingResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StopWorkflowBilling
|
||||
*/
|
||||
stopWorkflowBilling(input: StopWorkflowBillingRequest, options?: RpcOptions): UnaryCall<StopWorkflowBillingRequest, StopWorkflowBillingResult> {
|
||||
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StopWorkflowBillingRequest, StopWorkflowBillingResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowExtractDataFromDB
|
||||
*/
|
||||
startWorkflowExtractDataFromDB(input: StartWorkflowExtractDataFromDBRequest, options?: RpcOptions): UnaryCall<StartWorkflowExtractDataFromDBRequest, StartWorkflowExtractDataFromDBResult> {
|
||||
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowExtractDataFromDBRequest, StartWorkflowExtractDataFromDBResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: RegisterModuleWorkflows
|
||||
*/
|
||||
registerModuleWorkflows(input: RegisterModuleWorkflowsRequest, options?: RpcOptions): UnaryCall<RegisterModuleWorkflowsRequest, RegisterModuleWorkflowsResult> {
|
||||
const method = this.methods[9], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<RegisterModuleWorkflowsRequest, RegisterModuleWorkflowsResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: DeregisterModuleWorkflows
|
||||
*/
|
||||
deregisterModuleWorkflows(input: DeregisterModuleWorkflowsRequest, options?: RpcOptions): UnaryCall<DeregisterModuleWorkflowsRequest, DeregisterModuleWorkflowsResult> {
|
||||
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<DeregisterModuleWorkflowsRequest, DeregisterModuleWorkflowsResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetModuleWorkflows
|
||||
*/
|
||||
getModuleWorkflows(input: GetModuleWorkflowsRequest, options?: RpcOptions): UnaryCall<GetModuleWorkflowsRequest, GetModuleWorkflowsResult> {
|
||||
const method = this.methods[11], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetModuleWorkflowsRequest, GetModuleWorkflowsResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StopWorkflow
|
||||
*/
|
||||
stopWorkflow(input: StopWorkflowRequest, options?: RpcOptions): UnaryCall<StopWorkflowRequest, StopWorkflowResult> {
|
||||
const method = this.methods[12], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StopWorkflowRequest, StopWorkflowResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowOptimizeClickhouse
|
||||
*/
|
||||
startWorkflowOptimizeClickhouse(input: StartWorkflowOptimizeClickhouseRequest, options?: RpcOptions): UnaryCall<StartWorkflowOptimizeClickhouseRequest, StartWorkflowOptimizeClickhouseResult> {
|
||||
const method = this.methods[13], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowOptimizeClickhouseRequest, StartWorkflowOptimizeClickhouseResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowCreateOrganisation
|
||||
*/
|
||||
startWorkflowCreateOrganisation(input: StartWorkflowCreateOrganisationRequest, options?: RpcOptions): UnaryCall<StartWorkflowCreateOrganisationRequest, StartWorkflowCreateOrganisationResult> {
|
||||
const method = this.methods[14], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowCreateOrganisationRequest, StartWorkflowCreateOrganisationResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowDeleteOrganisation
|
||||
*/
|
||||
startWorkflowDeleteOrganisation(input: StartWorkflowDeleteOrganisationRequest, options?: RpcOptions): UnaryCall<StartWorkflowDeleteOrganisationRequest, StartWorkflowDeleteOrganisationResult> {
|
||||
const method = this.methods[15], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowDeleteOrganisationRequest, StartWorkflowDeleteOrganisationResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowRecoverData
|
||||
*/
|
||||
startWorkflowRecoverData(input: StartWorkflowRecoverDataRequest, options?: RpcOptions): UnaryCall<StartWorkflowRecoverDataRequest, StartWorkflowRecoverDataResult> {
|
||||
const method = this.methods[16], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowRecoverDataRequest, StartWorkflowRecoverDataResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowCheckAndLaunchRecoverData
|
||||
*/
|
||||
startWorkflowCheckAndLaunchRecoverData(input: StartWorkflowCheckAndLaunchRecoverDataRequest, options?: RpcOptions): UnaryCall<StartWorkflowCheckAndLaunchRecoverDataRequest, StartWorkflowCheckAndLaunchRecoverDataResult> {
|
||||
const method = this.methods[17], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowCheckAndLaunchRecoverDataRequest, StartWorkflowCheckAndLaunchRecoverDataResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowUpdateMaterializedView
|
||||
*/
|
||||
startWorkflowUpdateMaterializedView(input: StartWorkflowUpdateMaterializedViewRequest, options?: RpcOptions): UnaryCall<StartWorkflowUpdateMaterializedViewRequest, StartWorkflowUpdateMaterializedViewResult> {
|
||||
const method = this.methods[18], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowUpdateMaterializedViewRequest, StartWorkflowUpdateMaterializedViewResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetWorkflowState
|
||||
*/
|
||||
getWorkflowState(input: GetWorkflowStateRequest, options?: RpcOptions): UnaryCall<GetWorkflowStateRequest, GetWorkflowStateResult> {
|
||||
const method = this.methods[19], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetWorkflowStateRequest, GetWorkflowStateResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: GetWorkflowExecutionInformations
|
||||
*/
|
||||
getWorkflowExecutionInformations(input: GetWorkflowExecutionInformationsRequest, options?: RpcOptions): UnaryCall<GetWorkflowExecutionInformationsRequest, GetWorkflowExecutionInformationsResult> {
|
||||
const method = this.methods[20], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<GetWorkflowExecutionInformationsRequest, GetWorkflowExecutionInformationsResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowDailyProjectsOperations
|
||||
*/
|
||||
startWorkflowDailyProjectsOperations(input: StartWorkflowDailyProjectsOperationsRequest, options?: RpcOptions): UnaryCall<StartWorkflowDailyProjectsOperationsRequest, StartWorkflowDailyProjectsOperationsResult> {
|
||||
const method = this.methods[21], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowDailyProjectsOperationsRequest, StartWorkflowDailyProjectsOperationsResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowHealthCheckWorkflows
|
||||
*/
|
||||
startWorkflowHealthCheckWorkflows(input: StartWorkflowHealthCheckWorkflowsRequest, options?: RpcOptions): UnaryCall<StartWorkflowHealthCheckWorkflowsRequest, StartWorkflowHealthCheckWorkflowsResult> {
|
||||
const method = this.methods[22], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowHealthCheckWorkflowsRequest, StartWorkflowHealthCheckWorkflowsResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowExtractKPI
|
||||
*/
|
||||
startWorkflowExtractKPI(input: StartWorkflowExtractKPIRequest, options?: RpcOptions): UnaryCall<StartWorkflowExtractKPIRequest, StartWorkflowExtractKPIResult> {
|
||||
const method = this.methods[23], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowExtractKPIRequest, StartWorkflowExtractKPIResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowPruneData
|
||||
*/
|
||||
startWorkflowPruneData(input: StartWorkflowPruneDataRequest, options?: RpcOptions): UnaryCall<StartWorkflowPruneDataRequest, StartWorkflowPruneDataResult> {
|
||||
const method = this.methods[24], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[25], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowPruneDataRequest, StartWorkflowPruneDataResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowSynchronizeRulesOnGit
|
||||
*/
|
||||
startWorkflowSynchronizeRulesOnGit(input: StartWorkflowSynchronizeRulesOnGitRequest, options?: RpcOptions): UnaryCall<StartWorkflowSynchronizeRulesOnGitRequest, StartWorkflowSynchronizeRulesOnGitResult> {
|
||||
const method = this.methods[25], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[26], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowSynchronizeRulesOnGitRequest, StartWorkflowSynchronizeRulesOnGitResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowAnonymizeData
|
||||
*/
|
||||
startWorkflowAnonymizeData(input: StartWorkflowAnonymizeDataRequest, options?: RpcOptions): UnaryCall<StartWorkflowAnonymizeDataRequest, StartWorkflowAnonymizeDataResult> {
|
||||
const method = this.methods[26], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[27], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowAnonymizeDataRequest, StartWorkflowAnonymizeDataResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowUpgradeModel
|
||||
*/
|
||||
startWorkflowUpgradeModel(input: StartWorkflowUpgradeModelRequest, options?: RpcOptions): UnaryCall<StartWorkflowUpgradeModelRequest, StartWorkflowUpgradeModelResult> {
|
||||
const method = this.methods[27], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[28], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowUpgradeModelRequest, StartWorkflowUpgradeModelResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf rpc: StartWorkflowSweep
|
||||
*/
|
||||
startWorkflowSweep(input: StartWorkflowSweepRequest, options?: RpcOptions): UnaryCall<StartWorkflowSweepRequest, StartWorkflowSweepResult> {
|
||||
const method = this.methods[28], opt = this._transport.mergeOptions(options);
|
||||
const method = this.methods[29], opt = this._transport.mergeOptions(options);
|
||||
return stackIntercept<StartWorkflowSweepRequest, StartWorkflowSweepResult>("unary", this._transport, method, opt, input);
|
||||
}
|
||||
}
|
||||
|
||||
124
workflow.ts
124
workflow.ts
@@ -137,6 +137,28 @@ export interface StartWorkflowDeleteCoreResult {
|
||||
*/
|
||||
WorkflowExecution?: WorkflowExecutionResult;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.StartWorkflowDeleteSiteRequest
|
||||
*/
|
||||
export interface StartWorkflowDeleteSiteRequest {
|
||||
/**
|
||||
* @generated from protobuf field: string SiteId = 1
|
||||
*/
|
||||
SiteId: string;
|
||||
/**
|
||||
* @generated from protobuf field: string UserId = 2
|
||||
*/
|
||||
UserId: string;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.StartWorkflowDeleteSiteResult
|
||||
*/
|
||||
export interface StartWorkflowDeleteSiteResult {
|
||||
/**
|
||||
* @generated from protobuf field: api.WorkflowExecutionResult WorkflowExecution = 1
|
||||
*/
|
||||
WorkflowExecution?: WorkflowExecutionResult;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.StartWorkflowDeletePartnerAppRequest
|
||||
*/
|
||||
@@ -1290,6 +1312,107 @@ class StartWorkflowDeleteCoreResult$Type extends MessageType<StartWorkflowDelete
|
||||
*/
|
||||
export const StartWorkflowDeleteCoreResult = new StartWorkflowDeleteCoreResult$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class StartWorkflowDeleteSiteRequest$Type extends MessageType<StartWorkflowDeleteSiteRequest> {
|
||||
constructor() {
|
||||
super("api.StartWorkflowDeleteSiteRequest", [
|
||||
{ no: 1, name: "SiteId", kind: "scalar", localName: "SiteId", jsonName: "SiteId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||
{ no: 2, name: "UserId", kind: "scalar", localName: "UserId", jsonName: "UserId", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["SiteId", "UserId"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<StartWorkflowDeleteSiteRequest>): StartWorkflowDeleteSiteRequest {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.SiteId = "";
|
||||
message.UserId = "";
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<StartWorkflowDeleteSiteRequest>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowDeleteSiteRequest): StartWorkflowDeleteSiteRequest {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* string SiteId */ 1:
|
||||
message.SiteId = reader.string();
|
||||
break;
|
||||
case /* string UserId */ 2:
|
||||
message.UserId = 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: StartWorkflowDeleteSiteRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* string SiteId = 1; */
|
||||
if (message.SiteId !== "")
|
||||
writer.tag(1, WireType.LengthDelimited).string(message.SiteId);
|
||||
/* string UserId = 2; */
|
||||
if (message.UserId !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.UserId);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
return writer;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* @generated MessageType for protobuf message api.StartWorkflowDeleteSiteRequest
|
||||
*/
|
||||
export const StartWorkflowDeleteSiteRequest = new StartWorkflowDeleteSiteRequest$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class StartWorkflowDeleteSiteResult$Type extends MessageType<StartWorkflowDeleteSiteResult> {
|
||||
constructor() {
|
||||
super("api.StartWorkflowDeleteSiteResult", [
|
||||
{ no: 1, name: "WorkflowExecution", kind: "message", localName: "WorkflowExecution", jsonName: "WorkflowExecution", T: () => WorkflowExecutionResult }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<StartWorkflowDeleteSiteResult>): StartWorkflowDeleteSiteResult {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<StartWorkflowDeleteSiteResult>(this, message, value);
|
||||
return message;
|
||||
}
|
||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: StartWorkflowDeleteSiteResult): StartWorkflowDeleteSiteResult {
|
||||
let message = target ?? this.create(), end = reader.pos + length;
|
||||
while (reader.pos < end) {
|
||||
let [fieldNo, wireType] = reader.tag();
|
||||
switch (fieldNo) {
|
||||
case /* api.WorkflowExecutionResult WorkflowExecution */ 1:
|
||||
message.WorkflowExecution = WorkflowExecutionResult.internalBinaryRead(reader, reader.uint32(), options, message.WorkflowExecution);
|
||||
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: StartWorkflowDeleteSiteResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||
/* api.WorkflowExecutionResult WorkflowExecution = 1; */
|
||||
if (message.WorkflowExecution)
|
||||
WorkflowExecutionResult.internalBinaryWrite(message.WorkflowExecution, writer.tag(1, 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.StartWorkflowDeleteSiteResult
|
||||
*/
|
||||
export const StartWorkflowDeleteSiteResult = new StartWorkflowDeleteSiteResult$Type();
|
||||
// @generated message type with reflection information, may provide speed optimized methods
|
||||
class StartWorkflowDeletePartnerAppRequest$Type extends MessageType<StartWorkflowDeletePartnerAppRequest> {
|
||||
constructor() {
|
||||
super("api.StartWorkflowDeletePartnerAppRequest", [
|
||||
@@ -4202,6 +4325,7 @@ export const WorkflowService = new ServiceType("api.WorkflowService", [
|
||||
{ name: "StartWorkflowCreateProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow CreateProject" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowCreateProjectRequest, O: StartWorkflowCreateProjectResult },
|
||||
{ name: "StartWorkflowDeleteProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow DeleteProject" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowDeleteProjectRequest, O: StartWorkflowDeleteProjectResult },
|
||||
{ name: "StartWorkflowDeleteCore", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow DeleteCore" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowDeleteCoreRequest, O: StartWorkflowDeleteCoreResult },
|
||||
{ name: "StartWorkflowDeleteSite", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow DeleteSite" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowDeleteSiteRequest, O: StartWorkflowDeleteSiteResult },
|
||||
{ name: "StartWorkflowDeletePartnerApp", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow DeletePartnerApp" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowDeletePartnerAppRequest, O: StartWorkflowDeletePartnerAppResult },
|
||||
{ name: "StartWorkflowDeleteConnection", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow DeleteConnection" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowDeleteConnectionRequest, O: StartWorkflowDeleteConnectionResult },
|
||||
{ name: "StartWorkflowBilling", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Admin Workflow"], description: "Start a workflow Billing" }, "api.rscType": "Platform", "api.roles": "Platform.Workflow", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: StartWorkflowBillingRequest, O: StartWorkflowBillingResult },
|
||||
|
||||
Reference in New Issue
Block a user