@robosystems/client 0.2.46 → 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.
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
  /**
@@ -3874,6 +4029,12 @@ export type GraphSubscriptionResponse = {
3874
4029
  * Creation timestamp
3875
4030
  */
3876
4031
  created_at: string;
4032
+ /**
4033
+ * Operation Id
4034
+ *
4035
+ * Operation ID for tracking async tier changes via SSE
4036
+ */
4037
+ operation_id?: string | null;
3877
4038
  };
3878
4039
 
3879
4040
  /**
@@ -5295,6 +5456,12 @@ export type MaterializeRequest = {
5295
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).
5296
5457
  */
5297
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;
5298
5465
  };
5299
5466
 
5300
5467
  /**
@@ -6079,6 +6246,14 @@ export type PeriodCloseItemResponse = {
6079
6246
  * Entry Id
6080
6247
  */
6081
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;
6082
6257
  };
6083
6258
 
6084
6259
  /**
@@ -7173,6 +7348,10 @@ export type SearchHit = {
7173
7348
  * Source Type
7174
7349
  */
7175
7350
  source_type: string;
7351
+ /**
7352
+ * Parent Document Id
7353
+ */
7354
+ parent_document_id?: string | null;
7176
7355
  /**
7177
7356
  * Entity Ticker
7178
7357
  */
@@ -11702,13 +11881,13 @@ export type GetGraphSubscriptionResponses = {
11702
11881
 
11703
11882
  export type GetGraphSubscriptionResponse = GetGraphSubscriptionResponses[keyof GetGraphSubscriptionResponses];
11704
11883
 
11705
- export type ChangeRepositoryPlanData = {
11884
+ export type ChangeSubscriptionPlanData = {
11706
11885
  body: UpgradeSubscriptionRequest;
11707
11886
  path: {
11708
11887
  /**
11709
11888
  * Graph Id
11710
11889
  *
11711
- * Repository name (e.g., 'sec')
11890
+ * Graph ID or repository name
11712
11891
  */
11713
11892
  graph_id: string;
11714
11893
  };
@@ -11716,9 +11895,9 @@ export type ChangeRepositoryPlanData = {
11716
11895
  url: '/v1/graphs/{graph_id}/subscriptions';
11717
11896
  };
11718
11897
 
11719
- export type ChangeRepositoryPlanErrors = {
11898
+ export type ChangeSubscriptionPlanErrors = {
11720
11899
  /**
11721
- * Invalid plan or not a repository subscription
11900
+ * Invalid plan, validation failure, or status conflict
11722
11901
  */
11723
11902
  400: unknown;
11724
11903
  /**
@@ -11731,16 +11910,16 @@ export type ChangeRepositoryPlanErrors = {
11731
11910
  422: HttpValidationError;
11732
11911
  };
11733
11912
 
11734
- export type ChangeRepositoryPlanError = ChangeRepositoryPlanErrors[keyof ChangeRepositoryPlanErrors];
11913
+ export type ChangeSubscriptionPlanError = ChangeSubscriptionPlanErrors[keyof ChangeSubscriptionPlanErrors];
11735
11914
 
11736
- export type ChangeRepositoryPlanResponses = {
11915
+ export type ChangeSubscriptionPlanResponses = {
11737
11916
  /**
11738
11917
  * Plan changed successfully
11739
11918
  */
11740
11919
  200: GraphSubscriptionResponse;
11741
11920
  };
11742
11921
 
11743
- export type ChangeRepositoryPlanResponse = ChangeRepositoryPlanResponses[keyof ChangeRepositoryPlanResponses];
11922
+ export type ChangeSubscriptionPlanResponse = ChangeSubscriptionPlanResponses[keyof ChangeSubscriptionPlanResponses];
11744
11923
 
11745
11924
  export type CreateRepositorySubscriptionData = {
11746
11925
  body: CreateRepositorySubscriptionRequest;
@@ -14720,6 +14899,85 @@ export type RemovePublishListMemberResponses = {
14720
14899
 
14721
14900
  export type RemovePublishListMemberResponse = RemovePublishListMemberResponses[keyof RemovePublishListMemberResponses];
14722
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
+
14723
14981
  export type ListPortfoliosData = {
14724
14982
  body?: never;
14725
14983
  path: {