@robosystems/client 0.1.16 → 0.1.17

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
@@ -274,22 +274,6 @@ export type BackupCreateRequest = {
274
274
  */
275
275
  schedule?: string | null;
276
276
  };
277
- /**
278
- * BackupExportRequest
279
- * Request model for exporting a backup.
280
- */
281
- export type BackupExportRequest = {
282
- /**
283
- * Backup Id
284
- * ID of backup to export
285
- */
286
- backup_id: string;
287
- /**
288
- * Export Format
289
- * Export format - only 'original' is supported (compressed .kuzu file)
290
- */
291
- export_format?: string;
292
- };
293
277
  /**
294
278
  * BackupListResponse
295
279
  * Response model for backup list.
@@ -606,6 +590,59 @@ export type ConnectionResponse = {
606
590
  [key: string]: unknown;
607
591
  };
608
592
  };
593
+ /**
594
+ * CopyResponse
595
+ * Response model for copy operations.
596
+ */
597
+ export type CopyResponse = {
598
+ /**
599
+ * Status
600
+ * Operation status
601
+ */
602
+ status: 'completed' | 'failed' | 'partial';
603
+ /**
604
+ * Source Type
605
+ * Type of source that was copied from
606
+ */
607
+ source_type: string;
608
+ /**
609
+ * Execution Time Ms
610
+ * Total execution time in milliseconds
611
+ */
612
+ execution_time_ms: number;
613
+ /**
614
+ * Message
615
+ * Human-readable status message
616
+ */
617
+ message: string;
618
+ /**
619
+ * Rows Imported
620
+ * Number of rows successfully imported
621
+ */
622
+ rows_imported?: number | null;
623
+ /**
624
+ * Rows Skipped
625
+ * Number of rows skipped due to errors (when ignore_errors=true)
626
+ */
627
+ rows_skipped?: number | null;
628
+ /**
629
+ * Warnings
630
+ * List of warnings encountered during import
631
+ */
632
+ warnings?: Array<string> | null;
633
+ /**
634
+ * Error Details
635
+ * Detailed error information if operation failed
636
+ */
637
+ error_details?: {
638
+ [key: string]: unknown;
639
+ } | null;
640
+ /**
641
+ * Bytes Processed
642
+ * Total bytes processed from source
643
+ */
644
+ bytes_processed?: number | null;
645
+ };
609
646
  /**
610
647
  * CreateAPIKeyRequest
611
648
  * Request model for creating a new API key.
@@ -721,22 +758,6 @@ export type CreateSubgraphRequest = {
721
758
  [key: string]: unknown;
722
759
  } | null;
723
760
  };
724
- /**
725
- * CreditCheckRequest
726
- * Request to check credit balance.
727
- */
728
- export type CreditCheckRequest = {
729
- /**
730
- * Operation Type
731
- * Type of operation to check
732
- */
733
- operation_type: string;
734
- /**
735
- * Base Cost
736
- * Custom base cost (uses default if not provided)
737
- */
738
- base_cost?: number | null;
739
- };
740
761
  /**
741
762
  * CreditSummary
742
763
  * Credit balance summary.
@@ -925,6 +946,47 @@ export type CypherQueryRequest = {
925
946
  */
926
947
  timeout?: number | null;
927
948
  };
949
+ /**
950
+ * DataFrameCopyRequest
951
+ * Request model for DataFrame copy operations (future).
952
+ */
953
+ export type DataFrameCopyRequest = {
954
+ /**
955
+ * Table Name
956
+ * Target Kuzu table name
957
+ */
958
+ table_name: string;
959
+ /**
960
+ * Ignore Errors
961
+ * Skip duplicate/invalid rows (enables upsert-like behavior)
962
+ */
963
+ ignore_errors?: boolean;
964
+ /**
965
+ * Extended Timeout
966
+ * Use extended timeout for large datasets
967
+ */
968
+ extended_timeout?: boolean;
969
+ /**
970
+ * Validate Schema
971
+ * Validate source schema against target table
972
+ */
973
+ validate_schema?: boolean;
974
+ /**
975
+ * Source Type
976
+ * Source type identifier
977
+ */
978
+ source_type?: 'dataframe';
979
+ /**
980
+ * Data Reference
981
+ * Reference to uploaded DataFrame data
982
+ */
983
+ data_reference: string;
984
+ /**
985
+ * Format
986
+ * DataFrame format
987
+ */
988
+ format?: 'pandas' | 'polars' | 'arrow';
989
+ };
928
990
  /**
929
991
  * DatabaseHealthResponse
930
992
  * Response model for database health check.
@@ -1865,6 +1927,112 @@ export type RepositoryType = 'sec' | 'industry' | 'economic';
1865
1927
  * Response modes for execution.
1866
1928
  */
1867
1929
  export type ResponseMode = 'auto' | 'sync' | 'async' | 'stream';
1930
+ /**
1931
+ * S3CopyRequest
1932
+ * Request model for S3 copy operations.
1933
+ */
1934
+ export type S3CopyRequest = {
1935
+ /**
1936
+ * Table Name
1937
+ * Target Kuzu table name
1938
+ */
1939
+ table_name: string;
1940
+ /**
1941
+ * Ignore Errors
1942
+ * Skip duplicate/invalid rows (enables upsert-like behavior)
1943
+ */
1944
+ ignore_errors?: boolean;
1945
+ /**
1946
+ * Extended Timeout
1947
+ * Use extended timeout for large datasets
1948
+ */
1949
+ extended_timeout?: boolean;
1950
+ /**
1951
+ * Validate Schema
1952
+ * Validate source schema against target table
1953
+ */
1954
+ validate_schema?: boolean;
1955
+ /**
1956
+ * Source Type
1957
+ * Source type identifier
1958
+ */
1959
+ source_type?: 's3';
1960
+ /**
1961
+ * S3 Path
1962
+ * Full S3 path (s3://bucket/key or s3://bucket/prefix*.parquet)
1963
+ */
1964
+ s3_path: string;
1965
+ /**
1966
+ * S3 Access Key Id
1967
+ * AWS access key ID for S3 access
1968
+ */
1969
+ s3_access_key_id: string;
1970
+ /**
1971
+ * S3 Secret Access Key
1972
+ * AWS secret access key for S3 access
1973
+ */
1974
+ s3_secret_access_key: string;
1975
+ /**
1976
+ * S3 Session Token
1977
+ * AWS session token (for temporary credentials)
1978
+ */
1979
+ s3_session_token?: string | null;
1980
+ /**
1981
+ * S3 Region
1982
+ * S3 region
1983
+ */
1984
+ s3_region?: string | null;
1985
+ /**
1986
+ * S3 Endpoint
1987
+ * Custom S3 endpoint (for S3-compatible storage)
1988
+ */
1989
+ s3_endpoint?: string | null;
1990
+ /**
1991
+ * S3 Url Style
1992
+ * S3 URL style (vhost or path)
1993
+ */
1994
+ s3_url_style?: ('vhost' | 'path') | null;
1995
+ /**
1996
+ * File Format
1997
+ * File format of the S3 data
1998
+ */
1999
+ file_format?: 'parquet' | 'csv' | 'json' | 'delta' | 'iceberg';
2000
+ /**
2001
+ * Csv Delimiter
2002
+ * CSV delimiter
2003
+ */
2004
+ csv_delimiter?: string | null;
2005
+ /**
2006
+ * Csv Header
2007
+ * CSV has header row
2008
+ */
2009
+ csv_header?: boolean | null;
2010
+ /**
2011
+ * Csv Quote
2012
+ * CSV quote character
2013
+ */
2014
+ csv_quote?: string | null;
2015
+ /**
2016
+ * Csv Escape
2017
+ * CSV escape character
2018
+ */
2019
+ csv_escape?: string | null;
2020
+ /**
2021
+ * Csv Skip
2022
+ * Number of rows to skip
2023
+ */
2024
+ csv_skip?: number | null;
2025
+ /**
2026
+ * Allow Moved Paths
2027
+ * Allow moved paths for Iceberg tables
2028
+ */
2029
+ allow_moved_paths?: boolean | null;
2030
+ /**
2031
+ * Max File Size Gb
2032
+ * Maximum total file size limit in GB
2033
+ */
2034
+ max_file_size_gb?: number | null;
2035
+ };
1868
2036
  /**
1869
2037
  * SECConnectionConfig
1870
2038
  * SEC-specific connection configuration.
@@ -2447,6 +2615,54 @@ export type TransactionSummaryResponse = {
2447
2615
  */
2448
2616
  last_transaction?: string | null;
2449
2617
  };
2618
+ /**
2619
+ * URLCopyRequest
2620
+ * Request model for URL copy operations (future).
2621
+ */
2622
+ export type UrlCopyRequest = {
2623
+ /**
2624
+ * Table Name
2625
+ * Target Kuzu table name
2626
+ */
2627
+ table_name: string;
2628
+ /**
2629
+ * Ignore Errors
2630
+ * Skip duplicate/invalid rows (enables upsert-like behavior)
2631
+ */
2632
+ ignore_errors?: boolean;
2633
+ /**
2634
+ * Extended Timeout
2635
+ * Use extended timeout for large datasets
2636
+ */
2637
+ extended_timeout?: boolean;
2638
+ /**
2639
+ * Validate Schema
2640
+ * Validate source schema against target table
2641
+ */
2642
+ validate_schema?: boolean;
2643
+ /**
2644
+ * Source Type
2645
+ * Source type identifier
2646
+ */
2647
+ source_type?: 'url';
2648
+ /**
2649
+ * Url
2650
+ * HTTP(S) URL to the data file
2651
+ */
2652
+ url: string;
2653
+ /**
2654
+ * File Format
2655
+ * File format of the URL data
2656
+ */
2657
+ file_format: 'parquet' | 'csv' | 'json';
2658
+ /**
2659
+ * Headers
2660
+ * Optional HTTP headers for authentication
2661
+ */
2662
+ headers?: {
2663
+ [key: string]: string;
2664
+ } | null;
2665
+ };
2450
2666
  /**
2451
2667
  * UpdateAPIKeyRequest
2452
2668
  * Request model for updating an API key.
@@ -2500,20 +2716,6 @@ export type UpdateUserRequest = {
2500
2716
  */
2501
2717
  email?: string | null;
2502
2718
  };
2503
- /**
2504
- * UpgradeSubscriptionRequest
2505
- * Request to upgrade a graph database subscription.
2506
- */
2507
- export type UpgradeSubscriptionRequest = {
2508
- /**
2509
- * Plan Name
2510
- */
2511
- plan_name: string;
2512
- /**
2513
- * Payment Method Id
2514
- */
2515
- payment_method_id?: string | null;
2516
- };
2517
2719
  /**
2518
2720
  * UserAnalyticsResponse
2519
2721
  * Response model for comprehensive user analytics.
@@ -3023,18 +3225,6 @@ export type CompleteSsoAuthResponses = {
3023
3225
  200: AuthResponse;
3024
3226
  };
3025
3227
  export type CompleteSsoAuthResponse = CompleteSsoAuthResponses[keyof CompleteSsoAuthResponses];
3026
- export type GetCaptchaConfigData = {
3027
- body?: never;
3028
- path?: never;
3029
- query?: never;
3030
- url: '/v1/auth/captcha/config';
3031
- };
3032
- export type GetCaptchaConfigResponses = {
3033
- /**
3034
- * CAPTCHA configuration
3035
- */
3036
- 200: unknown;
3037
- };
3038
3228
  export type GetPasswordPolicyData = {
3039
3229
  body?: never;
3040
3230
  path?: never;
@@ -3068,6 +3258,18 @@ export type CheckPasswordStrengthResponses = {
3068
3258
  200: PasswordCheckResponse;
3069
3259
  };
3070
3260
  export type CheckPasswordStrengthResponse = CheckPasswordStrengthResponses[keyof CheckPasswordStrengthResponses];
3261
+ export type GetCaptchaConfigData = {
3262
+ body?: never;
3263
+ path?: never;
3264
+ query?: never;
3265
+ url: '/v1/auth/captcha/config';
3266
+ };
3267
+ export type GetCaptchaConfigResponses = {
3268
+ /**
3269
+ * CAPTCHA configuration
3270
+ */
3271
+ 200: unknown;
3272
+ };
3071
3273
  export type GetServiceStatusData = {
3072
3274
  body?: never;
3073
3275
  path?: never;
@@ -3212,7 +3414,7 @@ export type GetAllCreditSummariesData = {
3212
3414
  };
3213
3415
  path?: never;
3214
3416
  query?: never;
3215
- url: '/v1/user/credits/summary';
3417
+ url: '/v1/user/credits';
3216
3418
  };
3217
3419
  export type GetAllCreditSummariesErrors = {
3218
3420
  /**
@@ -3451,7 +3653,7 @@ export type GetUserUsageResponses = {
3451
3653
  200: UserUsageResponse;
3452
3654
  };
3453
3655
  export type GetUserUsageResponse = GetUserUsageResponses[keyof GetUserUsageResponses];
3454
- export type GetSharedRepositoryLimitsData = {
3656
+ export type GetAllSharedRepositoryLimitsData = {
3455
3657
  body?: never;
3456
3658
  headers?: {
3457
3659
  /**
@@ -3459,34 +3661,28 @@ export type GetSharedRepositoryLimitsData = {
3459
3661
  */
3460
3662
  authorization?: string | null;
3461
3663
  };
3462
- path: {
3463
- /**
3464
- * Repository
3465
- * Repository name (e.g., 'sec')
3466
- */
3467
- repository: string;
3468
- };
3664
+ path?: never;
3469
3665
  query?: never;
3470
- url: '/v1/user/limits/shared-repositories/{repository}';
3666
+ url: '/v1/user/limits/shared-repositories/summary';
3471
3667
  };
3472
- export type GetSharedRepositoryLimitsErrors = {
3668
+ export type GetAllSharedRepositoryLimitsErrors = {
3473
3669
  /**
3474
3670
  * Validation Error
3475
3671
  */
3476
3672
  422: HttpValidationError;
3477
3673
  };
3478
- export type GetSharedRepositoryLimitsError = GetSharedRepositoryLimitsErrors[keyof GetSharedRepositoryLimitsErrors];
3479
- export type GetSharedRepositoryLimitsResponses = {
3674
+ export type GetAllSharedRepositoryLimitsError = GetAllSharedRepositoryLimitsErrors[keyof GetAllSharedRepositoryLimitsErrors];
3675
+ export type GetAllSharedRepositoryLimitsResponses = {
3480
3676
  /**
3481
- * Response Getsharedrepositorylimits
3677
+ * Response Getallsharedrepositorylimits
3482
3678
  * Successful Response
3483
3679
  */
3484
3680
  200: {
3485
3681
  [key: string]: unknown;
3486
3682
  };
3487
3683
  };
3488
- export type GetSharedRepositoryLimitsResponse = GetSharedRepositoryLimitsResponses[keyof GetSharedRepositoryLimitsResponses];
3489
- export type GetAllSharedRepositoryLimitsData = {
3684
+ export type GetAllSharedRepositoryLimitsResponse = GetAllSharedRepositoryLimitsResponses[keyof GetAllSharedRepositoryLimitsResponses];
3685
+ export type GetSharedRepositoryLimitsData = {
3490
3686
  body?: never;
3491
3687
  headers?: {
3492
3688
  /**
@@ -3494,27 +3690,33 @@ export type GetAllSharedRepositoryLimitsData = {
3494
3690
  */
3495
3691
  authorization?: string | null;
3496
3692
  };
3497
- path?: never;
3693
+ path: {
3694
+ /**
3695
+ * Repository
3696
+ * Repository name (e.g., 'sec')
3697
+ */
3698
+ repository: string;
3699
+ };
3498
3700
  query?: never;
3499
- url: '/v1/user/limits/shared-repositories/summary';
3701
+ url: '/v1/user/limits/shared-repositories/{repository}';
3500
3702
  };
3501
- export type GetAllSharedRepositoryLimitsErrors = {
3703
+ export type GetSharedRepositoryLimitsErrors = {
3502
3704
  /**
3503
3705
  * Validation Error
3504
3706
  */
3505
3707
  422: HttpValidationError;
3506
3708
  };
3507
- export type GetAllSharedRepositoryLimitsError = GetAllSharedRepositoryLimitsErrors[keyof GetAllSharedRepositoryLimitsErrors];
3508
- export type GetAllSharedRepositoryLimitsResponses = {
3709
+ export type GetSharedRepositoryLimitsError = GetSharedRepositoryLimitsErrors[keyof GetSharedRepositoryLimitsErrors];
3710
+ export type GetSharedRepositoryLimitsResponses = {
3509
3711
  /**
3510
- * Response Getallsharedrepositorylimits
3712
+ * Response Getsharedrepositorylimits
3511
3713
  * Successful Response
3512
3714
  */
3513
3715
  200: {
3514
3716
  [key: string]: unknown;
3515
3717
  };
3516
3718
  };
3517
- export type GetAllSharedRepositoryLimitsResponse = GetAllSharedRepositoryLimitsResponses[keyof GetAllSharedRepositoryLimitsResponses];
3719
+ export type GetSharedRepositoryLimitsResponse = GetSharedRepositoryLimitsResponses[keyof GetSharedRepositoryLimitsResponses];
3518
3720
  export type GetUserUsageOverviewData = {
3519
3721
  body?: never;
3520
3722
  headers?: {
@@ -3818,46 +4020,6 @@ export type GetRepositoryCreditsResponses = {
3818
4020
  200: RepositoryCreditsResponse;
3819
4021
  };
3820
4022
  export type GetRepositoryCreditsResponse = GetRepositoryCreditsResponses[keyof GetRepositoryCreditsResponses];
3821
- export type GetConnectionOptionsData = {
3822
- body?: never;
3823
- headers?: {
3824
- /**
3825
- * Authorization
3826
- */
3827
- authorization?: string | null;
3828
- };
3829
- path: {
3830
- /**
3831
- * Graph Id
3832
- * Graph database identifier
3833
- */
3834
- graph_id: string;
3835
- };
3836
- query?: never;
3837
- url: '/v1/{graph_id}/connections/options';
3838
- };
3839
- export type GetConnectionOptionsErrors = {
3840
- /**
3841
- * Access denied to graph
3842
- */
3843
- 403: ErrorResponse;
3844
- /**
3845
- * Validation Error
3846
- */
3847
- 422: HttpValidationError;
3848
- /**
3849
- * Failed to retrieve options
3850
- */
3851
- 500: ErrorResponse;
3852
- };
3853
- export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
3854
- export type GetConnectionOptionsResponses = {
3855
- /**
3856
- * Connection options retrieved successfully
3857
- */
3858
- 200: ConnectionOptionsResponse;
3859
- };
3860
- export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
3861
4023
  export type ListConnectionsData = {
3862
4024
  body?: never;
3863
4025
  headers?: {
@@ -4056,8 +4218,8 @@ export type GetConnectionResponses = {
4056
4218
  200: ConnectionResponse;
4057
4219
  };
4058
4220
  export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
4059
- export type SyncConnectionData = {
4060
- body?: SyncConnectionRequest;
4221
+ export type GetConnectionOptionsData = {
4222
+ body?: never;
4061
4223
  headers?: {
4062
4224
  /**
4063
4225
  * Authorization
@@ -4070,16 +4232,56 @@ export type SyncConnectionData = {
4070
4232
  * Graph database identifier
4071
4233
  */
4072
4234
  graph_id: string;
4073
- /**
4074
- * Connection Id
4075
- * Connection identifier
4076
- */
4077
- connection_id: string;
4078
4235
  };
4079
4236
  query?: never;
4080
- url: '/v1/{graph_id}/connections/{connection_id}/sync';
4237
+ url: '/v1/{graph_id}/connections/options';
4081
4238
  };
4082
- export type SyncConnectionErrors = {
4239
+ export type GetConnectionOptionsErrors = {
4240
+ /**
4241
+ * Access denied to graph
4242
+ */
4243
+ 403: ErrorResponse;
4244
+ /**
4245
+ * Validation Error
4246
+ */
4247
+ 422: HttpValidationError;
4248
+ /**
4249
+ * Failed to retrieve options
4250
+ */
4251
+ 500: ErrorResponse;
4252
+ };
4253
+ export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
4254
+ export type GetConnectionOptionsResponses = {
4255
+ /**
4256
+ * Connection options retrieved successfully
4257
+ */
4258
+ 200: ConnectionOptionsResponse;
4259
+ };
4260
+ export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
4261
+ export type SyncConnectionData = {
4262
+ body?: SyncConnectionRequest;
4263
+ headers?: {
4264
+ /**
4265
+ * Authorization
4266
+ */
4267
+ authorization?: string | null;
4268
+ };
4269
+ path: {
4270
+ /**
4271
+ * Graph Id
4272
+ * Graph database identifier
4273
+ */
4274
+ graph_id: string;
4275
+ /**
4276
+ * Connection Id
4277
+ * Connection identifier
4278
+ */
4279
+ connection_id: string;
4280
+ };
4281
+ query?: never;
4282
+ url: '/v1/{graph_id}/connections/{connection_id}/sync';
4283
+ };
4284
+ export type SyncConnectionErrors = {
4083
4285
  /**
4084
4286
  * Access denied - admin role required
4085
4287
  */
@@ -4439,6 +4641,49 @@ export type CallMcpToolResponses = {
4439
4641
  */
4440
4642
  202: unknown;
4441
4643
  };
4644
+ export type ListBackupsData = {
4645
+ body?: never;
4646
+ headers?: {
4647
+ /**
4648
+ * Authorization
4649
+ */
4650
+ authorization?: string | null;
4651
+ };
4652
+ path: {
4653
+ /**
4654
+ * Graph Id
4655
+ * Graph database identifier
4656
+ */
4657
+ graph_id: string;
4658
+ };
4659
+ query?: {
4660
+ /**
4661
+ * Limit
4662
+ * Maximum number of backups to return
4663
+ */
4664
+ limit?: number;
4665
+ /**
4666
+ * Offset
4667
+ * Number of backups to skip
4668
+ */
4669
+ offset?: number;
4670
+ };
4671
+ url: '/v1/{graph_id}/backups';
4672
+ };
4673
+ export type ListBackupsErrors = {
4674
+ /**
4675
+ * Validation Error
4676
+ */
4677
+ 422: HttpValidationError;
4678
+ };
4679
+ export type ListBackupsError = ListBackupsErrors[keyof ListBackupsErrors];
4680
+ export type ListBackupsResponses = {
4681
+ /**
4682
+ * Successful Response
4683
+ */
4684
+ 200: BackupListResponse;
4685
+ };
4686
+ export type ListBackupsResponse = ListBackupsResponses[keyof ListBackupsResponses];
4442
4687
  export type CreateBackupData = {
4443
4688
  body: BackupCreateRequest;
4444
4689
  headers?: {
@@ -4455,7 +4700,7 @@ export type CreateBackupData = {
4455
4700
  graph_id: string;
4456
4701
  };
4457
4702
  query?: never;
4458
- url: '/v1/{graph_id}/backup/create';
4703
+ url: '/v1/{graph_id}/backups';
4459
4704
  };
4460
4705
  export type CreateBackupErrors = {
4461
4706
  /**
@@ -4486,45 +4731,52 @@ export type CreateBackupResponses = {
4486
4731
  */
4487
4732
  202: unknown;
4488
4733
  };
4489
- export type ListBackupsData = {
4734
+ export type ExportBackupData = {
4490
4735
  body?: never;
4491
- path: {
4736
+ headers?: {
4492
4737
  /**
4493
- * Graph Id
4494
- * Graph database identifier
4738
+ * Authorization
4495
4739
  */
4496
- graph_id: string;
4740
+ authorization?: string | null;
4497
4741
  };
4498
- query?: {
4742
+ path: {
4499
4743
  /**
4500
- * Limit
4501
- * Maximum number of backups to return
4744
+ * Backup Id
4745
+ * Backup identifier
4502
4746
  */
4503
- limit?: number;
4747
+ backup_id: string;
4504
4748
  /**
4505
- * Offset
4506
- * Number of backups to skip
4749
+ * Graph Id
4750
+ * Graph database identifier
4507
4751
  */
4508
- offset?: number;
4752
+ graph_id: string;
4509
4753
  };
4510
- url: '/v1/{graph_id}/backup/list';
4754
+ query?: never;
4755
+ url: '/v1/{graph_id}/backups/{backup_id}/export';
4511
4756
  };
4512
- export type ListBackupsErrors = {
4757
+ export type ExportBackupErrors = {
4758
+ /**
4759
+ * Access denied or backup is encrypted
4760
+ */
4761
+ 403: unknown;
4762
+ /**
4763
+ * Backup not found
4764
+ */
4765
+ 404: unknown;
4513
4766
  /**
4514
4767
  * Validation Error
4515
4768
  */
4516
4769
  422: HttpValidationError;
4517
4770
  };
4518
- export type ListBackupsError = ListBackupsErrors[keyof ListBackupsErrors];
4519
- export type ListBackupsResponses = {
4771
+ export type ExportBackupError = ExportBackupErrors[keyof ExportBackupErrors];
4772
+ export type ExportBackupResponses = {
4520
4773
  /**
4521
- * Successful Response
4774
+ * Backup exported successfully
4522
4775
  */
4523
- 200: BackupListResponse;
4776
+ 200: unknown;
4524
4777
  };
4525
- export type ListBackupsResponse = ListBackupsResponses[keyof ListBackupsResponses];
4526
- export type ExportBackupData = {
4527
- body: BackupExportRequest;
4778
+ export type GetBackupDownloadUrlData = {
4779
+ body?: never;
4528
4780
  headers?: {
4529
4781
  /**
4530
4782
  * Authorization
@@ -4532,16 +4784,27 @@ export type ExportBackupData = {
4532
4784
  authorization?: string | null;
4533
4785
  };
4534
4786
  path: {
4787
+ /**
4788
+ * Backup Id
4789
+ * Backup identifier
4790
+ */
4791
+ backup_id: string;
4535
4792
  /**
4536
4793
  * Graph Id
4537
4794
  * Graph database identifier
4538
4795
  */
4539
4796
  graph_id: string;
4540
4797
  };
4541
- query?: never;
4542
- url: '/v1/{graph_id}/backup/export';
4798
+ query?: {
4799
+ /**
4800
+ * Expires In
4801
+ * URL expiration time in seconds
4802
+ */
4803
+ expires_in?: number;
4804
+ };
4805
+ url: '/v1/{graph_id}/backups/{backup_id}/download';
4543
4806
  };
4544
- export type ExportBackupErrors = {
4807
+ export type GetBackupDownloadUrlErrors = {
4545
4808
  /**
4546
4809
  * Access denied or backup is encrypted
4547
4810
  */
@@ -4554,14 +4817,22 @@ export type ExportBackupErrors = {
4554
4817
  * Validation Error
4555
4818
  */
4556
4819
  422: HttpValidationError;
4820
+ /**
4821
+ * Failed to generate download URL
4822
+ */
4823
+ 500: unknown;
4557
4824
  };
4558
- export type ExportBackupError = ExportBackupErrors[keyof ExportBackupErrors];
4559
- export type ExportBackupResponses = {
4825
+ export type GetBackupDownloadUrlError = GetBackupDownloadUrlErrors[keyof GetBackupDownloadUrlErrors];
4826
+ export type GetBackupDownloadUrlResponses = {
4560
4827
  /**
4561
- * Backup exported successfully
4828
+ * Response Getbackupdownloadurl
4829
+ * Download URL generated successfully
4562
4830
  */
4563
- 200: unknown;
4831
+ 200: {
4832
+ [key: string]: unknown;
4833
+ };
4564
4834
  };
4835
+ export type GetBackupDownloadUrlResponse = GetBackupDownloadUrlResponses[keyof GetBackupDownloadUrlResponses];
4565
4836
  export type RestoreBackupData = {
4566
4837
  body: BackupRestoreRequest;
4567
4838
  headers?: {
@@ -4578,7 +4849,7 @@ export type RestoreBackupData = {
4578
4849
  graph_id: string;
4579
4850
  };
4580
4851
  query?: never;
4581
- url: '/v1/{graph_id}/backup/restore';
4852
+ url: '/v1/{graph_id}/backups/restore';
4582
4853
  };
4583
4854
  export type RestoreBackupErrors = {
4584
4855
  /**
@@ -4610,32 +4881,6 @@ export type RestoreBackupResponses = {
4610
4881
  202: unknown;
4611
4882
  };
4612
4883
  export type GetBackupStatsData = {
4613
- body?: never;
4614
- path: {
4615
- /**
4616
- * Graph Id
4617
- * Graph database identifier
4618
- */
4619
- graph_id: string;
4620
- };
4621
- query?: never;
4622
- url: '/v1/{graph_id}/backup/stats';
4623
- };
4624
- export type GetBackupStatsErrors = {
4625
- /**
4626
- * Validation Error
4627
- */
4628
- 422: HttpValidationError;
4629
- };
4630
- export type GetBackupStatsError = GetBackupStatsErrors[keyof GetBackupStatsErrors];
4631
- export type GetBackupStatsResponses = {
4632
- /**
4633
- * Successful Response
4634
- */
4635
- 200: BackupStatsResponse;
4636
- };
4637
- export type GetBackupStatsResponse = GetBackupStatsResponses[keyof GetBackupStatsResponses];
4638
- export type KuzuBackupHealthData = {
4639
4884
  body?: never;
4640
4885
  headers?: {
4641
4886
  /**
@@ -4651,83 +4896,22 @@ export type KuzuBackupHealthData = {
4651
4896
  graph_id: string;
4652
4897
  };
4653
4898
  query?: never;
4654
- url: '/v1/{graph_id}/backup/health';
4899
+ url: '/v1/{graph_id}/backups/stats';
4655
4900
  };
4656
- export type KuzuBackupHealthErrors = {
4901
+ export type GetBackupStatsErrors = {
4657
4902
  /**
4658
4903
  * Validation Error
4659
4904
  */
4660
4905
  422: HttpValidationError;
4661
4906
  };
4662
- export type KuzuBackupHealthError = KuzuBackupHealthErrors[keyof KuzuBackupHealthErrors];
4663
- export type KuzuBackupHealthResponses = {
4907
+ export type GetBackupStatsError = GetBackupStatsErrors[keyof GetBackupStatsErrors];
4908
+ export type GetBackupStatsResponses = {
4664
4909
  /**
4665
- * Response Kuzubackuphealth
4666
4910
  * Successful Response
4667
4911
  */
4668
- 200: {
4669
- [key: string]: unknown;
4670
- };
4671
- };
4672
- export type KuzuBackupHealthResponse = KuzuBackupHealthResponses[keyof KuzuBackupHealthResponses];
4673
- export type GetBackupDownloadUrlData = {
4674
- body?: never;
4675
- headers?: {
4676
- /**
4677
- * Authorization
4678
- */
4679
- authorization?: string | null;
4680
- };
4681
- path: {
4682
- /**
4683
- * Backup Id
4684
- * Backup identifier
4685
- */
4686
- backup_id: string;
4687
- /**
4688
- * Graph Id
4689
- * Graph database identifier
4690
- */
4691
- graph_id: string;
4692
- };
4693
- query?: {
4694
- /**
4695
- * Expires In
4696
- * URL expiration time in seconds
4697
- */
4698
- expires_in?: number;
4699
- };
4700
- url: '/v1/{graph_id}/backup/{backup_id}/download';
4701
- };
4702
- export type GetBackupDownloadUrlErrors = {
4703
- /**
4704
- * Access denied or backup is encrypted
4705
- */
4706
- 403: unknown;
4707
- /**
4708
- * Backup not found
4709
- */
4710
- 404: unknown;
4711
- /**
4712
- * Validation Error
4713
- */
4714
- 422: HttpValidationError;
4715
- /**
4716
- * Failed to generate download URL
4717
- */
4718
- 500: unknown;
4719
- };
4720
- export type GetBackupDownloadUrlError = GetBackupDownloadUrlErrors[keyof GetBackupDownloadUrlErrors];
4721
- export type GetBackupDownloadUrlResponses = {
4722
- /**
4723
- * Response Getbackupdownloadurl
4724
- * Download URL generated successfully
4725
- */
4726
- 200: {
4727
- [key: string]: unknown;
4728
- };
4912
+ 200: BackupStatsResponse;
4729
4913
  };
4730
- export type GetBackupDownloadUrlResponse = GetBackupDownloadUrlResponses[keyof GetBackupDownloadUrlResponses];
4914
+ export type GetBackupStatsResponse = GetBackupStatsResponses[keyof GetBackupStatsResponses];
4731
4915
  export type GetGraphMetricsData = {
4732
4916
  body?: never;
4733
4917
  headers?: {
@@ -5108,7 +5292,7 @@ export type GetCurrentGraphBillResponses = {
5108
5292
  };
5109
5293
  };
5110
5294
  export type GetCurrentGraphBillResponse = GetCurrentGraphBillResponses[keyof GetCurrentGraphBillResponses];
5111
- export type GetGraphMonthlyBillData = {
5295
+ export type GetGraphUsageDetailsData = {
5112
5296
  body?: never;
5113
5297
  headers?: {
5114
5298
  /**
@@ -5118,25 +5302,26 @@ export type GetGraphMonthlyBillData = {
5118
5302
  };
5119
5303
  path: {
5120
5304
  /**
5121
- * Year
5122
- * Year (2024-2030)
5305
+ * Graph Id
5306
+ * Graph database identifier
5123
5307
  */
5124
- year: number;
5308
+ graph_id: string;
5309
+ };
5310
+ query?: {
5125
5311
  /**
5126
- * Month
5127
- * Month (1-12)
5312
+ * Year
5313
+ * Year (defaults to current)
5128
5314
  */
5129
- month: number;
5315
+ year?: number | null;
5130
5316
  /**
5131
- * Graph Id
5132
- * Graph database identifier
5317
+ * Month
5318
+ * Month (defaults to current)
5133
5319
  */
5134
- graph_id: string;
5320
+ month?: number | null;
5135
5321
  };
5136
- query?: never;
5137
- url: '/v1/{graph_id}/billing/history/{year}/{month}';
5322
+ url: '/v1/{graph_id}/billing/usage';
5138
5323
  };
5139
- export type GetGraphMonthlyBillErrors = {
5324
+ export type GetGraphUsageDetailsErrors = {
5140
5325
  /**
5141
5326
  * Invalid year or month
5142
5327
  */
@@ -5146,7 +5331,7 @@ export type GetGraphMonthlyBillErrors = {
5146
5331
  */
5147
5332
  403: ErrorResponse;
5148
5333
  /**
5149
- * Graph not found or no data for period
5334
+ * Graph not found
5150
5335
  */
5151
5336
  404: ErrorResponse;
5152
5337
  /**
@@ -5154,21 +5339,21 @@ export type GetGraphMonthlyBillErrors = {
5154
5339
  */
5155
5340
  422: HttpValidationError;
5156
5341
  /**
5157
- * Failed to calculate bill
5342
+ * Failed to retrieve usage
5158
5343
  */
5159
5344
  500: ErrorResponse;
5160
5345
  };
5161
- export type GetGraphMonthlyBillError = GetGraphMonthlyBillErrors[keyof GetGraphMonthlyBillErrors];
5162
- export type GetGraphMonthlyBillResponses = {
5346
+ export type GetGraphUsageDetailsError = GetGraphUsageDetailsErrors[keyof GetGraphUsageDetailsErrors];
5347
+ export type GetGraphUsageDetailsResponses = {
5163
5348
  /**
5164
- * Response Getgraphmonthlybill
5165
- * Monthly bill retrieved successfully
5349
+ * Response Getgraphusagedetails
5350
+ * Usage details retrieved successfully
5166
5351
  */
5167
5352
  200: {
5168
5353
  [key: string]: unknown;
5169
5354
  };
5170
5355
  };
5171
- export type GetGraphMonthlyBillResponse = GetGraphMonthlyBillResponses[keyof GetGraphMonthlyBillResponses];
5356
+ export type GetGraphUsageDetailsResponse = GetGraphUsageDetailsResponses[keyof GetGraphUsageDetailsResponses];
5172
5357
  export type GetGraphBillingHistoryData = {
5173
5358
  body?: never;
5174
5359
  headers?: {
@@ -5222,7 +5407,7 @@ export type GetGraphBillingHistoryResponses = {
5222
5407
  };
5223
5408
  };
5224
5409
  export type GetGraphBillingHistoryResponse = GetGraphBillingHistoryResponses[keyof GetGraphBillingHistoryResponses];
5225
- export type GetGraphUsageDetailsData = {
5410
+ export type GetGraphMonthlyBillData = {
5226
5411
  body?: never;
5227
5412
  headers?: {
5228
5413
  /**
@@ -5231,27 +5416,26 @@ export type GetGraphUsageDetailsData = {
5231
5416
  authorization?: string | null;
5232
5417
  };
5233
5418
  path: {
5234
- /**
5235
- * Graph Id
5236
- * Graph database identifier
5237
- */
5238
- graph_id: string;
5239
- };
5240
- query?: {
5241
5419
  /**
5242
5420
  * Year
5243
- * Year (defaults to current)
5421
+ * Year (2024-2030)
5244
5422
  */
5245
- year?: number | null;
5423
+ year: number;
5246
5424
  /**
5247
5425
  * Month
5248
- * Month (defaults to current)
5426
+ * Month (1-12)
5249
5427
  */
5250
- month?: number | null;
5428
+ month: number;
5429
+ /**
5430
+ * Graph Id
5431
+ * Graph database identifier
5432
+ */
5433
+ graph_id: string;
5251
5434
  };
5252
- url: '/v1/{graph_id}/billing/usage';
5435
+ query?: never;
5436
+ url: '/v1/{graph_id}/billing/history/{year}/{month}';
5253
5437
  };
5254
- export type GetGraphUsageDetailsErrors = {
5438
+ export type GetGraphMonthlyBillErrors = {
5255
5439
  /**
5256
5440
  * Invalid year or month
5257
5441
  */
@@ -5261,7 +5445,7 @@ export type GetGraphUsageDetailsErrors = {
5261
5445
  */
5262
5446
  403: ErrorResponse;
5263
5447
  /**
5264
- * Graph not found
5448
+ * Graph not found or no data for period
5265
5449
  */
5266
5450
  404: ErrorResponse;
5267
5451
  /**
@@ -5269,176 +5453,21 @@ export type GetGraphUsageDetailsErrors = {
5269
5453
  */
5270
5454
  422: HttpValidationError;
5271
5455
  /**
5272
- * Failed to retrieve usage
5456
+ * Failed to calculate bill
5273
5457
  */
5274
5458
  500: ErrorResponse;
5275
5459
  };
5276
- export type GetGraphUsageDetailsError = GetGraphUsageDetailsErrors[keyof GetGraphUsageDetailsErrors];
5277
- export type GetGraphUsageDetailsResponses = {
5460
+ export type GetGraphMonthlyBillError = GetGraphMonthlyBillErrors[keyof GetGraphMonthlyBillErrors];
5461
+ export type GetGraphMonthlyBillResponses = {
5278
5462
  /**
5279
- * Response Getgraphusagedetails
5280
- * Usage details retrieved successfully
5463
+ * Response Getgraphmonthlybill
5464
+ * Monthly bill retrieved successfully
5281
5465
  */
5282
5466
  200: {
5283
5467
  [key: string]: unknown;
5284
5468
  };
5285
5469
  };
5286
- export type GetGraphUsageDetailsResponse = GetGraphUsageDetailsResponses[keyof GetGraphUsageDetailsResponses];
5287
- export type GetGraphPricingInfoV1GraphIdBillingPricingGetData = {
5288
- body?: never;
5289
- headers?: {
5290
- /**
5291
- * Authorization
5292
- */
5293
- authorization?: string | null;
5294
- };
5295
- path: {
5296
- /**
5297
- * Graph Id
5298
- * Graph database ID
5299
- */
5300
- graph_id: string;
5301
- };
5302
- query?: never;
5303
- url: '/v1/{graph_id}/billing/pricing';
5304
- };
5305
- export type GetGraphPricingInfoV1GraphIdBillingPricingGetErrors = {
5306
- /**
5307
- * Validation Error
5308
- */
5309
- 422: HttpValidationError;
5310
- };
5311
- export type GetGraphPricingInfoV1GraphIdBillingPricingGetError = GetGraphPricingInfoV1GraphIdBillingPricingGetErrors[keyof GetGraphPricingInfoV1GraphIdBillingPricingGetErrors];
5312
- export type GetGraphPricingInfoV1GraphIdBillingPricingGetResponses = {
5313
- /**
5314
- * Successful Response
5315
- */
5316
- 200: unknown;
5317
- };
5318
- export type UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostData = {
5319
- body: UpgradeSubscriptionRequest;
5320
- headers?: {
5321
- /**
5322
- * Authorization
5323
- */
5324
- authorization?: string | null;
5325
- };
5326
- path: {
5327
- /**
5328
- * Graph Id
5329
- * Graph database ID
5330
- */
5331
- graph_id: string;
5332
- };
5333
- query?: never;
5334
- url: '/v1/{graph_id}/billing/subscription/upgrade';
5335
- };
5336
- export type UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostErrors = {
5337
- /**
5338
- * Validation Error
5339
- */
5340
- 422: HttpValidationError;
5341
- };
5342
- export type UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostError = UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostErrors[keyof UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostErrors];
5343
- export type UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostResponses = {
5344
- /**
5345
- * Successful Response
5346
- */
5347
- 200: unknown;
5348
- };
5349
- export type GetGraphSubscriptionV1GraphIdBillingSubscriptionGetData = {
5350
- body?: never;
5351
- headers?: {
5352
- /**
5353
- * Authorization
5354
- */
5355
- authorization?: string | null;
5356
- };
5357
- path: {
5358
- /**
5359
- * Graph Id
5360
- * Graph database ID
5361
- */
5362
- graph_id: string;
5363
- };
5364
- query?: never;
5365
- url: '/v1/{graph_id}/billing/subscription';
5366
- };
5367
- export type GetGraphSubscriptionV1GraphIdBillingSubscriptionGetErrors = {
5368
- /**
5369
- * Validation Error
5370
- */
5371
- 422: HttpValidationError;
5372
- };
5373
- export type GetGraphSubscriptionV1GraphIdBillingSubscriptionGetError = GetGraphSubscriptionV1GraphIdBillingSubscriptionGetErrors[keyof GetGraphSubscriptionV1GraphIdBillingSubscriptionGetErrors];
5374
- export type GetGraphSubscriptionV1GraphIdBillingSubscriptionGetResponses = {
5375
- /**
5376
- * Successful Response
5377
- */
5378
- 200: unknown;
5379
- };
5380
- export type GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetData = {
5381
- body?: never;
5382
- headers?: {
5383
- /**
5384
- * Authorization
5385
- */
5386
- authorization?: string | null;
5387
- };
5388
- path: {
5389
- /**
5390
- * Graph Id
5391
- * Graph database ID
5392
- */
5393
- graph_id: string;
5394
- };
5395
- query?: never;
5396
- url: '/v1/{graph_id}/billing/available-plans';
5397
- };
5398
- export type GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetErrors = {
5399
- /**
5400
- * Validation Error
5401
- */
5402
- 422: HttpValidationError;
5403
- };
5404
- export type GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetError = GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetErrors[keyof GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetErrors];
5405
- export type GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetResponses = {
5406
- /**
5407
- * Successful Response
5408
- */
5409
- 200: unknown;
5410
- };
5411
- export type GetCreditBillingInfoV1GraphIdBillingCreditsGetData = {
5412
- body?: never;
5413
- headers?: {
5414
- /**
5415
- * Authorization
5416
- */
5417
- authorization?: string | null;
5418
- };
5419
- path: {
5420
- /**
5421
- * Graph Id
5422
- * Graph database ID
5423
- */
5424
- graph_id: string;
5425
- };
5426
- query?: never;
5427
- url: '/v1/{graph_id}/billing/credits';
5428
- };
5429
- export type GetCreditBillingInfoV1GraphIdBillingCreditsGetErrors = {
5430
- /**
5431
- * Validation Error
5432
- */
5433
- 422: HttpValidationError;
5434
- };
5435
- export type GetCreditBillingInfoV1GraphIdBillingCreditsGetError = GetCreditBillingInfoV1GraphIdBillingCreditsGetErrors[keyof GetCreditBillingInfoV1GraphIdBillingCreditsGetErrors];
5436
- export type GetCreditBillingInfoV1GraphIdBillingCreditsGetResponses = {
5437
- /**
5438
- * Successful Response
5439
- */
5440
- 200: unknown;
5441
- };
5470
+ export type GetGraphMonthlyBillResponse = GetGraphMonthlyBillResponses[keyof GetGraphMonthlyBillResponses];
5442
5471
  export type GetCreditSummaryData = {
5443
5472
  body?: never;
5444
5473
  headers?: {
@@ -5559,7 +5588,7 @@ export type ListCreditTransactionsResponses = {
5559
5588
  };
5560
5589
  export type ListCreditTransactionsResponse = ListCreditTransactionsResponses[keyof ListCreditTransactionsResponses];
5561
5590
  export type CheckCreditBalanceData = {
5562
- body: CreditCheckRequest;
5591
+ body?: never;
5563
5592
  headers?: {
5564
5593
  /**
5565
5594
  * Authorization
@@ -5573,8 +5602,19 @@ export type CheckCreditBalanceData = {
5573
5602
  */
5574
5603
  graph_id: string;
5575
5604
  };
5576
- query?: never;
5577
- url: '/v1/{graph_id}/credits/check';
5605
+ query: {
5606
+ /**
5607
+ * Operation Type
5608
+ * Type of operation to check
5609
+ */
5610
+ operation_type: string;
5611
+ /**
5612
+ * Base Cost
5613
+ * Custom base cost (uses default if not provided)
5614
+ */
5615
+ base_cost?: number | null;
5616
+ };
5617
+ url: '/v1/{graph_id}/credits/balance/check';
5578
5618
  };
5579
5619
  export type CheckCreditBalanceErrors = {
5580
5620
  /**
@@ -5714,7 +5754,7 @@ export type GetDatabaseHealthData = {
5714
5754
  graph_id: string;
5715
5755
  };
5716
5756
  query?: never;
5717
- url: '/v1/{graph_id}/status/health';
5757
+ url: '/v1/{graph_id}/health';
5718
5758
  };
5719
5759
  export type GetDatabaseHealthErrors = {
5720
5760
  /**
@@ -5758,7 +5798,7 @@ export type GetDatabaseInfoData = {
5758
5798
  graph_id: string;
5759
5799
  };
5760
5800
  query?: never;
5761
- url: '/v1/{graph_id}/status/info';
5801
+ url: '/v1/{graph_id}/info';
5762
5802
  };
5763
5803
  export type GetDatabaseInfoErrors = {
5764
5804
  /**
@@ -5786,7 +5826,7 @@ export type GetDatabaseInfoResponses = {
5786
5826
  200: DatabaseInfoResponse;
5787
5827
  };
5788
5828
  export type GetDatabaseInfoResponse = GetDatabaseInfoResponses[keyof GetDatabaseInfoResponses];
5789
- export type ListSubgraphsData = {
5829
+ export type GetGraphLimitsData = {
5790
5830
  body?: never;
5791
5831
  headers?: {
5792
5832
  /**
@@ -5797,24 +5837,20 @@ export type ListSubgraphsData = {
5797
5837
  path: {
5798
5838
  /**
5799
5839
  * Graph Id
5800
- * Parent graph identifier
5840
+ * Graph database identifier (user graph or shared repository)
5801
5841
  */
5802
5842
  graph_id: string;
5803
5843
  };
5804
5844
  query?: never;
5805
- url: '/v1/{graph_id}/subgraphs';
5845
+ url: '/v1/{graph_id}/limits';
5806
5846
  };
5807
- export type ListSubgraphsErrors = {
5847
+ export type GetGraphLimitsErrors = {
5808
5848
  /**
5809
- * Not authenticated
5810
- */
5811
- 401: unknown;
5812
- /**
5813
- * Access denied to parent graph
5849
+ * Access denied to graph
5814
5850
  */
5815
5851
  403: unknown;
5816
5852
  /**
5817
- * Parent graph not found
5853
+ * Graph not found
5818
5854
  */
5819
5855
  404: unknown;
5820
5856
  /**
@@ -5822,14 +5858,49 @@ export type ListSubgraphsErrors = {
5822
5858
  */
5823
5859
  422: HttpValidationError;
5824
5860
  /**
5825
- * Internal server error
5861
+ * Failed to retrieve limits
5826
5862
  */
5827
5863
  500: unknown;
5828
5864
  };
5865
+ export type GetGraphLimitsError = GetGraphLimitsErrors[keyof GetGraphLimitsErrors];
5866
+ export type GetGraphLimitsResponses = {
5867
+ /**
5868
+ * Response Getgraphlimits
5869
+ * Limits retrieved successfully
5870
+ */
5871
+ 200: {
5872
+ [key: string]: unknown;
5873
+ };
5874
+ };
5875
+ export type GetGraphLimitsResponse = GetGraphLimitsResponses[keyof GetGraphLimitsResponses];
5876
+ export type ListSubgraphsData = {
5877
+ body?: never;
5878
+ headers?: {
5879
+ /**
5880
+ * Authorization
5881
+ */
5882
+ authorization?: string | null;
5883
+ };
5884
+ path: {
5885
+ /**
5886
+ * Graph Id
5887
+ * Parent graph ID (e.g., 'kg1a2b3c4d5')
5888
+ */
5889
+ graph_id: string;
5890
+ };
5891
+ query?: never;
5892
+ url: '/v1/{graph_id}/subgraphs';
5893
+ };
5894
+ export type ListSubgraphsErrors = {
5895
+ /**
5896
+ * Validation Error
5897
+ */
5898
+ 422: HttpValidationError;
5899
+ };
5829
5900
  export type ListSubgraphsError = ListSubgraphsErrors[keyof ListSubgraphsErrors];
5830
5901
  export type ListSubgraphsResponses = {
5831
5902
  /**
5832
- * Subgraphs retrieved successfully
5903
+ * Successful Response
5833
5904
  */
5834
5905
  200: ListSubgraphsResponse;
5835
5906
  };
@@ -5845,7 +5916,7 @@ export type CreateSubgraphData = {
5845
5916
  path: {
5846
5917
  /**
5847
5918
  * Graph Id
5848
- * Parent graph identifier
5919
+ * Parent graph ID (e.g., 'kg1a2b3c4d5')
5849
5920
  */
5850
5921
  graph_id: string;
5851
5922
  };
@@ -5853,41 +5924,17 @@ export type CreateSubgraphData = {
5853
5924
  url: '/v1/{graph_id}/subgraphs';
5854
5925
  };
5855
5926
  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
5927
  /**
5877
5928
  * Validation Error
5878
5929
  */
5879
5930
  422: HttpValidationError;
5880
- /**
5881
- * Internal server error
5882
- */
5883
- 500: unknown;
5884
5931
  };
5885
5932
  export type CreateSubgraphError = CreateSubgraphErrors[keyof CreateSubgraphErrors];
5886
5933
  export type CreateSubgraphResponses = {
5887
5934
  /**
5888
- * Subgraph created successfully
5935
+ * Successful Response
5889
5936
  */
5890
- 200: SubgraphResponse;
5937
+ 201: SubgraphResponse;
5891
5938
  };
5892
5939
  export type CreateSubgraphResponse = CreateSubgraphResponses[keyof CreateSubgraphResponses];
5893
5940
  export type DeleteSubgraphData = {
@@ -5905,13 +5952,13 @@ export type DeleteSubgraphData = {
5905
5952
  */
5906
5953
  graph_id: string;
5907
5954
  /**
5908
- * Subgraph Name
5909
- * Subgraph name to delete
5955
+ * Subgraph Id
5956
+ * Subgraph identifier to delete
5910
5957
  */
5911
- subgraph_name: string;
5958
+ subgraph_id: string;
5912
5959
  };
5913
5960
  query?: never;
5914
- url: '/v1/{graph_id}/subgraphs/{subgraph_name}';
5961
+ url: '/v1/{graph_id}/subgraphs/{subgraph_id}';
5915
5962
  };
5916
5963
  export type DeleteSubgraphErrors = {
5917
5964
  /**
@@ -5951,7 +5998,7 @@ export type DeleteSubgraphResponses = {
5951
5998
  200: DeleteSubgraphResponse;
5952
5999
  };
5953
6000
  export type DeleteSubgraphResponse2 = DeleteSubgraphResponses[keyof DeleteSubgraphResponses];
5954
- export type GetSubgraphQuotaData = {
6001
+ export type GetSubgraphInfoData = {
5955
6002
  body?: never;
5956
6003
  headers?: {
5957
6004
  /**
@@ -5965,21 +6012,30 @@ export type GetSubgraphQuotaData = {
5965
6012
  * Parent graph identifier
5966
6013
  */
5967
6014
  graph_id: string;
6015
+ /**
6016
+ * Subgraph Id
6017
+ * Subgraph identifier
6018
+ */
6019
+ subgraph_id: string;
5968
6020
  };
5969
6021
  query?: never;
5970
- url: '/v1/{graph_id}/subgraphs/quota';
6022
+ url: '/v1/{graph_id}/subgraphs/{subgraph_id}/info';
5971
6023
  };
5972
- export type GetSubgraphQuotaErrors = {
6024
+ export type GetSubgraphInfoErrors = {
6025
+ /**
6026
+ * Not a valid subgraph
6027
+ */
6028
+ 400: unknown;
5973
6029
  /**
5974
6030
  * Not authenticated
5975
6031
  */
5976
6032
  401: unknown;
5977
6033
  /**
5978
- * Access denied to parent graph
6034
+ * Access denied
5979
6035
  */
5980
6036
  403: unknown;
5981
6037
  /**
5982
- * Parent graph not found
6038
+ * Subgraph not found
5983
6039
  */
5984
6040
  404: unknown;
5985
6041
  /**
@@ -5991,15 +6047,15 @@ export type GetSubgraphQuotaErrors = {
5991
6047
  */
5992
6048
  500: unknown;
5993
6049
  };
5994
- export type GetSubgraphQuotaError = GetSubgraphQuotaErrors[keyof GetSubgraphQuotaErrors];
5995
- export type GetSubgraphQuotaResponses = {
6050
+ export type GetSubgraphInfoError = GetSubgraphInfoErrors[keyof GetSubgraphInfoErrors];
6051
+ export type GetSubgraphInfoResponses = {
5996
6052
  /**
5997
- * Quota information retrieved
6053
+ * Subgraph information retrieved
5998
6054
  */
5999
- 200: SubgraphQuotaResponse;
6055
+ 200: SubgraphResponse;
6000
6056
  };
6001
- export type GetSubgraphQuotaResponse = GetSubgraphQuotaResponses[keyof GetSubgraphQuotaResponses];
6002
- export type GetSubgraphInfoData = {
6057
+ export type GetSubgraphInfoResponse = GetSubgraphInfoResponses[keyof GetSubgraphInfoResponses];
6058
+ export type GetSubgraphQuotaData = {
6003
6059
  body?: never;
6004
6060
  headers?: {
6005
6061
  /**
@@ -6013,30 +6069,21 @@ export type GetSubgraphInfoData = {
6013
6069
  * Parent graph identifier
6014
6070
  */
6015
6071
  graph_id: string;
6016
- /**
6017
- * Subgraph Name
6018
- * Subgraph name
6019
- */
6020
- subgraph_name: string;
6021
6072
  };
6022
6073
  query?: never;
6023
- url: '/v1/{graph_id}/subgraphs/{subgraph_name}/info';
6074
+ url: '/v1/{graph_id}/subgraphs/quota';
6024
6075
  };
6025
- export type GetSubgraphInfoErrors = {
6026
- /**
6027
- * Not a valid subgraph
6028
- */
6029
- 400: unknown;
6076
+ export type GetSubgraphQuotaErrors = {
6030
6077
  /**
6031
6078
  * Not authenticated
6032
6079
  */
6033
6080
  401: unknown;
6034
6081
  /**
6035
- * Access denied
6082
+ * Access denied to parent graph
6036
6083
  */
6037
6084
  403: unknown;
6038
6085
  /**
6039
- * Subgraph not found
6086
+ * Parent graph not found
6040
6087
  */
6041
6088
  404: unknown;
6042
6089
  /**
@@ -6048,14 +6095,49 @@ export type GetSubgraphInfoErrors = {
6048
6095
  */
6049
6096
  500: unknown;
6050
6097
  };
6051
- export type GetSubgraphInfoError = GetSubgraphInfoErrors[keyof GetSubgraphInfoErrors];
6052
- export type GetSubgraphInfoResponses = {
6098
+ export type GetSubgraphQuotaError = GetSubgraphQuotaErrors[keyof GetSubgraphQuotaErrors];
6099
+ export type GetSubgraphQuotaResponses = {
6053
6100
  /**
6054
- * Subgraph information retrieved
6101
+ * Quota information retrieved
6055
6102
  */
6056
- 200: SubgraphResponse;
6103
+ 200: SubgraphQuotaResponse;
6057
6104
  };
6058
- export type GetSubgraphInfoResponse = GetSubgraphInfoResponses[keyof GetSubgraphInfoResponses];
6105
+ export type GetSubgraphQuotaResponse = GetSubgraphQuotaResponses[keyof GetSubgraphQuotaResponses];
6106
+ export type CopyDataToGraphData = {
6107
+ /**
6108
+ * Request
6109
+ */
6110
+ body: S3CopyRequest | UrlCopyRequest | DataFrameCopyRequest;
6111
+ headers?: {
6112
+ /**
6113
+ * Authorization
6114
+ */
6115
+ authorization?: string | null;
6116
+ };
6117
+ path: {
6118
+ /**
6119
+ * Graph Id
6120
+ * Target graph identifier (user graphs only - shared repositories not allowed)
6121
+ */
6122
+ graph_id: string;
6123
+ };
6124
+ query?: never;
6125
+ url: '/v1/{graph_id}/copy';
6126
+ };
6127
+ export type CopyDataToGraphErrors = {
6128
+ /**
6129
+ * Validation Error
6130
+ */
6131
+ 422: HttpValidationError;
6132
+ };
6133
+ export type CopyDataToGraphError = CopyDataToGraphErrors[keyof CopyDataToGraphErrors];
6134
+ export type CopyDataToGraphResponses = {
6135
+ /**
6136
+ * Successful Response
6137
+ */
6138
+ 200: CopyResponse;
6139
+ };
6140
+ export type CopyDataToGraphResponse = CopyDataToGraphResponses[keyof CopyDataToGraphResponses];
6059
6141
  export type CreateGraphData = {
6060
6142
  body: CreateGraphRequest;
6061
6143
  headers?: {