d2aura 26.0.12 → 26.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/api/eda/edaManagerApi.d.ts +50 -15
  2. package/api/eda/edaManagerApi.js +80 -29
  3. package/api/eda/edaManagerApi.js.map +1 -1
  4. package/api/eda/generated/events.d.ts +109 -60
  5. package/api/eda/generated/events.js +182 -88
  6. package/api/eda/generated/events.js.map +1 -1
  7. package/api/eda/generated/structures.d.ts +78 -14
  8. package/api/eda/generated/structures.js.map +1 -1
  9. package/api/impl/utils/reportError.js +16 -0
  10. package/api/impl/utils/reportError.js.map +1 -1
  11. package/core/i18n/d2aura.sk.json +30 -2
  12. package/core/i18n/jsapi.sk.json +4 -0
  13. package/core/i18n/jsapi.ua.json +4 -0
  14. package/coreui/components/edaManager/components/detail/components/edaVectorMassChangeButton.d.ts +1 -1
  15. package/coreui/components/edaManager/components/detail/components/edaVectorMassChangeButton.js +2 -2
  16. package/coreui/components/edaManager/components/detail/components/edaVectorMassChangeButton.js.map +1 -1
  17. package/coreui/components/edaManagerComponent/components/edaChartViewer.d.ts +14 -0
  18. package/coreui/components/edaManagerComponent/components/edaChartViewer.js +370 -0
  19. package/coreui/components/edaManagerComponent/components/edaChartViewer.js.map +1 -0
  20. package/coreui/components/edaManagerComponent/components/edaDataBasePanel.d.ts +4 -8
  21. package/coreui/components/edaManagerComponent/components/edaDataBasePanel.js +18 -75
  22. package/coreui/components/edaManagerComponent/components/edaDataBasePanel.js.map +1 -1
  23. package/coreui/components/edaManagerComponent/components/edaDetailPanel.d.ts +5 -14
  24. package/coreui/components/edaManagerComponent/components/edaDetailPanel.js +80 -19
  25. package/coreui/components/edaManagerComponent/components/edaDetailPanel.js.map +1 -1
  26. package/coreui/components/edaManagerComponent/components/edaGraphPanel.d.ts +2 -7
  27. package/coreui/components/edaManagerComponent/components/edaGraphPanel.js +15 -380
  28. package/coreui/components/edaManagerComponent/components/edaGraphPanel.js.map +1 -1
  29. package/coreui/components/edaManagerComponent/components/edaGroupDetailPanel.d.ts +3 -14
  30. package/coreui/components/edaManagerComponent/components/edaGroupDetailPanel.js +54 -67
  31. package/coreui/components/edaManagerComponent/components/edaGroupDetailPanel.js.map +1 -1
  32. package/coreui/components/edaManagerComponent/components/edaLoadingOverlay.d.ts +7 -0
  33. package/coreui/components/edaManagerComponent/components/edaLoadingOverlay.js +35 -0
  34. package/coreui/components/edaManagerComponent/components/edaLoadingOverlay.js.map +1 -0
  35. package/coreui/components/edaManagerComponent/components/edaSampleRangePickerPanel.d.ts +2 -16
  36. package/coreui/components/edaManagerComponent/components/edaSampleRangePickerPanel.js +47 -50
  37. package/coreui/components/edaManagerComponent/components/edaSampleRangePickerPanel.js.map +1 -1
  38. package/coreui/components/edaManagerComponent/components/edaScenarioDetailPanel.d.ts +3 -14
  39. package/coreui/components/edaManagerComponent/components/edaScenarioDetailPanel.js +67 -81
  40. package/coreui/components/edaManagerComponent/components/edaScenarioDetailPanel.js.map +1 -1
  41. package/coreui/components/edaManagerComponent/components/edaTableEditorDialog.d.ts +12 -0
  42. package/coreui/components/edaManagerComponent/components/edaTableEditorDialog.js +268 -0
  43. package/coreui/components/edaManagerComponent/components/edaTableEditorDialog.js.map +1 -0
  44. package/coreui/components/edaManagerComponent/components/edaTablePanel.d.ts +2 -6
  45. package/coreui/components/edaManagerComponent/components/edaTablePanel.js +119 -62
  46. package/coreui/components/edaManagerComponent/components/edaTablePanel.js.map +1 -1
  47. package/coreui/components/edaManagerComponent/components/edaTimeWindowPickerPanel.d.ts +2 -13
  48. package/coreui/components/edaManagerComponent/components/edaTimeWindowPickerPanel.js +57 -88
  49. package/coreui/components/edaManagerComponent/components/edaTimeWindowPickerPanel.js.map +1 -1
  50. package/coreui/components/edaManagerComponent/components/edaTreeView.d.ts +4 -51
  51. package/coreui/components/edaManagerComponent/components/edaTreeView.js +299 -259
  52. package/coreui/components/edaManagerComponent/components/edaTreeView.js.map +1 -1
  53. package/coreui/components/edaManagerComponent/components/edaVectorDetailPanel.d.ts +3 -21
  54. package/coreui/components/edaManagerComponent/components/edaVectorDetailPanel.js +160 -179
  55. package/coreui/components/edaManagerComponent/components/edaVectorDetailPanel.js.map +1 -1
  56. package/coreui/components/edaManagerComponent/components/exportDialog.d.ts +18 -0
  57. package/coreui/components/edaManagerComponent/components/exportDialog.js +157 -0
  58. package/coreui/components/edaManagerComponent/components/exportDialog.js.map +1 -0
  59. package/coreui/components/edaManagerComponent/constants/edaTypes.d.ts +10 -11
  60. package/coreui/components/edaManagerComponent/constants/edaTypes.js.map +1 -1
  61. package/coreui/components/edaManagerComponent/context/edaConfigContext.d.ts +26 -0
  62. package/coreui/components/edaManagerComponent/context/edaConfigContext.js +20 -0
  63. package/coreui/components/edaManagerComponent/context/edaConfigContext.js.map +1 -0
  64. package/coreui/components/edaManagerComponent/context/edaVectorDataContext.d.ts +9 -16
  65. package/coreui/components/edaManagerComponent/context/edaVectorDataContext.js.map +1 -1
  66. package/coreui/components/edaManagerComponent/context/edaVectorDataProvider.d.ts +0 -1
  67. package/coreui/components/edaManagerComponent/context/edaVectorDataProvider.js +71 -66
  68. package/coreui/components/edaManagerComponent/context/edaVectorDataProvider.js.map +1 -1
  69. package/coreui/components/edaManagerComponent/context/loadingContext.d.ts +1 -1
  70. package/coreui/components/edaManagerComponent/context/loadingContext.js.map +1 -1
  71. package/coreui/components/edaManagerComponent/context/{sharedSampleRange.d.ts → sharedSampleRangeContext.d.ts} +6 -3
  72. package/coreui/components/edaManagerComponent/context/sharedSampleRangeContext.js +3 -0
  73. package/coreui/components/edaManagerComponent/context/sharedSampleRangeContext.js.map +1 -0
  74. package/coreui/components/edaManagerComponent/context/useEdaActions.d.ts +7 -0
  75. package/coreui/components/edaManagerComponent/context/useEdaActions.js +22 -0
  76. package/coreui/components/edaManagerComponent/context/useEdaActions.js.map +1 -0
  77. package/coreui/components/edaManagerComponent/edaDetail.d.ts +7 -26
  78. package/coreui/components/edaManagerComponent/edaDetail.js +124 -106
  79. package/coreui/components/edaManagerComponent/edaDetail.js.map +1 -1
  80. package/coreui/components/edaManagerComponent/edaManager.d.ts +4 -11
  81. package/coreui/components/edaManagerComponent/edaManager.js +29 -22
  82. package/coreui/components/edaManagerComponent/edaManager.js.map +1 -1
  83. package/coreui/components/edaManagerComponent/edaNavigator.d.ts +4 -12
  84. package/coreui/components/edaManagerComponent/edaNavigator.js +36 -41
  85. package/coreui/components/edaManagerComponent/edaNavigator.js.map +1 -1
  86. package/coreui/components/edaManagerComponent/edaSelect.d.ts +2 -3
  87. package/coreui/components/edaManagerComponent/edaSelect.js +22 -44
  88. package/coreui/components/edaManagerComponent/edaSelect.js.map +1 -1
  89. package/coreui/components/edaManagerComponent/utils/export.d.ts +9 -0
  90. package/coreui/components/edaManagerComponent/utils/export.js +573 -0
  91. package/coreui/components/edaManagerComponent/utils/export.js.map +1 -0
  92. package/coreui/components/edaManagerComponent/utils/utils.d.ts +6 -12
  93. package/coreui/components/edaManagerComponent/utils/utils.js +26 -15
  94. package/coreui/components/edaManagerComponent/utils/utils.js.map +1 -1
  95. package/d2configuration/edaManager/DB.EM_EDA_DescriptiveVector.xml +65 -0
  96. package/d2configuration/edaManager/DB.EM_EDA_FunctionPrescription.xml +65 -0
  97. package/d2configuration/edaManager/E.EM_DETAIL_IMPL.xml +67 -1
  98. package/d2configuration/edaManager/E.EM_DETAIL_SQL.xml +85 -0
  99. package/d2configuration/edaManager/E.EM_DETAIL_UNIT.xml +123 -2
  100. package/d2configuration/edaManager/E.EM_NAVIGATOR_IMPL.xml +1 -1
  101. package/d2configuration/edaManager/E.EM_NAVIGATOR_UNIT.xml +1 -1
  102. package/d2configuration/edaManager/E.EM_VECTOR_IMPL.xml +20 -6
  103. package/d2configuration/edaManager/E.EM_VECTOR_UNIT.xml +95 -17
  104. package/d2configuration/edaManager/SD.EM_EDA_DescriptiveVector.xml +179 -0
  105. package/d2configuration/edaManager/SD.EM_EDA_FunctionPrescription.xml +91 -0
  106. package/d2configuration/edaManager/SD.EM_EDA_InsertValuesToVector_V1.xml +227 -0
  107. package/d2configuration/edaManager/SD.EM_EDA_PairVector.xml +454 -0
  108. package/d2configuration/edaManager/SD.EM_EDA_ReadValuesFromVector_V1.xml +13 -3
  109. package/d2configuration/edaManager/SD.EM_EDA_VectorStats.xml +91 -0
  110. package/d2configuration/edaManager/SD.EM_Filter_Condition.xml +1 -1
  111. package/package.json +6 -4
  112. package/coreui/components/edaManagerComponent/components/edaBasePanel.d.ts +0 -16
  113. package/coreui/components/edaManagerComponent/components/edaBasePanel.js +0 -85
  114. package/coreui/components/edaManagerComponent/components/edaBasePanel.js.map +0 -1
  115. package/coreui/components/edaManagerComponent/context/sharedSampleRange.js +0 -13
  116. package/coreui/components/edaManagerComponent/context/sharedSampleRange.js.map +0 -1
  117. package/d2configuration/edaManager/EDA_CancelSession.xml +0 -54
  118. package/d2configuration/edaManager/EDA_GetSessionId.xml +0 -54
  119. package/d2configuration/edaManager/EDA_ReadValuesFromVektorRec.xml +0 -54
  120. package/d2configuration/edaManager/EDA_StatVectorRec.xml +0 -56
@@ -75,14 +75,15 @@ function processOutParameters(parameters, fields) {
75
75
  })
76
76
  .filter(([_, value]) => value !== undefined));
77
77
  }
78
- export class EM_DETAIL_IMPLEventApi extends BaseApi {
79
- async LoadGroupData(parameters, callParameters = {}) {
78
+ export class EM_NAVIGATOR_IMPLEventApi extends BaseApi {
79
+ async FindGroups(parameters, callParameters = {}) {
80
80
  return new Promise(async (resolve) => {
81
81
  const inParams = [
82
- { type: "int", name: "id" },
82
+ { type: "record", name: "conditions", structName: "SD.EM_Filter_Condition", structFields: ["id_condition", "id_filter", "not_flag", "left_par", "column_name", "operator", "value", "value_type", "right_par", "logical_operator"] },
83
+ { type: "int", name: "count" },
83
84
  ];
84
85
  const outParams = [
85
- { type: "record", name: "data", structName: "SD.EM_EDA_GroupVector", structFields: ["ID_SKVEKTOR", "EDA_ID_SKVEKTOR", "MENO", "POPIS", "AUTOR", "PRIST_PRAVA_R", "PRIST_PRAVA_W", "CESTA", "ANO_PLATNY", "ZOBRAZ_MENO", "PRIVATE", "USERINPUTFLAG", "ANO_PAIR"] },
86
+ { type: "record", name: "items", structName: "SD.EM_Tree_Item", structFields: ["ID", "ParentID", "Name", "Path", "DisplayName", "Type", "Units", "RoundingType", "RoundingPlaces"] },
86
87
  { type: "bool", name: "isOk" },
87
88
  { type: "text", name: "errorMsg" },
88
89
  ];
@@ -90,17 +91,18 @@ export class EM_DETAIL_IMPLEventApi extends BaseApi {
90
91
  ...processInParameters(parameters, inParams),
91
92
  ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
92
93
  ];
93
- const result = await this.d2api.rpc("E.EM_DETAIL_IMPL", "LoadGroupData", ...processedParams).callAndGet(undefined, callParameters.timeout);
94
+ const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "FindGroups", ...processedParams).callAndGet(undefined, callParameters.timeout);
94
95
  resolve(processOutParameters(result, outParams));
95
96
  });
96
97
  }
97
- async LoadScenarioData(parameters, callParameters = {}) {
98
+ async FindScenarios(parameters, callParameters = {}) {
98
99
  return new Promise(async (resolve) => {
99
100
  const inParams = [
100
- { type: "int", name: "id" },
101
+ { type: "record", name: "conditions", structName: "SD.EM_Filter_Condition", structFields: ["id_condition", "id_filter", "not_flag", "left_par", "column_name", "operator", "value", "value_type", "right_par", "logical_operator"] },
102
+ { type: "int", name: "count" },
101
103
  ];
102
104
  const outParams = [
103
- { type: "record", name: "data", structName: "SD.EM_EDA_Scenario", structFields: ["ID_SCENAR", "EDA_ID_SCENAR", "MENO", "POPIS", "IDX", "CAS_DLZKA", "CAS_POSUN", "CAS_JEMNOST", "AUTOR", "PRIVATE", "PRIST_PRAVA_R", "PRIST_PRAVA_W", "CESTA", "FILTER", "FILTER_USER", "FILTER_TYP", "ZOBRAZ_MENO", "ANO_PLATNY", "DIAGRAM", "ANO_DIAGRAM", "ANO_EDITACIA", "ANO_ZMENA", "ANO_GRAFXY", "ANO_MATICA", "ANO_PAIR"] },
105
+ { type: "record", name: "items", structName: "SD.EM_Tree_Item", structFields: ["ID", "ParentID", "Name", "Path", "DisplayName", "Type", "Units", "RoundingType", "RoundingPlaces"] },
104
106
  { type: "bool", name: "isOk" },
105
107
  { type: "text", name: "errorMsg" },
106
108
  ];
@@ -108,19 +110,18 @@ export class EM_DETAIL_IMPLEventApi extends BaseApi {
108
110
  ...processInParameters(parameters, inParams),
109
111
  ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
110
112
  ];
111
- const result = await this.d2api.rpc("E.EM_DETAIL_IMPL", "LoadScenarioData", ...processedParams).callAndGet(undefined, callParameters.timeout);
113
+ const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "FindScenarios", ...processedParams).callAndGet(undefined, callParameters.timeout);
112
114
  resolve(processOutParameters(result, outParams));
113
115
  });
114
116
  }
115
- async LoadVectorData(parameters, callParameters = {}) {
117
+ async FindVectors(parameters, callParameters = {}) {
116
118
  return new Promise(async (resolve) => {
117
119
  const inParams = [
118
- { type: "int", name: "id" },
120
+ { type: "record", name: "conditions", structName: "SD.EM_Filter_Condition", structFields: ["id_condition", "id_filter", "not_flag", "left_par", "column_name", "operator", "value", "value_type", "right_par", "logical_operator"] },
121
+ { type: "int", name: "count" },
119
122
  ];
120
123
  const outParams = [
121
- { type: "record", name: "data", structName: "SD.EM_EDA_Vector", structFields: ["ID_VEKTOR", "ID_SKVEKTOR", "ID_FUNKCIA", "MENO", "POPIS", "TECH_JEDNOTKY", "TYP_HODNOTY", "TYP", "DATA_OD", "DATA_DO", "AUTOR", "PRIVATE", "PRIST_PRAVA_R", "PRIST_PRAVA_W", "INTEGRAL", "ZOBRAZ_MENO", "ANO_PLATNY", "VIEW_ROUND", "EXEC_ROUND", "VIEW_DEC_PL", "EXEC_DEC_PL", "USER_CH", "MENOEX", "ID_TABLESPACE", "DATA_OFFSET", "TIME_ZONE", "VERSIONED_SINCE", "ARCHIVE_NAME", "ARCHIVE_ROW", "ARCHIVE_COL", "LOG_ACCESS", "STATUS_TEXT", "ID_MASTER_ENTITY", "INTERVAL_STABLE", "PERIOD_BEGIN_TIME", "PERIOD_STEP_BASE", "PERIOD_STEP_COUNT", "ID_VALIDATOR"] },
122
- { type: "record", name: "dataEx", structName: "SD.EM_EDA_VectorEx", structFields: ["ID_VEKTOR", "DATE_IN", "DATE_CH"] },
123
- { type: "record", name: "dataFunction", structName: "SD.EM_EDA_Function", structFields: ["ID_VEKTOR", "TYP", "PERIODA", "POSUN", "PREPOCIT", "PREDV_OD", "PREDV_DO", "PRECALC_RQ"] },
124
+ { type: "record", name: "items", structName: "SD.EM_Tree_Item", structFields: ["ID", "ParentID", "Name", "Path", "DisplayName", "Type", "Units", "RoundingType", "RoundingPlaces"] },
124
125
  { type: "bool", name: "isOk" },
125
126
  { type: "text", name: "errorMsg" },
126
127
  ];
@@ -128,23 +129,17 @@ export class EM_DETAIL_IMPLEventApi extends BaseApi {
128
129
  ...processInParameters(parameters, inParams),
129
130
  ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
130
131
  ];
131
- const result = await this.d2api.rpc("E.EM_DETAIL_IMPL", "LoadVectorData", ...processedParams).callAndGet(undefined, callParameters.timeout);
132
+ const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "FindVectors", ...processedParams).callAndGet(undefined, callParameters.timeout);
132
133
  resolve(processOutParameters(result, outParams));
133
134
  });
134
135
  }
135
- }
136
- export class EM_VECTOR_IMPLEventApi extends BaseApi {
137
- async ReadValuesFromVector(parameters, callParameters = {}) {
136
+ async GetGroup(parameters, callParameters = {}) {
138
137
  return new Promise(async (resolve) => {
139
138
  const inParams = [
140
139
  { type: "int", name: "id" },
141
- { type: "time", name: "from" },
142
- { type: "time", name: "to" },
143
- { type: "int", name: "step" },
144
140
  ];
145
141
  const outParams = [
146
- { type: "record", name: "data", structName: "SD.EM_EDA_VectorValues", structFields: ["Value"] },
147
- { type: "record", name: "stats", structName: "SD.EM_EDA_VectorStats", structFields: ["Min", "Max", "Sum", "Avg"] },
142
+ { type: "record", name: "item", structName: "SD.EM_Tree_Item", structFields: ["ID", "ParentID", "Name", "Path", "DisplayName", "Type", "Units", "RoundingType", "RoundingPlaces"] },
148
143
  { type: "bool", name: "isOk" },
149
144
  { type: "text", name: "errorMsg" },
150
145
  ];
@@ -152,30 +147,43 @@ export class EM_VECTOR_IMPLEventApi extends BaseApi {
152
147
  ...processInParameters(parameters, inParams),
153
148
  ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
154
149
  ];
155
- const result = await this.d2api.rpc("E.EM_VECTOR_IMPL", "ReadValuesFromVector", ...processedParams).callAndGet(undefined, callParameters.timeout);
150
+ const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "GetGroup", ...processedParams).callAndGet(undefined, callParameters.timeout);
156
151
  resolve(processOutParameters(result, outParams));
157
152
  });
158
153
  }
159
- }
160
- export class EM_VECTOR_MANAGEREventApi extends BaseApi {
161
- async InsertSession(parameters, callParameters = {}) {
154
+ async GetGroupChildren(parameters, callParameters = {}) {
162
155
  return new Promise(async (resolve) => {
163
156
  const inParams = [
164
- { type: "int", name: "processId" },
157
+ { type: "int", name: "id" },
158
+ { type: "bool", name: "showOmitted" },
159
+ { type: "int", name: "count" },
160
+ { type: "int", name: "offset" },
161
+ ];
162
+ const outParams = [
163
+ { type: "record", name: "items", structName: "SD.EM_Tree_Item", structFields: ["ID", "ParentID", "Name", "Path", "DisplayName", "Type", "Units", "RoundingType", "RoundingPlaces"] },
164
+ { type: "int", name: "leftCount" },
165
+ { type: "bool", name: "isOk" },
166
+ { type: "text", name: "errorMsg" },
165
167
  ];
166
- const outParams = [];
167
168
  const processedParams = [
168
169
  ...processInParameters(parameters, inParams),
169
170
  ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
170
171
  ];
171
- const result = await this.d2api.rpc("E.EM_VECTOR_MANAGER", "InsertSession", ...processedParams).callAndGet(undefined, callParameters.timeout);
172
+ const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "GetGroupChildren", ...processedParams).callAndGet(undefined, callParameters.timeout);
172
173
  resolve(processOutParameters(result, outParams));
173
174
  });
174
175
  }
175
- async KillEdaSession(parameters, callParameters = {}) {
176
+ async GetGroupVectors(parameters, callParameters = {}) {
176
177
  return new Promise(async (resolve) => {
177
- const inParams = [];
178
+ const inParams = [
179
+ { type: "int", name: "id" },
180
+ { type: "bool", name: "showOmitted" },
181
+ { type: "int", name: "count" },
182
+ { type: "int", name: "offset" },
183
+ ];
178
184
  const outParams = [
185
+ { type: "record", name: "items", structName: "SD.EM_Tree_Item", structFields: ["ID", "ParentID", "Name", "Path", "DisplayName", "Type", "Units", "RoundingType", "RoundingPlaces"] },
186
+ { type: "int", name: "leftCount" },
179
187
  { type: "bool", name: "isOk" },
180
188
  { type: "text", name: "errorMsg" },
181
189
  ];
@@ -183,34 +191,39 @@ export class EM_VECTOR_MANAGEREventApi extends BaseApi {
183
191
  ...processInParameters(parameters, inParams),
184
192
  ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
185
193
  ];
186
- const result = await this.d2api.rpc("E.EM_VECTOR_MANAGER", "KillEdaSession", ...processedParams).callAndGet(undefined, callParameters.timeout);
194
+ const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "GetGroupVectors", ...processedParams).callAndGet(undefined, callParameters.timeout);
187
195
  resolve(processOutParameters(result, outParams));
188
196
  });
189
197
  }
190
- async RemoveSession(parameters, callParameters = {}) {
198
+ async GetScenario(parameters, callParameters = {}) {
191
199
  return new Promise(async (resolve) => {
192
200
  const inParams = [
193
- { type: "int", name: "processId" },
201
+ { type: "int", name: "id" },
202
+ ];
203
+ const outParams = [
204
+ { type: "record", name: "item", structName: "SD.EM_Tree_Item", structFields: ["ID", "ParentID", "Name", "Path", "DisplayName", "Type", "Units", "RoundingType", "RoundingPlaces"] },
205
+ { type: "bool", name: "isOk" },
206
+ { type: "text", name: "errorMsg" },
194
207
  ];
195
- const outParams = [];
196
208
  const processedParams = [
197
209
  ...processInParameters(parameters, inParams),
198
210
  ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
199
211
  ];
200
- const result = await this.d2api.rpc("E.EM_VECTOR_MANAGER", "RemoveSession", ...processedParams).callAndGet(undefined, callParameters.timeout);
212
+ const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "GetScenario", ...processedParams).callAndGet(undefined, callParameters.timeout);
201
213
  resolve(processOutParameters(result, outParams));
202
214
  });
203
215
  }
204
- }
205
- export class EM_NAVIGATOR_IMPLEventApi extends BaseApi {
206
- async FindGroups(parameters, callParameters = {}) {
216
+ async GetScenarioChildren(parameters, callParameters = {}) {
207
217
  return new Promise(async (resolve) => {
208
218
  const inParams = [
209
- { type: "record", name: "conditions", structName: "SD.EM_Filter_Condition", structFields: ["id_condition", "id_filter", "not_flag", "left_par", "column_name", "operator", "value", "value_type", "right_par", "logical_operator"] },
219
+ { type: "int", name: "id" },
220
+ { type: "bool", name: "showOmitted" },
210
221
  { type: "int", name: "count" },
222
+ { type: "int", name: "offset" },
211
223
  ];
212
224
  const outParams = [
213
225
  { type: "record", name: "items", structName: "SD.EM_Tree_Item", structFields: ["ID", "ParentID", "Name", "Path", "DisplayName", "Type", "Units", "RoundingType", "RoundingPlaces"] },
226
+ { type: "int", name: "leftCount" },
214
227
  { type: "bool", name: "isOk" },
215
228
  { type: "text", name: "errorMsg" },
216
229
  ];
@@ -218,18 +231,22 @@ export class EM_NAVIGATOR_IMPLEventApi extends BaseApi {
218
231
  ...processInParameters(parameters, inParams),
219
232
  ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
220
233
  ];
221
- const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "FindGroups", ...processedParams).callAndGet(undefined, callParameters.timeout);
234
+ const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "GetScenarioChildren", ...processedParams).callAndGet(undefined, callParameters.timeout);
222
235
  resolve(processOutParameters(result, outParams));
223
236
  });
224
237
  }
225
- async FindScenarios(parameters, callParameters = {}) {
238
+ async GetScenarioVectors(parameters, callParameters = {}) {
226
239
  return new Promise(async (resolve) => {
227
240
  const inParams = [
228
- { type: "record", name: "conditions", structName: "SD.EM_Filter_Condition", structFields: ["id_condition", "id_filter", "not_flag", "left_par", "column_name", "operator", "value", "value_type", "right_par", "logical_operator"] },
241
+ { type: "int", name: "id" },
242
+ { type: "bool", name: "showOmitted" },
243
+ { type: "bool", name: "showDynamic" },
229
244
  { type: "int", name: "count" },
245
+ { type: "int", name: "offset" },
230
246
  ];
231
247
  const outParams = [
232
248
  { type: "record", name: "items", structName: "SD.EM_Tree_Item", structFields: ["ID", "ParentID", "Name", "Path", "DisplayName", "Type", "Units", "RoundingType", "RoundingPlaces"] },
249
+ { type: "int", name: "leftCount" },
233
250
  { type: "bool", name: "isOk" },
234
251
  { type: "text", name: "errorMsg" },
235
252
  ];
@@ -237,18 +254,17 @@ export class EM_NAVIGATOR_IMPLEventApi extends BaseApi {
237
254
  ...processInParameters(parameters, inParams),
238
255
  ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
239
256
  ];
240
- const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "FindScenarios", ...processedParams).callAndGet(undefined, callParameters.timeout);
257
+ const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "GetScenarioVectors", ...processedParams).callAndGet(undefined, callParameters.timeout);
241
258
  resolve(processOutParameters(result, outParams));
242
259
  });
243
260
  }
244
- async FindVectors(parameters, callParameters = {}) {
261
+ async GetVector(parameters, callParameters = {}) {
245
262
  return new Promise(async (resolve) => {
246
263
  const inParams = [
247
- { type: "record", name: "conditions", structName: "SD.EM_Filter_Condition", structFields: ["id_condition", "id_filter", "not_flag", "left_par", "column_name", "operator", "value", "value_type", "right_par", "logical_operator"] },
248
- { type: "int", name: "count" },
264
+ { type: "int", name: "id" },
249
265
  ];
250
266
  const outParams = [
251
- { type: "record", name: "items", structName: "SD.EM_Tree_Item", structFields: ["ID", "ParentID", "Name", "Path", "DisplayName", "Type", "Units", "RoundingType", "RoundingPlaces"] },
267
+ { type: "record", name: "item", structName: "SD.EM_Tree_Item", structFields: ["ID", "ParentID", "Name", "Path", "DisplayName", "Type", "Units", "RoundingType", "RoundingPlaces"] },
252
268
  { type: "bool", name: "isOk" },
253
269
  { type: "text", name: "errorMsg" },
254
270
  ];
@@ -256,17 +272,19 @@ export class EM_NAVIGATOR_IMPLEventApi extends BaseApi {
256
272
  ...processInParameters(parameters, inParams),
257
273
  ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
258
274
  ];
259
- const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "FindVectors", ...processedParams).callAndGet(undefined, callParameters.timeout);
275
+ const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "GetVector", ...processedParams).callAndGet(undefined, callParameters.timeout);
260
276
  resolve(processOutParameters(result, outParams));
261
277
  });
262
278
  }
263
- async GetGroup(parameters, callParameters = {}) {
279
+ }
280
+ export class EM_VECTOR_IMPLEventApi extends BaseApi {
281
+ async InsertValuesToVector(parameters, callParameters = {}) {
264
282
  return new Promise(async (resolve) => {
265
283
  const inParams = [
266
284
  { type: "int", name: "id" },
285
+ { type: "record", name: "data", structName: "SD.EDA_VectorData", structFields: ["val"] },
267
286
  ];
268
287
  const outParams = [
269
- { type: "record", name: "item", structName: "SD.EM_Tree_Item", structFields: ["ID", "ParentID", "Name", "Path", "DisplayName", "Type", "Units", "RoundingType", "RoundingPlaces"] },
270
288
  { type: "bool", name: "isOk" },
271
289
  { type: "text", name: "errorMsg" },
272
290
  ];
@@ -274,21 +292,20 @@ export class EM_NAVIGATOR_IMPLEventApi extends BaseApi {
274
292
  ...processInParameters(parameters, inParams),
275
293
  ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
276
294
  ];
277
- const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "GetGroup", ...processedParams).callAndGet(undefined, callParameters.timeout);
295
+ const result = await this.d2api.rpc("E.EM_VECTOR_IMPL", "InsertValuesToVector", ...processedParams).callAndGet(undefined, callParameters.timeout);
278
296
  resolve(processOutParameters(result, outParams));
279
297
  });
280
298
  }
281
- async GetGroupChildren(parameters, callParameters = {}) {
299
+ async ReadValuesFromPairVector(parameters, callParameters = {}) {
282
300
  return new Promise(async (resolve) => {
283
301
  const inParams = [
284
302
  { type: "int", name: "id" },
285
- { type: "bool", name: "showOmitted" },
286
- { type: "int", name: "count" },
287
- { type: "int", name: "offset" },
303
+ { type: "time", name: "from" },
304
+ { type: "time", name: "to" },
305
+ { type: "int", name: "step" },
288
306
  ];
289
307
  const outParams = [
290
- { type: "record", name: "items", structName: "SD.EM_Tree_Item", structFields: ["ID", "ParentID", "Name", "Path", "DisplayName", "Type", "Units", "RoundingType", "RoundingPlaces"] },
291
- { type: "int", name: "leftCount" },
308
+ { type: "record", name: "data", structName: "SD.EDA_PairData", structFields: ["idx", "valX", "valY"] },
292
309
  { type: "bool", name: "isOk" },
293
310
  { type: "text", name: "errorMsg" },
294
311
  ];
@@ -296,21 +313,21 @@ export class EM_NAVIGATOR_IMPLEventApi extends BaseApi {
296
313
  ...processInParameters(parameters, inParams),
297
314
  ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
298
315
  ];
299
- const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "GetGroupChildren", ...processedParams).callAndGet(undefined, callParameters.timeout);
316
+ const result = await this.d2api.rpc("E.EM_VECTOR_IMPL", "ReadValuesFromPairVector", ...processedParams).callAndGet(undefined, callParameters.timeout);
300
317
  resolve(processOutParameters(result, outParams));
301
318
  });
302
319
  }
303
- async GetGroupVectors(parameters, callParameters = {}) {
320
+ async ReadValuesFromVector(parameters, callParameters = {}) {
304
321
  return new Promise(async (resolve) => {
305
322
  const inParams = [
306
323
  { type: "int", name: "id" },
307
- { type: "bool", name: "showOmitted" },
308
- { type: "int", name: "count" },
309
- { type: "int", name: "offset" },
324
+ { type: "time", name: "from" },
325
+ { type: "time", name: "to" },
326
+ { type: "int", name: "step" },
310
327
  ];
311
328
  const outParams = [
312
- { type: "record", name: "items", structName: "SD.EM_Tree_Item", structFields: ["ID", "ParentID", "Name", "Path", "DisplayName", "Type", "Units", "RoundingType", "RoundingPlaces"] },
313
- { type: "int", name: "leftCount" },
329
+ { type: "record", name: "data", structName: "SD.EDA_VectorData", structFields: ["val"] },
330
+ { type: "record", name: "stats", structName: "SD.EM_EDA_VectorStats", structFields: ["Min", "Max", "Sum", "Avg"] },
314
331
  { type: "bool", name: "isOk" },
315
332
  { type: "text", name: "errorMsg" },
316
333
  ];
@@ -318,17 +335,65 @@ export class EM_NAVIGATOR_IMPLEventApi extends BaseApi {
318
335
  ...processInParameters(parameters, inParams),
319
336
  ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
320
337
  ];
321
- const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "GetGroupVectors", ...processedParams).callAndGet(undefined, callParameters.timeout);
338
+ const result = await this.d2api.rpc("E.EM_VECTOR_IMPL", "ReadValuesFromVector", ...processedParams).callAndGet(undefined, callParameters.timeout);
322
339
  resolve(processOutParameters(result, outParams));
323
340
  });
324
341
  }
325
- async GetScenario(parameters, callParameters = {}) {
342
+ }
343
+ export class EM_VECTOR_MANAGEREventApi extends BaseApi {
344
+ async InsertSession(parameters, callParameters = {}) {
345
+ return new Promise(async (resolve) => {
346
+ const inParams = [
347
+ { type: "int", name: "processId" },
348
+ ];
349
+ const outParams = [];
350
+ const processedParams = [
351
+ ...processInParameters(parameters, inParams),
352
+ ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
353
+ ];
354
+ const result = await this.d2api.rpc("E.EM_VECTOR_MANAGER", "InsertSession", ...processedParams).callAndGet(undefined, callParameters.timeout);
355
+ resolve(processOutParameters(result, outParams));
356
+ });
357
+ }
358
+ async KillEdaSession(parameters, callParameters = {}) {
359
+ return new Promise(async (resolve) => {
360
+ const inParams = [];
361
+ const outParams = [
362
+ { type: "bool", name: "isOk" },
363
+ { type: "text", name: "errorMsg" },
364
+ ];
365
+ const processedParams = [
366
+ ...processInParameters(parameters, inParams),
367
+ ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
368
+ ];
369
+ const result = await this.d2api.rpc("E.EM_VECTOR_MANAGER", "KillEdaSession", ...processedParams).callAndGet(undefined, callParameters.timeout);
370
+ resolve(processOutParameters(result, outParams));
371
+ });
372
+ }
373
+ async RemoveSession(parameters, callParameters = {}) {
374
+ return new Promise(async (resolve) => {
375
+ const inParams = [
376
+ { type: "int", name: "processId" },
377
+ ];
378
+ const outParams = [];
379
+ const processedParams = [
380
+ ...processInParameters(parameters, inParams),
381
+ ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
382
+ ];
383
+ const result = await this.d2api.rpc("E.EM_VECTOR_MANAGER", "RemoveSession", ...processedParams).callAndGet(undefined, callParameters.timeout);
384
+ resolve(processOutParameters(result, outParams));
385
+ });
386
+ }
387
+ }
388
+ export class EM_DETAIL_IMPLEventApi extends BaseApi {
389
+ async LoadCalcVectorData(parameters, callParameters = {}) {
326
390
  return new Promise(async (resolve) => {
327
391
  const inParams = [
328
392
  { type: "int", name: "id" },
329
393
  ];
330
394
  const outParams = [
331
- { type: "record", name: "item", structName: "SD.EM_Tree_Item", structFields: ["ID", "ParentID", "Name", "Path", "DisplayName", "Type", "Units", "RoundingType", "RoundingPlaces"] },
395
+ { type: "record", name: "data", structName: "SD.EM_EDA_FunctionPrescription", structFields: ["ID_VEKTOR", "POPIS", "PLATNOST_OD", "PLATNOST_DO"] },
396
+ { type: "text", name: "prescription" },
332
397
  { type: "bool", name: "isOk" },
333
398
  { type: "text", name: "errorMsg" },
334
399
  ];
@@ -336,21 +401,17 @@ export class EM_NAVIGATOR_IMPLEventApi extends BaseApi {
336
401
  ...processInParameters(parameters, inParams),
337
402
  ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
338
403
  ];
339
- const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "GetScenario", ...processedParams).callAndGet(undefined, callParameters.timeout);
404
+ const result = await this.d2api.rpc("E.EM_DETAIL_IMPL", "LoadCalcVectorData", ...processedParams).callAndGet(undefined, callParameters.timeout);
340
405
  resolve(processOutParameters(result, outParams));
341
406
  });
342
407
  }
343
- async GetScenarioChildren(parameters, callParameters = {}) {
408
+ async LoadDescriptiveVectorData(parameters, callParameters = {}) {
344
409
  return new Promise(async (resolve) => {
345
410
  const inParams = [
346
411
  { type: "int", name: "id" },
347
- { type: "bool", name: "showOmitted" },
348
- { type: "int", name: "count" },
349
- { type: "int", name: "offset" },
350
412
  ];
351
413
  const outParams = [
352
- { type: "record", name: "items", structName: "SD.EM_Tree_Item", structFields: ["ID", "ParentID", "Name", "Path", "DisplayName", "Type", "Units", "RoundingType", "RoundingPlaces"] },
353
- { type: "int", name: "leftCount" },
414
+ { type: "record", name: "data", structName: "SD.EM_EDA_DescriptiveVector", structFields: ["ID", "EDA_ID", "IDX", "TYP_PERIODY", "TIME_FROM", "TIME_TO", "HODNOTA", "HODNOTA2", "TYP_HODNOTY", "STAV", "DODATOK_ID", "VALID"] },
354
415
  { type: "bool", name: "isOk" },
355
416
  { type: "text", name: "errorMsg" },
356
417
  ];
@@ -358,22 +419,17 @@ export class EM_NAVIGATOR_IMPLEventApi extends BaseApi {
358
419
  ...processInParameters(parameters, inParams),
359
420
  ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
360
421
  ];
361
- const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "GetScenarioChildren", ...processedParams).callAndGet(undefined, callParameters.timeout);
422
+ const result = await this.d2api.rpc("E.EM_DETAIL_IMPL", "LoadDescriptiveVectorData", ...processedParams).callAndGet(undefined, callParameters.timeout);
362
423
  resolve(processOutParameters(result, outParams));
363
424
  });
364
425
  }
365
- async GetScenarioVectors(parameters, callParameters = {}) {
426
+ async LoadGroupData(parameters, callParameters = {}) {
366
427
  return new Promise(async (resolve) => {
367
428
  const inParams = [
368
429
  { type: "int", name: "id" },
369
- { type: "bool", name: "showOmitted" },
370
- { type: "bool", name: "showDynamic" },
371
- { type: "int", name: "count" },
372
- { type: "int", name: "offset" },
373
430
  ];
374
431
  const outParams = [
375
- { type: "record", name: "items", structName: "SD.EM_Tree_Item", structFields: ["ID", "ParentID", "Name", "Path", "DisplayName", "Type", "Units", "RoundingType", "RoundingPlaces"] },
376
- { type: "int", name: "leftCount" },
432
+ { type: "record", name: "data", structName: "SD.EM_EDA_GroupVector", structFields: ["ID_SKVEKTOR", "EDA_ID_SKVEKTOR", "MENO", "POPIS", "AUTOR", "PRIST_PRAVA_R", "PRIST_PRAVA_W", "CESTA", "ANO_PLATNY", "ZOBRAZ_MENO", "PRIVATE", "USERINPUTFLAG", "ANO_PAIR"] },
377
433
  { type: "bool", name: "isOk" },
378
434
  { type: "text", name: "errorMsg" },
379
435
  ];
@@ -381,17 +437,17 @@ export class EM_NAVIGATOR_IMPLEventApi extends BaseApi {
381
437
  ...processInParameters(parameters, inParams),
382
438
  ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
383
439
  ];
384
- const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "GetScenarioVectors", ...processedParams).callAndGet(undefined, callParameters.timeout);
440
+ const result = await this.d2api.rpc("E.EM_DETAIL_IMPL", "LoadGroupData", ...processedParams).callAndGet(undefined, callParameters.timeout);
385
441
  resolve(processOutParameters(result, outParams));
386
442
  });
387
443
  }
388
- async GetVector(parameters, callParameters = {}) {
444
+ async LoadPairVectorData(parameters, callParameters = {}) {
389
445
  return new Promise(async (resolve) => {
390
446
  const inParams = [
391
447
  { type: "int", name: "id" },
392
448
  ];
393
449
  const outParams = [
394
- { type: "record", name: "item", structName: "SD.EM_Tree_Item", structFields: ["ID", "ParentID", "Name", "Path", "DisplayName", "Type", "Units", "RoundingType", "RoundingPlaces"] },
450
+ { type: "record", name: "data", structName: "SD.EM_EDA_PairVector", structFields: ["ID_VEKTOR", "ID_SKVEKTOR", "ID_FUNKCIA", "MENO", "POPIS", "TECH_JEDNOTKY", "TYP_HODNOTY", "TYP", "DATA_OD", "DATA_DO", "AUTOR", "PRIVATE", "PRIST_PRAVA_R", "PRIST_PRAVA_W", "INTEGRAL", "ZOBRAZ_MENO", "ANO_PLATNY", "VIEW_ROUND", "EXEC_ROUND", "VIEW_DEC_PL", "EXEC_DEC_PL", "USER_CH", "MENOEX", "DATA_OFFSET", "ID_TABLESPACE", "TECH_JEDNOTKY_Y", "HODNOTA_X", "HODNOTA_Y", "TIME_ZONE", "VERSIONED_SINCE", "ARCHIVE_NAME", "ARCHIVE_ROW", "ARCHIVE_COL", "STATUS_TEXT", "PERIOD_BEGIN_TIME", "PERIOD_STEP_BASE", "PERIOD_STEP_COUNT"] },
395
451
  { type: "bool", name: "isOk" },
396
452
  { type: "text", name: "errorMsg" },
397
453
  ];
@@ -399,7 +455,45 @@ export class EM_NAVIGATOR_IMPLEventApi extends BaseApi {
399
455
  ...processInParameters(parameters, inParams),
400
456
  ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
401
457
  ];
402
- const result = await this.d2api.rpc("E.EM_NAVIGATOR_IMPL", "GetVector", ...processedParams).callAndGet(undefined, callParameters.timeout);
458
+ const result = await this.d2api.rpc("E.EM_DETAIL_IMPL", "LoadPairVectorData", ...processedParams).callAndGet(undefined, callParameters.timeout);
459
+ resolve(processOutParameters(result, outParams));
460
+ });
461
+ }
462
+ async LoadScenarioData(parameters, callParameters = {}) {
463
+ return new Promise(async (resolve) => {
464
+ const inParams = [
465
+ { type: "int", name: "id" },
466
+ ];
467
+ const outParams = [
468
+ { type: "record", name: "data", structName: "SD.EM_EDA_Scenario", structFields: ["ID_SCENAR", "EDA_ID_SCENAR", "MENO", "POPIS", "IDX", "CAS_DLZKA", "CAS_POSUN", "CAS_JEMNOST", "AUTOR", "PRIVATE", "PRIST_PRAVA_R", "PRIST_PRAVA_W", "CESTA", "FILTER", "FILTER_USER", "FILTER_TYP", "ZOBRAZ_MENO", "ANO_PLATNY", "DIAGRAM", "ANO_DIAGRAM", "ANO_EDITACIA", "ANO_ZMENA", "ANO_GRAFXY", "ANO_MATICA", "ANO_PAIR"] },
469
+ { type: "bool", name: "isOk" },
470
+ { type: "text", name: "errorMsg" },
471
+ ];
472
+ const processedParams = [
473
+ ...processInParameters(parameters, inParams),
474
+ ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
475
+ ];
476
+ const result = await this.d2api.rpc("E.EM_DETAIL_IMPL", "LoadScenarioData", ...processedParams).callAndGet(undefined, callParameters.timeout);
477
+ resolve(processOutParameters(result, outParams));
478
+ });
479
+ }
480
+ async LoadVectorData(parameters, callParameters = {}) {
481
+ return new Promise(async (resolve) => {
482
+ const inParams = [
483
+ { type: "int", name: "id" },
484
+ ];
485
+ const outParams = [
486
+ { type: "record", name: "data", structName: "SD.EM_EDA_Vector", structFields: ["ID_VEKTOR", "ID_SKVEKTOR", "ID_FUNKCIA", "MENO", "POPIS", "TECH_JEDNOTKY", "TYP_HODNOTY", "TYP", "DATA_OD", "DATA_DO", "AUTOR", "PRIVATE", "PRIST_PRAVA_R", "PRIST_PRAVA_W", "INTEGRAL", "ZOBRAZ_MENO", "ANO_PLATNY", "VIEW_ROUND", "EXEC_ROUND", "VIEW_DEC_PL", "EXEC_DEC_PL", "USER_CH", "MENOEX", "ID_TABLESPACE", "DATA_OFFSET", "TIME_ZONE", "VERSIONED_SINCE", "ARCHIVE_NAME", "ARCHIVE_ROW", "ARCHIVE_COL", "LOG_ACCESS", "STATUS_TEXT", "ID_MASTER_ENTITY", "INTERVAL_STABLE", "PERIOD_BEGIN_TIME", "PERIOD_STEP_BASE", "PERIOD_STEP_COUNT", "ID_VALIDATOR"] },
487
+ { type: "record", name: "dataEx", structName: "SD.EM_EDA_VectorEx", structFields: ["ID_VEKTOR", "DATE_IN", "DATE_CH"] },
488
+ { type: "record", name: "dataFunction", structName: "SD.EM_EDA_Function", structFields: ["ID_VEKTOR", "TYP", "PERIODA", "POSUN", "PREPOCIT", "PREDV_OD", "PREDV_DO", "PRECALC_RQ"] },
489
+ { type: "bool", name: "isOk" },
490
+ { type: "text", name: "errorMsg" },
491
+ ];
492
+ const processedParams = [
493
+ ...processInParameters(parameters, inParams),
494
+ ...outParams.map((p) => ({ type: p.type, returnAs: p.name, structType: p.structName }))
495
+ ];
496
+ const result = await this.d2api.rpc("E.EM_DETAIL_IMPL", "LoadVectorData", ...processedParams).callAndGet(undefined, callParameters.timeout);
403
497
  resolve(processOutParameters(result, outParams));
404
498
  });
405
499
  }