You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -14,6 +14,8 @@ import type { ClearKpiEntityResult } from "./kpi";
|
|||||||
import type { ClearKpiEntityRequest } from "./kpi";
|
import type { ClearKpiEntityRequest } from "./kpi";
|
||||||
import type { GetKpiEntitiesResult } from "./kpi";
|
import type { GetKpiEntitiesResult } from "./kpi";
|
||||||
import type { GetKpiEntitiesRequest } from "./kpi";
|
import type { GetKpiEntitiesRequest } from "./kpi";
|
||||||
|
import type { DropKpiTableStructureResult } from "./kpi";
|
||||||
|
import type { DropKpiTableStructureRequest } from "./kpi";
|
||||||
import type { UpdateKpiTableStructureResult } from "./kpi";
|
import type { UpdateKpiTableStructureResult } from "./kpi";
|
||||||
import type { UpdateKpiTableStructureRequest } from "./kpi";
|
import type { UpdateKpiTableStructureRequest } from "./kpi";
|
||||||
import type { GetKpiTableStructureResult } from "./kpi";
|
import type { GetKpiTableStructureResult } from "./kpi";
|
||||||
@@ -39,6 +41,10 @@ export interface IKpiServiceClient {
|
|||||||
* @generated from protobuf rpc: UpdateKpiTableStructure
|
* @generated from protobuf rpc: UpdateKpiTableStructure
|
||||||
*/
|
*/
|
||||||
updateKpiTableStructure(input: UpdateKpiTableStructureRequest, options?: RpcOptions): UnaryCall<UpdateKpiTableStructureRequest, UpdateKpiTableStructureResult>;
|
updateKpiTableStructure(input: UpdateKpiTableStructureRequest, options?: RpcOptions): UnaryCall<UpdateKpiTableStructureRequest, UpdateKpiTableStructureResult>;
|
||||||
|
/**
|
||||||
|
* @generated from protobuf rpc: DropKpiTableStructure
|
||||||
|
*/
|
||||||
|
dropKpiTableStructure(input: DropKpiTableStructureRequest, options?: RpcOptions): UnaryCall<DropKpiTableStructureRequest, DropKpiTableStructureResult>;
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf rpc: GetKpiEntities
|
* @generated from protobuf rpc: GetKpiEntities
|
||||||
*/
|
*/
|
||||||
@@ -90,39 +96,46 @@ export class KpiServiceClient implements IKpiServiceClient, ServiceInfo {
|
|||||||
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
||||||
return stackIntercept<UpdateKpiTableStructureRequest, UpdateKpiTableStructureResult>("unary", this._transport, method, opt, input);
|
return stackIntercept<UpdateKpiTableStructureRequest, UpdateKpiTableStructureResult>("unary", this._transport, method, opt, input);
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @generated from protobuf rpc: DropKpiTableStructure
|
||||||
|
*/
|
||||||
|
dropKpiTableStructure(input: DropKpiTableStructureRequest, options?: RpcOptions): UnaryCall<DropKpiTableStructureRequest, DropKpiTableStructureResult> {
|
||||||
|
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
||||||
|
return stackIntercept<DropKpiTableStructureRequest, DropKpiTableStructureResult>("unary", this._transport, method, opt, input);
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf rpc: GetKpiEntities
|
* @generated from protobuf rpc: GetKpiEntities
|
||||||
*/
|
*/
|
||||||
getKpiEntities(input: GetKpiEntitiesRequest, options?: RpcOptions): UnaryCall<GetKpiEntitiesRequest, GetKpiEntitiesResult> {
|
getKpiEntities(input: GetKpiEntitiesRequest, options?: RpcOptions): UnaryCall<GetKpiEntitiesRequest, GetKpiEntitiesResult> {
|
||||||
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
||||||
return stackIntercept<GetKpiEntitiesRequest, GetKpiEntitiesResult>("unary", this._transport, method, opt, input);
|
return stackIntercept<GetKpiEntitiesRequest, GetKpiEntitiesResult>("unary", this._transport, method, opt, input);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf rpc: ClearKpiEntity
|
* @generated from protobuf rpc: ClearKpiEntity
|
||||||
*/
|
*/
|
||||||
clearKpiEntity(input: ClearKpiEntityRequest, options?: RpcOptions): UnaryCall<ClearKpiEntityRequest, ClearKpiEntityResult> {
|
clearKpiEntity(input: ClearKpiEntityRequest, options?: RpcOptions): UnaryCall<ClearKpiEntityRequest, ClearKpiEntityResult> {
|
||||||
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
||||||
return stackIntercept<ClearKpiEntityRequest, ClearKpiEntityResult>("unary", this._transport, method, opt, input);
|
return stackIntercept<ClearKpiEntityRequest, ClearKpiEntityResult>("unary", this._transport, method, opt, input);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf rpc: CreateMV
|
* @generated from protobuf rpc: CreateMV
|
||||||
*/
|
*/
|
||||||
createMV(input: CreateMVRequest, options?: RpcOptions): UnaryCall<CreateMVRequest, CreateMVResult> {
|
createMV(input: CreateMVRequest, options?: RpcOptions): UnaryCall<CreateMVRequest, CreateMVResult> {
|
||||||
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
||||||
return stackIntercept<CreateMVRequest, CreateMVResult>("unary", this._transport, method, opt, input);
|
return stackIntercept<CreateMVRequest, CreateMVResult>("unary", this._transport, method, opt, input);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf rpc: DropMV
|
* @generated from protobuf rpc: DropMV
|
||||||
*/
|
*/
|
||||||
dropMV(input: DropMVRequest, options?: RpcOptions): UnaryCall<DropMVRequest, DropMVResult> {
|
dropMV(input: DropMVRequest, options?: RpcOptions): UnaryCall<DropMVRequest, DropMVResult> {
|
||||||
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
||||||
return stackIntercept<DropMVRequest, DropMVResult>("unary", this._transport, method, opt, input);
|
return stackIntercept<DropMVRequest, DropMVResult>("unary", this._transport, method, opt, input);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf rpc: PopulateMV
|
* @generated from protobuf rpc: PopulateMV
|
||||||
*/
|
*/
|
||||||
populateMV(input: PopulateMVRequest, options?: RpcOptions): UnaryCall<PopulateMVRequest, PopulateMVResult> {
|
populateMV(input: PopulateMVRequest, options?: RpcOptions): UnaryCall<PopulateMVRequest, PopulateMVResult> {
|
||||||
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
||||||
return stackIntercept<PopulateMVRequest, PopulateMVResult>("unary", this._transport, method, opt, input);
|
return stackIntercept<PopulateMVRequest, PopulateMVResult>("unary", this._transport, method, opt, input);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
152
kpi.ts
152
kpi.ts
@@ -147,6 +147,10 @@ export interface GetKpiTableStructureRequest {
|
|||||||
* @generated from protobuf field: string Domain = 2
|
* @generated from protobuf field: string Domain = 2
|
||||||
*/
|
*/
|
||||||
Domain: string;
|
Domain: string;
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: api.EntityType Entity = 3
|
||||||
|
*/
|
||||||
|
Entity: EntityType;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.GetKpiTableStructureResult
|
* @generated from protobuf message api.GetKpiTableStructureResult
|
||||||
@@ -169,12 +173,38 @@ export interface UpdateKpiTableStructureRequest {
|
|||||||
* @generated from protobuf field: string Domain = 2
|
* @generated from protobuf field: string Domain = 2
|
||||||
*/
|
*/
|
||||||
Domain: string;
|
Domain: string;
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: api.EntityType Entity = 3
|
||||||
|
*/
|
||||||
|
Entity: EntityType;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.UpdateKpiTableStructureResult
|
* @generated from protobuf message api.UpdateKpiTableStructureResult
|
||||||
*/
|
*/
|
||||||
export interface UpdateKpiTableStructureResult {
|
export interface UpdateKpiTableStructureResult {
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @generated from protobuf message api.DropKpiTableStructureRequest
|
||||||
|
*/
|
||||||
|
export interface DropKpiTableStructureRequest {
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: string RscID = 1
|
||||||
|
*/
|
||||||
|
RscID: string; // RscID or SiteID
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: string Domain = 2
|
||||||
|
*/
|
||||||
|
Domain: string;
|
||||||
|
/**
|
||||||
|
* @generated from protobuf field: api.EntityType Entity = 3
|
||||||
|
*/
|
||||||
|
Entity: EntityType;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @generated from protobuf message api.DropKpiTableStructureResult
|
||||||
|
*/
|
||||||
|
export interface DropKpiTableStructureResult {
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* @generated from protobuf message api.GetKpiEntitiesRequest
|
* @generated from protobuf message api.GetKpiEntitiesRequest
|
||||||
*/
|
*/
|
||||||
@@ -656,13 +686,15 @@ class GetKpiTableStructureRequest$Type extends MessageType<GetKpiTableStructureR
|
|||||||
constructor() {
|
constructor() {
|
||||||
super("api.GetKpiTableStructureRequest", [
|
super("api.GetKpiTableStructureRequest", [
|
||||||
{ no: 1, name: "RscID", kind: "scalar", localName: "RscID", jsonName: "RscID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
{ no: 1, name: "RscID", kind: "scalar", localName: "RscID", jsonName: "RscID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||||
{ no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { in: ["trade", "collab", "core"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } }
|
{ no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { in: ["trade", "collab", "core"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } },
|
||||||
|
{ no: 3, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "validate.rules": { enum: { definedOnly: true } } } }
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["RscID", "Domain"] } } });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["RscID", "Domain"] } } });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<GetKpiTableStructureRequest>): GetKpiTableStructureRequest {
|
create(value?: PartialMessage<GetKpiTableStructureRequest>): GetKpiTableStructureRequest {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.RscID = "";
|
message.RscID = "";
|
||||||
message.Domain = "";
|
message.Domain = "";
|
||||||
|
message.Entity = 0;
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<GetKpiTableStructureRequest>(this, message, value);
|
reflectionMergePartial<GetKpiTableStructureRequest>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -678,6 +710,9 @@ class GetKpiTableStructureRequest$Type extends MessageType<GetKpiTableStructureR
|
|||||||
case /* string Domain */ 2:
|
case /* string Domain */ 2:
|
||||||
message.Domain = reader.string();
|
message.Domain = reader.string();
|
||||||
break;
|
break;
|
||||||
|
case /* api.EntityType Entity */ 3:
|
||||||
|
message.Entity = reader.int32();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -696,6 +731,9 @@ class GetKpiTableStructureRequest$Type extends MessageType<GetKpiTableStructureR
|
|||||||
/* string Domain = 2; */
|
/* string Domain = 2; */
|
||||||
if (message.Domain !== "")
|
if (message.Domain !== "")
|
||||||
writer.tag(2, WireType.LengthDelimited).string(message.Domain);
|
writer.tag(2, WireType.LengthDelimited).string(message.Domain);
|
||||||
|
/* api.EntityType Entity = 3; */
|
||||||
|
if (message.Entity !== 0)
|
||||||
|
writer.tag(3, WireType.Varint).int32(message.Entity);
|
||||||
let u = options.writeUnknownFields;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
@@ -758,13 +796,15 @@ class UpdateKpiTableStructureRequest$Type extends MessageType<UpdateKpiTableStru
|
|||||||
constructor() {
|
constructor() {
|
||||||
super("api.UpdateKpiTableStructureRequest", [
|
super("api.UpdateKpiTableStructureRequest", [
|
||||||
{ no: 1, name: "RscID", kind: "scalar", localName: "RscID", jsonName: "RscID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
{ no: 1, name: "RscID", kind: "scalar", localName: "RscID", jsonName: "RscID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||||
{ no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { in: ["trade", "collab", "core"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } }
|
{ no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { in: ["trade", "collab", "core"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } },
|
||||||
|
{ no: 3, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "validate.rules": { enum: { definedOnly: true } } } }
|
||||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["RscID", "RscType", "Domain"] } } });
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["RscID", "RscType", "Domain"] } } });
|
||||||
}
|
}
|
||||||
create(value?: PartialMessage<UpdateKpiTableStructureRequest>): UpdateKpiTableStructureRequest {
|
create(value?: PartialMessage<UpdateKpiTableStructureRequest>): UpdateKpiTableStructureRequest {
|
||||||
const message = globalThis.Object.create((this.messagePrototype!));
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
message.RscID = "";
|
message.RscID = "";
|
||||||
message.Domain = "";
|
message.Domain = "";
|
||||||
|
message.Entity = 0;
|
||||||
if (value !== undefined)
|
if (value !== undefined)
|
||||||
reflectionMergePartial<UpdateKpiTableStructureRequest>(this, message, value);
|
reflectionMergePartial<UpdateKpiTableStructureRequest>(this, message, value);
|
||||||
return message;
|
return message;
|
||||||
@@ -780,6 +820,9 @@ class UpdateKpiTableStructureRequest$Type extends MessageType<UpdateKpiTableStru
|
|||||||
case /* string Domain */ 2:
|
case /* string Domain */ 2:
|
||||||
message.Domain = reader.string();
|
message.Domain = reader.string();
|
||||||
break;
|
break;
|
||||||
|
case /* api.EntityType Entity */ 3:
|
||||||
|
message.Entity = reader.int32();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
let u = options.readUnknownField;
|
let u = options.readUnknownField;
|
||||||
if (u === "throw")
|
if (u === "throw")
|
||||||
@@ -798,6 +841,9 @@ class UpdateKpiTableStructureRequest$Type extends MessageType<UpdateKpiTableStru
|
|||||||
/* string Domain = 2; */
|
/* string Domain = 2; */
|
||||||
if (message.Domain !== "")
|
if (message.Domain !== "")
|
||||||
writer.tag(2, WireType.LengthDelimited).string(message.Domain);
|
writer.tag(2, WireType.LengthDelimited).string(message.Domain);
|
||||||
|
/* api.EntityType Entity = 3; */
|
||||||
|
if (message.Entity !== 0)
|
||||||
|
writer.tag(3, WireType.Varint).int32(message.Entity);
|
||||||
let u = options.writeUnknownFields;
|
let u = options.writeUnknownFields;
|
||||||
if (u !== false)
|
if (u !== false)
|
||||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
@@ -847,6 +893,107 @@ class UpdateKpiTableStructureResult$Type extends MessageType<UpdateKpiTableStruc
|
|||||||
*/
|
*/
|
||||||
export const UpdateKpiTableStructureResult = new UpdateKpiTableStructureResult$Type();
|
export const UpdateKpiTableStructureResult = new UpdateKpiTableStructureResult$Type();
|
||||||
// @generated message type with reflection information, may provide speed optimized methods
|
// @generated message type with reflection information, may provide speed optimized methods
|
||||||
|
class DropKpiTableStructureRequest$Type extends MessageType<DropKpiTableStructureRequest> {
|
||||||
|
constructor() {
|
||||||
|
super("api.DropKpiTableStructureRequest", [
|
||||||
|
{ no: 1, name: "RscID", kind: "scalar", localName: "RscID", jsonName: "RscID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
||||||
|
{ no: 2, name: "Domain", kind: "scalar", localName: "Domain", jsonName: "Domain", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { in: ["trade", "collab", "core"] } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { default: "trade" } } },
|
||||||
|
{ no: 3, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "validate.rules": { enum: { definedOnly: true } } } }
|
||||||
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["RscID", "RscType", "Domain"] } } });
|
||||||
|
}
|
||||||
|
create(value?: PartialMessage<DropKpiTableStructureRequest>): DropKpiTableStructureRequest {
|
||||||
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
|
message.RscID = "";
|
||||||
|
message.Domain = "";
|
||||||
|
message.Entity = 0;
|
||||||
|
if (value !== undefined)
|
||||||
|
reflectionMergePartial<DropKpiTableStructureRequest>(this, message, value);
|
||||||
|
return message;
|
||||||
|
}
|
||||||
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DropKpiTableStructureRequest): DropKpiTableStructureRequest {
|
||||||
|
let message = target ?? this.create(), end = reader.pos + length;
|
||||||
|
while (reader.pos < end) {
|
||||||
|
let [fieldNo, wireType] = reader.tag();
|
||||||
|
switch (fieldNo) {
|
||||||
|
case /* string RscID */ 1:
|
||||||
|
message.RscID = reader.string();
|
||||||
|
break;
|
||||||
|
case /* string Domain */ 2:
|
||||||
|
message.Domain = reader.string();
|
||||||
|
break;
|
||||||
|
case /* api.EntityType Entity */ 3:
|
||||||
|
message.Entity = 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: DropKpiTableStructureRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
||||||
|
/* string RscID = 1; */
|
||||||
|
if (message.RscID !== "")
|
||||||
|
writer.tag(1, WireType.LengthDelimited).string(message.RscID);
|
||||||
|
/* string Domain = 2; */
|
||||||
|
if (message.Domain !== "")
|
||||||
|
writer.tag(2, WireType.LengthDelimited).string(message.Domain);
|
||||||
|
/* api.EntityType Entity = 3; */
|
||||||
|
if (message.Entity !== 0)
|
||||||
|
writer.tag(3, WireType.Varint).int32(message.Entity);
|
||||||
|
let u = options.writeUnknownFields;
|
||||||
|
if (u !== false)
|
||||||
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||||
|
return writer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @generated MessageType for protobuf message api.DropKpiTableStructureRequest
|
||||||
|
*/
|
||||||
|
export const DropKpiTableStructureRequest = new DropKpiTableStructureRequest$Type();
|
||||||
|
// @generated message type with reflection information, may provide speed optimized methods
|
||||||
|
class DropKpiTableStructureResult$Type extends MessageType<DropKpiTableStructureResult> {
|
||||||
|
constructor() {
|
||||||
|
super("api.DropKpiTableStructureResult", []);
|
||||||
|
}
|
||||||
|
create(value?: PartialMessage<DropKpiTableStructureResult>): DropKpiTableStructureResult {
|
||||||
|
const message = globalThis.Object.create((this.messagePrototype!));
|
||||||
|
if (value !== undefined)
|
||||||
|
reflectionMergePartial<DropKpiTableStructureResult>(this, message, value);
|
||||||
|
return message;
|
||||||
|
}
|
||||||
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DropKpiTableStructureResult): DropKpiTableStructureResult {
|
||||||
|
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: DropKpiTableStructureResult, 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.DropKpiTableStructureResult
|
||||||
|
*/
|
||||||
|
export const DropKpiTableStructureResult = new DropKpiTableStructureResult$Type();
|
||||||
|
// @generated message type with reflection information, may provide speed optimized methods
|
||||||
class GetKpiEntitiesRequest$Type extends MessageType<GetKpiEntitiesRequest> {
|
class GetKpiEntitiesRequest$Type extends MessageType<GetKpiEntitiesRequest> {
|
||||||
constructor() {
|
constructor() {
|
||||||
super("api.GetKpiEntitiesRequest", [
|
super("api.GetKpiEntitiesRequest", [
|
||||||
@@ -1327,6 +1474,7 @@ export const KpiService = new ServiceType("api.KpiService", [
|
|||||||
{ name: "GetKpis", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Get the KPIs analysis possibilities" }, "api.rscType": "Project", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "SDK" } }, I: GetKpisRequest, O: GetKpisResult },
|
{ name: "GetKpis", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Get the KPIs analysis possibilities" }, "api.rscType": "Project", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "SDK" } }, I: GetKpisRequest, O: GetKpisResult },
|
||||||
{ name: "GetKpiTableStructure", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Get KPI Table structure" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetKpiTableStructureRequest, O: GetKpiTableStructureResult },
|
{ name: "GetKpiTableStructure", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Get KPI Table structure" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetKpiTableStructureRequest, O: GetKpiTableStructureResult },
|
||||||
{ name: "UpdateKpiTableStructure", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Update KPI Table structure" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: UpdateKpiTableStructureRequest, O: UpdateKpiTableStructureResult },
|
{ name: "UpdateKpiTableStructure", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Update KPI Table structure" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: UpdateKpiTableStructureRequest, O: UpdateKpiTableStructureResult },
|
||||||
|
{ name: "DropKpiTableStructure", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Drop KPI Table structure" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: DropKpiTableStructureRequest, O: DropKpiTableStructureResult },
|
||||||
{ name: "GetKpiEntities", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Get the entities with KPIs" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetKpiEntitiesRequest, O: GetKpiEntitiesResult },
|
{ name: "GetKpiEntities", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Get the entities with KPIs" }, "api.rscType": "Platform", "api.roles": "", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: GetKpiEntitiesRequest, O: GetKpiEntitiesResult },
|
||||||
{ name: "ClearKpiEntity", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Clear KPI data for a specific entity" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ClearKpiEntityRequest, O: ClearKpiEntityResult },
|
{ name: "ClearKpiEntity", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Clear KPI data for a specific entity" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: ClearKpiEntityRequest, O: ClearKpiEntityResult },
|
||||||
{ name: "CreateMV", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Build materialized view for all kpi groups" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateMVRequest, O: CreateMVResult },
|
{ name: "CreateMV", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["KPIs"], description: "Build materialized view for all kpi groups" }, "api.rscType": "Platform", "api.roles": "Platform.Project-KPI", "google.api.method_visibility": { restriction: "INTERNAL" } }, I: CreateMVRequest, O: CreateMVResult },
|
||||||
|
|||||||
@@ -267,6 +267,10 @@
|
|||||||
"TechMessage": "CompleteSnapshot {snapshotID} ends with limitations : unable to identify old stock entries.",
|
"TechMessage": "CompleteSnapshot {snapshotID} ends with limitations : unable to identify old stock entries.",
|
||||||
"UserMessage": "All stock entries not covered by snapshot {snapshotID} were not reset to quantity 0."
|
"UserMessage": "All stock entries not covered by snapshot {snapshotID} were not reset to quantity 0."
|
||||||
},
|
},
|
||||||
|
"PROPAGATION_SNAPSHOTTING_3": {
|
||||||
|
"TechMessage": "CompleteSnapshot {snapshotID} ends with limitations : too many stock entries updated.",
|
||||||
|
"UserMessage": "All stock entries not covered by snapshot {snapshotID} because it exceeds maximum processing size."
|
||||||
|
},
|
||||||
"REQUEST_VALIDATION_2FA_OPTIONAL_FORBIDDEN": {
|
"REQUEST_VALIDATION_2FA_OPTIONAL_FORBIDDEN": {
|
||||||
"TechMessage": "Platform-Manager and Platform-Operator users cannot have optional 2FA",
|
"TechMessage": "Platform-Manager and Platform-Operator users cannot have optional 2FA",
|
||||||
"UserMessage": "Platform-Manager and Platform-Operator users cannot have optional 2FA"
|
"UserMessage": "Platform-Manager and Platform-Operator users cannot have optional 2FA"
|
||||||
|
|||||||
@@ -267,6 +267,10 @@
|
|||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
},
|
},
|
||||||
|
"PROPAGATION_SNAPSHOTTING_3": {
|
||||||
|
"TechMessage": "",
|
||||||
|
"UserMessage": ""
|
||||||
|
},
|
||||||
"REQUEST_VALIDATION_2FA_OPTIONAL_FORBIDDEN": {
|
"REQUEST_VALIDATION_2FA_OPTIONAL_FORBIDDEN": {
|
||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
|
|||||||
@@ -267,6 +267,10 @@
|
|||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
},
|
},
|
||||||
|
"PROPAGATION_SNAPSHOTTING_3": {
|
||||||
|
"TechMessage": "",
|
||||||
|
"UserMessage": ""
|
||||||
|
},
|
||||||
"REQUEST_VALIDATION_2FA_OPTIONAL_FORBIDDEN": {
|
"REQUEST_VALIDATION_2FA_OPTIONAL_FORBIDDEN": {
|
||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
|
|||||||
@@ -267,6 +267,10 @@
|
|||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
},
|
},
|
||||||
|
"PROPAGATION_SNAPSHOTTING_3": {
|
||||||
|
"TechMessage": "",
|
||||||
|
"UserMessage": ""
|
||||||
|
},
|
||||||
"REQUEST_VALIDATION_2FA_OPTIONAL_FORBIDDEN": {
|
"REQUEST_VALIDATION_2FA_OPTIONAL_FORBIDDEN": {
|
||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
|
|||||||
@@ -267,6 +267,10 @@
|
|||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
},
|
},
|
||||||
|
"PROPAGATION_SNAPSHOTTING_3": {
|
||||||
|
"TechMessage": "",
|
||||||
|
"UserMessage": ""
|
||||||
|
},
|
||||||
"REQUEST_VALIDATION_2FA_OPTIONAL_FORBIDDEN": {
|
"REQUEST_VALIDATION_2FA_OPTIONAL_FORBIDDEN": {
|
||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
|
|||||||
@@ -267,6 +267,10 @@
|
|||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
},
|
},
|
||||||
|
"PROPAGATION_SNAPSHOTTING_3": {
|
||||||
|
"TechMessage": "",
|
||||||
|
"UserMessage": ""
|
||||||
|
},
|
||||||
"REQUEST_VALIDATION_2FA_OPTIONAL_FORBIDDEN": {
|
"REQUEST_VALIDATION_2FA_OPTIONAL_FORBIDDEN": {
|
||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
|
|||||||
@@ -267,6 +267,10 @@
|
|||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
},
|
},
|
||||||
|
"PROPAGATION_SNAPSHOTTING_3": {
|
||||||
|
"TechMessage": "",
|
||||||
|
"UserMessage": ""
|
||||||
|
},
|
||||||
"REQUEST_VALIDATION_2FA_OPTIONAL_FORBIDDEN": {
|
"REQUEST_VALIDATION_2FA_OPTIONAL_FORBIDDEN": {
|
||||||
"TechMessage": "",
|
"TechMessage": "",
|
||||||
"UserMessage": ""
|
"UserMessage": ""
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@reflex-platform/npm-core-sdk",
|
"name": "@reflex-platform/npm-core-sdk",
|
||||||
"version": "1.13.0-SNAPSHOT-260409095235",
|
"version": "1.13.0-SNAPSHOT-260413083348",
|
||||||
"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