@robosystems/client 0.5.11 → 0.5.13

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.
@@ -511,7 +511,7 @@ export type BackupCreateRequest = {
511
511
  /**
512
512
  * Retention Days
513
513
  *
514
- * Retention period in days
514
+ * Retention period in days, further capped to the graph tier's maximum (7/30/90). 90 is the hard ceiling: the storage lifecycle expires backup objects then regardless of the requested value.
515
515
  */
516
516
  retention_days?: number;
517
517
  /**
@@ -5489,7 +5489,7 @@ export type GraphLimitsResponse = {
5489
5489
  /**
5490
5490
  * Subscription Tier
5491
5491
  *
5492
- * User's subscription tier
5492
+ * Rate-limit tier enforced for requests to this graph
5493
5493
  */
5494
5494
  subscription_tier: string;
5495
5495
  /**
@@ -5827,6 +5827,12 @@ export type GraphSubscriptionTier = {
5827
5827
  * Instance type
5828
5828
  */
5829
5829
  instance_type?: string | null;
5830
+ /**
5831
+ * Instance Storage Limit Gb
5832
+ *
5833
+ * Soft storage cap for the instance in GB
5834
+ */
5835
+ instance_storage_limit_gb?: number;
5830
5836
  };
5831
5837
  /**
5832
5838
  * GraphSubscriptions
@@ -6021,7 +6027,7 @@ export type GraphTierInstance = {
6021
6027
  /**
6022
6028
  * Memory Mb
6023
6029
  *
6024
- * Memory allocated to your graph in megabytes
6030
+ * LadybugDB memory budget for the whole instance in megabytes (below physical RAM after OS overhead; not a per-graph allocation)
6025
6031
  */
6026
6032
  memory_mb: number;
6027
6033
  /**
@@ -7467,7 +7473,7 @@ export type ListSubgraphsResponse = {
7467
7473
  /**
7468
7474
  * Subgraphs Enabled
7469
7475
  *
7470
- * Whether subgraphs are enabled for this tier (requires Large/XLarge tier)
7476
+ * Whether subgraphs are enabled for this tier
7471
7477
  */
7472
7478
  subgraphs_enabled: boolean;
7473
7479
  /**
@@ -7573,6 +7579,72 @@ export type LiveFinancialStatementRequest = {
7573
7579
  */
7574
7580
  limit?: number;
7575
7581
  };
7582
+ /**
7583
+ * LiveFinancialStatementResponse
7584
+ *
7585
+ * Rendered OLTP-backed ad-hoc statement.
7586
+ */
7587
+ export type LiveFinancialStatementResponse = {
7588
+ /**
7589
+ * Graph Id
7590
+ */
7591
+ graph_id: string;
7592
+ /**
7593
+ * Statement Type
7594
+ */
7595
+ statement_type: string;
7596
+ /**
7597
+ * Periods
7598
+ */
7599
+ periods: Array<PeriodSpec>;
7600
+ /**
7601
+ * Facts
7602
+ */
7603
+ facts: Array<LiveStatementFactRow>;
7604
+ /**
7605
+ * Fact Count
7606
+ */
7607
+ fact_count: number;
7608
+ /**
7609
+ * Unmapped Count
7610
+ */
7611
+ unmapped_count?: number;
7612
+ /**
7613
+ * Truncated
7614
+ */
7615
+ truncated?: boolean;
7616
+ };
7617
+ /**
7618
+ * LiveStatementFactRow
7619
+ *
7620
+ * A single row of an OLTP-backed ad-hoc statement.
7621
+ */
7622
+ export type LiveStatementFactRow = {
7623
+ /**
7624
+ * Qname
7625
+ */
7626
+ qname: string;
7627
+ /**
7628
+ * Name
7629
+ */
7630
+ name: string;
7631
+ /**
7632
+ * Trait
7633
+ */
7634
+ trait?: string | null;
7635
+ /**
7636
+ * Values
7637
+ */
7638
+ values: Array<number | null>;
7639
+ /**
7640
+ * Depth
7641
+ */
7642
+ depth?: number;
7643
+ /**
7644
+ * Is Subtotal
7645
+ */
7646
+ is_subtotal?: boolean;
7647
+ };
7576
7648
  /**
7577
7649
  * LoginRequest
7578
7650
  *
@@ -7855,6 +7927,37 @@ export type OAuthCallbackRequest = {
7855
7927
  */
7856
7928
  error_description?: string | null;
7857
7929
  };
7930
+ /**
7931
+ * OAuthCallbackResponse
7932
+ *
7933
+ * Result of completing an OAuth authorization flow.
7934
+ */
7935
+ export type OAuthCallbackResponse = {
7936
+ /**
7937
+ * Success
7938
+ *
7939
+ * Whether the connection was established
7940
+ */
7941
+ success: boolean;
7942
+ /**
7943
+ * Message
7944
+ *
7945
+ * Human-readable outcome of the exchange
7946
+ */
7947
+ message: string;
7948
+ /**
7949
+ * Connection Id
7950
+ *
7951
+ * Connection the authorization was linked to
7952
+ */
7953
+ connection_id: string;
7954
+ /**
7955
+ * Auto Sync Task Id
7956
+ *
7957
+ * Task id of the initial sync started after connecting, or null when no sync was kicked off
7958
+ */
7959
+ auto_sync_task_id?: string | null;
7960
+ };
7858
7961
  /**
7859
7962
  * OAuthInitRequest
7860
7963
  *
@@ -9069,6 +9172,51 @@ export type OperationEnvelopeLedgerEntityResponse = {
9069
9172
  */
9070
9173
  idempotentReplay?: boolean;
9071
9174
  };
9175
+ /**
9176
+ * OperationEnvelope[LiveFinancialStatementResponse]
9177
+ */
9178
+ export type OperationEnvelopeLiveFinancialStatementResponse = {
9179
+ /**
9180
+ * Operation
9181
+ *
9182
+ * Kebab-case operation name
9183
+ */
9184
+ operation: string;
9185
+ /**
9186
+ * Operationid
9187
+ *
9188
+ * op_-prefixed ULID for audit and SSE correlation
9189
+ */
9190
+ operationId: string;
9191
+ /**
9192
+ * Status
9193
+ *
9194
+ * Operation lifecycle state
9195
+ */
9196
+ status: 'completed' | 'pending' | 'failed';
9197
+ /**
9198
+ * Command-specific result payload
9199
+ */
9200
+ result?: LiveFinancialStatementResponse | null;
9201
+ /**
9202
+ * At
9203
+ *
9204
+ * ISO-8601 UTC timestamp
9205
+ */
9206
+ at: string;
9207
+ /**
9208
+ * Createdby
9209
+ *
9210
+ * User ID that initiated the operation (null for legacy callers)
9211
+ */
9212
+ createdBy?: string | null;
9213
+ /**
9214
+ * Idempotentreplay
9215
+ *
9216
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
9217
+ */
9218
+ idempotentReplay?: boolean;
9219
+ };
9072
9220
  /**
9073
9221
  * OperationEnvelope[PortfolioBlockEnvelope]
9074
9222
  */
@@ -11298,7 +11446,7 @@ export type RenderingRowLite = {
11298
11446
  /**
11299
11447
  * ReopenPeriodOperation
11300
11448
  *
11301
- * Reopen the most recently closed fiscal period.
11449
+ * Reopen a closed fiscal period.
11302
11450
  */
11303
11451
  export type ReopenPeriodOperation = {
11304
11452
  /**
@@ -11316,7 +11464,7 @@ export type ReopenPeriodOperation = {
11316
11464
  /**
11317
11465
  * Period
11318
11466
  *
11319
- * Period to reopen, in YYYY-MM. Must equal current `closed_through` — only the most recent close can be undone.
11467
+ * Period to reopen, in YYYY-MM. Any closed period may be reopened. Reopening the current `closed_through` retreats it by one month; reopening an earlier period leaves `closed_through` where it is (a prior-period adjustment), and its re-close restores the period without moving the pointer.
11320
11468
  */
11321
11469
  period: string;
11322
11470
  };
@@ -17078,8 +17226,9 @@ export type OauthCallbackResponses = {
17078
17226
  /**
17079
17227
  * Successful Response
17080
17228
  */
17081
- 200: unknown;
17229
+ 200: OAuthCallbackResponse;
17082
17230
  };
17231
+ export type OauthCallbackResponse = OauthCallbackResponses[keyof OauthCallbackResponses];
17083
17232
  export type ListConnectionsData = {
17084
17233
  body?: never;
17085
17234
  path: {
@@ -24169,9 +24318,9 @@ export type LiveFinancialStatementResponses = {
24169
24318
  /**
24170
24319
  * Successful Response
24171
24320
  */
24172
- 200: OperationEnvelope;
24321
+ 200: OperationEnvelopeLiveFinancialStatementResponse;
24173
24322
  };
24174
- export type LiveFinancialStatementResponse = LiveFinancialStatementResponses[keyof LiveFinancialStatementResponses];
24323
+ export type LiveFinancialStatementResponse2 = LiveFinancialStatementResponses[keyof LiveFinancialStatementResponses];
24175
24324
  export type BuildFactGridData = {
24176
24325
  body: CreateViewRequest;
24177
24326
  headers?: {
package/sdk/types.gen.ts CHANGED
@@ -529,7 +529,7 @@ export type BackupCreateRequest = {
529
529
  /**
530
530
  * Retention Days
531
531
  *
532
- * Retention period in days
532
+ * Retention period in days, further capped to the graph tier's maximum (7/30/90). 90 is the hard ceiling: the storage lifecycle expires backup objects then regardless of the requested value.
533
533
  */
534
534
  retention_days?: number;
535
535
  /**
@@ -5626,7 +5626,7 @@ export type GraphLimitsResponse = {
5626
5626
  /**
5627
5627
  * Subscription Tier
5628
5628
  *
5629
- * User's subscription tier
5629
+ * Rate-limit tier enforced for requests to this graph
5630
5630
  */
5631
5631
  subscription_tier: string;
5632
5632
  /**
@@ -5968,6 +5968,12 @@ export type GraphSubscriptionTier = {
5968
5968
  * Instance type
5969
5969
  */
5970
5970
  instance_type?: string | null;
5971
+ /**
5972
+ * Instance Storage Limit Gb
5973
+ *
5974
+ * Soft storage cap for the instance in GB
5975
+ */
5976
+ instance_storage_limit_gb?: number;
5971
5977
  };
5972
5978
 
5973
5979
  /**
@@ -6167,7 +6173,7 @@ export type GraphTierInstance = {
6167
6173
  /**
6168
6174
  * Memory Mb
6169
6175
  *
6170
- * Memory allocated to your graph in megabytes
6176
+ * LadybugDB memory budget for the whole instance in megabytes (below physical RAM after OS overhead; not a per-graph allocation)
6171
6177
  */
6172
6178
  memory_mb: number;
6173
6179
  /**
@@ -7643,7 +7649,7 @@ export type ListSubgraphsResponse = {
7643
7649
  /**
7644
7650
  * Subgraphs Enabled
7645
7651
  *
7646
- * Whether subgraphs are enabled for this tier (requires Large/XLarge tier)
7652
+ * Whether subgraphs are enabled for this tier
7647
7653
  */
7648
7654
  subgraphs_enabled: boolean;
7649
7655
  /**
@@ -7752,6 +7758,74 @@ export type LiveFinancialStatementRequest = {
7752
7758
  limit?: number;
7753
7759
  };
7754
7760
 
7761
+ /**
7762
+ * LiveFinancialStatementResponse
7763
+ *
7764
+ * Rendered OLTP-backed ad-hoc statement.
7765
+ */
7766
+ export type LiveFinancialStatementResponse = {
7767
+ /**
7768
+ * Graph Id
7769
+ */
7770
+ graph_id: string;
7771
+ /**
7772
+ * Statement Type
7773
+ */
7774
+ statement_type: string;
7775
+ /**
7776
+ * Periods
7777
+ */
7778
+ periods: Array<PeriodSpec>;
7779
+ /**
7780
+ * Facts
7781
+ */
7782
+ facts: Array<LiveStatementFactRow>;
7783
+ /**
7784
+ * Fact Count
7785
+ */
7786
+ fact_count: number;
7787
+ /**
7788
+ * Unmapped Count
7789
+ */
7790
+ unmapped_count?: number;
7791
+ /**
7792
+ * Truncated
7793
+ */
7794
+ truncated?: boolean;
7795
+ };
7796
+
7797
+ /**
7798
+ * LiveStatementFactRow
7799
+ *
7800
+ * A single row of an OLTP-backed ad-hoc statement.
7801
+ */
7802
+ export type LiveStatementFactRow = {
7803
+ /**
7804
+ * Qname
7805
+ */
7806
+ qname: string;
7807
+ /**
7808
+ * Name
7809
+ */
7810
+ name: string;
7811
+ /**
7812
+ * Trait
7813
+ */
7814
+ trait?: string | null;
7815
+ /**
7816
+ * Values
7817
+ */
7818
+ values: Array<number | null>;
7819
+ /**
7820
+ * Depth
7821
+ */
7822
+ depth?: number;
7823
+ /**
7824
+ * Is Subtotal
7825
+ */
7826
+ is_subtotal?: boolean;
7827
+ };
7828
+
7755
7829
  /**
7756
7830
  * LoginRequest
7757
7831
  *
@@ -8043,6 +8117,38 @@ export type OAuthCallbackRequest = {
8043
8117
  error_description?: string | null;
8044
8118
  };
8045
8119
 
8120
+ /**
8121
+ * OAuthCallbackResponse
8122
+ *
8123
+ * Result of completing an OAuth authorization flow.
8124
+ */
8125
+ export type OAuthCallbackResponse = {
8126
+ /**
8127
+ * Success
8128
+ *
8129
+ * Whether the connection was established
8130
+ */
8131
+ success: boolean;
8132
+ /**
8133
+ * Message
8134
+ *
8135
+ * Human-readable outcome of the exchange
8136
+ */
8137
+ message: string;
8138
+ /**
8139
+ * Connection Id
8140
+ *
8141
+ * Connection the authorization was linked to
8142
+ */
8143
+ connection_id: string;
8144
+ /**
8145
+ * Auto Sync Task Id
8146
+ *
8147
+ * Task id of the initial sync started after connecting, or null when no sync was kicked off
8148
+ */
8149
+ auto_sync_task_id?: string | null;
8150
+ };
8151
+
8046
8152
  /**
8047
8153
  * OAuthInitRequest
8048
8154
  *
@@ -9284,6 +9390,52 @@ export type OperationEnvelopeLedgerEntityResponse = {
9284
9390
  idempotentReplay?: boolean;
9285
9391
  };
9286
9392
 
9393
+ /**
9394
+ * OperationEnvelope[LiveFinancialStatementResponse]
9395
+ */
9396
+ export type OperationEnvelopeLiveFinancialStatementResponse = {
9397
+ /**
9398
+ * Operation
9399
+ *
9400
+ * Kebab-case operation name
9401
+ */
9402
+ operation: string;
9403
+ /**
9404
+ * Operationid
9405
+ *
9406
+ * op_-prefixed ULID for audit and SSE correlation
9407
+ */
9408
+ operationId: string;
9409
+ /**
9410
+ * Status
9411
+ *
9412
+ * Operation lifecycle state
9413
+ */
9414
+ status: 'completed' | 'pending' | 'failed';
9415
+ /**
9416
+ * Command-specific result payload
9417
+ */
9418
+ result?: LiveFinancialStatementResponse | null;
9419
+ /**
9420
+ * At
9421
+ *
9422
+ * ISO-8601 UTC timestamp
9423
+ */
9424
+ at: string;
9425
+ /**
9426
+ * Createdby
9427
+ *
9428
+ * User ID that initiated the operation (null for legacy callers)
9429
+ */
9430
+ createdBy?: string | null;
9431
+ /**
9432
+ * Idempotentreplay
9433
+ *
9434
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
9435
+ */
9436
+ idempotentReplay?: boolean;
9437
+ };
9438
+
9287
9439
  /**
9288
9440
  * OperationEnvelope[PortfolioBlockEnvelope]
9289
9441
  */
@@ -11574,7 +11726,7 @@ export type RenderingRowLite = {
11574
11726
  /**
11575
11727
  * ReopenPeriodOperation
11576
11728
  *
11577
- * Reopen the most recently closed fiscal period.
11729
+ * Reopen a closed fiscal period.
11578
11730
  */
11579
11731
  export type ReopenPeriodOperation = {
11580
11732
  /**
@@ -11592,7 +11744,7 @@ export type ReopenPeriodOperation = {
11592
11744
  /**
11593
11745
  * Period
11594
11746
  *
11595
- * Period to reopen, in YYYY-MM. Must equal current `closed_through` — only the most recent close can be undone.
11747
+ * Period to reopen, in YYYY-MM. Any closed period may be reopened. Reopening the current `closed_through` retreats it by one month; reopening an earlier period leaves `closed_through` where it is (a prior-period adjustment), and its re-close restores the period without moving the pointer.
11596
11748
  */
11597
11749
  period: string;
11598
11750
  };
@@ -17656,9 +17808,11 @@ export type OauthCallbackResponses = {
17656
17808
  /**
17657
17809
  * Successful Response
17658
17810
  */
17659
- 200: unknown;
17811
+ 200: OAuthCallbackResponse;
17660
17812
  };
17661
17813
 
17814
+ export type OauthCallbackResponse = OauthCallbackResponses[keyof OauthCallbackResponses];
17815
+
17662
17816
  export type ListConnectionsData = {
17663
17817
  body?: never;
17664
17818
  path: {
@@ -25371,10 +25525,10 @@ export type LiveFinancialStatementResponses = {
25371
25525
  /**
25372
25526
  * Successful Response
25373
25527
  */
25374
- 200: OperationEnvelope;
25528
+ 200: OperationEnvelopeLiveFinancialStatementResponse;
25375
25529
  };
25376
25530
 
25377
- export type LiveFinancialStatementResponse = LiveFinancialStatementResponses[keyof LiveFinancialStatementResponses];
25531
+ export type LiveFinancialStatementResponse2 = LiveFinancialStatementResponses[keyof LiveFinancialStatementResponses];
25378
25532
 
25379
25533
  export type BuildFactGridData = {
25380
25534
  body: CreateViewRequest;
package/sdk.gen.d.ts CHANGED
@@ -944,7 +944,7 @@ export declare const closePeriod: <ThrowOnError extends boolean = false>(options
944
944
  /**
945
945
  * Reopen Fiscal Period
946
946
  *
947
- * Decrement `closed_through` by one. Only the most recently closed period can be reopened (no reach-back). Retracts the month's canonical statement FactSets (a reopened month is no longer a closed assertion; re-closing restamps them). The required `reason` is captured in the audit log. Use sparingly — reopen invalidates downstream artifacts that trusted the closed state (reports, shared filings).
947
+ * Reopen a closed period for adjustment. Reopening the current `closed_through` decrements it by one; reopening an earlier period is a prior-period adjustment and leaves `closed_through` unchanged — re-closing it restores the period without advancing the pointer. Either way the period's entries become writable again. Retracts the month's canonical statement FactSets (a reopened month is no longer a closed assertion; re-closing restamps them). The required `reason` is captured in the audit log. Use sparingly — reopen invalidates downstream artifacts that trusted the closed state (reports, shared filings).
948
948
  *
949
949
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
950
950
  */
package/sdk.gen.js CHANGED
@@ -1967,7 +1967,7 @@ exports.closePeriod = closePeriod;
1967
1967
  /**
1968
1968
  * Reopen Fiscal Period
1969
1969
  *
1970
- * Decrement `closed_through` by one. Only the most recently closed period can be reopened (no reach-back). Retracts the month's canonical statement FactSets (a reopened month is no longer a closed assertion; re-closing restamps them). The required `reason` is captured in the audit log. Use sparingly — reopen invalidates downstream artifacts that trusted the closed state (reports, shared filings).
1970
+ * Reopen a closed period for adjustment. Reopening the current `closed_through` decrements it by one; reopening an earlier period is a prior-period adjustment and leaves `closed_through` unchanged — re-closing it restores the period without advancing the pointer. Either way the period's entries become writable again. Retracts the month's canonical statement FactSets (a reopened month is no longer a closed assertion; re-closing restamps them). The required `reason` is captured in the audit log. Use sparingly — reopen invalidates downstream artifacts that trusted the closed state (reports, shared filings).
1971
1971
  *
1972
1972
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
1973
1973
  */
package/sdk.gen.ts CHANGED
@@ -1979,7 +1979,7 @@ export const closePeriod = <ThrowOnError extends boolean = false>(options: Optio
1979
1979
  /**
1980
1980
  * Reopen Fiscal Period
1981
1981
  *
1982
- * Decrement `closed_through` by one. Only the most recently closed period can be reopened (no reach-back). Retracts the month's canonical statement FactSets (a reopened month is no longer a closed assertion; re-closing restamps them). The required `reason` is captured in the audit log. Use sparingly — reopen invalidates downstream artifacts that trusted the closed state (reports, shared filings).
1982
+ * Reopen a closed period for adjustment. Reopening the current `closed_through` decrements it by one; reopening an earlier period is a prior-period adjustment and leaves `closed_through` unchanged — re-closing it restores the period without advancing the pointer. Either way the period's entries become writable again. Retracts the month's canonical statement FactSets (a reopened month is no longer a closed assertion; re-closing restamps them). The required `reason` is captured in the audit log. Use sparingly — reopen invalidates downstream artifacts that trusted the closed state (reports, shared filings).
1983
1983
  *
1984
1984
  * **Idempotency**: supply an `Idempotency-Key` header to make safe retries; replays within 24 hours return the same envelope. Reusing the key with a different body returns HTTP 409 Conflict.
1985
1985
  */