@robosystems/client 0.2.29 → 0.2.30

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.d.ts CHANGED
@@ -916,7 +916,7 @@ export type CheckoutStatusResponse = {
916
916
  /**
917
917
  * Status
918
918
  *
919
- * Checkout status: 'pending_payment', 'provisioning', 'completed', 'failed'
919
+ * Checkout status: 'pending_payment', 'provisioning', 'active', 'failed', 'canceled'
920
920
  */
921
921
  status: string;
922
922
  /**
@@ -944,161 +944,6 @@ export type CheckoutStatusResponse = {
944
944
  */
945
945
  error?: string | null;
946
946
  };
947
- /**
948
- * ConnectionOptionsResponse
949
- *
950
- * Response with all available connection options.
951
- */
952
- export type ConnectionOptionsResponse = {
953
- /**
954
- * Providers
955
- *
956
- * Available connection providers
957
- */
958
- providers: Array<ConnectionProviderInfo>;
959
- /**
960
- * Total Providers
961
- *
962
- * Total number of providers
963
- */
964
- total_providers: number;
965
- };
966
- /**
967
- * ConnectionProviderInfo
968
- *
969
- * Information about a connection provider.
970
- */
971
- export type ConnectionProviderInfo = {
972
- /**
973
- * Provider
974
- *
975
- * Provider identifier
976
- */
977
- provider: 'sec' | 'quickbooks' | 'plaid';
978
- /**
979
- * Display Name
980
- *
981
- * Human-readable provider name
982
- */
983
- display_name: string;
984
- /**
985
- * Description
986
- *
987
- * Provider description
988
- */
989
- description: string;
990
- /**
991
- * Auth Type
992
- *
993
- * Authentication type
994
- */
995
- auth_type: 'none' | 'oauth' | 'link' | 'api_key';
996
- /**
997
- * Auth Flow
998
- *
999
- * Description of authentication flow
1000
- */
1001
- auth_flow?: string | null;
1002
- /**
1003
- * Required Config
1004
- *
1005
- * Required configuration fields
1006
- */
1007
- required_config: Array<string>;
1008
- /**
1009
- * Optional Config
1010
- *
1011
- * Optional configuration fields
1012
- */
1013
- optional_config?: Array<string>;
1014
- /**
1015
- * Features
1016
- *
1017
- * Supported features
1018
- */
1019
- features: Array<string>;
1020
- /**
1021
- * Sync Frequency
1022
- *
1023
- * Typical sync frequency
1024
- */
1025
- sync_frequency?: string | null;
1026
- /**
1027
- * Data Types
1028
- *
1029
- * Types of data available
1030
- */
1031
- data_types: Array<string>;
1032
- /**
1033
- * Setup Instructions
1034
- *
1035
- * Setup instructions
1036
- */
1037
- setup_instructions?: string | null;
1038
- /**
1039
- * Documentation Url
1040
- *
1041
- * Link to documentation
1042
- */
1043
- documentation_url?: string | null;
1044
- };
1045
- /**
1046
- * ConnectionResponse
1047
- *
1048
- * Connection response model.
1049
- */
1050
- export type ConnectionResponse = {
1051
- /**
1052
- * Connection Id
1053
- *
1054
- * Unique connection identifier
1055
- */
1056
- connection_id: string;
1057
- /**
1058
- * Provider
1059
- *
1060
- * Connection provider type
1061
- */
1062
- provider: 'sec' | 'quickbooks' | 'plaid';
1063
- /**
1064
- * Entity Id
1065
- *
1066
- * Entity identifier
1067
- */
1068
- entity_id: string;
1069
- /**
1070
- * Status
1071
- *
1072
- * Connection status
1073
- */
1074
- status: string;
1075
- /**
1076
- * Created At
1077
- *
1078
- * Creation timestamp
1079
- */
1080
- created_at: string;
1081
- /**
1082
- * Updated At
1083
- *
1084
- * Last update timestamp
1085
- */
1086
- updated_at?: string | null;
1087
- /**
1088
- * Last Sync
1089
- *
1090
- * Last sync timestamp
1091
- */
1092
- last_sync?: string | null;
1093
- /**
1094
- * Metadata
1095
- *
1096
- * Provider-specific metadata
1097
- */
1098
- metadata: {
1099
- [key: string]: unknown;
1100
- };
1101
- };
1102
947
  /**
1103
948
  * ContentLimits
1104
949
  *
@@ -1266,28 +1111,6 @@ export type CreateCheckoutRequest = {
1266
1111
  [key: string]: unknown;
1267
1112
  };
1268
1113
  };
1269
- /**
1270
- * CreateConnectionRequest
1271
- *
1272
- * Request to create a new connection.
1273
- */
1274
- export type CreateConnectionRequest = {
1275
- /**
1276
- * Provider
1277
- *
1278
- * Connection provider type
1279
- */
1280
- provider: 'sec' | 'quickbooks' | 'plaid';
1281
- /**
1282
- * Entity Id
1283
- *
1284
- * Entity identifier
1285
- */
1286
- entity_id: string;
1287
- sec_config?: SecConnectionConfig | null;
1288
- quickbooks_config?: QuickBooksConnectionConfig | null;
1289
- plaid_config?: PlaidConnectionConfig | null;
1290
- };
1291
1114
  /**
1292
1115
  * CreateGraphRequest
1293
1116
  *
@@ -1403,37 +1226,6 @@ export type CreateSubgraphRequest = {
1403
1226
  */
1404
1227
  fork_parent?: boolean;
1405
1228
  };
1406
- /**
1407
- * CreateViewRequest
1408
- */
1409
- export type CreateViewRequest = {
1410
- /**
1411
- * Name
1412
- *
1413
- * Optional name for the view
1414
- */
1415
- name?: string | null;
1416
- /**
1417
- * Data source configuration
1418
- */
1419
- source: ViewSource;
1420
- /**
1421
- * View configuration
1422
- */
1423
- view_config?: ViewConfig;
1424
- /**
1425
- * Presentation Formats
1426
- *
1427
- * Presentation formats to generate
1428
- */
1429
- presentation_formats?: Array<string>;
1430
- /**
1431
- * Mapping Structure Id
1432
- *
1433
- * Optional mapping structure ID to aggregate Chart of Accounts elements into reporting taxonomy elements
1434
- */
1435
- mapping_structure_id?: string | null;
1436
- };
1437
1229
  /**
1438
1230
  * CreditLimits
1439
1231
  *
@@ -2077,66 +1869,6 @@ export type ErrorResponse = {
2077
1869
  */
2078
1870
  timestamp?: string | null;
2079
1871
  };
2080
- /**
2081
- * ExchangeTokenRequest
2082
- *
2083
- * Exchange temporary token for permanent credentials.
2084
- */
2085
- export type ExchangeTokenRequest = {
2086
- /**
2087
- * Connection Id
2088
- *
2089
- * Connection ID to update
2090
- */
2091
- connection_id: string;
2092
- /**
2093
- * Public Token
2094
- *
2095
- * Temporary token from embedded auth
2096
- */
2097
- public_token: string;
2098
- /**
2099
- * Metadata
2100
- *
2101
- * Provider-specific metadata
2102
- */
2103
- metadata?: {
2104
- [key: string]: unknown;
2105
- } | null;
2106
- };
2107
- /**
2108
- * FactDetail
2109
- */
2110
- export type FactDetail = {
2111
- /**
2112
- * Fact Id
2113
- */
2114
- fact_id: string;
2115
- /**
2116
- * Element Uri
2117
- */
2118
- element_uri: string;
2119
- /**
2120
- * Element Name
2121
- */
2122
- element_name: string;
2123
- /**
2124
- * Numeric Value
2125
- */
2126
- numeric_value: number;
2127
- /**
2128
- * Unit
2129
- */
2130
- unit: string;
2131
- /**
2132
- * Period Start
2133
- */
2134
- period_start: string;
2135
- /**
2136
- * Period End
2137
- */
2138
- period_end: string;
2139
- };
2140
1872
  /**
2141
1873
  * FileInfo
2142
1874
  */
@@ -2668,6 +2400,12 @@ export type GraphSubscriptionResponse = {
2668
2400
  * Current plan name
2669
2401
  */
2670
2402
  plan_name: string;
2403
+ /**
2404
+ * Plan Display Name
2405
+ *
2406
+ * Human-readable plan name for UI display
2407
+ */
2408
+ plan_display_name: string;
2671
2409
  /**
2672
2410
  * Billing Interval
2673
2411
  *
@@ -2762,12 +2500,6 @@ export type GraphSubscriptionTier = {
2762
2500
  * Monthly AI credits per graph
2763
2501
  */
2764
2502
  monthly_credits_per_graph: number;
2765
- /**
2766
- * Storage Included
2767
- *
2768
- * Whether storage is included in the tier
2769
- */
2770
- storage_included?: boolean;
2771
2503
  /**
2772
2504
  * Infrastructure
2773
2505
  *
@@ -2851,10 +2583,6 @@ export type GraphSubscriptions = {
2851
2583
  * Available infrastructure tiers
2852
2584
  */
2853
2585
  tiers: Array<GraphSubscriptionTier>;
2854
- /**
2855
- * Storage information
2856
- */
2857
- storage: StorageInfo;
2858
2586
  /**
2859
2587
  * Notes
2860
2588
  *
@@ -2972,12 +2700,6 @@ export type GraphTierInfo = {
2972
2700
  * Maximum subgraphs allowed
2973
2701
  */
2974
2702
  max_subgraphs: number | null;
2975
- /**
2976
- * Storage Limit Gb
2977
- *
2978
- * Storage limit in GB
2979
- */
2980
- storage_limit_gb: number;
2981
2703
  /**
2982
2704
  * Monthly Credits
2983
2705
  *
@@ -3042,12 +2764,6 @@ export type GraphTierInstance = {
3042
2764
  * Resource limits for a tier.
3043
2765
  */
3044
2766
  export type GraphTierLimits = {
3045
- /**
3046
- * Storage Gb
3047
- *
3048
- * Storage limit in GB
3049
- */
3050
- storage_gb: number;
3051
2767
  /**
3052
2768
  * Monthly Credits
3053
2769
  *
@@ -3373,45 +3089,6 @@ export type InvoicesResponse = {
3373
3089
  */
3374
3090
  has_more: boolean;
3375
3091
  };
3376
- /**
3377
- * LinkTokenRequest
3378
- *
3379
- * Request to create a link token for embedded authentication.
3380
- */
3381
- export type LinkTokenRequest = {
3382
- /**
3383
- * Entity Id
3384
- *
3385
- * Entity identifier
3386
- */
3387
- entity_id: string;
3388
- /**
3389
- * User Id
3390
- *
3391
- * User identifier
3392
- */
3393
- user_id: string;
3394
- /**
3395
- * Provider
3396
- *
3397
- * Provider type (defaults based on connection)
3398
- */
3399
- provider?: 'sec' | 'quickbooks' | 'plaid' | null;
3400
- /**
3401
- * Products
3402
- *
3403
- * Data products to request (provider-specific)
3404
- */
3405
- products?: Array<string> | null;
3406
- /**
3407
- * Options
3408
- *
3409
- * Provider-specific options
3410
- */
3411
- options?: {
3412
- [key: string]: unknown;
3413
- } | null;
3414
- };
3415
3092
  /**
3416
3093
  * ListSubgraphsResponse
3417
3094
  *
@@ -3678,95 +3355,6 @@ export type MaterializeStatusResponse = {
3678
3355
  */
3679
3356
  message: string;
3680
3357
  };
3681
- /**
3682
- * OAuthCallbackRequest
3683
- *
3684
- * OAuth callback parameters.
3685
- */
3686
- export type OAuthCallbackRequest = {
3687
- /**
3688
- * Code
3689
- *
3690
- * Authorization code from OAuth provider
3691
- */
3692
- code: string;
3693
- /**
3694
- * State
3695
- *
3696
- * OAuth state for verification
3697
- */
3698
- state: string;
3699
- /**
3700
- * Realm Id
3701
- *
3702
- * QuickBooks-specific realm ID
3703
- */
3704
- realm_id?: string | null;
3705
- /**
3706
- * Error
3707
- *
3708
- * OAuth error if authorization failed
3709
- */
3710
- error?: string | null;
3711
- /**
3712
- * Error Description
3713
- *
3714
- * OAuth error details
3715
- */
3716
- error_description?: string | null;
3717
- };
3718
- /**
3719
- * OAuthInitRequest
3720
- *
3721
- * Request to initiate OAuth flow.
3722
- */
3723
- export type OAuthInitRequest = {
3724
- /**
3725
- * Connection Id
3726
- *
3727
- * Connection ID to link OAuth to
3728
- */
3729
- connection_id: string;
3730
- /**
3731
- * Redirect Uri
3732
- *
3733
- * Override default redirect URI
3734
- */
3735
- redirect_uri?: string | null;
3736
- /**
3737
- * Additional Params
3738
- *
3739
- * Provider-specific parameters
3740
- */
3741
- additional_params?: {
3742
- [key: string]: string;
3743
- } | null;
3744
- };
3745
- /**
3746
- * OAuthInitResponse
3747
- *
3748
- * Response with OAuth authorization URL.
3749
- */
3750
- export type OAuthInitResponse = {
3751
- /**
3752
- * Auth Url
3753
- *
3754
- * URL to redirect user for authorization
3755
- */
3756
- auth_url: string;
3757
- /**
3758
- * State
3759
- *
3760
- * OAuth state for security
3761
- */
3762
- state: string;
3763
- /**
3764
- * Expires At
3765
- *
3766
- * When this OAuth request expires
3767
- */
3768
- expires_at: string;
3769
- };
3770
3358
  /**
3771
3359
  * OfferingRepositoryPlan
3772
3360
  *
@@ -4291,50 +3879,9 @@ export type PerformanceInsights = {
4291
3879
  performance_score: number;
4292
3880
  };
4293
3881
  /**
4294
- * PlaidConnectionConfig
3882
+ * PortalSessionResponse
4295
3883
  *
4296
- * Plaid-specific connection configuration.
4297
- */
4298
- export type PlaidConnectionConfig = {
4299
- /**
4300
- * Public Token
4301
- *
4302
- * Plaid public token for exchange
4303
- */
4304
- public_token?: string | null;
4305
- /**
4306
- * Access Token
4307
- *
4308
- * Plaid access token (set after exchange)
4309
- */
4310
- access_token?: string | null;
4311
- /**
4312
- * Item Id
4313
- *
4314
- * Plaid item ID
4315
- */
4316
- item_id?: string | null;
4317
- /**
4318
- * Institution
4319
- *
4320
- * Institution information
4321
- */
4322
- institution?: {
4323
- [key: string]: unknown;
4324
- } | null;
4325
- /**
4326
- * Accounts
4327
- *
4328
- * Connected accounts
4329
- */
4330
- accounts?: Array<{
4331
- [key: string]: unknown;
4332
- }> | null;
4333
- };
4334
- /**
4335
- * PortalSessionResponse
4336
- *
4337
- * Response for customer portal session creation.
3884
+ * Response for customer portal session creation.
4338
3885
  */
4339
3886
  export type PortalSessionResponse = {
4340
3887
  /**
@@ -4375,25 +3922,6 @@ export type QueryLimits = {
4375
3922
  */
4376
3923
  concurrent_queries: number;
4377
3924
  };
4378
- /**
4379
- * QuickBooksConnectionConfig
4380
- *
4381
- * QuickBooks-specific connection configuration.
4382
- */
4383
- export type QuickBooksConnectionConfig = {
4384
- /**
4385
- * Realm Id
4386
- *
4387
- * QuickBooks Realm ID
4388
- */
4389
- realm_id?: string | null;
4390
- /**
4391
- * Refresh Token
4392
- *
4393
- * OAuth refresh token
4394
- */
4395
- refresh_token?: string | null;
4396
- };
4397
3925
  /**
4398
3926
  * RateLimits
4399
3927
  *
@@ -4571,25 +4099,6 @@ export type ResetPasswordValidateResponse = {
4571
4099
  * Response modes for execution.
4572
4100
  */
4573
4101
  export type ResponseMode = 'auto' | 'sync' | 'async' | 'stream';
4574
- /**
4575
- * SECConnectionConfig
4576
- *
4577
- * SEC-specific connection configuration.
4578
- */
4579
- export type SecConnectionConfig = {
4580
- /**
4581
- * Cik
4582
- *
4583
- * 10-digit CIK number
4584
- */
4585
- cik: string;
4586
- /**
4587
- * Entity Name
4588
- *
4589
- * Entity name from SEC
4590
- */
4591
- entity_name?: string | null;
4592
- };
4593
4102
  /**
4594
4103
  * SSOCompleteRequest
4595
4104
  *
@@ -4678,114 +4187,6 @@ export type SsoTokenResponse = {
4678
4187
  */
4679
4188
  apps: Array<string>;
4680
4189
  };
4681
- /**
4682
- * SaveViewRequest
4683
- */
4684
- export type SaveViewRequest = {
4685
- /**
4686
- * Report Id
4687
- *
4688
- * Existing report ID to update (if provided, deletes existing facts/structures and creates new ones)
4689
- */
4690
- report_id?: string | null;
4691
- /**
4692
- * Report Type
4693
- *
4694
- * Type of report (e.g., 'Annual Report', 'Quarterly Report', '10-K')
4695
- */
4696
- report_type: string;
4697
- /**
4698
- * Period Start
4699
- *
4700
- * Period start date (YYYY-MM-DD)
4701
- */
4702
- period_start: string;
4703
- /**
4704
- * Period End
4705
- *
4706
- * Period end date (YYYY-MM-DD)
4707
- */
4708
- period_end: string;
4709
- /**
4710
- * Entity Id
4711
- *
4712
- * Entity identifier (defaults to primary entity)
4713
- */
4714
- entity_id?: string | null;
4715
- /**
4716
- * Include Presentation
4717
- *
4718
- * Create presentation structures
4719
- */
4720
- include_presentation?: boolean;
4721
- /**
4722
- * Include Calculation
4723
- *
4724
- * Create calculation structures
4725
- */
4726
- include_calculation?: boolean;
4727
- };
4728
- /**
4729
- * SaveViewResponse
4730
- */
4731
- export type SaveViewResponse = {
4732
- /**
4733
- * Report Id
4734
- *
4735
- * Unique report identifier (used as parquet export prefix)
4736
- */
4737
- report_id: string;
4738
- /**
4739
- * Report Type
4740
- */
4741
- report_type: string;
4742
- /**
4743
- * Entity Id
4744
- */
4745
- entity_id: string;
4746
- /**
4747
- * Entity Name
4748
- */
4749
- entity_name: string;
4750
- /**
4751
- * Period Start
4752
- */
4753
- period_start: string;
4754
- /**
4755
- * Period End
4756
- */
4757
- period_end: string;
4758
- /**
4759
- * Fact Count
4760
- */
4761
- fact_count: number;
4762
- /**
4763
- * Presentation Count
4764
- */
4765
- presentation_count: number;
4766
- /**
4767
- * Calculation Count
4768
- */
4769
- calculation_count: number;
4770
- /**
4771
- * Facts
4772
- */
4773
- facts: Array<FactDetail>;
4774
- /**
4775
- * Structures
4776
- */
4777
- structures: Array<StructureDetail>;
4778
- /**
4779
- * Created At
4780
- */
4781
- created_at: string;
4782
- /**
4783
- * Parquet Export Prefix
4784
- *
4785
- * Prefix for parquet file exports
4786
- */
4787
- parquet_export_prefix: string;
4788
- };
4789
4190
  /**
4790
4191
  * SchemaExportResponse
4791
4192
  *
@@ -5020,19 +4421,6 @@ export type ServiceOfferingsResponse = {
5020
4421
  */
5021
4422
  summary: ServiceOfferingSummary;
5022
4423
  };
5023
- /**
5024
- * StorageInfo
5025
- *
5026
- * Storage information.
5027
- */
5028
- export type StorageInfo = {
5029
- /**
5030
- * Description
5031
- *
5032
- * Storage billing description
5033
- */
5034
- description?: string;
5035
- };
5036
4424
  /**
5037
4425
  * StorageLimitResponse
5038
4426
  *
@@ -5144,27 +4532,6 @@ export type StorageSummary = {
5144
4532
  */
5145
4533
  measurement_count: number;
5146
4534
  };
5147
- /**
5148
- * StructureDetail
5149
- */
5150
- export type StructureDetail = {
5151
- /**
5152
- * Structure Id
5153
- */
5154
- structure_id: string;
5155
- /**
5156
- * Structure Type
5157
- */
5158
- structure_type: string;
5159
- /**
5160
- * Name
5161
- */
5162
- name: string;
5163
- /**
5164
- * Element Count
5165
- */
5166
- element_count: number;
5167
- };
5168
4535
  /**
5169
4536
  * SubgraphQuotaResponse
5170
4537
  *
@@ -5397,27 +4764,6 @@ export type SuccessResponse = {
5397
4764
  [key: string]: unknown;
5398
4765
  } | null;
5399
4766
  };
5400
- /**
5401
- * SyncConnectionRequest
5402
- *
5403
- * Request to sync a connection.
5404
- */
5405
- export type SyncConnectionRequest = {
5406
- /**
5407
- * Full Sync
5408
- *
5409
- * Perform full sync vs incremental
5410
- */
5411
- full_sync?: boolean;
5412
- /**
5413
- * Sync Options
5414
- *
5415
- * Provider-specific sync options
5416
- */
5417
- sync_options?: {
5418
- [key: string]: unknown;
5419
- } | null;
5420
- };
5421
4767
  /**
5422
4768
  * TableInfo
5423
4769
  */
@@ -5782,135 +5128,6 @@ export type ValidationError = {
5782
5128
  [key: string]: unknown;
5783
5129
  };
5784
5130
  };
5785
- /**
5786
- * ViewAxisConfig
5787
- */
5788
- export type ViewAxisConfig = {
5789
- /**
5790
- * Type
5791
- *
5792
- * Axis type: 'element', 'period', 'dimension', 'entity'
5793
- */
5794
- type: string;
5795
- /**
5796
- * Dimension Axis
5797
- *
5798
- * Dimension axis name for dimension-type axes
5799
- */
5800
- dimension_axis?: string | null;
5801
- /**
5802
- * Include Null Dimension
5803
- *
5804
- * Include facts where this dimension is NULL (default: false)
5805
- */
5806
- include_null_dimension?: boolean;
5807
- /**
5808
- * Selected Members
5809
- *
5810
- * Specific members to include (e.g., ['2024-12-31', '2023-12-31'])
5811
- */
5812
- selected_members?: Array<string> | null;
5813
- /**
5814
- * Member Order
5815
- *
5816
- * Explicit ordering of members (overrides default sort)
5817
- */
5818
- member_order?: Array<string> | null;
5819
- /**
5820
- * Member Labels
5821
- *
5822
- * Custom labels for members (e.g., {'2024-12-31': 'Current Year'})
5823
- */
5824
- member_labels?: {
5825
- [key: string]: string;
5826
- } | null;
5827
- /**
5828
- * Element Order
5829
- *
5830
- * Element ordering for hierarchy display (e.g., ['us-gaap:Assets', 'us-gaap:Cash', ...])
5831
- */
5832
- element_order?: Array<string> | null;
5833
- /**
5834
- * Element Labels
5835
- *
5836
- * Custom labels for elements (e.g., {'us-gaap:Cash': 'Cash and Cash Equivalents'})
5837
- */
5838
- element_labels?: {
5839
- [key: string]: string;
5840
- } | null;
5841
- };
5842
- /**
5843
- * ViewConfig
5844
- */
5845
- export type ViewConfig = {
5846
- /**
5847
- * Rows
5848
- *
5849
- * Row axis configuration
5850
- */
5851
- rows?: Array<ViewAxisConfig>;
5852
- /**
5853
- * Columns
5854
- *
5855
- * Column axis configuration
5856
- */
5857
- columns?: Array<ViewAxisConfig>;
5858
- /**
5859
- * Values
5860
- *
5861
- * Field to use for values (default: numeric_value)
5862
- */
5863
- values?: string;
5864
- /**
5865
- * Aggregation Function
5866
- *
5867
- * Aggregation function: sum, average, count
5868
- */
5869
- aggregation_function?: string;
5870
- /**
5871
- * Fill Value
5872
- *
5873
- * Value to use for missing data
5874
- */
5875
- fill_value?: number;
5876
- };
5877
- /**
5878
- * ViewSource
5879
- */
5880
- export type ViewSource = {
5881
- /**
5882
- * Type of data source
5883
- */
5884
- type: ViewSourceType;
5885
- /**
5886
- * Period Start
5887
- *
5888
- * Start date for transaction aggregation (YYYY-MM-DD)
5889
- */
5890
- period_start?: string | null;
5891
- /**
5892
- * Period End
5893
- *
5894
- * End date for transaction aggregation (YYYY-MM-DD)
5895
- */
5896
- period_end?: string | null;
5897
- /**
5898
- * Fact Set Id
5899
- *
5900
- * FactSet ID for existing facts mode
5901
- */
5902
- fact_set_id?: string | null;
5903
- /**
5904
- * Entity Id
5905
- *
5906
- * Filter by entity (optional)
5907
- */
5908
- entity_id?: string | null;
5909
- };
5910
- /**
5911
- * ViewSourceType
5912
- */
5913
- export type ViewSourceType = 'transactions' | 'fact_set';
5914
5131
  export type RegisterUserData = {
5915
5132
  body: RegisterRequest;
5916
5133
  path?: never;
@@ -6732,7 +5949,7 @@ export type GetOrgUsageResponses = {
6732
5949
  200: OrgUsageResponse;
6733
5950
  };
6734
5951
  export type GetOrgUsageResponse = GetOrgUsageResponses[keyof GetOrgUsageResponses];
6735
- export type ListConnectionsData = {
5952
+ export type ListAgentsData = {
6736
5953
  body?: never;
6737
5954
  path: {
6738
5955
  /**
@@ -6742,451 +5959,53 @@ export type ListConnectionsData = {
6742
5959
  };
6743
5960
  query?: {
6744
5961
  /**
6745
- * Entity Id
6746
- *
6747
- * Filter by entity ID
6748
- */
6749
- entity_id?: string | null;
6750
- /**
6751
- * Provider
5962
+ * Capability
6752
5963
  *
6753
- * Filter by provider type
5964
+ * Filter by capability (e.g., 'financial_analysis', 'rag_search')
6754
5965
  */
6755
- provider?: 'sec' | 'quickbooks' | 'plaid' | null;
5966
+ capability?: string | null;
6756
5967
  };
6757
- url: '/v1/graphs/{graph_id}/connections';
5968
+ url: '/v1/graphs/{graph_id}/agent';
6758
5969
  };
6759
- export type ListConnectionsErrors = {
5970
+ export type ListAgentsErrors = {
6760
5971
  /**
6761
- * Access denied to graph
5972
+ * Unauthorized - Invalid or missing authentication
6762
5973
  */
6763
- 403: ErrorResponse;
5974
+ 401: unknown;
6764
5975
  /**
6765
5976
  * Validation Error
6766
5977
  */
6767
5978
  422: HttpValidationError;
6768
- /**
6769
- * Failed to list connections
6770
- */
6771
- 500: ErrorResponse;
6772
5979
  };
6773
- export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
6774
- export type ListConnectionsResponses = {
5980
+ export type ListAgentsError = ListAgentsErrors[keyof ListAgentsErrors];
5981
+ export type ListAgentsResponses = {
6775
5982
  /**
6776
- * Response Listconnections
6777
- *
6778
- * Connections retrieved successfully
5983
+ * List of agents retrieved successfully
6779
5984
  */
6780
- 200: Array<ConnectionResponse>;
5985
+ 200: AgentListResponse;
6781
5986
  };
6782
- export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
6783
- export type CreateConnectionData = {
6784
- body: CreateConnectionRequest;
5987
+ export type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
5988
+ export type AutoSelectAgentData = {
5989
+ body: AgentRequest;
6785
5990
  path: {
6786
5991
  /**
6787
5992
  * Graph Id
6788
5993
  */
6789
5994
  graph_id: string;
6790
5995
  };
6791
- query?: never;
6792
- url: '/v1/graphs/{graph_id}/connections';
5996
+ query?: {
5997
+ /**
5998
+ * Mode
5999
+ *
6000
+ * Override execution mode: sync, async, stream, or auto
6001
+ */
6002
+ mode?: ResponseMode | null;
6003
+ };
6004
+ url: '/v1/graphs/{graph_id}/agent';
6793
6005
  };
6794
- export type CreateConnectionErrors = {
6006
+ export type AutoSelectAgentErrors = {
6795
6007
  /**
6796
- * Invalid connection configuration
6797
- */
6798
- 400: ErrorResponse;
6799
- /**
6800
- * Access denied - admin role required
6801
- */
6802
- 403: ErrorResponse;
6803
- /**
6804
- * Connection already exists
6805
- */
6806
- 409: ErrorResponse;
6807
- /**
6808
- * Validation Error
6809
- */
6810
- 422: HttpValidationError;
6811
- /**
6812
- * Failed to create connection
6813
- */
6814
- 500: ErrorResponse;
6815
- };
6816
- export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
6817
- export type CreateConnectionResponses = {
6818
- /**
6819
- * Connection created successfully
6820
- */
6821
- 201: ConnectionResponse;
6822
- };
6823
- export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
6824
- export type GetConnectionOptionsData = {
6825
- body?: never;
6826
- path: {
6827
- /**
6828
- * Graph Id
6829
- */
6830
- graph_id: string;
6831
- };
6832
- query?: never;
6833
- url: '/v1/graphs/{graph_id}/connections/options';
6834
- };
6835
- export type GetConnectionOptionsErrors = {
6836
- /**
6837
- * Access denied to graph
6838
- */
6839
- 403: ErrorResponse;
6840
- /**
6841
- * Validation Error
6842
- */
6843
- 422: HttpValidationError;
6844
- /**
6845
- * Failed to retrieve options
6846
- */
6847
- 500: ErrorResponse;
6848
- };
6849
- export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
6850
- export type GetConnectionOptionsResponses = {
6851
- /**
6852
- * Connection options retrieved successfully
6853
- */
6854
- 200: ConnectionOptionsResponse;
6855
- };
6856
- export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
6857
- export type ExchangeLinkTokenData = {
6858
- body: ExchangeTokenRequest;
6859
- path: {
6860
- /**
6861
- * Graph Id
6862
- */
6863
- graph_id: string;
6864
- };
6865
- query?: never;
6866
- url: '/v1/graphs/{graph_id}/connections/link/exchange';
6867
- };
6868
- export type ExchangeLinkTokenErrors = {
6869
- /**
6870
- * Invalid token or provider
6871
- */
6872
- 400: ErrorResponse;
6873
- /**
6874
- * Connection not found
6875
- */
6876
- 404: ErrorResponse;
6877
- /**
6878
- * Validation Error
6879
- */
6880
- 422: HttpValidationError;
6881
- /**
6882
- * Token exchange failed
6883
- */
6884
- 500: ErrorResponse;
6885
- };
6886
- export type ExchangeLinkTokenError = ExchangeLinkTokenErrors[keyof ExchangeLinkTokenErrors];
6887
- export type ExchangeLinkTokenResponses = {
6888
- /**
6889
- * Token exchanged successfully
6890
- */
6891
- 200: unknown;
6892
- };
6893
- export type CreateLinkTokenData = {
6894
- body: LinkTokenRequest;
6895
- path: {
6896
- /**
6897
- * Graph Id
6898
- */
6899
- graph_id: string;
6900
- };
6901
- query?: never;
6902
- url: '/v1/graphs/{graph_id}/connections/link/token';
6903
- };
6904
- export type CreateLinkTokenErrors = {
6905
- /**
6906
- * Invalid provider or request
6907
- */
6908
- 400: ErrorResponse;
6909
- /**
6910
- * Entity not found
6911
- */
6912
- 404: ErrorResponse;
6913
- /**
6914
- * Validation Error
6915
- */
6916
- 422: HttpValidationError;
6917
- /**
6918
- * Failed to create link token
6919
- */
6920
- 500: ErrorResponse;
6921
- };
6922
- export type CreateLinkTokenError = CreateLinkTokenErrors[keyof CreateLinkTokenErrors];
6923
- export type CreateLinkTokenResponses = {
6924
- /**
6925
- * Link token created successfully
6926
- */
6927
- 200: unknown;
6928
- };
6929
- export type InitOAuthData = {
6930
- body: OAuthInitRequest;
6931
- path: {
6932
- /**
6933
- * Graph Id
6934
- */
6935
- graph_id: string;
6936
- };
6937
- query?: never;
6938
- url: '/v1/graphs/{graph_id}/connections/oauth/init';
6939
- };
6940
- export type InitOAuthErrors = {
6941
- /**
6942
- * Validation Error
6943
- */
6944
- 422: HttpValidationError;
6945
- };
6946
- export type InitOAuthError = InitOAuthErrors[keyof InitOAuthErrors];
6947
- export type InitOAuthResponses = {
6948
- /**
6949
- * Successful Response
6950
- */
6951
- 200: OAuthInitResponse;
6952
- };
6953
- export type InitOAuthResponse = InitOAuthResponses[keyof InitOAuthResponses];
6954
- export type OauthCallbackData = {
6955
- body: OAuthCallbackRequest;
6956
- path: {
6957
- /**
6958
- * Provider
6959
- *
6960
- * OAuth provider name
6961
- */
6962
- provider: string;
6963
- /**
6964
- * Graph Id
6965
- */
6966
- graph_id: string;
6967
- };
6968
- query?: never;
6969
- url: '/v1/graphs/{graph_id}/connections/oauth/callback/{provider}';
6970
- };
6971
- export type OauthCallbackErrors = {
6972
- /**
6973
- * OAuth error or invalid state
6974
- */
6975
- 400: ErrorResponse;
6976
- /**
6977
- * State does not match user
6978
- */
6979
- 403: ErrorResponse;
6980
- /**
6981
- * Connection not found
6982
- */
6983
- 404: ErrorResponse;
6984
- /**
6985
- * Validation Error
6986
- */
6987
- 422: HttpValidationError;
6988
- /**
6989
- * OAuth callback processing failed
6990
- */
6991
- 500: ErrorResponse;
6992
- };
6993
- export type OauthCallbackError = OauthCallbackErrors[keyof OauthCallbackErrors];
6994
- export type OauthCallbackResponses = {
6995
- /**
6996
- * OAuth flow completed successfully
6997
- */
6998
- 200: unknown;
6999
- };
7000
- export type DeleteConnectionData = {
7001
- body?: never;
7002
- path: {
7003
- /**
7004
- * Graph Id
7005
- */
7006
- graph_id: string;
7007
- /**
7008
- * Connection Id
7009
- *
7010
- * Connection identifier
7011
- */
7012
- connection_id: string;
7013
- };
7014
- query?: never;
7015
- url: '/v1/graphs/{graph_id}/connections/{connection_id}';
7016
- };
7017
- export type DeleteConnectionErrors = {
7018
- /**
7019
- * Access denied - admin role required
7020
- */
7021
- 403: ErrorResponse;
7022
- /**
7023
- * Connection not found
7024
- */
7025
- 404: ErrorResponse;
7026
- /**
7027
- * Validation Error
7028
- */
7029
- 422: HttpValidationError;
7030
- /**
7031
- * Failed to delete connection
7032
- */
7033
- 500: ErrorResponse;
7034
- };
7035
- export type DeleteConnectionError = DeleteConnectionErrors[keyof DeleteConnectionErrors];
7036
- export type DeleteConnectionResponses = {
7037
- /**
7038
- * Connection deleted successfully
7039
- */
7040
- 200: SuccessResponse;
7041
- };
7042
- export type DeleteConnectionResponse = DeleteConnectionResponses[keyof DeleteConnectionResponses];
7043
- export type GetConnectionData = {
7044
- body?: never;
7045
- path: {
7046
- /**
7047
- * Graph Id
7048
- */
7049
- graph_id: string;
7050
- /**
7051
- * Connection Id
7052
- *
7053
- * Unique connection identifier
7054
- */
7055
- connection_id: string;
7056
- };
7057
- query?: never;
7058
- url: '/v1/graphs/{graph_id}/connections/{connection_id}';
7059
- };
7060
- export type GetConnectionErrors = {
7061
- /**
7062
- * Access denied to connection
7063
- */
7064
- 403: ErrorResponse;
7065
- /**
7066
- * Connection not found
7067
- */
7068
- 404: ErrorResponse;
7069
- /**
7070
- * Validation Error
7071
- */
7072
- 422: HttpValidationError;
7073
- /**
7074
- * Failed to retrieve connection
7075
- */
7076
- 500: ErrorResponse;
7077
- };
7078
- export type GetConnectionError = GetConnectionErrors[keyof GetConnectionErrors];
7079
- export type GetConnectionResponses = {
7080
- /**
7081
- * Connection details retrieved successfully
7082
- */
7083
- 200: ConnectionResponse;
7084
- };
7085
- export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
7086
- export type SyncConnectionData = {
7087
- body: SyncConnectionRequest;
7088
- path: {
7089
- /**
7090
- * Graph Id
7091
- */
7092
- graph_id: string;
7093
- /**
7094
- * Connection Id
7095
- *
7096
- * Connection identifier
7097
- */
7098
- connection_id: string;
7099
- };
7100
- query?: never;
7101
- url: '/v1/graphs/{graph_id}/connections/{connection_id}/sync';
7102
- };
7103
- export type SyncConnectionErrors = {
7104
- /**
7105
- * Access denied - admin role required
7106
- */
7107
- 403: ErrorResponse;
7108
- /**
7109
- * Connection not found
7110
- */
7111
- 404: ErrorResponse;
7112
- /**
7113
- * Validation Error
7114
- */
7115
- 422: HttpValidationError;
7116
- /**
7117
- * Failed to start sync
7118
- */
7119
- 500: ErrorResponse;
7120
- };
7121
- export type SyncConnectionError = SyncConnectionErrors[keyof SyncConnectionErrors];
7122
- export type SyncConnectionResponses = {
7123
- /**
7124
- * Response Syncconnection
7125
- *
7126
- * Sync started successfully
7127
- */
7128
- 200: {
7129
- [key: string]: unknown;
7130
- };
7131
- };
7132
- export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
7133
- export type ListAgentsData = {
7134
- body?: never;
7135
- path: {
7136
- /**
7137
- * Graph Id
7138
- */
7139
- graph_id: string;
7140
- };
7141
- query?: {
7142
- /**
7143
- * Capability
7144
- *
7145
- * Filter by capability (e.g., 'financial_analysis', 'rag_search')
7146
- */
7147
- capability?: string | null;
7148
- };
7149
- url: '/v1/graphs/{graph_id}/agent';
7150
- };
7151
- export type ListAgentsErrors = {
7152
- /**
7153
- * Unauthorized - Invalid or missing authentication
7154
- */
7155
- 401: unknown;
7156
- /**
7157
- * Validation Error
7158
- */
7159
- 422: HttpValidationError;
7160
- };
7161
- export type ListAgentsError = ListAgentsErrors[keyof ListAgentsErrors];
7162
- export type ListAgentsResponses = {
7163
- /**
7164
- * List of agents retrieved successfully
7165
- */
7166
- 200: AgentListResponse;
7167
- };
7168
- export type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
7169
- export type AutoSelectAgentData = {
7170
- body: AgentRequest;
7171
- path: {
7172
- /**
7173
- * Graph Id
7174
- */
7175
- graph_id: string;
7176
- };
7177
- query?: {
7178
- /**
7179
- * Mode
7180
- *
7181
- * Override execution mode: sync, async, stream, or auto
7182
- */
7183
- mode?: ResponseMode | null;
7184
- };
7185
- url: '/v1/graphs/{graph_id}/agent';
7186
- };
7187
- export type AutoSelectAgentErrors = {
7188
- /**
7189
- * Invalid request parameters
6008
+ * Invalid request parameters
7190
6009
  */
7191
6010
  400: unknown;
7192
6011
  /**
@@ -8744,55 +7563,6 @@ export type QueryTablesResponses = {
8744
7563
  200: TableQueryResponse;
8745
7564
  };
8746
7565
  export type QueryTablesResponse = QueryTablesResponses[keyof QueryTablesResponses];
8747
- export type CreateViewData = {
8748
- body: CreateViewRequest;
8749
- path: {
8750
- /**
8751
- * Graph Id
8752
- */
8753
- graph_id: string;
8754
- };
8755
- query?: never;
8756
- url: '/v1/graphs/{graph_id}/views';
8757
- };
8758
- export type CreateViewErrors = {
8759
- /**
8760
- * Validation Error
8761
- */
8762
- 422: HttpValidationError;
8763
- };
8764
- export type CreateViewError = CreateViewErrors[keyof CreateViewErrors];
8765
- export type CreateViewResponses = {
8766
- /**
8767
- * Successful Response
8768
- */
8769
- 200: unknown;
8770
- };
8771
- export type SaveViewData = {
8772
- body: SaveViewRequest;
8773
- path: {
8774
- /**
8775
- * Graph Id
8776
- */
8777
- graph_id: string;
8778
- };
8779
- query?: never;
8780
- url: '/v1/graphs/{graph_id}/views/save';
8781
- };
8782
- export type SaveViewErrors = {
8783
- /**
8784
- * Validation Error
8785
- */
8786
- 422: HttpValidationError;
8787
- };
8788
- export type SaveViewError = SaveViewErrors[keyof SaveViewErrors];
8789
- export type SaveViewResponses = {
8790
- /**
8791
- * Successful Response
8792
- */
8793
- 200: SaveViewResponse;
8794
- };
8795
- export type SaveViewResponse2 = SaveViewResponses[keyof SaveViewResponses];
8796
7566
  export type GetMaterializationStatusData = {
8797
7567
  body?: never;
8798
7568
  path: {