From 420e461e0e5c11bb754a571b6347b4a1bdb92a6b Mon Sep 17 00:00:00 2001 From: ci core model Date: Mon, 23 Jun 2025 09:59:08 +0000 Subject: [PATCH] Latest generation --- appointmentQuery.client.ts | 39 ++++++++++++++++++++++++-------------- appointmentQuery.ts | 3 --- package.json | 2 +- 3 files changed, 26 insertions(+), 18 deletions(-) diff --git a/appointmentQuery.client.ts b/appointmentQuery.client.ts index 1724272..e919a64 100644 --- a/appointmentQuery.client.ts +++ b/appointmentQuery.client.ts @@ -6,8 +6,6 @@ import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { AppointmentQuery } from "./appointmentQuery"; import type { CountLinesResult } from "./shared"; import type { CountLinesQuery } from "./shared"; -import type { GetKPIDataResult } from "./clickhouse"; -import type { GetKPIDataSiteQuery } from "./clickhouse"; import type { ExtractResult } from "./shared"; import type { ExtractSiteQuery } from "./shared"; import type { ElementByMatchResult } from "./shared"; @@ -46,10 +44,18 @@ export interface IAppointmentQueryClient { */ extract(input: ExtractSiteQuery, options?: RpcOptions): UnaryCall; /** - * @generated from protobuf rpc: GetKPIData - */ - getKPIData(input: GetKPIDataSiteQuery, options?: RpcOptions): UnaryCall; - /** + * rpc GetKPIData (GetKPIDataSiteQuery) returns (GetKPIDataResult) { + * option (rscType) = "Site"; + * option (roles) = ""; + * option (moduleID) = "appointment-scheduling"; + * option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + * description: "Get Appointment KPI data" + * summary: "" + * tags: "Appointment Query" + * }; + * option (google.api.method_visibility).restriction = "PUBLIC"; + * }; + * * @generated from protobuf rpc: CountLines */ countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall; @@ -99,17 +105,22 @@ export class AppointmentQueryClient implements IAppointmentQueryClient, ServiceI return stackIntercept("unary", this._transport, method, opt, input); } /** - * @generated from protobuf rpc: GetKPIData - */ - getKPIData(input: GetKPIDataSiteQuery, options?: RpcOptions): UnaryCall { - const method = this.methods[5], opt = this._transport.mergeOptions(options); - return stackIntercept("unary", this._transport, method, opt, input); - } - /** + * rpc GetKPIData (GetKPIDataSiteQuery) returns (GetKPIDataResult) { + * option (rscType) = "Site"; + * option (roles) = ""; + * option (moduleID) = "appointment-scheduling"; + * option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { + * description: "Get Appointment KPI data" + * summary: "" + * tags: "Appointment Query" + * }; + * option (google.api.method_visibility).restriction = "PUBLIC"; + * }; + * * @generated from protobuf rpc: CountLines */ countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall { - const method = this.methods[6], opt = this._transport.mergeOptions(options); + const method = this.methods[5], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } } diff --git a/appointmentQuery.ts b/appointmentQuery.ts index 2fbbfd3..3c2c4d8 100644 --- a/appointmentQuery.ts +++ b/appointmentQuery.ts @@ -3,8 +3,6 @@ // tslint:disable import { CountLinesResult } from "./shared"; import { CountLinesQuery } from "./shared"; -import { GetKPIDataResult } from "./clickhouse"; -import { GetKPIDataSiteQuery } from "./clickhouse"; import { ExtractResult } from "./shared"; import { ExtractSiteQuery } from "./shared"; import { ElementByMatchResult } from "./shared"; @@ -485,6 +483,5 @@ export const AppointmentQuery = new ServiceType("api.AppointmentQuery", [ { name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: AppointmentByMatchQuery, O: AppointmentByMatchResult }, { name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "using search criteria & a main field word, find the list of field elements containing the searched word (used for auto completion purposes ...) " }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ElementByMatchSiteQuery, O: ElementByMatchResult }, { name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Schedule a data extraction" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExtractSiteQuery, O: ExtractResult }, - { name: "GetKPIData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Get Appointment KPI data" }, "api.rscType": "Site", "api.roles": "", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: GetKPIDataSiteQuery, O: GetKPIDataResult }, { name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Count lines in database for project" }, "api.rscType": "Platform", "api.roles": "Platform.Site-Query", "api.moduleID": "appointment-scheduling", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: CountLinesQuery, O: CountLinesResult } ], { "api.serviceType": "Query", "api.k8sService": "collab-query-server" }); diff --git a/package.json b/package.json index 0bd52a9..60007e6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@reflex-platform/npm-core-sdk", - "version": "1.11.0-SNAPSHOT-250623095551", + "version": "1.11.0-SNAPSHOT-250623095849", "description": "npm libs from core model proto files", "homepage": "", "main": "index.ts",