@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.ts CHANGED
@@ -946,7 +946,7 @@ export type CheckoutStatusResponse = {
946
946
  /**
947
947
  * Status
948
948
  *
949
- * Checkout status: 'pending_payment', 'provisioning', 'completed', 'failed'
949
+ * Checkout status: 'pending_payment', 'provisioning', 'active', 'failed', 'canceled'
950
950
  */
951
951
  status: string;
952
952
  /**
@@ -975,164 +975,6 @@ export type CheckoutStatusResponse = {
975
975
  error?: string | null;
976
976
  };
977
977
 
978
- /**
979
- * ConnectionOptionsResponse
980
- *
981
- * Response with all available connection options.
982
- */
983
- export type ConnectionOptionsResponse = {
984
- /**
985
- * Providers
986
- *
987
- * Available connection providers
988
- */
989
- providers: Array<ConnectionProviderInfo>;
990
- /**
991
- * Total Providers
992
- *
993
- * Total number of providers
994
- */
995
- total_providers: number;
996
- };
997
-
998
- /**
999
- * ConnectionProviderInfo
1000
- *
1001
- * Information about a connection provider.
1002
- */
1003
- export type ConnectionProviderInfo = {
1004
- /**
1005
- * Provider
1006
- *
1007
- * Provider identifier
1008
- */
1009
- provider: 'sec' | 'quickbooks' | 'plaid';
1010
- /**
1011
- * Display Name
1012
- *
1013
- * Human-readable provider name
1014
- */
1015
- display_name: string;
1016
- /**
1017
- * Description
1018
- *
1019
- * Provider description
1020
- */
1021
- description: string;
1022
- /**
1023
- * Auth Type
1024
- *
1025
- * Authentication type
1026
- */
1027
- auth_type: 'none' | 'oauth' | 'link' | 'api_key';
1028
- /**
1029
- * Auth Flow
1030
- *
1031
- * Description of authentication flow
1032
- */
1033
- auth_flow?: string | null;
1034
- /**
1035
- * Required Config
1036
- *
1037
- * Required configuration fields
1038
- */
1039
- required_config: Array<string>;
1040
- /**
1041
- * Optional Config
1042
- *
1043
- * Optional configuration fields
1044
- */
1045
- optional_config?: Array<string>;
1046
- /**
1047
- * Features
1048
- *
1049
- * Supported features
1050
- */
1051
- features: Array<string>;
1052
- /**
1053
- * Sync Frequency
1054
- *
1055
- * Typical sync frequency
1056
- */
1057
- sync_frequency?: string | null;
1058
- /**
1059
- * Data Types
1060
- *
1061
- * Types of data available
1062
- */
1063
- data_types: Array<string>;
1064
- /**
1065
- * Setup Instructions
1066
- *
1067
- * Setup instructions
1068
- */
1069
- setup_instructions?: string | null;
1070
- /**
1071
- * Documentation Url
1072
- *
1073
- * Link to documentation
1074
- */
1075
- documentation_url?: string | null;
1076
- };
1077
-
1078
- /**
1079
- * ConnectionResponse
1080
- *
1081
- * Connection response model.
1082
- */
1083
- export type ConnectionResponse = {
1084
- /**
1085
- * Connection Id
1086
- *
1087
- * Unique connection identifier
1088
- */
1089
- connection_id: string;
1090
- /**
1091
- * Provider
1092
- *
1093
- * Connection provider type
1094
- */
1095
- provider: 'sec' | 'quickbooks' | 'plaid';
1096
- /**
1097
- * Entity Id
1098
- *
1099
- * Entity identifier
1100
- */
1101
- entity_id: string;
1102
- /**
1103
- * Status
1104
- *
1105
- * Connection status
1106
- */
1107
- status: string;
1108
- /**
1109
- * Created At
1110
- *
1111
- * Creation timestamp
1112
- */
1113
- created_at: string;
1114
- /**
1115
- * Updated At
1116
- *
1117
- * Last update timestamp
1118
- */
1119
- updated_at?: string | null;
1120
- /**
1121
- * Last Sync
1122
- *
1123
- * Last sync timestamp
1124
- */
1125
- last_sync?: string | null;
1126
- /**
1127
- * Metadata
1128
- *
1129
- * Provider-specific metadata
1130
- */
1131
- metadata: {
1132
- [key: string]: unknown;
1133
- };
1134
- };
1135
-
1136
978
  /**
1137
979
  * ContentLimits
1138
980
  *
@@ -1305,29 +1147,6 @@ export type CreateCheckoutRequest = {
1305
1147
  };
1306
1148
  };
1307
1149
 
1308
- /**
1309
- * CreateConnectionRequest
1310
- *
1311
- * Request to create a new connection.
1312
- */
1313
- export type CreateConnectionRequest = {
1314
- /**
1315
- * Provider
1316
- *
1317
- * Connection provider type
1318
- */
1319
- provider: 'sec' | 'quickbooks' | 'plaid';
1320
- /**
1321
- * Entity Id
1322
- *
1323
- * Entity identifier
1324
- */
1325
- entity_id: string;
1326
- sec_config?: SecConnectionConfig | null;
1327
- quickbooks_config?: QuickBooksConnectionConfig | null;
1328
- plaid_config?: PlaidConnectionConfig | null;
1329
- };
1330
-
1331
1150
  /**
1332
1151
  * CreateGraphRequest
1333
1152
  *
@@ -1447,38 +1266,6 @@ export type CreateSubgraphRequest = {
1447
1266
  fork_parent?: boolean;
1448
1267
  };
1449
1268
 
1450
- /**
1451
- * CreateViewRequest
1452
- */
1453
- export type CreateViewRequest = {
1454
- /**
1455
- * Name
1456
- *
1457
- * Optional name for the view
1458
- */
1459
- name?: string | null;
1460
- /**
1461
- * Data source configuration
1462
- */
1463
- source: ViewSource;
1464
- /**
1465
- * View configuration
1466
- */
1467
- view_config?: ViewConfig;
1468
- /**
1469
- * Presentation Formats
1470
- *
1471
- * Presentation formats to generate
1472
- */
1473
- presentation_formats?: Array<string>;
1474
- /**
1475
- * Mapping Structure Id
1476
- *
1477
- * Optional mapping structure ID to aggregate Chart of Accounts elements into reporting taxonomy elements
1478
- */
1479
- mapping_structure_id?: string | null;
1480
- };
1481
-
1482
1269
  /**
1483
1270
  * CreditLimits
1484
1271
  *
@@ -2138,68 +1925,6 @@ export type ErrorResponse = {
2138
1925
  timestamp?: string | null;
2139
1926
  };
2140
1927
 
2141
- /**
2142
- * ExchangeTokenRequest
2143
- *
2144
- * Exchange temporary token for permanent credentials.
2145
- */
2146
- export type ExchangeTokenRequest = {
2147
- /**
2148
- * Connection Id
2149
- *
2150
- * Connection ID to update
2151
- */
2152
- connection_id: string;
2153
- /**
2154
- * Public Token
2155
- *
2156
- * Temporary token from embedded auth
2157
- */
2158
- public_token: string;
2159
- /**
2160
- * Metadata
2161
- *
2162
- * Provider-specific metadata
2163
- */
2164
- metadata?: {
2165
- [key: string]: unknown;
2166
- } | null;
2167
- };
2168
-
2169
- /**
2170
- * FactDetail
2171
- */
2172
- export type FactDetail = {
2173
- /**
2174
- * Fact Id
2175
- */
2176
- fact_id: string;
2177
- /**
2178
- * Element Uri
2179
- */
2180
- element_uri: string;
2181
- /**
2182
- * Element Name
2183
- */
2184
- element_name: string;
2185
- /**
2186
- * Numeric Value
2187
- */
2188
- numeric_value: number;
2189
- /**
2190
- * Unit
2191
- */
2192
- unit: string;
2193
- /**
2194
- * Period Start
2195
- */
2196
- period_start: string;
2197
- /**
2198
- * Period End
2199
- */
2200
- period_end: string;
2201
- };
2202
-
2203
1928
  /**
2204
1929
  * FileInfo
2205
1930
  */
@@ -2742,6 +2467,12 @@ export type GraphSubscriptionResponse = {
2742
2467
  * Current plan name
2743
2468
  */
2744
2469
  plan_name: string;
2470
+ /**
2471
+ * Plan Display Name
2472
+ *
2473
+ * Human-readable plan name for UI display
2474
+ */
2475
+ plan_display_name: string;
2745
2476
  /**
2746
2477
  * Billing Interval
2747
2478
  *
@@ -2837,12 +2568,6 @@ export type GraphSubscriptionTier = {
2837
2568
  * Monthly AI credits per graph
2838
2569
  */
2839
2570
  monthly_credits_per_graph: number;
2840
- /**
2841
- * Storage Included
2842
- *
2843
- * Whether storage is included in the tier
2844
- */
2845
- storage_included?: boolean;
2846
2571
  /**
2847
2572
  * Infrastructure
2848
2573
  *
@@ -2927,10 +2652,6 @@ export type GraphSubscriptions = {
2927
2652
  * Available infrastructure tiers
2928
2653
  */
2929
2654
  tiers: Array<GraphSubscriptionTier>;
2930
- /**
2931
- * Storage information
2932
- */
2933
- storage: StorageInfo;
2934
2655
  /**
2935
2656
  * Notes
2936
2657
  *
@@ -3051,12 +2772,6 @@ export type GraphTierInfo = {
3051
2772
  * Maximum subgraphs allowed
3052
2773
  */
3053
2774
  max_subgraphs: number | null;
3054
- /**
3055
- * Storage Limit Gb
3056
- *
3057
- * Storage limit in GB
3058
- */
3059
- storage_limit_gb: number;
3060
2775
  /**
3061
2776
  * Monthly Credits
3062
2777
  *
@@ -3123,12 +2838,6 @@ export type GraphTierInstance = {
3123
2838
  * Resource limits for a tier.
3124
2839
  */
3125
2840
  export type GraphTierLimits = {
3126
- /**
3127
- * Storage Gb
3128
- *
3129
- * Storage limit in GB
3130
- */
3131
- storage_gb: number;
3132
2841
  /**
3133
2842
  * Monthly Credits
3134
2843
  *
@@ -3463,46 +3172,6 @@ export type InvoicesResponse = {
3463
3172
  has_more: boolean;
3464
3173
  };
3465
3174
 
3466
- /**
3467
- * LinkTokenRequest
3468
- *
3469
- * Request to create a link token for embedded authentication.
3470
- */
3471
- export type LinkTokenRequest = {
3472
- /**
3473
- * Entity Id
3474
- *
3475
- * Entity identifier
3476
- */
3477
- entity_id: string;
3478
- /**
3479
- * User Id
3480
- *
3481
- * User identifier
3482
- */
3483
- user_id: string;
3484
- /**
3485
- * Provider
3486
- *
3487
- * Provider type (defaults based on connection)
3488
- */
3489
- provider?: 'sec' | 'quickbooks' | 'plaid' | null;
3490
- /**
3491
- * Products
3492
- *
3493
- * Data products to request (provider-specific)
3494
- */
3495
- products?: Array<string> | null;
3496
- /**
3497
- * Options
3498
- *
3499
- * Provider-specific options
3500
- */
3501
- options?: {
3502
- [key: string]: unknown;
3503
- } | null;
3504
- };
3505
-
3506
3175
  /**
3507
3176
  * ListSubgraphsResponse
3508
3177
  *
@@ -3778,165 +3447,73 @@ export type MaterializeStatusResponse = {
3778
3447
  };
3779
3448
 
3780
3449
  /**
3781
- * OAuthCallbackRequest
3450
+ * OfferingRepositoryPlan
3782
3451
  *
3783
- * OAuth callback parameters.
3452
+ * Information about a repository plan.
3784
3453
  */
3785
- export type OAuthCallbackRequest = {
3786
- /**
3787
- * Code
3788
- *
3789
- * Authorization code from OAuth provider
3790
- */
3791
- code: string;
3454
+ export type OfferingRepositoryPlan = {
3792
3455
  /**
3793
- * State
3456
+ * Plan
3794
3457
  *
3795
- * OAuth state for verification
3458
+ * Plan identifier
3796
3459
  */
3797
- state: string;
3460
+ plan: string;
3798
3461
  /**
3799
- * Realm Id
3462
+ * Name
3800
3463
  *
3801
- * QuickBooks-specific realm ID
3464
+ * Plan name
3802
3465
  */
3803
- realm_id?: string | null;
3466
+ name: string;
3804
3467
  /**
3805
- * Error
3468
+ * Monthly Price
3806
3469
  *
3807
- * OAuth error if authorization failed
3470
+ * Monthly price in USD
3808
3471
  */
3809
- error?: string | null;
3472
+ monthly_price: number;
3810
3473
  /**
3811
- * Error Description
3474
+ * Monthly Credits
3812
3475
  *
3813
- * OAuth error details
3476
+ * Monthly credit allocation
3814
3477
  */
3815
- error_description?: string | null;
3816
- };
3817
-
3818
- /**
3819
- * OAuthInitRequest
3820
- *
3821
- * Request to initiate OAuth flow.
3822
- */
3823
- export type OAuthInitRequest = {
3478
+ monthly_credits: number;
3824
3479
  /**
3825
- * Connection Id
3480
+ * Access Level
3826
3481
  *
3827
- * Connection ID to link OAuth to
3482
+ * Access level
3828
3483
  */
3829
- connection_id: string;
3484
+ access_level: string;
3830
3485
  /**
3831
- * Redirect Uri
3486
+ * Features
3832
3487
  *
3833
- * Override default redirect URI
3488
+ * List of features
3834
3489
  */
3835
- redirect_uri?: string | null;
3490
+ features: Array<string>;
3836
3491
  /**
3837
- * Additional Params
3492
+ * Rate Limits
3838
3493
  *
3839
- * Provider-specific parameters
3494
+ * Rate limits for this plan
3840
3495
  */
3841
- additional_params?: {
3842
- [key: string]: string;
3496
+ rate_limits?: {
3497
+ [key: string]: number | null;
3843
3498
  } | null;
3844
3499
  };
3845
3500
 
3846
3501
  /**
3847
- * OAuthInitResponse
3502
+ * OperationCosts
3848
3503
  *
3849
- * Response with OAuth authorization URL.
3504
+ * Operation cost information.
3850
3505
  */
3851
- export type OAuthInitResponse = {
3506
+ export type OperationCosts = {
3852
3507
  /**
3853
- * Auth Url
3508
+ * Description
3854
3509
  *
3855
- * URL to redirect user for authorization
3510
+ * Description of operation costs
3856
3511
  */
3857
- auth_url: string;
3512
+ description: string;
3858
3513
  /**
3859
- * State
3514
+ * Ai Operations
3860
3515
  *
3861
- * OAuth state for security
3862
- */
3863
- state: string;
3864
- /**
3865
- * Expires At
3866
- *
3867
- * When this OAuth request expires
3868
- */
3869
- expires_at: string;
3870
- };
3871
-
3872
- /**
3873
- * OfferingRepositoryPlan
3874
- *
3875
- * Information about a repository plan.
3876
- */
3877
- export type OfferingRepositoryPlan = {
3878
- /**
3879
- * Plan
3880
- *
3881
- * Plan identifier
3882
- */
3883
- plan: string;
3884
- /**
3885
- * Name
3886
- *
3887
- * Plan name
3888
- */
3889
- name: string;
3890
- /**
3891
- * Monthly Price
3892
- *
3893
- * Monthly price in USD
3894
- */
3895
- monthly_price: number;
3896
- /**
3897
- * Monthly Credits
3898
- *
3899
- * Monthly credit allocation
3900
- */
3901
- monthly_credits: number;
3902
- /**
3903
- * Access Level
3904
- *
3905
- * Access level
3906
- */
3907
- access_level: string;
3908
- /**
3909
- * Features
3910
- *
3911
- * List of features
3912
- */
3913
- features: Array<string>;
3914
- /**
3915
- * Rate Limits
3916
- *
3917
- * Rate limits for this plan
3918
- */
3919
- rate_limits?: {
3920
- [key: string]: number | null;
3921
- } | null;
3922
- };
3923
-
3924
- /**
3925
- * OperationCosts
3926
- *
3927
- * Operation cost information.
3928
- */
3929
- export type OperationCosts = {
3930
- /**
3931
- * Description
3932
- *
3933
- * Description of operation costs
3934
- */
3935
- description: string;
3936
- /**
3937
- * Ai Operations
3938
- *
3939
- * Base costs for AI operations
3516
+ * Base costs for AI operations
3940
3517
  */
3941
3518
  ai_operations: {
3942
3519
  [key: string]: number;
@@ -4409,48 +3986,6 @@ export type PerformanceInsights = {
4409
3986
  performance_score: number;
4410
3987
  };
4411
3988
 
4412
- /**
4413
- * PlaidConnectionConfig
4414
- *
4415
- * Plaid-specific connection configuration.
4416
- */
4417
- export type PlaidConnectionConfig = {
4418
- /**
4419
- * Public Token
4420
- *
4421
- * Plaid public token for exchange
4422
- */
4423
- public_token?: string | null;
4424
- /**
4425
- * Access Token
4426
- *
4427
- * Plaid access token (set after exchange)
4428
- */
4429
- access_token?: string | null;
4430
- /**
4431
- * Item Id
4432
- *
4433
- * Plaid item ID
4434
- */
4435
- item_id?: string | null;
4436
- /**
4437
- * Institution
4438
- *
4439
- * Institution information
4440
- */
4441
- institution?: {
4442
- [key: string]: unknown;
4443
- } | null;
4444
- /**
4445
- * Accounts
4446
- *
4447
- * Connected accounts
4448
- */
4449
- accounts?: Array<{
4450
- [key: string]: unknown;
4451
- }> | null;
4452
- };
4453
-
4454
3989
  /**
4455
3990
  * PortalSessionResponse
4456
3991
  *
@@ -4497,26 +4032,6 @@ export type QueryLimits = {
4497
4032
  concurrent_queries: number;
4498
4033
  };
4499
4034
 
4500
- /**
4501
- * QuickBooksConnectionConfig
4502
- *
4503
- * QuickBooks-specific connection configuration.
4504
- */
4505
- export type QuickBooksConnectionConfig = {
4506
- /**
4507
- * Realm Id
4508
- *
4509
- * QuickBooks Realm ID
4510
- */
4511
- realm_id?: string | null;
4512
- /**
4513
- * Refresh Token
4514
- *
4515
- * OAuth refresh token
4516
- */
4517
- refresh_token?: string | null;
4518
- };
4519
-
4520
4035
  /**
4521
4036
  * RateLimits
4522
4037
  *
@@ -4701,26 +4216,6 @@ export type ResetPasswordValidateResponse = {
4701
4216
  */
4702
4217
  export type ResponseMode = 'auto' | 'sync' | 'async' | 'stream';
4703
4218
 
4704
- /**
4705
- * SECConnectionConfig
4706
- *
4707
- * SEC-specific connection configuration.
4708
- */
4709
- export type SecConnectionConfig = {
4710
- /**
4711
- * Cik
4712
- *
4713
- * 10-digit CIK number
4714
- */
4715
- cik: string;
4716
- /**
4717
- * Entity Name
4718
- *
4719
- * Entity name from SEC
4720
- */
4721
- entity_name?: string | null;
4722
- };
4723
-
4724
4219
  /**
4725
4220
  * SSOCompleteRequest
4726
4221
  *
@@ -4813,116 +4308,6 @@ export type SsoTokenResponse = {
4813
4308
  apps: Array<string>;
4814
4309
  };
4815
4310
 
4816
- /**
4817
- * SaveViewRequest
4818
- */
4819
- export type SaveViewRequest = {
4820
- /**
4821
- * Report Id
4822
- *
4823
- * Existing report ID to update (if provided, deletes existing facts/structures and creates new ones)
4824
- */
4825
- report_id?: string | null;
4826
- /**
4827
- * Report Type
4828
- *
4829
- * Type of report (e.g., 'Annual Report', 'Quarterly Report', '10-K')
4830
- */
4831
- report_type: string;
4832
- /**
4833
- * Period Start
4834
- *
4835
- * Period start date (YYYY-MM-DD)
4836
- */
4837
- period_start: string;
4838
- /**
4839
- * Period End
4840
- *
4841
- * Period end date (YYYY-MM-DD)
4842
- */
4843
- period_end: string;
4844
- /**
4845
- * Entity Id
4846
- *
4847
- * Entity identifier (defaults to primary entity)
4848
- */
4849
- entity_id?: string | null;
4850
- /**
4851
- * Include Presentation
4852
- *
4853
- * Create presentation structures
4854
- */
4855
- include_presentation?: boolean;
4856
- /**
4857
- * Include Calculation
4858
- *
4859
- * Create calculation structures
4860
- */
4861
- include_calculation?: boolean;
4862
- };
4863
-
4864
- /**
4865
- * SaveViewResponse
4866
- */
4867
- export type SaveViewResponse = {
4868
- /**
4869
- * Report Id
4870
- *
4871
- * Unique report identifier (used as parquet export prefix)
4872
- */
4873
- report_id: string;
4874
- /**
4875
- * Report Type
4876
- */
4877
- report_type: string;
4878
- /**
4879
- * Entity Id
4880
- */
4881
- entity_id: string;
4882
- /**
4883
- * Entity Name
4884
- */
4885
- entity_name: string;
4886
- /**
4887
- * Period Start
4888
- */
4889
- period_start: string;
4890
- /**
4891
- * Period End
4892
- */
4893
- period_end: string;
4894
- /**
4895
- * Fact Count
4896
- */
4897
- fact_count: number;
4898
- /**
4899
- * Presentation Count
4900
- */
4901
- presentation_count: number;
4902
- /**
4903
- * Calculation Count
4904
- */
4905
- calculation_count: number;
4906
- /**
4907
- * Facts
4908
- */
4909
- facts: Array<FactDetail>;
4910
- /**
4911
- * Structures
4912
- */
4913
- structures: Array<StructureDetail>;
4914
- /**
4915
- * Created At
4916
- */
4917
- created_at: string;
4918
- /**
4919
- * Parquet Export Prefix
4920
- *
4921
- * Prefix for parquet file exports
4922
- */
4923
- parquet_export_prefix: string;
4924
- };
4925
-
4926
4311
  /**
4927
4312
  * SchemaExportResponse
4928
4313
  *
@@ -5164,20 +4549,6 @@ export type ServiceOfferingsResponse = {
5164
4549
  summary: ServiceOfferingSummary;
5165
4550
  };
5166
4551
 
5167
- /**
5168
- * StorageInfo
5169
- *
5170
- * Storage information.
5171
- */
5172
- export type StorageInfo = {
5173
- /**
5174
- * Description
5175
- *
5176
- * Storage billing description
5177
- */
5178
- description?: string;
5179
- };
5180
-
5181
4552
  /**
5182
4553
  * StorageLimitResponse
5183
4554
  *
@@ -5292,28 +4663,6 @@ export type StorageSummary = {
5292
4663
  measurement_count: number;
5293
4664
  };
5294
4665
 
5295
- /**
5296
- * StructureDetail
5297
- */
5298
- export type StructureDetail = {
5299
- /**
5300
- * Structure Id
5301
- */
5302
- structure_id: string;
5303
- /**
5304
- * Structure Type
5305
- */
5306
- structure_type: string;
5307
- /**
5308
- * Name
5309
- */
5310
- name: string;
5311
- /**
5312
- * Element Count
5313
- */
5314
- element_count: number;
5315
- };
5316
-
5317
4666
  /**
5318
4667
  * SubgraphQuotaResponse
5319
4668
  *
@@ -5551,28 +4900,6 @@ export type SuccessResponse = {
5551
4900
  } | null;
5552
4901
  };
5553
4902
 
5554
- /**
5555
- * SyncConnectionRequest
5556
- *
5557
- * Request to sync a connection.
5558
- */
5559
- export type SyncConnectionRequest = {
5560
- /**
5561
- * Full Sync
5562
- *
5563
- * Perform full sync vs incremental
5564
- */
5565
- full_sync?: boolean;
5566
- /**
5567
- * Sync Options
5568
- *
5569
- * Provider-specific sync options
5570
- */
5571
- sync_options?: {
5572
- [key: string]: unknown;
5573
- } | null;
5574
- };
5575
-
5576
4903
  /**
5577
4904
  * TableInfo
5578
4905
  */
@@ -5953,170 +5280,37 @@ export type ValidationError = {
5953
5280
  };
5954
5281
  };
5955
5282
 
5956
- /**
5957
- * ViewAxisConfig
5958
- */
5959
- export type ViewAxisConfig = {
5283
+ export type RegisterUserData = {
5284
+ body: RegisterRequest;
5285
+ path?: never;
5286
+ query?: never;
5287
+ url: '/v1/auth/register';
5288
+ };
5289
+
5290
+ export type RegisterUserErrors = {
5960
5291
  /**
5961
- * Type
5962
- *
5963
- * Axis type: 'element', 'period', 'dimension', 'entity'
5292
+ * Invalid request data or missing CAPTCHA token (production only)
5964
5293
  */
5965
- type: string;
5294
+ 400: ErrorResponse;
5966
5295
  /**
5967
- * Dimension Axis
5968
- *
5969
- * Dimension axis name for dimension-type axes
5296
+ * Email already registered
5970
5297
  */
5971
- dimension_axis?: string | null;
5298
+ 409: ErrorResponse;
5972
5299
  /**
5973
- * Include Null Dimension
5974
- *
5975
- * Include facts where this dimension is NULL (default: false)
5300
+ * Validation Error
5976
5301
  */
5977
- include_null_dimension?: boolean;
5302
+ 422: HttpValidationError;
5978
5303
  /**
5979
- * Selected Members
5980
- *
5981
- * Specific members to include (e.g., ['2024-12-31', '2023-12-31'])
5304
+ * Registration temporarily disabled
5982
5305
  */
5983
- selected_members?: Array<string> | null;
5306
+ 503: ErrorResponse;
5307
+ };
5308
+
5309
+ export type RegisterUserError = RegisterUserErrors[keyof RegisterUserErrors];
5310
+
5311
+ export type RegisterUserResponses = {
5984
5312
  /**
5985
- * Member Order
5986
- *
5987
- * Explicit ordering of members (overrides default sort)
5988
- */
5989
- member_order?: Array<string> | null;
5990
- /**
5991
- * Member Labels
5992
- *
5993
- * Custom labels for members (e.g., {'2024-12-31': 'Current Year'})
5994
- */
5995
- member_labels?: {
5996
- [key: string]: string;
5997
- } | null;
5998
- /**
5999
- * Element Order
6000
- *
6001
- * Element ordering for hierarchy display (e.g., ['us-gaap:Assets', 'us-gaap:Cash', ...])
6002
- */
6003
- element_order?: Array<string> | null;
6004
- /**
6005
- * Element Labels
6006
- *
6007
- * Custom labels for elements (e.g., {'us-gaap:Cash': 'Cash and Cash Equivalents'})
6008
- */
6009
- element_labels?: {
6010
- [key: string]: string;
6011
- } | null;
6012
- };
6013
-
6014
- /**
6015
- * ViewConfig
6016
- */
6017
- export type ViewConfig = {
6018
- /**
6019
- * Rows
6020
- *
6021
- * Row axis configuration
6022
- */
6023
- rows?: Array<ViewAxisConfig>;
6024
- /**
6025
- * Columns
6026
- *
6027
- * Column axis configuration
6028
- */
6029
- columns?: Array<ViewAxisConfig>;
6030
- /**
6031
- * Values
6032
- *
6033
- * Field to use for values (default: numeric_value)
6034
- */
6035
- values?: string;
6036
- /**
6037
- * Aggregation Function
6038
- *
6039
- * Aggregation function: sum, average, count
6040
- */
6041
- aggregation_function?: string;
6042
- /**
6043
- * Fill Value
6044
- *
6045
- * Value to use for missing data
6046
- */
6047
- fill_value?: number;
6048
- };
6049
-
6050
- /**
6051
- * ViewSource
6052
- */
6053
- export type ViewSource = {
6054
- /**
6055
- * Type of data source
6056
- */
6057
- type: ViewSourceType;
6058
- /**
6059
- * Period Start
6060
- *
6061
- * Start date for transaction aggregation (YYYY-MM-DD)
6062
- */
6063
- period_start?: string | null;
6064
- /**
6065
- * Period End
6066
- *
6067
- * End date for transaction aggregation (YYYY-MM-DD)
6068
- */
6069
- period_end?: string | null;
6070
- /**
6071
- * Fact Set Id
6072
- *
6073
- * FactSet ID for existing facts mode
6074
- */
6075
- fact_set_id?: string | null;
6076
- /**
6077
- * Entity Id
6078
- *
6079
- * Filter by entity (optional)
6080
- */
6081
- entity_id?: string | null;
6082
- };
6083
-
6084
- /**
6085
- * ViewSourceType
6086
- */
6087
- export type ViewSourceType = 'transactions' | 'fact_set';
6088
-
6089
- export type RegisterUserData = {
6090
- body: RegisterRequest;
6091
- path?: never;
6092
- query?: never;
6093
- url: '/v1/auth/register';
6094
- };
6095
-
6096
- export type RegisterUserErrors = {
6097
- /**
6098
- * Invalid request data or missing CAPTCHA token (production only)
6099
- */
6100
- 400: ErrorResponse;
6101
- /**
6102
- * Email already registered
6103
- */
6104
- 409: ErrorResponse;
6105
- /**
6106
- * Validation Error
6107
- */
6108
- 422: HttpValidationError;
6109
- /**
6110
- * Registration temporarily disabled
6111
- */
6112
- 503: ErrorResponse;
6113
- };
6114
-
6115
- export type RegisterUserError = RegisterUserErrors[keyof RegisterUserErrors];
6116
-
6117
- export type RegisterUserResponses = {
6118
- /**
6119
- * Successful Response
5313
+ * Successful Response
6120
5314
  */
6121
5315
  201: AuthResponse;
6122
5316
  };
@@ -6789,728 +5983,283 @@ export type GetOrgData = {
6789
5983
  org_id: string;
6790
5984
  };
6791
5985
  query?: never;
6792
- url: '/v1/orgs/{org_id}';
6793
- };
6794
-
6795
- export type GetOrgErrors = {
6796
- /**
6797
- * Validation Error
6798
- */
6799
- 422: HttpValidationError;
6800
- };
6801
-
6802
- export type GetOrgError = GetOrgErrors[keyof GetOrgErrors];
6803
-
6804
- export type GetOrgResponses = {
6805
- /**
6806
- * Successful Response
6807
- */
6808
- 200: OrgDetailResponse;
6809
- };
6810
-
6811
- export type GetOrgResponse = GetOrgResponses[keyof GetOrgResponses];
6812
-
6813
- export type UpdateOrgData = {
6814
- body: UpdateOrgRequest;
6815
- path: {
6816
- /**
6817
- * Org Id
6818
- */
6819
- org_id: string;
6820
- };
6821
- query?: never;
6822
- url: '/v1/orgs/{org_id}';
6823
- };
6824
-
6825
- export type UpdateOrgErrors = {
6826
- /**
6827
- * Validation Error
6828
- */
6829
- 422: HttpValidationError;
6830
- };
6831
-
6832
- export type UpdateOrgError = UpdateOrgErrors[keyof UpdateOrgErrors];
6833
-
6834
- export type UpdateOrgResponses = {
6835
- /**
6836
- * Successful Response
6837
- */
6838
- 200: OrgDetailResponse;
6839
- };
6840
-
6841
- export type UpdateOrgResponse = UpdateOrgResponses[keyof UpdateOrgResponses];
6842
-
6843
- export type ListOrgGraphsData = {
6844
- body?: never;
6845
- path: {
6846
- /**
6847
- * Org Id
6848
- */
6849
- org_id: string;
6850
- };
6851
- query?: never;
6852
- url: '/v1/orgs/{org_id}/graphs';
6853
- };
6854
-
6855
- export type ListOrgGraphsErrors = {
6856
- /**
6857
- * Validation Error
6858
- */
6859
- 422: HttpValidationError;
6860
- };
6861
-
6862
- export type ListOrgGraphsError = ListOrgGraphsErrors[keyof ListOrgGraphsErrors];
6863
-
6864
- export type ListOrgGraphsResponses = {
6865
- /**
6866
- * Response Listorggraphs
6867
- *
6868
- * Successful Response
6869
- */
6870
- 200: Array<{
6871
- [key: string]: unknown;
6872
- }>;
6873
- };
6874
-
6875
- export type ListOrgGraphsResponse = ListOrgGraphsResponses[keyof ListOrgGraphsResponses];
6876
-
6877
- export type ListOrgMembersData = {
6878
- body?: never;
6879
- path: {
6880
- /**
6881
- * Org Id
6882
- */
6883
- org_id: string;
6884
- };
6885
- query?: never;
6886
- url: '/v1/orgs/{org_id}/members';
6887
- };
6888
-
6889
- export type ListOrgMembersErrors = {
6890
- /**
6891
- * Validation Error
6892
- */
6893
- 422: HttpValidationError;
6894
- };
6895
-
6896
- export type ListOrgMembersError = ListOrgMembersErrors[keyof ListOrgMembersErrors];
6897
-
6898
- export type ListOrgMembersResponses = {
6899
- /**
6900
- * Successful Response
6901
- */
6902
- 200: OrgMemberListResponse;
6903
- };
6904
-
6905
- export type ListOrgMembersResponse = ListOrgMembersResponses[keyof ListOrgMembersResponses];
6906
-
6907
- export type InviteOrgMemberData = {
6908
- body: InviteMemberRequest;
6909
- path: {
6910
- /**
6911
- * Org Id
6912
- */
6913
- org_id: string;
6914
- };
6915
- query?: never;
6916
- url: '/v1/orgs/{org_id}/members';
6917
- };
6918
-
6919
- export type InviteOrgMemberErrors = {
6920
- /**
6921
- * Validation Error
6922
- */
6923
- 422: HttpValidationError;
6924
- };
6925
-
6926
- export type InviteOrgMemberError = InviteOrgMemberErrors[keyof InviteOrgMemberErrors];
6927
-
6928
- export type InviteOrgMemberResponses = {
6929
- /**
6930
- * Successful Response
6931
- */
6932
- 201: OrgMemberResponse;
6933
- };
6934
-
6935
- export type InviteOrgMemberResponse = InviteOrgMemberResponses[keyof InviteOrgMemberResponses];
6936
-
6937
- export type RemoveOrgMemberData = {
6938
- body?: never;
6939
- path: {
6940
- /**
6941
- * Org Id
6942
- */
6943
- org_id: string;
6944
- /**
6945
- * User Id
6946
- */
6947
- user_id: string;
6948
- };
6949
- query?: never;
6950
- url: '/v1/orgs/{org_id}/members/{user_id}';
6951
- };
6952
-
6953
- export type RemoveOrgMemberErrors = {
6954
- /**
6955
- * Validation Error
6956
- */
6957
- 422: HttpValidationError;
6958
- };
6959
-
6960
- export type RemoveOrgMemberError = RemoveOrgMemberErrors[keyof RemoveOrgMemberErrors];
6961
-
6962
- export type RemoveOrgMemberResponses = {
6963
- /**
6964
- * Successful Response
6965
- */
6966
- 204: void;
6967
- };
6968
-
6969
- export type RemoveOrgMemberResponse = RemoveOrgMemberResponses[keyof RemoveOrgMemberResponses];
6970
-
6971
- export type UpdateOrgMemberRoleData = {
6972
- body: UpdateMemberRoleRequest;
6973
- path: {
6974
- /**
6975
- * Org Id
6976
- */
6977
- org_id: string;
6978
- /**
6979
- * User Id
6980
- */
6981
- user_id: string;
6982
- };
6983
- query?: never;
6984
- url: '/v1/orgs/{org_id}/members/{user_id}';
6985
- };
6986
-
6987
- export type UpdateOrgMemberRoleErrors = {
6988
- /**
6989
- * Validation Error
6990
- */
6991
- 422: HttpValidationError;
6992
- };
6993
-
6994
- export type UpdateOrgMemberRoleError = UpdateOrgMemberRoleErrors[keyof UpdateOrgMemberRoleErrors];
6995
-
6996
- export type UpdateOrgMemberRoleResponses = {
6997
- /**
6998
- * Successful Response
6999
- */
7000
- 200: OrgMemberResponse;
7001
- };
7002
-
7003
- export type UpdateOrgMemberRoleResponse = UpdateOrgMemberRoleResponses[keyof UpdateOrgMemberRoleResponses];
7004
-
7005
- export type GetOrgLimitsData = {
7006
- body?: never;
7007
- path: {
7008
- /**
7009
- * Org Id
7010
- */
7011
- org_id: string;
7012
- };
7013
- query?: never;
7014
- url: '/v1/orgs/{org_id}/limits';
7015
- };
7016
-
7017
- export type GetOrgLimitsErrors = {
7018
- /**
7019
- * Validation Error
7020
- */
7021
- 422: HttpValidationError;
7022
- };
7023
-
7024
- export type GetOrgLimitsError = GetOrgLimitsErrors[keyof GetOrgLimitsErrors];
7025
-
7026
- export type GetOrgLimitsResponses = {
7027
- /**
7028
- * Successful Response
7029
- */
7030
- 200: OrgLimitsResponse;
7031
- };
7032
-
7033
- export type GetOrgLimitsResponse = GetOrgLimitsResponses[keyof GetOrgLimitsResponses];
7034
-
7035
- export type GetOrgUsageData = {
7036
- body?: never;
7037
- path: {
7038
- /**
7039
- * Org Id
7040
- */
7041
- org_id: string;
7042
- };
7043
- query?: {
7044
- /**
7045
- * Days
7046
- */
7047
- days?: number;
7048
- };
7049
- url: '/v1/orgs/{org_id}/usage';
7050
- };
7051
-
7052
- export type GetOrgUsageErrors = {
7053
- /**
7054
- * Validation Error
7055
- */
7056
- 422: HttpValidationError;
7057
- };
7058
-
7059
- export type GetOrgUsageError = GetOrgUsageErrors[keyof GetOrgUsageErrors];
7060
-
7061
- export type GetOrgUsageResponses = {
7062
- /**
7063
- * Successful Response
7064
- */
7065
- 200: OrgUsageResponse;
7066
- };
7067
-
7068
- export type GetOrgUsageResponse = GetOrgUsageResponses[keyof GetOrgUsageResponses];
7069
-
7070
- export type ListConnectionsData = {
7071
- body?: never;
7072
- path: {
7073
- /**
7074
- * Graph Id
7075
- */
7076
- graph_id: string;
7077
- };
7078
- query?: {
7079
- /**
7080
- * Entity Id
7081
- *
7082
- * Filter by entity ID
7083
- */
7084
- entity_id?: string | null;
7085
- /**
7086
- * Provider
7087
- *
7088
- * Filter by provider type
7089
- */
7090
- provider?: 'sec' | 'quickbooks' | 'plaid' | null;
7091
- };
7092
- url: '/v1/graphs/{graph_id}/connections';
7093
- };
7094
-
7095
- export type ListConnectionsErrors = {
7096
- /**
7097
- * Access denied to graph
7098
- */
7099
- 403: ErrorResponse;
7100
- /**
7101
- * Validation Error
7102
- */
7103
- 422: HttpValidationError;
7104
- /**
7105
- * Failed to list connections
7106
- */
7107
- 500: ErrorResponse;
7108
- };
7109
-
7110
- export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
7111
-
7112
- export type ListConnectionsResponses = {
7113
- /**
7114
- * Response Listconnections
7115
- *
7116
- * Connections retrieved successfully
7117
- */
7118
- 200: Array<ConnectionResponse>;
7119
- };
7120
-
7121
- export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
7122
-
7123
- export type CreateConnectionData = {
7124
- body: CreateConnectionRequest;
7125
- path: {
7126
- /**
7127
- * Graph Id
7128
- */
7129
- graph_id: string;
7130
- };
7131
- query?: never;
7132
- url: '/v1/graphs/{graph_id}/connections';
7133
- };
7134
-
7135
- export type CreateConnectionErrors = {
7136
- /**
7137
- * Invalid connection configuration
7138
- */
7139
- 400: ErrorResponse;
7140
- /**
7141
- * Access denied - admin role required
7142
- */
7143
- 403: ErrorResponse;
7144
- /**
7145
- * Connection already exists
7146
- */
7147
- 409: ErrorResponse;
5986
+ url: '/v1/orgs/{org_id}';
5987
+ };
5988
+
5989
+ export type GetOrgErrors = {
7148
5990
  /**
7149
5991
  * Validation Error
7150
5992
  */
7151
5993
  422: HttpValidationError;
7152
- /**
7153
- * Failed to create connection
7154
- */
7155
- 500: ErrorResponse;
7156
5994
  };
7157
5995
 
7158
- export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
5996
+ export type GetOrgError = GetOrgErrors[keyof GetOrgErrors];
7159
5997
 
7160
- export type CreateConnectionResponses = {
5998
+ export type GetOrgResponses = {
7161
5999
  /**
7162
- * Connection created successfully
6000
+ * Successful Response
7163
6001
  */
7164
- 201: ConnectionResponse;
6002
+ 200: OrgDetailResponse;
7165
6003
  };
7166
6004
 
7167
- export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
6005
+ export type GetOrgResponse = GetOrgResponses[keyof GetOrgResponses];
7168
6006
 
7169
- export type GetConnectionOptionsData = {
7170
- body?: never;
6007
+ export type UpdateOrgData = {
6008
+ body: UpdateOrgRequest;
7171
6009
  path: {
7172
6010
  /**
7173
- * Graph Id
6011
+ * Org Id
7174
6012
  */
7175
- graph_id: string;
6013
+ org_id: string;
7176
6014
  };
7177
6015
  query?: never;
7178
- url: '/v1/graphs/{graph_id}/connections/options';
6016
+ url: '/v1/orgs/{org_id}';
7179
6017
  };
7180
6018
 
7181
- export type GetConnectionOptionsErrors = {
7182
- /**
7183
- * Access denied to graph
7184
- */
7185
- 403: ErrorResponse;
6019
+ export type UpdateOrgErrors = {
7186
6020
  /**
7187
6021
  * Validation Error
7188
6022
  */
7189
6023
  422: HttpValidationError;
7190
- /**
7191
- * Failed to retrieve options
7192
- */
7193
- 500: ErrorResponse;
7194
6024
  };
7195
6025
 
7196
- export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
6026
+ export type UpdateOrgError = UpdateOrgErrors[keyof UpdateOrgErrors];
7197
6027
 
7198
- export type GetConnectionOptionsResponses = {
6028
+ export type UpdateOrgResponses = {
7199
6029
  /**
7200
- * Connection options retrieved successfully
6030
+ * Successful Response
7201
6031
  */
7202
- 200: ConnectionOptionsResponse;
6032
+ 200: OrgDetailResponse;
7203
6033
  };
7204
6034
 
7205
- export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
6035
+ export type UpdateOrgResponse = UpdateOrgResponses[keyof UpdateOrgResponses];
7206
6036
 
7207
- export type ExchangeLinkTokenData = {
7208
- body: ExchangeTokenRequest;
6037
+ export type ListOrgGraphsData = {
6038
+ body?: never;
7209
6039
  path: {
7210
6040
  /**
7211
- * Graph Id
6041
+ * Org Id
7212
6042
  */
7213
- graph_id: string;
6043
+ org_id: string;
7214
6044
  };
7215
6045
  query?: never;
7216
- url: '/v1/graphs/{graph_id}/connections/link/exchange';
6046
+ url: '/v1/orgs/{org_id}/graphs';
7217
6047
  };
7218
6048
 
7219
- export type ExchangeLinkTokenErrors = {
7220
- /**
7221
- * Invalid token or provider
7222
- */
7223
- 400: ErrorResponse;
7224
- /**
7225
- * Connection not found
7226
- */
7227
- 404: ErrorResponse;
6049
+ export type ListOrgGraphsErrors = {
7228
6050
  /**
7229
6051
  * Validation Error
7230
6052
  */
7231
6053
  422: HttpValidationError;
7232
- /**
7233
- * Token exchange failed
7234
- */
7235
- 500: ErrorResponse;
7236
6054
  };
7237
6055
 
7238
- export type ExchangeLinkTokenError = ExchangeLinkTokenErrors[keyof ExchangeLinkTokenErrors];
6056
+ export type ListOrgGraphsError = ListOrgGraphsErrors[keyof ListOrgGraphsErrors];
7239
6057
 
7240
- export type ExchangeLinkTokenResponses = {
6058
+ export type ListOrgGraphsResponses = {
7241
6059
  /**
7242
- * Token exchanged successfully
6060
+ * Response Listorggraphs
6061
+ *
6062
+ * Successful Response
7243
6063
  */
7244
- 200: unknown;
6064
+ 200: Array<{
6065
+ [key: string]: unknown;
6066
+ }>;
7245
6067
  };
7246
6068
 
7247
- export type CreateLinkTokenData = {
7248
- body: LinkTokenRequest;
6069
+ export type ListOrgGraphsResponse = ListOrgGraphsResponses[keyof ListOrgGraphsResponses];
6070
+
6071
+ export type ListOrgMembersData = {
6072
+ body?: never;
7249
6073
  path: {
7250
6074
  /**
7251
- * Graph Id
6075
+ * Org Id
7252
6076
  */
7253
- graph_id: string;
6077
+ org_id: string;
7254
6078
  };
7255
6079
  query?: never;
7256
- url: '/v1/graphs/{graph_id}/connections/link/token';
6080
+ url: '/v1/orgs/{org_id}/members';
7257
6081
  };
7258
6082
 
7259
- export type CreateLinkTokenErrors = {
7260
- /**
7261
- * Invalid provider or request
7262
- */
7263
- 400: ErrorResponse;
7264
- /**
7265
- * Entity not found
7266
- */
7267
- 404: ErrorResponse;
6083
+ export type ListOrgMembersErrors = {
7268
6084
  /**
7269
6085
  * Validation Error
7270
6086
  */
7271
6087
  422: HttpValidationError;
7272
- /**
7273
- * Failed to create link token
7274
- */
7275
- 500: ErrorResponse;
7276
6088
  };
7277
6089
 
7278
- export type CreateLinkTokenError = CreateLinkTokenErrors[keyof CreateLinkTokenErrors];
6090
+ export type ListOrgMembersError = ListOrgMembersErrors[keyof ListOrgMembersErrors];
7279
6091
 
7280
- export type CreateLinkTokenResponses = {
6092
+ export type ListOrgMembersResponses = {
7281
6093
  /**
7282
- * Link token created successfully
6094
+ * Successful Response
7283
6095
  */
7284
- 200: unknown;
6096
+ 200: OrgMemberListResponse;
7285
6097
  };
7286
6098
 
7287
- export type InitOAuthData = {
7288
- body: OAuthInitRequest;
6099
+ export type ListOrgMembersResponse = ListOrgMembersResponses[keyof ListOrgMembersResponses];
6100
+
6101
+ export type InviteOrgMemberData = {
6102
+ body: InviteMemberRequest;
7289
6103
  path: {
7290
6104
  /**
7291
- * Graph Id
6105
+ * Org Id
7292
6106
  */
7293
- graph_id: string;
6107
+ org_id: string;
7294
6108
  };
7295
6109
  query?: never;
7296
- url: '/v1/graphs/{graph_id}/connections/oauth/init';
6110
+ url: '/v1/orgs/{org_id}/members';
7297
6111
  };
7298
6112
 
7299
- export type InitOAuthErrors = {
6113
+ export type InviteOrgMemberErrors = {
7300
6114
  /**
7301
6115
  * Validation Error
7302
6116
  */
7303
6117
  422: HttpValidationError;
7304
6118
  };
7305
6119
 
7306
- export type InitOAuthError = InitOAuthErrors[keyof InitOAuthErrors];
6120
+ export type InviteOrgMemberError = InviteOrgMemberErrors[keyof InviteOrgMemberErrors];
7307
6121
 
7308
- export type InitOAuthResponses = {
6122
+ export type InviteOrgMemberResponses = {
7309
6123
  /**
7310
6124
  * Successful Response
7311
6125
  */
7312
- 200: OAuthInitResponse;
6126
+ 201: OrgMemberResponse;
7313
6127
  };
7314
6128
 
7315
- export type InitOAuthResponse = InitOAuthResponses[keyof InitOAuthResponses];
6129
+ export type InviteOrgMemberResponse = InviteOrgMemberResponses[keyof InviteOrgMemberResponses];
7316
6130
 
7317
- export type OauthCallbackData = {
7318
- body: OAuthCallbackRequest;
6131
+ export type RemoveOrgMemberData = {
6132
+ body?: never;
7319
6133
  path: {
7320
6134
  /**
7321
- * Provider
7322
- *
7323
- * OAuth provider name
6135
+ * Org Id
7324
6136
  */
7325
- provider: string;
6137
+ org_id: string;
7326
6138
  /**
7327
- * Graph Id
6139
+ * User Id
7328
6140
  */
7329
- graph_id: string;
6141
+ user_id: string;
7330
6142
  };
7331
6143
  query?: never;
7332
- url: '/v1/graphs/{graph_id}/connections/oauth/callback/{provider}';
6144
+ url: '/v1/orgs/{org_id}/members/{user_id}';
7333
6145
  };
7334
6146
 
7335
- export type OauthCallbackErrors = {
7336
- /**
7337
- * OAuth error or invalid state
7338
- */
7339
- 400: ErrorResponse;
7340
- /**
7341
- * State does not match user
7342
- */
7343
- 403: ErrorResponse;
7344
- /**
7345
- * Connection not found
7346
- */
7347
- 404: ErrorResponse;
6147
+ export type RemoveOrgMemberErrors = {
7348
6148
  /**
7349
6149
  * Validation Error
7350
6150
  */
7351
6151
  422: HttpValidationError;
7352
- /**
7353
- * OAuth callback processing failed
7354
- */
7355
- 500: ErrorResponse;
7356
6152
  };
7357
6153
 
7358
- export type OauthCallbackError = OauthCallbackErrors[keyof OauthCallbackErrors];
6154
+ export type RemoveOrgMemberError = RemoveOrgMemberErrors[keyof RemoveOrgMemberErrors];
7359
6155
 
7360
- export type OauthCallbackResponses = {
6156
+ export type RemoveOrgMemberResponses = {
7361
6157
  /**
7362
- * OAuth flow completed successfully
6158
+ * Successful Response
7363
6159
  */
7364
- 200: unknown;
6160
+ 204: void;
7365
6161
  };
7366
6162
 
7367
- export type DeleteConnectionData = {
7368
- body?: never;
6163
+ export type RemoveOrgMemberResponse = RemoveOrgMemberResponses[keyof RemoveOrgMemberResponses];
6164
+
6165
+ export type UpdateOrgMemberRoleData = {
6166
+ body: UpdateMemberRoleRequest;
7369
6167
  path: {
7370
6168
  /**
7371
- * Graph Id
6169
+ * Org Id
7372
6170
  */
7373
- graph_id: string;
6171
+ org_id: string;
7374
6172
  /**
7375
- * Connection Id
7376
- *
7377
- * Connection identifier
6173
+ * User Id
7378
6174
  */
7379
- connection_id: string;
6175
+ user_id: string;
7380
6176
  };
7381
6177
  query?: never;
7382
- url: '/v1/graphs/{graph_id}/connections/{connection_id}';
6178
+ url: '/v1/orgs/{org_id}/members/{user_id}';
7383
6179
  };
7384
6180
 
7385
- export type DeleteConnectionErrors = {
7386
- /**
7387
- * Access denied - admin role required
7388
- */
7389
- 403: ErrorResponse;
7390
- /**
7391
- * Connection not found
7392
- */
7393
- 404: ErrorResponse;
6181
+ export type UpdateOrgMemberRoleErrors = {
7394
6182
  /**
7395
6183
  * Validation Error
7396
6184
  */
7397
6185
  422: HttpValidationError;
7398
- /**
7399
- * Failed to delete connection
7400
- */
7401
- 500: ErrorResponse;
7402
6186
  };
7403
6187
 
7404
- export type DeleteConnectionError = DeleteConnectionErrors[keyof DeleteConnectionErrors];
6188
+ export type UpdateOrgMemberRoleError = UpdateOrgMemberRoleErrors[keyof UpdateOrgMemberRoleErrors];
7405
6189
 
7406
- export type DeleteConnectionResponses = {
6190
+ export type UpdateOrgMemberRoleResponses = {
7407
6191
  /**
7408
- * Connection deleted successfully
6192
+ * Successful Response
7409
6193
  */
7410
- 200: SuccessResponse;
6194
+ 200: OrgMemberResponse;
7411
6195
  };
7412
6196
 
7413
- export type DeleteConnectionResponse = DeleteConnectionResponses[keyof DeleteConnectionResponses];
6197
+ export type UpdateOrgMemberRoleResponse = UpdateOrgMemberRoleResponses[keyof UpdateOrgMemberRoleResponses];
7414
6198
 
7415
- export type GetConnectionData = {
6199
+ export type GetOrgLimitsData = {
7416
6200
  body?: never;
7417
6201
  path: {
7418
6202
  /**
7419
- * Graph Id
7420
- */
7421
- graph_id: string;
7422
- /**
7423
- * Connection Id
7424
- *
7425
- * Unique connection identifier
6203
+ * Org Id
7426
6204
  */
7427
- connection_id: string;
6205
+ org_id: string;
7428
6206
  };
7429
6207
  query?: never;
7430
- url: '/v1/graphs/{graph_id}/connections/{connection_id}';
6208
+ url: '/v1/orgs/{org_id}/limits';
7431
6209
  };
7432
6210
 
7433
- export type GetConnectionErrors = {
7434
- /**
7435
- * Access denied to connection
7436
- */
7437
- 403: ErrorResponse;
7438
- /**
7439
- * Connection not found
7440
- */
7441
- 404: ErrorResponse;
6211
+ export type GetOrgLimitsErrors = {
7442
6212
  /**
7443
6213
  * Validation Error
7444
6214
  */
7445
6215
  422: HttpValidationError;
7446
- /**
7447
- * Failed to retrieve connection
7448
- */
7449
- 500: ErrorResponse;
7450
6216
  };
7451
6217
 
7452
- export type GetConnectionError = GetConnectionErrors[keyof GetConnectionErrors];
6218
+ export type GetOrgLimitsError = GetOrgLimitsErrors[keyof GetOrgLimitsErrors];
7453
6219
 
7454
- export type GetConnectionResponses = {
6220
+ export type GetOrgLimitsResponses = {
7455
6221
  /**
7456
- * Connection details retrieved successfully
6222
+ * Successful Response
7457
6223
  */
7458
- 200: ConnectionResponse;
6224
+ 200: OrgLimitsResponse;
7459
6225
  };
7460
6226
 
7461
- export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
6227
+ export type GetOrgLimitsResponse = GetOrgLimitsResponses[keyof GetOrgLimitsResponses];
7462
6228
 
7463
- export type SyncConnectionData = {
7464
- body: SyncConnectionRequest;
6229
+ export type GetOrgUsageData = {
6230
+ body?: never;
7465
6231
  path: {
7466
6232
  /**
7467
- * Graph Id
6233
+ * Org Id
7468
6234
  */
7469
- graph_id: string;
6235
+ org_id: string;
6236
+ };
6237
+ query?: {
7470
6238
  /**
7471
- * Connection Id
7472
- *
7473
- * Connection identifier
6239
+ * Days
7474
6240
  */
7475
- connection_id: string;
6241
+ days?: number;
7476
6242
  };
7477
- query?: never;
7478
- url: '/v1/graphs/{graph_id}/connections/{connection_id}/sync';
6243
+ url: '/v1/orgs/{org_id}/usage';
7479
6244
  };
7480
6245
 
7481
- export type SyncConnectionErrors = {
7482
- /**
7483
- * Access denied - admin role required
7484
- */
7485
- 403: ErrorResponse;
7486
- /**
7487
- * Connection not found
7488
- */
7489
- 404: ErrorResponse;
6246
+ export type GetOrgUsageErrors = {
7490
6247
  /**
7491
6248
  * Validation Error
7492
6249
  */
7493
6250
  422: HttpValidationError;
7494
- /**
7495
- * Failed to start sync
7496
- */
7497
- 500: ErrorResponse;
7498
6251
  };
7499
6252
 
7500
- export type SyncConnectionError = SyncConnectionErrors[keyof SyncConnectionErrors];
6253
+ export type GetOrgUsageError = GetOrgUsageErrors[keyof GetOrgUsageErrors];
7501
6254
 
7502
- export type SyncConnectionResponses = {
6255
+ export type GetOrgUsageResponses = {
7503
6256
  /**
7504
- * Response Syncconnection
7505
- *
7506
- * Sync started successfully
6257
+ * Successful Response
7507
6258
  */
7508
- 200: {
7509
- [key: string]: unknown;
7510
- };
6259
+ 200: OrgUsageResponse;
7511
6260
  };
7512
6261
 
7513
- export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
6262
+ export type GetOrgUsageResponse = GetOrgUsageResponses[keyof GetOrgUsageResponses];
7514
6263
 
7515
6264
  export type ListAgentsData = {
7516
6265
  body?: never;
@@ -9308,64 +8057,6 @@ export type QueryTablesResponses = {
9308
8057
 
9309
8058
  export type QueryTablesResponse = QueryTablesResponses[keyof QueryTablesResponses];
9310
8059
 
9311
- export type CreateViewData = {
9312
- body: CreateViewRequest;
9313
- path: {
9314
- /**
9315
- * Graph Id
9316
- */
9317
- graph_id: string;
9318
- };
9319
- query?: never;
9320
- url: '/v1/graphs/{graph_id}/views';
9321
- };
9322
-
9323
- export type CreateViewErrors = {
9324
- /**
9325
- * Validation Error
9326
- */
9327
- 422: HttpValidationError;
9328
- };
9329
-
9330
- export type CreateViewError = CreateViewErrors[keyof CreateViewErrors];
9331
-
9332
- export type CreateViewResponses = {
9333
- /**
9334
- * Successful Response
9335
- */
9336
- 200: unknown;
9337
- };
9338
-
9339
- export type SaveViewData = {
9340
- body: SaveViewRequest;
9341
- path: {
9342
- /**
9343
- * Graph Id
9344
- */
9345
- graph_id: string;
9346
- };
9347
- query?: never;
9348
- url: '/v1/graphs/{graph_id}/views/save';
9349
- };
9350
-
9351
- export type SaveViewErrors = {
9352
- /**
9353
- * Validation Error
9354
- */
9355
- 422: HttpValidationError;
9356
- };
9357
-
9358
- export type SaveViewError = SaveViewErrors[keyof SaveViewErrors];
9359
-
9360
- export type SaveViewResponses = {
9361
- /**
9362
- * Successful Response
9363
- */
9364
- 200: SaveViewResponse;
9365
- };
9366
-
9367
- export type SaveViewResponse2 = SaveViewResponses[keyof SaveViewResponses];
9368
-
9369
8060
  export type GetMaterializationStatusData = {
9370
8061
  body?: never;
9371
8062
  path: {