@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.d.ts CHANGED
@@ -916,7 +916,7 @@ export type CheckoutStatusResponse = {
916
916
  /**
917
917
  * Status
918
918
  *
919
- * Checkout status: 'pending_payment', 'provisioning', 'completed', 'failed'
919
+ * Checkout status: 'pending_payment', 'provisioning', 'active', 'failed', 'canceled'
920
920
  */
921
921
  status: string;
922
922
  /**
@@ -944,161 +944,6 @@ export type CheckoutStatusResponse = {
944
944
  */
945
945
  error?: string | null;
946
946
  };
947
- /**
948
- * ConnectionOptionsResponse
949
- *
950
- * Response with all available connection options.
951
- */
952
- export type ConnectionOptionsResponse = {
953
- /**
954
- * Providers
955
- *
956
- * Available connection providers
957
- */
958
- providers: Array<ConnectionProviderInfo>;
959
- /**
960
- * Total Providers
961
- *
962
- * Total number of providers
963
- */
964
- total_providers: number;
965
- };
966
- /**
967
- * ConnectionProviderInfo
968
- *
969
- * Information about a connection provider.
970
- */
971
- export type ConnectionProviderInfo = {
972
- /**
973
- * Provider
974
- *
975
- * Provider identifier
976
- */
977
- provider: 'sec' | 'quickbooks' | 'plaid';
978
- /**
979
- * Display Name
980
- *
981
- * Human-readable provider name
982
- */
983
- display_name: string;
984
- /**
985
- * Description
986
- *
987
- * Provider description
988
- */
989
- description: string;
990
- /**
991
- * Auth Type
992
- *
993
- * Authentication type
994
- */
995
- auth_type: 'none' | 'oauth' | 'link' | 'api_key';
996
- /**
997
- * Auth Flow
998
- *
999
- * Description of authentication flow
1000
- */
1001
- auth_flow?: string | null;
1002
- /**
1003
- * Required Config
1004
- *
1005
- * Required configuration fields
1006
- */
1007
- required_config: Array<string>;
1008
- /**
1009
- * Optional Config
1010
- *
1011
- * Optional configuration fields
1012
- */
1013
- optional_config?: Array<string>;
1014
- /**
1015
- * Features
1016
- *
1017
- * Supported features
1018
- */
1019
- features: Array<string>;
1020
- /**
1021
- * Sync Frequency
1022
- *
1023
- * Typical sync frequency
1024
- */
1025
- sync_frequency?: string | null;
1026
- /**
1027
- * Data Types
1028
- *
1029
- * Types of data available
1030
- */
1031
- data_types: Array<string>;
1032
- /**
1033
- * Setup Instructions
1034
- *
1035
- * Setup instructions
1036
- */
1037
- setup_instructions?: string | null;
1038
- /**
1039
- * Documentation Url
1040
- *
1041
- * Link to documentation
1042
- */
1043
- documentation_url?: string | null;
1044
- };
1045
- /**
1046
- * ConnectionResponse
1047
- *
1048
- * Connection response model.
1049
- */
1050
- export type ConnectionResponse = {
1051
- /**
1052
- * Connection Id
1053
- *
1054
- * Unique connection identifier
1055
- */
1056
- connection_id: string;
1057
- /**
1058
- * Provider
1059
- *
1060
- * Connection provider type
1061
- */
1062
- provider: 'sec' | 'quickbooks' | 'plaid';
1063
- /**
1064
- * Entity Id
1065
- *
1066
- * Entity identifier
1067
- */
1068
- entity_id: string;
1069
- /**
1070
- * Status
1071
- *
1072
- * Connection status
1073
- */
1074
- status: string;
1075
- /**
1076
- * Created At
1077
- *
1078
- * Creation timestamp
1079
- */
1080
- created_at: string;
1081
- /**
1082
- * Updated At
1083
- *
1084
- * Last update timestamp
1085
- */
1086
- updated_at?: string | null;
1087
- /**
1088
- * Last Sync
1089
- *
1090
- * Last sync timestamp
1091
- */
1092
- last_sync?: string | null;
1093
- /**
1094
- * Metadata
1095
- *
1096
- * Provider-specific metadata
1097
- */
1098
- metadata: {
1099
- [key: string]: unknown;
1100
- };
1101
- };
1102
947
  /**
1103
948
  * ContentLimits
1104
949
  *
@@ -1266,28 +1111,6 @@ export type CreateCheckoutRequest = {
1266
1111
  [key: string]: unknown;
1267
1112
  };
1268
1113
  };
1269
- /**
1270
- * CreateConnectionRequest
1271
- *
1272
- * Request to create a new connection.
1273
- */
1274
- export type CreateConnectionRequest = {
1275
- /**
1276
- * Provider
1277
- *
1278
- * Connection provider type
1279
- */
1280
- provider: 'sec' | 'quickbooks' | 'plaid';
1281
- /**
1282
- * Entity Id
1283
- *
1284
- * Entity identifier
1285
- */
1286
- entity_id: string;
1287
- sec_config?: SecConnectionConfig | null;
1288
- quickbooks_config?: QuickBooksConnectionConfig | null;
1289
- plaid_config?: PlaidConnectionConfig | null;
1290
- };
1291
1114
  /**
1292
1115
  * CreateGraphRequest
1293
1116
  *
@@ -1403,37 +1226,6 @@ export type CreateSubgraphRequest = {
1403
1226
  */
1404
1227
  fork_parent?: boolean;
1405
1228
  };
1406
- /**
1407
- * CreateViewRequest
1408
- */
1409
- export type CreateViewRequest = {
1410
- /**
1411
- * Name
1412
- *
1413
- * Optional name for the view
1414
- */
1415
- name?: string | null;
1416
- /**
1417
- * Data source configuration
1418
- */
1419
- source: ViewSource;
1420
- /**
1421
- * View configuration
1422
- */
1423
- view_config?: ViewConfig;
1424
- /**
1425
- * Presentation Formats
1426
- *
1427
- * Presentation formats to generate
1428
- */
1429
- presentation_formats?: Array<string>;
1430
- /**
1431
- * Mapping Structure Id
1432
- *
1433
- * Optional mapping structure ID to aggregate Chart of Accounts elements into reporting taxonomy elements
1434
- */
1435
- mapping_structure_id?: string | null;
1436
- };
1437
1229
  /**
1438
1230
  * CreditLimits
1439
1231
  *
@@ -2077,66 +1869,6 @@ export type ErrorResponse = {
2077
1869
  */
2078
1870
  timestamp?: string | null;
2079
1871
  };
2080
- /**
2081
- * ExchangeTokenRequest
2082
- *
2083
- * Exchange temporary token for permanent credentials.
2084
- */
2085
- export type ExchangeTokenRequest = {
2086
- /**
2087
- * Connection Id
2088
- *
2089
- * Connection ID to update
2090
- */
2091
- connection_id: string;
2092
- /**
2093
- * Public Token
2094
- *
2095
- * Temporary token from embedded auth
2096
- */
2097
- public_token: string;
2098
- /**
2099
- * Metadata
2100
- *
2101
- * Provider-specific metadata
2102
- */
2103
- metadata?: {
2104
- [key: string]: unknown;
2105
- } | null;
2106
- };
2107
- /**
2108
- * FactDetail
2109
- */
2110
- export type FactDetail = {
2111
- /**
2112
- * Fact Id
2113
- */
2114
- fact_id: string;
2115
- /**
2116
- * Element Uri
2117
- */
2118
- element_uri: string;
2119
- /**
2120
- * Element Name
2121
- */
2122
- element_name: string;
2123
- /**
2124
- * Numeric Value
2125
- */
2126
- numeric_value: number;
2127
- /**
2128
- * Unit
2129
- */
2130
- unit: string;
2131
- /**
2132
- * Period Start
2133
- */
2134
- period_start: string;
2135
- /**
2136
- * Period End
2137
- */
2138
- period_end: string;
2139
- };
2140
1872
  /**
2141
1873
  * FileInfo
2142
1874
  */
@@ -2400,6 +2132,19 @@ export type GetFileInfoResponse = {
2400
2132
  */
2401
2133
  layers?: EnhancedFileStatusLayers | null;
2402
2134
  };
2135
+ /**
2136
+ * GraphCapacityResponse
2137
+ *
2138
+ * Response containing capacity status for all customer-facing tiers.
2139
+ */
2140
+ export type GraphCapacityResponse = {
2141
+ /**
2142
+ * Tiers
2143
+ *
2144
+ * Capacity status per tier
2145
+ */
2146
+ tiers: Array<TierCapacity>;
2147
+ };
2403
2148
  /**
2404
2149
  * GraphInfo
2405
2150
  *
@@ -2472,6 +2217,12 @@ export type GraphInfo = {
2472
2217
  * Type of graph: generic, entity, or repository
2473
2218
  */
2474
2219
  graphType?: string;
2220
+ /**
2221
+ * Status
2222
+ *
2223
+ * Graph lifecycle status: queued, provisioning, active, suspended
2224
+ */
2225
+ status?: string;
2475
2226
  };
2476
2227
  /**
2477
2228
  * GraphLimitsResponse
@@ -2668,6 +2419,12 @@ export type GraphSubscriptionResponse = {
2668
2419
  * Current plan name
2669
2420
  */
2670
2421
  plan_name: string;
2422
+ /**
2423
+ * Plan Display Name
2424
+ *
2425
+ * Human-readable plan name for UI display
2426
+ */
2427
+ plan_display_name: string;
2671
2428
  /**
2672
2429
  * Billing Interval
2673
2430
  *
@@ -2762,12 +2519,6 @@ export type GraphSubscriptionTier = {
2762
2519
  * Monthly AI credits per graph
2763
2520
  */
2764
2521
  monthly_credits_per_graph: number;
2765
- /**
2766
- * Storage Included
2767
- *
2768
- * Whether storage is included in the tier
2769
- */
2770
- storage_included?: boolean;
2771
2522
  /**
2772
2523
  * Infrastructure
2773
2524
  *
@@ -2851,10 +2602,6 @@ export type GraphSubscriptions = {
2851
2602
  * Available infrastructure tiers
2852
2603
  */
2853
2604
  tiers: Array<GraphSubscriptionTier>;
2854
- /**
2855
- * Storage information
2856
- */
2857
- storage: StorageInfo;
2858
2605
  /**
2859
2606
  * Notes
2860
2607
  *
@@ -2972,12 +2719,6 @@ export type GraphTierInfo = {
2972
2719
  * Maximum subgraphs allowed
2973
2720
  */
2974
2721
  max_subgraphs: number | null;
2975
- /**
2976
- * Storage Limit Gb
2977
- *
2978
- * Storage limit in GB
2979
- */
2980
- storage_limit_gb: number;
2981
2722
  /**
2982
2723
  * Monthly Credits
2983
2724
  *
@@ -3042,12 +2783,6 @@ export type GraphTierInstance = {
3042
2783
  * Resource limits for a tier.
3043
2784
  */
3044
2785
  export type GraphTierLimits = {
3045
- /**
3046
- * Storage Gb
3047
- *
3048
- * Storage limit in GB
3049
- */
3050
- storage_gb: number;
3051
2786
  /**
3052
2787
  * Monthly Credits
3053
2788
  *
@@ -3373,45 +3108,6 @@ export type InvoicesResponse = {
3373
3108
  */
3374
3109
  has_more: boolean;
3375
3110
  };
3376
- /**
3377
- * LinkTokenRequest
3378
- *
3379
- * Request to create a link token for embedded authentication.
3380
- */
3381
- export type LinkTokenRequest = {
3382
- /**
3383
- * Entity Id
3384
- *
3385
- * Entity identifier
3386
- */
3387
- entity_id: string;
3388
- /**
3389
- * User Id
3390
- *
3391
- * User identifier
3392
- */
3393
- user_id: string;
3394
- /**
3395
- * Provider
3396
- *
3397
- * Provider type (defaults based on connection)
3398
- */
3399
- provider?: 'sec' | 'quickbooks' | 'plaid' | null;
3400
- /**
3401
- * Products
3402
- *
3403
- * Data products to request (provider-specific)
3404
- */
3405
- products?: Array<string> | null;
3406
- /**
3407
- * Options
3408
- *
3409
- * Provider-specific options
3410
- */
3411
- options?: {
3412
- [key: string]: unknown;
3413
- } | null;
3414
- };
3415
3111
  /**
3416
3112
  * ListSubgraphsResponse
3417
3113
  *
@@ -3679,155 +3375,66 @@ export type MaterializeStatusResponse = {
3679
3375
  message: string;
3680
3376
  };
3681
3377
  /**
3682
- * OAuthCallbackRequest
3378
+ * OfferingRepositoryPlan
3683
3379
  *
3684
- * OAuth callback parameters.
3380
+ * Information about a repository plan.
3685
3381
  */
3686
- export type OAuthCallbackRequest = {
3687
- /**
3688
- * Code
3689
- *
3690
- * Authorization code from OAuth provider
3691
- */
3692
- code: string;
3382
+ export type OfferingRepositoryPlan = {
3693
3383
  /**
3694
- * State
3384
+ * Plan
3695
3385
  *
3696
- * OAuth state for verification
3386
+ * Plan identifier
3697
3387
  */
3698
- state: string;
3388
+ plan: string;
3699
3389
  /**
3700
- * Realm Id
3390
+ * Name
3701
3391
  *
3702
- * QuickBooks-specific realm ID
3392
+ * Plan name
3703
3393
  */
3704
- realm_id?: string | null;
3394
+ name: string;
3705
3395
  /**
3706
- * Error
3396
+ * Monthly Price
3707
3397
  *
3708
- * OAuth error if authorization failed
3398
+ * Monthly price in USD
3709
3399
  */
3710
- error?: string | null;
3400
+ monthly_price: number;
3711
3401
  /**
3712
- * Error Description
3402
+ * Monthly Credits
3713
3403
  *
3714
- * OAuth error details
3404
+ * Monthly credit allocation
3715
3405
  */
3716
- error_description?: string | null;
3717
- };
3718
- /**
3719
- * OAuthInitRequest
3720
- *
3721
- * Request to initiate OAuth flow.
3722
- */
3723
- export type OAuthInitRequest = {
3406
+ monthly_credits: number;
3724
3407
  /**
3725
- * Connection Id
3408
+ * Access Level
3726
3409
  *
3727
- * Connection ID to link OAuth to
3410
+ * Access level
3728
3411
  */
3729
- connection_id: string;
3412
+ access_level: string;
3730
3413
  /**
3731
- * Redirect Uri
3414
+ * Features
3732
3415
  *
3733
- * Override default redirect URI
3416
+ * List of features
3734
3417
  */
3735
- redirect_uri?: string | null;
3418
+ features: Array<string>;
3736
3419
  /**
3737
- * Additional Params
3420
+ * Rate Limits
3738
3421
  *
3739
- * Provider-specific parameters
3422
+ * Rate limits for this plan
3740
3423
  */
3741
- additional_params?: {
3742
- [key: string]: string;
3424
+ rate_limits?: {
3425
+ [key: string]: number | null;
3743
3426
  } | null;
3744
3427
  };
3745
3428
  /**
3746
- * OAuthInitResponse
3429
+ * OperationCosts
3747
3430
  *
3748
- * Response with OAuth authorization URL.
3431
+ * Operation cost information.
3749
3432
  */
3750
- export type OAuthInitResponse = {
3433
+ export type OperationCosts = {
3751
3434
  /**
3752
- * Auth Url
3435
+ * Description
3753
3436
  *
3754
- * URL to redirect user for authorization
3755
- */
3756
- auth_url: string;
3757
- /**
3758
- * State
3759
- *
3760
- * OAuth state for security
3761
- */
3762
- state: string;
3763
- /**
3764
- * Expires At
3765
- *
3766
- * When this OAuth request expires
3767
- */
3768
- expires_at: string;
3769
- };
3770
- /**
3771
- * OfferingRepositoryPlan
3772
- *
3773
- * Information about a repository plan.
3774
- */
3775
- export type OfferingRepositoryPlan = {
3776
- /**
3777
- * Plan
3778
- *
3779
- * Plan identifier
3780
- */
3781
- plan: string;
3782
- /**
3783
- * Name
3784
- *
3785
- * Plan name
3786
- */
3787
- name: string;
3788
- /**
3789
- * Monthly Price
3790
- *
3791
- * Monthly price in USD
3792
- */
3793
- monthly_price: number;
3794
- /**
3795
- * Monthly Credits
3796
- *
3797
- * Monthly credit allocation
3798
- */
3799
- monthly_credits: number;
3800
- /**
3801
- * Access Level
3802
- *
3803
- * Access level
3804
- */
3805
- access_level: string;
3806
- /**
3807
- * Features
3808
- *
3809
- * List of features
3810
- */
3811
- features: Array<string>;
3812
- /**
3813
- * Rate Limits
3814
- *
3815
- * Rate limits for this plan
3816
- */
3817
- rate_limits?: {
3818
- [key: string]: number | null;
3819
- } | null;
3820
- };
3821
- /**
3822
- * OperationCosts
3823
- *
3824
- * Operation cost information.
3825
- */
3826
- export type OperationCosts = {
3827
- /**
3828
- * Description
3829
- *
3830
- * Description of operation costs
3437
+ * Description of operation costs
3831
3438
  */
3832
3439
  description: string;
3833
3440
  /**
@@ -4290,47 +3897,6 @@ export type PerformanceInsights = {
4290
3897
  */
4291
3898
  performance_score: number;
4292
3899
  };
4293
- /**
4294
- * PlaidConnectionConfig
4295
- *
4296
- * Plaid-specific connection configuration.
4297
- */
4298
- export type PlaidConnectionConfig = {
4299
- /**
4300
- * Public Token
4301
- *
4302
- * Plaid public token for exchange
4303
- */
4304
- public_token?: string | null;
4305
- /**
4306
- * Access Token
4307
- *
4308
- * Plaid access token (set after exchange)
4309
- */
4310
- access_token?: string | null;
4311
- /**
4312
- * Item Id
4313
- *
4314
- * Plaid item ID
4315
- */
4316
- item_id?: string | null;
4317
- /**
4318
- * Institution
4319
- *
4320
- * Institution information
4321
- */
4322
- institution?: {
4323
- [key: string]: unknown;
4324
- } | null;
4325
- /**
4326
- * Accounts
4327
- *
4328
- * Connected accounts
4329
- */
4330
- accounts?: Array<{
4331
- [key: string]: unknown;
4332
- }> | null;
4333
- };
4334
3900
  /**
4335
3901
  * PortalSessionResponse
4336
3902
  *
@@ -4375,25 +3941,6 @@ export type QueryLimits = {
4375
3941
  */
4376
3942
  concurrent_queries: number;
4377
3943
  };
4378
- /**
4379
- * QuickBooksConnectionConfig
4380
- *
4381
- * QuickBooks-specific connection configuration.
4382
- */
4383
- export type QuickBooksConnectionConfig = {
4384
- /**
4385
- * Realm Id
4386
- *
4387
- * QuickBooks Realm ID
4388
- */
4389
- realm_id?: string | null;
4390
- /**
4391
- * Refresh Token
4392
- *
4393
- * OAuth refresh token
4394
- */
4395
- refresh_token?: string | null;
4396
- };
4397
3944
  /**
4398
3945
  * RateLimits
4399
3946
  *
@@ -4571,25 +4118,6 @@ export type ResetPasswordValidateResponse = {
4571
4118
  * Response modes for execution.
4572
4119
  */
4573
4120
  export type ResponseMode = 'auto' | 'sync' | 'async' | 'stream';
4574
- /**
4575
- * SECConnectionConfig
4576
- *
4577
- * SEC-specific connection configuration.
4578
- */
4579
- export type SecConnectionConfig = {
4580
- /**
4581
- * Cik
4582
- *
4583
- * 10-digit CIK number
4584
- */
4585
- cik: string;
4586
- /**
4587
- * Entity Name
4588
- *
4589
- * Entity name from SEC
4590
- */
4591
- entity_name?: string | null;
4592
- };
4593
4121
  /**
4594
4122
  * SSOCompleteRequest
4595
4123
  *
@@ -4678,114 +4206,6 @@ export type SsoTokenResponse = {
4678
4206
  */
4679
4207
  apps: Array<string>;
4680
4208
  };
4681
- /**
4682
- * SaveViewRequest
4683
- */
4684
- export type SaveViewRequest = {
4685
- /**
4686
- * Report Id
4687
- *
4688
- * Existing report ID to update (if provided, deletes existing facts/structures and creates new ones)
4689
- */
4690
- report_id?: string | null;
4691
- /**
4692
- * Report Type
4693
- *
4694
- * Type of report (e.g., 'Annual Report', 'Quarterly Report', '10-K')
4695
- */
4696
- report_type: string;
4697
- /**
4698
- * Period Start
4699
- *
4700
- * Period start date (YYYY-MM-DD)
4701
- */
4702
- period_start: string;
4703
- /**
4704
- * Period End
4705
- *
4706
- * Period end date (YYYY-MM-DD)
4707
- */
4708
- period_end: string;
4709
- /**
4710
- * Entity Id
4711
- *
4712
- * Entity identifier (defaults to primary entity)
4713
- */
4714
- entity_id?: string | null;
4715
- /**
4716
- * Include Presentation
4717
- *
4718
- * Create presentation structures
4719
- */
4720
- include_presentation?: boolean;
4721
- /**
4722
- * Include Calculation
4723
- *
4724
- * Create calculation structures
4725
- */
4726
- include_calculation?: boolean;
4727
- };
4728
- /**
4729
- * SaveViewResponse
4730
- */
4731
- export type SaveViewResponse = {
4732
- /**
4733
- * Report Id
4734
- *
4735
- * Unique report identifier (used as parquet export prefix)
4736
- */
4737
- report_id: string;
4738
- /**
4739
- * Report Type
4740
- */
4741
- report_type: string;
4742
- /**
4743
- * Entity Id
4744
- */
4745
- entity_id: string;
4746
- /**
4747
- * Entity Name
4748
- */
4749
- entity_name: string;
4750
- /**
4751
- * Period Start
4752
- */
4753
- period_start: string;
4754
- /**
4755
- * Period End
4756
- */
4757
- period_end: string;
4758
- /**
4759
- * Fact Count
4760
- */
4761
- fact_count: number;
4762
- /**
4763
- * Presentation Count
4764
- */
4765
- presentation_count: number;
4766
- /**
4767
- * Calculation Count
4768
- */
4769
- calculation_count: number;
4770
- /**
4771
- * Facts
4772
- */
4773
- facts: Array<FactDetail>;
4774
- /**
4775
- * Structures
4776
- */
4777
- structures: Array<StructureDetail>;
4778
- /**
4779
- * Created At
4780
- */
4781
- created_at: string;
4782
- /**
4783
- * Parquet Export Prefix
4784
- *
4785
- * Prefix for parquet file exports
4786
- */
4787
- parquet_export_prefix: string;
4788
- };
4789
4209
  /**
4790
4210
  * SchemaExportResponse
4791
4211
  *
@@ -5020,19 +4440,6 @@ export type ServiceOfferingsResponse = {
5020
4440
  */
5021
4441
  summary: ServiceOfferingSummary;
5022
4442
  };
5023
- /**
5024
- * StorageInfo
5025
- *
5026
- * Storage information.
5027
- */
5028
- export type StorageInfo = {
5029
- /**
5030
- * Description
5031
- *
5032
- * Storage billing description
5033
- */
5034
- description?: string;
5035
- };
5036
4443
  /**
5037
4444
  * StorageLimitResponse
5038
4445
  *
@@ -5144,27 +4551,6 @@ export type StorageSummary = {
5144
4551
  */
5145
4552
  measurement_count: number;
5146
4553
  };
5147
- /**
5148
- * StructureDetail
5149
- */
5150
- export type StructureDetail = {
5151
- /**
5152
- * Structure Id
5153
- */
5154
- structure_id: string;
5155
- /**
5156
- * Structure Type
5157
- */
5158
- structure_type: string;
5159
- /**
5160
- * Name
5161
- */
5162
- name: string;
5163
- /**
5164
- * Element Count
5165
- */
5166
- element_count: number;
5167
- };
5168
4554
  /**
5169
4555
  * SubgraphQuotaResponse
5170
4556
  *
@@ -5397,27 +4783,6 @@ export type SuccessResponse = {
5397
4783
  [key: string]: unknown;
5398
4784
  } | null;
5399
4785
  };
5400
- /**
5401
- * SyncConnectionRequest
5402
- *
5403
- * Request to sync a connection.
5404
- */
5405
- export type SyncConnectionRequest = {
5406
- /**
5407
- * Full Sync
5408
- *
5409
- * Perform full sync vs incremental
5410
- */
5411
- full_sync?: boolean;
5412
- /**
5413
- * Sync Options
5414
- *
5415
- * Provider-specific sync options
5416
- */
5417
- sync_options?: {
5418
- [key: string]: unknown;
5419
- } | null;
5420
- };
5421
4786
  /**
5422
4787
  * TableInfo
5423
4788
  */
@@ -5516,6 +4881,37 @@ export type TableQueryResponse = {
5516
4881
  */
5517
4882
  execution_time_ms: number;
5518
4883
  };
4884
+ /**
4885
+ * TierCapacity
4886
+ *
4887
+ * Capacity status for a single tier.
4888
+ */
4889
+ export type TierCapacity = {
4890
+ /**
4891
+ * Tier
4892
+ *
4893
+ * Tier identifier (e.g. ladybug-standard)
4894
+ */
4895
+ tier: string;
4896
+ /**
4897
+ * Display Name
4898
+ *
4899
+ * Human-readable tier name
4900
+ */
4901
+ display_name: string;
4902
+ /**
4903
+ * Status
4904
+ *
4905
+ * Capacity status: ready, scalable, or at_capacity
4906
+ */
4907
+ status: string;
4908
+ /**
4909
+ * Message
4910
+ *
4911
+ * Human-readable status message for frontend display
4912
+ */
4913
+ message: string;
4914
+ };
5519
4915
  /**
5520
4916
  * TokenPricing
5521
4917
  *
@@ -5782,152 +5178,23 @@ export type ValidationError = {
5782
5178
  [key: string]: unknown;
5783
5179
  };
5784
5180
  };
5785
- /**
5786
- * ViewAxisConfig
5787
- */
5788
- export type ViewAxisConfig = {
5181
+ export type RegisterUserData = {
5182
+ body: RegisterRequest;
5183
+ path?: never;
5184
+ query?: never;
5185
+ url: '/v1/auth/register';
5186
+ };
5187
+ export type RegisterUserErrors = {
5789
5188
  /**
5790
- * Type
5791
- *
5792
- * Axis type: 'element', 'period', 'dimension', 'entity'
5189
+ * Invalid request data or missing CAPTCHA token (production only)
5793
5190
  */
5794
- type: string;
5191
+ 400: ErrorResponse;
5795
5192
  /**
5796
- * Dimension Axis
5797
- *
5798
- * Dimension axis name for dimension-type axes
5193
+ * Email already registered
5799
5194
  */
5800
- dimension_axis?: string | null;
5195
+ 409: ErrorResponse;
5801
5196
  /**
5802
- * Include Null Dimension
5803
- *
5804
- * Include facts where this dimension is NULL (default: false)
5805
- */
5806
- include_null_dimension?: boolean;
5807
- /**
5808
- * Selected Members
5809
- *
5810
- * Specific members to include (e.g., ['2024-12-31', '2023-12-31'])
5811
- */
5812
- selected_members?: Array<string> | null;
5813
- /**
5814
- * Member Order
5815
- *
5816
- * Explicit ordering of members (overrides default sort)
5817
- */
5818
- member_order?: Array<string> | null;
5819
- /**
5820
- * Member Labels
5821
- *
5822
- * Custom labels for members (e.g., {'2024-12-31': 'Current Year'})
5823
- */
5824
- member_labels?: {
5825
- [key: string]: string;
5826
- } | null;
5827
- /**
5828
- * Element Order
5829
- *
5830
- * Element ordering for hierarchy display (e.g., ['us-gaap:Assets', 'us-gaap:Cash', ...])
5831
- */
5832
- element_order?: Array<string> | null;
5833
- /**
5834
- * Element Labels
5835
- *
5836
- * Custom labels for elements (e.g., {'us-gaap:Cash': 'Cash and Cash Equivalents'})
5837
- */
5838
- element_labels?: {
5839
- [key: string]: string;
5840
- } | null;
5841
- };
5842
- /**
5843
- * ViewConfig
5844
- */
5845
- export type ViewConfig = {
5846
- /**
5847
- * Rows
5848
- *
5849
- * Row axis configuration
5850
- */
5851
- rows?: Array<ViewAxisConfig>;
5852
- /**
5853
- * Columns
5854
- *
5855
- * Column axis configuration
5856
- */
5857
- columns?: Array<ViewAxisConfig>;
5858
- /**
5859
- * Values
5860
- *
5861
- * Field to use for values (default: numeric_value)
5862
- */
5863
- values?: string;
5864
- /**
5865
- * Aggregation Function
5866
- *
5867
- * Aggregation function: sum, average, count
5868
- */
5869
- aggregation_function?: string;
5870
- /**
5871
- * Fill Value
5872
- *
5873
- * Value to use for missing data
5874
- */
5875
- fill_value?: number;
5876
- };
5877
- /**
5878
- * ViewSource
5879
- */
5880
- export type ViewSource = {
5881
- /**
5882
- * Type of data source
5883
- */
5884
- type: ViewSourceType;
5885
- /**
5886
- * Period Start
5887
- *
5888
- * Start date for transaction aggregation (YYYY-MM-DD)
5889
- */
5890
- period_start?: string | null;
5891
- /**
5892
- * Period End
5893
- *
5894
- * End date for transaction aggregation (YYYY-MM-DD)
5895
- */
5896
- period_end?: string | null;
5897
- /**
5898
- * Fact Set Id
5899
- *
5900
- * FactSet ID for existing facts mode
5901
- */
5902
- fact_set_id?: string | null;
5903
- /**
5904
- * Entity Id
5905
- *
5906
- * Filter by entity (optional)
5907
- */
5908
- entity_id?: string | null;
5909
- };
5910
- /**
5911
- * ViewSourceType
5912
- */
5913
- export type ViewSourceType = 'transactions' | 'fact_set';
5914
- export type RegisterUserData = {
5915
- body: RegisterRequest;
5916
- path?: never;
5917
- query?: never;
5918
- url: '/v1/auth/register';
5919
- };
5920
- export type RegisterUserErrors = {
5921
- /**
5922
- * Invalid request data or missing CAPTCHA token (production only)
5923
- */
5924
- 400: ErrorResponse;
5925
- /**
5926
- * Email already registered
5927
- */
5928
- 409: ErrorResponse;
5929
- /**
5930
- * Validation Error
5197
+ * Validation Error
5931
5198
  */
5932
5199
  422: HttpValidationError;
5933
5200
  /**
@@ -6497,639 +5764,241 @@ export type GetOrgData = {
6497
5764
  * Org Id
6498
5765
  */
6499
5766
  org_id: string;
6500
- };
6501
- query?: never;
6502
- url: '/v1/orgs/{org_id}';
6503
- };
6504
- export type GetOrgErrors = {
6505
- /**
6506
- * Validation Error
6507
- */
6508
- 422: HttpValidationError;
6509
- };
6510
- export type GetOrgError = GetOrgErrors[keyof GetOrgErrors];
6511
- export type GetOrgResponses = {
6512
- /**
6513
- * Successful Response
6514
- */
6515
- 200: OrgDetailResponse;
6516
- };
6517
- export type GetOrgResponse = GetOrgResponses[keyof GetOrgResponses];
6518
- export type UpdateOrgData = {
6519
- body: UpdateOrgRequest;
6520
- path: {
6521
- /**
6522
- * Org Id
6523
- */
6524
- org_id: string;
6525
- };
6526
- query?: never;
6527
- url: '/v1/orgs/{org_id}';
6528
- };
6529
- export type UpdateOrgErrors = {
6530
- /**
6531
- * Validation Error
6532
- */
6533
- 422: HttpValidationError;
6534
- };
6535
- export type UpdateOrgError = UpdateOrgErrors[keyof UpdateOrgErrors];
6536
- export type UpdateOrgResponses = {
6537
- /**
6538
- * Successful Response
6539
- */
6540
- 200: OrgDetailResponse;
6541
- };
6542
- export type UpdateOrgResponse = UpdateOrgResponses[keyof UpdateOrgResponses];
6543
- export type ListOrgGraphsData = {
6544
- body?: never;
6545
- path: {
6546
- /**
6547
- * Org Id
6548
- */
6549
- org_id: string;
6550
- };
6551
- query?: never;
6552
- url: '/v1/orgs/{org_id}/graphs';
6553
- };
6554
- export type ListOrgGraphsErrors = {
6555
- /**
6556
- * Validation Error
6557
- */
6558
- 422: HttpValidationError;
6559
- };
6560
- export type ListOrgGraphsError = ListOrgGraphsErrors[keyof ListOrgGraphsErrors];
6561
- export type ListOrgGraphsResponses = {
6562
- /**
6563
- * Response Listorggraphs
6564
- *
6565
- * Successful Response
6566
- */
6567
- 200: Array<{
6568
- [key: string]: unknown;
6569
- }>;
6570
- };
6571
- export type ListOrgGraphsResponse = ListOrgGraphsResponses[keyof ListOrgGraphsResponses];
6572
- export type ListOrgMembersData = {
6573
- body?: never;
6574
- path: {
6575
- /**
6576
- * Org Id
6577
- */
6578
- org_id: string;
6579
- };
6580
- query?: never;
6581
- url: '/v1/orgs/{org_id}/members';
6582
- };
6583
- export type ListOrgMembersErrors = {
6584
- /**
6585
- * Validation Error
6586
- */
6587
- 422: HttpValidationError;
6588
- };
6589
- export type ListOrgMembersError = ListOrgMembersErrors[keyof ListOrgMembersErrors];
6590
- export type ListOrgMembersResponses = {
6591
- /**
6592
- * Successful Response
6593
- */
6594
- 200: OrgMemberListResponse;
6595
- };
6596
- export type ListOrgMembersResponse = ListOrgMembersResponses[keyof ListOrgMembersResponses];
6597
- export type InviteOrgMemberData = {
6598
- body: InviteMemberRequest;
6599
- path: {
6600
- /**
6601
- * Org Id
6602
- */
6603
- org_id: string;
6604
- };
6605
- query?: never;
6606
- url: '/v1/orgs/{org_id}/members';
6607
- };
6608
- export type InviteOrgMemberErrors = {
6609
- /**
6610
- * Validation Error
6611
- */
6612
- 422: HttpValidationError;
6613
- };
6614
- export type InviteOrgMemberError = InviteOrgMemberErrors[keyof InviteOrgMemberErrors];
6615
- export type InviteOrgMemberResponses = {
6616
- /**
6617
- * Successful Response
6618
- */
6619
- 201: OrgMemberResponse;
6620
- };
6621
- export type InviteOrgMemberResponse = InviteOrgMemberResponses[keyof InviteOrgMemberResponses];
6622
- export type RemoveOrgMemberData = {
6623
- body?: never;
6624
- path: {
6625
- /**
6626
- * Org Id
6627
- */
6628
- org_id: string;
6629
- /**
6630
- * User Id
6631
- */
6632
- user_id: string;
6633
- };
6634
- query?: never;
6635
- url: '/v1/orgs/{org_id}/members/{user_id}';
6636
- };
6637
- export type RemoveOrgMemberErrors = {
6638
- /**
6639
- * Validation Error
6640
- */
6641
- 422: HttpValidationError;
6642
- };
6643
- export type RemoveOrgMemberError = RemoveOrgMemberErrors[keyof RemoveOrgMemberErrors];
6644
- export type RemoveOrgMemberResponses = {
6645
- /**
6646
- * Successful Response
6647
- */
6648
- 204: void;
6649
- };
6650
- export type RemoveOrgMemberResponse = RemoveOrgMemberResponses[keyof RemoveOrgMemberResponses];
6651
- export type UpdateOrgMemberRoleData = {
6652
- body: UpdateMemberRoleRequest;
6653
- path: {
6654
- /**
6655
- * Org Id
6656
- */
6657
- org_id: string;
6658
- /**
6659
- * User Id
6660
- */
6661
- user_id: string;
6662
- };
6663
- query?: never;
6664
- url: '/v1/orgs/{org_id}/members/{user_id}';
6665
- };
6666
- export type UpdateOrgMemberRoleErrors = {
6667
- /**
6668
- * Validation Error
6669
- */
6670
- 422: HttpValidationError;
6671
- };
6672
- export type UpdateOrgMemberRoleError = UpdateOrgMemberRoleErrors[keyof UpdateOrgMemberRoleErrors];
6673
- export type UpdateOrgMemberRoleResponses = {
6674
- /**
6675
- * Successful Response
6676
- */
6677
- 200: OrgMemberResponse;
6678
- };
6679
- export type UpdateOrgMemberRoleResponse = UpdateOrgMemberRoleResponses[keyof UpdateOrgMemberRoleResponses];
6680
- export type GetOrgLimitsData = {
6681
- body?: never;
6682
- path: {
6683
- /**
6684
- * Org Id
6685
- */
6686
- org_id: string;
6687
- };
6688
- query?: never;
6689
- url: '/v1/orgs/{org_id}/limits';
6690
- };
6691
- export type GetOrgLimitsErrors = {
6692
- /**
6693
- * Validation Error
6694
- */
6695
- 422: HttpValidationError;
6696
- };
6697
- export type GetOrgLimitsError = GetOrgLimitsErrors[keyof GetOrgLimitsErrors];
6698
- export type GetOrgLimitsResponses = {
6699
- /**
6700
- * Successful Response
6701
- */
6702
- 200: OrgLimitsResponse;
6703
- };
6704
- export type GetOrgLimitsResponse = GetOrgLimitsResponses[keyof GetOrgLimitsResponses];
6705
- export type GetOrgUsageData = {
6706
- body?: never;
6707
- path: {
6708
- /**
6709
- * Org Id
6710
- */
6711
- org_id: string;
6712
- };
6713
- query?: {
6714
- /**
6715
- * Days
6716
- */
6717
- days?: number;
6718
- };
6719
- url: '/v1/orgs/{org_id}/usage';
6720
- };
6721
- export type GetOrgUsageErrors = {
6722
- /**
6723
- * Validation Error
6724
- */
6725
- 422: HttpValidationError;
6726
- };
6727
- export type GetOrgUsageError = GetOrgUsageErrors[keyof GetOrgUsageErrors];
6728
- export type GetOrgUsageResponses = {
6729
- /**
6730
- * Successful Response
6731
- */
6732
- 200: OrgUsageResponse;
6733
- };
6734
- export type GetOrgUsageResponse = GetOrgUsageResponses[keyof GetOrgUsageResponses];
6735
- export type ListConnectionsData = {
6736
- body?: never;
6737
- path: {
6738
- /**
6739
- * Graph Id
6740
- */
6741
- graph_id: string;
6742
- };
6743
- query?: {
6744
- /**
6745
- * Entity Id
6746
- *
6747
- * Filter by entity ID
6748
- */
6749
- entity_id?: string | null;
6750
- /**
6751
- * Provider
6752
- *
6753
- * Filter by provider type
6754
- */
6755
- provider?: 'sec' | 'quickbooks' | 'plaid' | null;
6756
- };
6757
- url: '/v1/graphs/{graph_id}/connections';
6758
- };
6759
- export type ListConnectionsErrors = {
6760
- /**
6761
- * Access denied to graph
6762
- */
6763
- 403: ErrorResponse;
6764
- /**
6765
- * Validation Error
6766
- */
6767
- 422: HttpValidationError;
6768
- /**
6769
- * Failed to list connections
6770
- */
6771
- 500: ErrorResponse;
6772
- };
6773
- export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
6774
- export type ListConnectionsResponses = {
6775
- /**
6776
- * Response Listconnections
6777
- *
6778
- * Connections retrieved successfully
6779
- */
6780
- 200: Array<ConnectionResponse>;
6781
- };
6782
- export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
6783
- export type CreateConnectionData = {
6784
- body: CreateConnectionRequest;
6785
- path: {
6786
- /**
6787
- * Graph Id
6788
- */
6789
- graph_id: string;
6790
- };
6791
- query?: never;
6792
- url: '/v1/graphs/{graph_id}/connections';
6793
- };
6794
- export type CreateConnectionErrors = {
6795
- /**
6796
- * Invalid connection configuration
6797
- */
6798
- 400: ErrorResponse;
6799
- /**
6800
- * Access denied - admin role required
6801
- */
6802
- 403: ErrorResponse;
6803
- /**
6804
- * Connection already exists
6805
- */
6806
- 409: ErrorResponse;
5767
+ };
5768
+ query?: never;
5769
+ url: '/v1/orgs/{org_id}';
5770
+ };
5771
+ export type GetOrgErrors = {
6807
5772
  /**
6808
5773
  * Validation Error
6809
5774
  */
6810
5775
  422: HttpValidationError;
6811
- /**
6812
- * Failed to create connection
6813
- */
6814
- 500: ErrorResponse;
6815
5776
  };
6816
- export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
6817
- export type CreateConnectionResponses = {
5777
+ export type GetOrgError = GetOrgErrors[keyof GetOrgErrors];
5778
+ export type GetOrgResponses = {
6818
5779
  /**
6819
- * Connection created successfully
5780
+ * Successful Response
6820
5781
  */
6821
- 201: ConnectionResponse;
5782
+ 200: OrgDetailResponse;
6822
5783
  };
6823
- export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
6824
- export type GetConnectionOptionsData = {
6825
- body?: never;
5784
+ export type GetOrgResponse = GetOrgResponses[keyof GetOrgResponses];
5785
+ export type UpdateOrgData = {
5786
+ body: UpdateOrgRequest;
6826
5787
  path: {
6827
5788
  /**
6828
- * Graph Id
5789
+ * Org Id
6829
5790
  */
6830
- graph_id: string;
5791
+ org_id: string;
6831
5792
  };
6832
5793
  query?: never;
6833
- url: '/v1/graphs/{graph_id}/connections/options';
5794
+ url: '/v1/orgs/{org_id}';
6834
5795
  };
6835
- export type GetConnectionOptionsErrors = {
6836
- /**
6837
- * Access denied to graph
6838
- */
6839
- 403: ErrorResponse;
5796
+ export type UpdateOrgErrors = {
6840
5797
  /**
6841
5798
  * Validation Error
6842
5799
  */
6843
5800
  422: HttpValidationError;
6844
- /**
6845
- * Failed to retrieve options
6846
- */
6847
- 500: ErrorResponse;
6848
5801
  };
6849
- export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
6850
- export type GetConnectionOptionsResponses = {
5802
+ export type UpdateOrgError = UpdateOrgErrors[keyof UpdateOrgErrors];
5803
+ export type UpdateOrgResponses = {
6851
5804
  /**
6852
- * Connection options retrieved successfully
5805
+ * Successful Response
6853
5806
  */
6854
- 200: ConnectionOptionsResponse;
5807
+ 200: OrgDetailResponse;
6855
5808
  };
6856
- export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
6857
- export type ExchangeLinkTokenData = {
6858
- body: ExchangeTokenRequest;
5809
+ export type UpdateOrgResponse = UpdateOrgResponses[keyof UpdateOrgResponses];
5810
+ export type ListOrgGraphsData = {
5811
+ body?: never;
6859
5812
  path: {
6860
5813
  /**
6861
- * Graph Id
5814
+ * Org Id
6862
5815
  */
6863
- graph_id: string;
5816
+ org_id: string;
6864
5817
  };
6865
5818
  query?: never;
6866
- url: '/v1/graphs/{graph_id}/connections/link/exchange';
5819
+ url: '/v1/orgs/{org_id}/graphs';
6867
5820
  };
6868
- export type ExchangeLinkTokenErrors = {
6869
- /**
6870
- * Invalid token or provider
6871
- */
6872
- 400: ErrorResponse;
6873
- /**
6874
- * Connection not found
6875
- */
6876
- 404: ErrorResponse;
5821
+ export type ListOrgGraphsErrors = {
6877
5822
  /**
6878
5823
  * Validation Error
6879
5824
  */
6880
5825
  422: HttpValidationError;
6881
- /**
6882
- * Token exchange failed
6883
- */
6884
- 500: ErrorResponse;
6885
5826
  };
6886
- export type ExchangeLinkTokenError = ExchangeLinkTokenErrors[keyof ExchangeLinkTokenErrors];
6887
- export type ExchangeLinkTokenResponses = {
5827
+ export type ListOrgGraphsError = ListOrgGraphsErrors[keyof ListOrgGraphsErrors];
5828
+ export type ListOrgGraphsResponses = {
6888
5829
  /**
6889
- * Token exchanged successfully
5830
+ * Response Listorggraphs
5831
+ *
5832
+ * Successful Response
6890
5833
  */
6891
- 200: unknown;
5834
+ 200: Array<{
5835
+ [key: string]: unknown;
5836
+ }>;
6892
5837
  };
6893
- export type CreateLinkTokenData = {
6894
- body: LinkTokenRequest;
5838
+ export type ListOrgGraphsResponse = ListOrgGraphsResponses[keyof ListOrgGraphsResponses];
5839
+ export type ListOrgMembersData = {
5840
+ body?: never;
6895
5841
  path: {
6896
5842
  /**
6897
- * Graph Id
5843
+ * Org Id
6898
5844
  */
6899
- graph_id: string;
5845
+ org_id: string;
6900
5846
  };
6901
5847
  query?: never;
6902
- url: '/v1/graphs/{graph_id}/connections/link/token';
5848
+ url: '/v1/orgs/{org_id}/members';
6903
5849
  };
6904
- export type CreateLinkTokenErrors = {
6905
- /**
6906
- * Invalid provider or request
6907
- */
6908
- 400: ErrorResponse;
6909
- /**
6910
- * Entity not found
6911
- */
6912
- 404: ErrorResponse;
5850
+ export type ListOrgMembersErrors = {
6913
5851
  /**
6914
5852
  * Validation Error
6915
5853
  */
6916
5854
  422: HttpValidationError;
6917
- /**
6918
- * Failed to create link token
6919
- */
6920
- 500: ErrorResponse;
6921
5855
  };
6922
- export type CreateLinkTokenError = CreateLinkTokenErrors[keyof CreateLinkTokenErrors];
6923
- export type CreateLinkTokenResponses = {
5856
+ export type ListOrgMembersError = ListOrgMembersErrors[keyof ListOrgMembersErrors];
5857
+ export type ListOrgMembersResponses = {
6924
5858
  /**
6925
- * Link token created successfully
5859
+ * Successful Response
6926
5860
  */
6927
- 200: unknown;
5861
+ 200: OrgMemberListResponse;
6928
5862
  };
6929
- export type InitOAuthData = {
6930
- body: OAuthInitRequest;
5863
+ export type ListOrgMembersResponse = ListOrgMembersResponses[keyof ListOrgMembersResponses];
5864
+ export type InviteOrgMemberData = {
5865
+ body: InviteMemberRequest;
6931
5866
  path: {
6932
5867
  /**
6933
- * Graph Id
5868
+ * Org Id
6934
5869
  */
6935
- graph_id: string;
5870
+ org_id: string;
6936
5871
  };
6937
5872
  query?: never;
6938
- url: '/v1/graphs/{graph_id}/connections/oauth/init';
5873
+ url: '/v1/orgs/{org_id}/members';
6939
5874
  };
6940
- export type InitOAuthErrors = {
5875
+ export type InviteOrgMemberErrors = {
6941
5876
  /**
6942
5877
  * Validation Error
6943
5878
  */
6944
5879
  422: HttpValidationError;
6945
5880
  };
6946
- export type InitOAuthError = InitOAuthErrors[keyof InitOAuthErrors];
6947
- export type InitOAuthResponses = {
5881
+ export type InviteOrgMemberError = InviteOrgMemberErrors[keyof InviteOrgMemberErrors];
5882
+ export type InviteOrgMemberResponses = {
6948
5883
  /**
6949
5884
  * Successful Response
6950
5885
  */
6951
- 200: OAuthInitResponse;
5886
+ 201: OrgMemberResponse;
6952
5887
  };
6953
- export type InitOAuthResponse = InitOAuthResponses[keyof InitOAuthResponses];
6954
- export type OauthCallbackData = {
6955
- body: OAuthCallbackRequest;
5888
+ export type InviteOrgMemberResponse = InviteOrgMemberResponses[keyof InviteOrgMemberResponses];
5889
+ export type RemoveOrgMemberData = {
5890
+ body?: never;
6956
5891
  path: {
6957
5892
  /**
6958
- * Provider
6959
- *
6960
- * OAuth provider name
5893
+ * Org Id
6961
5894
  */
6962
- provider: string;
5895
+ org_id: string;
6963
5896
  /**
6964
- * Graph Id
5897
+ * User Id
6965
5898
  */
6966
- graph_id: string;
5899
+ user_id: string;
6967
5900
  };
6968
5901
  query?: never;
6969
- url: '/v1/graphs/{graph_id}/connections/oauth/callback/{provider}';
5902
+ url: '/v1/orgs/{org_id}/members/{user_id}';
6970
5903
  };
6971
- export type OauthCallbackErrors = {
6972
- /**
6973
- * OAuth error or invalid state
6974
- */
6975
- 400: ErrorResponse;
6976
- /**
6977
- * State does not match user
6978
- */
6979
- 403: ErrorResponse;
6980
- /**
6981
- * Connection not found
6982
- */
6983
- 404: ErrorResponse;
5904
+ export type RemoveOrgMemberErrors = {
6984
5905
  /**
6985
5906
  * Validation Error
6986
5907
  */
6987
5908
  422: HttpValidationError;
6988
- /**
6989
- * OAuth callback processing failed
6990
- */
6991
- 500: ErrorResponse;
6992
5909
  };
6993
- export type OauthCallbackError = OauthCallbackErrors[keyof OauthCallbackErrors];
6994
- export type OauthCallbackResponses = {
5910
+ export type RemoveOrgMemberError = RemoveOrgMemberErrors[keyof RemoveOrgMemberErrors];
5911
+ export type RemoveOrgMemberResponses = {
6995
5912
  /**
6996
- * OAuth flow completed successfully
5913
+ * Successful Response
6997
5914
  */
6998
- 200: unknown;
5915
+ 204: void;
6999
5916
  };
7000
- export type DeleteConnectionData = {
7001
- body?: never;
5917
+ export type RemoveOrgMemberResponse = RemoveOrgMemberResponses[keyof RemoveOrgMemberResponses];
5918
+ export type UpdateOrgMemberRoleData = {
5919
+ body: UpdateMemberRoleRequest;
7002
5920
  path: {
7003
5921
  /**
7004
- * Graph Id
5922
+ * Org Id
7005
5923
  */
7006
- graph_id: string;
5924
+ org_id: string;
7007
5925
  /**
7008
- * Connection Id
7009
- *
7010
- * Connection identifier
5926
+ * User Id
7011
5927
  */
7012
- connection_id: string;
5928
+ user_id: string;
7013
5929
  };
7014
5930
  query?: never;
7015
- url: '/v1/graphs/{graph_id}/connections/{connection_id}';
5931
+ url: '/v1/orgs/{org_id}/members/{user_id}';
7016
5932
  };
7017
- export type DeleteConnectionErrors = {
7018
- /**
7019
- * Access denied - admin role required
7020
- */
7021
- 403: ErrorResponse;
7022
- /**
7023
- * Connection not found
7024
- */
7025
- 404: ErrorResponse;
5933
+ export type UpdateOrgMemberRoleErrors = {
7026
5934
  /**
7027
5935
  * Validation Error
7028
5936
  */
7029
5937
  422: HttpValidationError;
7030
- /**
7031
- * Failed to delete connection
7032
- */
7033
- 500: ErrorResponse;
7034
5938
  };
7035
- export type DeleteConnectionError = DeleteConnectionErrors[keyof DeleteConnectionErrors];
7036
- export type DeleteConnectionResponses = {
5939
+ export type UpdateOrgMemberRoleError = UpdateOrgMemberRoleErrors[keyof UpdateOrgMemberRoleErrors];
5940
+ export type UpdateOrgMemberRoleResponses = {
7037
5941
  /**
7038
- * Connection deleted successfully
5942
+ * Successful Response
7039
5943
  */
7040
- 200: SuccessResponse;
5944
+ 200: OrgMemberResponse;
7041
5945
  };
7042
- export type DeleteConnectionResponse = DeleteConnectionResponses[keyof DeleteConnectionResponses];
7043
- export type GetConnectionData = {
5946
+ export type UpdateOrgMemberRoleResponse = UpdateOrgMemberRoleResponses[keyof UpdateOrgMemberRoleResponses];
5947
+ export type GetOrgLimitsData = {
7044
5948
  body?: never;
7045
5949
  path: {
7046
5950
  /**
7047
- * Graph Id
7048
- */
7049
- graph_id: string;
7050
- /**
7051
- * Connection Id
7052
- *
7053
- * Unique connection identifier
5951
+ * Org Id
7054
5952
  */
7055
- connection_id: string;
5953
+ org_id: string;
7056
5954
  };
7057
5955
  query?: never;
7058
- url: '/v1/graphs/{graph_id}/connections/{connection_id}';
5956
+ url: '/v1/orgs/{org_id}/limits';
7059
5957
  };
7060
- export type GetConnectionErrors = {
7061
- /**
7062
- * Access denied to connection
7063
- */
7064
- 403: ErrorResponse;
7065
- /**
7066
- * Connection not found
7067
- */
7068
- 404: ErrorResponse;
5958
+ export type GetOrgLimitsErrors = {
7069
5959
  /**
7070
5960
  * Validation Error
7071
5961
  */
7072
5962
  422: HttpValidationError;
7073
- /**
7074
- * Failed to retrieve connection
7075
- */
7076
- 500: ErrorResponse;
7077
5963
  };
7078
- export type GetConnectionError = GetConnectionErrors[keyof GetConnectionErrors];
7079
- export type GetConnectionResponses = {
5964
+ export type GetOrgLimitsError = GetOrgLimitsErrors[keyof GetOrgLimitsErrors];
5965
+ export type GetOrgLimitsResponses = {
7080
5966
  /**
7081
- * Connection details retrieved successfully
5967
+ * Successful Response
7082
5968
  */
7083
- 200: ConnectionResponse;
5969
+ 200: OrgLimitsResponse;
7084
5970
  };
7085
- export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
7086
- export type SyncConnectionData = {
7087
- body: SyncConnectionRequest;
5971
+ export type GetOrgLimitsResponse = GetOrgLimitsResponses[keyof GetOrgLimitsResponses];
5972
+ export type GetOrgUsageData = {
5973
+ body?: never;
7088
5974
  path: {
7089
5975
  /**
7090
- * Graph Id
5976
+ * Org Id
7091
5977
  */
7092
- graph_id: string;
5978
+ org_id: string;
5979
+ };
5980
+ query?: {
7093
5981
  /**
7094
- * Connection Id
7095
- *
7096
- * Connection identifier
5982
+ * Days
7097
5983
  */
7098
- connection_id: string;
5984
+ days?: number;
7099
5985
  };
7100
- query?: never;
7101
- url: '/v1/graphs/{graph_id}/connections/{connection_id}/sync';
5986
+ url: '/v1/orgs/{org_id}/usage';
7102
5987
  };
7103
- export type SyncConnectionErrors = {
7104
- /**
7105
- * Access denied - admin role required
7106
- */
7107
- 403: ErrorResponse;
7108
- /**
7109
- * Connection not found
7110
- */
7111
- 404: ErrorResponse;
5988
+ export type GetOrgUsageErrors = {
7112
5989
  /**
7113
5990
  * Validation Error
7114
5991
  */
7115
5992
  422: HttpValidationError;
7116
- /**
7117
- * Failed to start sync
7118
- */
7119
- 500: ErrorResponse;
7120
5993
  };
7121
- export type SyncConnectionError = SyncConnectionErrors[keyof SyncConnectionErrors];
7122
- export type SyncConnectionResponses = {
5994
+ export type GetOrgUsageError = GetOrgUsageErrors[keyof GetOrgUsageErrors];
5995
+ export type GetOrgUsageResponses = {
7123
5996
  /**
7124
- * Response Syncconnection
7125
- *
7126
- * Sync started successfully
5997
+ * Successful Response
7127
5998
  */
7128
- 200: {
7129
- [key: string]: unknown;
7130
- };
5999
+ 200: OrgUsageResponse;
7131
6000
  };
7132
- export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
6001
+ export type GetOrgUsageResponse = GetOrgUsageResponses[keyof GetOrgUsageResponses];
7133
6002
  export type ListAgentsData = {
7134
6003
  body?: never;
7135
6004
  path: {
@@ -8744,55 +7613,6 @@ export type QueryTablesResponses = {
8744
7613
  200: TableQueryResponse;
8745
7614
  };
8746
7615
  export type QueryTablesResponse = QueryTablesResponses[keyof QueryTablesResponses];
8747
- export type CreateViewData = {
8748
- body: CreateViewRequest;
8749
- path: {
8750
- /**
8751
- * Graph Id
8752
- */
8753
- graph_id: string;
8754
- };
8755
- query?: never;
8756
- url: '/v1/graphs/{graph_id}/views';
8757
- };
8758
- export type CreateViewErrors = {
8759
- /**
8760
- * Validation Error
8761
- */
8762
- 422: HttpValidationError;
8763
- };
8764
- export type CreateViewError = CreateViewErrors[keyof CreateViewErrors];
8765
- export type CreateViewResponses = {
8766
- /**
8767
- * Successful Response
8768
- */
8769
- 200: unknown;
8770
- };
8771
- export type SaveViewData = {
8772
- body: SaveViewRequest;
8773
- path: {
8774
- /**
8775
- * Graph Id
8776
- */
8777
- graph_id: string;
8778
- };
8779
- query?: never;
8780
- url: '/v1/graphs/{graph_id}/views/save';
8781
- };
8782
- export type SaveViewErrors = {
8783
- /**
8784
- * Validation Error
8785
- */
8786
- 422: HttpValidationError;
8787
- };
8788
- export type SaveViewError = SaveViewErrors[keyof SaveViewErrors];
8789
- export type SaveViewResponses = {
8790
- /**
8791
- * Successful Response
8792
- */
8793
- 200: SaveViewResponse;
8794
- };
8795
- export type SaveViewResponse2 = SaveViewResponses[keyof SaveViewResponses];
8796
7616
  export type GetMaterializationStatusData = {
8797
7617
  body?: never;
8798
7618
  path: {
@@ -9210,6 +8030,25 @@ export type GetAvailableGraphTiersResponses = {
9210
8030
  200: AvailableGraphTiersResponse;
9211
8031
  };
9212
8032
  export type GetAvailableGraphTiersResponse = GetAvailableGraphTiersResponses[keyof GetAvailableGraphTiersResponses];
8033
+ export type GetGraphCapacityData = {
8034
+ body?: never;
8035
+ path?: never;
8036
+ query?: never;
8037
+ url: '/v1/graphs/capacity';
8038
+ };
8039
+ export type GetGraphCapacityErrors = {
8040
+ /**
8041
+ * Failed to check capacity
8042
+ */
8043
+ 500: unknown;
8044
+ };
8045
+ export type GetGraphCapacityResponses = {
8046
+ /**
8047
+ * Capacity status retrieved successfully
8048
+ */
8049
+ 200: GraphCapacityResponse;
8050
+ };
8051
+ export type GetGraphCapacityResponse = GetGraphCapacityResponses[keyof GetGraphCapacityResponses];
9213
8052
  export type SelectGraphData = {
9214
8053
  body?: never;
9215
8054
  path: {