Latest generation

This commit is contained in:
ci core model
2025-05-26 12:14:28 +00:00
parent 65247e7fe4
commit cc9c6d0b4c
197 changed files with 15132 additions and 15052 deletions

158
view.ts
View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated from protobuf file "view.proto" (package "api", syntax proto3)
// tslint:disable
import { ServiceType } from "@protobuf-ts/runtime-rpc";
@@ -17,79 +17,79 @@ import { RequestProjectHeader } from "./shared";
*/
export interface FieldView {
/**
* @generated from protobuf field: string Name = 1 [json_name = "Name"];
* @generated from protobuf field: string Name = 1
*/
Name: string;
/**
* @generated from protobuf field: bool IsMetadata = 2 [json_name = "IsMetadata"];
* @generated from protobuf field: bool IsMetadata = 2
*/
IsMetadata: boolean;
/**
* string Type = 3;
*
* @generated from protobuf field: string Path = 4 [json_name = "Path"];
* @generated from protobuf field: string Path = 4
*/
Path: string;
/**
* @generated from protobuf field: string DisplayPath = 5 [json_name = "DisplayPath"];
* @generated from protobuf field: string DisplayPath = 5
*/
DisplayPath: string;
/**
* @generated from protobuf field: string PathKey = 6 [json_name = "PathKey"];
* @generated from protobuf field: string PathKey = 6
*/
PathKey: string;
/**
* @generated from protobuf field: string KeyValue = 7 [json_name = "KeyValue"];
* @generated from protobuf field: string KeyValue = 7
*/
KeyValue: string;
/**
* The segmentation keys are used to complete the segmentation criteria of the project stock. They also apply to order lines and stock movements
*
* @generated from protobuf field: bool IsSegmentationKey = 8 [json_name = "IsSegmentationKey"];
* @generated from protobuf field: bool IsSegmentationKey = 8
*/
IsSegmentationKey: boolean;
/**
* @generated from protobuf field: string EnumValues = 9 [json_name = "EnumValues"];
* @generated from protobuf field: string EnumValues = 9
*/
EnumValues: string;
/**
* @generated from protobuf field: repeated string EnumList = 10 [json_name = "EnumList"];
* @generated from protobuf field: repeated string EnumList = 10
*/
EnumList: string[];
/**
* @generated from protobuf field: string ContentType = 11 [json_name = "ContentType"];
* @generated from protobuf field: string ContentType = 11
*/
ContentType: string;
/**
* @generated from protobuf field: repeated string KpiMetricGroups = 12 [json_name = "KpiMetricGroups"];
* @generated from protobuf field: repeated string KpiMetricGroups = 12
*/
KpiMetricGroups: string[];
/**
* @generated from protobuf field: repeated string KpiDimensionGroups = 13 [json_name = "KpiDimensionGroups"];
* @generated from protobuf field: repeated string KpiDimensionGroups = 13
*/
KpiDimensionGroups: string[];
/**
* @generated from protobuf field: repeated string KpiDateGroups = 14 [json_name = "KpiDateGroups"];
* @generated from protobuf field: repeated string KpiDateGroups = 14
*/
KpiDateGroups: string[];
/**
* @generated from protobuf field: string KpiName = 15 [json_name = "KpiName"];
* @generated from protobuf field: string KpiName = 15
*/
KpiName: string;
/**
* @generated from protobuf field: repeated string QueryableKpiGroups = 16 [json_name = "QueryableKpiGroups"];
* @generated from protobuf field: repeated string QueryableKpiGroups = 16
*/
QueryableKpiGroups: string[];
/**
* @generated from protobuf field: string Entity = 17 [json_name = "Entity"];
* @generated from protobuf field: string Entity = 17
*/
Entity: string;
/**
* @generated from protobuf field: string EntityPath = 18 [json_name = "EntityPath"];
* @generated from protobuf field: string EntityPath = 18
*/
EntityPath: string;
/**
* @generated from protobuf field: string EntityPathKey = 19 [json_name = "EntityPathKey"];
* @generated from protobuf field: string EntityPathKey = 19
*/
EntityPathKey: string;
}
@@ -98,7 +98,7 @@ export interface FieldView {
*/
export interface GetViewFieldsRequest {
/**
* @generated from protobuf field: api.RequestProjectHeader Header = 1 [json_name = "Header"];
* @generated from protobuf field: api.RequestProjectHeader Header = 1
*/
Header?: RequestProjectHeader;
// string Project = 1
@@ -107,31 +107,31 @@ export interface GetViewFieldsRequest {
// ];
/**
* @generated from protobuf field: string Domain = 2 [json_name = "Domain"];
* @generated from protobuf field: string Domain = 2
*/
Domain: string;
/**
* Entity where the metadata will be created. It can be \"executionflow\", \"handlingunit\", \"item\", \"order\", \"stock\"
*
* @generated from protobuf field: string Entity = 3 [json_name = "Entity"];
* @generated from protobuf field: string Entity = 3
*/
Entity: string;
/**
* Fields that are not used in this entity
*
* @generated from protobuf field: repeated string OmmittedList = 4 [json_name = "OmmittedList"];
* @generated from protobuf field: repeated string OmmittedList = 4
*/
OmmittedList: string[];
/**
* @generated from protobuf field: string StartingPath = 5 [json_name = "StartingPath"];
* @generated from protobuf field: string StartingPath = 5
*/
StartingPath: string;
/**
* @generated from protobuf field: bool OnlySegmentationKeys = 6 [json_name = "OnlySegmentationKeys"];
* @generated from protobuf field: bool OnlySegmentationKeys = 6
*/
OnlySegmentationKeys: boolean;
/**
* @generated from protobuf field: string KpiGroupFilter = 7 [json_name = "KpiGroupFilter"];
* @generated from protobuf field: string KpiGroupFilter = 7
*/
KpiGroupFilter: string;
}
@@ -140,7 +140,7 @@ export interface GetViewFieldsRequest {
*/
export interface GetViewFieldsResult {
/**
* @generated from protobuf field: repeated api.FieldView Fields = 1 [json_name = "Fields"];
* @generated from protobuf field: repeated api.FieldView Fields = 1
*/
Fields: FieldView[];
}
@@ -197,58 +197,58 @@ class FieldView$Type extends MessageType<FieldView> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* string Name = 1 [json_name = "Name"];*/ 1:
case /* string Name */ 1:
message.Name = reader.string();
break;
case /* bool IsMetadata = 2 [json_name = "IsMetadata"];*/ 2:
case /* bool IsMetadata */ 2:
message.IsMetadata = reader.bool();
break;
case /* string Path = 4 [json_name = "Path"];*/ 4:
case /* string Path */ 4:
message.Path = reader.string();
break;
case /* string DisplayPath = 5 [json_name = "DisplayPath"];*/ 5:
case /* string DisplayPath */ 5:
message.DisplayPath = reader.string();
break;
case /* string PathKey = 6 [json_name = "PathKey"];*/ 6:
case /* string PathKey */ 6:
message.PathKey = reader.string();
break;
case /* string KeyValue = 7 [json_name = "KeyValue"];*/ 7:
case /* string KeyValue */ 7:
message.KeyValue = reader.string();
break;
case /* bool IsSegmentationKey = 8 [json_name = "IsSegmentationKey"];*/ 8:
case /* bool IsSegmentationKey */ 8:
message.IsSegmentationKey = reader.bool();
break;
case /* string EnumValues = 9 [json_name = "EnumValues"];*/ 9:
case /* string EnumValues */ 9:
message.EnumValues = reader.string();
break;
case /* repeated string EnumList = 10 [json_name = "EnumList"];*/ 10:
case /* repeated string EnumList */ 10:
message.EnumList.push(reader.string());
break;
case /* string ContentType = 11 [json_name = "ContentType"];*/ 11:
case /* string ContentType */ 11:
message.ContentType = reader.string();
break;
case /* repeated string KpiMetricGroups = 12 [json_name = "KpiMetricGroups"];*/ 12:
case /* repeated string KpiMetricGroups */ 12:
message.KpiMetricGroups.push(reader.string());
break;
case /* repeated string KpiDimensionGroups = 13 [json_name = "KpiDimensionGroups"];*/ 13:
case /* repeated string KpiDimensionGroups */ 13:
message.KpiDimensionGroups.push(reader.string());
break;
case /* repeated string KpiDateGroups = 14 [json_name = "KpiDateGroups"];*/ 14:
case /* repeated string KpiDateGroups */ 14:
message.KpiDateGroups.push(reader.string());
break;
case /* string KpiName = 15 [json_name = "KpiName"];*/ 15:
case /* string KpiName */ 15:
message.KpiName = reader.string();
break;
case /* repeated string QueryableKpiGroups = 16 [json_name = "QueryableKpiGroups"];*/ 16:
case /* repeated string QueryableKpiGroups */ 16:
message.QueryableKpiGroups.push(reader.string());
break;
case /* string Entity = 17 [json_name = "Entity"];*/ 17:
case /* string Entity */ 17:
message.Entity = reader.string();
break;
case /* string EntityPath = 18 [json_name = "EntityPath"];*/ 18:
case /* string EntityPath */ 18:
message.EntityPath = reader.string();
break;
case /* string EntityPathKey = 19 [json_name = "EntityPathKey"];*/ 19:
case /* string EntityPathKey */ 19:
message.EntityPathKey = reader.string();
break;
default:
@@ -263,58 +263,58 @@ class FieldView$Type extends MessageType<FieldView> {
return message;
}
internalBinaryWrite(message: FieldView, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* string Name = 1 [json_name = "Name"]; */
/* string Name = 1; */
if (message.Name !== "")
writer.tag(1, WireType.LengthDelimited).string(message.Name);
/* bool IsMetadata = 2 [json_name = "IsMetadata"]; */
/* bool IsMetadata = 2; */
if (message.IsMetadata !== false)
writer.tag(2, WireType.Varint).bool(message.IsMetadata);
/* string Path = 4 [json_name = "Path"]; */
/* string Path = 4; */
if (message.Path !== "")
writer.tag(4, WireType.LengthDelimited).string(message.Path);
/* string DisplayPath = 5 [json_name = "DisplayPath"]; */
/* string DisplayPath = 5; */
if (message.DisplayPath !== "")
writer.tag(5, WireType.LengthDelimited).string(message.DisplayPath);
/* string PathKey = 6 [json_name = "PathKey"]; */
/* string PathKey = 6; */
if (message.PathKey !== "")
writer.tag(6, WireType.LengthDelimited).string(message.PathKey);
/* string KeyValue = 7 [json_name = "KeyValue"]; */
/* string KeyValue = 7; */
if (message.KeyValue !== "")
writer.tag(7, WireType.LengthDelimited).string(message.KeyValue);
/* bool IsSegmentationKey = 8 [json_name = "IsSegmentationKey"]; */
/* bool IsSegmentationKey = 8; */
if (message.IsSegmentationKey !== false)
writer.tag(8, WireType.Varint).bool(message.IsSegmentationKey);
/* string EnumValues = 9 [json_name = "EnumValues"]; */
/* string EnumValues = 9; */
if (message.EnumValues !== "")
writer.tag(9, WireType.LengthDelimited).string(message.EnumValues);
/* repeated string EnumList = 10 [json_name = "EnumList"]; */
/* repeated string EnumList = 10; */
for (let i = 0; i < message.EnumList.length; i++)
writer.tag(10, WireType.LengthDelimited).string(message.EnumList[i]);
/* string ContentType = 11 [json_name = "ContentType"]; */
/* string ContentType = 11; */
if (message.ContentType !== "")
writer.tag(11, WireType.LengthDelimited).string(message.ContentType);
/* repeated string KpiMetricGroups = 12 [json_name = "KpiMetricGroups"]; */
/* repeated string KpiMetricGroups = 12; */
for (let i = 0; i < message.KpiMetricGroups.length; i++)
writer.tag(12, WireType.LengthDelimited).string(message.KpiMetricGroups[i]);
/* repeated string KpiDimensionGroups = 13 [json_name = "KpiDimensionGroups"]; */
/* repeated string KpiDimensionGroups = 13; */
for (let i = 0; i < message.KpiDimensionGroups.length; i++)
writer.tag(13, WireType.LengthDelimited).string(message.KpiDimensionGroups[i]);
/* repeated string KpiDateGroups = 14 [json_name = "KpiDateGroups"]; */
/* repeated string KpiDateGroups = 14; */
for (let i = 0; i < message.KpiDateGroups.length; i++)
writer.tag(14, WireType.LengthDelimited).string(message.KpiDateGroups[i]);
/* string KpiName = 15 [json_name = "KpiName"]; */
/* string KpiName = 15; */
if (message.KpiName !== "")
writer.tag(15, WireType.LengthDelimited).string(message.KpiName);
/* repeated string QueryableKpiGroups = 16 [json_name = "QueryableKpiGroups"]; */
/* repeated string QueryableKpiGroups = 16; */
for (let i = 0; i < message.QueryableKpiGroups.length; i++)
writer.tag(16, WireType.LengthDelimited).string(message.QueryableKpiGroups[i]);
/* string Entity = 17 [json_name = "Entity"]; */
/* string Entity = 17; */
if (message.Entity !== "")
writer.tag(17, WireType.LengthDelimited).string(message.Entity);
/* string EntityPath = 18 [json_name = "EntityPath"]; */
/* string EntityPath = 18; */
if (message.EntityPath !== "")
writer.tag(18, WireType.LengthDelimited).string(message.EntityPath);
/* string EntityPathKey = 19 [json_name = "EntityPathKey"]; */
/* string EntityPathKey = 19; */
if (message.EntityPathKey !== "")
writer.tag(19, WireType.LengthDelimited).string(message.EntityPathKey);
let u = options.writeUnknownFields;
@@ -357,25 +357,25 @@ class GetViewFieldsRequest$Type extends MessageType<GetViewFieldsRequest> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* api.RequestProjectHeader Header = 1 [json_name = "Header"];*/ 1:
case /* api.RequestProjectHeader Header */ 1:
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
break;
case /* string Domain = 2 [json_name = "Domain"];*/ 2:
case /* string Domain */ 2:
message.Domain = reader.string();
break;
case /* string Entity = 3 [json_name = "Entity"];*/ 3:
case /* string Entity */ 3:
message.Entity = reader.string();
break;
case /* repeated string OmmittedList = 4 [json_name = "OmmittedList"];*/ 4:
case /* repeated string OmmittedList */ 4:
message.OmmittedList.push(reader.string());
break;
case /* string StartingPath = 5 [json_name = "StartingPath"];*/ 5:
case /* string StartingPath */ 5:
message.StartingPath = reader.string();
break;
case /* bool OnlySegmentationKeys = 6 [json_name = "OnlySegmentationKeys"];*/ 6:
case /* bool OnlySegmentationKeys */ 6:
message.OnlySegmentationKeys = reader.bool();
break;
case /* string KpiGroupFilter = 7 [json_name = "KpiGroupFilter"];*/ 7:
case /* string KpiGroupFilter */ 7:
message.KpiGroupFilter = reader.string();
break;
default:
@@ -390,25 +390,25 @@ class GetViewFieldsRequest$Type extends MessageType<GetViewFieldsRequest> {
return message;
}
internalBinaryWrite(message: GetViewFieldsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* api.RequestProjectHeader Header = 1 [json_name = "Header"]; */
/* api.RequestProjectHeader Header = 1; */
if (message.Header)
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
/* string Domain = 2 [json_name = "Domain"]; */
/* string Domain = 2; */
if (message.Domain !== "")
writer.tag(2, WireType.LengthDelimited).string(message.Domain);
/* string Entity = 3 [json_name = "Entity"]; */
/* string Entity = 3; */
if (message.Entity !== "")
writer.tag(3, WireType.LengthDelimited).string(message.Entity);
/* repeated string OmmittedList = 4 [json_name = "OmmittedList"]; */
/* repeated string OmmittedList = 4; */
for (let i = 0; i < message.OmmittedList.length; i++)
writer.tag(4, WireType.LengthDelimited).string(message.OmmittedList[i]);
/* string StartingPath = 5 [json_name = "StartingPath"]; */
/* string StartingPath = 5; */
if (message.StartingPath !== "")
writer.tag(5, WireType.LengthDelimited).string(message.StartingPath);
/* bool OnlySegmentationKeys = 6 [json_name = "OnlySegmentationKeys"]; */
/* bool OnlySegmentationKeys = 6; */
if (message.OnlySegmentationKeys !== false)
writer.tag(6, WireType.Varint).bool(message.OnlySegmentationKeys);
/* string KpiGroupFilter = 7 [json_name = "KpiGroupFilter"]; */
/* string KpiGroupFilter = 7; */
if (message.KpiGroupFilter !== "")
writer.tag(7, WireType.LengthDelimited).string(message.KpiGroupFilter);
let u = options.writeUnknownFields;
@@ -440,7 +440,7 @@ class GetViewFieldsResult$Type extends MessageType<GetViewFieldsResult> {
while (reader.pos < end) {
let [fieldNo, wireType] = reader.tag();
switch (fieldNo) {
case /* repeated api.FieldView Fields = 1 [json_name = "Fields"];*/ 1:
case /* repeated api.FieldView Fields */ 1:
message.Fields.push(FieldView.internalBinaryRead(reader, reader.uint32(), options));
break;
default:
@@ -455,7 +455,7 @@ class GetViewFieldsResult$Type extends MessageType<GetViewFieldsResult> {
return message;
}
internalBinaryWrite(message: GetViewFieldsResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
/* repeated api.FieldView Fields = 1 [json_name = "Fields"]; */
/* repeated api.FieldView Fields = 1; */
for (let i = 0; i < message.Fields.length; i++)
FieldView.internalBinaryWrite(message.Fields[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
let u = options.writeUnknownFields;