@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.
@@ -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
  *
@@ -511,7 +546,7 @@ export type BackupCreateRequest = {
511
546
  /**
512
547
  * Retention Days
513
548
  *
514
- * Retention period in days
549
+ * 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
550
  */
516
551
  retention_days?: number;
517
552
  /**
@@ -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
  *
@@ -5489,7 +5556,7 @@ export type GraphLimitsResponse = {
5489
5556
  /**
5490
5557
  * Subscription Tier
5491
5558
  *
5492
- * User's subscription tier
5559
+ * Rate-limit tier enforced for requests to this graph
5493
5560
  */
5494
5561
  subscription_tier: string;
5495
5562
  /**
@@ -6027,7 +6094,7 @@ export type GraphTierInstance = {
6027
6094
  /**
6028
6095
  * Memory Mb
6029
6096
  *
6030
- * Memory allocated to your graph in megabytes
6097
+ * LadybugDB memory budget for the whole instance in megabytes (below physical RAM after OS overhead; not a per-graph allocation)
6031
6098
  */
6032
6099
  memory_mb: number;
6033
6100
  /**
@@ -7473,7 +7540,7 @@ export type ListSubgraphsResponse = {
7473
7540
  /**
7474
7541
  * Subgraphs Enabled
7475
7542
  *
7476
- * Whether subgraphs are enabled for this tier (requires Large/XLarge tier)
7543
+ * Whether subgraphs are enabled for this tier
7477
7544
  */
7478
7545
  subgraphs_enabled: boolean;
7479
7546
  /**
@@ -7579,6 +7646,72 @@ export type LiveFinancialStatementRequest = {
7579
7646
  */
7580
7647
  limit?: number;
7581
7648
  };
7649
+ /**
7650
+ * LiveFinancialStatementResponse
7651
+ *
7652
+ * Rendered OLTP-backed ad-hoc statement.
7653
+ */
7654
+ export type LiveFinancialStatementResponse = {
7655
+ /**
7656
+ * Graph Id
7657
+ */
7658
+ graph_id: string;
7659
+ /**
7660
+ * Statement Type
7661
+ */
7662
+ statement_type: string;
7663
+ /**
7664
+ * Periods
7665
+ */
7666
+ periods: Array<PeriodSpec>;
7667
+ /**
7668
+ * Facts
7669
+ */
7670
+ facts: Array<LiveStatementFactRow>;
7671
+ /**
7672
+ * Fact Count
7673
+ */
7674
+ fact_count: number;
7675
+ /**
7676
+ * Unmapped Count
7677
+ */
7678
+ unmapped_count?: number;
7679
+ /**
7680
+ * Truncated
7681
+ */
7682
+ truncated?: boolean;
7683
+ };
7684
+ /**
7685
+ * LiveStatementFactRow
7686
+ *
7687
+ * A single row of an OLTP-backed ad-hoc statement.
7688
+ */
7689
+ export type LiveStatementFactRow = {
7690
+ /**
7691
+ * Qname
7692
+ */
7693
+ qname: string;
7694
+ /**
7695
+ * Name
7696
+ */
7697
+ name: string;
7698
+ /**
7699
+ * Trait
7700
+ */
7701
+ trait?: string | null;
7702
+ /**
7703
+ * Values
7704
+ */
7705
+ values: Array<number | null>;
7706
+ /**
7707
+ * Depth
7708
+ */
7709
+ depth?: number;
7710
+ /**
7711
+ * Is Subtotal
7712
+ */
7713
+ is_subtotal?: boolean;
7714
+ };
7582
7715
  /**
7583
7716
  * LoginRequest
7584
7717
  *
@@ -7861,6 +7994,37 @@ export type OAuthCallbackRequest = {
7861
7994
  */
7862
7995
  error_description?: string | null;
7863
7996
  };
7997
+ /**
7998
+ * OAuthCallbackResponse
7999
+ *
8000
+ * Result of completing an OAuth authorization flow.
8001
+ */
8002
+ export type OAuthCallbackResponse = {
8003
+ /**
8004
+ * Success
8005
+ *
8006
+ * Whether the connection was established
8007
+ */
8008
+ success: boolean;
8009
+ /**
8010
+ * Message
8011
+ *
8012
+ * Human-readable outcome of the exchange
8013
+ */
8014
+ message: string;
8015
+ /**
8016
+ * Connection Id
8017
+ *
8018
+ * Connection the authorization was linked to
8019
+ */
8020
+ connection_id: string;
8021
+ /**
8022
+ * Auto Sync Task Id
8023
+ *
8024
+ * Task id of the initial sync started after connecting, or null when no sync was kicked off
8025
+ */
8026
+ auto_sync_task_id?: string | null;
8027
+ };
7864
8028
  /**
7865
8029
  * OAuthInitRequest
7866
8030
  *
@@ -8805,6 +8969,51 @@ export type OperationEnvelopeExecuteEventBlockResponse = {
8805
8969
  */
8806
8970
  idempotentReplay?: boolean;
8807
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
+ };
8808
9017
  /**
8809
9018
  * OperationEnvelope[FiscalCalendarResponse]
8810
9019
  */
@@ -9075,6 +9284,51 @@ export type OperationEnvelopeLedgerEntityResponse = {
9075
9284
  */
9076
9285
  idempotentReplay?: boolean;
9077
9286
  };
9287
+ /**
9288
+ * OperationEnvelope[LiveFinancialStatementResponse]
9289
+ */
9290
+ export type OperationEnvelopeLiveFinancialStatementResponse = {
9291
+ /**
9292
+ * Operation
9293
+ *
9294
+ * Kebab-case operation name
9295
+ */
9296
+ operation: string;
9297
+ /**
9298
+ * Operationid
9299
+ *
9300
+ * op_-prefixed ULID for audit and SSE correlation
9301
+ */
9302
+ operationId: string;
9303
+ /**
9304
+ * Status
9305
+ *
9306
+ * Operation lifecycle state
9307
+ */
9308
+ status: 'completed' | 'pending' | 'failed';
9309
+ /**
9310
+ * Command-specific result payload
9311
+ */
9312
+ result?: LiveFinancialStatementResponse | null;
9313
+ /**
9314
+ * At
9315
+ *
9316
+ * ISO-8601 UTC timestamp
9317
+ */
9318
+ at: string;
9319
+ /**
9320
+ * Createdby
9321
+ *
9322
+ * User ID that initiated the operation (null for legacy callers)
9323
+ */
9324
+ createdBy?: string | null;
9325
+ /**
9326
+ * Idempotentreplay
9327
+ *
9328
+ * True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
9329
+ */
9330
+ idempotentReplay?: boolean;
9331
+ };
9078
9332
  /**
9079
9333
  * OperationEnvelope[PortfolioBlockEnvelope]
9080
9334
  */
@@ -9480,6 +9734,51 @@ export type OperationEnvelopeTaxonomyBlockEnvelope = {
9480
9734
  */
9481
9735
  idempotentReplay?: boolean;
9482
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
+ };
9483
9782
  /**
9484
9783
  * OperationEnvelope[list[PublishListMemberResponse]]
9485
9784
  */
@@ -11599,6 +11898,33 @@ export type ResetPasswordValidateResponse = {
11599
11898
  */
11600
11899
  email?: string | null;
11601
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
+ };
11602
11928
  /**
11603
11929
  * ResponseMode
11604
11930
  *
@@ -15228,6 +15554,47 @@ export type ViewConfig = {
15228
15554
  */
15229
15555
  fill_value?: number;
15230
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
+ };
15231
15598
  /**
15232
15599
  * ViewProjections
15233
15600
  *
@@ -15252,6 +15619,23 @@ export type ViewProjections = {
15252
15619
  rendering?: RenderingLite | null;
15253
15620
  chart?: ChartLite | null;
15254
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
+ };
15255
15639
  /**
15256
15640
  * _CreateForecastArm
15257
15641
  *
@@ -17084,8 +17468,9 @@ export type OauthCallbackResponses = {
17084
17468
  /**
17085
17469
  * Successful Response
17086
17470
  */
17087
- 200: unknown;
17471
+ 200: OAuthCallbackResponse;
17088
17472
  };
17473
+ export type OauthCallbackResponse = OauthCallbackResponses[keyof OauthCallbackResponses];
17089
17474
  export type ListConnectionsData = {
17090
17475
  body?: never;
17091
17476
  path: {
@@ -24175,9 +24560,9 @@ export type LiveFinancialStatementResponses = {
24175
24560
  /**
24176
24561
  * Successful Response
24177
24562
  */
24178
- 200: OperationEnvelope;
24563
+ 200: OperationEnvelopeLiveFinancialStatementResponse;
24179
24564
  };
24180
- export type LiveFinancialStatementResponse = LiveFinancialStatementResponses[keyof LiveFinancialStatementResponses];
24565
+ export type LiveFinancialStatementResponse2 = LiveFinancialStatementResponses[keyof LiveFinancialStatementResponses];
24181
24566
  export type BuildFactGridData = {
24182
24567
  body: CreateViewRequest;
24183
24568
  headers?: {
@@ -24234,7 +24619,7 @@ export type BuildFactGridResponses = {
24234
24619
  /**
24235
24620
  * Successful Response
24236
24621
  */
24237
- 200: OperationEnvelope;
24622
+ 200: OperationEnvelopeViewResponse;
24238
24623
  };
24239
24624
  export type BuildFactGridResponse = BuildFactGridResponses[keyof BuildFactGridResponses];
24240
24625
  export type FinancialStatementAnalysisData = {
@@ -24293,9 +24678,9 @@ export type FinancialStatementAnalysisResponses = {
24293
24678
  /**
24294
24679
  * Successful Response
24295
24680
  */
24296
- 200: OperationEnvelope;
24681
+ 200: OperationEnvelopeFinancialStatementAnalysisResponse;
24297
24682
  };
24298
- export type FinancialStatementAnalysisResponse = FinancialStatementAnalysisResponses[keyof FinancialStatementAnalysisResponses];
24683
+ export type FinancialStatementAnalysisResponse2 = FinancialStatementAnalysisResponses[keyof FinancialStatementAnalysisResponses];
24299
24684
  export type CreatePortfolioBlockData = {
24300
24685
  body: CreatePortfolioBlockRequest;
24301
24686
  headers?: {