@robosystems/client 0.2.28 → 0.2.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/types.gen.ts CHANGED
@@ -647,6 +647,16 @@ export type BackupListResponse = {
647
647
  * Graph Id
648
648
  */
649
649
  graph_id: string;
650
+ /**
651
+ * Is Shared Repository
652
+ *
653
+ * Whether this is a shared repository (limits apply)
654
+ */
655
+ is_shared_repository?: boolean;
656
+ /**
657
+ * Download quota for shared repositories
658
+ */
659
+ download_quota?: DownloadQuota | null;
650
660
  };
651
661
 
652
662
  /**
@@ -936,7 +946,7 @@ export type CheckoutStatusResponse = {
936
946
  /**
937
947
  * Status
938
948
  *
939
- * Checkout status: 'pending_payment', 'provisioning', 'completed', 'failed'
949
+ * Checkout status: 'pending_payment', 'provisioning', 'active', 'failed', 'canceled'
940
950
  */
941
951
  status: string;
942
952
  /**
@@ -966,161 +976,59 @@ export type CheckoutStatusResponse = {
966
976
  };
967
977
 
968
978
  /**
969
- * ConnectionOptionsResponse
970
- *
971
- * Response with all available connection options.
972
- */
973
- export type ConnectionOptionsResponse = {
974
- /**
975
- * Providers
976
- *
977
- * Available connection providers
978
- */
979
- providers: Array<ConnectionProviderInfo>;
980
- /**
981
- * Total Providers
982
- *
983
- * Total number of providers
984
- */
985
- total_providers: number;
986
- };
987
-
988
- /**
989
- * ConnectionProviderInfo
990
- *
991
- * Information about a connection provider.
992
- */
993
- export type ConnectionProviderInfo = {
994
- /**
995
- * Provider
996
- *
997
- * Provider identifier
998
- */
999
- provider: 'sec' | 'quickbooks' | 'plaid';
1000
- /**
1001
- * Display Name
1002
- *
1003
- * Human-readable provider name
1004
- */
1005
- display_name: string;
1006
- /**
1007
- * Description
1008
- *
1009
- * Provider description
1010
- */
1011
- description: string;
1012
- /**
1013
- * Auth Type
1014
- *
1015
- * Authentication type
1016
- */
1017
- auth_type: 'none' | 'oauth' | 'link' | 'api_key';
1018
- /**
1019
- * Auth Flow
1020
- *
1021
- * Description of authentication flow
1022
- */
1023
- auth_flow?: string | null;
1024
- /**
1025
- * Required Config
1026
- *
1027
- * Required configuration fields
1028
- */
1029
- required_config: Array<string>;
1030
- /**
1031
- * Optional Config
1032
- *
1033
- * Optional configuration fields
1034
- */
1035
- optional_config?: Array<string>;
1036
- /**
1037
- * Features
1038
- *
1039
- * Supported features
1040
- */
1041
- features: Array<string>;
1042
- /**
1043
- * Sync Frequency
1044
- *
1045
- * Typical sync frequency
1046
- */
1047
- sync_frequency?: string | null;
1048
- /**
1049
- * Data Types
1050
- *
1051
- * Types of data available
1052
- */
1053
- data_types: Array<string>;
1054
- /**
1055
- * Setup Instructions
1056
- *
1057
- * Setup instructions
1058
- */
1059
- setup_instructions?: string | null;
1060
- /**
1061
- * Documentation Url
1062
- *
1063
- * Link to documentation
1064
- */
1065
- documentation_url?: string | null;
1066
- };
1067
-
1068
- /**
1069
- * ConnectionResponse
979
+ * ContentLimits
1070
980
  *
1071
- * Connection response model.
981
+ * Graph content limits (nodes, relationships, rows).
1072
982
  */
1073
- export type ConnectionResponse = {
983
+ export type ContentLimits = {
1074
984
  /**
1075
- * Connection Id
985
+ * Max Nodes
1076
986
  *
1077
- * Unique connection identifier
987
+ * Maximum nodes allowed
1078
988
  */
1079
- connection_id: string;
989
+ max_nodes: number;
1080
990
  /**
1081
- * Provider
991
+ * Current Nodes
1082
992
  *
1083
- * Connection provider type
993
+ * Current node count
1084
994
  */
1085
- provider: 'sec' | 'quickbooks' | 'plaid';
995
+ current_nodes?: number | null;
1086
996
  /**
1087
- * Entity Id
997
+ * Max Relationships
1088
998
  *
1089
- * Entity identifier
999
+ * Maximum relationships allowed
1090
1000
  */
1091
- entity_id: string;
1001
+ max_relationships: number;
1092
1002
  /**
1093
- * Status
1003
+ * Current Relationships
1094
1004
  *
1095
- * Connection status
1005
+ * Current relationship count
1096
1006
  */
1097
- status: string;
1007
+ current_relationships?: number | null;
1098
1008
  /**
1099
- * Created At
1009
+ * Max Rows Per Copy
1100
1010
  *
1101
- * Creation timestamp
1011
+ * Maximum rows per copy/materialization operation
1102
1012
  */
1103
- created_at: string;
1013
+ max_rows_per_copy: number;
1104
1014
  /**
1105
- * Updated At
1015
+ * Max Single Table Rows
1106
1016
  *
1107
- * Last update timestamp
1017
+ * Maximum rows per staging table
1108
1018
  */
1109
- updated_at?: string | null;
1019
+ max_single_table_rows: number;
1110
1020
  /**
1111
- * Last Sync
1021
+ * Chunk Size Rows
1112
1022
  *
1113
- * Last sync timestamp
1023
+ * Rows per materialization chunk
1114
1024
  */
1115
- last_sync?: string | null;
1025
+ chunk_size_rows: number;
1116
1026
  /**
1117
- * Metadata
1027
+ * Approaching Limits
1118
1028
  *
1119
- * Provider-specific metadata
1029
+ * List of limits being approached (>80%)
1120
1030
  */
1121
- metadata: {
1122
- [key: string]: unknown;
1123
- };
1031
+ approaching_limits?: Array<string>;
1124
1032
  };
1125
1033
 
1126
1034
  /**
@@ -1239,29 +1147,6 @@ export type CreateCheckoutRequest = {
1239
1147
  };
1240
1148
  };
1241
1149
 
1242
- /**
1243
- * CreateConnectionRequest
1244
- *
1245
- * Request to create a new connection.
1246
- */
1247
- export type CreateConnectionRequest = {
1248
- /**
1249
- * Provider
1250
- *
1251
- * Connection provider type
1252
- */
1253
- provider: 'sec' | 'quickbooks' | 'plaid';
1254
- /**
1255
- * Entity Id
1256
- *
1257
- * Entity identifier
1258
- */
1259
- entity_id: string;
1260
- sec_config?: SecConnectionConfig | null;
1261
- quickbooks_config?: QuickBooksConnectionConfig | null;
1262
- plaid_config?: PlaidConnectionConfig | null;
1263
- };
1264
-
1265
1150
  /**
1266
1151
  * CreateGraphRequest
1267
1152
  *
@@ -1279,7 +1164,7 @@ export type CreateGraphRequest = {
1279
1164
  /**
1280
1165
  * Instance Tier
1281
1166
  *
1282
- * Instance tier: ladybug-standard, ladybug-large, ladybug-xlarge, neo4j-community-large, neo4j-enterprise-xlarge
1167
+ * Instance tier: ladybug-standard, ladybug-large, ladybug-xlarge
1283
1168
  */
1284
1169
  instance_tier?: string;
1285
1170
  /**
@@ -1381,38 +1266,6 @@ export type CreateSubgraphRequest = {
1381
1266
  fork_parent?: boolean;
1382
1267
  };
1383
1268
 
1384
- /**
1385
- * CreateViewRequest
1386
- */
1387
- export type CreateViewRequest = {
1388
- /**
1389
- * Name
1390
- *
1391
- * Optional name for the view
1392
- */
1393
- name?: string | null;
1394
- /**
1395
- * Data source configuration
1396
- */
1397
- source: ViewSource;
1398
- /**
1399
- * View configuration
1400
- */
1401
- view_config?: ViewConfig;
1402
- /**
1403
- * Presentation Formats
1404
- *
1405
- * Presentation formats to generate
1406
- */
1407
- presentation_formats?: Array<string>;
1408
- /**
1409
- * Mapping Structure Id
1410
- *
1411
- * Optional mapping structure ID to aggregate Chart of Accounts elements into reporting taxonomy elements
1412
- */
1413
- mapping_structure_id?: string | null;
1414
- };
1415
-
1416
1269
  /**
1417
1270
  * CreditLimits
1418
1271
  *
@@ -1431,18 +1284,6 @@ export type CreditLimits = {
1431
1284
  * Current credit balance
1432
1285
  */
1433
1286
  current_balance: number;
1434
- /**
1435
- * Storage Billing Enabled
1436
- *
1437
- * Whether storage billing is enabled
1438
- */
1439
- storage_billing_enabled: boolean;
1440
- /**
1441
- * Storage Rate Per Gb Per Day
1442
- *
1443
- * Storage billing rate per GB per day
1444
- */
1445
- storage_rate_per_gb_per_day: number;
1446
1287
  };
1447
1288
 
1448
1289
  /**
@@ -1935,6 +1776,38 @@ export type DetailedTransactionsResponse = {
1935
1776
  };
1936
1777
  };
1937
1778
 
1779
+ /**
1780
+ * DownloadQuota
1781
+ *
1782
+ * Download quota information for shared repository backups.
1783
+ */
1784
+ export type DownloadQuota = {
1785
+ /**
1786
+ * Limit Per Day
1787
+ *
1788
+ * Maximum downloads allowed per day
1789
+ */
1790
+ limit_per_day: number;
1791
+ /**
1792
+ * Used Today
1793
+ *
1794
+ * Number of downloads used today
1795
+ */
1796
+ used_today: number;
1797
+ /**
1798
+ * Remaining
1799
+ *
1800
+ * Downloads remaining today
1801
+ */
1802
+ remaining: number;
1803
+ /**
1804
+ * Resets At
1805
+ *
1806
+ * When the daily limit resets (UTC)
1807
+ */
1808
+ resets_at: string;
1809
+ };
1810
+
1938
1811
  /**
1939
1812
  * EmailVerificationRequest
1940
1813
  *
@@ -2052,68 +1925,6 @@ export type ErrorResponse = {
2052
1925
  timestamp?: string | null;
2053
1926
  };
2054
1927
 
2055
- /**
2056
- * ExchangeTokenRequest
2057
- *
2058
- * Exchange temporary token for permanent credentials.
2059
- */
2060
- export type ExchangeTokenRequest = {
2061
- /**
2062
- * Connection Id
2063
- *
2064
- * Connection ID to update
2065
- */
2066
- connection_id: string;
2067
- /**
2068
- * Public Token
2069
- *
2070
- * Temporary token from embedded auth
2071
- */
2072
- public_token: string;
2073
- /**
2074
- * Metadata
2075
- *
2076
- * Provider-specific metadata
2077
- */
2078
- metadata?: {
2079
- [key: string]: unknown;
2080
- } | null;
2081
- };
2082
-
2083
- /**
2084
- * FactDetail
2085
- */
2086
- export type FactDetail = {
2087
- /**
2088
- * Fact Id
2089
- */
2090
- fact_id: string;
2091
- /**
2092
- * Element Uri
2093
- */
2094
- element_uri: string;
2095
- /**
2096
- * Element Name
2097
- */
2098
- element_name: string;
2099
- /**
2100
- * Numeric Value
2101
- */
2102
- numeric_value: number;
2103
- /**
2104
- * Unit
2105
- */
2106
- unit: string;
2107
- /**
2108
- * Period Start
2109
- */
2110
- period_start: string;
2111
- /**
2112
- * Period End
2113
- */
2114
- period_end: string;
2115
- };
2116
-
2117
1928
  /**
2118
1929
  * FileInfo
2119
1930
  */
@@ -2512,6 +2323,10 @@ export type GraphLimitsResponse = {
2512
2323
  * AI credit limits (if applicable)
2513
2324
  */
2514
2325
  credits?: CreditLimits | null;
2326
+ /**
2327
+ * Graph content limits (if applicable)
2328
+ */
2329
+ content?: ContentLimits | null;
2515
2330
  };
2516
2331
 
2517
2332
  /**
@@ -2652,6 +2467,12 @@ export type GraphSubscriptionResponse = {
2652
2467
  * Current plan name
2653
2468
  */
2654
2469
  plan_name: string;
2470
+ /**
2471
+ * Plan Display Name
2472
+ *
2473
+ * Human-readable plan name for UI display
2474
+ */
2475
+ plan_display_name: string;
2655
2476
  /**
2656
2477
  * Billing Interval
2657
2478
  *
@@ -2747,18 +2568,6 @@ export type GraphSubscriptionTier = {
2747
2568
  * Monthly AI credits per graph
2748
2569
  */
2749
2570
  monthly_credits_per_graph: number;
2750
- /**
2751
- * Storage Included Gb
2752
- *
2753
- * Storage included in GB
2754
- */
2755
- storage_included_gb: number;
2756
- /**
2757
- * Storage Overage Per Gb
2758
- *
2759
- * Overage cost per GB per month
2760
- */
2761
- storage_overage_per_gb: number;
2762
2571
  /**
2763
2572
  * Infrastructure
2764
2573
  *
@@ -2843,10 +2652,6 @@ export type GraphSubscriptions = {
2843
2652
  * Available infrastructure tiers
2844
2653
  */
2845
2654
  tiers: Array<GraphSubscriptionTier>;
2846
- /**
2847
- * Storage information
2848
- */
2849
- storage: StorageInfo;
2850
2655
  /**
2851
2656
  * Notes
2852
2657
  *
@@ -2967,12 +2772,6 @@ export type GraphTierInfo = {
2967
2772
  * Maximum subgraphs allowed
2968
2773
  */
2969
2774
  max_subgraphs: number | null;
2970
- /**
2971
- * Storage Limit Gb
2972
- *
2973
- * Storage limit in GB
2974
- */
2975
- storage_limit_gb: number;
2976
2775
  /**
2977
2776
  * Monthly Credits
2978
2777
  *
@@ -3039,12 +2838,6 @@ export type GraphTierInstance = {
3039
2838
  * Resource limits for a tier.
3040
2839
  */
3041
2840
  export type GraphTierLimits = {
3042
- /**
3043
- * Storage Gb
3044
- *
3045
- * Storage limit in GB
3046
- */
3047
- storage_gb: number;
3048
2841
  /**
3049
2842
  * Monthly Credits
3050
2843
  *
@@ -3379,46 +3172,6 @@ export type InvoicesResponse = {
3379
3172
  has_more: boolean;
3380
3173
  };
3381
3174
 
3382
- /**
3383
- * LinkTokenRequest
3384
- *
3385
- * Request to create a link token for embedded authentication.
3386
- */
3387
- export type LinkTokenRequest = {
3388
- /**
3389
- * Entity Id
3390
- *
3391
- * Entity identifier
3392
- */
3393
- entity_id: string;
3394
- /**
3395
- * User Id
3396
- *
3397
- * User identifier
3398
- */
3399
- user_id: string;
3400
- /**
3401
- * Provider
3402
- *
3403
- * Provider type (defaults based on connection)
3404
- */
3405
- provider?: 'sec' | 'quickbooks' | 'plaid' | null;
3406
- /**
3407
- * Products
3408
- *
3409
- * Data products to request (provider-specific)
3410
- */
3411
- products?: Array<string> | null;
3412
- /**
3413
- * Options
3414
- *
3415
- * Provider-specific options
3416
- */
3417
- options?: {
3418
- [key: string]: unknown;
3419
- } | null;
3420
- };
3421
-
3422
3175
  /**
3423
3176
  * ListSubgraphsResponse
3424
3177
  *
@@ -3591,6 +3344,12 @@ export type MaterializeRequest = {
3591
3344
  * Continue ingestion on row errors
3592
3345
  */
3593
3346
  ignore_errors?: boolean;
3347
+ /**
3348
+ * Dry Run
3349
+ *
3350
+ * Validate limits without executing materialization. Returns usage, limits, and warnings.
3351
+ */
3352
+ dry_run?: boolean;
3594
3353
  };
3595
3354
 
3596
3355
  /**
@@ -3623,6 +3382,14 @@ export type MaterializeResponse = {
3623
3382
  * Human-readable status message
3624
3383
  */
3625
3384
  message: string;
3385
+ /**
3386
+ * Limit Check
3387
+ *
3388
+ * Limit check results (only present for dry_run requests)
3389
+ */
3390
+ limit_check?: {
3391
+ [key: string]: unknown;
3392
+ } | null;
3626
3393
  };
3627
3394
 
3628
3395
  /**
@@ -3680,143 +3447,51 @@ export type MaterializeStatusResponse = {
3680
3447
  };
3681
3448
 
3682
3449
  /**
3683
- * OAuthCallbackRequest
3450
+ * OfferingRepositoryPlan
3684
3451
  *
3685
- * OAuth callback parameters.
3452
+ * Information about a repository plan.
3686
3453
  */
3687
- export type OAuthCallbackRequest = {
3454
+ export type OfferingRepositoryPlan = {
3688
3455
  /**
3689
- * Code
3456
+ * Plan
3690
3457
  *
3691
- * Authorization code from OAuth provider
3458
+ * Plan identifier
3692
3459
  */
3693
- code: string;
3460
+ plan: string;
3694
3461
  /**
3695
- * State
3462
+ * Name
3696
3463
  *
3697
- * OAuth state for verification
3464
+ * Plan name
3698
3465
  */
3699
- state: string;
3466
+ name: string;
3700
3467
  /**
3701
- * Realm Id
3468
+ * Monthly Price
3702
3469
  *
3703
- * QuickBooks-specific realm ID
3470
+ * Monthly price in USD
3704
3471
  */
3705
- realm_id?: string | null;
3472
+ monthly_price: number;
3706
3473
  /**
3707
- * Error
3474
+ * Monthly Credits
3708
3475
  *
3709
- * OAuth error if authorization failed
3476
+ * Monthly credit allocation
3710
3477
  */
3711
- error?: string | null;
3478
+ monthly_credits: number;
3712
3479
  /**
3713
- * Error Description
3480
+ * Access Level
3714
3481
  *
3715
- * OAuth error details
3482
+ * Access level
3716
3483
  */
3717
- error_description?: string | null;
3718
- };
3719
-
3720
- /**
3721
- * OAuthInitRequest
3722
- *
3723
- * Request to initiate OAuth flow.
3724
- */
3725
- export type OAuthInitRequest = {
3484
+ access_level: string;
3726
3485
  /**
3727
- * Connection Id
3486
+ * Features
3728
3487
  *
3729
- * Connection ID to link OAuth to
3488
+ * List of features
3730
3489
  */
3731
- connection_id: string;
3490
+ features: Array<string>;
3732
3491
  /**
3733
- * Redirect Uri
3492
+ * Rate Limits
3734
3493
  *
3735
- * Override default redirect URI
3736
- */
3737
- redirect_uri?: string | null;
3738
- /**
3739
- * Additional Params
3740
- *
3741
- * Provider-specific parameters
3742
- */
3743
- additional_params?: {
3744
- [key: string]: string;
3745
- } | null;
3746
- };
3747
-
3748
- /**
3749
- * OAuthInitResponse
3750
- *
3751
- * Response with OAuth authorization URL.
3752
- */
3753
- export type OAuthInitResponse = {
3754
- /**
3755
- * Auth Url
3756
- *
3757
- * URL to redirect user for authorization
3758
- */
3759
- auth_url: string;
3760
- /**
3761
- * State
3762
- *
3763
- * OAuth state for security
3764
- */
3765
- state: string;
3766
- /**
3767
- * Expires At
3768
- *
3769
- * When this OAuth request expires
3770
- */
3771
- expires_at: string;
3772
- };
3773
-
3774
- /**
3775
- * OfferingRepositoryPlan
3776
- *
3777
- * Information about a repository plan.
3778
- */
3779
- export type OfferingRepositoryPlan = {
3780
- /**
3781
- * Plan
3782
- *
3783
- * Plan identifier
3784
- */
3785
- plan: string;
3786
- /**
3787
- * Name
3788
- *
3789
- * Plan name
3790
- */
3791
- name: string;
3792
- /**
3793
- * Monthly Price
3794
- *
3795
- * Monthly price in USD
3796
- */
3797
- monthly_price: number;
3798
- /**
3799
- * Monthly Credits
3800
- *
3801
- * Monthly credit allocation
3802
- */
3803
- monthly_credits: number;
3804
- /**
3805
- * Access Level
3806
- *
3807
- * Access level
3808
- */
3809
- access_level: string;
3810
- /**
3811
- * Features
3812
- *
3813
- * List of features
3814
- */
3815
- features: Array<string>;
3816
- /**
3817
- * Rate Limits
3818
- *
3819
- * Rate limits for this plan
3494
+ * Rate limits for this plan
3820
3495
  */
3821
3496
  rate_limits?: {
3822
3497
  [key: string]: number | null;
@@ -4311,48 +3986,6 @@ export type PerformanceInsights = {
4311
3986
  performance_score: number;
4312
3987
  };
4313
3988
 
4314
- /**
4315
- * PlaidConnectionConfig
4316
- *
4317
- * Plaid-specific connection configuration.
4318
- */
4319
- export type PlaidConnectionConfig = {
4320
- /**
4321
- * Public Token
4322
- *
4323
- * Plaid public token for exchange
4324
- */
4325
- public_token?: string | null;
4326
- /**
4327
- * Access Token
4328
- *
4329
- * Plaid access token (set after exchange)
4330
- */
4331
- access_token?: string | null;
4332
- /**
4333
- * Item Id
4334
- *
4335
- * Plaid item ID
4336
- */
4337
- item_id?: string | null;
4338
- /**
4339
- * Institution
4340
- *
4341
- * Institution information
4342
- */
4343
- institution?: {
4344
- [key: string]: unknown;
4345
- } | null;
4346
- /**
4347
- * Accounts
4348
- *
4349
- * Connected accounts
4350
- */
4351
- accounts?: Array<{
4352
- [key: string]: unknown;
4353
- }> | null;
4354
- };
4355
-
4356
3989
  /**
4357
3990
  * PortalSessionResponse
4358
3991
  *
@@ -4399,26 +4032,6 @@ export type QueryLimits = {
4399
4032
  concurrent_queries: number;
4400
4033
  };
4401
4034
 
4402
- /**
4403
- * QuickBooksConnectionConfig
4404
- *
4405
- * QuickBooks-specific connection configuration.
4406
- */
4407
- export type QuickBooksConnectionConfig = {
4408
- /**
4409
- * Realm Id
4410
- *
4411
- * QuickBooks Realm ID
4412
- */
4413
- realm_id?: string | null;
4414
- /**
4415
- * Refresh Token
4416
- *
4417
- * OAuth refresh token
4418
- */
4419
- refresh_token?: string | null;
4420
- };
4421
-
4422
4035
  /**
4423
4036
  * RateLimits
4424
4037
  *
@@ -4603,26 +4216,6 @@ export type ResetPasswordValidateResponse = {
4603
4216
  */
4604
4217
  export type ResponseMode = 'auto' | 'sync' | 'async' | 'stream';
4605
4218
 
4606
- /**
4607
- * SECConnectionConfig
4608
- *
4609
- * SEC-specific connection configuration.
4610
- */
4611
- export type SecConnectionConfig = {
4612
- /**
4613
- * Cik
4614
- *
4615
- * 10-digit CIK number
4616
- */
4617
- cik: string;
4618
- /**
4619
- * Entity Name
4620
- *
4621
- * Entity name from SEC
4622
- */
4623
- entity_name?: string | null;
4624
- };
4625
-
4626
4219
  /**
4627
4220
  * SSOCompleteRequest
4628
4221
  *
@@ -4715,116 +4308,6 @@ export type SsoTokenResponse = {
4715
4308
  apps: Array<string>;
4716
4309
  };
4717
4310
 
4718
- /**
4719
- * SaveViewRequest
4720
- */
4721
- export type SaveViewRequest = {
4722
- /**
4723
- * Report Id
4724
- *
4725
- * Existing report ID to update (if provided, deletes existing facts/structures and creates new ones)
4726
- */
4727
- report_id?: string | null;
4728
- /**
4729
- * Report Type
4730
- *
4731
- * Type of report (e.g., 'Annual Report', 'Quarterly Report', '10-K')
4732
- */
4733
- report_type: string;
4734
- /**
4735
- * Period Start
4736
- *
4737
- * Period start date (YYYY-MM-DD)
4738
- */
4739
- period_start: string;
4740
- /**
4741
- * Period End
4742
- *
4743
- * Period end date (YYYY-MM-DD)
4744
- */
4745
- period_end: string;
4746
- /**
4747
- * Entity Id
4748
- *
4749
- * Entity identifier (defaults to primary entity)
4750
- */
4751
- entity_id?: string | null;
4752
- /**
4753
- * Include Presentation
4754
- *
4755
- * Create presentation structures
4756
- */
4757
- include_presentation?: boolean;
4758
- /**
4759
- * Include Calculation
4760
- *
4761
- * Create calculation structures
4762
- */
4763
- include_calculation?: boolean;
4764
- };
4765
-
4766
- /**
4767
- * SaveViewResponse
4768
- */
4769
- export type SaveViewResponse = {
4770
- /**
4771
- * Report Id
4772
- *
4773
- * Unique report identifier (used as parquet export prefix)
4774
- */
4775
- report_id: string;
4776
- /**
4777
- * Report Type
4778
- */
4779
- report_type: string;
4780
- /**
4781
- * Entity Id
4782
- */
4783
- entity_id: string;
4784
- /**
4785
- * Entity Name
4786
- */
4787
- entity_name: string;
4788
- /**
4789
- * Period Start
4790
- */
4791
- period_start: string;
4792
- /**
4793
- * Period End
4794
- */
4795
- period_end: string;
4796
- /**
4797
- * Fact Count
4798
- */
4799
- fact_count: number;
4800
- /**
4801
- * Presentation Count
4802
- */
4803
- presentation_count: number;
4804
- /**
4805
- * Calculation Count
4806
- */
4807
- calculation_count: number;
4808
- /**
4809
- * Facts
4810
- */
4811
- facts: Array<FactDetail>;
4812
- /**
4813
- * Structures
4814
- */
4815
- structures: Array<StructureDetail>;
4816
- /**
4817
- * Created At
4818
- */
4819
- created_at: string;
4820
- /**
4821
- * Parquet Export Prefix
4822
- *
4823
- * Prefix for parquet file exports
4824
- */
4825
- parquet_export_prefix: string;
4826
- };
4827
-
4828
4311
  /**
4829
4312
  * SchemaExportResponse
4830
4313
  *
@@ -5066,30 +4549,6 @@ export type ServiceOfferingsResponse = {
5066
4549
  summary: ServiceOfferingSummary;
5067
4550
  };
5068
4551
 
5069
- /**
5070
- * StorageInfo
5071
- *
5072
- * Storage pricing information.
5073
- */
5074
- export type StorageInfo = {
5075
- /**
5076
- * Included Per Tier
5077
- *
5078
- * Storage included per tier in GB
5079
- */
5080
- included_per_tier: {
5081
- [key: string]: number;
5082
- };
5083
- /**
5084
- * Overage Pricing
5085
- *
5086
- * Overage pricing per GB per tier
5087
- */
5088
- overage_pricing: {
5089
- [key: string]: number;
5090
- };
5091
- };
5092
-
5093
4552
  /**
5094
4553
  * StorageLimitResponse
5095
4554
  *
@@ -5204,28 +4663,6 @@ export type StorageSummary = {
5204
4663
  measurement_count: number;
5205
4664
  };
5206
4665
 
5207
- /**
5208
- * StructureDetail
5209
- */
5210
- export type StructureDetail = {
5211
- /**
5212
- * Structure Id
5213
- */
5214
- structure_id: string;
5215
- /**
5216
- * Structure Type
5217
- */
5218
- structure_type: string;
5219
- /**
5220
- * Name
5221
- */
5222
- name: string;
5223
- /**
5224
- * Element Count
5225
- */
5226
- element_count: number;
5227
- };
5228
-
5229
4666
  /**
5230
4667
  * SubgraphQuotaResponse
5231
4668
  *
@@ -5463,28 +4900,6 @@ export type SuccessResponse = {
5463
4900
  } | null;
5464
4901
  };
5465
4902
 
5466
- /**
5467
- * SyncConnectionRequest
5468
- *
5469
- * Request to sync a connection.
5470
- */
5471
- export type SyncConnectionRequest = {
5472
- /**
5473
- * Full Sync
5474
- *
5475
- * Perform full sync vs incremental
5476
- */
5477
- full_sync?: boolean;
5478
- /**
5479
- * Sync Options
5480
- *
5481
- * Provider-specific sync options
5482
- */
5483
- sync_options?: {
5484
- [key: string]: unknown;
5485
- } | null;
5486
- };
5487
-
5488
4903
  /**
5489
4904
  * TableInfo
5490
4905
  */
@@ -5853,161 +5268,38 @@ export type ValidationError = {
5853
5268
  * Error Type
5854
5269
  */
5855
5270
  type: string;
5856
- };
5857
-
5858
- /**
5859
- * ViewAxisConfig
5860
- */
5861
- export type ViewAxisConfig = {
5862
5271
  /**
5863
- * Type
5864
- *
5865
- * Axis type: 'element', 'period', 'dimension', 'entity'
5272
+ * Input
5866
5273
  */
5867
- type: string;
5274
+ input?: unknown;
5868
5275
  /**
5869
- * Dimension Axis
5870
- *
5871
- * Dimension axis name for dimension-type axes
5276
+ * Context
5872
5277
  */
5873
- dimension_axis?: string | null;
5278
+ ctx?: {
5279
+ [key: string]: unknown;
5280
+ };
5281
+ };
5282
+
5283
+ export type RegisterUserData = {
5284
+ body: RegisterRequest;
5285
+ path?: never;
5286
+ query?: never;
5287
+ url: '/v1/auth/register';
5288
+ };
5289
+
5290
+ export type RegisterUserErrors = {
5874
5291
  /**
5875
- * Include Null Dimension
5876
- *
5877
- * Include facts where this dimension is NULL (default: false)
5292
+ * Invalid request data or missing CAPTCHA token (production only)
5878
5293
  */
5879
- include_null_dimension?: boolean;
5294
+ 400: ErrorResponse;
5880
5295
  /**
5881
- * Selected Members
5882
- *
5883
- * Specific members to include (e.g., ['2024-12-31', '2023-12-31'])
5296
+ * Email already registered
5884
5297
  */
5885
- selected_members?: Array<string> | null;
5298
+ 409: ErrorResponse;
5886
5299
  /**
5887
- * Member Order
5888
- *
5889
- * Explicit ordering of members (overrides default sort)
5300
+ * Validation Error
5890
5301
  */
5891
- member_order?: Array<string> | null;
5892
- /**
5893
- * Member Labels
5894
- *
5895
- * Custom labels for members (e.g., {'2024-12-31': 'Current Year'})
5896
- */
5897
- member_labels?: {
5898
- [key: string]: string;
5899
- } | null;
5900
- /**
5901
- * Element Order
5902
- *
5903
- * Element ordering for hierarchy display (e.g., ['us-gaap:Assets', 'us-gaap:Cash', ...])
5904
- */
5905
- element_order?: Array<string> | null;
5906
- /**
5907
- * Element Labels
5908
- *
5909
- * Custom labels for elements (e.g., {'us-gaap:Cash': 'Cash and Cash Equivalents'})
5910
- */
5911
- element_labels?: {
5912
- [key: string]: string;
5913
- } | null;
5914
- };
5915
-
5916
- /**
5917
- * ViewConfig
5918
- */
5919
- export type ViewConfig = {
5920
- /**
5921
- * Rows
5922
- *
5923
- * Row axis configuration
5924
- */
5925
- rows?: Array<ViewAxisConfig>;
5926
- /**
5927
- * Columns
5928
- *
5929
- * Column axis configuration
5930
- */
5931
- columns?: Array<ViewAxisConfig>;
5932
- /**
5933
- * Values
5934
- *
5935
- * Field to use for values (default: numeric_value)
5936
- */
5937
- values?: string;
5938
- /**
5939
- * Aggregation Function
5940
- *
5941
- * Aggregation function: sum, average, count
5942
- */
5943
- aggregation_function?: string;
5944
- /**
5945
- * Fill Value
5946
- *
5947
- * Value to use for missing data
5948
- */
5949
- fill_value?: number;
5950
- };
5951
-
5952
- /**
5953
- * ViewSource
5954
- */
5955
- export type ViewSource = {
5956
- /**
5957
- * Type of data source
5958
- */
5959
- type: ViewSourceType;
5960
- /**
5961
- * Period Start
5962
- *
5963
- * Start date for transaction aggregation (YYYY-MM-DD)
5964
- */
5965
- period_start?: string | null;
5966
- /**
5967
- * Period End
5968
- *
5969
- * End date for transaction aggregation (YYYY-MM-DD)
5970
- */
5971
- period_end?: string | null;
5972
- /**
5973
- * Fact Set Id
5974
- *
5975
- * FactSet ID for existing facts mode
5976
- */
5977
- fact_set_id?: string | null;
5978
- /**
5979
- * Entity Id
5980
- *
5981
- * Filter by entity (optional)
5982
- */
5983
- entity_id?: string | null;
5984
- };
5985
-
5986
- /**
5987
- * ViewSourceType
5988
- */
5989
- export type ViewSourceType = 'transactions' | 'fact_set';
5990
-
5991
- export type RegisterUserData = {
5992
- body: RegisterRequest;
5993
- path?: never;
5994
- query?: never;
5995
- url: '/v1/auth/register';
5996
- };
5997
-
5998
- export type RegisterUserErrors = {
5999
- /**
6000
- * Invalid request data or missing CAPTCHA token (production only)
6001
- */
6002
- 400: ErrorResponse;
6003
- /**
6004
- * Email already registered
6005
- */
6006
- 409: ErrorResponse;
6007
- /**
6008
- * Validation Error
6009
- */
6010
- 422: HttpValidationError;
5302
+ 422: HttpValidationError;
6011
5303
  /**
6012
5304
  * Registration temporarily disabled
6013
5305
  */
@@ -6693,726 +5985,281 @@ export type GetOrgData = {
6693
5985
  query?: never;
6694
5986
  url: '/v1/orgs/{org_id}';
6695
5987
  };
6696
-
6697
- export type GetOrgErrors = {
6698
- /**
6699
- * Validation Error
6700
- */
6701
- 422: HttpValidationError;
6702
- };
6703
-
6704
- export type GetOrgError = GetOrgErrors[keyof GetOrgErrors];
6705
-
6706
- export type GetOrgResponses = {
6707
- /**
6708
- * Successful Response
6709
- */
6710
- 200: OrgDetailResponse;
6711
- };
6712
-
6713
- export type GetOrgResponse = GetOrgResponses[keyof GetOrgResponses];
6714
-
6715
- export type UpdateOrgData = {
6716
- body: UpdateOrgRequest;
6717
- path: {
6718
- /**
6719
- * Org Id
6720
- */
6721
- org_id: string;
6722
- };
6723
- query?: never;
6724
- url: '/v1/orgs/{org_id}';
6725
- };
6726
-
6727
- export type UpdateOrgErrors = {
6728
- /**
6729
- * Validation Error
6730
- */
6731
- 422: HttpValidationError;
6732
- };
6733
-
6734
- export type UpdateOrgError = UpdateOrgErrors[keyof UpdateOrgErrors];
6735
-
6736
- export type UpdateOrgResponses = {
6737
- /**
6738
- * Successful Response
6739
- */
6740
- 200: OrgDetailResponse;
6741
- };
6742
-
6743
- export type UpdateOrgResponse = UpdateOrgResponses[keyof UpdateOrgResponses];
6744
-
6745
- export type ListOrgGraphsData = {
6746
- body?: never;
6747
- path: {
6748
- /**
6749
- * Org Id
6750
- */
6751
- org_id: string;
6752
- };
6753
- query?: never;
6754
- url: '/v1/orgs/{org_id}/graphs';
6755
- };
6756
-
6757
- export type ListOrgGraphsErrors = {
6758
- /**
6759
- * Validation Error
6760
- */
6761
- 422: HttpValidationError;
6762
- };
6763
-
6764
- export type ListOrgGraphsError = ListOrgGraphsErrors[keyof ListOrgGraphsErrors];
6765
-
6766
- export type ListOrgGraphsResponses = {
6767
- /**
6768
- * Response Listorggraphs
6769
- *
6770
- * Successful Response
6771
- */
6772
- 200: Array<{
6773
- [key: string]: unknown;
6774
- }>;
6775
- };
6776
-
6777
- export type ListOrgGraphsResponse = ListOrgGraphsResponses[keyof ListOrgGraphsResponses];
6778
-
6779
- export type ListOrgMembersData = {
6780
- body?: never;
6781
- path: {
6782
- /**
6783
- * Org Id
6784
- */
6785
- org_id: string;
6786
- };
6787
- query?: never;
6788
- url: '/v1/orgs/{org_id}/members';
6789
- };
6790
-
6791
- export type ListOrgMembersErrors = {
6792
- /**
6793
- * Validation Error
6794
- */
6795
- 422: HttpValidationError;
6796
- };
6797
-
6798
- export type ListOrgMembersError = ListOrgMembersErrors[keyof ListOrgMembersErrors];
6799
-
6800
- export type ListOrgMembersResponses = {
6801
- /**
6802
- * Successful Response
6803
- */
6804
- 200: OrgMemberListResponse;
6805
- };
6806
-
6807
- export type ListOrgMembersResponse = ListOrgMembersResponses[keyof ListOrgMembersResponses];
6808
-
6809
- export type InviteOrgMemberData = {
6810
- body: InviteMemberRequest;
6811
- path: {
6812
- /**
6813
- * Org Id
6814
- */
6815
- org_id: string;
6816
- };
6817
- query?: never;
6818
- url: '/v1/orgs/{org_id}/members';
6819
- };
6820
-
6821
- export type InviteOrgMemberErrors = {
6822
- /**
6823
- * Validation Error
6824
- */
6825
- 422: HttpValidationError;
6826
- };
6827
-
6828
- export type InviteOrgMemberError = InviteOrgMemberErrors[keyof InviteOrgMemberErrors];
6829
-
6830
- export type InviteOrgMemberResponses = {
6831
- /**
6832
- * Successful Response
6833
- */
6834
- 201: OrgMemberResponse;
6835
- };
6836
-
6837
- export type InviteOrgMemberResponse = InviteOrgMemberResponses[keyof InviteOrgMemberResponses];
6838
-
6839
- export type RemoveOrgMemberData = {
6840
- body?: never;
6841
- path: {
6842
- /**
6843
- * Org Id
6844
- */
6845
- org_id: string;
6846
- /**
6847
- * User Id
6848
- */
6849
- user_id: string;
6850
- };
6851
- query?: never;
6852
- url: '/v1/orgs/{org_id}/members/{user_id}';
6853
- };
6854
-
6855
- export type RemoveOrgMemberErrors = {
6856
- /**
6857
- * Validation Error
6858
- */
6859
- 422: HttpValidationError;
6860
- };
6861
-
6862
- export type RemoveOrgMemberError = RemoveOrgMemberErrors[keyof RemoveOrgMemberErrors];
6863
-
6864
- export type RemoveOrgMemberResponses = {
6865
- /**
6866
- * Successful Response
6867
- */
6868
- 204: void;
6869
- };
6870
-
6871
- export type RemoveOrgMemberResponse = RemoveOrgMemberResponses[keyof RemoveOrgMemberResponses];
6872
-
6873
- export type UpdateOrgMemberRoleData = {
6874
- body: UpdateMemberRoleRequest;
6875
- path: {
6876
- /**
6877
- * Org Id
6878
- */
6879
- org_id: string;
6880
- /**
6881
- * User Id
6882
- */
6883
- user_id: string;
6884
- };
6885
- query?: never;
6886
- url: '/v1/orgs/{org_id}/members/{user_id}';
6887
- };
6888
-
6889
- export type UpdateOrgMemberRoleErrors = {
6890
- /**
6891
- * Validation Error
6892
- */
6893
- 422: HttpValidationError;
6894
- };
6895
-
6896
- export type UpdateOrgMemberRoleError = UpdateOrgMemberRoleErrors[keyof UpdateOrgMemberRoleErrors];
6897
-
6898
- export type UpdateOrgMemberRoleResponses = {
6899
- /**
6900
- * Successful Response
6901
- */
6902
- 200: OrgMemberResponse;
6903
- };
6904
-
6905
- export type UpdateOrgMemberRoleResponse = UpdateOrgMemberRoleResponses[keyof UpdateOrgMemberRoleResponses];
6906
-
6907
- export type GetOrgLimitsData = {
6908
- body?: never;
6909
- path: {
6910
- /**
6911
- * Org Id
6912
- */
6913
- org_id: string;
6914
- };
6915
- query?: never;
6916
- url: '/v1/orgs/{org_id}/limits';
6917
- };
6918
-
6919
- export type GetOrgLimitsErrors = {
6920
- /**
6921
- * Validation Error
6922
- */
6923
- 422: HttpValidationError;
6924
- };
6925
-
6926
- export type GetOrgLimitsError = GetOrgLimitsErrors[keyof GetOrgLimitsErrors];
6927
-
6928
- export type GetOrgLimitsResponses = {
6929
- /**
6930
- * Successful Response
6931
- */
6932
- 200: OrgLimitsResponse;
6933
- };
6934
-
6935
- export type GetOrgLimitsResponse = GetOrgLimitsResponses[keyof GetOrgLimitsResponses];
6936
-
6937
- export type GetOrgUsageData = {
6938
- body?: never;
6939
- path: {
6940
- /**
6941
- * Org Id
6942
- */
6943
- org_id: string;
6944
- };
6945
- query?: {
6946
- /**
6947
- * Days
6948
- */
6949
- days?: number;
6950
- };
6951
- url: '/v1/orgs/{org_id}/usage';
6952
- };
6953
-
6954
- export type GetOrgUsageErrors = {
6955
- /**
6956
- * Validation Error
6957
- */
6958
- 422: HttpValidationError;
6959
- };
6960
-
6961
- export type GetOrgUsageError = GetOrgUsageErrors[keyof GetOrgUsageErrors];
6962
-
6963
- export type GetOrgUsageResponses = {
6964
- /**
6965
- * Successful Response
6966
- */
6967
- 200: OrgUsageResponse;
6968
- };
6969
-
6970
- export type GetOrgUsageResponse = GetOrgUsageResponses[keyof GetOrgUsageResponses];
6971
-
6972
- export type ListConnectionsData = {
6973
- body?: never;
6974
- path: {
6975
- /**
6976
- * Graph Id
6977
- */
6978
- graph_id: string;
6979
- };
6980
- query?: {
6981
- /**
6982
- * Entity Id
6983
- *
6984
- * Filter by entity ID
6985
- */
6986
- entity_id?: string | null;
6987
- /**
6988
- * Provider
6989
- *
6990
- * Filter by provider type
6991
- */
6992
- provider?: 'sec' | 'quickbooks' | 'plaid' | null;
6993
- };
6994
- url: '/v1/graphs/{graph_id}/connections';
6995
- };
6996
-
6997
- export type ListConnectionsErrors = {
6998
- /**
6999
- * Access denied to graph
7000
- */
7001
- 403: ErrorResponse;
7002
- /**
7003
- * Validation Error
7004
- */
7005
- 422: HttpValidationError;
7006
- /**
7007
- * Failed to list connections
7008
- */
7009
- 500: ErrorResponse;
7010
- };
7011
-
7012
- export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
7013
-
7014
- export type ListConnectionsResponses = {
7015
- /**
7016
- * Response Listconnections
7017
- *
7018
- * Connections retrieved successfully
7019
- */
7020
- 200: Array<ConnectionResponse>;
7021
- };
7022
-
7023
- export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
7024
-
7025
- export type CreateConnectionData = {
7026
- body: CreateConnectionRequest;
7027
- path: {
7028
- /**
7029
- * Graph Id
7030
- */
7031
- graph_id: string;
7032
- };
7033
- query?: never;
7034
- url: '/v1/graphs/{graph_id}/connections';
7035
- };
7036
-
7037
- export type CreateConnectionErrors = {
7038
- /**
7039
- * Invalid connection configuration
7040
- */
7041
- 400: ErrorResponse;
7042
- /**
7043
- * Access denied - admin role required
7044
- */
7045
- 403: ErrorResponse;
7046
- /**
7047
- * Connection already exists
7048
- */
7049
- 409: ErrorResponse;
5988
+
5989
+ export type GetOrgErrors = {
7050
5990
  /**
7051
5991
  * Validation Error
7052
5992
  */
7053
5993
  422: HttpValidationError;
7054
- /**
7055
- * Failed to create connection
7056
- */
7057
- 500: ErrorResponse;
7058
5994
  };
7059
5995
 
7060
- export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
5996
+ export type GetOrgError = GetOrgErrors[keyof GetOrgErrors];
7061
5997
 
7062
- export type CreateConnectionResponses = {
5998
+ export type GetOrgResponses = {
7063
5999
  /**
7064
- * Connection created successfully
6000
+ * Successful Response
7065
6001
  */
7066
- 201: ConnectionResponse;
6002
+ 200: OrgDetailResponse;
7067
6003
  };
7068
6004
 
7069
- export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
6005
+ export type GetOrgResponse = GetOrgResponses[keyof GetOrgResponses];
7070
6006
 
7071
- export type GetConnectionOptionsData = {
7072
- body?: never;
6007
+ export type UpdateOrgData = {
6008
+ body: UpdateOrgRequest;
7073
6009
  path: {
7074
6010
  /**
7075
- * Graph Id
6011
+ * Org Id
7076
6012
  */
7077
- graph_id: string;
6013
+ org_id: string;
7078
6014
  };
7079
6015
  query?: never;
7080
- url: '/v1/graphs/{graph_id}/connections/options';
6016
+ url: '/v1/orgs/{org_id}';
7081
6017
  };
7082
6018
 
7083
- export type GetConnectionOptionsErrors = {
7084
- /**
7085
- * Access denied to graph
7086
- */
7087
- 403: ErrorResponse;
6019
+ export type UpdateOrgErrors = {
7088
6020
  /**
7089
6021
  * Validation Error
7090
6022
  */
7091
6023
  422: HttpValidationError;
7092
- /**
7093
- * Failed to retrieve options
7094
- */
7095
- 500: ErrorResponse;
7096
6024
  };
7097
6025
 
7098
- export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
6026
+ export type UpdateOrgError = UpdateOrgErrors[keyof UpdateOrgErrors];
7099
6027
 
7100
- export type GetConnectionOptionsResponses = {
6028
+ export type UpdateOrgResponses = {
7101
6029
  /**
7102
- * Connection options retrieved successfully
6030
+ * Successful Response
7103
6031
  */
7104
- 200: ConnectionOptionsResponse;
6032
+ 200: OrgDetailResponse;
7105
6033
  };
7106
6034
 
7107
- export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
6035
+ export type UpdateOrgResponse = UpdateOrgResponses[keyof UpdateOrgResponses];
7108
6036
 
7109
- export type ExchangeLinkTokenData = {
7110
- body: ExchangeTokenRequest;
6037
+ export type ListOrgGraphsData = {
6038
+ body?: never;
7111
6039
  path: {
7112
6040
  /**
7113
- * Graph Id
6041
+ * Org Id
7114
6042
  */
7115
- graph_id: string;
6043
+ org_id: string;
7116
6044
  };
7117
6045
  query?: never;
7118
- url: '/v1/graphs/{graph_id}/connections/link/exchange';
6046
+ url: '/v1/orgs/{org_id}/graphs';
7119
6047
  };
7120
6048
 
7121
- export type ExchangeLinkTokenErrors = {
7122
- /**
7123
- * Invalid token or provider
7124
- */
7125
- 400: ErrorResponse;
7126
- /**
7127
- * Connection not found
7128
- */
7129
- 404: ErrorResponse;
6049
+ export type ListOrgGraphsErrors = {
7130
6050
  /**
7131
6051
  * Validation Error
7132
6052
  */
7133
6053
  422: HttpValidationError;
7134
- /**
7135
- * Token exchange failed
7136
- */
7137
- 500: ErrorResponse;
7138
6054
  };
7139
6055
 
7140
- export type ExchangeLinkTokenError = ExchangeLinkTokenErrors[keyof ExchangeLinkTokenErrors];
6056
+ export type ListOrgGraphsError = ListOrgGraphsErrors[keyof ListOrgGraphsErrors];
7141
6057
 
7142
- export type ExchangeLinkTokenResponses = {
6058
+ export type ListOrgGraphsResponses = {
7143
6059
  /**
7144
- * Token exchanged successfully
6060
+ * Response Listorggraphs
6061
+ *
6062
+ * Successful Response
7145
6063
  */
7146
- 200: unknown;
6064
+ 200: Array<{
6065
+ [key: string]: unknown;
6066
+ }>;
7147
6067
  };
7148
6068
 
7149
- export type CreateLinkTokenData = {
7150
- body: LinkTokenRequest;
6069
+ export type ListOrgGraphsResponse = ListOrgGraphsResponses[keyof ListOrgGraphsResponses];
6070
+
6071
+ export type ListOrgMembersData = {
6072
+ body?: never;
7151
6073
  path: {
7152
6074
  /**
7153
- * Graph Id
6075
+ * Org Id
7154
6076
  */
7155
- graph_id: string;
6077
+ org_id: string;
7156
6078
  };
7157
6079
  query?: never;
7158
- url: '/v1/graphs/{graph_id}/connections/link/token';
6080
+ url: '/v1/orgs/{org_id}/members';
7159
6081
  };
7160
6082
 
7161
- export type CreateLinkTokenErrors = {
7162
- /**
7163
- * Invalid provider or request
7164
- */
7165
- 400: ErrorResponse;
7166
- /**
7167
- * Entity not found
7168
- */
7169
- 404: ErrorResponse;
6083
+ export type ListOrgMembersErrors = {
7170
6084
  /**
7171
6085
  * Validation Error
7172
6086
  */
7173
6087
  422: HttpValidationError;
7174
- /**
7175
- * Failed to create link token
7176
- */
7177
- 500: ErrorResponse;
7178
6088
  };
7179
6089
 
7180
- export type CreateLinkTokenError = CreateLinkTokenErrors[keyof CreateLinkTokenErrors];
6090
+ export type ListOrgMembersError = ListOrgMembersErrors[keyof ListOrgMembersErrors];
7181
6091
 
7182
- export type CreateLinkTokenResponses = {
6092
+ export type ListOrgMembersResponses = {
7183
6093
  /**
7184
- * Link token created successfully
6094
+ * Successful Response
7185
6095
  */
7186
- 200: unknown;
6096
+ 200: OrgMemberListResponse;
7187
6097
  };
7188
6098
 
7189
- export type InitOAuthData = {
7190
- body: OAuthInitRequest;
6099
+ export type ListOrgMembersResponse = ListOrgMembersResponses[keyof ListOrgMembersResponses];
6100
+
6101
+ export type InviteOrgMemberData = {
6102
+ body: InviteMemberRequest;
7191
6103
  path: {
7192
6104
  /**
7193
- * Graph Id
6105
+ * Org Id
7194
6106
  */
7195
- graph_id: string;
6107
+ org_id: string;
7196
6108
  };
7197
6109
  query?: never;
7198
- url: '/v1/graphs/{graph_id}/connections/oauth/init';
6110
+ url: '/v1/orgs/{org_id}/members';
7199
6111
  };
7200
6112
 
7201
- export type InitOAuthErrors = {
6113
+ export type InviteOrgMemberErrors = {
7202
6114
  /**
7203
6115
  * Validation Error
7204
6116
  */
7205
6117
  422: HttpValidationError;
7206
6118
  };
7207
6119
 
7208
- export type InitOAuthError = InitOAuthErrors[keyof InitOAuthErrors];
6120
+ export type InviteOrgMemberError = InviteOrgMemberErrors[keyof InviteOrgMemberErrors];
7209
6121
 
7210
- export type InitOAuthResponses = {
6122
+ export type InviteOrgMemberResponses = {
7211
6123
  /**
7212
6124
  * Successful Response
7213
6125
  */
7214
- 200: OAuthInitResponse;
6126
+ 201: OrgMemberResponse;
7215
6127
  };
7216
6128
 
7217
- export type InitOAuthResponse = InitOAuthResponses[keyof InitOAuthResponses];
6129
+ export type InviteOrgMemberResponse = InviteOrgMemberResponses[keyof InviteOrgMemberResponses];
7218
6130
 
7219
- export type OauthCallbackData = {
7220
- body: OAuthCallbackRequest;
6131
+ export type RemoveOrgMemberData = {
6132
+ body?: never;
7221
6133
  path: {
7222
6134
  /**
7223
- * Provider
7224
- *
7225
- * OAuth provider name
6135
+ * Org Id
7226
6136
  */
7227
- provider: string;
6137
+ org_id: string;
7228
6138
  /**
7229
- * Graph Id
6139
+ * User Id
7230
6140
  */
7231
- graph_id: string;
6141
+ user_id: string;
7232
6142
  };
7233
6143
  query?: never;
7234
- url: '/v1/graphs/{graph_id}/connections/oauth/callback/{provider}';
6144
+ url: '/v1/orgs/{org_id}/members/{user_id}';
7235
6145
  };
7236
6146
 
7237
- export type OauthCallbackErrors = {
7238
- /**
7239
- * OAuth error or invalid state
7240
- */
7241
- 400: ErrorResponse;
7242
- /**
7243
- * State does not match user
7244
- */
7245
- 403: ErrorResponse;
7246
- /**
7247
- * Connection not found
7248
- */
7249
- 404: ErrorResponse;
6147
+ export type RemoveOrgMemberErrors = {
7250
6148
  /**
7251
6149
  * Validation Error
7252
6150
  */
7253
6151
  422: HttpValidationError;
7254
- /**
7255
- * OAuth callback processing failed
7256
- */
7257
- 500: ErrorResponse;
7258
6152
  };
7259
6153
 
7260
- export type OauthCallbackError = OauthCallbackErrors[keyof OauthCallbackErrors];
6154
+ export type RemoveOrgMemberError = RemoveOrgMemberErrors[keyof RemoveOrgMemberErrors];
7261
6155
 
7262
- export type OauthCallbackResponses = {
6156
+ export type RemoveOrgMemberResponses = {
7263
6157
  /**
7264
- * OAuth flow completed successfully
6158
+ * Successful Response
7265
6159
  */
7266
- 200: unknown;
6160
+ 204: void;
7267
6161
  };
7268
6162
 
7269
- export type DeleteConnectionData = {
7270
- body?: never;
6163
+ export type RemoveOrgMemberResponse = RemoveOrgMemberResponses[keyof RemoveOrgMemberResponses];
6164
+
6165
+ export type UpdateOrgMemberRoleData = {
6166
+ body: UpdateMemberRoleRequest;
7271
6167
  path: {
7272
6168
  /**
7273
- * Graph Id
6169
+ * Org Id
7274
6170
  */
7275
- graph_id: string;
6171
+ org_id: string;
7276
6172
  /**
7277
- * Connection Id
7278
- *
7279
- * Connection identifier
6173
+ * User Id
7280
6174
  */
7281
- connection_id: string;
6175
+ user_id: string;
7282
6176
  };
7283
6177
  query?: never;
7284
- url: '/v1/graphs/{graph_id}/connections/{connection_id}';
6178
+ url: '/v1/orgs/{org_id}/members/{user_id}';
7285
6179
  };
7286
6180
 
7287
- export type DeleteConnectionErrors = {
7288
- /**
7289
- * Access denied - admin role required
7290
- */
7291
- 403: ErrorResponse;
7292
- /**
7293
- * Connection not found
7294
- */
7295
- 404: ErrorResponse;
6181
+ export type UpdateOrgMemberRoleErrors = {
7296
6182
  /**
7297
6183
  * Validation Error
7298
6184
  */
7299
6185
  422: HttpValidationError;
7300
- /**
7301
- * Failed to delete connection
7302
- */
7303
- 500: ErrorResponse;
7304
6186
  };
7305
6187
 
7306
- export type DeleteConnectionError = DeleteConnectionErrors[keyof DeleteConnectionErrors];
6188
+ export type UpdateOrgMemberRoleError = UpdateOrgMemberRoleErrors[keyof UpdateOrgMemberRoleErrors];
7307
6189
 
7308
- export type DeleteConnectionResponses = {
6190
+ export type UpdateOrgMemberRoleResponses = {
7309
6191
  /**
7310
- * Connection deleted successfully
6192
+ * Successful Response
7311
6193
  */
7312
- 200: SuccessResponse;
6194
+ 200: OrgMemberResponse;
7313
6195
  };
7314
6196
 
7315
- export type DeleteConnectionResponse = DeleteConnectionResponses[keyof DeleteConnectionResponses];
6197
+ export type UpdateOrgMemberRoleResponse = UpdateOrgMemberRoleResponses[keyof UpdateOrgMemberRoleResponses];
7316
6198
 
7317
- export type GetConnectionData = {
6199
+ export type GetOrgLimitsData = {
7318
6200
  body?: never;
7319
6201
  path: {
7320
6202
  /**
7321
- * Graph Id
7322
- */
7323
- graph_id: string;
7324
- /**
7325
- * Connection Id
7326
- *
7327
- * Unique connection identifier
6203
+ * Org Id
7328
6204
  */
7329
- connection_id: string;
6205
+ org_id: string;
7330
6206
  };
7331
6207
  query?: never;
7332
- url: '/v1/graphs/{graph_id}/connections/{connection_id}';
6208
+ url: '/v1/orgs/{org_id}/limits';
7333
6209
  };
7334
6210
 
7335
- export type GetConnectionErrors = {
7336
- /**
7337
- * Access denied to connection
7338
- */
7339
- 403: ErrorResponse;
7340
- /**
7341
- * Connection not found
7342
- */
7343
- 404: ErrorResponse;
6211
+ export type GetOrgLimitsErrors = {
7344
6212
  /**
7345
6213
  * Validation Error
7346
6214
  */
7347
6215
  422: HttpValidationError;
7348
- /**
7349
- * Failed to retrieve connection
7350
- */
7351
- 500: ErrorResponse;
7352
6216
  };
7353
6217
 
7354
- export type GetConnectionError = GetConnectionErrors[keyof GetConnectionErrors];
6218
+ export type GetOrgLimitsError = GetOrgLimitsErrors[keyof GetOrgLimitsErrors];
7355
6219
 
7356
- export type GetConnectionResponses = {
6220
+ export type GetOrgLimitsResponses = {
7357
6221
  /**
7358
- * Connection details retrieved successfully
6222
+ * Successful Response
7359
6223
  */
7360
- 200: ConnectionResponse;
6224
+ 200: OrgLimitsResponse;
7361
6225
  };
7362
6226
 
7363
- export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
6227
+ export type GetOrgLimitsResponse = GetOrgLimitsResponses[keyof GetOrgLimitsResponses];
7364
6228
 
7365
- export type SyncConnectionData = {
7366
- body: SyncConnectionRequest;
6229
+ export type GetOrgUsageData = {
6230
+ body?: never;
7367
6231
  path: {
7368
6232
  /**
7369
- * Graph Id
6233
+ * Org Id
7370
6234
  */
7371
- graph_id: string;
6235
+ org_id: string;
6236
+ };
6237
+ query?: {
7372
6238
  /**
7373
- * Connection Id
7374
- *
7375
- * Connection identifier
6239
+ * Days
7376
6240
  */
7377
- connection_id: string;
6241
+ days?: number;
7378
6242
  };
7379
- query?: never;
7380
- url: '/v1/graphs/{graph_id}/connections/{connection_id}/sync';
6243
+ url: '/v1/orgs/{org_id}/usage';
7381
6244
  };
7382
6245
 
7383
- export type SyncConnectionErrors = {
7384
- /**
7385
- * Access denied - admin role required
7386
- */
7387
- 403: ErrorResponse;
7388
- /**
7389
- * Connection not found
7390
- */
7391
- 404: ErrorResponse;
6246
+ export type GetOrgUsageErrors = {
7392
6247
  /**
7393
6248
  * Validation Error
7394
6249
  */
7395
6250
  422: HttpValidationError;
7396
- /**
7397
- * Failed to start sync
7398
- */
7399
- 500: ErrorResponse;
7400
6251
  };
7401
6252
 
7402
- export type SyncConnectionError = SyncConnectionErrors[keyof SyncConnectionErrors];
6253
+ export type GetOrgUsageError = GetOrgUsageErrors[keyof GetOrgUsageErrors];
7403
6254
 
7404
- export type SyncConnectionResponses = {
6255
+ export type GetOrgUsageResponses = {
7405
6256
  /**
7406
- * Response Syncconnection
7407
- *
7408
- * Sync started successfully
6257
+ * Successful Response
7409
6258
  */
7410
- 200: {
7411
- [key: string]: unknown;
7412
- };
6259
+ 200: OrgUsageResponse;
7413
6260
  };
7414
6261
 
7415
- export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
6262
+ export type GetOrgUsageResponse = GetOrgUsageResponses[keyof GetOrgUsageResponses];
7416
6263
 
7417
6264
  export type ListAgentsData = {
7418
6265
  body?: never;
@@ -9210,64 +8057,6 @@ export type QueryTablesResponses = {
9210
8057
 
9211
8058
  export type QueryTablesResponse = QueryTablesResponses[keyof QueryTablesResponses];
9212
8059
 
9213
- export type CreateViewData = {
9214
- body: CreateViewRequest;
9215
- path: {
9216
- /**
9217
- * Graph Id
9218
- */
9219
- graph_id: string;
9220
- };
9221
- query?: never;
9222
- url: '/v1/graphs/{graph_id}/views';
9223
- };
9224
-
9225
- export type CreateViewErrors = {
9226
- /**
9227
- * Validation Error
9228
- */
9229
- 422: HttpValidationError;
9230
- };
9231
-
9232
- export type CreateViewError = CreateViewErrors[keyof CreateViewErrors];
9233
-
9234
- export type CreateViewResponses = {
9235
- /**
9236
- * Successful Response
9237
- */
9238
- 200: unknown;
9239
- };
9240
-
9241
- export type SaveViewData = {
9242
- body: SaveViewRequest;
9243
- path: {
9244
- /**
9245
- * Graph Id
9246
- */
9247
- graph_id: string;
9248
- };
9249
- query?: never;
9250
- url: '/v1/graphs/{graph_id}/views/save';
9251
- };
9252
-
9253
- export type SaveViewErrors = {
9254
- /**
9255
- * Validation Error
9256
- */
9257
- 422: HttpValidationError;
9258
- };
9259
-
9260
- export type SaveViewError = SaveViewErrors[keyof SaveViewErrors];
9261
-
9262
- export type SaveViewResponses = {
9263
- /**
9264
- * Successful Response
9265
- */
9266
- 200: SaveViewResponse;
9267
- };
9268
-
9269
- export type SaveViewResponse2 = SaveViewResponses[keyof SaveViewResponses];
9270
-
9271
8060
  export type GetMaterializationStatusData = {
9272
8061
  body?: never;
9273
8062
  path: {
@@ -9343,6 +8132,10 @@ export type MaterializeGraphErrors = {
9343
8132
  * Conflict - another materialization is already in progress for this graph
9344
8133
  */
9345
8134
  409: ErrorResponse;
8135
+ /**
8136
+ * Graph content limit exceeded - data too large for current tier
8137
+ */
8138
+ 413: ErrorResponse;
9346
8139
  /**
9347
8140
  * Validation Error
9348
8141
  */