@robosystems/client 0.1.14 → 0.1.16

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.
Files changed (67) hide show
  1. package/README.md +3 -5
  2. package/package.json +49 -7
  3. package/sdk/client/client.gen.d.ts +2 -0
  4. package/sdk/client/client.gen.js +153 -0
  5. package/sdk/client/client.gen.ts +200 -0
  6. package/sdk/client/index.d.ts +7 -0
  7. package/sdk/client/index.js +15 -0
  8. package/sdk/client/index.ts +25 -0
  9. package/sdk/client/types.gen.d.ts +122 -0
  10. package/sdk/client/types.gen.js +4 -0
  11. package/sdk/client/types.gen.ts +233 -0
  12. package/sdk/client/utils.gen.d.ts +45 -0
  13. package/sdk/client/utils.gen.js +296 -0
  14. package/sdk/client/utils.gen.ts +419 -0
  15. package/sdk/client.gen.d.ts +12 -0
  16. package/sdk/client.gen.js +8 -0
  17. package/sdk/client.gen.ts +18 -0
  18. package/sdk/core/auth.gen.d.ts +18 -0
  19. package/sdk/core/auth.gen.js +18 -0
  20. package/sdk/core/auth.gen.ts +42 -0
  21. package/sdk/core/bodySerializer.gen.d.ts +17 -0
  22. package/sdk/core/bodySerializer.gen.js +57 -0
  23. package/sdk/core/bodySerializer.gen.ts +90 -0
  24. package/sdk/core/params.gen.d.ts +33 -0
  25. package/sdk/core/params.gen.js +92 -0
  26. package/sdk/core/params.gen.ts +153 -0
  27. package/sdk/core/pathSerializer.gen.d.ts +33 -0
  28. package/sdk/core/pathSerializer.gen.js +123 -0
  29. package/sdk/core/pathSerializer.gen.ts +181 -0
  30. package/sdk/core/types.gen.d.ts +78 -0
  31. package/sdk/core/types.gen.js +4 -0
  32. package/sdk/core/types.gen.ts +121 -0
  33. package/sdk/index.d.ts +2 -0
  34. package/sdk/index.js +19 -0
  35. package/sdk/index.ts +3 -0
  36. package/sdk/sdk.gen.d.ts +1269 -0
  37. package/sdk/sdk.gen.js +2664 -0
  38. package/sdk/sdk.gen.ts +2677 -0
  39. package/sdk/types.gen.d.ts +6265 -0
  40. package/sdk/types.gen.js +3 -0
  41. package/sdk/types.gen.ts +6784 -0
  42. package/sdk-extensions/OperationClient.d.ts +64 -0
  43. package/sdk-extensions/OperationClient.js +251 -0
  44. package/sdk-extensions/OperationClient.ts +322 -0
  45. package/sdk-extensions/QueryClient.d.ts +50 -0
  46. package/sdk-extensions/QueryClient.js +190 -0
  47. package/sdk-extensions/QueryClient.ts +283 -0
  48. package/sdk-extensions/README.md +672 -0
  49. package/sdk-extensions/SSEClient.d.ts +48 -0
  50. package/sdk-extensions/SSEClient.js +148 -0
  51. package/sdk-extensions/SSEClient.ts +189 -0
  52. package/sdk-extensions/config.d.ts +32 -0
  53. package/sdk-extensions/config.js +74 -0
  54. package/sdk-extensions/config.ts +91 -0
  55. package/sdk-extensions/hooks.d.ts +110 -0
  56. package/sdk-extensions/hooks.js +371 -0
  57. package/sdk-extensions/hooks.ts +438 -0
  58. package/sdk-extensions/index.d.ts +46 -0
  59. package/sdk-extensions/index.js +110 -0
  60. package/sdk-extensions/index.ts +123 -0
  61. package/sdk.gen.d.ts +172 -48
  62. package/sdk.gen.js +297 -69
  63. package/sdk.gen.ts +296 -68
  64. package/types.gen.d.ts +647 -94
  65. package/types.gen.ts +727 -134
  66. package/openapi-ts.config.js +0 -9
  67. package/prepare.js +0 -221
package/types.gen.d.ts CHANGED
@@ -682,7 +682,44 @@ export type CreateGraphRequest = {
682
682
  * Tags
683
683
  * Optional tags for organization
684
684
  */
685
- tags?: Array<string> | null;
685
+ tags?: Array<string>;
686
+ };
687
+ /**
688
+ * CreateSubgraphRequest
689
+ * Request model for creating a subgraph.
690
+ */
691
+ export type CreateSubgraphRequest = {
692
+ /**
693
+ * Name
694
+ * Alphanumeric name for the subgraph (e.g., dev, staging, prod1)
695
+ */
696
+ name: string;
697
+ /**
698
+ * Display Name
699
+ * Human-readable display name for the subgraph
700
+ */
701
+ display_name: string;
702
+ /**
703
+ * Description
704
+ * Optional description of the subgraph's purpose
705
+ */
706
+ description?: string | null;
707
+ /**
708
+ * Schema Extensions
709
+ * Schema extensions to include (inherits from parent by default)
710
+ */
711
+ schema_extensions?: Array<string> | null;
712
+ /**
713
+ * Type of subgraph (currently only 'static' is supported)
714
+ */
715
+ subgraph_type?: SubgraphType;
716
+ /**
717
+ * Metadata
718
+ * Additional metadata for the subgraph
719
+ */
720
+ metadata?: {
721
+ [key: string]: unknown;
722
+ } | null;
686
723
  };
687
724
  /**
688
725
  * CreditCheckRequest
@@ -764,10 +801,6 @@ export type CreditSummaryResponse = {
764
801
  * Graph Tier
765
802
  */
766
803
  graph_tier: string;
767
- /**
768
- * Credit Multiplier
769
- */
770
- credit_multiplier: number;
771
804
  /**
772
805
  * Current Balance
773
806
  */
@@ -1029,6 +1062,58 @@ export type DatabaseInfoResponse = {
1029
1062
  */
1030
1063
  last_backup_date?: string | null;
1031
1064
  };
1065
+ /**
1066
+ * DeleteSubgraphRequest
1067
+ * Request model for deleting a subgraph.
1068
+ */
1069
+ export type DeleteSubgraphRequest = {
1070
+ /**
1071
+ * Force
1072
+ * Force deletion even if subgraph contains data
1073
+ */
1074
+ force?: boolean;
1075
+ /**
1076
+ * Backup First
1077
+ * Create a backup before deletion
1078
+ */
1079
+ backup_first?: boolean;
1080
+ /**
1081
+ * Backup Location
1082
+ * S3 location for backup (uses default if not specified)
1083
+ */
1084
+ backup_location?: string | null;
1085
+ };
1086
+ /**
1087
+ * DeleteSubgraphResponse
1088
+ * Response model for subgraph deletion.
1089
+ */
1090
+ export type DeleteSubgraphResponse = {
1091
+ /**
1092
+ * Graph Id
1093
+ * Deleted subgraph identifier
1094
+ */
1095
+ graph_id: string;
1096
+ /**
1097
+ * Status
1098
+ * Deletion status
1099
+ */
1100
+ status: string;
1101
+ /**
1102
+ * Backup Location
1103
+ * Location of backup if created
1104
+ */
1105
+ backup_location?: string | null;
1106
+ /**
1107
+ * Deleted At
1108
+ * When deletion occurred
1109
+ */
1110
+ deleted_at: string;
1111
+ /**
1112
+ * Message
1113
+ * Additional information about the deletion
1114
+ */
1115
+ message?: string | null;
1116
+ };
1032
1117
  /**
1033
1118
  * DetailedTransactionsResponse
1034
1119
  * Detailed response for transaction queries.
@@ -1433,6 +1518,47 @@ export type LinkTokenRequest = {
1433
1518
  [key: string]: unknown;
1434
1519
  } | null;
1435
1520
  };
1521
+ /**
1522
+ * ListSubgraphsResponse
1523
+ * Response model for listing subgraphs.
1524
+ */
1525
+ export type ListSubgraphsResponse = {
1526
+ /**
1527
+ * Parent Graph Id
1528
+ * Parent graph identifier
1529
+ */
1530
+ parent_graph_id: string;
1531
+ /**
1532
+ * Parent Graph Name
1533
+ * Parent graph name
1534
+ */
1535
+ parent_graph_name: string;
1536
+ /**
1537
+ * Parent Graph Tier
1538
+ * Parent graph tier
1539
+ */
1540
+ parent_graph_tier: string;
1541
+ /**
1542
+ * Subgraph Count
1543
+ * Total number of subgraphs
1544
+ */
1545
+ subgraph_count: number;
1546
+ /**
1547
+ * Max Subgraphs
1548
+ * Maximum allowed subgraphs for this tier (None = unlimited)
1549
+ */
1550
+ max_subgraphs?: number | null;
1551
+ /**
1552
+ * Total Size Mb
1553
+ * Combined size of all subgraphs in megabytes
1554
+ */
1555
+ total_size_mb?: number | null;
1556
+ /**
1557
+ * Subgraphs
1558
+ * List of subgraphs
1559
+ */
1560
+ subgraphs: Array<SubgraphSummary>;
1561
+ };
1436
1562
  /**
1437
1563
  * LoginRequest
1438
1564
  * Login request model.
@@ -1705,10 +1831,10 @@ export type RegisterRequest = {
1705
1831
  */
1706
1832
  export type RepositoryCreditsResponse = {
1707
1833
  /**
1708
- * Repository Type
1709
- * Repository type
1834
+ * Repository
1835
+ * Repository identifier
1710
1836
  */
1711
- repository_type: string;
1837
+ repository: string;
1712
1838
  /**
1713
1839
  * Has Access
1714
1840
  * Whether user has access
@@ -1980,6 +2106,179 @@ export type StorageLimitResponse = {
1980
2106
  */
1981
2107
  recommendations?: Array<string> | null;
1982
2108
  };
2109
+ /**
2110
+ * SubgraphQuotaResponse
2111
+ * Response model for subgraph quota information.
2112
+ */
2113
+ export type SubgraphQuotaResponse = {
2114
+ /**
2115
+ * Parent Graph Id
2116
+ * Parent graph identifier
2117
+ */
2118
+ parent_graph_id: string;
2119
+ /**
2120
+ * Tier
2121
+ * Graph tier
2122
+ */
2123
+ tier: string;
2124
+ /**
2125
+ * Current Count
2126
+ * Current number of subgraphs
2127
+ */
2128
+ current_count: number;
2129
+ /**
2130
+ * Max Allowed
2131
+ * Maximum allowed subgraphs (None = unlimited)
2132
+ */
2133
+ max_allowed?: number | null;
2134
+ /**
2135
+ * Remaining
2136
+ * Remaining subgraphs that can be created
2137
+ */
2138
+ remaining?: number | null;
2139
+ /**
2140
+ * Total Size Mb
2141
+ * Total size of all subgraphs
2142
+ */
2143
+ total_size_mb?: number | null;
2144
+ /**
2145
+ * Max Size Mb
2146
+ * Maximum allowed total size
2147
+ */
2148
+ max_size_mb?: number | null;
2149
+ };
2150
+ /**
2151
+ * SubgraphResponse
2152
+ * Response model for a subgraph.
2153
+ */
2154
+ export type SubgraphResponse = {
2155
+ /**
2156
+ * Graph Id
2157
+ * Full subgraph identifier (e.g., kg123_dev)
2158
+ */
2159
+ graph_id: string;
2160
+ /**
2161
+ * Parent Graph Id
2162
+ * Parent graph identifier
2163
+ */
2164
+ parent_graph_id: string;
2165
+ /**
2166
+ * Subgraph Index
2167
+ * Numeric index of the subgraph
2168
+ */
2169
+ subgraph_index: number;
2170
+ /**
2171
+ * Subgraph Name
2172
+ * Alphanumeric name of the subgraph
2173
+ */
2174
+ subgraph_name: string;
2175
+ /**
2176
+ * Display Name
2177
+ * Human-readable display name
2178
+ */
2179
+ display_name: string;
2180
+ /**
2181
+ * Description
2182
+ * Description of the subgraph's purpose
2183
+ */
2184
+ description?: string | null;
2185
+ /**
2186
+ * Type of subgraph
2187
+ */
2188
+ subgraph_type: SubgraphType;
2189
+ /**
2190
+ * Status
2191
+ * Current status of the subgraph
2192
+ */
2193
+ status: string;
2194
+ /**
2195
+ * Created At
2196
+ * When the subgraph was created
2197
+ */
2198
+ created_at: string;
2199
+ /**
2200
+ * Updated At
2201
+ * When the subgraph was last updated
2202
+ */
2203
+ updated_at: string;
2204
+ /**
2205
+ * Size Mb
2206
+ * Size of the subgraph database in megabytes
2207
+ */
2208
+ size_mb?: number | null;
2209
+ /**
2210
+ * Node Count
2211
+ * Number of nodes in the subgraph
2212
+ */
2213
+ node_count?: number | null;
2214
+ /**
2215
+ * Edge Count
2216
+ * Number of edges in the subgraph
2217
+ */
2218
+ edge_count?: number | null;
2219
+ /**
2220
+ * Last Accessed
2221
+ * When the subgraph was last accessed
2222
+ */
2223
+ last_accessed?: string | null;
2224
+ /**
2225
+ * Metadata
2226
+ * Additional metadata for the subgraph
2227
+ */
2228
+ metadata?: {
2229
+ [key: string]: unknown;
2230
+ } | null;
2231
+ };
2232
+ /**
2233
+ * SubgraphSummary
2234
+ * Summary model for listing subgraphs.
2235
+ */
2236
+ export type SubgraphSummary = {
2237
+ /**
2238
+ * Graph Id
2239
+ * Full subgraph identifier
2240
+ */
2241
+ graph_id: string;
2242
+ /**
2243
+ * Subgraph Name
2244
+ * Alphanumeric name
2245
+ */
2246
+ subgraph_name: string;
2247
+ /**
2248
+ * Display Name
2249
+ * Human-readable name
2250
+ */
2251
+ display_name: string;
2252
+ /**
2253
+ * Type of subgraph
2254
+ */
2255
+ subgraph_type: SubgraphType;
2256
+ /**
2257
+ * Status
2258
+ * Current status
2259
+ */
2260
+ status: string;
2261
+ /**
2262
+ * Size Mb
2263
+ * Size in megabytes
2264
+ */
2265
+ size_mb?: number | null;
2266
+ /**
2267
+ * Created At
2268
+ * Creation timestamp
2269
+ */
2270
+ created_at: string;
2271
+ /**
2272
+ * Last Accessed
2273
+ * Last access timestamp
2274
+ */
2275
+ last_accessed?: string | null;
2276
+ };
2277
+ /**
2278
+ * SubgraphType
2279
+ * Types of subgraphs.
2280
+ */
2281
+ export type SubgraphType = 'static' | 'temporal' | 'versioned' | 'memory';
1983
2282
  /**
1984
2283
  * SubscriptionInfo
1985
2284
  * User subscription information.
@@ -2010,16 +2309,6 @@ export type SubscriptionInfo = {
2010
2309
  * Whether subscription is active
2011
2310
  */
2012
2311
  is_active: boolean;
2013
- /**
2014
- * Is Trial
2015
- * Whether this is a trial subscription
2016
- */
2017
- is_trial: boolean;
2018
- /**
2019
- * Trial Ends At
2020
- * Trial expiration date (ISO format)
2021
- */
2022
- trial_ends_at?: string | null;
2023
2312
  /**
2024
2313
  * Activated At
2025
2314
  * Activation date (ISO format)
@@ -2061,11 +2350,6 @@ export type SubscriptionRequest = {
2061
2350
  * Repository plan
2062
2351
  */
2063
2352
  repository_plan?: RepositoryPlan;
2064
- /**
2065
- * Is Trial
2066
- * Start with trial period
2067
- */
2068
- is_trial?: boolean;
2069
2353
  };
2070
2354
  /**
2071
2355
  * SubscriptionResponse
@@ -2081,11 +2365,6 @@ export type SubscriptionResponse = {
2081
2365
  * Created subscription details
2082
2366
  */
2083
2367
  subscription: SubscriptionInfo;
2084
- /**
2085
- * Trial Period
2086
- * Trial period in days
2087
- */
2088
- trial_period: number;
2089
2368
  };
2090
2369
  /**
2091
2370
  * SuccessResponse
@@ -2802,22 +3081,6 @@ export type GetServiceStatusResponses = {
2802
3081
  200: HealthStatus;
2803
3082
  };
2804
3083
  export type GetServiceStatusResponse = GetServiceStatusResponses[keyof GetServiceStatusResponses];
2805
- export type GetMcpHealthData = {
2806
- body?: never;
2807
- path?: never;
2808
- query?: never;
2809
- url: '/v1/mcp/health';
2810
- };
2811
- export type GetMcpHealthResponses = {
2812
- /**
2813
- * Response Getmcphealth
2814
- * Successful Response
2815
- */
2816
- 200: {
2817
- [key: string]: unknown;
2818
- };
2819
- };
2820
- export type GetMcpHealthResponse = GetMcpHealthResponses[keyof GetMcpHealthResponses];
2821
3084
  export type GetCurrentUserData = {
2822
3085
  body?: never;
2823
3086
  headers?: {
@@ -2911,7 +3174,7 @@ export type SelectUserGraphData = {
2911
3174
  graph_id: string;
2912
3175
  };
2913
3176
  query?: never;
2914
- url: '/v1/user/graphs/select/{graph_id}';
3177
+ url: '/v1/user/graphs/{graph_id}/select';
2915
3178
  };
2916
3179
  export type SelectUserGraphErrors = {
2917
3180
  /**
@@ -3188,6 +3451,70 @@ export type GetUserUsageResponses = {
3188
3451
  200: UserUsageResponse;
3189
3452
  };
3190
3453
  export type GetUserUsageResponse = GetUserUsageResponses[keyof GetUserUsageResponses];
3454
+ export type GetSharedRepositoryLimitsData = {
3455
+ body?: never;
3456
+ headers?: {
3457
+ /**
3458
+ * Authorization
3459
+ */
3460
+ authorization?: string | null;
3461
+ };
3462
+ path: {
3463
+ /**
3464
+ * Repository
3465
+ * Repository name (e.g., 'sec')
3466
+ */
3467
+ repository: string;
3468
+ };
3469
+ query?: never;
3470
+ url: '/v1/user/limits/shared-repositories/{repository}';
3471
+ };
3472
+ export type GetSharedRepositoryLimitsErrors = {
3473
+ /**
3474
+ * Validation Error
3475
+ */
3476
+ 422: HttpValidationError;
3477
+ };
3478
+ export type GetSharedRepositoryLimitsError = GetSharedRepositoryLimitsErrors[keyof GetSharedRepositoryLimitsErrors];
3479
+ export type GetSharedRepositoryLimitsResponses = {
3480
+ /**
3481
+ * Response Getsharedrepositorylimits
3482
+ * Successful Response
3483
+ */
3484
+ 200: {
3485
+ [key: string]: unknown;
3486
+ };
3487
+ };
3488
+ export type GetSharedRepositoryLimitsResponse = GetSharedRepositoryLimitsResponses[keyof GetSharedRepositoryLimitsResponses];
3489
+ export type GetAllSharedRepositoryLimitsData = {
3490
+ body?: never;
3491
+ headers?: {
3492
+ /**
3493
+ * Authorization
3494
+ */
3495
+ authorization?: string | null;
3496
+ };
3497
+ path?: never;
3498
+ query?: never;
3499
+ url: '/v1/user/limits/shared-repositories/summary';
3500
+ };
3501
+ export type GetAllSharedRepositoryLimitsErrors = {
3502
+ /**
3503
+ * Validation Error
3504
+ */
3505
+ 422: HttpValidationError;
3506
+ };
3507
+ export type GetAllSharedRepositoryLimitsError = GetAllSharedRepositoryLimitsErrors[keyof GetAllSharedRepositoryLimitsErrors];
3508
+ export type GetAllSharedRepositoryLimitsResponses = {
3509
+ /**
3510
+ * Response Getallsharedrepositorylimits
3511
+ * Successful Response
3512
+ */
3513
+ 200: {
3514
+ [key: string]: unknown;
3515
+ };
3516
+ };
3517
+ export type GetAllSharedRepositoryLimitsResponse = GetAllSharedRepositoryLimitsResponses[keyof GetAllSharedRepositoryLimitsResponses];
3191
3518
  export type GetUserUsageOverviewData = {
3192
3519
  body?: never;
3193
3520
  headers?: {
@@ -3462,12 +3789,12 @@ export type GetRepositoryCreditsData = {
3462
3789
  };
3463
3790
  path: {
3464
3791
  /**
3465
- * Repository Type
3792
+ * Repository
3466
3793
  */
3467
- repository_type: string;
3794
+ repository: string;
3468
3795
  };
3469
3796
  query?: never;
3470
- url: '/v1/user/subscriptions/shared-repositories/credits/{repository_type}';
3797
+ url: '/v1/user/subscriptions/shared-repositories/credits/{repository}';
3471
3798
  };
3472
3799
  export type GetRepositoryCreditsErrors = {
3473
3800
  /**
@@ -3606,10 +3933,6 @@ export type CreateConnectionErrors = {
3606
3933
  * Invalid connection configuration
3607
3934
  */
3608
3935
  400: ErrorResponse;
3609
- /**
3610
- * Insufficient credits
3611
- */
3612
- 402: ErrorResponse;
3613
3936
  /**
3614
3937
  * Access denied - admin role required
3615
3938
  */
@@ -3659,10 +3982,6 @@ export type DeleteConnectionData = {
3659
3982
  url: '/v1/{graph_id}/connections/{connection_id}';
3660
3983
  };
3661
3984
  export type DeleteConnectionErrors = {
3662
- /**
3663
- * Insufficient credits
3664
- */
3665
- 402: ErrorResponse;
3666
3985
  /**
3667
3986
  * Access denied - admin role required
3668
3987
  */
@@ -3761,10 +4080,6 @@ export type SyncConnectionData = {
3761
4080
  url: '/v1/{graph_id}/connections/{connection_id}/sync';
3762
4081
  };
3763
4082
  export type SyncConnectionErrors = {
3764
- /**
3765
- * Insufficient credits
3766
- */
3767
- 402: ErrorResponse;
3768
4083
  /**
3769
4084
  * Access denied - admin role required
3770
4085
  */
@@ -4147,10 +4462,6 @@ export type CreateBackupErrors = {
4147
4462
  * Invalid backup configuration
4148
4463
  */
4149
4464
  400: ErrorResponse;
4150
- /**
4151
- * Insufficient credits
4152
- */
4153
- 402: ErrorResponse;
4154
4465
  /**
4155
4466
  * Access denied - admin role required
4156
4467
  */
@@ -4231,10 +4542,6 @@ export type ExportBackupData = {
4231
4542
  url: '/v1/{graph_id}/backup/export';
4232
4543
  };
4233
4544
  export type ExportBackupErrors = {
4234
- /**
4235
- * Insufficient credits for backup export
4236
- */
4237
- 402: unknown;
4238
4545
  /**
4239
4546
  * Access denied or backup is encrypted
4240
4547
  */
@@ -4278,10 +4585,6 @@ export type RestoreBackupErrors = {
4278
4585
  * Invalid restore configuration
4279
4586
  */
4280
4587
  400: ErrorResponse;
4281
- /**
4282
- * Insufficient credits
4283
- */
4284
- 402: ErrorResponse;
4285
4588
  /**
4286
4589
  * Access denied - admin role required
4287
4590
  */
@@ -4394,7 +4697,7 @@ export type GetBackupDownloadUrlData = {
4394
4697
  */
4395
4698
  expires_in?: number;
4396
4699
  };
4397
- url: '/v1/{graph_id}/backup/{backup_id}/download-url';
4700
+ url: '/v1/{graph_id}/backup/{backup_id}/download';
4398
4701
  };
4399
4702
  export type GetBackupDownloadUrlErrors = {
4400
4703
  /**
@@ -4444,10 +4747,6 @@ export type GetGraphMetricsData = {
4444
4747
  url: '/v1/{graph_id}/analytics';
4445
4748
  };
4446
4749
  export type GetGraphMetricsErrors = {
4447
- /**
4448
- * Insufficient credits
4449
- */
4450
- 402: ErrorResponse;
4451
4750
  /**
4452
4751
  * Access denied to graph
4453
4752
  */
@@ -4498,10 +4797,6 @@ export type GetGraphUsageStatsData = {
4498
4797
  url: '/v1/{graph_id}/analytics/usage';
4499
4798
  };
4500
4799
  export type GetGraphUsageStatsErrors = {
4501
- /**
4502
- * Insufficient credits
4503
- */
4504
- 402: ErrorResponse;
4505
4800
  /**
4506
4801
  * Access denied to graph
4507
4802
  */
@@ -4562,10 +4857,6 @@ export type ExecuteCypherQueryErrors = {
4562
4857
  * Invalid query or parameters
4563
4858
  */
4564
4859
  400: unknown;
4565
- /**
4566
- * Insufficient credits
4567
- */
4568
- 402: unknown;
4569
4860
  /**
4570
4861
  * Access denied
4571
4862
  */
@@ -4621,10 +4912,6 @@ export type GetGraphSchemaInfoData = {
4621
4912
  url: '/v1/{graph_id}/schema/info';
4622
4913
  };
4623
4914
  export type GetGraphSchemaInfoErrors = {
4624
- /**
4625
- * Insufficient credits for schema query
4626
- */
4627
- 402: unknown;
4628
4915
  /**
4629
4916
  * Access denied to graph
4630
4917
  */
@@ -4675,10 +4962,6 @@ export type ValidateSchemaErrors = {
4675
4962
  * Invalid schema format
4676
4963
  */
4677
4964
  400: ErrorResponse;
4678
- /**
4679
- * Insufficient credits
4680
- */
4681
- 402: ErrorResponse;
4682
4965
  /**
4683
4966
  * Access denied to graph
4684
4967
  */
@@ -5503,6 +5786,276 @@ export type GetDatabaseInfoResponses = {
5503
5786
  200: DatabaseInfoResponse;
5504
5787
  };
5505
5788
  export type GetDatabaseInfoResponse = GetDatabaseInfoResponses[keyof GetDatabaseInfoResponses];
5789
+ export type ListSubgraphsData = {
5790
+ body?: never;
5791
+ headers?: {
5792
+ /**
5793
+ * Authorization
5794
+ */
5795
+ authorization?: string | null;
5796
+ };
5797
+ path: {
5798
+ /**
5799
+ * Graph Id
5800
+ * Parent graph identifier
5801
+ */
5802
+ graph_id: string;
5803
+ };
5804
+ query?: never;
5805
+ url: '/v1/{graph_id}/subgraphs';
5806
+ };
5807
+ export type ListSubgraphsErrors = {
5808
+ /**
5809
+ * Not authenticated
5810
+ */
5811
+ 401: unknown;
5812
+ /**
5813
+ * Access denied to parent graph
5814
+ */
5815
+ 403: unknown;
5816
+ /**
5817
+ * Parent graph not found
5818
+ */
5819
+ 404: unknown;
5820
+ /**
5821
+ * Validation Error
5822
+ */
5823
+ 422: HttpValidationError;
5824
+ /**
5825
+ * Internal server error
5826
+ */
5827
+ 500: unknown;
5828
+ };
5829
+ export type ListSubgraphsError = ListSubgraphsErrors[keyof ListSubgraphsErrors];
5830
+ export type ListSubgraphsResponses = {
5831
+ /**
5832
+ * Subgraphs retrieved successfully
5833
+ */
5834
+ 200: ListSubgraphsResponse;
5835
+ };
5836
+ export type ListSubgraphsResponse2 = ListSubgraphsResponses[keyof ListSubgraphsResponses];
5837
+ export type CreateSubgraphData = {
5838
+ body: CreateSubgraphRequest;
5839
+ headers?: {
5840
+ /**
5841
+ * Authorization
5842
+ */
5843
+ authorization?: string | null;
5844
+ };
5845
+ path: {
5846
+ /**
5847
+ * Graph Id
5848
+ * Parent graph identifier
5849
+ */
5850
+ graph_id: string;
5851
+ };
5852
+ query?: never;
5853
+ url: '/v1/{graph_id}/subgraphs';
5854
+ };
5855
+ export type CreateSubgraphErrors = {
5856
+ /**
5857
+ * Invalid subgraph name or configuration
5858
+ */
5859
+ 400: unknown;
5860
+ /**
5861
+ * Not authenticated
5862
+ */
5863
+ 401: unknown;
5864
+ /**
5865
+ * Insufficient permissions or tier
5866
+ */
5867
+ 403: unknown;
5868
+ /**
5869
+ * Parent graph not found
5870
+ */
5871
+ 404: unknown;
5872
+ /**
5873
+ * Subgraph name already exists
5874
+ */
5875
+ 409: unknown;
5876
+ /**
5877
+ * Validation Error
5878
+ */
5879
+ 422: HttpValidationError;
5880
+ /**
5881
+ * Internal server error
5882
+ */
5883
+ 500: unknown;
5884
+ };
5885
+ export type CreateSubgraphError = CreateSubgraphErrors[keyof CreateSubgraphErrors];
5886
+ export type CreateSubgraphResponses = {
5887
+ /**
5888
+ * Subgraph created successfully
5889
+ */
5890
+ 200: SubgraphResponse;
5891
+ };
5892
+ export type CreateSubgraphResponse = CreateSubgraphResponses[keyof CreateSubgraphResponses];
5893
+ export type DeleteSubgraphData = {
5894
+ body?: DeleteSubgraphRequest;
5895
+ headers?: {
5896
+ /**
5897
+ * Authorization
5898
+ */
5899
+ authorization?: string | null;
5900
+ };
5901
+ path: {
5902
+ /**
5903
+ * Graph Id
5904
+ * Parent graph identifier
5905
+ */
5906
+ graph_id: string;
5907
+ /**
5908
+ * Subgraph Name
5909
+ * Subgraph name to delete
5910
+ */
5911
+ subgraph_name: string;
5912
+ };
5913
+ query?: never;
5914
+ url: '/v1/{graph_id}/subgraphs/{subgraph_name}';
5915
+ };
5916
+ export type DeleteSubgraphErrors = {
5917
+ /**
5918
+ * Invalid subgraph identifier
5919
+ */
5920
+ 400: unknown;
5921
+ /**
5922
+ * Not authenticated
5923
+ */
5924
+ 401: unknown;
5925
+ /**
5926
+ * Insufficient permissions
5927
+ */
5928
+ 403: unknown;
5929
+ /**
5930
+ * Subgraph not found
5931
+ */
5932
+ 404: unknown;
5933
+ /**
5934
+ * Subgraph contains data (use force=true)
5935
+ */
5936
+ 409: unknown;
5937
+ /**
5938
+ * Validation Error
5939
+ */
5940
+ 422: HttpValidationError;
5941
+ /**
5942
+ * Internal server error
5943
+ */
5944
+ 500: unknown;
5945
+ };
5946
+ export type DeleteSubgraphError = DeleteSubgraphErrors[keyof DeleteSubgraphErrors];
5947
+ export type DeleteSubgraphResponses = {
5948
+ /**
5949
+ * Subgraph deleted successfully
5950
+ */
5951
+ 200: DeleteSubgraphResponse;
5952
+ };
5953
+ export type DeleteSubgraphResponse2 = DeleteSubgraphResponses[keyof DeleteSubgraphResponses];
5954
+ export type GetSubgraphQuotaData = {
5955
+ body?: never;
5956
+ headers?: {
5957
+ /**
5958
+ * Authorization
5959
+ */
5960
+ authorization?: string | null;
5961
+ };
5962
+ path: {
5963
+ /**
5964
+ * Graph Id
5965
+ * Parent graph identifier
5966
+ */
5967
+ graph_id: string;
5968
+ };
5969
+ query?: never;
5970
+ url: '/v1/{graph_id}/subgraphs/quota';
5971
+ };
5972
+ export type GetSubgraphQuotaErrors = {
5973
+ /**
5974
+ * Not authenticated
5975
+ */
5976
+ 401: unknown;
5977
+ /**
5978
+ * Access denied to parent graph
5979
+ */
5980
+ 403: unknown;
5981
+ /**
5982
+ * Parent graph not found
5983
+ */
5984
+ 404: unknown;
5985
+ /**
5986
+ * Validation Error
5987
+ */
5988
+ 422: HttpValidationError;
5989
+ /**
5990
+ * Internal server error
5991
+ */
5992
+ 500: unknown;
5993
+ };
5994
+ export type GetSubgraphQuotaError = GetSubgraphQuotaErrors[keyof GetSubgraphQuotaErrors];
5995
+ export type GetSubgraphQuotaResponses = {
5996
+ /**
5997
+ * Quota information retrieved
5998
+ */
5999
+ 200: SubgraphQuotaResponse;
6000
+ };
6001
+ export type GetSubgraphQuotaResponse = GetSubgraphQuotaResponses[keyof GetSubgraphQuotaResponses];
6002
+ export type GetSubgraphInfoData = {
6003
+ body?: never;
6004
+ headers?: {
6005
+ /**
6006
+ * Authorization
6007
+ */
6008
+ authorization?: string | null;
6009
+ };
6010
+ path: {
6011
+ /**
6012
+ * Graph Id
6013
+ * Parent graph identifier
6014
+ */
6015
+ graph_id: string;
6016
+ /**
6017
+ * Subgraph Name
6018
+ * Subgraph name
6019
+ */
6020
+ subgraph_name: string;
6021
+ };
6022
+ query?: never;
6023
+ url: '/v1/{graph_id}/subgraphs/{subgraph_name}/info';
6024
+ };
6025
+ export type GetSubgraphInfoErrors = {
6026
+ /**
6027
+ * Not a valid subgraph
6028
+ */
6029
+ 400: unknown;
6030
+ /**
6031
+ * Not authenticated
6032
+ */
6033
+ 401: unknown;
6034
+ /**
6035
+ * Access denied
6036
+ */
6037
+ 403: unknown;
6038
+ /**
6039
+ * Subgraph not found
6040
+ */
6041
+ 404: unknown;
6042
+ /**
6043
+ * Validation Error
6044
+ */
6045
+ 422: HttpValidationError;
6046
+ /**
6047
+ * Internal server error
6048
+ */
6049
+ 500: unknown;
6050
+ };
6051
+ export type GetSubgraphInfoError = GetSubgraphInfoErrors[keyof GetSubgraphInfoErrors];
6052
+ export type GetSubgraphInfoResponses = {
6053
+ /**
6054
+ * Subgraph information retrieved
6055
+ */
6056
+ 200: SubgraphResponse;
6057
+ };
6058
+ export type GetSubgraphInfoResponse = GetSubgraphInfoResponses[keyof GetSubgraphInfoResponses];
5506
6059
  export type CreateGraphData = {
5507
6060
  body: CreateGraphRequest;
5508
6061
  headers?: {
@@ -5532,7 +6085,7 @@ export type GetAvailableExtensionsData = {
5532
6085
  body?: never;
5533
6086
  path?: never;
5534
6087
  query?: never;
5535
- url: '/v1/create/graph/available-extensions';
6088
+ url: '/v1/create/graph/extensions';
5536
6089
  };
5537
6090
  export type GetAvailableExtensionsResponses = {
5538
6091
  /**