@robosystems/client 0.2.29 → 0.2.31

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
  */
@@ -2470,6 +2195,20 @@ export type GetFileInfoResponse = {
2470
2195
  layers?: EnhancedFileStatusLayers | null;
2471
2196
  };
2472
2197
 
2198
+ /**
2199
+ * GraphCapacityResponse
2200
+ *
2201
+ * Response containing capacity status for all customer-facing tiers.
2202
+ */
2203
+ export type GraphCapacityResponse = {
2204
+ /**
2205
+ * Tiers
2206
+ *
2207
+ * Capacity status per tier
2208
+ */
2209
+ tiers: Array<TierCapacity>;
2210
+ };
2211
+
2473
2212
  /**
2474
2213
  * GraphInfo
2475
2214
  *
@@ -2542,6 +2281,12 @@ export type GraphInfo = {
2542
2281
  * Type of graph: generic, entity, or repository
2543
2282
  */
2544
2283
  graphType?: string;
2284
+ /**
2285
+ * Status
2286
+ *
2287
+ * Graph lifecycle status: queued, provisioning, active, suspended
2288
+ */
2289
+ status?: string;
2545
2290
  };
2546
2291
 
2547
2292
  /**
@@ -2742,6 +2487,12 @@ export type GraphSubscriptionResponse = {
2742
2487
  * Current plan name
2743
2488
  */
2744
2489
  plan_name: string;
2490
+ /**
2491
+ * Plan Display Name
2492
+ *
2493
+ * Human-readable plan name for UI display
2494
+ */
2495
+ plan_display_name: string;
2745
2496
  /**
2746
2497
  * Billing Interval
2747
2498
  *
@@ -2837,12 +2588,6 @@ export type GraphSubscriptionTier = {
2837
2588
  * Monthly AI credits per graph
2838
2589
  */
2839
2590
  monthly_credits_per_graph: number;
2840
- /**
2841
- * Storage Included
2842
- *
2843
- * Whether storage is included in the tier
2844
- */
2845
- storage_included?: boolean;
2846
2591
  /**
2847
2592
  * Infrastructure
2848
2593
  *
@@ -2927,10 +2672,6 @@ export type GraphSubscriptions = {
2927
2672
  * Available infrastructure tiers
2928
2673
  */
2929
2674
  tiers: Array<GraphSubscriptionTier>;
2930
- /**
2931
- * Storage information
2932
- */
2933
- storage: StorageInfo;
2934
2675
  /**
2935
2676
  * Notes
2936
2677
  *
@@ -3051,12 +2792,6 @@ export type GraphTierInfo = {
3051
2792
  * Maximum subgraphs allowed
3052
2793
  */
3053
2794
  max_subgraphs: number | null;
3054
- /**
3055
- * Storage Limit Gb
3056
- *
3057
- * Storage limit in GB
3058
- */
3059
- storage_limit_gb: number;
3060
2795
  /**
3061
2796
  * Monthly Credits
3062
2797
  *
@@ -3123,12 +2858,6 @@ export type GraphTierInstance = {
3123
2858
  * Resource limits for a tier.
3124
2859
  */
3125
2860
  export type GraphTierLimits = {
3126
- /**
3127
- * Storage Gb
3128
- *
3129
- * Storage limit in GB
3130
- */
3131
- storage_gb: number;
3132
2861
  /**
3133
2862
  * Monthly Credits
3134
2863
  *
@@ -3463,46 +3192,6 @@ export type InvoicesResponse = {
3463
3192
  has_more: boolean;
3464
3193
  };
3465
3194
 
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
3195
  /**
3507
3196
  * ListSubgraphsResponse
3508
3197
  *
@@ -3778,143 +3467,51 @@ export type MaterializeStatusResponse = {
3778
3467
  };
3779
3468
 
3780
3469
  /**
3781
- * OAuthCallbackRequest
3470
+ * OfferingRepositoryPlan
3782
3471
  *
3783
- * OAuth callback parameters.
3472
+ * Information about a repository plan.
3784
3473
  */
3785
- export type OAuthCallbackRequest = {
3474
+ export type OfferingRepositoryPlan = {
3786
3475
  /**
3787
- * Code
3476
+ * Plan
3788
3477
  *
3789
- * Authorization code from OAuth provider
3478
+ * Plan identifier
3790
3479
  */
3791
- code: string;
3480
+ plan: string;
3792
3481
  /**
3793
- * State
3482
+ * Name
3794
3483
  *
3795
- * OAuth state for verification
3484
+ * Plan name
3796
3485
  */
3797
- state: string;
3486
+ name: string;
3798
3487
  /**
3799
- * Realm Id
3488
+ * Monthly Price
3800
3489
  *
3801
- * QuickBooks-specific realm ID
3490
+ * Monthly price in USD
3802
3491
  */
3803
- realm_id?: string | null;
3492
+ monthly_price: number;
3804
3493
  /**
3805
- * Error
3494
+ * Monthly Credits
3806
3495
  *
3807
- * OAuth error if authorization failed
3496
+ * Monthly credit allocation
3808
3497
  */
3809
- error?: string | null;
3498
+ monthly_credits: number;
3810
3499
  /**
3811
- * Error Description
3500
+ * Access Level
3812
3501
  *
3813
- * OAuth error details
3502
+ * Access level
3814
3503
  */
3815
- error_description?: string | null;
3816
- };
3817
-
3818
- /**
3819
- * OAuthInitRequest
3820
- *
3821
- * Request to initiate OAuth flow.
3822
- */
3823
- export type OAuthInitRequest = {
3504
+ access_level: string;
3824
3505
  /**
3825
- * Connection Id
3506
+ * Features
3826
3507
  *
3827
- * Connection ID to link OAuth to
3508
+ * List of features
3828
3509
  */
3829
- connection_id: string;
3510
+ features: Array<string>;
3830
3511
  /**
3831
- * Redirect Uri
3512
+ * Rate Limits
3832
3513
  *
3833
- * Override default redirect URI
3834
- */
3835
- redirect_uri?: string | null;
3836
- /**
3837
- * Additional Params
3838
- *
3839
- * Provider-specific parameters
3840
- */
3841
- additional_params?: {
3842
- [key: string]: string;
3843
- } | null;
3844
- };
3845
-
3846
- /**
3847
- * OAuthInitResponse
3848
- *
3849
- * Response with OAuth authorization URL.
3850
- */
3851
- export type OAuthInitResponse = {
3852
- /**
3853
- * Auth Url
3854
- *
3855
- * URL to redirect user for authorization
3856
- */
3857
- auth_url: string;
3858
- /**
3859
- * State
3860
- *
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
3514
+ * Rate limits for this plan
3918
3515
  */
3919
3516
  rate_limits?: {
3920
3517
  [key: string]: number | null;
@@ -4409,48 +4006,6 @@ export type PerformanceInsights = {
4409
4006
  performance_score: number;
4410
4007
  };
4411
4008
 
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
4009
  /**
4455
4010
  * PortalSessionResponse
4456
4011
  *
@@ -4497,26 +4052,6 @@ export type QueryLimits = {
4497
4052
  concurrent_queries: number;
4498
4053
  };
4499
4054
 
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
4055
  /**
4521
4056
  * RateLimits
4522
4057
  *
@@ -4701,26 +4236,6 @@ export type ResetPasswordValidateResponse = {
4701
4236
  */
4702
4237
  export type ResponseMode = 'auto' | 'sync' | 'async' | 'stream';
4703
4238
 
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
4239
  /**
4725
4240
  * SSOCompleteRequest
4726
4241
  *
@@ -4813,116 +4328,6 @@ export type SsoTokenResponse = {
4813
4328
  apps: Array<string>;
4814
4329
  };
4815
4330
 
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
4331
  /**
4927
4332
  * SchemaExportResponse
4928
4333
  *
@@ -5164,20 +4569,6 @@ export type ServiceOfferingsResponse = {
5164
4569
  summary: ServiceOfferingSummary;
5165
4570
  };
5166
4571
 
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
4572
  /**
5182
4573
  * StorageLimitResponse
5183
4574
  *
@@ -5292,28 +4683,6 @@ export type StorageSummary = {
5292
4683
  measurement_count: number;
5293
4684
  };
5294
4685
 
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
4686
  /**
5318
4687
  * SubgraphQuotaResponse
5319
4688
  *
@@ -5551,28 +4920,6 @@ export type SuccessResponse = {
5551
4920
  } | null;
5552
4921
  };
5553
4922
 
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
4923
  /**
5577
4924
  * TableInfo
5578
4925
  */
@@ -5675,6 +5022,38 @@ export type TableQueryResponse = {
5675
5022
  execution_time_ms: number;
5676
5023
  };
5677
5024
 
5025
+ /**
5026
+ * TierCapacity
5027
+ *
5028
+ * Capacity status for a single tier.
5029
+ */
5030
+ export type TierCapacity = {
5031
+ /**
5032
+ * Tier
5033
+ *
5034
+ * Tier identifier (e.g. ladybug-standard)
5035
+ */
5036
+ tier: string;
5037
+ /**
5038
+ * Display Name
5039
+ *
5040
+ * Human-readable tier name
5041
+ */
5042
+ display_name: string;
5043
+ /**
5044
+ * Status
5045
+ *
5046
+ * Capacity status: ready, scalable, or at_capacity
5047
+ */
5048
+ status: string;
5049
+ /**
5050
+ * Message
5051
+ *
5052
+ * Human-readable status message for frontend display
5053
+ */
5054
+ message: string;
5055
+ };
5056
+
5678
5057
  /**
5679
5058
  * TokenPricing
5680
5059
  *
@@ -5953,147 +5332,14 @@ export type ValidationError = {
5953
5332
  };
5954
5333
  };
5955
5334
 
5956
- /**
5957
- * ViewAxisConfig
5958
- */
5959
- export type ViewAxisConfig = {
5960
- /**
5961
- * Type
5962
- *
5963
- * Axis type: 'element', 'period', 'dimension', 'entity'
5964
- */
5965
- type: string;
5966
- /**
5967
- * Dimension Axis
5968
- *
5969
- * Dimension axis name for dimension-type axes
5970
- */
5971
- dimension_axis?: string | null;
5972
- /**
5973
- * Include Null Dimension
5974
- *
5975
- * Include facts where this dimension is NULL (default: false)
5976
- */
5977
- include_null_dimension?: boolean;
5978
- /**
5979
- * Selected Members
5980
- *
5981
- * Specific members to include (e.g., ['2024-12-31', '2023-12-31'])
5982
- */
5983
- selected_members?: Array<string> | null;
5984
- /**
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 = {
5335
+ export type RegisterUserData = {
5336
+ body: RegisterRequest;
5337
+ path?: never;
5338
+ query?: never;
5339
+ url: '/v1/auth/register';
5340
+ };
5341
+
5342
+ export type RegisterUserErrors = {
6097
5343
  /**
6098
5344
  * Invalid request data or missing CAPTCHA token (production only)
6099
5345
  */
@@ -6814,703 +6060,258 @@ export type UpdateOrgData = {
6814
6060
  body: UpdateOrgRequest;
6815
6061
  path: {
6816
6062
  /**
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;
7148
- /**
7149
- * Validation Error
7150
- */
7151
- 422: HttpValidationError;
7152
- /**
7153
- * Failed to create connection
7154
- */
7155
- 500: ErrorResponse;
7156
- };
7157
-
7158
- export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
7159
-
7160
- export type CreateConnectionResponses = {
7161
- /**
7162
- * Connection created successfully
7163
- */
7164
- 201: ConnectionResponse;
7165
- };
7166
-
7167
- export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
7168
-
7169
- export type GetConnectionOptionsData = {
7170
- body?: never;
7171
- path: {
7172
- /**
7173
- * Graph Id
6063
+ * Org Id
7174
6064
  */
7175
- graph_id: string;
6065
+ org_id: string;
7176
6066
  };
7177
6067
  query?: never;
7178
- url: '/v1/graphs/{graph_id}/connections/options';
6068
+ url: '/v1/orgs/{org_id}';
7179
6069
  };
7180
6070
 
7181
- export type GetConnectionOptionsErrors = {
7182
- /**
7183
- * Access denied to graph
7184
- */
7185
- 403: ErrorResponse;
6071
+ export type UpdateOrgErrors = {
7186
6072
  /**
7187
6073
  * Validation Error
7188
6074
  */
7189
6075
  422: HttpValidationError;
7190
- /**
7191
- * Failed to retrieve options
7192
- */
7193
- 500: ErrorResponse;
7194
6076
  };
7195
6077
 
7196
- export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
6078
+ export type UpdateOrgError = UpdateOrgErrors[keyof UpdateOrgErrors];
7197
6079
 
7198
- export type GetConnectionOptionsResponses = {
6080
+ export type UpdateOrgResponses = {
7199
6081
  /**
7200
- * Connection options retrieved successfully
6082
+ * Successful Response
7201
6083
  */
7202
- 200: ConnectionOptionsResponse;
6084
+ 200: OrgDetailResponse;
7203
6085
  };
7204
6086
 
7205
- export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
6087
+ export type UpdateOrgResponse = UpdateOrgResponses[keyof UpdateOrgResponses];
7206
6088
 
7207
- export type ExchangeLinkTokenData = {
7208
- body: ExchangeTokenRequest;
6089
+ export type ListOrgGraphsData = {
6090
+ body?: never;
7209
6091
  path: {
7210
6092
  /**
7211
- * Graph Id
6093
+ * Org Id
7212
6094
  */
7213
- graph_id: string;
6095
+ org_id: string;
7214
6096
  };
7215
6097
  query?: never;
7216
- url: '/v1/graphs/{graph_id}/connections/link/exchange';
6098
+ url: '/v1/orgs/{org_id}/graphs';
7217
6099
  };
7218
6100
 
7219
- export type ExchangeLinkTokenErrors = {
7220
- /**
7221
- * Invalid token or provider
7222
- */
7223
- 400: ErrorResponse;
7224
- /**
7225
- * Connection not found
7226
- */
7227
- 404: ErrorResponse;
6101
+ export type ListOrgGraphsErrors = {
7228
6102
  /**
7229
6103
  * Validation Error
7230
6104
  */
7231
6105
  422: HttpValidationError;
7232
- /**
7233
- * Token exchange failed
7234
- */
7235
- 500: ErrorResponse;
7236
6106
  };
7237
6107
 
7238
- export type ExchangeLinkTokenError = ExchangeLinkTokenErrors[keyof ExchangeLinkTokenErrors];
6108
+ export type ListOrgGraphsError = ListOrgGraphsErrors[keyof ListOrgGraphsErrors];
7239
6109
 
7240
- export type ExchangeLinkTokenResponses = {
6110
+ export type ListOrgGraphsResponses = {
7241
6111
  /**
7242
- * Token exchanged successfully
6112
+ * Response Listorggraphs
6113
+ *
6114
+ * Successful Response
7243
6115
  */
7244
- 200: unknown;
6116
+ 200: Array<{
6117
+ [key: string]: unknown;
6118
+ }>;
7245
6119
  };
7246
6120
 
7247
- export type CreateLinkTokenData = {
7248
- body: LinkTokenRequest;
6121
+ export type ListOrgGraphsResponse = ListOrgGraphsResponses[keyof ListOrgGraphsResponses];
6122
+
6123
+ export type ListOrgMembersData = {
6124
+ body?: never;
7249
6125
  path: {
7250
6126
  /**
7251
- * Graph Id
6127
+ * Org Id
7252
6128
  */
7253
- graph_id: string;
6129
+ org_id: string;
7254
6130
  };
7255
6131
  query?: never;
7256
- url: '/v1/graphs/{graph_id}/connections/link/token';
6132
+ url: '/v1/orgs/{org_id}/members';
7257
6133
  };
7258
6134
 
7259
- export type CreateLinkTokenErrors = {
7260
- /**
7261
- * Invalid provider or request
7262
- */
7263
- 400: ErrorResponse;
7264
- /**
7265
- * Entity not found
7266
- */
7267
- 404: ErrorResponse;
6135
+ export type ListOrgMembersErrors = {
7268
6136
  /**
7269
6137
  * Validation Error
7270
6138
  */
7271
6139
  422: HttpValidationError;
7272
- /**
7273
- * Failed to create link token
7274
- */
7275
- 500: ErrorResponse;
7276
6140
  };
7277
6141
 
7278
- export type CreateLinkTokenError = CreateLinkTokenErrors[keyof CreateLinkTokenErrors];
6142
+ export type ListOrgMembersError = ListOrgMembersErrors[keyof ListOrgMembersErrors];
7279
6143
 
7280
- export type CreateLinkTokenResponses = {
6144
+ export type ListOrgMembersResponses = {
7281
6145
  /**
7282
- * Link token created successfully
6146
+ * Successful Response
7283
6147
  */
7284
- 200: unknown;
6148
+ 200: OrgMemberListResponse;
7285
6149
  };
7286
6150
 
7287
- export type InitOAuthData = {
7288
- body: OAuthInitRequest;
6151
+ export type ListOrgMembersResponse = ListOrgMembersResponses[keyof ListOrgMembersResponses];
6152
+
6153
+ export type InviteOrgMemberData = {
6154
+ body: InviteMemberRequest;
7289
6155
  path: {
7290
6156
  /**
7291
- * Graph Id
6157
+ * Org Id
7292
6158
  */
7293
- graph_id: string;
6159
+ org_id: string;
7294
6160
  };
7295
6161
  query?: never;
7296
- url: '/v1/graphs/{graph_id}/connections/oauth/init';
6162
+ url: '/v1/orgs/{org_id}/members';
7297
6163
  };
7298
6164
 
7299
- export type InitOAuthErrors = {
6165
+ export type InviteOrgMemberErrors = {
7300
6166
  /**
7301
6167
  * Validation Error
7302
6168
  */
7303
6169
  422: HttpValidationError;
7304
6170
  };
7305
6171
 
7306
- export type InitOAuthError = InitOAuthErrors[keyof InitOAuthErrors];
6172
+ export type InviteOrgMemberError = InviteOrgMemberErrors[keyof InviteOrgMemberErrors];
7307
6173
 
7308
- export type InitOAuthResponses = {
6174
+ export type InviteOrgMemberResponses = {
7309
6175
  /**
7310
6176
  * Successful Response
7311
6177
  */
7312
- 200: OAuthInitResponse;
6178
+ 201: OrgMemberResponse;
7313
6179
  };
7314
6180
 
7315
- export type InitOAuthResponse = InitOAuthResponses[keyof InitOAuthResponses];
6181
+ export type InviteOrgMemberResponse = InviteOrgMemberResponses[keyof InviteOrgMemberResponses];
7316
6182
 
7317
- export type OauthCallbackData = {
7318
- body: OAuthCallbackRequest;
6183
+ export type RemoveOrgMemberData = {
6184
+ body?: never;
7319
6185
  path: {
7320
6186
  /**
7321
- * Provider
7322
- *
7323
- * OAuth provider name
6187
+ * Org Id
7324
6188
  */
7325
- provider: string;
6189
+ org_id: string;
7326
6190
  /**
7327
- * Graph Id
6191
+ * User Id
7328
6192
  */
7329
- graph_id: string;
6193
+ user_id: string;
7330
6194
  };
7331
6195
  query?: never;
7332
- url: '/v1/graphs/{graph_id}/connections/oauth/callback/{provider}';
6196
+ url: '/v1/orgs/{org_id}/members/{user_id}';
7333
6197
  };
7334
6198
 
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;
6199
+ export type RemoveOrgMemberErrors = {
7348
6200
  /**
7349
6201
  * Validation Error
7350
6202
  */
7351
6203
  422: HttpValidationError;
7352
- /**
7353
- * OAuth callback processing failed
7354
- */
7355
- 500: ErrorResponse;
7356
6204
  };
7357
6205
 
7358
- export type OauthCallbackError = OauthCallbackErrors[keyof OauthCallbackErrors];
6206
+ export type RemoveOrgMemberError = RemoveOrgMemberErrors[keyof RemoveOrgMemberErrors];
7359
6207
 
7360
- export type OauthCallbackResponses = {
6208
+ export type RemoveOrgMemberResponses = {
7361
6209
  /**
7362
- * OAuth flow completed successfully
6210
+ * Successful Response
7363
6211
  */
7364
- 200: unknown;
6212
+ 204: void;
7365
6213
  };
7366
6214
 
7367
- export type DeleteConnectionData = {
7368
- body?: never;
6215
+ export type RemoveOrgMemberResponse = RemoveOrgMemberResponses[keyof RemoveOrgMemberResponses];
6216
+
6217
+ export type UpdateOrgMemberRoleData = {
6218
+ body: UpdateMemberRoleRequest;
7369
6219
  path: {
7370
6220
  /**
7371
- * Graph Id
6221
+ * Org Id
7372
6222
  */
7373
- graph_id: string;
6223
+ org_id: string;
7374
6224
  /**
7375
- * Connection Id
7376
- *
7377
- * Connection identifier
6225
+ * User Id
7378
6226
  */
7379
- connection_id: string;
6227
+ user_id: string;
7380
6228
  };
7381
6229
  query?: never;
7382
- url: '/v1/graphs/{graph_id}/connections/{connection_id}';
6230
+ url: '/v1/orgs/{org_id}/members/{user_id}';
7383
6231
  };
7384
6232
 
7385
- export type DeleteConnectionErrors = {
7386
- /**
7387
- * Access denied - admin role required
7388
- */
7389
- 403: ErrorResponse;
7390
- /**
7391
- * Connection not found
7392
- */
7393
- 404: ErrorResponse;
6233
+ export type UpdateOrgMemberRoleErrors = {
7394
6234
  /**
7395
6235
  * Validation Error
7396
6236
  */
7397
6237
  422: HttpValidationError;
7398
- /**
7399
- * Failed to delete connection
7400
- */
7401
- 500: ErrorResponse;
7402
6238
  };
7403
6239
 
7404
- export type DeleteConnectionError = DeleteConnectionErrors[keyof DeleteConnectionErrors];
6240
+ export type UpdateOrgMemberRoleError = UpdateOrgMemberRoleErrors[keyof UpdateOrgMemberRoleErrors];
7405
6241
 
7406
- export type DeleteConnectionResponses = {
6242
+ export type UpdateOrgMemberRoleResponses = {
7407
6243
  /**
7408
- * Connection deleted successfully
6244
+ * Successful Response
7409
6245
  */
7410
- 200: SuccessResponse;
6246
+ 200: OrgMemberResponse;
7411
6247
  };
7412
6248
 
7413
- export type DeleteConnectionResponse = DeleteConnectionResponses[keyof DeleteConnectionResponses];
6249
+ export type UpdateOrgMemberRoleResponse = UpdateOrgMemberRoleResponses[keyof UpdateOrgMemberRoleResponses];
7414
6250
 
7415
- export type GetConnectionData = {
6251
+ export type GetOrgLimitsData = {
7416
6252
  body?: never;
7417
6253
  path: {
7418
6254
  /**
7419
- * Graph Id
7420
- */
7421
- graph_id: string;
7422
- /**
7423
- * Connection Id
7424
- *
7425
- * Unique connection identifier
6255
+ * Org Id
7426
6256
  */
7427
- connection_id: string;
6257
+ org_id: string;
7428
6258
  };
7429
6259
  query?: never;
7430
- url: '/v1/graphs/{graph_id}/connections/{connection_id}';
6260
+ url: '/v1/orgs/{org_id}/limits';
7431
6261
  };
7432
6262
 
7433
- export type GetConnectionErrors = {
7434
- /**
7435
- * Access denied to connection
7436
- */
7437
- 403: ErrorResponse;
7438
- /**
7439
- * Connection not found
7440
- */
7441
- 404: ErrorResponse;
6263
+ export type GetOrgLimitsErrors = {
7442
6264
  /**
7443
6265
  * Validation Error
7444
6266
  */
7445
6267
  422: HttpValidationError;
7446
- /**
7447
- * Failed to retrieve connection
7448
- */
7449
- 500: ErrorResponse;
7450
6268
  };
7451
6269
 
7452
- export type GetConnectionError = GetConnectionErrors[keyof GetConnectionErrors];
6270
+ export type GetOrgLimitsError = GetOrgLimitsErrors[keyof GetOrgLimitsErrors];
7453
6271
 
7454
- export type GetConnectionResponses = {
6272
+ export type GetOrgLimitsResponses = {
7455
6273
  /**
7456
- * Connection details retrieved successfully
6274
+ * Successful Response
7457
6275
  */
7458
- 200: ConnectionResponse;
6276
+ 200: OrgLimitsResponse;
7459
6277
  };
7460
6278
 
7461
- export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
6279
+ export type GetOrgLimitsResponse = GetOrgLimitsResponses[keyof GetOrgLimitsResponses];
7462
6280
 
7463
- export type SyncConnectionData = {
7464
- body: SyncConnectionRequest;
6281
+ export type GetOrgUsageData = {
6282
+ body?: never;
7465
6283
  path: {
7466
6284
  /**
7467
- * Graph Id
6285
+ * Org Id
7468
6286
  */
7469
- graph_id: string;
6287
+ org_id: string;
6288
+ };
6289
+ query?: {
7470
6290
  /**
7471
- * Connection Id
7472
- *
7473
- * Connection identifier
6291
+ * Days
7474
6292
  */
7475
- connection_id: string;
6293
+ days?: number;
7476
6294
  };
7477
- query?: never;
7478
- url: '/v1/graphs/{graph_id}/connections/{connection_id}/sync';
6295
+ url: '/v1/orgs/{org_id}/usage';
7479
6296
  };
7480
6297
 
7481
- export type SyncConnectionErrors = {
7482
- /**
7483
- * Access denied - admin role required
7484
- */
7485
- 403: ErrorResponse;
7486
- /**
7487
- * Connection not found
7488
- */
7489
- 404: ErrorResponse;
6298
+ export type GetOrgUsageErrors = {
7490
6299
  /**
7491
6300
  * Validation Error
7492
6301
  */
7493
6302
  422: HttpValidationError;
7494
- /**
7495
- * Failed to start sync
7496
- */
7497
- 500: ErrorResponse;
7498
6303
  };
7499
6304
 
7500
- export type SyncConnectionError = SyncConnectionErrors[keyof SyncConnectionErrors];
6305
+ export type GetOrgUsageError = GetOrgUsageErrors[keyof GetOrgUsageErrors];
7501
6306
 
7502
- export type SyncConnectionResponses = {
6307
+ export type GetOrgUsageResponses = {
7503
6308
  /**
7504
- * Response Syncconnection
7505
- *
7506
- * Sync started successfully
6309
+ * Successful Response
7507
6310
  */
7508
- 200: {
7509
- [key: string]: unknown;
7510
- };
6311
+ 200: OrgUsageResponse;
7511
6312
  };
7512
6313
 
7513
- export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
6314
+ export type GetOrgUsageResponse = GetOrgUsageResponses[keyof GetOrgUsageResponses];
7514
6315
 
7515
6316
  export type ListAgentsData = {
7516
6317
  body?: never;
@@ -9308,64 +8109,6 @@ export type QueryTablesResponses = {
9308
8109
 
9309
8110
  export type QueryTablesResponse = QueryTablesResponses[keyof QueryTablesResponses];
9310
8111
 
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
8112
  export type GetMaterializationStatusData = {
9370
8113
  body?: never;
9371
8114
  path: {
@@ -9835,6 +8578,29 @@ export type GetAvailableGraphTiersResponses = {
9835
8578
 
9836
8579
  export type GetAvailableGraphTiersResponse = GetAvailableGraphTiersResponses[keyof GetAvailableGraphTiersResponses];
9837
8580
 
8581
+ export type GetGraphCapacityData = {
8582
+ body?: never;
8583
+ path?: never;
8584
+ query?: never;
8585
+ url: '/v1/graphs/capacity';
8586
+ };
8587
+
8588
+ export type GetGraphCapacityErrors = {
8589
+ /**
8590
+ * Failed to check capacity
8591
+ */
8592
+ 500: unknown;
8593
+ };
8594
+
8595
+ export type GetGraphCapacityResponses = {
8596
+ /**
8597
+ * Capacity status retrieved successfully
8598
+ */
8599
+ 200: GraphCapacityResponse;
8600
+ };
8601
+
8602
+ export type GetGraphCapacityResponse = GetGraphCapacityResponses[keyof GetGraphCapacityResponses];
8603
+
9838
8604
  export type SelectGraphData = {
9839
8605
  body?: never;
9840
8606
  path: {