You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -7,7 +7,7 @@ import { AppointmentQuery } from "./appointmentQuery";
|
|||||||
import type { CrossFindElementByMatchQuery } from "./shared";
|
import type { CrossFindElementByMatchQuery } from "./shared";
|
||||||
import type { CrossFindByMatchResult } from "./shared";
|
import type { CrossFindByMatchResult } from "./shared";
|
||||||
import type { CrossFindByMatchQuery } from "./shared";
|
import type { CrossFindByMatchQuery } from "./shared";
|
||||||
import type { CrossFindResult } from "./appointmentQuery";
|
import type { CrossFindAppointmentResult } from "./appointmentQuery";
|
||||||
import type { CrossFindQuery } from "./shared";
|
import type { CrossFindQuery } from "./shared";
|
||||||
import type { FindByCommissionResult } from "./appointmentQuery";
|
import type { FindByCommissionResult } from "./appointmentQuery";
|
||||||
import type { FindByCommissionQuery } from "./appointmentQuery";
|
import type { FindByCommissionQuery } from "./appointmentQuery";
|
||||||
@@ -78,7 +78,7 @@ export interface IAppointmentQueryClient {
|
|||||||
/**
|
/**
|
||||||
* @generated from protobuf rpc: CrossFind
|
* @generated from protobuf rpc: CrossFind
|
||||||
*/
|
*/
|
||||||
crossFind(input: CrossFindQuery, options?: RpcOptions): UnaryCall<CrossFindQuery, CrossFindResult>;
|
crossFind(input: CrossFindQuery, options?: RpcOptions): UnaryCall<CrossFindQuery, CrossFindAppointmentResult>;
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf rpc: CrossFindMatchingFieldValues
|
* @generated from protobuf rpc: CrossFindMatchingFieldValues
|
||||||
*/
|
*/
|
||||||
@@ -170,9 +170,9 @@ export class AppointmentQueryClient implements IAppointmentQueryClient, ServiceI
|
|||||||
/**
|
/**
|
||||||
* @generated from protobuf rpc: CrossFind
|
* @generated from protobuf rpc: CrossFind
|
||||||
*/
|
*/
|
||||||
crossFind(input: CrossFindQuery, options?: RpcOptions): UnaryCall<CrossFindQuery, CrossFindResult> {
|
crossFind(input: CrossFindQuery, options?: RpcOptions): UnaryCall<CrossFindQuery, CrossFindAppointmentResult> {
|
||||||
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
const method = this.methods[10], opt = this._transport.mergeOptions(options);
|
||||||
return stackIntercept<CrossFindQuery, CrossFindResult>("unary", this._transport, method, opt, input);
|
return stackIntercept<CrossFindQuery, CrossFindAppointmentResult>("unary", this._transport, method, opt, input);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf rpc: CrossFindMatchingFieldValues
|
* @generated from protobuf rpc: CrossFindMatchingFieldValues
|
||||||
|
|||||||
@@ -276,9 +276,9 @@ export interface FindByCommissionResult {
|
|||||||
queryContext: string;
|
queryContext: string;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.CrossFindResult
|
* @generated from protobuf message api.CrossFindAppointmentResult
|
||||||
*/
|
*/
|
||||||
export interface CrossFindResult {
|
export interface CrossFindAppointmentResult {
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf field: repeated api.Appointment Objects = 1
|
* @generated from protobuf field: repeated api.Appointment Objects = 1
|
||||||
*/
|
*/
|
||||||
@@ -1068,23 +1068,23 @@ class FindByCommissionResult$Type extends MessageType<FindByCommissionResult> {
|
|||||||
*/
|
*/
|
||||||
export const FindByCommissionResult = new FindByCommissionResult$Type();
|
export const FindByCommissionResult = new FindByCommissionResult$Type();
|
||||||
// @generated message type with reflection information, may provide speed optimized methods
|
// @generated message type with reflection information, may provide speed optimized methods
|
||||||
class CrossFindResult$Type extends MessageType<CrossFindResult> {
|
class CrossFindAppointmentResult$Type extends MessageType<CrossFindAppointmentResult> {
|
||||||
constructor() {
|
constructor() {
|
||||||
super("api.CrossFindResult", [
|
super("api.CrossFindAppointmentResult", [
|
||||||
{ no: 1, name: "Objects", kind: "message", localName: "Objects", jsonName: "Objects", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Appointment },
|
{ no: 1, name: "Objects", kind: "message", localName: "Objects", jsonName: "Objects", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Appointment },
|
||||||
{ no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResultHeader },
|
{ no: 2, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResultHeader },
|
||||||
{ no: 3, name: "QueryContext", kind: "scalar", localName: "QueryContext", jsonName: "QueryContext", T: 9 /*ScalarType.STRING*/ }
|
{ no: 3, name: "QueryContext", kind: "scalar", localName: "QueryContext", jsonName: "QueryContext", T: 9 /*ScalarType.STRING*/ }
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<CrossFindResult>): CrossFindResult {
|
create(value?: PartialMessage<CrossFindAppointmentResult>): CrossFindAppointmentResult {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.Objects = [];
|
message.Objects = [];
|
||||||
message.QueryContext = "";
|
message.QueryContext = "";
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<CrossFindResult>(this, message, value);
|
reflectionMergePartial<CrossFindAppointmentResult>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CrossFindResult): CrossFindResult {
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CrossFindAppointmentResult): CrossFindAppointmentResult {
|
||||||
let message = target ?? this.create(), end = reader.pos + length;
|
let message = target ?? this.create(), end = reader.pos + length;
|
||||||
while (reader.pos < end) {
|
while (reader.pos < end) {
|
||||||
let [fieldNo, wireType] = reader.tag();
|
let [fieldNo, wireType] = reader.tag();
|
||||||
@@ -1109,7 +1109,7 @@ class CrossFindResult$Type extends MessageType<CrossFindResult> {
|
|||||||
}
|
}
|
||||||
return message;
|
return message;
|
||||||
}
|
}
|
||||||
internalBinaryWrite(message: CrossFindResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
internalBinaryWrite(message: CrossFindAppointmentResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||||
/* repeated api.Appointment Objects = 1; */
|
/* repeated api.Appointment Objects = 1; */
|
||||||
for (let i = 0; i < message.Objects.length; i++)
|
for (let i = 0; i < message.Objects.length; i++)
|
||||||
Appointment.internalBinaryWrite(message.Objects[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
Appointment.internalBinaryWrite(message.Objects[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
||||||
@@ -1126,9 +1126,9 @@ class CrossFindResult$Type extends MessageType<CrossFindResult> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated MessageType for protobuf message api.CrossFindResult
|
* @generated MessageType for protobuf message api.CrossFindAppointmentResult
|
||||||
*/
|
*/
|
||||||
export const CrossFindResult = new CrossFindResult$Type();
|
export const CrossFindAppointmentResult = new CrossFindAppointmentResult$Type();
|
||||||
/**
|
/**
|
||||||
* @generated ServiceType for protobuf service api.AppointmentQuery
|
* @generated ServiceType for protobuf service api.AppointmentQuery
|
||||||
*/
|
*/
|
||||||
@@ -1143,7 +1143,7 @@ export const AppointmentQuery = new ServiceType("api.AppointmentQuery", [
|
|||||||
{ name: "FindMine", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Find user's all Appointments across all sites in all organisations" }, "api.customQuery": true, "api.rscType": "Platform", "api.roles": "", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: FindMineQuery, O: FindMineResult },
|
{ name: "FindMine", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Find user's all Appointments across all sites in all organisations" }, "api.customQuery": true, "api.rscType": "Platform", "api.roles": "", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: FindMineQuery, O: FindMineResult },
|
||||||
{ name: "FindMineMatchingFieldValues", 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": "Platform", "api.roles": "", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: FindMineByMatchQuery, O: AppointmentByMatchResult },
|
{ name: "FindMineMatchingFieldValues", 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": "Platform", "api.roles": "", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: FindMineByMatchQuery, O: AppointmentByMatchResult },
|
||||||
{ name: "FindByCommission", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Find Appointments using search criterias" }, "api.customQuery": true, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: FindByCommissionQuery, O: FindByCommissionResult },
|
{ name: "FindByCommission", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Find Appointments using search criterias" }, "api.customQuery": true, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: FindByCommissionQuery, O: FindByCommissionResult },
|
||||||
{ name: "CrossFind", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Find user's all Appointments across all sites in all organisations" }, "api.customQuery": true, "api.rscType": "Platform", "api.roles": "", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: CrossFindQuery, O: CrossFindResult },
|
{ name: "CrossFind", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Appointment Query"], description: "Find user's all Appointments across all sites in all organisations" }, "api.rscType": "Platform", "api.roles": "", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: CrossFindQuery, O: CrossFindAppointmentResult },
|
||||||
{ name: "CrossFindMatchingFieldValues", 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": "Platform", "api.roles": "", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: CrossFindByMatchQuery, O: CrossFindByMatchResult },
|
{ name: "CrossFindMatchingFieldValues", 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": "Platform", "api.roles": "", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: CrossFindByMatchQuery, O: CrossFindByMatchResult },
|
||||||
{ name: "CrossFindMatchingFieldElements", 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": "Platform", "api.roles": "", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: CrossFindElementByMatchQuery, O: ElementByMatchResult }
|
{ name: "CrossFindMatchingFieldElements", 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": "Platform", "api.roles": "", "api.moduleID": "appointment-scheduling", "api.tags": "PROJECT_SITE", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: CrossFindElementByMatchQuery, O: ElementByMatchResult }
|
||||||
], { "api.serviceType": "Query", "api.k8sService": "collab-query-server" });
|
], { "api.serviceType": "Query", "api.k8sService": "collab-query-server" });
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"name": "@reflex-platform/npm-core-sdk",
|
||||||
"version": "1.13.0-SNAPSHOT-260226175435",
|
"version": "1.13.0-SNAPSHOT-260227150901",
|
||||||
"description": "npm libs from core model proto files",
|
"description": "npm libs from core model proto files",
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"main": "index.ts",
|
"main": "index.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user