@robosystems/client 0.2.31 → 0.2.33

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';
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 | null;
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,27 @@ 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';
1281
+ /**
1282
+ * Entity Id
1283
+ *
1284
+ * Entity identifier. Required for QuickBooks, optional for SEC (SEC creates the entity from filing data).
1285
+ */
1286
+ entity_id?: string | null;
1287
+ sec_config?: SecConnectionConfig | null;
1288
+ quickbooks_config?: QuickBooksConnectionConfig | null;
1289
+ };
1114
1290
  /**
1115
1291
  * CreateGraphRequest
1116
1292
  *
@@ -1152,18 +1328,6 @@ export type CreateGraphRequest = {
1152
1328
  */
1153
1329
  tags?: Array<string>;
1154
1330
  };
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
1331
  /**
1168
1332
  * CreateRepositorySubscriptionRequest
1169
1333
  *
@@ -1226,6 +1390,75 @@ export type CreateSubgraphRequest = {
1226
1390
  */
1227
1391
  fork_parent?: boolean;
1228
1392
  };
1393
+ /**
1394
+ * CreateViewRequest
1395
+ */
1396
+ export type CreateViewRequest = {
1397
+ /**
1398
+ * Elements
1399
+ *
1400
+ * Element qnames (e.g., 'us-gaap:Assets'). Can combine with canonical_concepts.
1401
+ */
1402
+ elements?: Array<string>;
1403
+ /**
1404
+ * Canonical Concepts
1405
+ *
1406
+ * Canonical concept names (e.g., 'revenue', 'net_income'). Matches all mapped qnames.
1407
+ */
1408
+ canonical_concepts?: Array<string>;
1409
+ /**
1410
+ * Periods
1411
+ *
1412
+ * Period end dates (YYYY-MM-DD format)
1413
+ */
1414
+ periods?: Array<string>;
1415
+ /**
1416
+ * Entity
1417
+ *
1418
+ * Filter by entity ticker, CIK, or name
1419
+ */
1420
+ entity?: string | null;
1421
+ /**
1422
+ * Entities
1423
+ *
1424
+ * Filter by multiple entity tickers (e.g., ['NVDA', 'AAPL'])
1425
+ */
1426
+ entities?: Array<string>;
1427
+ /**
1428
+ * Form
1429
+ *
1430
+ * Filter by SEC filing form type (e.g., '10-K', '10-Q')
1431
+ */
1432
+ form?: string | null;
1433
+ /**
1434
+ * Fiscal Year
1435
+ *
1436
+ * Filter by fiscal year (e.g., 2024)
1437
+ */
1438
+ fiscal_year?: number | null;
1439
+ /**
1440
+ * Fiscal Period
1441
+ *
1442
+ * Filter by fiscal period (e.g., 'FY', 'Q1', 'Q2', 'Q3')
1443
+ */
1444
+ fiscal_period?: string | null;
1445
+ /**
1446
+ * Period Type
1447
+ *
1448
+ * Filter by period type: 'annual', 'quarterly', or 'instant'
1449
+ */
1450
+ period_type?: string | null;
1451
+ /**
1452
+ * Include Summary
1453
+ *
1454
+ * Include summary statistics per element
1455
+ */
1456
+ include_summary?: boolean;
1457
+ /**
1458
+ * View/pivot configuration
1459
+ */
1460
+ view_config?: ViewConfig;
1461
+ };
1229
1462
  /**
1230
1463
  * CreditLimits
1231
1464
  *
@@ -1732,27 +1965,27 @@ export type DetailedTransactionsResponse = {
1732
1965
  */
1733
1966
  export type DownloadQuota = {
1734
1967
  /**
1735
- * Limit Per Day
1968
+ * Limit Per Month
1736
1969
  *
1737
- * Maximum downloads allowed per day
1970
+ * Maximum downloads allowed per month
1738
1971
  */
1739
- limit_per_day: number;
1972
+ limit_per_month: number;
1740
1973
  /**
1741
- * Used Today
1974
+ * Used This Month
1742
1975
  *
1743
- * Number of downloads used today
1976
+ * Number of downloads used this month
1744
1977
  */
1745
- used_today: number;
1978
+ used_this_month: number;
1746
1979
  /**
1747
1980
  * Remaining
1748
1981
  *
1749
- * Downloads remaining today
1982
+ * Downloads remaining this month
1750
1983
  */
1751
1984
  remaining: number;
1752
1985
  /**
1753
1986
  * Resets At
1754
1987
  *
1755
- * When the daily limit resets (UTC)
1988
+ * When the monthly limit resets (UTC)
1756
1989
  */
1757
1990
  resets_at: string;
1758
1991
  };
@@ -3374,6 +3607,95 @@ export type MaterializeStatusResponse = {
3374
3607
  */
3375
3608
  message: string;
3376
3609
  };
3610
+ /**
3611
+ * OAuthCallbackRequest
3612
+ *
3613
+ * OAuth callback parameters.
3614
+ */
3615
+ export type OAuthCallbackRequest = {
3616
+ /**
3617
+ * Code
3618
+ *
3619
+ * Authorization code from OAuth provider
3620
+ */
3621
+ code: string;
3622
+ /**
3623
+ * State
3624
+ *
3625
+ * OAuth state for verification
3626
+ */
3627
+ state: string;
3628
+ /**
3629
+ * Realm Id
3630
+ *
3631
+ * QuickBooks-specific realm ID
3632
+ */
3633
+ realm_id?: string | null;
3634
+ /**
3635
+ * Error
3636
+ *
3637
+ * OAuth error if authorization failed
3638
+ */
3639
+ error?: string | null;
3640
+ /**
3641
+ * Error Description
3642
+ *
3643
+ * OAuth error details
3644
+ */
3645
+ error_description?: string | null;
3646
+ };
3647
+ /**
3648
+ * OAuthInitRequest
3649
+ *
3650
+ * Request to initiate OAuth flow.
3651
+ */
3652
+ export type OAuthInitRequest = {
3653
+ /**
3654
+ * Connection Id
3655
+ *
3656
+ * Connection ID to link OAuth to
3657
+ */
3658
+ connection_id: string;
3659
+ /**
3660
+ * Redirect Uri
3661
+ *
3662
+ * Override default redirect URI
3663
+ */
3664
+ redirect_uri?: string | null;
3665
+ /**
3666
+ * Additional Params
3667
+ *
3668
+ * Provider-specific parameters
3669
+ */
3670
+ additional_params?: {
3671
+ [key: string]: string;
3672
+ } | null;
3673
+ };
3674
+ /**
3675
+ * OAuthInitResponse
3676
+ *
3677
+ * Response with OAuth authorization URL.
3678
+ */
3679
+ export type OAuthInitResponse = {
3680
+ /**
3681
+ * Auth Url
3682
+ *
3683
+ * URL to redirect user for authorization
3684
+ */
3685
+ auth_url: string;
3686
+ /**
3687
+ * State
3688
+ *
3689
+ * OAuth state for security
3690
+ */
3691
+ state: string;
3692
+ /**
3693
+ * Expires At
3694
+ *
3695
+ * When this OAuth request expires
3696
+ */
3697
+ expires_at: string;
3698
+ };
3377
3699
  /**
3378
3700
  * OfferingRepositoryPlan
3379
3701
  *
@@ -3941,6 +4263,25 @@ export type QueryLimits = {
3941
4263
  */
3942
4264
  concurrent_queries: number;
3943
4265
  };
4266
+ /**
4267
+ * QuickBooksConnectionConfig
4268
+ *
4269
+ * QuickBooks-specific connection configuration.
4270
+ */
4271
+ export type QuickBooksConnectionConfig = {
4272
+ /**
4273
+ * Realm Id
4274
+ *
4275
+ * QuickBooks Realm ID
4276
+ */
4277
+ realm_id?: string | null;
4278
+ /**
4279
+ * Refresh Token
4280
+ *
4281
+ * OAuth refresh token
4282
+ */
4283
+ refresh_token?: string | null;
4284
+ };
3944
4285
  /**
3945
4286
  * RateLimits
3946
4287
  *
@@ -4118,6 +4459,19 @@ export type ResetPasswordValidateResponse = {
4118
4459
  * Response modes for execution.
4119
4460
  */
4120
4461
  export type ResponseMode = 'auto' | 'sync' | 'async' | 'stream';
4462
+ /**
4463
+ * SECConnectionConfig
4464
+ *
4465
+ * SEC-specific connection configuration.
4466
+ */
4467
+ export type SecConnectionConfig = {
4468
+ /**
4469
+ * Cik
4470
+ *
4471
+ * SEC Central Index Key
4472
+ */
4473
+ cik: string;
4474
+ };
4121
4475
  /**
4122
4476
  * SSOCompleteRequest
4123
4477
  *
@@ -4783,6 +5137,27 @@ export type SuccessResponse = {
4783
5137
  [key: string]: unknown;
4784
5138
  } | null;
4785
5139
  };
5140
+ /**
5141
+ * SyncConnectionRequest
5142
+ *
5143
+ * Request to sync a connection.
5144
+ */
5145
+ export type SyncConnectionRequest = {
5146
+ /**
5147
+ * Full Sync
5148
+ *
5149
+ * Perform full sync vs incremental
5150
+ */
5151
+ full_sync?: boolean;
5152
+ /**
5153
+ * Sync Options
5154
+ *
5155
+ * Provider-specific sync options
5156
+ */
5157
+ sync_options?: {
5158
+ [key: string]: unknown;
5159
+ } | null;
5160
+ };
4786
5161
  /**
4787
5162
  * TableInfo
4788
5163
  */
@@ -5178,29 +5553,121 @@ export type ValidationError = {
5178
5553
  [key: string]: unknown;
5179
5554
  };
5180
5555
  };
5181
- export type RegisterUserData = {
5182
- body: RegisterRequest;
5183
- path?: never;
5184
- query?: never;
5185
- url: '/v1/auth/register';
5186
- };
5187
- export type RegisterUserErrors = {
5556
+ /**
5557
+ * ViewAxisConfig
5558
+ */
5559
+ export type ViewAxisConfig = {
5188
5560
  /**
5189
- * Invalid request data or missing CAPTCHA token (production only)
5561
+ * Type
5562
+ *
5563
+ * Axis type: 'element', 'period', 'dimension', 'entity'
5190
5564
  */
5191
- 400: ErrorResponse;
5565
+ type: string;
5192
5566
  /**
5193
- * Email already registered
5567
+ * Dimension Axis
5568
+ *
5569
+ * Dimension axis name for dimension-type axes
5194
5570
  */
5195
- 409: ErrorResponse;
5571
+ dimension_axis?: string | null;
5196
5572
  /**
5197
- * Validation Error
5573
+ * Include Null Dimension
5574
+ *
5575
+ * Include facts where this dimension is NULL (default: false)
5198
5576
  */
5199
- 422: HttpValidationError;
5577
+ include_null_dimension?: boolean;
5200
5578
  /**
5201
- * Registration temporarily disabled
5579
+ * Selected Members
5580
+ *
5581
+ * Specific members to include (e.g., ['2024-12-31', '2023-12-31'])
5202
5582
  */
5203
- 503: ErrorResponse;
5583
+ selected_members?: Array<string> | null;
5584
+ /**
5585
+ * Member Order
5586
+ *
5587
+ * Explicit ordering of members (overrides default sort)
5588
+ */
5589
+ member_order?: Array<string> | null;
5590
+ /**
5591
+ * Member Labels
5592
+ *
5593
+ * Custom labels for members (e.g., {'2024-12-31': 'Current Year'})
5594
+ */
5595
+ member_labels?: {
5596
+ [key: string]: string;
5597
+ } | null;
5598
+ /**
5599
+ * Element Order
5600
+ *
5601
+ * Element ordering for hierarchy display (e.g., ['us-gaap:Assets', 'us-gaap:Cash', ...])
5602
+ */
5603
+ element_order?: Array<string> | null;
5604
+ /**
5605
+ * Element Labels
5606
+ *
5607
+ * Custom labels for elements (e.g., {'us-gaap:Cash': 'Cash and Cash Equivalents'})
5608
+ */
5609
+ element_labels?: {
5610
+ [key: string]: string;
5611
+ } | null;
5612
+ };
5613
+ /**
5614
+ * ViewConfig
5615
+ */
5616
+ export type ViewConfig = {
5617
+ /**
5618
+ * Rows
5619
+ *
5620
+ * Row axis configuration
5621
+ */
5622
+ rows?: Array<ViewAxisConfig>;
5623
+ /**
5624
+ * Columns
5625
+ *
5626
+ * Column axis configuration
5627
+ */
5628
+ columns?: Array<ViewAxisConfig>;
5629
+ /**
5630
+ * Values
5631
+ *
5632
+ * Field to use for values (default: numeric_value)
5633
+ */
5634
+ values?: string;
5635
+ /**
5636
+ * Aggregation Function
5637
+ *
5638
+ * Aggregation function: sum, average, count
5639
+ */
5640
+ aggregation_function?: string;
5641
+ /**
5642
+ * Fill Value
5643
+ *
5644
+ * Value to use for missing data
5645
+ */
5646
+ fill_value?: number;
5647
+ };
5648
+ export type RegisterUserData = {
5649
+ body: RegisterRequest;
5650
+ path?: never;
5651
+ query?: never;
5652
+ url: '/v1/auth/register';
5653
+ };
5654
+ export type RegisterUserErrors = {
5655
+ /**
5656
+ * Invalid request data or missing CAPTCHA token (production only)
5657
+ */
5658
+ 400: ErrorResponse;
5659
+ /**
5660
+ * Email already registered
5661
+ */
5662
+ 409: ErrorResponse;
5663
+ /**
5664
+ * Validation Error
5665
+ */
5666
+ 422: HttpValidationError;
5667
+ /**
5668
+ * Registration temporarily disabled
5669
+ */
5670
+ 503: ErrorResponse;
5204
5671
  };
5205
5672
  export type RegisterUserError = RegisterUserErrors[keyof RegisterUserErrors];
5206
5673
  export type RegisterUserResponses = {
@@ -5737,26 +6204,6 @@ export type ListUserOrgsResponses = {
5737
6204
  200: OrgListResponse;
5738
6205
  };
5739
6206
  export type ListUserOrgsResponse = ListUserOrgsResponses[keyof ListUserOrgsResponses];
5740
- export type CreateOrgData = {
5741
- body: CreateOrgRequest;
5742
- path?: never;
5743
- query?: never;
5744
- url: '/v1/orgs';
5745
- };
5746
- export type CreateOrgErrors = {
5747
- /**
5748
- * Validation Error
5749
- */
5750
- 422: HttpValidationError;
5751
- };
5752
- export type CreateOrgError = CreateOrgErrors[keyof CreateOrgErrors];
5753
- export type CreateOrgResponses = {
5754
- /**
5755
- * Successful Response
5756
- */
5757
- 201: OrgDetailResponse;
5758
- };
5759
- export type CreateOrgResponse = CreateOrgResponses[keyof CreateOrgResponses];
5760
6207
  export type GetOrgData = {
5761
6208
  body?: never;
5762
6209
  path: {
@@ -5999,6 +6446,332 @@ export type GetOrgUsageResponses = {
5999
6446
  200: OrgUsageResponse;
6000
6447
  };
6001
6448
  export type GetOrgUsageResponse = GetOrgUsageResponses[keyof GetOrgUsageResponses];
6449
+ export type ListConnectionsData = {
6450
+ body?: never;
6451
+ path: {
6452
+ /**
6453
+ * Graph Id
6454
+ */
6455
+ graph_id: string;
6456
+ };
6457
+ query?: {
6458
+ /**
6459
+ * Entity Id
6460
+ *
6461
+ * Filter by entity ID
6462
+ */
6463
+ entity_id?: string | null;
6464
+ /**
6465
+ * Provider
6466
+ *
6467
+ * Filter by provider type
6468
+ */
6469
+ provider?: 'sec' | 'quickbooks' | null;
6470
+ };
6471
+ url: '/v1/graphs/{graph_id}/connections';
6472
+ };
6473
+ export type ListConnectionsErrors = {
6474
+ /**
6475
+ * Access denied to graph
6476
+ */
6477
+ 403: ErrorResponse;
6478
+ /**
6479
+ * Validation Error
6480
+ */
6481
+ 422: HttpValidationError;
6482
+ /**
6483
+ * Failed to list connections
6484
+ */
6485
+ 500: ErrorResponse;
6486
+ };
6487
+ export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
6488
+ export type ListConnectionsResponses = {
6489
+ /**
6490
+ * Response Listconnections
6491
+ *
6492
+ * Connections retrieved successfully
6493
+ */
6494
+ 200: Array<ConnectionResponse>;
6495
+ };
6496
+ export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
6497
+ export type CreateConnectionData = {
6498
+ body: CreateConnectionRequest;
6499
+ path: {
6500
+ /**
6501
+ * Graph Id
6502
+ */
6503
+ graph_id: string;
6504
+ };
6505
+ query?: never;
6506
+ url: '/v1/graphs/{graph_id}/connections';
6507
+ };
6508
+ export type CreateConnectionErrors = {
6509
+ /**
6510
+ * Invalid connection configuration
6511
+ */
6512
+ 400: ErrorResponse;
6513
+ /**
6514
+ * Access denied - admin role required
6515
+ */
6516
+ 403: ErrorResponse;
6517
+ /**
6518
+ * Connection already exists
6519
+ */
6520
+ 409: ErrorResponse;
6521
+ /**
6522
+ * Validation Error
6523
+ */
6524
+ 422: HttpValidationError;
6525
+ /**
6526
+ * Failed to create connection
6527
+ */
6528
+ 500: ErrorResponse;
6529
+ };
6530
+ export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
6531
+ export type CreateConnectionResponses = {
6532
+ /**
6533
+ * Connection created successfully
6534
+ */
6535
+ 201: ConnectionResponse;
6536
+ };
6537
+ export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
6538
+ export type GetConnectionOptionsData = {
6539
+ body?: never;
6540
+ path: {
6541
+ /**
6542
+ * Graph Id
6543
+ */
6544
+ graph_id: string;
6545
+ };
6546
+ query?: never;
6547
+ url: '/v1/graphs/{graph_id}/connections/options';
6548
+ };
6549
+ export type GetConnectionOptionsErrors = {
6550
+ /**
6551
+ * Access denied to graph
6552
+ */
6553
+ 403: ErrorResponse;
6554
+ /**
6555
+ * Validation Error
6556
+ */
6557
+ 422: HttpValidationError;
6558
+ /**
6559
+ * Failed to retrieve options
6560
+ */
6561
+ 500: ErrorResponse;
6562
+ };
6563
+ export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
6564
+ export type GetConnectionOptionsResponses = {
6565
+ /**
6566
+ * Connection options retrieved successfully
6567
+ */
6568
+ 200: ConnectionOptionsResponse;
6569
+ };
6570
+ export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
6571
+ export type InitOAuthData = {
6572
+ body: OAuthInitRequest;
6573
+ path: {
6574
+ /**
6575
+ * Graph Id
6576
+ */
6577
+ graph_id: string;
6578
+ };
6579
+ query?: never;
6580
+ url: '/v1/graphs/{graph_id}/connections/oauth/init';
6581
+ };
6582
+ export type InitOAuthErrors = {
6583
+ /**
6584
+ * Validation Error
6585
+ */
6586
+ 422: HttpValidationError;
6587
+ };
6588
+ export type InitOAuthError = InitOAuthErrors[keyof InitOAuthErrors];
6589
+ export type InitOAuthResponses = {
6590
+ /**
6591
+ * Successful Response
6592
+ */
6593
+ 200: OAuthInitResponse;
6594
+ };
6595
+ export type InitOAuthResponse = InitOAuthResponses[keyof InitOAuthResponses];
6596
+ export type OauthCallbackData = {
6597
+ body: OAuthCallbackRequest;
6598
+ path: {
6599
+ /**
6600
+ * Provider
6601
+ *
6602
+ * OAuth provider name
6603
+ */
6604
+ provider: string;
6605
+ /**
6606
+ * Graph Id
6607
+ */
6608
+ graph_id: string;
6609
+ };
6610
+ query?: never;
6611
+ url: '/v1/graphs/{graph_id}/connections/oauth/callback/{provider}';
6612
+ };
6613
+ export type OauthCallbackErrors = {
6614
+ /**
6615
+ * OAuth error or invalid state
6616
+ */
6617
+ 400: ErrorResponse;
6618
+ /**
6619
+ * State does not match user
6620
+ */
6621
+ 403: ErrorResponse;
6622
+ /**
6623
+ * Connection not found
6624
+ */
6625
+ 404: ErrorResponse;
6626
+ /**
6627
+ * Validation Error
6628
+ */
6629
+ 422: HttpValidationError;
6630
+ /**
6631
+ * OAuth callback processing failed
6632
+ */
6633
+ 500: ErrorResponse;
6634
+ };
6635
+ export type OauthCallbackError = OauthCallbackErrors[keyof OauthCallbackErrors];
6636
+ export type OauthCallbackResponses = {
6637
+ /**
6638
+ * OAuth flow completed successfully
6639
+ */
6640
+ 200: unknown;
6641
+ };
6642
+ export type DeleteConnectionData = {
6643
+ body?: never;
6644
+ path: {
6645
+ /**
6646
+ * Graph Id
6647
+ */
6648
+ graph_id: string;
6649
+ /**
6650
+ * Connection Id
6651
+ *
6652
+ * Connection identifier
6653
+ */
6654
+ connection_id: string;
6655
+ };
6656
+ query?: never;
6657
+ url: '/v1/graphs/{graph_id}/connections/{connection_id}';
6658
+ };
6659
+ export type DeleteConnectionErrors = {
6660
+ /**
6661
+ * Access denied - admin role required
6662
+ */
6663
+ 403: ErrorResponse;
6664
+ /**
6665
+ * Connection not found
6666
+ */
6667
+ 404: ErrorResponse;
6668
+ /**
6669
+ * Validation Error
6670
+ */
6671
+ 422: HttpValidationError;
6672
+ /**
6673
+ * Failed to delete connection
6674
+ */
6675
+ 500: ErrorResponse;
6676
+ };
6677
+ export type DeleteConnectionError = DeleteConnectionErrors[keyof DeleteConnectionErrors];
6678
+ export type DeleteConnectionResponses = {
6679
+ /**
6680
+ * Connection deleted successfully
6681
+ */
6682
+ 200: SuccessResponse;
6683
+ };
6684
+ export type DeleteConnectionResponse = DeleteConnectionResponses[keyof DeleteConnectionResponses];
6685
+ export type GetConnectionData = {
6686
+ body?: never;
6687
+ path: {
6688
+ /**
6689
+ * Graph Id
6690
+ */
6691
+ graph_id: string;
6692
+ /**
6693
+ * Connection Id
6694
+ *
6695
+ * Unique connection identifier
6696
+ */
6697
+ connection_id: string;
6698
+ };
6699
+ query?: never;
6700
+ url: '/v1/graphs/{graph_id}/connections/{connection_id}';
6701
+ };
6702
+ export type GetConnectionErrors = {
6703
+ /**
6704
+ * Access denied to connection
6705
+ */
6706
+ 403: ErrorResponse;
6707
+ /**
6708
+ * Connection not found
6709
+ */
6710
+ 404: ErrorResponse;
6711
+ /**
6712
+ * Validation Error
6713
+ */
6714
+ 422: HttpValidationError;
6715
+ /**
6716
+ * Failed to retrieve connection
6717
+ */
6718
+ 500: ErrorResponse;
6719
+ };
6720
+ export type GetConnectionError = GetConnectionErrors[keyof GetConnectionErrors];
6721
+ export type GetConnectionResponses = {
6722
+ /**
6723
+ * Connection details retrieved successfully
6724
+ */
6725
+ 200: ConnectionResponse;
6726
+ };
6727
+ export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
6728
+ export type SyncConnectionData = {
6729
+ body: SyncConnectionRequest;
6730
+ path: {
6731
+ /**
6732
+ * Graph Id
6733
+ */
6734
+ graph_id: string;
6735
+ /**
6736
+ * Connection Id
6737
+ *
6738
+ * Connection identifier
6739
+ */
6740
+ connection_id: string;
6741
+ };
6742
+ query?: never;
6743
+ url: '/v1/graphs/{graph_id}/connections/{connection_id}/sync';
6744
+ };
6745
+ export type SyncConnectionErrors = {
6746
+ /**
6747
+ * Access denied - admin role required
6748
+ */
6749
+ 403: ErrorResponse;
6750
+ /**
6751
+ * Connection not found
6752
+ */
6753
+ 404: ErrorResponse;
6754
+ /**
6755
+ * Validation Error
6756
+ */
6757
+ 422: HttpValidationError;
6758
+ /**
6759
+ * Failed to start sync
6760
+ */
6761
+ 500: ErrorResponse;
6762
+ };
6763
+ export type SyncConnectionError = SyncConnectionErrors[keyof SyncConnectionErrors];
6764
+ export type SyncConnectionResponses = {
6765
+ /**
6766
+ * Response Syncconnection
6767
+ *
6768
+ * Sync started successfully
6769
+ */
6770
+ 200: {
6771
+ [key: string]: unknown;
6772
+ };
6773
+ };
6774
+ export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
6002
6775
  export type ListAgentsData = {
6003
6776
  body?: never;
6004
6777
  path: {
@@ -7613,6 +8386,30 @@ export type QueryTablesResponses = {
7613
8386
  200: TableQueryResponse;
7614
8387
  };
7615
8388
  export type QueryTablesResponse = QueryTablesResponses[keyof QueryTablesResponses];
8389
+ export type CreateViewData = {
8390
+ body: CreateViewRequest;
8391
+ path: {
8392
+ /**
8393
+ * Graph Id
8394
+ */
8395
+ graph_id: string;
8396
+ };
8397
+ query?: never;
8398
+ url: '/v1/graphs/{graph_id}/views';
8399
+ };
8400
+ export type CreateViewErrors = {
8401
+ /**
8402
+ * Validation Error
8403
+ */
8404
+ 422: HttpValidationError;
8405
+ };
8406
+ export type CreateViewError = CreateViewErrors[keyof CreateViewErrors];
8407
+ export type CreateViewResponses = {
8408
+ /**
8409
+ * Successful Response
8410
+ */
8411
+ 200: unknown;
8412
+ };
7616
8413
  export type GetMaterializationStatusData = {
7617
8414
  body?: never;
7618
8415
  path: {