@robosystems/client 0.2.47 → 0.2.48

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.
@@ -169,6 +169,93 @@ export type AccountResponse = {
169
169
  */
170
170
  external_source?: string | null;
171
171
  };
172
+ /**
173
+ * AccountRollupGroup
174
+ */
175
+ export type AccountRollupGroup = {
176
+ /**
177
+ * Reporting Element Id
178
+ */
179
+ reporting_element_id: string;
180
+ /**
181
+ * Reporting Name
182
+ */
183
+ reporting_name: string;
184
+ /**
185
+ * Reporting Qname
186
+ */
187
+ reporting_qname: string;
188
+ /**
189
+ * Classification
190
+ */
191
+ classification: string;
192
+ /**
193
+ * Balance Type
194
+ */
195
+ balance_type: string;
196
+ /**
197
+ * Total
198
+ */
199
+ total: number;
200
+ /**
201
+ * Accounts
202
+ */
203
+ accounts: Array<AccountRollupRow>;
204
+ };
205
+ /**
206
+ * AccountRollupRow
207
+ */
208
+ export type AccountRollupRow = {
209
+ /**
210
+ * Element Id
211
+ */
212
+ element_id: string;
213
+ /**
214
+ * Account Name
215
+ */
216
+ account_name: string;
217
+ /**
218
+ * Account Code
219
+ */
220
+ account_code?: string | null;
221
+ /**
222
+ * Total Debits
223
+ */
224
+ total_debits: number;
225
+ /**
226
+ * Total Credits
227
+ */
228
+ total_credits: number;
229
+ /**
230
+ * Net Balance
231
+ */
232
+ net_balance: number;
233
+ };
234
+ /**
235
+ * AccountRollupsResponse
236
+ */
237
+ export type AccountRollupsResponse = {
238
+ /**
239
+ * Mapping Id
240
+ */
241
+ mapping_id: string;
242
+ /**
243
+ * Mapping Name
244
+ */
245
+ mapping_name: string;
246
+ /**
247
+ * Groups
248
+ */
249
+ groups: Array<AccountRollupGroup>;
250
+ /**
251
+ * Total Mapped
252
+ */
253
+ total_mapped: number;
254
+ /**
255
+ * Total Unmapped
256
+ */
257
+ total_unmapped: number;
258
+ };
172
259
  /**
173
260
  * AccountTreeNode
174
261
  */
@@ -1183,6 +1270,61 @@ export type CheckoutStatusResponse = {
1183
1270
  */
1184
1271
  error?: string | null;
1185
1272
  };
1273
+ /**
1274
+ * ClosingBookCategory
1275
+ */
1276
+ export type ClosingBookCategory = {
1277
+ /**
1278
+ * Label
1279
+ */
1280
+ label: string;
1281
+ /**
1282
+ * Items
1283
+ */
1284
+ items: Array<ClosingBookItem>;
1285
+ };
1286
+ /**
1287
+ * ClosingBookItem
1288
+ */
1289
+ export type ClosingBookItem = {
1290
+ /**
1291
+ * Id
1292
+ */
1293
+ id: string;
1294
+ /**
1295
+ * Name
1296
+ */
1297
+ name: string;
1298
+ /**
1299
+ * Item Type
1300
+ */
1301
+ item_type: string;
1302
+ /**
1303
+ * Structure Type
1304
+ */
1305
+ structure_type?: string | null;
1306
+ /**
1307
+ * Report Id
1308
+ */
1309
+ report_id?: string | null;
1310
+ /**
1311
+ * Status
1312
+ */
1313
+ status?: string | null;
1314
+ };
1315
+ /**
1316
+ * ClosingBookStructuresResponse
1317
+ */
1318
+ export type ClosingBookStructuresResponse = {
1319
+ /**
1320
+ * Categories
1321
+ */
1322
+ categories: Array<ClosingBookCategory>;
1323
+ /**
1324
+ * Has Data
1325
+ */
1326
+ has_data: boolean;
1327
+ };
1186
1328
  /**
1187
1329
  * ClosingEntryResponse
1188
1330
  */
@@ -1215,6 +1357,7 @@ export type ClosingEntryResponse = {
1215
1357
  * Amount
1216
1358
  */
1217
1359
  amount: number;
1360
+ reversal?: ClosingEntryResponse | null;
1218
1361
  };
1219
1362
  /**
1220
1363
  * ConnectionOptionsResponse
@@ -3089,6 +3232,12 @@ export type EntryTemplateRequest = {
3089
3232
  * Memo template ({structure_name} is replaced)
3090
3233
  */
3091
3234
  memo_template?: string;
3235
+ /**
3236
+ * Auto Reverse
3237
+ *
3238
+ * Auto-generate a reversing entry on the first day of the next period
3239
+ */
3240
+ auto_reverse?: boolean;
3092
3241
  };
3093
3242
  /**
3094
3243
  * ErrorResponse
@@ -5164,6 +5313,12 @@ export type MaterializeRequest = {
5164
5313
  * Data source for materialization. Auto-detected from graph type if not specified. 'staged' materializes from uploaded files (generic graphs). 'extensions' materializes from the extensions OLTP database (entity graphs).
5165
5314
  */
5166
5315
  source?: string | null;
5316
+ /**
5317
+ * Materialize Embeddings
5318
+ *
5319
+ * Include embedding columns in materialization and build HNSW vector indexes in the graph database. When false (default), embedding columns are NULLed out to save space. Set to true for graphs that need vector search.
5320
+ */
5321
+ materialize_embeddings?: boolean;
5167
5322
  };
5168
5323
  /**
5169
5324
  * MaterializeResponse
@@ -5924,6 +6079,14 @@ export type PeriodCloseItemResponse = {
5924
6079
  * Entry Id
5925
6080
  */
5926
6081
  entry_id?: string | null;
6082
+ /**
6083
+ * Reversal Entry Id
6084
+ */
6085
+ reversal_entry_id?: string | null;
6086
+ /**
6087
+ * Reversal Status
6088
+ */
6089
+ reversal_status?: string | null;
5927
6090
  };
5928
6091
  /**
5929
6092
  * PeriodCloseStatusResponse
@@ -6979,6 +7142,10 @@ export type SearchHit = {
6979
7142
  * Source Type
6980
7143
  */
6981
7144
  source_type: string;
7145
+ /**
7146
+ * Parent Document Id
7147
+ */
7148
+ parent_document_id?: string | null;
6982
7149
  /**
6983
7150
  * Entity Ticker
6984
7151
  */
@@ -13735,6 +13902,75 @@ export type RemovePublishListMemberResponses = {
13735
13902
  204: void;
13736
13903
  };
13737
13904
  export type RemovePublishListMemberResponse = RemovePublishListMemberResponses[keyof RemovePublishListMemberResponses];
13905
+ export type GetAccountRollupsData = {
13906
+ body?: never;
13907
+ path: {
13908
+ /**
13909
+ * Graph Id
13910
+ */
13911
+ graph_id: string;
13912
+ };
13913
+ query?: {
13914
+ /**
13915
+ * Mapping Id
13916
+ *
13917
+ * Mapping structure ID (auto-discovers if omitted)
13918
+ */
13919
+ mapping_id?: string | null;
13920
+ /**
13921
+ * Start Date
13922
+ *
13923
+ * Start date (inclusive)
13924
+ */
13925
+ start_date?: string | null;
13926
+ /**
13927
+ * End Date
13928
+ *
13929
+ * End date (inclusive)
13930
+ */
13931
+ end_date?: string | null;
13932
+ };
13933
+ url: '/v1/ledger/{graph_id}/account-rollups';
13934
+ };
13935
+ export type GetAccountRollupsErrors = {
13936
+ /**
13937
+ * Validation Error
13938
+ */
13939
+ 422: HttpValidationError;
13940
+ };
13941
+ export type GetAccountRollupsError = GetAccountRollupsErrors[keyof GetAccountRollupsErrors];
13942
+ export type GetAccountRollupsResponses = {
13943
+ /**
13944
+ * Successful Response
13945
+ */
13946
+ 200: AccountRollupsResponse;
13947
+ };
13948
+ export type GetAccountRollupsResponse = GetAccountRollupsResponses[keyof GetAccountRollupsResponses];
13949
+ export type GetClosingBookStructuresData = {
13950
+ body?: never;
13951
+ path: {
13952
+ /**
13953
+ * Graph Id
13954
+ */
13955
+ graph_id: string;
13956
+ };
13957
+ query?: never;
13958
+ url: '/v1/ledger/{graph_id}/closing-book/structures';
13959
+ };
13960
+ export type GetClosingBookStructuresErrors = {
13961
+ /**
13962
+ * Validation Error
13963
+ */
13964
+ 422: HttpValidationError;
13965
+ };
13966
+ export type GetClosingBookStructuresError = GetClosingBookStructuresErrors[keyof GetClosingBookStructuresErrors];
13967
+ export type GetClosingBookStructuresResponses = {
13968
+ /**
13969
+ * Successful Response
13970
+ */
13971
+ 200: ClosingBookStructuresResponse;
13972
+ };
13973
+ export type GetClosingBookStructuresResponse = GetClosingBookStructuresResponses[keyof GetClosingBookStructuresResponses];
13738
13974
  export type ListPortfoliosData = {
13739
13975
  body?: never;
13740
13976
  path: {
package/sdk/types.gen.ts CHANGED
@@ -177,6 +177,96 @@ export type AccountResponse = {
177
177
  external_source?: string | null;
178
178
  };
179
179
 
180
+ /**
181
+ * AccountRollupGroup
182
+ */
183
+ export type AccountRollupGroup = {
184
+ /**
185
+ * Reporting Element Id
186
+ */
187
+ reporting_element_id: string;
188
+ /**
189
+ * Reporting Name
190
+ */
191
+ reporting_name: string;
192
+ /**
193
+ * Reporting Qname
194
+ */
195
+ reporting_qname: string;
196
+ /**
197
+ * Classification
198
+ */
199
+ classification: string;
200
+ /**
201
+ * Balance Type
202
+ */
203
+ balance_type: string;
204
+ /**
205
+ * Total
206
+ */
207
+ total: number;
208
+ /**
209
+ * Accounts
210
+ */
211
+ accounts: Array<AccountRollupRow>;
212
+ };
213
+
214
+ /**
215
+ * AccountRollupRow
216
+ */
217
+ export type AccountRollupRow = {
218
+ /**
219
+ * Element Id
220
+ */
221
+ element_id: string;
222
+ /**
223
+ * Account Name
224
+ */
225
+ account_name: string;
226
+ /**
227
+ * Account Code
228
+ */
229
+ account_code?: string | null;
230
+ /**
231
+ * Total Debits
232
+ */
233
+ total_debits: number;
234
+ /**
235
+ * Total Credits
236
+ */
237
+ total_credits: number;
238
+ /**
239
+ * Net Balance
240
+ */
241
+ net_balance: number;
242
+ };
243
+
244
+ /**
245
+ * AccountRollupsResponse
246
+ */
247
+ export type AccountRollupsResponse = {
248
+ /**
249
+ * Mapping Id
250
+ */
251
+ mapping_id: string;
252
+ /**
253
+ * Mapping Name
254
+ */
255
+ mapping_name: string;
256
+ /**
257
+ * Groups
258
+ */
259
+ groups: Array<AccountRollupGroup>;
260
+ /**
261
+ * Total Mapped
262
+ */
263
+ total_mapped: number;
264
+ /**
265
+ * Total Unmapped
266
+ */
267
+ total_unmapped: number;
268
+ };
269
+
180
270
  /**
181
271
  * AccountTreeNode
182
272
  */
@@ -1222,6 +1312,64 @@ export type CheckoutStatusResponse = {
1222
1312
  error?: string | null;
1223
1313
  };
1224
1314
 
1315
+ /**
1316
+ * ClosingBookCategory
1317
+ */
1318
+ export type ClosingBookCategory = {
1319
+ /**
1320
+ * Label
1321
+ */
1322
+ label: string;
1323
+ /**
1324
+ * Items
1325
+ */
1326
+ items: Array<ClosingBookItem>;
1327
+ };
1328
+
1329
+ /**
1330
+ * ClosingBookItem
1331
+ */
1332
+ export type ClosingBookItem = {
1333
+ /**
1334
+ * Id
1335
+ */
1336
+ id: string;
1337
+ /**
1338
+ * Name
1339
+ */
1340
+ name: string;
1341
+ /**
1342
+ * Item Type
1343
+ */
1344
+ item_type: string;
1345
+ /**
1346
+ * Structure Type
1347
+ */
1348
+ structure_type?: string | null;
1349
+ /**
1350
+ * Report Id
1351
+ */
1352
+ report_id?: string | null;
1353
+ /**
1354
+ * Status
1355
+ */
1356
+ status?: string | null;
1357
+ };
1358
+
1359
+ /**
1360
+ * ClosingBookStructuresResponse
1361
+ */
1362
+ export type ClosingBookStructuresResponse = {
1363
+ /**
1364
+ * Categories
1365
+ */
1366
+ categories: Array<ClosingBookCategory>;
1367
+ /**
1368
+ * Has Data
1369
+ */
1370
+ has_data: boolean;
1371
+ };
1372
+
1225
1373
  /**
1226
1374
  * ClosingEntryResponse
1227
1375
  */
@@ -1254,6 +1402,7 @@ export type ClosingEntryResponse = {
1254
1402
  * Amount
1255
1403
  */
1256
1404
  amount: number;
1405
+ reversal?: ClosingEntryResponse | null;
1257
1406
  };
1258
1407
 
1259
1408
  /**
@@ -3177,6 +3326,12 @@ export type EntryTemplateRequest = {
3177
3326
  * Memo template ({structure_name} is replaced)
3178
3327
  */
3179
3328
  memo_template?: string;
3329
+ /**
3330
+ * Auto Reverse
3331
+ *
3332
+ * Auto-generate a reversing entry on the first day of the next period
3333
+ */
3334
+ auto_reverse?: boolean;
3180
3335
  };
3181
3336
 
3182
3337
  /**
@@ -5301,6 +5456,12 @@ export type MaterializeRequest = {
5301
5456
  * Data source for materialization. Auto-detected from graph type if not specified. 'staged' materializes from uploaded files (generic graphs). 'extensions' materializes from the extensions OLTP database (entity graphs).
5302
5457
  */
5303
5458
  source?: string | null;
5459
+ /**
5460
+ * Materialize Embeddings
5461
+ *
5462
+ * Include embedding columns in materialization and build HNSW vector indexes in the graph database. When false (default), embedding columns are NULLed out to save space. Set to true for graphs that need vector search.
5463
+ */
5464
+ materialize_embeddings?: boolean;
5304
5465
  };
5305
5466
 
5306
5467
  /**
@@ -6085,6 +6246,14 @@ export type PeriodCloseItemResponse = {
6085
6246
  * Entry Id
6086
6247
  */
6087
6248
  entry_id?: string | null;
6249
+ /**
6250
+ * Reversal Entry Id
6251
+ */
6252
+ reversal_entry_id?: string | null;
6253
+ /**
6254
+ * Reversal Status
6255
+ */
6256
+ reversal_status?: string | null;
6088
6257
  };
6089
6258
 
6090
6259
  /**
@@ -7179,6 +7348,10 @@ export type SearchHit = {
7179
7348
  * Source Type
7180
7349
  */
7181
7350
  source_type: string;
7351
+ /**
7352
+ * Parent Document Id
7353
+ */
7354
+ parent_document_id?: string | null;
7182
7355
  /**
7183
7356
  * Entity Ticker
7184
7357
  */
@@ -14726,6 +14899,85 @@ export type RemovePublishListMemberResponses = {
14726
14899
 
14727
14900
  export type RemovePublishListMemberResponse = RemovePublishListMemberResponses[keyof RemovePublishListMemberResponses];
14728
14901
 
14902
+ export type GetAccountRollupsData = {
14903
+ body?: never;
14904
+ path: {
14905
+ /**
14906
+ * Graph Id
14907
+ */
14908
+ graph_id: string;
14909
+ };
14910
+ query?: {
14911
+ /**
14912
+ * Mapping Id
14913
+ *
14914
+ * Mapping structure ID (auto-discovers if omitted)
14915
+ */
14916
+ mapping_id?: string | null;
14917
+ /**
14918
+ * Start Date
14919
+ *
14920
+ * Start date (inclusive)
14921
+ */
14922
+ start_date?: string | null;
14923
+ /**
14924
+ * End Date
14925
+ *
14926
+ * End date (inclusive)
14927
+ */
14928
+ end_date?: string | null;
14929
+ };
14930
+ url: '/v1/ledger/{graph_id}/account-rollups';
14931
+ };
14932
+
14933
+ export type GetAccountRollupsErrors = {
14934
+ /**
14935
+ * Validation Error
14936
+ */
14937
+ 422: HttpValidationError;
14938
+ };
14939
+
14940
+ export type GetAccountRollupsError = GetAccountRollupsErrors[keyof GetAccountRollupsErrors];
14941
+
14942
+ export type GetAccountRollupsResponses = {
14943
+ /**
14944
+ * Successful Response
14945
+ */
14946
+ 200: AccountRollupsResponse;
14947
+ };
14948
+
14949
+ export type GetAccountRollupsResponse = GetAccountRollupsResponses[keyof GetAccountRollupsResponses];
14950
+
14951
+ export type GetClosingBookStructuresData = {
14952
+ body?: never;
14953
+ path: {
14954
+ /**
14955
+ * Graph Id
14956
+ */
14957
+ graph_id: string;
14958
+ };
14959
+ query?: never;
14960
+ url: '/v1/ledger/{graph_id}/closing-book/structures';
14961
+ };
14962
+
14963
+ export type GetClosingBookStructuresErrors = {
14964
+ /**
14965
+ * Validation Error
14966
+ */
14967
+ 422: HttpValidationError;
14968
+ };
14969
+
14970
+ export type GetClosingBookStructuresError = GetClosingBookStructuresErrors[keyof GetClosingBookStructuresErrors];
14971
+
14972
+ export type GetClosingBookStructuresResponses = {
14973
+ /**
14974
+ * Successful Response
14975
+ */
14976
+ 200: ClosingBookStructuresResponse;
14977
+ };
14978
+
14979
+ export type GetClosingBookStructuresResponse = GetClosingBookStructuresResponses[keyof GetClosingBookStructuresResponses];
14980
+
14729
14981
  export type ListPortfoliosData = {
14730
14982
  body?: never;
14731
14983
  path: {