@robosystems/client 0.2.30 → 0.2.32

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
@@ -944,6 +944,161 @@ 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: string;
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
+ };
947
1102
  /**
948
1103
  * ContentLimits
949
1104
  *
@@ -1111,6 +1266,28 @@ export type CreateCheckoutRequest = {
1111
1266
  [key: string]: unknown;
1112
1267
  };
1113
1268
  };
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
+ };
1114
1291
  /**
1115
1292
  * CreateGraphRequest
1116
1293
  *
@@ -1152,18 +1329,6 @@ export type CreateGraphRequest = {
1152
1329
  */
1153
1330
  tags?: Array<string>;
1154
1331
  };
1155
- /**
1156
- * CreateOrgRequest
1157
- *
1158
- * Request to create an organization.
1159
- */
1160
- export type CreateOrgRequest = {
1161
- /**
1162
- * Name
1163
- */
1164
- name: string;
1165
- org_type?: OrgType;
1166
- };
1167
1332
  /**
1168
1333
  * CreateRepositorySubscriptionRequest
1169
1334
  *
@@ -1732,27 +1897,27 @@ export type DetailedTransactionsResponse = {
1732
1897
  */
1733
1898
  export type DownloadQuota = {
1734
1899
  /**
1735
- * Limit Per Day
1900
+ * Limit Per Month
1736
1901
  *
1737
- * Maximum downloads allowed per day
1902
+ * Maximum downloads allowed per month
1738
1903
  */
1739
- limit_per_day: number;
1904
+ limit_per_month: number;
1740
1905
  /**
1741
- * Used Today
1906
+ * Used This Month
1742
1907
  *
1743
- * Number of downloads used today
1908
+ * Number of downloads used this month
1744
1909
  */
1745
- used_today: number;
1910
+ used_this_month: number;
1746
1911
  /**
1747
1912
  * Remaining
1748
1913
  *
1749
- * Downloads remaining today
1914
+ * Downloads remaining this month
1750
1915
  */
1751
1916
  remaining: number;
1752
1917
  /**
1753
1918
  * Resets At
1754
1919
  *
1755
- * When the daily limit resets (UTC)
1920
+ * When the monthly limit resets (UTC)
1756
1921
  */
1757
1922
  resets_at: string;
1758
1923
  };
@@ -2132,6 +2297,19 @@ export type GetFileInfoResponse = {
2132
2297
  */
2133
2298
  layers?: EnhancedFileStatusLayers | null;
2134
2299
  };
2300
+ /**
2301
+ * GraphCapacityResponse
2302
+ *
2303
+ * Response containing capacity status for all customer-facing tiers.
2304
+ */
2305
+ export type GraphCapacityResponse = {
2306
+ /**
2307
+ * Tiers
2308
+ *
2309
+ * Capacity status per tier
2310
+ */
2311
+ tiers: Array<TierCapacity>;
2312
+ };
2135
2313
  /**
2136
2314
  * GraphInfo
2137
2315
  *
@@ -2204,6 +2382,12 @@ export type GraphInfo = {
2204
2382
  * Type of graph: generic, entity, or repository
2205
2383
  */
2206
2384
  graphType?: string;
2385
+ /**
2386
+ * Status
2387
+ *
2388
+ * Graph lifecycle status: queued, provisioning, active, suspended
2389
+ */
2390
+ status?: string;
2207
2391
  };
2208
2392
  /**
2209
2393
  * GraphLimitsResponse
@@ -3355,6 +3539,95 @@ export type MaterializeStatusResponse = {
3355
3539
  */
3356
3540
  message: string;
3357
3541
  };
3542
+ /**
3543
+ * OAuthCallbackRequest
3544
+ *
3545
+ * OAuth callback parameters.
3546
+ */
3547
+ export type OAuthCallbackRequest = {
3548
+ /**
3549
+ * Code
3550
+ *
3551
+ * Authorization code from OAuth provider
3552
+ */
3553
+ code: string;
3554
+ /**
3555
+ * State
3556
+ *
3557
+ * OAuth state for verification
3558
+ */
3559
+ state: string;
3560
+ /**
3561
+ * Realm Id
3562
+ *
3563
+ * QuickBooks-specific realm ID
3564
+ */
3565
+ realm_id?: string | null;
3566
+ /**
3567
+ * Error
3568
+ *
3569
+ * OAuth error if authorization failed
3570
+ */
3571
+ error?: string | null;
3572
+ /**
3573
+ * Error Description
3574
+ *
3575
+ * OAuth error details
3576
+ */
3577
+ error_description?: string | null;
3578
+ };
3579
+ /**
3580
+ * OAuthInitRequest
3581
+ *
3582
+ * Request to initiate OAuth flow.
3583
+ */
3584
+ export type OAuthInitRequest = {
3585
+ /**
3586
+ * Connection Id
3587
+ *
3588
+ * Connection ID to link OAuth to
3589
+ */
3590
+ connection_id: string;
3591
+ /**
3592
+ * Redirect Uri
3593
+ *
3594
+ * Override default redirect URI
3595
+ */
3596
+ redirect_uri?: string | null;
3597
+ /**
3598
+ * Additional Params
3599
+ *
3600
+ * Provider-specific parameters
3601
+ */
3602
+ additional_params?: {
3603
+ [key: string]: string;
3604
+ } | null;
3605
+ };
3606
+ /**
3607
+ * OAuthInitResponse
3608
+ *
3609
+ * Response with OAuth authorization URL.
3610
+ */
3611
+ export type OAuthInitResponse = {
3612
+ /**
3613
+ * Auth Url
3614
+ *
3615
+ * URL to redirect user for authorization
3616
+ */
3617
+ auth_url: string;
3618
+ /**
3619
+ * State
3620
+ *
3621
+ * OAuth state for security
3622
+ */
3623
+ state: string;
3624
+ /**
3625
+ * Expires At
3626
+ *
3627
+ * When this OAuth request expires
3628
+ */
3629
+ expires_at: string;
3630
+ };
3358
3631
  /**
3359
3632
  * OfferingRepositoryPlan
3360
3633
  *
@@ -3878,6 +4151,47 @@ export type PerformanceInsights = {
3878
4151
  */
3879
4152
  performance_score: number;
3880
4153
  };
4154
+ /**
4155
+ * PlaidConnectionConfig
4156
+ *
4157
+ * Plaid-specific connection configuration.
4158
+ */
4159
+ export type PlaidConnectionConfig = {
4160
+ /**
4161
+ * Public Token
4162
+ *
4163
+ * Plaid public token for exchange
4164
+ */
4165
+ public_token?: string | null;
4166
+ /**
4167
+ * Access Token
4168
+ *
4169
+ * Plaid access token (set after exchange)
4170
+ */
4171
+ access_token?: string | null;
4172
+ /**
4173
+ * Item Id
4174
+ *
4175
+ * Plaid item ID
4176
+ */
4177
+ item_id?: string | null;
4178
+ /**
4179
+ * Institution
4180
+ *
4181
+ * Institution information
4182
+ */
4183
+ institution?: {
4184
+ [key: string]: unknown;
4185
+ } | null;
4186
+ /**
4187
+ * Accounts
4188
+ *
4189
+ * Connected accounts
4190
+ */
4191
+ accounts?: Array<{
4192
+ [key: string]: unknown;
4193
+ }> | null;
4194
+ };
3881
4195
  /**
3882
4196
  * PortalSessionResponse
3883
4197
  *
@@ -3922,6 +4236,25 @@ export type QueryLimits = {
3922
4236
  */
3923
4237
  concurrent_queries: number;
3924
4238
  };
4239
+ /**
4240
+ * QuickBooksConnectionConfig
4241
+ *
4242
+ * QuickBooks-specific connection configuration.
4243
+ */
4244
+ export type QuickBooksConnectionConfig = {
4245
+ /**
4246
+ * Realm Id
4247
+ *
4248
+ * QuickBooks Realm ID
4249
+ */
4250
+ realm_id?: string | null;
4251
+ /**
4252
+ * Refresh Token
4253
+ *
4254
+ * OAuth refresh token
4255
+ */
4256
+ refresh_token?: string | null;
4257
+ };
3925
4258
  /**
3926
4259
  * RateLimits
3927
4260
  *
@@ -4099,6 +4432,25 @@ export type ResetPasswordValidateResponse = {
4099
4432
  * Response modes for execution.
4100
4433
  */
4101
4434
  export type ResponseMode = 'auto' | 'sync' | 'async' | 'stream';
4435
+ /**
4436
+ * SECConnectionConfig
4437
+ *
4438
+ * SEC-specific connection configuration.
4439
+ */
4440
+ export type SecConnectionConfig = {
4441
+ /**
4442
+ * Cik
4443
+ *
4444
+ * 10-digit CIK number
4445
+ */
4446
+ cik: string;
4447
+ /**
4448
+ * Entity Name
4449
+ *
4450
+ * Entity name from SEC
4451
+ */
4452
+ entity_name?: string | null;
4453
+ };
4102
4454
  /**
4103
4455
  * SSOCompleteRequest
4104
4456
  *
@@ -4764,6 +5116,27 @@ export type SuccessResponse = {
4764
5116
  [key: string]: unknown;
4765
5117
  } | null;
4766
5118
  };
5119
+ /**
5120
+ * SyncConnectionRequest
5121
+ *
5122
+ * Request to sync a connection.
5123
+ */
5124
+ export type SyncConnectionRequest = {
5125
+ /**
5126
+ * Full Sync
5127
+ *
5128
+ * Perform full sync vs incremental
5129
+ */
5130
+ full_sync?: boolean;
5131
+ /**
5132
+ * Sync Options
5133
+ *
5134
+ * Provider-specific sync options
5135
+ */
5136
+ sync_options?: {
5137
+ [key: string]: unknown;
5138
+ } | null;
5139
+ };
4767
5140
  /**
4768
5141
  * TableInfo
4769
5142
  */
@@ -4862,6 +5235,37 @@ export type TableQueryResponse = {
4862
5235
  */
4863
5236
  execution_time_ms: number;
4864
5237
  };
5238
+ /**
5239
+ * TierCapacity
5240
+ *
5241
+ * Capacity status for a single tier.
5242
+ */
5243
+ export type TierCapacity = {
5244
+ /**
5245
+ * Tier
5246
+ *
5247
+ * Tier identifier (e.g. ladybug-standard)
5248
+ */
5249
+ tier: string;
5250
+ /**
5251
+ * Display Name
5252
+ *
5253
+ * Human-readable tier name
5254
+ */
5255
+ display_name: string;
5256
+ /**
5257
+ * Status
5258
+ *
5259
+ * Capacity status: ready, scalable, or at_capacity
5260
+ */
5261
+ status: string;
5262
+ /**
5263
+ * Message
5264
+ *
5265
+ * Human-readable status message for frontend display
5266
+ */
5267
+ message: string;
5268
+ };
4865
5269
  /**
4866
5270
  * TokenPricing
4867
5271
  *
@@ -5687,26 +6091,6 @@ export type ListUserOrgsResponses = {
5687
6091
  200: OrgListResponse;
5688
6092
  };
5689
6093
  export type ListUserOrgsResponse = ListUserOrgsResponses[keyof ListUserOrgsResponses];
5690
- export type CreateOrgData = {
5691
- body: CreateOrgRequest;
5692
- path?: never;
5693
- query?: never;
5694
- url: '/v1/orgs';
5695
- };
5696
- export type CreateOrgErrors = {
5697
- /**
5698
- * Validation Error
5699
- */
5700
- 422: HttpValidationError;
5701
- };
5702
- export type CreateOrgError = CreateOrgErrors[keyof CreateOrgErrors];
5703
- export type CreateOrgResponses = {
5704
- /**
5705
- * Successful Response
5706
- */
5707
- 201: OrgDetailResponse;
5708
- };
5709
- export type CreateOrgResponse = CreateOrgResponses[keyof CreateOrgResponses];
5710
6094
  export type GetOrgData = {
5711
6095
  body?: never;
5712
6096
  path: {
@@ -5949,6 +6333,332 @@ export type GetOrgUsageResponses = {
5949
6333
  200: OrgUsageResponse;
5950
6334
  };
5951
6335
  export type GetOrgUsageResponse = GetOrgUsageResponses[keyof GetOrgUsageResponses];
6336
+ export type ListConnectionsData = {
6337
+ body?: never;
6338
+ path: {
6339
+ /**
6340
+ * Graph Id
6341
+ */
6342
+ graph_id: string;
6343
+ };
6344
+ query?: {
6345
+ /**
6346
+ * Entity Id
6347
+ *
6348
+ * Filter by entity ID
6349
+ */
6350
+ entity_id?: string | null;
6351
+ /**
6352
+ * Provider
6353
+ *
6354
+ * Filter by provider type
6355
+ */
6356
+ provider?: 'sec' | 'quickbooks' | 'plaid' | null;
6357
+ };
6358
+ url: '/v1/graphs/{graph_id}/connections';
6359
+ };
6360
+ export type ListConnectionsErrors = {
6361
+ /**
6362
+ * Access denied to graph
6363
+ */
6364
+ 403: ErrorResponse;
6365
+ /**
6366
+ * Validation Error
6367
+ */
6368
+ 422: HttpValidationError;
6369
+ /**
6370
+ * Failed to list connections
6371
+ */
6372
+ 500: ErrorResponse;
6373
+ };
6374
+ export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
6375
+ export type ListConnectionsResponses = {
6376
+ /**
6377
+ * Response Listconnections
6378
+ *
6379
+ * Connections retrieved successfully
6380
+ */
6381
+ 200: Array<ConnectionResponse>;
6382
+ };
6383
+ export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
6384
+ export type CreateConnectionData = {
6385
+ body: CreateConnectionRequest;
6386
+ path: {
6387
+ /**
6388
+ * Graph Id
6389
+ */
6390
+ graph_id: string;
6391
+ };
6392
+ query?: never;
6393
+ url: '/v1/graphs/{graph_id}/connections';
6394
+ };
6395
+ export type CreateConnectionErrors = {
6396
+ /**
6397
+ * Invalid connection configuration
6398
+ */
6399
+ 400: ErrorResponse;
6400
+ /**
6401
+ * Access denied - admin role required
6402
+ */
6403
+ 403: ErrorResponse;
6404
+ /**
6405
+ * Connection already exists
6406
+ */
6407
+ 409: ErrorResponse;
6408
+ /**
6409
+ * Validation Error
6410
+ */
6411
+ 422: HttpValidationError;
6412
+ /**
6413
+ * Failed to create connection
6414
+ */
6415
+ 500: ErrorResponse;
6416
+ };
6417
+ export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
6418
+ export type CreateConnectionResponses = {
6419
+ /**
6420
+ * Connection created successfully
6421
+ */
6422
+ 201: ConnectionResponse;
6423
+ };
6424
+ export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
6425
+ export type GetConnectionOptionsData = {
6426
+ body?: never;
6427
+ path: {
6428
+ /**
6429
+ * Graph Id
6430
+ */
6431
+ graph_id: string;
6432
+ };
6433
+ query?: never;
6434
+ url: '/v1/graphs/{graph_id}/connections/options';
6435
+ };
6436
+ export type GetConnectionOptionsErrors = {
6437
+ /**
6438
+ * Access denied to graph
6439
+ */
6440
+ 403: ErrorResponse;
6441
+ /**
6442
+ * Validation Error
6443
+ */
6444
+ 422: HttpValidationError;
6445
+ /**
6446
+ * Failed to retrieve options
6447
+ */
6448
+ 500: ErrorResponse;
6449
+ };
6450
+ export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
6451
+ export type GetConnectionOptionsResponses = {
6452
+ /**
6453
+ * Connection options retrieved successfully
6454
+ */
6455
+ 200: ConnectionOptionsResponse;
6456
+ };
6457
+ export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
6458
+ export type InitOAuthData = {
6459
+ body: OAuthInitRequest;
6460
+ path: {
6461
+ /**
6462
+ * Graph Id
6463
+ */
6464
+ graph_id: string;
6465
+ };
6466
+ query?: never;
6467
+ url: '/v1/graphs/{graph_id}/connections/oauth/init';
6468
+ };
6469
+ export type InitOAuthErrors = {
6470
+ /**
6471
+ * Validation Error
6472
+ */
6473
+ 422: HttpValidationError;
6474
+ };
6475
+ export type InitOAuthError = InitOAuthErrors[keyof InitOAuthErrors];
6476
+ export type InitOAuthResponses = {
6477
+ /**
6478
+ * Successful Response
6479
+ */
6480
+ 200: OAuthInitResponse;
6481
+ };
6482
+ export type InitOAuthResponse = InitOAuthResponses[keyof InitOAuthResponses];
6483
+ export type OauthCallbackData = {
6484
+ body: OAuthCallbackRequest;
6485
+ path: {
6486
+ /**
6487
+ * Provider
6488
+ *
6489
+ * OAuth provider name
6490
+ */
6491
+ provider: string;
6492
+ /**
6493
+ * Graph Id
6494
+ */
6495
+ graph_id: string;
6496
+ };
6497
+ query?: never;
6498
+ url: '/v1/graphs/{graph_id}/connections/oauth/callback/{provider}';
6499
+ };
6500
+ export type OauthCallbackErrors = {
6501
+ /**
6502
+ * OAuth error or invalid state
6503
+ */
6504
+ 400: ErrorResponse;
6505
+ /**
6506
+ * State does not match user
6507
+ */
6508
+ 403: ErrorResponse;
6509
+ /**
6510
+ * Connection not found
6511
+ */
6512
+ 404: ErrorResponse;
6513
+ /**
6514
+ * Validation Error
6515
+ */
6516
+ 422: HttpValidationError;
6517
+ /**
6518
+ * OAuth callback processing failed
6519
+ */
6520
+ 500: ErrorResponse;
6521
+ };
6522
+ export type OauthCallbackError = OauthCallbackErrors[keyof OauthCallbackErrors];
6523
+ export type OauthCallbackResponses = {
6524
+ /**
6525
+ * OAuth flow completed successfully
6526
+ */
6527
+ 200: unknown;
6528
+ };
6529
+ export type DeleteConnectionData = {
6530
+ body?: never;
6531
+ path: {
6532
+ /**
6533
+ * Graph Id
6534
+ */
6535
+ graph_id: string;
6536
+ /**
6537
+ * Connection Id
6538
+ *
6539
+ * Connection identifier
6540
+ */
6541
+ connection_id: string;
6542
+ };
6543
+ query?: never;
6544
+ url: '/v1/graphs/{graph_id}/connections/{connection_id}';
6545
+ };
6546
+ export type DeleteConnectionErrors = {
6547
+ /**
6548
+ * Access denied - admin role required
6549
+ */
6550
+ 403: ErrorResponse;
6551
+ /**
6552
+ * Connection not found
6553
+ */
6554
+ 404: ErrorResponse;
6555
+ /**
6556
+ * Validation Error
6557
+ */
6558
+ 422: HttpValidationError;
6559
+ /**
6560
+ * Failed to delete connection
6561
+ */
6562
+ 500: ErrorResponse;
6563
+ };
6564
+ export type DeleteConnectionError = DeleteConnectionErrors[keyof DeleteConnectionErrors];
6565
+ export type DeleteConnectionResponses = {
6566
+ /**
6567
+ * Connection deleted successfully
6568
+ */
6569
+ 200: SuccessResponse;
6570
+ };
6571
+ export type DeleteConnectionResponse = DeleteConnectionResponses[keyof DeleteConnectionResponses];
6572
+ export type GetConnectionData = {
6573
+ body?: never;
6574
+ path: {
6575
+ /**
6576
+ * Graph Id
6577
+ */
6578
+ graph_id: string;
6579
+ /**
6580
+ * Connection Id
6581
+ *
6582
+ * Unique connection identifier
6583
+ */
6584
+ connection_id: string;
6585
+ };
6586
+ query?: never;
6587
+ url: '/v1/graphs/{graph_id}/connections/{connection_id}';
6588
+ };
6589
+ export type GetConnectionErrors = {
6590
+ /**
6591
+ * Access denied to connection
6592
+ */
6593
+ 403: ErrorResponse;
6594
+ /**
6595
+ * Connection not found
6596
+ */
6597
+ 404: ErrorResponse;
6598
+ /**
6599
+ * Validation Error
6600
+ */
6601
+ 422: HttpValidationError;
6602
+ /**
6603
+ * Failed to retrieve connection
6604
+ */
6605
+ 500: ErrorResponse;
6606
+ };
6607
+ export type GetConnectionError = GetConnectionErrors[keyof GetConnectionErrors];
6608
+ export type GetConnectionResponses = {
6609
+ /**
6610
+ * Connection details retrieved successfully
6611
+ */
6612
+ 200: ConnectionResponse;
6613
+ };
6614
+ export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
6615
+ export type SyncConnectionData = {
6616
+ body: SyncConnectionRequest;
6617
+ path: {
6618
+ /**
6619
+ * Graph Id
6620
+ */
6621
+ graph_id: string;
6622
+ /**
6623
+ * Connection Id
6624
+ *
6625
+ * Connection identifier
6626
+ */
6627
+ connection_id: string;
6628
+ };
6629
+ query?: never;
6630
+ url: '/v1/graphs/{graph_id}/connections/{connection_id}/sync';
6631
+ };
6632
+ export type SyncConnectionErrors = {
6633
+ /**
6634
+ * Access denied - admin role required
6635
+ */
6636
+ 403: ErrorResponse;
6637
+ /**
6638
+ * Connection not found
6639
+ */
6640
+ 404: ErrorResponse;
6641
+ /**
6642
+ * Validation Error
6643
+ */
6644
+ 422: HttpValidationError;
6645
+ /**
6646
+ * Failed to start sync
6647
+ */
6648
+ 500: ErrorResponse;
6649
+ };
6650
+ export type SyncConnectionError = SyncConnectionErrors[keyof SyncConnectionErrors];
6651
+ export type SyncConnectionResponses = {
6652
+ /**
6653
+ * Response Syncconnection
6654
+ *
6655
+ * Sync started successfully
6656
+ */
6657
+ 200: {
6658
+ [key: string]: unknown;
6659
+ };
6660
+ };
6661
+ export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
5952
6662
  export type ListAgentsData = {
5953
6663
  body?: never;
5954
6664
  path: {
@@ -7980,6 +8690,25 @@ export type GetAvailableGraphTiersResponses = {
7980
8690
  200: AvailableGraphTiersResponse;
7981
8691
  };
7982
8692
  export type GetAvailableGraphTiersResponse = GetAvailableGraphTiersResponses[keyof GetAvailableGraphTiersResponses];
8693
+ export type GetGraphCapacityData = {
8694
+ body?: never;
8695
+ path?: never;
8696
+ query?: never;
8697
+ url: '/v1/graphs/capacity';
8698
+ };
8699
+ export type GetGraphCapacityErrors = {
8700
+ /**
8701
+ * Failed to check capacity
8702
+ */
8703
+ 500: unknown;
8704
+ };
8705
+ export type GetGraphCapacityResponses = {
8706
+ /**
8707
+ * Capacity status retrieved successfully
8708
+ */
8709
+ 200: GraphCapacityResponse;
8710
+ };
8711
+ export type GetGraphCapacityResponse = GetGraphCapacityResponses[keyof GetGraphCapacityResponses];
7983
8712
  export type SelectGraphData = {
7984
8713
  body?: never;
7985
8714
  path: {