@robosystems/client 0.5.12 → 0.6.0

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
@@ -120,6 +120,42 @@ export type AddPublishListMembersOperation = {
120
120
  list_id: string;
121
121
  };
122
122
 
123
+ /**
124
+ * AnalyticalStatementFactRow
125
+ *
126
+ * A single fact row from the graph-backed statement analysis.
127
+ */
128
+ export type AnalyticalStatementFactRow = {
129
+ /**
130
+ * Canonical Concept
131
+ */
132
+ canonical_concept?: string | null;
133
+ /**
134
+ * Qname
135
+ */
136
+ qname: string;
137
+ /**
138
+ * Name
139
+ */
140
+ name: string;
141
+ /**
142
+ * Value
143
+ */
144
+ value?: number | null;
145
+ /**
146
+ * End Date
147
+ */
148
+ end_date?: string | null;
149
+ /**
150
+ * Period Type
151
+ */
152
+ period_type?: string | null;
153
+ /**
154
+ * Duration Type
155
+ */
156
+ duration_type?: string | null;
157
+ };
158
+
123
159
  /**
124
160
  * ArtifactResponse
125
161
  *
@@ -529,7 +565,7 @@ export type BackupCreateRequest = {
529
565
  /**
530
566
  * Retention Days
531
567
  *
532
- * Retention period in days
568
+ * 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
569
  */
534
570
  retention_days?: number;
535
571
  /**
@@ -5147,6 +5183,39 @@ export type FinancialStatementAnalysisRequest = {
5147
5183
  limit?: number;
5148
5184
  };
5149
5185
 
5186
+ /**
5187
+ * FinancialStatementAnalysisResponse
5188
+ *
5189
+ * Results of the financial-statement-analysis view op.
5190
+ */
5191
+ export type FinancialStatementAnalysisResponse = {
5192
+ /**
5193
+ * Graph Id
5194
+ */
5195
+ graph_id: string;
5196
+ /**
5197
+ * Statement Type
5198
+ */
5199
+ statement_type: string;
5200
+ /**
5201
+ * Ticker
5202
+ */
5203
+ ticker?: string | null;
5204
+ /**
5205
+ * Report Id
5206
+ */
5207
+ report_id?: string | null;
5208
+ resolved_report?: ResolvedReportInfo | null;
5209
+ /**
5210
+ * Facts
5211
+ */
5212
+ facts: Array<AnalyticalStatementFactRow>;
5213
+ /**
5214
+ * Fact Count
5215
+ */
5216
+ fact_count: number;
5217
+ };
5218
+
5150
5219
  /**
5151
5220
  * FiscalCalendarResponse
5152
5221
  *
@@ -5626,7 +5695,7 @@ export type GraphLimitsResponse = {
5626
5695
  /**
5627
5696
  * Subscription Tier
5628
5697
  *
5629
- * User's subscription tier
5698
+ * Rate-limit tier enforced for requests to this graph
5630
5699
  */
5631
5700
  subscription_tier: string;
5632
5701
  /**
@@ -6173,7 +6242,7 @@ export type GraphTierInstance = {
6173
6242
  /**
6174
6243
  * Memory Mb
6175
6244
  *
6176
- * Memory allocated to your graph in megabytes
6245
+ * LadybugDB memory budget for the whole instance in megabytes (below physical RAM after OS overhead; not a per-graph allocation)
6177
6246
  */
6178
6247
  memory_mb: number;
6179
6248
  /**
@@ -7649,7 +7718,7 @@ export type ListSubgraphsResponse = {
7649
7718
  /**
7650
7719
  * Subgraphs Enabled
7651
7720
  *
7652
- * Whether subgraphs are enabled for this tier (requires Large/XLarge tier)
7721
+ * Whether subgraphs are enabled for this tier
7653
7722
  */
7654
7723
  subgraphs_enabled: boolean;
7655
7724
  /**
@@ -7758,6 +7827,74 @@ export type LiveFinancialStatementRequest = {
7758
7827
  limit?: number;
7759
7828
  };
7760
7829
 
7830
+ /**
7831
+ * LiveFinancialStatementResponse
7832
+ *
7833
+ * Rendered OLTP-backed ad-hoc statement.
7834
+ */
7835
+ export type LiveFinancialStatementResponse = {
7836
+ /**
7837
+ * Graph Id
7838
+ */
7839
+ graph_id: string;
7840
+ /**
7841
+ * Statement Type
7842
+ */
7843
+ statement_type: string;
7844
+ /**
7845
+ * Periods
7846
+ */
7847
+ periods: Array<PeriodSpec>;
7848
+ /**
7849
+ * Facts
7850
+ */
7851
+ facts: Array<LiveStatementFactRow>;
7852
+ /**
7853
+ * Fact Count
7854
+ */
7855
+ fact_count: number;
7856
+ /**
7857
+ * Unmapped Count
7858
+ */
7859
+ unmapped_count?: number;
7860
+ /**
7861
+ * Truncated
7862
+ */
7863
+ truncated?: boolean;
7864
+ };
7865
+
7866
+ /**
7867
+ * LiveStatementFactRow
7868
+ *
7869
+ * A single row of an OLTP-backed ad-hoc statement.
7870
+ */
7871
+ export type LiveStatementFactRow = {
7872
+ /**
7873
+ * Qname
7874
+ */
7875
+ qname: string;
7876
+ /**
7877
+ * Name
7878
+ */
7879
+ name: string;
7880
+ /**
7881
+ * Trait
7882
+ */
7883
+ trait?: string | null;
7884
+ /**
7885
+ * Values
7886
+ */
7887
+ values: Array<number | null>;
7888
+ /**
7889
+ * Depth
7890
+ */
7891
+ depth?: number;
7892
+ /**
7893
+ * Is Subtotal
7894
+ */
7895
+ is_subtotal?: boolean;
7896
+ };
7897
+
7761
7898
  /**
7762
7899
  * LoginRequest
7763
7900
  *
@@ -8049,6 +8186,38 @@ export type OAuthCallbackRequest = {
8049
8186
  error_description?: string | null;
8050
8187
  };
8051
8188
 
8189
+ /**
8190
+ * OAuthCallbackResponse
8191
+ *
8192
+ * Result of completing an OAuth authorization flow.
8193
+ */
8194
+ export type OAuthCallbackResponse = {
8195
+ /**
8196
+ * Success
8197
+ *
8198
+ * Whether the connection was established
8199
+ */
8200
+ success: boolean;
8201
+ /**
8202
+ * Message
8203
+ *
8204
+ * Human-readable outcome of the exchange
8205
+ */
8206
+ message: string;
8207
+ /**
8208
+ * Connection Id
8209
+ *
8210
+ * Connection the authorization was linked to
8211
+ */
8212
+ connection_id: string;
8213
+ /**
8214
+ * Auto Sync Task Id
8215
+ *
8216
+ * Task id of the initial sync started after connecting, or null when no sync was kicked off
8217
+ */
8218
+ auto_sync_task_id?: string | null;
8219
+ };
8220
+
8052
8221
  /**
8053
8222
  * OAuthInitRequest
8054
8223
  *
@@ -9014,6 +9183,52 @@ export type OperationEnvelopeExecuteEventBlockResponse = {
9014
9183
  idempotentReplay?: boolean;
9015
9184
  };
9016
9185
 
9186
+ /**
9187
+ * OperationEnvelope[FinancialStatementAnalysisResponse]
9188
+ */
9189
+ export type OperationEnvelopeFinancialStatementAnalysisResponse = {
9190
+ /**
9191
+ * Operation
9192
+ *
9193
+ * Kebab-case operation name
9194
+ */
9195
+ operation: string;
9196
+ /**
9197
+ * Operationid
9198
+ *
9199
+ * op_-prefixed ULID for audit and SSE correlation
9200
+ */
9201
+ operationId: string;
9202
+ /**
9203
+ * Status
9204
+ *
9205
+ * Operation lifecycle state
9206
+ */
9207
+ status: 'completed' | 'pending' | 'failed';
9208
+ /**
9209
+ * Command-specific result payload
9210
+ */
9211
+ result?: FinancialStatementAnalysisResponse | null;
9212
+ /**
9213
+ * At
9214
+ *
9215
+ * ISO-8601 UTC timestamp
9216
+ */
9217
+ at: string;
9218
+ /**
9219
+ * Createdby
9220
+ *
9221
+ * User ID that initiated the operation (null for legacy callers)
9222
+ */
9223
+ createdBy?: string | null;
9224
+ /**
9225
+ * Idempotentreplay
9226
+ *
9227
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
9228
+ */
9229
+ idempotentReplay?: boolean;
9230
+ };
9231
+
9017
9232
  /**
9018
9233
  * OperationEnvelope[FiscalCalendarResponse]
9019
9234
  */
@@ -9290,6 +9505,52 @@ export type OperationEnvelopeLedgerEntityResponse = {
9290
9505
  idempotentReplay?: boolean;
9291
9506
  };
9292
9507
 
9508
+ /**
9509
+ * OperationEnvelope[LiveFinancialStatementResponse]
9510
+ */
9511
+ export type OperationEnvelopeLiveFinancialStatementResponse = {
9512
+ /**
9513
+ * Operation
9514
+ *
9515
+ * Kebab-case operation name
9516
+ */
9517
+ operation: string;
9518
+ /**
9519
+ * Operationid
9520
+ *
9521
+ * op_-prefixed ULID for audit and SSE correlation
9522
+ */
9523
+ operationId: string;
9524
+ /**
9525
+ * Status
9526
+ *
9527
+ * Operation lifecycle state
9528
+ */
9529
+ status: 'completed' | 'pending' | 'failed';
9530
+ /**
9531
+ * Command-specific result payload
9532
+ */
9533
+ result?: LiveFinancialStatementResponse | null;
9534
+ /**
9535
+ * At
9536
+ *
9537
+ * ISO-8601 UTC timestamp
9538
+ */
9539
+ at: string;
9540
+ /**
9541
+ * Createdby
9542
+ *
9543
+ * User ID that initiated the operation (null for legacy callers)
9544
+ */
9545
+ createdBy?: string | null;
9546
+ /**
9547
+ * Idempotentreplay
9548
+ *
9549
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
9550
+ */
9551
+ idempotentReplay?: boolean;
9552
+ };
9553
+
9293
9554
  /**
9294
9555
  * OperationEnvelope[PortfolioBlockEnvelope]
9295
9556
  */
@@ -9704,6 +9965,52 @@ export type OperationEnvelopeTaxonomyBlockEnvelope = {
9704
9965
  idempotentReplay?: boolean;
9705
9966
  };
9706
9967
 
9968
+ /**
9969
+ * OperationEnvelope[ViewResponse]
9970
+ */
9971
+ export type OperationEnvelopeViewResponse = {
9972
+ /**
9973
+ * Operation
9974
+ *
9975
+ * Kebab-case operation name
9976
+ */
9977
+ operation: string;
9978
+ /**
9979
+ * Operationid
9980
+ *
9981
+ * op_-prefixed ULID for audit and SSE correlation
9982
+ */
9983
+ operationId: string;
9984
+ /**
9985
+ * Status
9986
+ *
9987
+ * Operation lifecycle state
9988
+ */
9989
+ status: 'completed' | 'pending' | 'failed';
9990
+ /**
9991
+ * Command-specific result payload
9992
+ */
9993
+ result?: ViewResponse | null;
9994
+ /**
9995
+ * At
9996
+ *
9997
+ * ISO-8601 UTC timestamp
9998
+ */
9999
+ at: string;
10000
+ /**
10001
+ * Createdby
10002
+ *
10003
+ * User ID that initiated the operation (null for legacy callers)
10004
+ */
10005
+ createdBy?: string | null;
10006
+ /**
10007
+ * Idempotentreplay
10008
+ *
10009
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
10010
+ */
10011
+ idempotentReplay?: boolean;
10012
+ };
10013
+
9707
10014
  /**
9708
10015
  * OperationEnvelope[list[PublishListMemberResponse]]
9709
10016
  */
@@ -11881,6 +12188,34 @@ export type ResetPasswordValidateResponse = {
11881
12188
  email?: string | null;
11882
12189
  };
11883
12190
 
12191
+ /**
12192
+ * ResolvedReportInfo
12193
+ *
12194
+ * Information about the auto-resolved report.
12195
+ */
12196
+ export type ResolvedReportInfo = {
12197
+ /**
12198
+ * Report Id
12199
+ */
12200
+ report_id: string;
12201
+ /**
12202
+ * Form
12203
+ */
12204
+ form?: string | null;
12205
+ /**
12206
+ * Filing Date
12207
+ */
12208
+ filing_date?: string | null;
12209
+ /**
12210
+ * Fiscal Year
12211
+ */
12212
+ fiscal_year?: number | null;
12213
+ /**
12214
+ * Fiscal Period
12215
+ */
12216
+ fiscal_period?: string | null;
12217
+ };
12218
+
11884
12219
  /**
11885
12220
  * ResponseMode
11886
12221
  *
@@ -15607,6 +15942,48 @@ export type ViewConfig = {
15607
15942
  fill_value?: number;
15608
15943
  };
15609
15944
 
15945
+ /**
15946
+ * ViewMetadata
15947
+ */
15948
+ export type ViewMetadata = {
15949
+ /**
15950
+ * View Id
15951
+ *
15952
+ * Unique view identifier
15953
+ */
15954
+ view_id: string;
15955
+ /**
15956
+ * Facts Processed
15957
+ *
15958
+ * Number of facts processed
15959
+ */
15960
+ facts_processed: number;
15961
+ /**
15962
+ * Construction Time Ms
15963
+ *
15964
+ * Time to build view in milliseconds
15965
+ */
15966
+ construction_time_ms: number;
15967
+ /**
15968
+ * Source
15969
+ *
15970
+ * Data source type
15971
+ */
15972
+ source: string;
15973
+ /**
15974
+ * Period Start
15975
+ *
15976
+ * Period start date
15977
+ */
15978
+ period_start?: string | null;
15979
+ /**
15980
+ * Period End
15981
+ *
15982
+ * Period end date
15983
+ */
15984
+ period_end?: string | null;
15985
+ };
15986
+
15610
15987
  /**
15611
15988
  * ViewProjections
15612
15989
  *
@@ -15632,6 +16009,24 @@ export type ViewProjections = {
15632
16009
  chart?: ChartLite | null;
15633
16010
  };
15634
16011
 
16012
+ /**
16013
+ * ViewResponse
16014
+ */
16015
+ export type ViewResponse = {
16016
+ /**
16017
+ * View metadata
16018
+ */
16019
+ metadata: ViewMetadata;
16020
+ /**
16021
+ * Presentations
16022
+ *
16023
+ * Presentation formats (pivot_table, narrative, etc.)
16024
+ */
16025
+ presentations: {
16026
+ [key: string]: unknown;
16027
+ };
16028
+ };
16029
+
15635
16030
  /**
15636
16031
  * _CreateForecastArm
15637
16032
  *
@@ -17662,9 +18057,11 @@ export type OauthCallbackResponses = {
17662
18057
  /**
17663
18058
  * Successful Response
17664
18059
  */
17665
- 200: unknown;
18060
+ 200: OAuthCallbackResponse;
17666
18061
  };
17667
18062
 
18063
+ export type OauthCallbackResponse = OauthCallbackResponses[keyof OauthCallbackResponses];
18064
+
17668
18065
  export type ListConnectionsData = {
17669
18066
  body?: never;
17670
18067
  path: {
@@ -25377,10 +25774,10 @@ export type LiveFinancialStatementResponses = {
25377
25774
  /**
25378
25775
  * Successful Response
25379
25776
  */
25380
- 200: OperationEnvelope;
25777
+ 200: OperationEnvelopeLiveFinancialStatementResponse;
25381
25778
  };
25382
25779
 
25383
- export type LiveFinancialStatementResponse = LiveFinancialStatementResponses[keyof LiveFinancialStatementResponses];
25780
+ export type LiveFinancialStatementResponse2 = LiveFinancialStatementResponses[keyof LiveFinancialStatementResponses];
25384
25781
 
25385
25782
  export type BuildFactGridData = {
25386
25783
  body: CreateViewRequest;
@@ -25441,7 +25838,7 @@ export type BuildFactGridResponses = {
25441
25838
  /**
25442
25839
  * Successful Response
25443
25840
  */
25444
- 200: OperationEnvelope;
25841
+ 200: OperationEnvelopeViewResponse;
25445
25842
  };
25446
25843
 
25447
25844
  export type BuildFactGridResponse = BuildFactGridResponses[keyof BuildFactGridResponses];
@@ -25505,10 +25902,10 @@ export type FinancialStatementAnalysisResponses = {
25505
25902
  /**
25506
25903
  * Successful Response
25507
25904
  */
25508
- 200: OperationEnvelope;
25905
+ 200: OperationEnvelopeFinancialStatementAnalysisResponse;
25509
25906
  };
25510
25907
 
25511
- export type FinancialStatementAnalysisResponse = FinancialStatementAnalysisResponses[keyof FinancialStatementAnalysisResponses];
25908
+ export type FinancialStatementAnalysisResponse2 = FinancialStatementAnalysisResponses[keyof FinancialStatementAnalysisResponses];
25512
25909
 
25513
25910
  export type CreatePortfolioBlockData = {
25514
25911
  body: CreatePortfolioBlockRequest;