@robosystems/client 0.5.12 → 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.
package/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
  /**
@@ -6173,7 +6173,7 @@ export type GraphTierInstance = {
6173
6173
  /**
6174
6174
  * Memory Mb
6175
6175
  *
6176
- * 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)
6177
6177
  */
6178
6178
  memory_mb: number;
6179
6179
  /**
@@ -7649,7 +7649,7 @@ export type ListSubgraphsResponse = {
7649
7649
  /**
7650
7650
  * Subgraphs Enabled
7651
7651
  *
7652
- * Whether subgraphs are enabled for this tier (requires Large/XLarge tier)
7652
+ * Whether subgraphs are enabled for this tier
7653
7653
  */
7654
7654
  subgraphs_enabled: boolean;
7655
7655
  /**
@@ -7758,6 +7758,74 @@ export type LiveFinancialStatementRequest = {
7758
7758
  limit?: number;
7759
7759
  };
7760
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
+
7761
7829
  /**
7762
7830
  * LoginRequest
7763
7831
  *
@@ -8049,6 +8117,38 @@ export type OAuthCallbackRequest = {
8049
8117
  error_description?: string | null;
8050
8118
  };
8051
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
+
8052
8152
  /**
8053
8153
  * OAuthInitRequest
8054
8154
  *
@@ -9290,6 +9390,52 @@ export type OperationEnvelopeLedgerEntityResponse = {
9290
9390
  idempotentReplay?: boolean;
9291
9391
  };
9292
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
+
9293
9439
  /**
9294
9440
  * OperationEnvelope[PortfolioBlockEnvelope]
9295
9441
  */
@@ -17662,9 +17808,11 @@ export type OauthCallbackResponses = {
17662
17808
  /**
17663
17809
  * Successful Response
17664
17810
  */
17665
- 200: unknown;
17811
+ 200: OAuthCallbackResponse;
17666
17812
  };
17667
17813
 
17814
+ export type OauthCallbackResponse = OauthCallbackResponses[keyof OauthCallbackResponses];
17815
+
17668
17816
  export type ListConnectionsData = {
17669
17817
  body?: never;
17670
17818
  path: {
@@ -25377,10 +25525,10 @@ export type LiveFinancialStatementResponses = {
25377
25525
  /**
25378
25526
  * Successful Response
25379
25527
  */
25380
- 200: OperationEnvelope;
25528
+ 200: OperationEnvelopeLiveFinancialStatementResponse;
25381
25529
  };
25382
25530
 
25383
- export type LiveFinancialStatementResponse = LiveFinancialStatementResponses[keyof LiveFinancialStatementResponses];
25531
+ export type LiveFinancialStatementResponse2 = LiveFinancialStatementResponses[keyof LiveFinancialStatementResponses];
25384
25532
 
25385
25533
  export type BuildFactGridData = {
25386
25534
  body: CreateViewRequest;