@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.ts CHANGED
@@ -707,7 +707,45 @@ export type CreateGraphRequest = {
707
707
  * Tags
708
708
  * Optional tags for organization
709
709
  */
710
- tags?: Array<string> | null;
710
+ tags?: Array<string>;
711
+ };
712
+
713
+ /**
714
+ * CreateSubgraphRequest
715
+ * Request model for creating a subgraph.
716
+ */
717
+ export type CreateSubgraphRequest = {
718
+ /**
719
+ * Name
720
+ * Alphanumeric name for the subgraph (e.g., dev, staging, prod1)
721
+ */
722
+ name: string;
723
+ /**
724
+ * Display Name
725
+ * Human-readable display name for the subgraph
726
+ */
727
+ display_name: string;
728
+ /**
729
+ * Description
730
+ * Optional description of the subgraph's purpose
731
+ */
732
+ description?: string | null;
733
+ /**
734
+ * Schema Extensions
735
+ * Schema extensions to include (inherits from parent by default)
736
+ */
737
+ schema_extensions?: Array<string> | null;
738
+ /**
739
+ * Type of subgraph (currently only 'static' is supported)
740
+ */
741
+ subgraph_type?: SubgraphType;
742
+ /**
743
+ * Metadata
744
+ * Additional metadata for the subgraph
745
+ */
746
+ metadata?: {
747
+ [key: string]: unknown;
748
+ } | null;
711
749
  };
712
750
 
713
751
  /**
@@ -792,10 +830,6 @@ export type CreditSummaryResponse = {
792
830
  * Graph Tier
793
831
  */
794
832
  graph_tier: string;
795
- /**
796
- * Credit Multiplier
797
- */
798
- credit_multiplier: number;
799
833
  /**
800
834
  * Current Balance
801
835
  */
@@ -1063,6 +1097,60 @@ export type DatabaseInfoResponse = {
1063
1097
  last_backup_date?: string | null;
1064
1098
  };
1065
1099
 
1100
+ /**
1101
+ * DeleteSubgraphRequest
1102
+ * Request model for deleting a subgraph.
1103
+ */
1104
+ export type DeleteSubgraphRequest = {
1105
+ /**
1106
+ * Force
1107
+ * Force deletion even if subgraph contains data
1108
+ */
1109
+ force?: boolean;
1110
+ /**
1111
+ * Backup First
1112
+ * Create a backup before deletion
1113
+ */
1114
+ backup_first?: boolean;
1115
+ /**
1116
+ * Backup Location
1117
+ * S3 location for backup (uses default if not specified)
1118
+ */
1119
+ backup_location?: string | null;
1120
+ };
1121
+
1122
+ /**
1123
+ * DeleteSubgraphResponse
1124
+ * Response model for subgraph deletion.
1125
+ */
1126
+ export type DeleteSubgraphResponse = {
1127
+ /**
1128
+ * Graph Id
1129
+ * Deleted subgraph identifier
1130
+ */
1131
+ graph_id: string;
1132
+ /**
1133
+ * Status
1134
+ * Deletion status
1135
+ */
1136
+ status: string;
1137
+ /**
1138
+ * Backup Location
1139
+ * Location of backup if created
1140
+ */
1141
+ backup_location?: string | null;
1142
+ /**
1143
+ * Deleted At
1144
+ * When deletion occurred
1145
+ */
1146
+ deleted_at: string;
1147
+ /**
1148
+ * Message
1149
+ * Additional information about the deletion
1150
+ */
1151
+ message?: string | null;
1152
+ };
1153
+
1066
1154
  /**
1067
1155
  * DetailedTransactionsResponse
1068
1156
  * Detailed response for transaction queries.
@@ -1479,6 +1567,48 @@ export type LinkTokenRequest = {
1479
1567
  } | null;
1480
1568
  };
1481
1569
 
1570
+ /**
1571
+ * ListSubgraphsResponse
1572
+ * Response model for listing subgraphs.
1573
+ */
1574
+ export type ListSubgraphsResponse = {
1575
+ /**
1576
+ * Parent Graph Id
1577
+ * Parent graph identifier
1578
+ */
1579
+ parent_graph_id: string;
1580
+ /**
1581
+ * Parent Graph Name
1582
+ * Parent graph name
1583
+ */
1584
+ parent_graph_name: string;
1585
+ /**
1586
+ * Parent Graph Tier
1587
+ * Parent graph tier
1588
+ */
1589
+ parent_graph_tier: string;
1590
+ /**
1591
+ * Subgraph Count
1592
+ * Total number of subgraphs
1593
+ */
1594
+ subgraph_count: number;
1595
+ /**
1596
+ * Max Subgraphs
1597
+ * Maximum allowed subgraphs for this tier (None = unlimited)
1598
+ */
1599
+ max_subgraphs?: number | null;
1600
+ /**
1601
+ * Total Size Mb
1602
+ * Combined size of all subgraphs in megabytes
1603
+ */
1604
+ total_size_mb?: number | null;
1605
+ /**
1606
+ * Subgraphs
1607
+ * List of subgraphs
1608
+ */
1609
+ subgraphs: Array<SubgraphSummary>;
1610
+ };
1611
+
1482
1612
  /**
1483
1613
  * LoginRequest
1484
1614
  * Login request model.
@@ -1763,10 +1893,10 @@ export type RegisterRequest = {
1763
1893
  */
1764
1894
  export type RepositoryCreditsResponse = {
1765
1895
  /**
1766
- * Repository Type
1767
- * Repository type
1896
+ * Repository
1897
+ * Repository identifier
1768
1898
  */
1769
- repository_type: string;
1899
+ repository: string;
1770
1900
  /**
1771
1901
  * Has Access
1772
1902
  * Whether user has access
@@ -2052,6 +2182,183 @@ export type StorageLimitResponse = {
2052
2182
  recommendations?: Array<string> | null;
2053
2183
  };
2054
2184
 
2185
+ /**
2186
+ * SubgraphQuotaResponse
2187
+ * Response model for subgraph quota information.
2188
+ */
2189
+ export type SubgraphQuotaResponse = {
2190
+ /**
2191
+ * Parent Graph Id
2192
+ * Parent graph identifier
2193
+ */
2194
+ parent_graph_id: string;
2195
+ /**
2196
+ * Tier
2197
+ * Graph tier
2198
+ */
2199
+ tier: string;
2200
+ /**
2201
+ * Current Count
2202
+ * Current number of subgraphs
2203
+ */
2204
+ current_count: number;
2205
+ /**
2206
+ * Max Allowed
2207
+ * Maximum allowed subgraphs (None = unlimited)
2208
+ */
2209
+ max_allowed?: number | null;
2210
+ /**
2211
+ * Remaining
2212
+ * Remaining subgraphs that can be created
2213
+ */
2214
+ remaining?: number | null;
2215
+ /**
2216
+ * Total Size Mb
2217
+ * Total size of all subgraphs
2218
+ */
2219
+ total_size_mb?: number | null;
2220
+ /**
2221
+ * Max Size Mb
2222
+ * Maximum allowed total size
2223
+ */
2224
+ max_size_mb?: number | null;
2225
+ };
2226
+
2227
+ /**
2228
+ * SubgraphResponse
2229
+ * Response model for a subgraph.
2230
+ */
2231
+ export type SubgraphResponse = {
2232
+ /**
2233
+ * Graph Id
2234
+ * Full subgraph identifier (e.g., kg123_dev)
2235
+ */
2236
+ graph_id: string;
2237
+ /**
2238
+ * Parent Graph Id
2239
+ * Parent graph identifier
2240
+ */
2241
+ parent_graph_id: string;
2242
+ /**
2243
+ * Subgraph Index
2244
+ * Numeric index of the subgraph
2245
+ */
2246
+ subgraph_index: number;
2247
+ /**
2248
+ * Subgraph Name
2249
+ * Alphanumeric name of the subgraph
2250
+ */
2251
+ subgraph_name: string;
2252
+ /**
2253
+ * Display Name
2254
+ * Human-readable display name
2255
+ */
2256
+ display_name: string;
2257
+ /**
2258
+ * Description
2259
+ * Description of the subgraph's purpose
2260
+ */
2261
+ description?: string | null;
2262
+ /**
2263
+ * Type of subgraph
2264
+ */
2265
+ subgraph_type: SubgraphType;
2266
+ /**
2267
+ * Status
2268
+ * Current status of the subgraph
2269
+ */
2270
+ status: string;
2271
+ /**
2272
+ * Created At
2273
+ * When the subgraph was created
2274
+ */
2275
+ created_at: string;
2276
+ /**
2277
+ * Updated At
2278
+ * When the subgraph was last updated
2279
+ */
2280
+ updated_at: string;
2281
+ /**
2282
+ * Size Mb
2283
+ * Size of the subgraph database in megabytes
2284
+ */
2285
+ size_mb?: number | null;
2286
+ /**
2287
+ * Node Count
2288
+ * Number of nodes in the subgraph
2289
+ */
2290
+ node_count?: number | null;
2291
+ /**
2292
+ * Edge Count
2293
+ * Number of edges in the subgraph
2294
+ */
2295
+ edge_count?: number | null;
2296
+ /**
2297
+ * Last Accessed
2298
+ * When the subgraph was last accessed
2299
+ */
2300
+ last_accessed?: string | null;
2301
+ /**
2302
+ * Metadata
2303
+ * Additional metadata for the subgraph
2304
+ */
2305
+ metadata?: {
2306
+ [key: string]: unknown;
2307
+ } | null;
2308
+ };
2309
+
2310
+ /**
2311
+ * SubgraphSummary
2312
+ * Summary model for listing subgraphs.
2313
+ */
2314
+ export type SubgraphSummary = {
2315
+ /**
2316
+ * Graph Id
2317
+ * Full subgraph identifier
2318
+ */
2319
+ graph_id: string;
2320
+ /**
2321
+ * Subgraph Name
2322
+ * Alphanumeric name
2323
+ */
2324
+ subgraph_name: string;
2325
+ /**
2326
+ * Display Name
2327
+ * Human-readable name
2328
+ */
2329
+ display_name: string;
2330
+ /**
2331
+ * Type of subgraph
2332
+ */
2333
+ subgraph_type: SubgraphType;
2334
+ /**
2335
+ * Status
2336
+ * Current status
2337
+ */
2338
+ status: string;
2339
+ /**
2340
+ * Size Mb
2341
+ * Size in megabytes
2342
+ */
2343
+ size_mb?: number | null;
2344
+ /**
2345
+ * Created At
2346
+ * Creation timestamp
2347
+ */
2348
+ created_at: string;
2349
+ /**
2350
+ * Last Accessed
2351
+ * Last access timestamp
2352
+ */
2353
+ last_accessed?: string | null;
2354
+ };
2355
+
2356
+ /**
2357
+ * SubgraphType
2358
+ * Types of subgraphs.
2359
+ */
2360
+ export type SubgraphType = 'static' | 'temporal' | 'versioned' | 'memory';
2361
+
2055
2362
  /**
2056
2363
  * SubscriptionInfo
2057
2364
  * User subscription information.
@@ -2082,16 +2389,6 @@ export type SubscriptionInfo = {
2082
2389
  * Whether subscription is active
2083
2390
  */
2084
2391
  is_active: boolean;
2085
- /**
2086
- * Is Trial
2087
- * Whether this is a trial subscription
2088
- */
2089
- is_trial: boolean;
2090
- /**
2091
- * Trial Ends At
2092
- * Trial expiration date (ISO format)
2093
- */
2094
- trial_ends_at?: string | null;
2095
2392
  /**
2096
2393
  * Activated At
2097
2394
  * Activation date (ISO format)
@@ -2134,11 +2431,6 @@ export type SubscriptionRequest = {
2134
2431
  * Repository plan
2135
2432
  */
2136
2433
  repository_plan?: RepositoryPlan;
2137
- /**
2138
- * Is Trial
2139
- * Start with trial period
2140
- */
2141
- is_trial?: boolean;
2142
2434
  };
2143
2435
 
2144
2436
  /**
@@ -2155,11 +2447,6 @@ export type SubscriptionResponse = {
2155
2447
  * Created subscription details
2156
2448
  */
2157
2449
  subscription: SubscriptionInfo;
2158
- /**
2159
- * Trial Period
2160
- * Trial period in days
2161
- */
2162
- trial_period: number;
2163
2450
  };
2164
2451
 
2165
2452
  /**
@@ -2952,25 +3239,6 @@ export type GetServiceStatusResponses = {
2952
3239
 
2953
3240
  export type GetServiceStatusResponse = GetServiceStatusResponses[keyof GetServiceStatusResponses];
2954
3241
 
2955
- export type GetMcpHealthData = {
2956
- body?: never;
2957
- path?: never;
2958
- query?: never;
2959
- url: '/v1/mcp/health';
2960
- };
2961
-
2962
- export type GetMcpHealthResponses = {
2963
- /**
2964
- * Response Getmcphealth
2965
- * Successful Response
2966
- */
2967
- 200: {
2968
- [key: string]: unknown;
2969
- };
2970
- };
2971
-
2972
- export type GetMcpHealthResponse = GetMcpHealthResponses[keyof GetMcpHealthResponses];
2973
-
2974
3242
  export type GetCurrentUserData = {
2975
3243
  body?: never;
2976
3244
  headers?: {
@@ -3079,7 +3347,7 @@ export type SelectUserGraphData = {
3079
3347
  graph_id: string;
3080
3348
  };
3081
3349
  query?: never;
3082
- url: '/v1/user/graphs/select/{graph_id}';
3350
+ url: '/v1/user/graphs/{graph_id}/select';
3083
3351
  };
3084
3352
 
3085
3353
  export type SelectUserGraphErrors = {
@@ -3401,7 +3669,7 @@ export type GetUserUsageResponses = {
3401
3669
 
3402
3670
  export type GetUserUsageResponse = GetUserUsageResponses[keyof GetUserUsageResponses];
3403
3671
 
3404
- export type GetUserUsageOverviewData = {
3672
+ export type GetSharedRepositoryLimitsData = {
3405
3673
  body?: never;
3406
3674
  headers?: {
3407
3675
  /**
@@ -3409,30 +3677,39 @@ export type GetUserUsageOverviewData = {
3409
3677
  */
3410
3678
  authorization?: string | null;
3411
3679
  };
3412
- path?: never;
3680
+ path: {
3681
+ /**
3682
+ * Repository
3683
+ * Repository name (e.g., 'sec')
3684
+ */
3685
+ repository: string;
3686
+ };
3413
3687
  query?: never;
3414
- url: '/v1/user/analytics/overview';
3688
+ url: '/v1/user/limits/shared-repositories/{repository}';
3415
3689
  };
3416
3690
 
3417
- export type GetUserUsageOverviewErrors = {
3691
+ export type GetSharedRepositoryLimitsErrors = {
3418
3692
  /**
3419
3693
  * Validation Error
3420
3694
  */
3421
3695
  422: HttpValidationError;
3422
3696
  };
3423
3697
 
3424
- export type GetUserUsageOverviewError = GetUserUsageOverviewErrors[keyof GetUserUsageOverviewErrors];
3698
+ export type GetSharedRepositoryLimitsError = GetSharedRepositoryLimitsErrors[keyof GetSharedRepositoryLimitsErrors];
3425
3699
 
3426
- export type GetUserUsageOverviewResponses = {
3700
+ export type GetSharedRepositoryLimitsResponses = {
3427
3701
  /**
3702
+ * Response Getsharedrepositorylimits
3428
3703
  * Successful Response
3429
3704
  */
3430
- 200: UserUsageSummaryResponse;
3705
+ 200: {
3706
+ [key: string]: unknown;
3707
+ };
3431
3708
  };
3432
3709
 
3433
- export type GetUserUsageOverviewResponse = GetUserUsageOverviewResponses[keyof GetUserUsageOverviewResponses];
3710
+ export type GetSharedRepositoryLimitsResponse = GetSharedRepositoryLimitsResponses[keyof GetSharedRepositoryLimitsResponses];
3434
3711
 
3435
- export type GetDetailedUserAnalyticsData = {
3712
+ export type GetAllSharedRepositoryLimitsData = {
3436
3713
  body?: never;
3437
3714
  headers?: {
3438
3715
  /**
@@ -3441,40 +3718,32 @@ export type GetDetailedUserAnalyticsData = {
3441
3718
  authorization?: string | null;
3442
3719
  };
3443
3720
  path?: never;
3444
- query?: {
3445
- /**
3446
- * Include Api Stats
3447
- * Include API usage statistics
3448
- */
3449
- include_api_stats?: boolean;
3450
- /**
3451
- * Include Recent Activity
3452
- * Include recent activity
3453
- */
3454
- include_recent_activity?: boolean;
3455
- };
3456
- url: '/v1/user/analytics/detailed';
3721
+ query?: never;
3722
+ url: '/v1/user/limits/shared-repositories/summary';
3457
3723
  };
3458
3724
 
3459
- export type GetDetailedUserAnalyticsErrors = {
3725
+ export type GetAllSharedRepositoryLimitsErrors = {
3460
3726
  /**
3461
3727
  * Validation Error
3462
3728
  */
3463
3729
  422: HttpValidationError;
3464
3730
  };
3465
3731
 
3466
- export type GetDetailedUserAnalyticsError = GetDetailedUserAnalyticsErrors[keyof GetDetailedUserAnalyticsErrors];
3732
+ export type GetAllSharedRepositoryLimitsError = GetAllSharedRepositoryLimitsErrors[keyof GetAllSharedRepositoryLimitsErrors];
3467
3733
 
3468
- export type GetDetailedUserAnalyticsResponses = {
3734
+ export type GetAllSharedRepositoryLimitsResponses = {
3469
3735
  /**
3736
+ * Response Getallsharedrepositorylimits
3470
3737
  * Successful Response
3471
3738
  */
3472
- 200: UserAnalyticsResponse;
3739
+ 200: {
3740
+ [key: string]: unknown;
3741
+ };
3473
3742
  };
3474
3743
 
3475
- export type GetDetailedUserAnalyticsResponse = GetDetailedUserAnalyticsResponses[keyof GetDetailedUserAnalyticsResponses];
3744
+ export type GetAllSharedRepositoryLimitsResponse = GetAllSharedRepositoryLimitsResponses[keyof GetAllSharedRepositoryLimitsResponses];
3476
3745
 
3477
- export type GetUserSharedSubscriptionsData = {
3746
+ export type GetUserUsageOverviewData = {
3478
3747
  body?: never;
3479
3748
  headers?: {
3480
3749
  /**
@@ -3483,15 +3752,88 @@ export type GetUserSharedSubscriptionsData = {
3483
3752
  authorization?: string | null;
3484
3753
  };
3485
3754
  path?: never;
3486
- query?: {
3487
- /**
3488
- * Active Only
3489
- * Only return active subscriptions
3490
- */
3491
- active_only?: boolean;
3492
- };
3493
- url: '/v1/user/subscriptions/shared-repositories';
3494
- };
3755
+ query?: never;
3756
+ url: '/v1/user/analytics/overview';
3757
+ };
3758
+
3759
+ export type GetUserUsageOverviewErrors = {
3760
+ /**
3761
+ * Validation Error
3762
+ */
3763
+ 422: HttpValidationError;
3764
+ };
3765
+
3766
+ export type GetUserUsageOverviewError = GetUserUsageOverviewErrors[keyof GetUserUsageOverviewErrors];
3767
+
3768
+ export type GetUserUsageOverviewResponses = {
3769
+ /**
3770
+ * Successful Response
3771
+ */
3772
+ 200: UserUsageSummaryResponse;
3773
+ };
3774
+
3775
+ export type GetUserUsageOverviewResponse = GetUserUsageOverviewResponses[keyof GetUserUsageOverviewResponses];
3776
+
3777
+ export type GetDetailedUserAnalyticsData = {
3778
+ body?: never;
3779
+ headers?: {
3780
+ /**
3781
+ * Authorization
3782
+ */
3783
+ authorization?: string | null;
3784
+ };
3785
+ path?: never;
3786
+ query?: {
3787
+ /**
3788
+ * Include Api Stats
3789
+ * Include API usage statistics
3790
+ */
3791
+ include_api_stats?: boolean;
3792
+ /**
3793
+ * Include Recent Activity
3794
+ * Include recent activity
3795
+ */
3796
+ include_recent_activity?: boolean;
3797
+ };
3798
+ url: '/v1/user/analytics/detailed';
3799
+ };
3800
+
3801
+ export type GetDetailedUserAnalyticsErrors = {
3802
+ /**
3803
+ * Validation Error
3804
+ */
3805
+ 422: HttpValidationError;
3806
+ };
3807
+
3808
+ export type GetDetailedUserAnalyticsError = GetDetailedUserAnalyticsErrors[keyof GetDetailedUserAnalyticsErrors];
3809
+
3810
+ export type GetDetailedUserAnalyticsResponses = {
3811
+ /**
3812
+ * Successful Response
3813
+ */
3814
+ 200: UserAnalyticsResponse;
3815
+ };
3816
+
3817
+ export type GetDetailedUserAnalyticsResponse = GetDetailedUserAnalyticsResponses[keyof GetDetailedUserAnalyticsResponses];
3818
+
3819
+ export type GetUserSharedSubscriptionsData = {
3820
+ body?: never;
3821
+ headers?: {
3822
+ /**
3823
+ * Authorization
3824
+ */
3825
+ authorization?: string | null;
3826
+ };
3827
+ path?: never;
3828
+ query?: {
3829
+ /**
3830
+ * Active Only
3831
+ * Only return active subscriptions
3832
+ */
3833
+ active_only?: boolean;
3834
+ };
3835
+ url: '/v1/user/subscriptions/shared-repositories';
3836
+ };
3495
3837
 
3496
3838
  export type GetUserSharedSubscriptionsErrors = {
3497
3839
  /**
@@ -3709,12 +4051,12 @@ export type GetRepositoryCreditsData = {
3709
4051
  };
3710
4052
  path: {
3711
4053
  /**
3712
- * Repository Type
4054
+ * Repository
3713
4055
  */
3714
- repository_type: string;
4056
+ repository: string;
3715
4057
  };
3716
4058
  query?: never;
3717
- url: '/v1/user/subscriptions/shared-repositories/credits/{repository_type}';
4059
+ url: '/v1/user/subscriptions/shared-repositories/credits/{repository}';
3718
4060
  };
3719
4061
 
3720
4062
  export type GetRepositoryCreditsErrors = {
@@ -3869,10 +4211,6 @@ export type CreateConnectionErrors = {
3869
4211
  * Invalid connection configuration
3870
4212
  */
3871
4213
  400: ErrorResponse;
3872
- /**
3873
- * Insufficient credits
3874
- */
3875
- 402: ErrorResponse;
3876
4214
  /**
3877
4215
  * Access denied - admin role required
3878
4216
  */
@@ -3927,10 +4265,6 @@ export type DeleteConnectionData = {
3927
4265
  };
3928
4266
 
3929
4267
  export type DeleteConnectionErrors = {
3930
- /**
3931
- * Insufficient credits
3932
- */
3933
- 402: ErrorResponse;
3934
4268
  /**
3935
4269
  * Access denied - admin role required
3936
4270
  */
@@ -4039,10 +4373,6 @@ export type SyncConnectionData = {
4039
4373
  };
4040
4374
 
4041
4375
  export type SyncConnectionErrors = {
4042
- /**
4043
- * Insufficient credits
4044
- */
4045
- 402: ErrorResponse;
4046
4376
  /**
4047
4377
  * Access denied - admin role required
4048
4378
  */
@@ -4461,10 +4791,6 @@ export type CreateBackupErrors = {
4461
4791
  * Invalid backup configuration
4462
4792
  */
4463
4793
  400: ErrorResponse;
4464
- /**
4465
- * Insufficient credits
4466
- */
4467
- 402: ErrorResponse;
4468
4794
  /**
4469
4795
  * Access denied - admin role required
4470
4796
  */
@@ -4554,10 +4880,6 @@ export type ExportBackupData = {
4554
4880
  };
4555
4881
 
4556
4882
  export type ExportBackupErrors = {
4557
- /**
4558
- * Insufficient credits for backup export
4559
- */
4560
- 402: unknown;
4561
4883
  /**
4562
4884
  * Access denied or backup is encrypted
4563
4885
  */
@@ -4605,10 +4927,6 @@ export type RestoreBackupErrors = {
4605
4927
  * Invalid restore configuration
4606
4928
  */
4607
4929
  400: ErrorResponse;
4608
- /**
4609
- * Insufficient credits
4610
- */
4611
- 402: ErrorResponse;
4612
4930
  /**
4613
4931
  * Access denied - admin role required
4614
4932
  */
@@ -4734,7 +5052,7 @@ export type GetBackupDownloadUrlData = {
4734
5052
  */
4735
5053
  expires_in?: number;
4736
5054
  };
4737
- url: '/v1/{graph_id}/backup/{backup_id}/download-url';
5055
+ url: '/v1/{graph_id}/backup/{backup_id}/download';
4738
5056
  };
4739
5057
 
4740
5058
  export type GetBackupDownloadUrlErrors = {
@@ -4790,10 +5108,6 @@ export type GetGraphMetricsData = {
4790
5108
  };
4791
5109
 
4792
5110
  export type GetGraphMetricsErrors = {
4793
- /**
4794
- * Insufficient credits
4795
- */
4796
- 402: ErrorResponse;
4797
5111
  /**
4798
5112
  * Access denied to graph
4799
5113
  */
@@ -4849,10 +5163,6 @@ export type GetGraphUsageStatsData = {
4849
5163
  };
4850
5164
 
4851
5165
  export type GetGraphUsageStatsErrors = {
4852
- /**
4853
- * Insufficient credits
4854
- */
4855
- 402: ErrorResponse;
4856
5166
  /**
4857
5167
  * Access denied to graph
4858
5168
  */
@@ -4918,10 +5228,6 @@ export type ExecuteCypherQueryErrors = {
4918
5228
  * Invalid query or parameters
4919
5229
  */
4920
5230
  400: unknown;
4921
- /**
4922
- * Insufficient credits
4923
- */
4924
- 402: unknown;
4925
5231
  /**
4926
5232
  * Access denied
4927
5233
  */
@@ -4981,10 +5287,6 @@ export type GetGraphSchemaInfoData = {
4981
5287
  };
4982
5288
 
4983
5289
  export type GetGraphSchemaInfoErrors = {
4984
- /**
4985
- * Insufficient credits for schema query
4986
- */
4987
- 402: unknown;
4988
5290
  /**
4989
5291
  * Access denied to graph
4990
5292
  */
@@ -5040,10 +5342,6 @@ export type ValidateSchemaErrors = {
5040
5342
  * Invalid schema format
5041
5343
  */
5042
5344
  400: ErrorResponse;
5043
- /**
5044
- * Insufficient credits
5045
- */
5046
- 402: ErrorResponse;
5047
5345
  /**
5048
5346
  * Access denied to graph
5049
5347
  */
@@ -5957,6 +6255,301 @@ export type GetDatabaseInfoResponses = {
5957
6255
 
5958
6256
  export type GetDatabaseInfoResponse = GetDatabaseInfoResponses[keyof GetDatabaseInfoResponses];
5959
6257
 
6258
+ export type ListSubgraphsData = {
6259
+ body?: never;
6260
+ headers?: {
6261
+ /**
6262
+ * Authorization
6263
+ */
6264
+ authorization?: string | null;
6265
+ };
6266
+ path: {
6267
+ /**
6268
+ * Graph Id
6269
+ * Parent graph identifier
6270
+ */
6271
+ graph_id: string;
6272
+ };
6273
+ query?: never;
6274
+ url: '/v1/{graph_id}/subgraphs';
6275
+ };
6276
+
6277
+ export type ListSubgraphsErrors = {
6278
+ /**
6279
+ * Not authenticated
6280
+ */
6281
+ 401: unknown;
6282
+ /**
6283
+ * Access denied to parent graph
6284
+ */
6285
+ 403: unknown;
6286
+ /**
6287
+ * Parent graph not found
6288
+ */
6289
+ 404: unknown;
6290
+ /**
6291
+ * Validation Error
6292
+ */
6293
+ 422: HttpValidationError;
6294
+ /**
6295
+ * Internal server error
6296
+ */
6297
+ 500: unknown;
6298
+ };
6299
+
6300
+ export type ListSubgraphsError = ListSubgraphsErrors[keyof ListSubgraphsErrors];
6301
+
6302
+ export type ListSubgraphsResponses = {
6303
+ /**
6304
+ * Subgraphs retrieved successfully
6305
+ */
6306
+ 200: ListSubgraphsResponse;
6307
+ };
6308
+
6309
+ export type ListSubgraphsResponse2 = ListSubgraphsResponses[keyof ListSubgraphsResponses];
6310
+
6311
+ export type CreateSubgraphData = {
6312
+ body: CreateSubgraphRequest;
6313
+ headers?: {
6314
+ /**
6315
+ * Authorization
6316
+ */
6317
+ authorization?: string | null;
6318
+ };
6319
+ path: {
6320
+ /**
6321
+ * Graph Id
6322
+ * Parent graph identifier
6323
+ */
6324
+ graph_id: string;
6325
+ };
6326
+ query?: never;
6327
+ url: '/v1/{graph_id}/subgraphs';
6328
+ };
6329
+
6330
+ export type CreateSubgraphErrors = {
6331
+ /**
6332
+ * Invalid subgraph name or configuration
6333
+ */
6334
+ 400: unknown;
6335
+ /**
6336
+ * Not authenticated
6337
+ */
6338
+ 401: unknown;
6339
+ /**
6340
+ * Insufficient permissions or tier
6341
+ */
6342
+ 403: unknown;
6343
+ /**
6344
+ * Parent graph not found
6345
+ */
6346
+ 404: unknown;
6347
+ /**
6348
+ * Subgraph name already exists
6349
+ */
6350
+ 409: unknown;
6351
+ /**
6352
+ * Validation Error
6353
+ */
6354
+ 422: HttpValidationError;
6355
+ /**
6356
+ * Internal server error
6357
+ */
6358
+ 500: unknown;
6359
+ };
6360
+
6361
+ export type CreateSubgraphError = CreateSubgraphErrors[keyof CreateSubgraphErrors];
6362
+
6363
+ export type CreateSubgraphResponses = {
6364
+ /**
6365
+ * Subgraph created successfully
6366
+ */
6367
+ 200: SubgraphResponse;
6368
+ };
6369
+
6370
+ export type CreateSubgraphResponse = CreateSubgraphResponses[keyof CreateSubgraphResponses];
6371
+
6372
+ export type DeleteSubgraphData = {
6373
+ body?: DeleteSubgraphRequest;
6374
+ headers?: {
6375
+ /**
6376
+ * Authorization
6377
+ */
6378
+ authorization?: string | null;
6379
+ };
6380
+ path: {
6381
+ /**
6382
+ * Graph Id
6383
+ * Parent graph identifier
6384
+ */
6385
+ graph_id: string;
6386
+ /**
6387
+ * Subgraph Name
6388
+ * Subgraph name to delete
6389
+ */
6390
+ subgraph_name: string;
6391
+ };
6392
+ query?: never;
6393
+ url: '/v1/{graph_id}/subgraphs/{subgraph_name}';
6394
+ };
6395
+
6396
+ export type DeleteSubgraphErrors = {
6397
+ /**
6398
+ * Invalid subgraph identifier
6399
+ */
6400
+ 400: unknown;
6401
+ /**
6402
+ * Not authenticated
6403
+ */
6404
+ 401: unknown;
6405
+ /**
6406
+ * Insufficient permissions
6407
+ */
6408
+ 403: unknown;
6409
+ /**
6410
+ * Subgraph not found
6411
+ */
6412
+ 404: unknown;
6413
+ /**
6414
+ * Subgraph contains data (use force=true)
6415
+ */
6416
+ 409: unknown;
6417
+ /**
6418
+ * Validation Error
6419
+ */
6420
+ 422: HttpValidationError;
6421
+ /**
6422
+ * Internal server error
6423
+ */
6424
+ 500: unknown;
6425
+ };
6426
+
6427
+ export type DeleteSubgraphError = DeleteSubgraphErrors[keyof DeleteSubgraphErrors];
6428
+
6429
+ export type DeleteSubgraphResponses = {
6430
+ /**
6431
+ * Subgraph deleted successfully
6432
+ */
6433
+ 200: DeleteSubgraphResponse;
6434
+ };
6435
+
6436
+ export type DeleteSubgraphResponse2 = DeleteSubgraphResponses[keyof DeleteSubgraphResponses];
6437
+
6438
+ export type GetSubgraphQuotaData = {
6439
+ body?: never;
6440
+ headers?: {
6441
+ /**
6442
+ * Authorization
6443
+ */
6444
+ authorization?: string | null;
6445
+ };
6446
+ path: {
6447
+ /**
6448
+ * Graph Id
6449
+ * Parent graph identifier
6450
+ */
6451
+ graph_id: string;
6452
+ };
6453
+ query?: never;
6454
+ url: '/v1/{graph_id}/subgraphs/quota';
6455
+ };
6456
+
6457
+ export type GetSubgraphQuotaErrors = {
6458
+ /**
6459
+ * Not authenticated
6460
+ */
6461
+ 401: unknown;
6462
+ /**
6463
+ * Access denied to parent graph
6464
+ */
6465
+ 403: unknown;
6466
+ /**
6467
+ * Parent graph not found
6468
+ */
6469
+ 404: unknown;
6470
+ /**
6471
+ * Validation Error
6472
+ */
6473
+ 422: HttpValidationError;
6474
+ /**
6475
+ * Internal server error
6476
+ */
6477
+ 500: unknown;
6478
+ };
6479
+
6480
+ export type GetSubgraphQuotaError = GetSubgraphQuotaErrors[keyof GetSubgraphQuotaErrors];
6481
+
6482
+ export type GetSubgraphQuotaResponses = {
6483
+ /**
6484
+ * Quota information retrieved
6485
+ */
6486
+ 200: SubgraphQuotaResponse;
6487
+ };
6488
+
6489
+ export type GetSubgraphQuotaResponse = GetSubgraphQuotaResponses[keyof GetSubgraphQuotaResponses];
6490
+
6491
+ export type GetSubgraphInfoData = {
6492
+ body?: never;
6493
+ headers?: {
6494
+ /**
6495
+ * Authorization
6496
+ */
6497
+ authorization?: string | null;
6498
+ };
6499
+ path: {
6500
+ /**
6501
+ * Graph Id
6502
+ * Parent graph identifier
6503
+ */
6504
+ graph_id: string;
6505
+ /**
6506
+ * Subgraph Name
6507
+ * Subgraph name
6508
+ */
6509
+ subgraph_name: string;
6510
+ };
6511
+ query?: never;
6512
+ url: '/v1/{graph_id}/subgraphs/{subgraph_name}/info';
6513
+ };
6514
+
6515
+ export type GetSubgraphInfoErrors = {
6516
+ /**
6517
+ * Not a valid subgraph
6518
+ */
6519
+ 400: unknown;
6520
+ /**
6521
+ * Not authenticated
6522
+ */
6523
+ 401: unknown;
6524
+ /**
6525
+ * Access denied
6526
+ */
6527
+ 403: unknown;
6528
+ /**
6529
+ * Subgraph not found
6530
+ */
6531
+ 404: unknown;
6532
+ /**
6533
+ * Validation Error
6534
+ */
6535
+ 422: HttpValidationError;
6536
+ /**
6537
+ * Internal server error
6538
+ */
6539
+ 500: unknown;
6540
+ };
6541
+
6542
+ export type GetSubgraphInfoError = GetSubgraphInfoErrors[keyof GetSubgraphInfoErrors];
6543
+
6544
+ export type GetSubgraphInfoResponses = {
6545
+ /**
6546
+ * Subgraph information retrieved
6547
+ */
6548
+ 200: SubgraphResponse;
6549
+ };
6550
+
6551
+ export type GetSubgraphInfoResponse = GetSubgraphInfoResponses[keyof GetSubgraphInfoResponses];
6552
+
5960
6553
  export type CreateGraphData = {
5961
6554
  body: CreateGraphRequest;
5962
6555
  headers?: {
@@ -5990,7 +6583,7 @@ export type GetAvailableExtensionsData = {
5990
6583
  body?: never;
5991
6584
  path?: never;
5992
6585
  query?: never;
5993
- url: '/v1/create/graph/available-extensions';
6586
+ url: '/v1/create/graph/extensions';
5994
6587
  };
5995
6588
 
5996
6589
  export type GetAvailableExtensionsResponses = {