@robosystems/client 0.5.13 → 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/sdk/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
  *
@@ -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
  *
@@ -9114,6 +9183,52 @@ export type OperationEnvelopeExecuteEventBlockResponse = {
9114
9183
  idempotentReplay?: boolean;
9115
9184
  };
9116
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
+
9117
9232
  /**
9118
9233
  * OperationEnvelope[FiscalCalendarResponse]
9119
9234
  */
@@ -9850,6 +9965,52 @@ export type OperationEnvelopeTaxonomyBlockEnvelope = {
9850
9965
  idempotentReplay?: boolean;
9851
9966
  };
9852
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
+
9853
10014
  /**
9854
10015
  * OperationEnvelope[list[PublishListMemberResponse]]
9855
10016
  */
@@ -12027,6 +12188,34 @@ export type ResetPasswordValidateResponse = {
12027
12188
  email?: string | null;
12028
12189
  };
12029
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
+
12030
12219
  /**
12031
12220
  * ResponseMode
12032
12221
  *
@@ -15753,6 +15942,48 @@ export type ViewConfig = {
15753
15942
  fill_value?: number;
15754
15943
  };
15755
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
+
15756
15987
  /**
15757
15988
  * ViewProjections
15758
15989
  *
@@ -15778,6 +16009,24 @@ export type ViewProjections = {
15778
16009
  chart?: ChartLite | null;
15779
16010
  };
15780
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
+
15781
16030
  /**
15782
16031
  * _CreateForecastArm
15783
16032
  *
@@ -25589,7 +25838,7 @@ export type BuildFactGridResponses = {
25589
25838
  /**
25590
25839
  * Successful Response
25591
25840
  */
25592
- 200: OperationEnvelope;
25841
+ 200: OperationEnvelopeViewResponse;
25593
25842
  };
25594
25843
 
25595
25844
  export type BuildFactGridResponse = BuildFactGridResponses[keyof BuildFactGridResponses];
@@ -25653,10 +25902,10 @@ export type FinancialStatementAnalysisResponses = {
25653
25902
  /**
25654
25903
  * Successful Response
25655
25904
  */
25656
- 200: OperationEnvelope;
25905
+ 200: OperationEnvelopeFinancialStatementAnalysisResponse;
25657
25906
  };
25658
25907
 
25659
- export type FinancialStatementAnalysisResponse = FinancialStatementAnalysisResponses[keyof FinancialStatementAnalysisResponses];
25908
+ export type FinancialStatementAnalysisResponse2 = FinancialStatementAnalysisResponses[keyof FinancialStatementAnalysisResponses];
25660
25909
 
25661
25910
  export type CreatePortfolioBlockData = {
25662
25911
  body: CreatePortfolioBlockRequest;
package/types.gen.d.ts CHANGED
@@ -113,6 +113,41 @@ export type AddPublishListMembersOperation = {
113
113
  */
114
114
  list_id: string;
115
115
  };
116
+ /**
117
+ * AnalyticalStatementFactRow
118
+ *
119
+ * A single fact row from the graph-backed statement analysis.
120
+ */
121
+ export type AnalyticalStatementFactRow = {
122
+ /**
123
+ * Canonical Concept
124
+ */
125
+ canonical_concept?: string | null;
126
+ /**
127
+ * Qname
128
+ */
129
+ qname: string;
130
+ /**
131
+ * Name
132
+ */
133
+ name: string;
134
+ /**
135
+ * Value
136
+ */
137
+ value?: number | null;
138
+ /**
139
+ * End Date
140
+ */
141
+ end_date?: string | null;
142
+ /**
143
+ * Period Type
144
+ */
145
+ period_type?: string | null;
146
+ /**
147
+ * Duration Type
148
+ */
149
+ duration_type?: string | null;
150
+ };
116
151
  /**
117
152
  * ArtifactResponse
118
153
  *
@@ -5019,6 +5054,38 @@ export type FinancialStatementAnalysisRequest = {
5019
5054
  */
5020
5055
  limit?: number;
5021
5056
  };
5057
+ /**
5058
+ * FinancialStatementAnalysisResponse
5059
+ *
5060
+ * Results of the financial-statement-analysis view op.
5061
+ */
5062
+ export type FinancialStatementAnalysisResponse = {
5063
+ /**
5064
+ * Graph Id
5065
+ */
5066
+ graph_id: string;
5067
+ /**
5068
+ * Statement Type
5069
+ */
5070
+ statement_type: string;
5071
+ /**
5072
+ * Ticker
5073
+ */
5074
+ ticker?: string | null;
5075
+ /**
5076
+ * Report Id
5077
+ */
5078
+ report_id?: string | null;
5079
+ resolved_report?: ResolvedReportInfo | null;
5080
+ /**
5081
+ * Facts
5082
+ */
5083
+ facts: Array<AnalyticalStatementFactRow>;
5084
+ /**
5085
+ * Fact Count
5086
+ */
5087
+ fact_count: number;
5088
+ };
5022
5089
  /**
5023
5090
  * FiscalCalendarResponse
5024
5091
  *
@@ -8902,6 +8969,51 @@ export type OperationEnvelopeExecuteEventBlockResponse = {
8902
8969
  */
8903
8970
  idempotentReplay?: boolean;
8904
8971
  };
8972
+ /**
8973
+ * OperationEnvelope[FinancialStatementAnalysisResponse]
8974
+ */
8975
+ export type OperationEnvelopeFinancialStatementAnalysisResponse = {
8976
+ /**
8977
+ * Operation
8978
+ *
8979
+ * Kebab-case operation name
8980
+ */
8981
+ operation: string;
8982
+ /**
8983
+ * Operationid
8984
+ *
8985
+ * op_-prefixed ULID for audit and SSE correlation
8986
+ */
8987
+ operationId: string;
8988
+ /**
8989
+ * Status
8990
+ *
8991
+ * Operation lifecycle state
8992
+ */
8993
+ status: 'completed' | 'pending' | 'failed';
8994
+ /**
8995
+ * Command-specific result payload
8996
+ */
8997
+ result?: FinancialStatementAnalysisResponse | null;
8998
+ /**
8999
+ * At
9000
+ *
9001
+ * ISO-8601 UTC timestamp
9002
+ */
9003
+ at: string;
9004
+ /**
9005
+ * Createdby
9006
+ *
9007
+ * User ID that initiated the operation (null for legacy callers)
9008
+ */
9009
+ createdBy?: string | null;
9010
+ /**
9011
+ * Idempotentreplay
9012
+ *
9013
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
9014
+ */
9015
+ idempotentReplay?: boolean;
9016
+ };
8905
9017
  /**
8906
9018
  * OperationEnvelope[FiscalCalendarResponse]
8907
9019
  */
@@ -9622,6 +9734,51 @@ export type OperationEnvelopeTaxonomyBlockEnvelope = {
9622
9734
  */
9623
9735
  idempotentReplay?: boolean;
9624
9736
  };
9737
+ /**
9738
+ * OperationEnvelope[ViewResponse]
9739
+ */
9740
+ export type OperationEnvelopeViewResponse = {
9741
+ /**
9742
+ * Operation
9743
+ *
9744
+ * Kebab-case operation name
9745
+ */
9746
+ operation: string;
9747
+ /**
9748
+ * Operationid
9749
+ *
9750
+ * op_-prefixed ULID for audit and SSE correlation
9751
+ */
9752
+ operationId: string;
9753
+ /**
9754
+ * Status
9755
+ *
9756
+ * Operation lifecycle state
9757
+ */
9758
+ status: 'completed' | 'pending' | 'failed';
9759
+ /**
9760
+ * Command-specific result payload
9761
+ */
9762
+ result?: ViewResponse | null;
9763
+ /**
9764
+ * At
9765
+ *
9766
+ * ISO-8601 UTC timestamp
9767
+ */
9768
+ at: string;
9769
+ /**
9770
+ * Createdby
9771
+ *
9772
+ * User ID that initiated the operation (null for legacy callers)
9773
+ */
9774
+ createdBy?: string | null;
9775
+ /**
9776
+ * Idempotentreplay
9777
+ *
9778
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
9779
+ */
9780
+ idempotentReplay?: boolean;
9781
+ };
9625
9782
  /**
9626
9783
  * OperationEnvelope[list[PublishListMemberResponse]]
9627
9784
  */
@@ -11741,6 +11898,33 @@ export type ResetPasswordValidateResponse = {
11741
11898
  */
11742
11899
  email?: string | null;
11743
11900
  };
11901
+ /**
11902
+ * ResolvedReportInfo
11903
+ *
11904
+ * Information about the auto-resolved report.
11905
+ */
11906
+ export type ResolvedReportInfo = {
11907
+ /**
11908
+ * Report Id
11909
+ */
11910
+ report_id: string;
11911
+ /**
11912
+ * Form
11913
+ */
11914
+ form?: string | null;
11915
+ /**
11916
+ * Filing Date
11917
+ */
11918
+ filing_date?: string | null;
11919
+ /**
11920
+ * Fiscal Year
11921
+ */
11922
+ fiscal_year?: number | null;
11923
+ /**
11924
+ * Fiscal Period
11925
+ */
11926
+ fiscal_period?: string | null;
11927
+ };
11744
11928
  /**
11745
11929
  * ResponseMode
11746
11930
  *
@@ -15370,6 +15554,47 @@ export type ViewConfig = {
15370
15554
  */
15371
15555
  fill_value?: number;
15372
15556
  };
15557
+ /**
15558
+ * ViewMetadata
15559
+ */
15560
+ export type ViewMetadata = {
15561
+ /**
15562
+ * View Id
15563
+ *
15564
+ * Unique view identifier
15565
+ */
15566
+ view_id: string;
15567
+ /**
15568
+ * Facts Processed
15569
+ *
15570
+ * Number of facts processed
15571
+ */
15572
+ facts_processed: number;
15573
+ /**
15574
+ * Construction Time Ms
15575
+ *
15576
+ * Time to build view in milliseconds
15577
+ */
15578
+ construction_time_ms: number;
15579
+ /**
15580
+ * Source
15581
+ *
15582
+ * Data source type
15583
+ */
15584
+ source: string;
15585
+ /**
15586
+ * Period Start
15587
+ *
15588
+ * Period start date
15589
+ */
15590
+ period_start?: string | null;
15591
+ /**
15592
+ * Period End
15593
+ *
15594
+ * Period end date
15595
+ */
15596
+ period_end?: string | null;
15597
+ };
15373
15598
  /**
15374
15599
  * ViewProjections
15375
15600
  *
@@ -15394,6 +15619,23 @@ export type ViewProjections = {
15394
15619
  rendering?: RenderingLite | null;
15395
15620
  chart?: ChartLite | null;
15396
15621
  };
15622
+ /**
15623
+ * ViewResponse
15624
+ */
15625
+ export type ViewResponse = {
15626
+ /**
15627
+ * View metadata
15628
+ */
15629
+ metadata: ViewMetadata;
15630
+ /**
15631
+ * Presentations
15632
+ *
15633
+ * Presentation formats (pivot_table, narrative, etc.)
15634
+ */
15635
+ presentations: {
15636
+ [key: string]: unknown;
15637
+ };
15638
+ };
15397
15639
  /**
15398
15640
  * _CreateForecastArm
15399
15641
  *
@@ -24377,7 +24619,7 @@ export type BuildFactGridResponses = {
24377
24619
  /**
24378
24620
  * Successful Response
24379
24621
  */
24380
- 200: OperationEnvelope;
24622
+ 200: OperationEnvelopeViewResponse;
24381
24623
  };
24382
24624
  export type BuildFactGridResponse = BuildFactGridResponses[keyof BuildFactGridResponses];
24383
24625
  export type FinancialStatementAnalysisData = {
@@ -24436,9 +24678,9 @@ export type FinancialStatementAnalysisResponses = {
24436
24678
  /**
24437
24679
  * Successful Response
24438
24680
  */
24439
- 200: OperationEnvelope;
24681
+ 200: OperationEnvelopeFinancialStatementAnalysisResponse;
24440
24682
  };
24441
- export type FinancialStatementAnalysisResponse = FinancialStatementAnalysisResponses[keyof FinancialStatementAnalysisResponses];
24683
+ export type FinancialStatementAnalysisResponse2 = FinancialStatementAnalysisResponses[keyof FinancialStatementAnalysisResponses];
24442
24684
  export type CreatePortfolioBlockData = {
24443
24685
  body: CreatePortfolioBlockRequest;
24444
24686
  headers?: {