@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/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;