You've already forked npm-core-sdk
Latest generation
This commit is contained in:
@@ -11,6 +11,7 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
|
||||
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
||||
import { MessageType } from "@protobuf-ts/runtime";
|
||||
import { WorkflowExecutionResult } from "./shared";
|
||||
import { TimeFormat } from "./shared";
|
||||
import { ExtractColumnFormat } from "./shared";
|
||||
import { TranslationMap } from "./shared";
|
||||
import { BlockFilter } from "./shared";
|
||||
@@ -434,6 +435,18 @@ export interface ExtractKPIQuery {
|
||||
columnFormats: {
|
||||
[key: number]: ExtractColumnFormat;
|
||||
};
|
||||
/**
|
||||
* @generated from protobuf field: string DateFormat = 20 [json_name = "DateFormat"];
|
||||
*/
|
||||
dateFormat: string;
|
||||
/**
|
||||
* @generated from protobuf field: string NumberFormat = 21 [json_name = "NumberFormat"];
|
||||
*/
|
||||
numberFormat: string;
|
||||
/**
|
||||
* @generated from protobuf field: api.TimeFormat TimeFormat = 22 [json_name = "TimeFormat"];
|
||||
*/
|
||||
timeFormat: TimeFormat;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf message api.ExtractKPIResult
|
||||
@@ -1490,7 +1503,10 @@ class ExtractKPIQuery$Type extends MessageType<ExtractKPIQuery> {
|
||||
{ no: 16, name: "ColumnNames", kind: "scalar", jsonName: "ColumnNames", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 17, name: "ColumnTranslationMaps", kind: "map", jsonName: "ColumnTranslationMaps", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => TranslationMap } },
|
||||
{ no: 18, name: "FieldIdxLVDetailedQuantity", kind: "scalar", jsonName: "FieldIdxLVDetailedQuantity", repeat: 1 /*RepeatType.PACKED*/, T: 5 /*ScalarType.INT32*/ },
|
||||
{ no: 19, name: "ColumnFormats", kind: "map", jsonName: "ColumnFormats", K: 5 /*ScalarType.INT32*/, V: { kind: "message", T: () => ExtractColumnFormat } }
|
||||
{ no: 19, name: "ColumnFormats", kind: "map", jsonName: "ColumnFormats", K: 5 /*ScalarType.INT32*/, V: { kind: "message", T: () => ExtractColumnFormat } },
|
||||
{ no: 20, name: "DateFormat", kind: "scalar", jsonName: "DateFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format dates <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } },
|
||||
{ no: 21, name: "NumberFormat", kind: "scalar", jsonName: "NumberFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format numbers <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } },
|
||||
{ no: 22, name: "TimeFormat", kind: "enum", jsonName: "TimeFormat", T: () => ["api.TimeFormat", TimeFormat], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Hour clock time format" } } }
|
||||
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "UserId", "Fields", "ListSeparator", "DecimalSeparator", "ColumnName", "TargetDomain", "TargetType"] } } });
|
||||
}
|
||||
create(value?: PartialMessage<ExtractKPIQuery>): ExtractKPIQuery {
|
||||
@@ -1512,6 +1528,9 @@ class ExtractKPIQuery$Type extends MessageType<ExtractKPIQuery> {
|
||||
message.columnTranslationMaps = {};
|
||||
message.fieldIdxLVDetailedQuantity = [];
|
||||
message.columnFormats = {};
|
||||
message.dateFormat = "";
|
||||
message.numberFormat = "";
|
||||
message.timeFormat = 0;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExtractKPIQuery>(this, message, value);
|
||||
return message;
|
||||
@@ -1582,6 +1601,15 @@ class ExtractKPIQuery$Type extends MessageType<ExtractKPIQuery> {
|
||||
case /* map<int32, api.ExtractColumnFormat> ColumnFormats = 19 [json_name = "ColumnFormats"];*/ 19:
|
||||
this.binaryReadMap19(message.columnFormats, reader, options);
|
||||
break;
|
||||
case /* string DateFormat = 20 [json_name = "DateFormat"];*/ 20:
|
||||
message.dateFormat = reader.string();
|
||||
break;
|
||||
case /* string NumberFormat = 21 [json_name = "NumberFormat"];*/ 21:
|
||||
message.numberFormat = reader.string();
|
||||
break;
|
||||
case /* api.TimeFormat TimeFormat = 22 [json_name = "TimeFormat"];*/ 22:
|
||||
message.timeFormat = reader.int32();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
if (u === "throw")
|
||||
@@ -1695,6 +1723,15 @@ class ExtractKPIQuery$Type extends MessageType<ExtractKPIQuery> {
|
||||
ExtractColumnFormat.internalBinaryWrite(message.columnFormats[k as any], writer, options);
|
||||
writer.join().join();
|
||||
}
|
||||
/* string DateFormat = 20 [json_name = "DateFormat"]; */
|
||||
if (message.dateFormat !== "")
|
||||
writer.tag(20, WireType.LengthDelimited).string(message.dateFormat);
|
||||
/* string NumberFormat = 21 [json_name = "NumberFormat"]; */
|
||||
if (message.numberFormat !== "")
|
||||
writer.tag(21, WireType.LengthDelimited).string(message.numberFormat);
|
||||
/* api.TimeFormat TimeFormat = 22 [json_name = "TimeFormat"]; */
|
||||
if (message.timeFormat !== 0)
|
||||
writer.tag(22, WireType.Varint).int32(message.timeFormat);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@reflex-platform/npm-core-sdk",
|
||||
"version": "1.10.0-SNAPSHOT-250403073253",
|
||||
"version": "1.10.0-SNAPSHOT-250403131345",
|
||||
"description": "npm libs from core model proto files",
|
||||
"homepage": "",
|
||||
"main": "index.ts",
|
||||
|
||||
35
shared.ts
35
shared.ts
@@ -1486,9 +1486,9 @@ export interface ExtractColumnFormat {
|
||||
*/
|
||||
format: string;
|
||||
/**
|
||||
* @generated from protobuf field: bool Time = 3 [json_name = "Time"];
|
||||
* @generated from protobuf field: api.DisplayDate DisplayDate = 3 [json_name = "DisplayDate"];
|
||||
*/
|
||||
time: boolean;
|
||||
displayDate: DisplayDate;
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf enum api.ExtractColumnFormat.type
|
||||
@@ -2281,6 +2281,23 @@ export enum TimeFormat {
|
||||
*/
|
||||
H24 = 2
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf enum api.DisplayDate
|
||||
*/
|
||||
export enum DisplayDate {
|
||||
/**
|
||||
* @generated from protobuf enum value: DATE = 0;
|
||||
*/
|
||||
DATE = 0,
|
||||
/**
|
||||
* @generated from protobuf enum value: DATE_TIME = 1;
|
||||
*/
|
||||
DATE_TIME = 1,
|
||||
/**
|
||||
* @generated from protobuf enum value: TIME = 2;
|
||||
*/
|
||||
TIME = 2
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf enum api.EntityAdminPlatform
|
||||
*/
|
||||
@@ -6457,14 +6474,14 @@ class ExtractColumnFormat$Type extends MessageType<ExtractColumnFormat> {
|
||||
super("api.ExtractColumnFormat", [
|
||||
{ no: 1, name: "Type", kind: "enum", jsonName: "Type", T: () => ["api.ExtractColumnFormat.type", ExtractColumnFormat_type] },
|
||||
{ no: 2, name: "Format", kind: "scalar", jsonName: "Format", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 3, name: "Time", kind: "scalar", jsonName: "Time", T: 8 /*ScalarType.BOOL*/ }
|
||||
{ no: 3, name: "DisplayDate", kind: "enum", jsonName: "DisplayDate", T: () => ["api.DisplayDate", DisplayDate] }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ExtractColumnFormat>): ExtractColumnFormat {
|
||||
const message = globalThis.Object.create((this.messagePrototype!));
|
||||
message.type = 0;
|
||||
message.format = "";
|
||||
message.time = false;
|
||||
message.displayDate = 0;
|
||||
if (value !== undefined)
|
||||
reflectionMergePartial<ExtractColumnFormat>(this, message, value);
|
||||
return message;
|
||||
@@ -6480,8 +6497,8 @@ class ExtractColumnFormat$Type extends MessageType<ExtractColumnFormat> {
|
||||
case /* string Format = 2 [json_name = "Format"];*/ 2:
|
||||
message.format = reader.string();
|
||||
break;
|
||||
case /* bool Time = 3 [json_name = "Time"];*/ 3:
|
||||
message.time = reader.bool();
|
||||
case /* api.DisplayDate DisplayDate = 3 [json_name = "DisplayDate"];*/ 3:
|
||||
message.displayDate = reader.int32();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -6501,9 +6518,9 @@ class ExtractColumnFormat$Type extends MessageType<ExtractColumnFormat> {
|
||||
/* string Format = 2 [json_name = "Format"]; */
|
||||
if (message.format !== "")
|
||||
writer.tag(2, WireType.LengthDelimited).string(message.format);
|
||||
/* bool Time = 3 [json_name = "Time"]; */
|
||||
if (message.time !== false)
|
||||
writer.tag(3, WireType.Varint).bool(message.time);
|
||||
/* api.DisplayDate DisplayDate = 3 [json_name = "DisplayDate"]; */
|
||||
if (message.displayDate !== 0)
|
||||
writer.tag(3, WireType.Varint).int32(message.displayDate);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user