You've already forked npm-core-sdk
865 lines
48 KiB
TypeScript
865 lines
48 KiB
TypeScript
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix
|
|
// @generated from protobuf file "claimQuery.proto" (package "api", syntax proto3)
|
|
// tslint:disable
|
|
import { CountLinesResult } from "./shared";
|
|
import { CountLinesQuery } from "./shared";
|
|
import { GetKPIDataResult } from "./clickhouse";
|
|
import { GetKPIDataQuery } from "./clickhouse";
|
|
import { ExtractResult } from "./shared";
|
|
import { ExtractQuery } from "./shared";
|
|
import { ElementByMatchResult } from "./shared";
|
|
import { ElementByMatchQuery } from "./shared";
|
|
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
import { WireType } from "@protobuf-ts/runtime";
|
|
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
import { User } from "./user";
|
|
import { RequestProjectHeader } from "./shared";
|
|
import { MatchFieldResult } from "./shared";
|
|
import { MatchField } from "./shared";
|
|
import { EntityType } from "./shared";
|
|
import { BlockFilter } from "./shared";
|
|
import { Claim } from "./claim";
|
|
import { ResultHeader } from "./shared";
|
|
import { EntityID } from "./shared";
|
|
import { QueryProjectHeader } from "./shared";
|
|
//
|
|
// Query-server services
|
|
|
|
/**
|
|
* @generated from protobuf message api.ClaimByIdQuery
|
|
*/
|
|
export interface ClaimByIdQuery {
|
|
/**
|
|
* @generated from protobuf field: api.QueryProjectHeader Header = 1
|
|
*/
|
|
Header?: QueryProjectHeader;
|
|
/**
|
|
* @generated from protobuf field: repeated api.EntityID IDs = 2
|
|
*/
|
|
IDs: EntityID[];
|
|
/**
|
|
* @generated from protobuf field: api.ClaimQueryOptions Options = 3
|
|
*/
|
|
Options?: ClaimQueryOptions;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ClaimByIdResult
|
|
*/
|
|
export interface ClaimByIdResult {
|
|
/**
|
|
* @generated from protobuf field: api.ResultHeader Header = 1
|
|
*/
|
|
Header?: ResultHeader;
|
|
/**
|
|
* @generated from protobuf field: repeated api.Claim Objects = 2
|
|
*/
|
|
Objects: Claim[];
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ClaimByFilterQuery
|
|
*/
|
|
export interface ClaimByFilterQuery {
|
|
/**
|
|
* @generated from protobuf field: api.QueryProjectHeader Header = 1
|
|
*/
|
|
Header?: QueryProjectHeader;
|
|
/**
|
|
* Number of maximum result
|
|
*
|
|
* @generated from protobuf field: string limitFilter = 4
|
|
*/
|
|
limitFilter: string;
|
|
/**
|
|
* @generated from protobuf field: string queryContext = 5
|
|
*/
|
|
queryContext: string;
|
|
/**
|
|
* list of blockFilters structure for Find query, each element (BlockFilter) in the list is an "OR" part of the query, if not empty, simpleFilters (deprecated) & rangeFilters (deprecated) will be ignored
|
|
*
|
|
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 6
|
|
*/
|
|
BlockFilters: BlockFilter[];
|
|
/**
|
|
* @generated from protobuf field: api.ClaimQueryOptions Options = 7
|
|
*/
|
|
Options?: ClaimQueryOptions;
|
|
/**
|
|
* @generated from protobuf field: api.EntityType UsageContextEntity = 8
|
|
*/
|
|
UsageContextEntity: EntityType;
|
|
/**
|
|
* @generated from protobuf field: string UsageContextPath = 9
|
|
*/
|
|
UsageContextPath: string;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ClaimByFilterResult
|
|
*/
|
|
export interface ClaimByFilterResult {
|
|
/**
|
|
* @generated from protobuf field: api.ResultHeader Header = 1
|
|
*/
|
|
Header?: ResultHeader;
|
|
/**
|
|
* @generated from protobuf field: repeated api.Claim Objects = 2
|
|
*/
|
|
Objects: Claim[];
|
|
/**
|
|
* @generated from protobuf field: string queryContext = 3
|
|
*/
|
|
queryContext: string;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ClaimQueryOptions
|
|
*/
|
|
export interface ClaimQueryOptions {
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ClaimByMatchQuery
|
|
*/
|
|
export interface ClaimByMatchQuery {
|
|
/**
|
|
* @generated from protobuf field: api.QueryProjectHeader Header = 1
|
|
*/
|
|
Header?: QueryProjectHeader;
|
|
/**
|
|
* list of blockFilters structure for Find query, each element (BlockFilter) in the list is an "OR" part of the query, if not empty, simpleFilters (deprecated) & rangeFilters (deprecated) will be ignored
|
|
*
|
|
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 5
|
|
*/
|
|
BlockFilters: BlockFilter[];
|
|
/**
|
|
* MatchField list structure, for FindMatching query
|
|
*
|
|
* @generated from protobuf field: repeated api.MatchField MatchFields = 6
|
|
*/
|
|
MatchFields: MatchField[];
|
|
/**
|
|
* @generated from protobuf field: api.EntityType UsageContextEntity = 7
|
|
*/
|
|
UsageContextEntity: EntityType;
|
|
/**
|
|
* @generated from protobuf field: string UsageContextPath = 8
|
|
*/
|
|
UsageContextPath: string;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ClaimByMatchResult
|
|
*/
|
|
export interface ClaimByMatchResult {
|
|
/**
|
|
* @generated from protobuf field: repeated api.MatchFieldResult MatchResults = 2
|
|
*/
|
|
MatchResults: MatchFieldResult[];
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ClaimGetRoomQuery
|
|
*/
|
|
export interface ClaimGetRoomQuery {
|
|
/**
|
|
* @generated from protobuf field: api.QueryProjectHeader Header = 1
|
|
*/
|
|
Header?: QueryProjectHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ClaimGetRoomResult
|
|
*/
|
|
export interface ClaimGetRoomResult {
|
|
/**
|
|
* @generated from protobuf field: string RoomName = 1
|
|
*/
|
|
RoomName: string;
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ClaimGetAvailableContactsQuery
|
|
*/
|
|
export interface ClaimGetAvailableContactsQuery {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* @generated from protobuf field: api.EntityID ID = 2
|
|
*/
|
|
ID?: EntityID; // Claim ID to get available contacts for
|
|
/**
|
|
* @generated from protobuf field: repeated string PartnerIDs = 3
|
|
*/
|
|
PartnerIDs: string[]; // List of Partner IDs the contacts must be attached to
|
|
}
|
|
/**
|
|
* @generated from protobuf message api.ClaimGetAvailableContactsResult
|
|
*/
|
|
export interface ClaimGetAvailableContactsResult {
|
|
/**
|
|
* @generated from protobuf field: repeated api.User Contacts = 1
|
|
*/
|
|
Contacts: User[];
|
|
}
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ClaimByIdQuery$Type extends MessageType<ClaimByIdQuery> {
|
|
constructor() {
|
|
super("api.ClaimByIdQuery", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "IDs", kind: "message", localName: "IDs", jsonName: "IDs", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EntityID, options: { "validate.rules": { repeated: { minItems: "1" } } } },
|
|
{ no: 3, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => ClaimQueryOptions }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "IDs"] } }, "api.messageType": "Query" });
|
|
}
|
|
create(value?: PartialMessage<ClaimByIdQuery>): ClaimByIdQuery {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.IDs = [];
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ClaimByIdQuery>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimByIdQuery): ClaimByIdQuery {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.QueryProjectHeader Header */ 1:
|
|
message.Header = QueryProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* repeated api.EntityID IDs */ 2:
|
|
message.IDs.push(EntityID.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
case /* api.ClaimQueryOptions Options */ 3:
|
|
message.Options = ClaimQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ClaimByIdQuery, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.QueryProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
QueryProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* repeated api.EntityID IDs = 2; */
|
|
for (let i = 0; i < message.IDs.length; i++)
|
|
EntityID.internalBinaryWrite(message.IDs[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ClaimQueryOptions Options = 3; */
|
|
if (message.Options)
|
|
ClaimQueryOptions.internalBinaryWrite(message.Options, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ClaimByIdQuery
|
|
*/
|
|
export const ClaimByIdQuery = new ClaimByIdQuery$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ClaimByIdResult$Type extends MessageType<ClaimByIdResult> {
|
|
constructor() {
|
|
super("api.ClaimByIdResult", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResultHeader },
|
|
{ no: 2, name: "Objects", kind: "message", localName: "Objects", jsonName: "Objects", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Claim }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: {} }, "api.messageType": "Result" });
|
|
}
|
|
create(value?: PartialMessage<ClaimByIdResult>): ClaimByIdResult {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.Objects = [];
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ClaimByIdResult>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimByIdResult): ClaimByIdResult {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.ResultHeader Header */ 1:
|
|
message.Header = ResultHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* repeated api.Claim Objects */ 2:
|
|
message.Objects.push(Claim.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ClaimByIdResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.ResultHeader Header = 1; */
|
|
if (message.Header)
|
|
ResultHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* repeated api.Claim Objects = 2; */
|
|
for (let i = 0; i < message.Objects.length; i++)
|
|
Claim.internalBinaryWrite(message.Objects[i], 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.ClaimByIdResult
|
|
*/
|
|
export const ClaimByIdResult = new ClaimByIdResult$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ClaimByFilterQuery$Type extends MessageType<ClaimByFilterQuery> {
|
|
constructor() {
|
|
super("api.ClaimByFilterQuery", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {} } },
|
|
{ no: 4, name: "limitFilter", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of maximum result", example: "\"500\"" } } },
|
|
{ no: 5, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
{ no: 6, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
|
|
{ no: 7, name: "Options", kind: "message", localName: "Options", jsonName: "Options", T: () => ClaimQueryOptions },
|
|
{ no: 8, name: "UsageContextEntity", kind: "enum", localName: "UsageContextEntity", jsonName: "UsageContextEntity", T: () => ["api.EntityType", EntityType], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : Entity to apply the restriction rules (on the path defined with UsageContextPath)", example: "\"For Actor, to limit the results according to Order ShipFrom restriction rules, define UsageContextEntity to Order and UsageContextPath to Payload.ShipFrom\"" } } },
|
|
{ no: 9, name: "UsageContextPath", kind: "scalar", localName: "UsageContextPath", jsonName: "UsageContextPath", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : Path of restriction rule to apply (UsageContextEntity should be defined)" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
|
|
}
|
|
create(value?: PartialMessage<ClaimByFilterQuery>): ClaimByFilterQuery {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.limitFilter = "";
|
|
message.queryContext = "";
|
|
message.BlockFilters = [];
|
|
message.UsageContextEntity = 0;
|
|
message.UsageContextPath = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ClaimByFilterQuery>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimByFilterQuery): ClaimByFilterQuery {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.QueryProjectHeader Header */ 1:
|
|
message.Header = QueryProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* string limitFilter */ 4:
|
|
message.limitFilter = reader.string();
|
|
break;
|
|
case /* string queryContext */ 5:
|
|
message.queryContext = reader.string();
|
|
break;
|
|
case /* repeated api.BlockFilter BlockFilters */ 6:
|
|
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
case /* api.ClaimQueryOptions Options */ 7:
|
|
message.Options = ClaimQueryOptions.internalBinaryRead(reader, reader.uint32(), options, message.Options);
|
|
break;
|
|
case /* api.EntityType UsageContextEntity */ 8:
|
|
message.UsageContextEntity = reader.int32();
|
|
break;
|
|
case /* string UsageContextPath */ 9:
|
|
message.UsageContextPath = 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: ClaimByFilterQuery, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.QueryProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
QueryProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* string limitFilter = 4; */
|
|
if (message.limitFilter !== "")
|
|
writer.tag(4, WireType.LengthDelimited).string(message.limitFilter);
|
|
/* string queryContext = 5; */
|
|
if (message.queryContext !== "")
|
|
writer.tag(5, WireType.LengthDelimited).string(message.queryContext);
|
|
/* repeated api.BlockFilter BlockFilters = 6; */
|
|
for (let i = 0; i < message.BlockFilters.length; i++)
|
|
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.ClaimQueryOptions Options = 7; */
|
|
if (message.Options)
|
|
ClaimQueryOptions.internalBinaryWrite(message.Options, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityType UsageContextEntity = 8; */
|
|
if (message.UsageContextEntity !== 0)
|
|
writer.tag(8, WireType.Varint).int32(message.UsageContextEntity);
|
|
/* string UsageContextPath = 9; */
|
|
if (message.UsageContextPath !== "")
|
|
writer.tag(9, WireType.LengthDelimited).string(message.UsageContextPath);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ClaimByFilterQuery
|
|
*/
|
|
export const ClaimByFilterQuery = new ClaimByFilterQuery$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ClaimByFilterResult$Type extends MessageType<ClaimByFilterResult> {
|
|
constructor() {
|
|
super("api.ClaimByFilterResult", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => ResultHeader },
|
|
{ no: 2, name: "Objects", kind: "message", localName: "Objects", jsonName: "Objects", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Claim },
|
|
{ no: 3, name: "queryContext", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<ClaimByFilterResult>): ClaimByFilterResult {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.Objects = [];
|
|
message.queryContext = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ClaimByFilterResult>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimByFilterResult): ClaimByFilterResult {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.ResultHeader Header */ 1:
|
|
message.Header = ResultHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* repeated api.Claim Objects */ 2:
|
|
message.Objects.push(Claim.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
case /* string queryContext */ 3:
|
|
message.queryContext = 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: ClaimByFilterResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.ResultHeader Header = 1; */
|
|
if (message.Header)
|
|
ResultHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* repeated api.Claim Objects = 2; */
|
|
for (let i = 0; i < message.Objects.length; i++)
|
|
Claim.internalBinaryWrite(message.Objects[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* string queryContext = 3; */
|
|
if (message.queryContext !== "")
|
|
writer.tag(3, WireType.LengthDelimited).string(message.queryContext);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ClaimByFilterResult
|
|
*/
|
|
export const ClaimByFilterResult = new ClaimByFilterResult$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ClaimQueryOptions$Type extends MessageType<ClaimQueryOptions> {
|
|
constructor() {
|
|
super("api.ClaimQueryOptions", []);
|
|
}
|
|
create(value?: PartialMessage<ClaimQueryOptions>): ClaimQueryOptions {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ClaimQueryOptions>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimQueryOptions): ClaimQueryOptions {
|
|
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: ClaimQueryOptions, 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.ClaimQueryOptions
|
|
*/
|
|
export const ClaimQueryOptions = new ClaimQueryOptions$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ClaimByMatchQuery$Type extends MessageType<ClaimByMatchQuery> {
|
|
constructor() {
|
|
super("api.ClaimByMatchQuery", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 5, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter },
|
|
{ no: 6, name: "MatchFields", kind: "message", localName: "MatchFields", jsonName: "MatchFields", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MatchField, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "MatchField list structure, for FindMatching query" } } },
|
|
{ no: 7, name: "UsageContextEntity", kind: "enum", localName: "UsageContextEntity", jsonName: "UsageContextEntity", T: () => ["api.EntityType", EntityType], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : Entity to apply the restriction rules (on the path defined with UsageContextPath)", example: "\"For Actor, to limit the results according to Order ShipFrom restriction rules, define UsageContextEntity to Order and UsageContextPath to Payload.ShipFrom\"" } } },
|
|
{ no: 8, name: "UsageContextPath", kind: "scalar", localName: "UsageContextPath", jsonName: "UsageContextPath", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Optional : Path of restriction rule to apply (UsageContextEntity should be defined)" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
|
|
}
|
|
create(value?: PartialMessage<ClaimByMatchQuery>): ClaimByMatchQuery {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.BlockFilters = [];
|
|
message.MatchFields = [];
|
|
message.UsageContextEntity = 0;
|
|
message.UsageContextPath = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ClaimByMatchQuery>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimByMatchQuery): ClaimByMatchQuery {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.QueryProjectHeader Header */ 1:
|
|
message.Header = QueryProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* repeated api.BlockFilter BlockFilters */ 5:
|
|
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
case /* repeated api.MatchField MatchFields */ 6:
|
|
message.MatchFields.push(MatchField.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
case /* api.EntityType UsageContextEntity */ 7:
|
|
message.UsageContextEntity = reader.int32();
|
|
break;
|
|
case /* string UsageContextPath */ 8:
|
|
message.UsageContextPath = 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: ClaimByMatchQuery, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.QueryProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
QueryProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* repeated api.BlockFilter BlockFilters = 5; */
|
|
for (let i = 0; i < message.BlockFilters.length; i++)
|
|
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
/* repeated api.MatchField MatchFields = 6; */
|
|
for (let i = 0; i < message.MatchFields.length; i++)
|
|
MatchField.internalBinaryWrite(message.MatchFields[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityType UsageContextEntity = 7; */
|
|
if (message.UsageContextEntity !== 0)
|
|
writer.tag(7, WireType.Varint).int32(message.UsageContextEntity);
|
|
/* string UsageContextPath = 8; */
|
|
if (message.UsageContextPath !== "")
|
|
writer.tag(8, WireType.LengthDelimited).string(message.UsageContextPath);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ClaimByMatchQuery
|
|
*/
|
|
export const ClaimByMatchQuery = new ClaimByMatchQuery$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ClaimByMatchResult$Type extends MessageType<ClaimByMatchResult> {
|
|
constructor() {
|
|
super("api.ClaimByMatchResult", [
|
|
{ no: 2, name: "MatchResults", kind: "message", localName: "MatchResults", jsonName: "MatchResults", repeat: 2 /*RepeatType.UNPACKED*/, T: () => MatchFieldResult }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<ClaimByMatchResult>): ClaimByMatchResult {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.MatchResults = [];
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ClaimByMatchResult>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimByMatchResult): ClaimByMatchResult {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* repeated api.MatchFieldResult MatchResults */ 2:
|
|
message.MatchResults.push(MatchFieldResult.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ClaimByMatchResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* repeated api.MatchFieldResult MatchResults = 2; */
|
|
for (let i = 0; i < message.MatchResults.length; i++)
|
|
MatchFieldResult.internalBinaryWrite(message.MatchResults[i], 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.ClaimByMatchResult
|
|
*/
|
|
export const ClaimByMatchResult = new ClaimByMatchResult$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ClaimGetRoomQuery$Type extends MessageType<ClaimGetRoomQuery> {
|
|
constructor() {
|
|
super("api.ClaimGetRoomQuery", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => QueryProjectHeader, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {} } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {} } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID"] } } });
|
|
}
|
|
create(value?: PartialMessage<ClaimGetRoomQuery>): ClaimGetRoomQuery {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ClaimGetRoomQuery>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimGetRoomQuery): ClaimGetRoomQuery {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.QueryProjectHeader Header */ 1:
|
|
message.Header = QueryProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
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: ClaimGetRoomQuery, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.QueryProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
QueryProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, 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.ClaimGetRoomQuery
|
|
*/
|
|
export const ClaimGetRoomQuery = new ClaimGetRoomQuery$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ClaimGetRoomResult$Type extends MessageType<ClaimGetRoomResult> {
|
|
constructor() {
|
|
super("api.ClaimGetRoomResult", [
|
|
{ no: 1, name: "RoomName", kind: "scalar", localName: "RoomName", jsonName: "RoomName", T: 9 /*ScalarType.STRING*/ }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<ClaimGetRoomResult>): ClaimGetRoomResult {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.RoomName = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ClaimGetRoomResult>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimGetRoomResult): ClaimGetRoomResult {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string RoomName */ 1:
|
|
message.RoomName = 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: ClaimGetRoomResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string RoomName = 1; */
|
|
if (message.RoomName !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.RoomName);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ClaimGetRoomResult
|
|
*/
|
|
export const ClaimGetRoomResult = new ClaimGetRoomResult$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ClaimGetAvailableContactsQuery$Type extends MessageType<ClaimGetAvailableContactsQuery> {
|
|
constructor() {
|
|
super("api.ClaimGetAvailableContactsQuery", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {} } },
|
|
{ no: 2, name: "ID", kind: "message", localName: "ID", jsonName: "ID", T: () => EntityID, options: { "validate.rules": { message: { required: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": {} } },
|
|
{ no: 3, name: "PartnerIDs", kind: "scalar", localName: "PartnerIDs", jsonName: "PartnerIDs", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ID"] } } });
|
|
}
|
|
create(value?: PartialMessage<ClaimGetAvailableContactsQuery>): ClaimGetAvailableContactsQuery {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.PartnerIDs = [];
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ClaimGetAvailableContactsQuery>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimGetAvailableContactsQuery): ClaimGetAvailableContactsQuery {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* api.EntityID ID */ 2:
|
|
message.ID = EntityID.internalBinaryRead(reader, reader.uint32(), options, message.ID);
|
|
break;
|
|
case /* repeated string PartnerIDs */ 3:
|
|
message.PartnerIDs.push(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: ClaimGetAvailableContactsQuery, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* api.EntityID ID = 2; */
|
|
if (message.ID)
|
|
EntityID.internalBinaryWrite(message.ID, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
/* repeated string PartnerIDs = 3; */
|
|
for (let i = 0; i < message.PartnerIDs.length; i++)
|
|
writer.tag(3, WireType.LengthDelimited).string(message.PartnerIDs[i]);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message api.ClaimGetAvailableContactsQuery
|
|
*/
|
|
export const ClaimGetAvailableContactsQuery = new ClaimGetAvailableContactsQuery$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ClaimGetAvailableContactsResult$Type extends MessageType<ClaimGetAvailableContactsResult> {
|
|
constructor() {
|
|
super("api.ClaimGetAvailableContactsResult", [
|
|
{ no: 1, name: "Contacts", kind: "message", localName: "Contacts", jsonName: "Contacts", repeat: 2 /*RepeatType.UNPACKED*/, T: () => User }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<ClaimGetAvailableContactsResult>): ClaimGetAvailableContactsResult {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.Contacts = [];
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ClaimGetAvailableContactsResult>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ClaimGetAvailableContactsResult): ClaimGetAvailableContactsResult {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* repeated api.User Contacts */ 1:
|
|
message.Contacts.push(User.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ClaimGetAvailableContactsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* repeated api.User Contacts = 1; */
|
|
for (let i = 0; i < message.Contacts.length; i++)
|
|
User.internalBinaryWrite(message.Contacts[i], 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.ClaimGetAvailableContactsResult
|
|
*/
|
|
export const ClaimGetAvailableContactsResult = new ClaimGetAvailableContactsResult$Type();
|
|
/**
|
|
* @generated ServiceType for protobuf service api.ClaimQuery
|
|
*/
|
|
export const ClaimQuery = new ServiceType("api.ClaimQuery", [
|
|
{ name: "GetByIds", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Get Claims from Ids" }, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "claim", "api.tableName": "claimById", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimByIdQuery, O: ClaimByIdResult },
|
|
{ name: "Find", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Find Claims using search criterias" }, "api.customQuery": true, "api.rscType": "Project", "api.roles": "Platform.Project-Query", "api.moduleID": "claim", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimByFilterQuery, O: ClaimByFilterResult },
|
|
{ name: "FindMatchingFieldValues", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Using search criteria & a main field word, find the list of fields containing the searched word (used for auto completion purposes ...) " }, "api.customQuery": true, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimByMatchQuery, O: ClaimByMatchResult },
|
|
{ name: "FindMatchingFieldElements", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim 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.customQuery": true, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ElementByMatchQuery, O: ElementByMatchResult },
|
|
{ name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Schedule a data extraction" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExtractQuery, O: ExtractResult },
|
|
{ name: "GetKPIData", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Get Claim KPI data" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: GetKPIDataQuery, O: GetKPIDataResult },
|
|
{ name: "GetRoom", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Get room for a claim" }, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimGetRoomQuery, O: ClaimGetRoomResult },
|
|
{ name: "CountLines", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Count lines in database for project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Query", "api.moduleID": "claim", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: CountLinesQuery, O: CountLinesResult },
|
|
{ name: "GetAvailableContacts", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["Claim Query"], description: "Get available contacts for a claim" }, "api.customQuery": true, "api.rscType": "Project", "api.roles": "", "api.moduleID": "claim", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ClaimGetAvailableContactsQuery, O: ClaimGetAvailableContactsResult }
|
|
], { "api.serviceType": "Query", "api.k8sService": "collab-query-server" });
|