@robosystems/client 0.1.16 → 0.1.18

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.ts CHANGED
@@ -287,23 +287,6 @@ export type BackupCreateRequest = {
287
287
  schedule?: string | null;
288
288
  };
289
289
 
290
- /**
291
- * BackupExportRequest
292
- * Request model for exporting a backup.
293
- */
294
- export type BackupExportRequest = {
295
- /**
296
- * Backup Id
297
- * ID of backup to export
298
- */
299
- backup_id: string;
300
- /**
301
- * Export Format
302
- * Export format - only 'original' is supported (compressed .kuzu file)
303
- */
304
- export_format?: string;
305
- };
306
-
307
290
  /**
308
291
  * BackupListResponse
309
292
  * Response model for backup list.
@@ -628,6 +611,70 @@ export type ConnectionResponse = {
628
611
  };
629
612
  };
630
613
 
614
+ /**
615
+ * CopyResponse
616
+ * Response model for copy operations.
617
+ */
618
+ export type CopyResponse = {
619
+ /**
620
+ * Status
621
+ * Operation status
622
+ */
623
+ status: 'completed' | 'failed' | 'partial' | 'accepted';
624
+ /**
625
+ * Operation Id
626
+ * Operation ID for SSE monitoring (for long-running operations)
627
+ */
628
+ operation_id?: string | null;
629
+ /**
630
+ * Sse Url
631
+ * SSE endpoint URL for monitoring operation progress
632
+ */
633
+ sse_url?: string | null;
634
+ /**
635
+ * Source Type
636
+ * Type of source that was copied from
637
+ */
638
+ source_type: string;
639
+ /**
640
+ * Execution Time Ms
641
+ * Total execution time in milliseconds (for synchronous operations)
642
+ */
643
+ execution_time_ms?: number | null;
644
+ /**
645
+ * Message
646
+ * Human-readable status message
647
+ */
648
+ message: string;
649
+ /**
650
+ * Rows Imported
651
+ * Number of rows successfully imported
652
+ */
653
+ rows_imported?: number | null;
654
+ /**
655
+ * Rows Skipped
656
+ * Number of rows skipped due to errors (when ignore_errors=true)
657
+ */
658
+ rows_skipped?: number | null;
659
+ /**
660
+ * Warnings
661
+ * List of warnings encountered during import
662
+ */
663
+ warnings?: Array<string> | null;
664
+ /**
665
+ * Error Details
666
+ * Detailed error information if operation failed
667
+ */
668
+ error_details?: {
669
+ [key: string]: unknown;
670
+ } | null;
671
+ /**
672
+ * Bytes Processed
673
+ * Total bytes processed from source
674
+ */
675
+ bytes_processed?: number | null;
676
+ };
677
+
631
678
  /**
632
679
  * CreateAPIKeyRequest
633
680
  * Request model for creating a new API key.
@@ -748,23 +795,6 @@ export type CreateSubgraphRequest = {
748
795
  } | null;
749
796
  };
750
797
 
751
- /**
752
- * CreditCheckRequest
753
- * Request to check credit balance.
754
- */
755
- export type CreditCheckRequest = {
756
- /**
757
- * Operation Type
758
- * Type of operation to check
759
- */
760
- operation_type: string;
761
- /**
762
- * Base Cost
763
- * Custom base cost (uses default if not provided)
764
- */
765
- base_cost?: number | null;
766
- };
767
-
768
798
  /**
769
799
  * CreditSummary
770
800
  * Credit balance summary.
@@ -958,6 +988,48 @@ export type CypherQueryRequest = {
958
988
  timeout?: number | null;
959
989
  };
960
990
 
991
+ /**
992
+ * DataFrameCopyRequest
993
+ * Request model for DataFrame copy operations (future).
994
+ */
995
+ export type DataFrameCopyRequest = {
996
+ /**
997
+ * Table Name
998
+ * Target Kuzu table name
999
+ */
1000
+ table_name: string;
1001
+ /**
1002
+ * Ignore Errors
1003
+ * Skip duplicate/invalid rows (enables upsert-like behavior)
1004
+ */
1005
+ ignore_errors?: boolean;
1006
+ /**
1007
+ * Extended Timeout
1008
+ * Use extended timeout for large datasets
1009
+ */
1010
+ extended_timeout?: boolean;
1011
+ /**
1012
+ * Validate Schema
1013
+ * Validate source schema against target table
1014
+ */
1015
+ validate_schema?: boolean;
1016
+ /**
1017
+ * Source Type
1018
+ * Source type identifier
1019
+ */
1020
+ source_type?: 'dataframe';
1021
+ /**
1022
+ * Data Reference
1023
+ * Reference to uploaded DataFrame data
1024
+ */
1025
+ data_reference: string;
1026
+ /**
1027
+ * Format
1028
+ * DataFrame format
1029
+ */
1030
+ format?: 'pandas' | 'polars' | 'arrow';
1031
+ };
1032
+
961
1033
  /**
962
1034
  * DatabaseHealthResponse
963
1035
  * Response model for database health check.
@@ -1931,6 +2003,116 @@ export type RepositoryType = 'sec' | 'industry' | 'economic';
1931
2003
  */
1932
2004
  export type ResponseMode = 'auto' | 'sync' | 'async' | 'stream';
1933
2005
 
2006
+ /**
2007
+ * S3CopyRequest
2008
+ * Request model for S3 copy operations.
2009
+ *
2010
+ * Copies data from S3 buckets into graph database tables using user-provided
2011
+ * AWS credentials. Supports various file formats and bulk loading options.
2012
+ */
2013
+ export type S3CopyRequest = {
2014
+ /**
2015
+ * Table Name
2016
+ * Target Kuzu table name
2017
+ */
2018
+ table_name: string;
2019
+ /**
2020
+ * Ignore Errors
2021
+ * Skip duplicate/invalid rows (enables upsert-like behavior)
2022
+ */
2023
+ ignore_errors?: boolean;
2024
+ /**
2025
+ * Extended Timeout
2026
+ * Use extended timeout for large datasets
2027
+ */
2028
+ extended_timeout?: boolean;
2029
+ /**
2030
+ * Validate Schema
2031
+ * Validate source schema against target table
2032
+ */
2033
+ validate_schema?: boolean;
2034
+ /**
2035
+ * Source Type
2036
+ * Source type identifier
2037
+ */
2038
+ source_type?: 's3';
2039
+ /**
2040
+ * S3 Path
2041
+ * Full S3 path (s3://bucket/key or s3://bucket/prefix*.parquet)
2042
+ */
2043
+ s3_path: string;
2044
+ /**
2045
+ * S3 Access Key Id
2046
+ * AWS access key ID for S3 access
2047
+ */
2048
+ s3_access_key_id: string;
2049
+ /**
2050
+ * S3 Secret Access Key
2051
+ * AWS secret access key for S3 access
2052
+ */
2053
+ s3_secret_access_key: string;
2054
+ /**
2055
+ * S3 Session Token
2056
+ * AWS session token (for temporary credentials)
2057
+ */
2058
+ s3_session_token?: string | null;
2059
+ /**
2060
+ * S3 Region
2061
+ * S3 region
2062
+ */
2063
+ s3_region?: string | null;
2064
+ /**
2065
+ * S3 Endpoint
2066
+ * Custom S3 endpoint (for S3-compatible storage)
2067
+ */
2068
+ s3_endpoint?: string | null;
2069
+ /**
2070
+ * S3 Url Style
2071
+ * S3 URL style (vhost or path)
2072
+ */
2073
+ s3_url_style?: ('vhost' | 'path') | null;
2074
+ /**
2075
+ * File Format
2076
+ * File format of the S3 data
2077
+ */
2078
+ file_format?: 'parquet' | 'csv' | 'json' | 'delta' | 'iceberg';
2079
+ /**
2080
+ * Csv Delimiter
2081
+ * CSV delimiter
2082
+ */
2083
+ csv_delimiter?: string | null;
2084
+ /**
2085
+ * Csv Header
2086
+ * CSV has header row
2087
+ */
2088
+ csv_header?: boolean | null;
2089
+ /**
2090
+ * Csv Quote
2091
+ * CSV quote character
2092
+ */
2093
+ csv_quote?: string | null;
2094
+ /**
2095
+ * Csv Escape
2096
+ * CSV escape character
2097
+ */
2098
+ csv_escape?: string | null;
2099
+ /**
2100
+ * Csv Skip
2101
+ * Number of rows to skip
2102
+ */
2103
+ csv_skip?: number | null;
2104
+ /**
2105
+ * Allow Moved Paths
2106
+ * Allow moved paths for Iceberg tables
2107
+ */
2108
+ allow_moved_paths?: boolean | null;
2109
+ /**
2110
+ * Max File Size Gb
2111
+ * Maximum total file size limit in GB
2112
+ */
2113
+ max_file_size_gb?: number | null;
2114
+ };
2115
+
1934
2116
  /**
1935
2117
  * SECConnectionConfig
1936
2118
  * SEC-specific connection configuration.
@@ -2534,6 +2716,55 @@ export type TransactionSummaryResponse = {
2534
2716
  last_transaction?: string | null;
2535
2717
  };
2536
2718
 
2719
+ /**
2720
+ * URLCopyRequest
2721
+ * Request model for URL copy operations (future).
2722
+ */
2723
+ export type UrlCopyRequest = {
2724
+ /**
2725
+ * Table Name
2726
+ * Target Kuzu table name
2727
+ */
2728
+ table_name: string;
2729
+ /**
2730
+ * Ignore Errors
2731
+ * Skip duplicate/invalid rows (enables upsert-like behavior)
2732
+ */
2733
+ ignore_errors?: boolean;
2734
+ /**
2735
+ * Extended Timeout
2736
+ * Use extended timeout for large datasets
2737
+ */
2738
+ extended_timeout?: boolean;
2739
+ /**
2740
+ * Validate Schema
2741
+ * Validate source schema against target table
2742
+ */
2743
+ validate_schema?: boolean;
2744
+ /**
2745
+ * Source Type
2746
+ * Source type identifier
2747
+ */
2748
+ source_type?: 'url';
2749
+ /**
2750
+ * Url
2751
+ * HTTP(S) URL to the data file
2752
+ */
2753
+ url: string;
2754
+ /**
2755
+ * File Format
2756
+ * File format of the URL data
2757
+ */
2758
+ file_format: 'parquet' | 'csv' | 'json';
2759
+ /**
2760
+ * Headers
2761
+ * Optional HTTP headers for authentication
2762
+ */
2763
+ headers?: {
2764
+ [key: string]: string;
2765
+ } | null;
2766
+ };
2767
+
2537
2768
  /**
2538
2769
  * UpdateAPIKeyRequest
2539
2770
  * Request model for updating an API key.
@@ -2590,21 +2821,6 @@ export type UpdateUserRequest = {
2590
2821
  email?: string | null;
2591
2822
  };
2592
2823
 
2593
- /**
2594
- * UpgradeSubscriptionRequest
2595
- * Request to upgrade a graph database subscription.
2596
- */
2597
- export type UpgradeSubscriptionRequest = {
2598
- /**
2599
- * Plan Name
2600
- */
2601
- plan_name: string;
2602
- /**
2603
- * Payment Method Id
2604
- */
2605
- payment_method_id?: string | null;
2606
- };
2607
-
2608
2824
  /**
2609
2825
  * UserAnalyticsResponse
2610
2826
  * Response model for comprehensive user analytics.
@@ -3168,20 +3384,6 @@ export type CompleteSsoAuthResponses = {
3168
3384
 
3169
3385
  export type CompleteSsoAuthResponse = CompleteSsoAuthResponses[keyof CompleteSsoAuthResponses];
3170
3386
 
3171
- export type GetCaptchaConfigData = {
3172
- body?: never;
3173
- path?: never;
3174
- query?: never;
3175
- url: '/v1/auth/captcha/config';
3176
- };
3177
-
3178
- export type GetCaptchaConfigResponses = {
3179
- /**
3180
- * CAPTCHA configuration
3181
- */
3182
- 200: unknown;
3183
- };
3184
-
3185
3387
  export type GetPasswordPolicyData = {
3186
3388
  body?: never;
3187
3389
  path?: never;
@@ -3223,6 +3425,20 @@ export type CheckPasswordStrengthResponses = {
3223
3425
 
3224
3426
  export type CheckPasswordStrengthResponse = CheckPasswordStrengthResponses[keyof CheckPasswordStrengthResponses];
3225
3427
 
3428
+ export type GetCaptchaConfigData = {
3429
+ body?: never;
3430
+ path?: never;
3431
+ query?: never;
3432
+ url: '/v1/auth/captcha/config';
3433
+ };
3434
+
3435
+ export type GetCaptchaConfigResponses = {
3436
+ /**
3437
+ * CAPTCHA configuration
3438
+ */
3439
+ 200: unknown;
3440
+ };
3441
+
3226
3442
  export type GetServiceStatusData = {
3227
3443
  body?: never;
3228
3444
  path?: never;
@@ -3390,7 +3606,7 @@ export type GetAllCreditSummariesData = {
3390
3606
  };
3391
3607
  path?: never;
3392
3608
  query?: never;
3393
- url: '/v1/user/credits/summary';
3609
+ url: '/v1/user/credits';
3394
3610
  };
3395
3611
 
3396
3612
  export type GetAllCreditSummariesErrors = {
@@ -3669,7 +3885,7 @@ export type GetUserUsageResponses = {
3669
3885
 
3670
3886
  export type GetUserUsageResponse = GetUserUsageResponses[keyof GetUserUsageResponses];
3671
3887
 
3672
- export type GetSharedRepositoryLimitsData = {
3888
+ export type GetAllSharedRepositoryLimitsData = {
3673
3889
  body?: never;
3674
3890
  headers?: {
3675
3891
  /**
@@ -3677,29 +3893,23 @@ export type GetSharedRepositoryLimitsData = {
3677
3893
  */
3678
3894
  authorization?: string | null;
3679
3895
  };
3680
- path: {
3681
- /**
3682
- * Repository
3683
- * Repository name (e.g., 'sec')
3684
- */
3685
- repository: string;
3686
- };
3896
+ path?: never;
3687
3897
  query?: never;
3688
- url: '/v1/user/limits/shared-repositories/{repository}';
3898
+ url: '/v1/user/limits/shared-repositories/summary';
3689
3899
  };
3690
3900
 
3691
- export type GetSharedRepositoryLimitsErrors = {
3901
+ export type GetAllSharedRepositoryLimitsErrors = {
3692
3902
  /**
3693
3903
  * Validation Error
3694
3904
  */
3695
3905
  422: HttpValidationError;
3696
3906
  };
3697
3907
 
3698
- export type GetSharedRepositoryLimitsError = GetSharedRepositoryLimitsErrors[keyof GetSharedRepositoryLimitsErrors];
3908
+ export type GetAllSharedRepositoryLimitsError = GetAllSharedRepositoryLimitsErrors[keyof GetAllSharedRepositoryLimitsErrors];
3699
3909
 
3700
- export type GetSharedRepositoryLimitsResponses = {
3910
+ export type GetAllSharedRepositoryLimitsResponses = {
3701
3911
  /**
3702
- * Response Getsharedrepositorylimits
3912
+ * Response Getallsharedrepositorylimits
3703
3913
  * Successful Response
3704
3914
  */
3705
3915
  200: {
@@ -3707,9 +3917,9 @@ export type GetSharedRepositoryLimitsResponses = {
3707
3917
  };
3708
3918
  };
3709
3919
 
3710
- export type GetSharedRepositoryLimitsResponse = GetSharedRepositoryLimitsResponses[keyof GetSharedRepositoryLimitsResponses];
3920
+ export type GetAllSharedRepositoryLimitsResponse = GetAllSharedRepositoryLimitsResponses[keyof GetAllSharedRepositoryLimitsResponses];
3711
3921
 
3712
- export type GetAllSharedRepositoryLimitsData = {
3922
+ export type GetSharedRepositoryLimitsData = {
3713
3923
  body?: never;
3714
3924
  headers?: {
3715
3925
  /**
@@ -3717,23 +3927,29 @@ export type GetAllSharedRepositoryLimitsData = {
3717
3927
  */
3718
3928
  authorization?: string | null;
3719
3929
  };
3720
- path?: never;
3930
+ path: {
3931
+ /**
3932
+ * Repository
3933
+ * Repository name (e.g., 'sec')
3934
+ */
3935
+ repository: string;
3936
+ };
3721
3937
  query?: never;
3722
- url: '/v1/user/limits/shared-repositories/summary';
3938
+ url: '/v1/user/limits/shared-repositories/{repository}';
3723
3939
  };
3724
3940
 
3725
- export type GetAllSharedRepositoryLimitsErrors = {
3941
+ export type GetSharedRepositoryLimitsErrors = {
3726
3942
  /**
3727
3943
  * Validation Error
3728
3944
  */
3729
3945
  422: HttpValidationError;
3730
3946
  };
3731
3947
 
3732
- export type GetAllSharedRepositoryLimitsError = GetAllSharedRepositoryLimitsErrors[keyof GetAllSharedRepositoryLimitsErrors];
3948
+ export type GetSharedRepositoryLimitsError = GetSharedRepositoryLimitsErrors[keyof GetSharedRepositoryLimitsErrors];
3733
3949
 
3734
- export type GetAllSharedRepositoryLimitsResponses = {
3950
+ export type GetSharedRepositoryLimitsResponses = {
3735
3951
  /**
3736
- * Response Getallsharedrepositorylimits
3952
+ * Response Getsharedrepositorylimits
3737
3953
  * Successful Response
3738
3954
  */
3739
3955
  200: {
@@ -3741,7 +3957,7 @@ export type GetAllSharedRepositoryLimitsResponses = {
3741
3957
  };
3742
3958
  };
3743
3959
 
3744
- export type GetAllSharedRepositoryLimitsResponse = GetAllSharedRepositoryLimitsResponses[keyof GetAllSharedRepositoryLimitsResponses];
3960
+ export type GetSharedRepositoryLimitsResponse = GetSharedRepositoryLimitsResponses[keyof GetSharedRepositoryLimitsResponses];
3745
3961
 
3746
3962
  export type GetUserUsageOverviewData = {
3747
3963
  body?: never;
@@ -4085,7 +4301,7 @@ export type GetRepositoryCreditsResponses = {
4085
4301
 
4086
4302
  export type GetRepositoryCreditsResponse = GetRepositoryCreditsResponses[keyof GetRepositoryCreditsResponses];
4087
4303
 
4088
- export type GetConnectionOptionsData = {
4304
+ export type ListConnectionsData = {
4089
4305
  body?: never;
4090
4306
  headers?: {
4091
4307
  /**
@@ -4100,11 +4316,22 @@ export type GetConnectionOptionsData = {
4100
4316
  */
4101
4317
  graph_id: string;
4102
4318
  };
4103
- query?: never;
4104
- url: '/v1/{graph_id}/connections/options';
4319
+ query?: {
4320
+ /**
4321
+ * Entity Id
4322
+ * Filter by entity ID
4323
+ */
4324
+ entity_id?: string | null;
4325
+ /**
4326
+ * Provider
4327
+ * Filter by provider type
4328
+ */
4329
+ provider?: ('sec' | 'quickbooks' | 'plaid') | null;
4330
+ };
4331
+ url: '/v1/{graph_id}/connections';
4105
4332
  };
4106
4333
 
4107
- export type GetConnectionOptionsErrors = {
4334
+ export type ListConnectionsErrors = {
4108
4335
  /**
4109
4336
  * Access denied to graph
4110
4337
  */
@@ -4114,78 +4341,22 @@ export type GetConnectionOptionsErrors = {
4114
4341
  */
4115
4342
  422: HttpValidationError;
4116
4343
  /**
4117
- * Failed to retrieve options
4344
+ * Failed to list connections
4118
4345
  */
4119
4346
  500: ErrorResponse;
4120
4347
  };
4121
4348
 
4122
- export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
4349
+ export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
4123
4350
 
4124
- export type GetConnectionOptionsResponses = {
4351
+ export type ListConnectionsResponses = {
4125
4352
  /**
4126
- * Connection options retrieved successfully
4353
+ * Response Listconnections
4354
+ * Connections retrieved successfully
4127
4355
  */
4128
- 200: ConnectionOptionsResponse;
4356
+ 200: Array<ConnectionResponse>;
4129
4357
  };
4130
4358
 
4131
- export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
4132
-
4133
- export type ListConnectionsData = {
4134
- body?: never;
4135
- headers?: {
4136
- /**
4137
- * Authorization
4138
- */
4139
- authorization?: string | null;
4140
- };
4141
- path: {
4142
- /**
4143
- * Graph Id
4144
- * Graph database identifier
4145
- */
4146
- graph_id: string;
4147
- };
4148
- query?: {
4149
- /**
4150
- * Entity Id
4151
- * Filter by entity ID
4152
- */
4153
- entity_id?: string | null;
4154
- /**
4155
- * Provider
4156
- * Filter by provider type
4157
- */
4158
- provider?: ('sec' | 'quickbooks' | 'plaid') | null;
4159
- };
4160
- url: '/v1/{graph_id}/connections';
4161
- };
4162
-
4163
- export type ListConnectionsErrors = {
4164
- /**
4165
- * Access denied to graph
4166
- */
4167
- 403: ErrorResponse;
4168
- /**
4169
- * Validation Error
4170
- */
4171
- 422: HttpValidationError;
4172
- /**
4173
- * Failed to list connections
4174
- */
4175
- 500: ErrorResponse;
4176
- };
4177
-
4178
- export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
4179
-
4180
- export type ListConnectionsResponses = {
4181
- /**
4182
- * Response Listconnections
4183
- * Connections retrieved successfully
4184
- */
4185
- 200: Array<ConnectionResponse>;
4186
- };
4187
-
4188
- export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
4359
+ export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
4189
4360
 
4190
4361
  export type CreateConnectionData = {
4191
4362
  body: CreateConnectionRequest;
@@ -4348,6 +4519,51 @@ export type GetConnectionResponses = {
4348
4519
 
4349
4520
  export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
4350
4521
 
4522
+ export type GetConnectionOptionsData = {
4523
+ body?: never;
4524
+ headers?: {
4525
+ /**
4526
+ * Authorization
4527
+ */
4528
+ authorization?: string | null;
4529
+ };
4530
+ path: {
4531
+ /**
4532
+ * Graph Id
4533
+ * Graph database identifier
4534
+ */
4535
+ graph_id: string;
4536
+ };
4537
+ query?: never;
4538
+ url: '/v1/{graph_id}/connections/options';
4539
+ };
4540
+
4541
+ export type GetConnectionOptionsErrors = {
4542
+ /**
4543
+ * Access denied to graph
4544
+ */
4545
+ 403: ErrorResponse;
4546
+ /**
4547
+ * Validation Error
4548
+ */
4549
+ 422: HttpValidationError;
4550
+ /**
4551
+ * Failed to retrieve options
4552
+ */
4553
+ 500: ErrorResponse;
4554
+ };
4555
+
4556
+ export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
4557
+
4558
+ export type GetConnectionOptionsResponses = {
4559
+ /**
4560
+ * Connection options retrieved successfully
4561
+ */
4562
+ 200: ConnectionOptionsResponse;
4563
+ };
4564
+
4565
+ export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
4566
+
4351
4567
  export type SyncConnectionData = {
4352
4568
  body?: SyncConnectionRequest;
4353
4569
  headers?: {
@@ -4767,6 +4983,54 @@ export type CallMcpToolResponses = {
4767
4983
  202: unknown;
4768
4984
  };
4769
4985
 
4986
+ export type ListBackupsData = {
4987
+ body?: never;
4988
+ headers?: {
4989
+ /**
4990
+ * Authorization
4991
+ */
4992
+ authorization?: string | null;
4993
+ };
4994
+ path: {
4995
+ /**
4996
+ * Graph Id
4997
+ * Graph database identifier
4998
+ */
4999
+ graph_id: string;
5000
+ };
5001
+ query?: {
5002
+ /**
5003
+ * Limit
5004
+ * Maximum number of backups to return
5005
+ */
5006
+ limit?: number;
5007
+ /**
5008
+ * Offset
5009
+ * Number of backups to skip
5010
+ */
5011
+ offset?: number;
5012
+ };
5013
+ url: '/v1/{graph_id}/backups';
5014
+ };
5015
+
5016
+ export type ListBackupsErrors = {
5017
+ /**
5018
+ * Validation Error
5019
+ */
5020
+ 422: HttpValidationError;
5021
+ };
5022
+
5023
+ export type ListBackupsError = ListBackupsErrors[keyof ListBackupsErrors];
5024
+
5025
+ export type ListBackupsResponses = {
5026
+ /**
5027
+ * Successful Response
5028
+ */
5029
+ 200: BackupListResponse;
5030
+ };
5031
+
5032
+ export type ListBackupsResponse = ListBackupsResponses[keyof ListBackupsResponses];
5033
+
4770
5034
  export type CreateBackupData = {
4771
5035
  body: BackupCreateRequest;
4772
5036
  headers?: {
@@ -4783,7 +5047,7 @@ export type CreateBackupData = {
4783
5047
  graph_id: string;
4784
5048
  };
4785
5049
  query?: never;
4786
- url: '/v1/{graph_id}/backup/create';
5050
+ url: '/v1/{graph_id}/backups';
4787
5051
  };
4788
5052
 
4789
5053
  export type CreateBackupErrors = {
@@ -4818,50 +5082,56 @@ export type CreateBackupResponses = {
4818
5082
  202: unknown;
4819
5083
  };
4820
5084
 
4821
- export type ListBackupsData = {
5085
+ export type ExportBackupData = {
4822
5086
  body?: never;
4823
- path: {
5087
+ headers?: {
4824
5088
  /**
4825
- * Graph Id
4826
- * Graph database identifier
5089
+ * Authorization
4827
5090
  */
4828
- graph_id: string;
5091
+ authorization?: string | null;
4829
5092
  };
4830
- query?: {
5093
+ path: {
4831
5094
  /**
4832
- * Limit
4833
- * Maximum number of backups to return
5095
+ * Backup Id
5096
+ * Backup identifier
4834
5097
  */
4835
- limit?: number;
5098
+ backup_id: string;
4836
5099
  /**
4837
- * Offset
4838
- * Number of backups to skip
5100
+ * Graph Id
5101
+ * Graph database identifier
4839
5102
  */
4840
- offset?: number;
5103
+ graph_id: string;
4841
5104
  };
4842
- url: '/v1/{graph_id}/backup/list';
5105
+ query?: never;
5106
+ url: '/v1/{graph_id}/backups/{backup_id}/export';
4843
5107
  };
4844
5108
 
4845
- export type ListBackupsErrors = {
5109
+ export type ExportBackupErrors = {
5110
+ /**
5111
+ * Access denied or backup is encrypted
5112
+ */
5113
+ 403: unknown;
5114
+ /**
5115
+ * Backup not found
5116
+ */
5117
+ 404: unknown;
4846
5118
  /**
4847
5119
  * Validation Error
4848
5120
  */
4849
5121
  422: HttpValidationError;
4850
5122
  };
4851
5123
 
4852
- export type ListBackupsError = ListBackupsErrors[keyof ListBackupsErrors];
5124
+ export type ExportBackupError = ExportBackupErrors[keyof ExportBackupErrors];
4853
5125
 
4854
- export type ListBackupsResponses = {
5126
+ export type ExportBackupResponses = {
4855
5127
  /**
4856
- * Successful Response
5128
+ * Backup exported successfully
4857
5129
  */
4858
- 200: BackupListResponse;
5130
+ 200: unknown;
4859
5131
  };
4860
5132
 
4861
- export type ListBackupsResponse = ListBackupsResponses[keyof ListBackupsResponses];
4862
-
4863
- export type ExportBackupData = {
4864
- body: BackupExportRequest;
5133
+ export type GetBackupDownloadUrlData = {
5134
+ body?: never;
4865
5135
  headers?: {
4866
5136
  /**
4867
5137
  * Authorization
@@ -4869,17 +5139,28 @@ export type ExportBackupData = {
4869
5139
  authorization?: string | null;
4870
5140
  };
4871
5141
  path: {
5142
+ /**
5143
+ * Backup Id
5144
+ * Backup identifier
5145
+ */
5146
+ backup_id: string;
4872
5147
  /**
4873
5148
  * Graph Id
4874
5149
  * Graph database identifier
4875
5150
  */
4876
5151
  graph_id: string;
4877
5152
  };
4878
- query?: never;
4879
- url: '/v1/{graph_id}/backup/export';
5153
+ query?: {
5154
+ /**
5155
+ * Expires In
5156
+ * URL expiration time in seconds
5157
+ */
5158
+ expires_in?: number;
5159
+ };
5160
+ url: '/v1/{graph_id}/backups/{backup_id}/download';
4880
5161
  };
4881
5162
 
4882
- export type ExportBackupErrors = {
5163
+ export type GetBackupDownloadUrlErrors = {
4883
5164
  /**
4884
5165
  * Access denied or backup is encrypted
4885
5166
  */
@@ -4892,17 +5173,26 @@ export type ExportBackupErrors = {
4892
5173
  * Validation Error
4893
5174
  */
4894
5175
  422: HttpValidationError;
5176
+ /**
5177
+ * Failed to generate download URL
5178
+ */
5179
+ 500: unknown;
4895
5180
  };
4896
5181
 
4897
- export type ExportBackupError = ExportBackupErrors[keyof ExportBackupErrors];
5182
+ export type GetBackupDownloadUrlError = GetBackupDownloadUrlErrors[keyof GetBackupDownloadUrlErrors];
4898
5183
 
4899
- export type ExportBackupResponses = {
5184
+ export type GetBackupDownloadUrlResponses = {
4900
5185
  /**
4901
- * Backup exported successfully
5186
+ * Response Getbackupdownloadurl
5187
+ * Download URL generated successfully
4902
5188
  */
4903
- 200: unknown;
5189
+ 200: {
5190
+ [key: string]: unknown;
5191
+ };
4904
5192
  };
4905
5193
 
5194
+ export type GetBackupDownloadUrlResponse = GetBackupDownloadUrlResponses[keyof GetBackupDownloadUrlResponses];
5195
+
4906
5196
  export type RestoreBackupData = {
4907
5197
  body: BackupRestoreRequest;
4908
5198
  headers?: {
@@ -4919,7 +5209,7 @@ export type RestoreBackupData = {
4919
5209
  graph_id: string;
4920
5210
  };
4921
5211
  query?: never;
4922
- url: '/v1/{graph_id}/backup/restore';
5212
+ url: '/v1/{graph_id}/backups/restore';
4923
5213
  };
4924
5214
 
4925
5215
  export type RestoreBackupErrors = {
@@ -4956,6 +5246,12 @@ export type RestoreBackupResponses = {
4956
5246
 
4957
5247
  export type GetBackupStatsData = {
4958
5248
  body?: never;
5249
+ headers?: {
5250
+ /**
5251
+ * Authorization
5252
+ */
5253
+ authorization?: string | null;
5254
+ };
4959
5255
  path: {
4960
5256
  /**
4961
5257
  * Graph Id
@@ -4964,7 +5260,7 @@ export type GetBackupStatsData = {
4964
5260
  graph_id: string;
4965
5261
  };
4966
5262
  query?: never;
4967
- url: '/v1/{graph_id}/backup/stats';
5263
+ url: '/v1/{graph_id}/backups/stats';
4968
5264
  };
4969
5265
 
4970
5266
  export type GetBackupStatsErrors = {
@@ -4985,7 +5281,7 @@ export type GetBackupStatsResponses = {
4985
5281
 
4986
5282
  export type GetBackupStatsResponse = GetBackupStatsResponses[keyof GetBackupStatsResponses];
4987
5283
 
4988
- export type KuzuBackupHealthData = {
5284
+ export type GetGraphMetricsData = {
4989
5285
  body?: never;
4990
5286
  headers?: {
4991
5287
  /**
@@ -4996,137 +5292,34 @@ export type KuzuBackupHealthData = {
4996
5292
  path: {
4997
5293
  /**
4998
5294
  * Graph Id
4999
- * Graph database identifier
5295
+ * The graph ID to get metrics for
5000
5296
  */
5001
5297
  graph_id: string;
5002
5298
  };
5003
5299
  query?: never;
5004
- url: '/v1/{graph_id}/backup/health';
5300
+ url: '/v1/{graph_id}/analytics';
5005
5301
  };
5006
5302
 
5007
- export type KuzuBackupHealthErrors = {
5303
+ export type GetGraphMetricsErrors = {
5304
+ /**
5305
+ * Access denied to graph
5306
+ */
5307
+ 403: ErrorResponse;
5308
+ /**
5309
+ * Graph not found or metrics unavailable
5310
+ */
5311
+ 404: ErrorResponse;
5008
5312
  /**
5009
5313
  * Validation Error
5010
5314
  */
5011
5315
  422: HttpValidationError;
5012
- };
5013
-
5014
- export type KuzuBackupHealthError = KuzuBackupHealthErrors[keyof KuzuBackupHealthErrors];
5015
-
5016
- export type KuzuBackupHealthResponses = {
5017
5316
  /**
5018
- * Response Kuzubackuphealth
5019
- * Successful Response
5317
+ * Failed to retrieve metrics
5020
5318
  */
5021
- 200: {
5022
- [key: string]: unknown;
5023
- };
5319
+ 500: ErrorResponse;
5024
5320
  };
5025
5321
 
5026
- export type KuzuBackupHealthResponse = KuzuBackupHealthResponses[keyof KuzuBackupHealthResponses];
5027
-
5028
- export type GetBackupDownloadUrlData = {
5029
- body?: never;
5030
- headers?: {
5031
- /**
5032
- * Authorization
5033
- */
5034
- authorization?: string | null;
5035
- };
5036
- path: {
5037
- /**
5038
- * Backup Id
5039
- * Backup identifier
5040
- */
5041
- backup_id: string;
5042
- /**
5043
- * Graph Id
5044
- * Graph database identifier
5045
- */
5046
- graph_id: string;
5047
- };
5048
- query?: {
5049
- /**
5050
- * Expires In
5051
- * URL expiration time in seconds
5052
- */
5053
- expires_in?: number;
5054
- };
5055
- url: '/v1/{graph_id}/backup/{backup_id}/download';
5056
- };
5057
-
5058
- export type GetBackupDownloadUrlErrors = {
5059
- /**
5060
- * Access denied or backup is encrypted
5061
- */
5062
- 403: unknown;
5063
- /**
5064
- * Backup not found
5065
- */
5066
- 404: unknown;
5067
- /**
5068
- * Validation Error
5069
- */
5070
- 422: HttpValidationError;
5071
- /**
5072
- * Failed to generate download URL
5073
- */
5074
- 500: unknown;
5075
- };
5076
-
5077
- export type GetBackupDownloadUrlError = GetBackupDownloadUrlErrors[keyof GetBackupDownloadUrlErrors];
5078
-
5079
- export type GetBackupDownloadUrlResponses = {
5080
- /**
5081
- * Response Getbackupdownloadurl
5082
- * Download URL generated successfully
5083
- */
5084
- 200: {
5085
- [key: string]: unknown;
5086
- };
5087
- };
5088
-
5089
- export type GetBackupDownloadUrlResponse = GetBackupDownloadUrlResponses[keyof GetBackupDownloadUrlResponses];
5090
-
5091
- export type GetGraphMetricsData = {
5092
- body?: never;
5093
- headers?: {
5094
- /**
5095
- * Authorization
5096
- */
5097
- authorization?: string | null;
5098
- };
5099
- path: {
5100
- /**
5101
- * Graph Id
5102
- * The graph ID to get metrics for
5103
- */
5104
- graph_id: string;
5105
- };
5106
- query?: never;
5107
- url: '/v1/{graph_id}/analytics';
5108
- };
5109
-
5110
- export type GetGraphMetricsErrors = {
5111
- /**
5112
- * Access denied to graph
5113
- */
5114
- 403: ErrorResponse;
5115
- /**
5116
- * Graph not found or metrics unavailable
5117
- */
5118
- 404: ErrorResponse;
5119
- /**
5120
- * Validation Error
5121
- */
5122
- 422: HttpValidationError;
5123
- /**
5124
- * Failed to retrieve metrics
5125
- */
5126
- 500: ErrorResponse;
5127
- };
5128
-
5129
- export type GetGraphMetricsError = GetGraphMetricsErrors[keyof GetGraphMetricsErrors];
5322
+ export type GetGraphMetricsError = GetGraphMetricsErrors[keyof GetGraphMetricsErrors];
5130
5323
 
5131
5324
  export type GetGraphMetricsResponses = {
5132
5325
  /**
@@ -5507,7 +5700,7 @@ export type GetCurrentGraphBillResponses = {
5507
5700
 
5508
5701
  export type GetCurrentGraphBillResponse = GetCurrentGraphBillResponses[keyof GetCurrentGraphBillResponses];
5509
5702
 
5510
- export type GetGraphMonthlyBillData = {
5703
+ export type GetGraphUsageDetailsData = {
5511
5704
  body?: never;
5512
5705
  headers?: {
5513
5706
  /**
@@ -5517,26 +5710,27 @@ export type GetGraphMonthlyBillData = {
5517
5710
  };
5518
5711
  path: {
5519
5712
  /**
5520
- * Year
5521
- * Year (2024-2030)
5713
+ * Graph Id
5714
+ * Graph database identifier
5522
5715
  */
5523
- year: number;
5716
+ graph_id: string;
5717
+ };
5718
+ query?: {
5524
5719
  /**
5525
- * Month
5526
- * Month (1-12)
5720
+ * Year
5721
+ * Year (defaults to current)
5527
5722
  */
5528
- month: number;
5723
+ year?: number | null;
5529
5724
  /**
5530
- * Graph Id
5531
- * Graph database identifier
5725
+ * Month
5726
+ * Month (defaults to current)
5532
5727
  */
5533
- graph_id: string;
5728
+ month?: number | null;
5534
5729
  };
5535
- query?: never;
5536
- url: '/v1/{graph_id}/billing/history/{year}/{month}';
5730
+ url: '/v1/{graph_id}/billing/usage';
5537
5731
  };
5538
5732
 
5539
- export type GetGraphMonthlyBillErrors = {
5733
+ export type GetGraphUsageDetailsErrors = {
5540
5734
  /**
5541
5735
  * Invalid year or month
5542
5736
  */
@@ -5546,7 +5740,7 @@ export type GetGraphMonthlyBillErrors = {
5546
5740
  */
5547
5741
  403: ErrorResponse;
5548
5742
  /**
5549
- * Graph not found or no data for period
5743
+ * Graph not found
5550
5744
  */
5551
5745
  404: ErrorResponse;
5552
5746
  /**
@@ -5554,24 +5748,24 @@ export type GetGraphMonthlyBillErrors = {
5554
5748
  */
5555
5749
  422: HttpValidationError;
5556
5750
  /**
5557
- * Failed to calculate bill
5751
+ * Failed to retrieve usage
5558
5752
  */
5559
5753
  500: ErrorResponse;
5560
5754
  };
5561
5755
 
5562
- export type GetGraphMonthlyBillError = GetGraphMonthlyBillErrors[keyof GetGraphMonthlyBillErrors];
5756
+ export type GetGraphUsageDetailsError = GetGraphUsageDetailsErrors[keyof GetGraphUsageDetailsErrors];
5563
5757
 
5564
- export type GetGraphMonthlyBillResponses = {
5758
+ export type GetGraphUsageDetailsResponses = {
5565
5759
  /**
5566
- * Response Getgraphmonthlybill
5567
- * Monthly bill retrieved successfully
5760
+ * Response Getgraphusagedetails
5761
+ * Usage details retrieved successfully
5568
5762
  */
5569
5763
  200: {
5570
5764
  [key: string]: unknown;
5571
5765
  };
5572
5766
  };
5573
5767
 
5574
- export type GetGraphMonthlyBillResponse = GetGraphMonthlyBillResponses[keyof GetGraphMonthlyBillResponses];
5768
+ export type GetGraphUsageDetailsResponse = GetGraphUsageDetailsResponses[keyof GetGraphUsageDetailsResponses];
5575
5769
 
5576
5770
  export type GetGraphBillingHistoryData = {
5577
5771
  body?: never;
@@ -5631,7 +5825,7 @@ export type GetGraphBillingHistoryResponses = {
5631
5825
 
5632
5826
  export type GetGraphBillingHistoryResponse = GetGraphBillingHistoryResponses[keyof GetGraphBillingHistoryResponses];
5633
5827
 
5634
- export type GetGraphUsageDetailsData = {
5828
+ export type GetGraphMonthlyBillData = {
5635
5829
  body?: never;
5636
5830
  headers?: {
5637
5831
  /**
@@ -5640,28 +5834,27 @@ export type GetGraphUsageDetailsData = {
5640
5834
  authorization?: string | null;
5641
5835
  };
5642
5836
  path: {
5643
- /**
5644
- * Graph Id
5645
- * Graph database identifier
5646
- */
5647
- graph_id: string;
5648
- };
5649
- query?: {
5650
5837
  /**
5651
5838
  * Year
5652
- * Year (defaults to current)
5839
+ * Year (2024-2030)
5653
5840
  */
5654
- year?: number | null;
5841
+ year: number;
5655
5842
  /**
5656
5843
  * Month
5657
- * Month (defaults to current)
5844
+ * Month (1-12)
5658
5845
  */
5659
- month?: number | null;
5846
+ month: number;
5847
+ /**
5848
+ * Graph Id
5849
+ * Graph database identifier
5850
+ */
5851
+ graph_id: string;
5660
5852
  };
5661
- url: '/v1/{graph_id}/billing/usage';
5853
+ query?: never;
5854
+ url: '/v1/{graph_id}/billing/history/{year}/{month}';
5662
5855
  };
5663
5856
 
5664
- export type GetGraphUsageDetailsErrors = {
5857
+ export type GetGraphMonthlyBillErrors = {
5665
5858
  /**
5666
5859
  * Invalid year or month
5667
5860
  */
@@ -5671,7 +5864,7 @@ export type GetGraphUsageDetailsErrors = {
5671
5864
  */
5672
5865
  403: ErrorResponse;
5673
5866
  /**
5674
- * Graph not found
5867
+ * Graph not found or no data for period
5675
5868
  */
5676
5869
  404: ErrorResponse;
5677
5870
  /**
@@ -5679,199 +5872,24 @@ export type GetGraphUsageDetailsErrors = {
5679
5872
  */
5680
5873
  422: HttpValidationError;
5681
5874
  /**
5682
- * Failed to retrieve usage
5875
+ * Failed to calculate bill
5683
5876
  */
5684
5877
  500: ErrorResponse;
5685
5878
  };
5686
5879
 
5687
- export type GetGraphUsageDetailsError = GetGraphUsageDetailsErrors[keyof GetGraphUsageDetailsErrors];
5880
+ export type GetGraphMonthlyBillError = GetGraphMonthlyBillErrors[keyof GetGraphMonthlyBillErrors];
5688
5881
 
5689
- export type GetGraphUsageDetailsResponses = {
5882
+ export type GetGraphMonthlyBillResponses = {
5690
5883
  /**
5691
- * Response Getgraphusagedetails
5692
- * Usage details retrieved successfully
5884
+ * Response Getgraphmonthlybill
5885
+ * Monthly bill retrieved successfully
5693
5886
  */
5694
5887
  200: {
5695
5888
  [key: string]: unknown;
5696
5889
  };
5697
5890
  };
5698
5891
 
5699
- export type GetGraphUsageDetailsResponse = GetGraphUsageDetailsResponses[keyof GetGraphUsageDetailsResponses];
5700
-
5701
- export type GetGraphPricingInfoV1GraphIdBillingPricingGetData = {
5702
- body?: never;
5703
- headers?: {
5704
- /**
5705
- * Authorization
5706
- */
5707
- authorization?: string | null;
5708
- };
5709
- path: {
5710
- /**
5711
- * Graph Id
5712
- * Graph database ID
5713
- */
5714
- graph_id: string;
5715
- };
5716
- query?: never;
5717
- url: '/v1/{graph_id}/billing/pricing';
5718
- };
5719
-
5720
- export type GetGraphPricingInfoV1GraphIdBillingPricingGetErrors = {
5721
- /**
5722
- * Validation Error
5723
- */
5724
- 422: HttpValidationError;
5725
- };
5726
-
5727
- export type GetGraphPricingInfoV1GraphIdBillingPricingGetError = GetGraphPricingInfoV1GraphIdBillingPricingGetErrors[keyof GetGraphPricingInfoV1GraphIdBillingPricingGetErrors];
5728
-
5729
- export type GetGraphPricingInfoV1GraphIdBillingPricingGetResponses = {
5730
- /**
5731
- * Successful Response
5732
- */
5733
- 200: unknown;
5734
- };
5735
-
5736
- export type UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostData = {
5737
- body: UpgradeSubscriptionRequest;
5738
- headers?: {
5739
- /**
5740
- * Authorization
5741
- */
5742
- authorization?: string | null;
5743
- };
5744
- path: {
5745
- /**
5746
- * Graph Id
5747
- * Graph database ID
5748
- */
5749
- graph_id: string;
5750
- };
5751
- query?: never;
5752
- url: '/v1/{graph_id}/billing/subscription/upgrade';
5753
- };
5754
-
5755
- export type UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostErrors = {
5756
- /**
5757
- * Validation Error
5758
- */
5759
- 422: HttpValidationError;
5760
- };
5761
-
5762
- export type UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostError = UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostErrors[keyof UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostErrors];
5763
-
5764
- export type UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostResponses = {
5765
- /**
5766
- * Successful Response
5767
- */
5768
- 200: unknown;
5769
- };
5770
-
5771
- export type GetGraphSubscriptionV1GraphIdBillingSubscriptionGetData = {
5772
- body?: never;
5773
- headers?: {
5774
- /**
5775
- * Authorization
5776
- */
5777
- authorization?: string | null;
5778
- };
5779
- path: {
5780
- /**
5781
- * Graph Id
5782
- * Graph database ID
5783
- */
5784
- graph_id: string;
5785
- };
5786
- query?: never;
5787
- url: '/v1/{graph_id}/billing/subscription';
5788
- };
5789
-
5790
- export type GetGraphSubscriptionV1GraphIdBillingSubscriptionGetErrors = {
5791
- /**
5792
- * Validation Error
5793
- */
5794
- 422: HttpValidationError;
5795
- };
5796
-
5797
- export type GetGraphSubscriptionV1GraphIdBillingSubscriptionGetError = GetGraphSubscriptionV1GraphIdBillingSubscriptionGetErrors[keyof GetGraphSubscriptionV1GraphIdBillingSubscriptionGetErrors];
5798
-
5799
- export type GetGraphSubscriptionV1GraphIdBillingSubscriptionGetResponses = {
5800
- /**
5801
- * Successful Response
5802
- */
5803
- 200: unknown;
5804
- };
5805
-
5806
- export type GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetData = {
5807
- body?: never;
5808
- headers?: {
5809
- /**
5810
- * Authorization
5811
- */
5812
- authorization?: string | null;
5813
- };
5814
- path: {
5815
- /**
5816
- * Graph Id
5817
- * Graph database ID
5818
- */
5819
- graph_id: string;
5820
- };
5821
- query?: never;
5822
- url: '/v1/{graph_id}/billing/available-plans';
5823
- };
5824
-
5825
- export type GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetErrors = {
5826
- /**
5827
- * Validation Error
5828
- */
5829
- 422: HttpValidationError;
5830
- };
5831
-
5832
- export type GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetError = GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetErrors[keyof GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetErrors];
5833
-
5834
- export type GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetResponses = {
5835
- /**
5836
- * Successful Response
5837
- */
5838
- 200: unknown;
5839
- };
5840
-
5841
- export type GetCreditBillingInfoV1GraphIdBillingCreditsGetData = {
5842
- body?: never;
5843
- headers?: {
5844
- /**
5845
- * Authorization
5846
- */
5847
- authorization?: string | null;
5848
- };
5849
- path: {
5850
- /**
5851
- * Graph Id
5852
- * Graph database ID
5853
- */
5854
- graph_id: string;
5855
- };
5856
- query?: never;
5857
- url: '/v1/{graph_id}/billing/credits';
5858
- };
5859
-
5860
- export type GetCreditBillingInfoV1GraphIdBillingCreditsGetErrors = {
5861
- /**
5862
- * Validation Error
5863
- */
5864
- 422: HttpValidationError;
5865
- };
5866
-
5867
- export type GetCreditBillingInfoV1GraphIdBillingCreditsGetError = GetCreditBillingInfoV1GraphIdBillingCreditsGetErrors[keyof GetCreditBillingInfoV1GraphIdBillingCreditsGetErrors];
5868
-
5869
- export type GetCreditBillingInfoV1GraphIdBillingCreditsGetResponses = {
5870
- /**
5871
- * Successful Response
5872
- */
5873
- 200: unknown;
5874
- };
5892
+ export type GetGraphMonthlyBillResponse = GetGraphMonthlyBillResponses[keyof GetGraphMonthlyBillResponses];
5875
5893
 
5876
5894
  export type GetCreditSummaryData = {
5877
5895
  body?: never;
@@ -6003,7 +6021,7 @@ export type ListCreditTransactionsResponses = {
6003
6021
  export type ListCreditTransactionsResponse = ListCreditTransactionsResponses[keyof ListCreditTransactionsResponses];
6004
6022
 
6005
6023
  export type CheckCreditBalanceData = {
6006
- body: CreditCheckRequest;
6024
+ body?: never;
6007
6025
  headers?: {
6008
6026
  /**
6009
6027
  * Authorization
@@ -6017,8 +6035,19 @@ export type CheckCreditBalanceData = {
6017
6035
  */
6018
6036
  graph_id: string;
6019
6037
  };
6020
- query?: never;
6021
- url: '/v1/{graph_id}/credits/check';
6038
+ query: {
6039
+ /**
6040
+ * Operation Type
6041
+ * Type of operation to check
6042
+ */
6043
+ operation_type: string;
6044
+ /**
6045
+ * Base Cost
6046
+ * Custom base cost (uses default if not provided)
6047
+ */
6048
+ base_cost?: number | null;
6049
+ };
6050
+ url: '/v1/{graph_id}/credits/balance/check';
6022
6051
  };
6023
6052
 
6024
6053
  export type CheckCreditBalanceErrors = {
@@ -6173,7 +6202,7 @@ export type GetDatabaseHealthData = {
6173
6202
  graph_id: string;
6174
6203
  };
6175
6204
  query?: never;
6176
- url: '/v1/{graph_id}/status/health';
6205
+ url: '/v1/{graph_id}/health';
6177
6206
  };
6178
6207
 
6179
6208
  export type GetDatabaseHealthErrors = {
@@ -6222,7 +6251,7 @@ export type GetDatabaseInfoData = {
6222
6251
  graph_id: string;
6223
6252
  };
6224
6253
  query?: never;
6225
- url: '/v1/{graph_id}/status/info';
6254
+ url: '/v1/{graph_id}/info';
6226
6255
  };
6227
6256
 
6228
6257
  export type GetDatabaseInfoErrors = {
@@ -6255,7 +6284,7 @@ export type GetDatabaseInfoResponses = {
6255
6284
 
6256
6285
  export type GetDatabaseInfoResponse = GetDatabaseInfoResponses[keyof GetDatabaseInfoResponses];
6257
6286
 
6258
- export type ListSubgraphsData = {
6287
+ export type GetGraphLimitsData = {
6259
6288
  body?: never;
6260
6289
  headers?: {
6261
6290
  /**
@@ -6266,25 +6295,21 @@ export type ListSubgraphsData = {
6266
6295
  path: {
6267
6296
  /**
6268
6297
  * Graph Id
6269
- * Parent graph identifier
6298
+ * Graph database identifier (user graph or shared repository)
6270
6299
  */
6271
6300
  graph_id: string;
6272
6301
  };
6273
6302
  query?: never;
6274
- url: '/v1/{graph_id}/subgraphs';
6303
+ url: '/v1/{graph_id}/limits';
6275
6304
  };
6276
6305
 
6277
- export type ListSubgraphsErrors = {
6278
- /**
6279
- * Not authenticated
6280
- */
6281
- 401: unknown;
6306
+ export type GetGraphLimitsErrors = {
6282
6307
  /**
6283
- * Access denied to parent graph
6308
+ * Access denied to graph
6284
6309
  */
6285
6310
  403: unknown;
6286
6311
  /**
6287
- * Parent graph not found
6312
+ * Graph not found
6288
6313
  */
6289
6314
  404: unknown;
6290
6315
  /**
@@ -6292,16 +6317,56 @@ export type ListSubgraphsErrors = {
6292
6317
  */
6293
6318
  422: HttpValidationError;
6294
6319
  /**
6295
- * Internal server error
6320
+ * Failed to retrieve limits
6296
6321
  */
6297
6322
  500: unknown;
6298
6323
  };
6299
6324
 
6325
+ export type GetGraphLimitsError = GetGraphLimitsErrors[keyof GetGraphLimitsErrors];
6326
+
6327
+ export type GetGraphLimitsResponses = {
6328
+ /**
6329
+ * Response Getgraphlimits
6330
+ * Limits retrieved successfully
6331
+ */
6332
+ 200: {
6333
+ [key: string]: unknown;
6334
+ };
6335
+ };
6336
+
6337
+ export type GetGraphLimitsResponse = GetGraphLimitsResponses[keyof GetGraphLimitsResponses];
6338
+
6339
+ export type ListSubgraphsData = {
6340
+ body?: never;
6341
+ headers?: {
6342
+ /**
6343
+ * Authorization
6344
+ */
6345
+ authorization?: string | null;
6346
+ };
6347
+ path: {
6348
+ /**
6349
+ * Graph Id
6350
+ * Parent graph ID (e.g., 'kg1a2b3c4d5')
6351
+ */
6352
+ graph_id: string;
6353
+ };
6354
+ query?: never;
6355
+ url: '/v1/{graph_id}/subgraphs';
6356
+ };
6357
+
6358
+ export type ListSubgraphsErrors = {
6359
+ /**
6360
+ * Validation Error
6361
+ */
6362
+ 422: HttpValidationError;
6363
+ };
6364
+
6300
6365
  export type ListSubgraphsError = ListSubgraphsErrors[keyof ListSubgraphsErrors];
6301
6366
 
6302
6367
  export type ListSubgraphsResponses = {
6303
6368
  /**
6304
- * Subgraphs retrieved successfully
6369
+ * Successful Response
6305
6370
  */
6306
6371
  200: ListSubgraphsResponse;
6307
6372
  };
@@ -6319,7 +6384,7 @@ export type CreateSubgraphData = {
6319
6384
  path: {
6320
6385
  /**
6321
6386
  * Graph Id
6322
- * Parent graph identifier
6387
+ * Parent graph ID (e.g., 'kg1a2b3c4d5')
6323
6388
  */
6324
6389
  graph_id: string;
6325
6390
  };
@@ -6329,7 +6394,49 @@ export type CreateSubgraphData = {
6329
6394
 
6330
6395
  export type CreateSubgraphErrors = {
6331
6396
  /**
6332
- * Invalid subgraph name or configuration
6397
+ * Validation Error
6398
+ */
6399
+ 422: HttpValidationError;
6400
+ };
6401
+
6402
+ export type CreateSubgraphError = CreateSubgraphErrors[keyof CreateSubgraphErrors];
6403
+
6404
+ export type CreateSubgraphResponses = {
6405
+ /**
6406
+ * Successful Response
6407
+ */
6408
+ 201: SubgraphResponse;
6409
+ };
6410
+
6411
+ export type CreateSubgraphResponse = CreateSubgraphResponses[keyof CreateSubgraphResponses];
6412
+
6413
+ export type DeleteSubgraphData = {
6414
+ body?: DeleteSubgraphRequest;
6415
+ headers?: {
6416
+ /**
6417
+ * Authorization
6418
+ */
6419
+ authorization?: string | null;
6420
+ };
6421
+ path: {
6422
+ /**
6423
+ * Graph Id
6424
+ * Parent graph identifier
6425
+ */
6426
+ graph_id: string;
6427
+ /**
6428
+ * Subgraph Id
6429
+ * Subgraph identifier to delete
6430
+ */
6431
+ subgraph_id: string;
6432
+ };
6433
+ query?: never;
6434
+ url: '/v1/{graph_id}/subgraphs/{subgraph_id}';
6435
+ };
6436
+
6437
+ export type DeleteSubgraphErrors = {
6438
+ /**
6439
+ * Invalid subgraph identifier
6333
6440
  */
6334
6441
  400: unknown;
6335
6442
  /**
@@ -6337,15 +6444,15 @@ export type CreateSubgraphErrors = {
6337
6444
  */
6338
6445
  401: unknown;
6339
6446
  /**
6340
- * Insufficient permissions or tier
6447
+ * Insufficient permissions
6341
6448
  */
6342
6449
  403: unknown;
6343
6450
  /**
6344
- * Parent graph not found
6451
+ * Subgraph not found
6345
6452
  */
6346
6453
  404: unknown;
6347
6454
  /**
6348
- * Subgraph name already exists
6455
+ * Subgraph contains data (use force=true)
6349
6456
  */
6350
6457
  409: unknown;
6351
6458
  /**
@@ -6358,19 +6465,19 @@ export type CreateSubgraphErrors = {
6358
6465
  500: unknown;
6359
6466
  };
6360
6467
 
6361
- export type CreateSubgraphError = CreateSubgraphErrors[keyof CreateSubgraphErrors];
6468
+ export type DeleteSubgraphError = DeleteSubgraphErrors[keyof DeleteSubgraphErrors];
6362
6469
 
6363
- export type CreateSubgraphResponses = {
6470
+ export type DeleteSubgraphResponses = {
6364
6471
  /**
6365
- * Subgraph created successfully
6472
+ * Subgraph deleted successfully
6366
6473
  */
6367
- 200: SubgraphResponse;
6474
+ 200: DeleteSubgraphResponse;
6368
6475
  };
6369
6476
 
6370
- export type CreateSubgraphResponse = CreateSubgraphResponses[keyof CreateSubgraphResponses];
6477
+ export type DeleteSubgraphResponse2 = DeleteSubgraphResponses[keyof DeleteSubgraphResponses];
6371
6478
 
6372
- export type DeleteSubgraphData = {
6373
- body?: DeleteSubgraphRequest;
6479
+ export type GetSubgraphInfoData = {
6480
+ body?: never;
6374
6481
  headers?: {
6375
6482
  /**
6376
6483
  * Authorization
@@ -6384,18 +6491,18 @@ export type DeleteSubgraphData = {
6384
6491
  */
6385
6492
  graph_id: string;
6386
6493
  /**
6387
- * Subgraph Name
6388
- * Subgraph name to delete
6494
+ * Subgraph Id
6495
+ * Subgraph identifier
6389
6496
  */
6390
- subgraph_name: string;
6497
+ subgraph_id: string;
6391
6498
  };
6392
6499
  query?: never;
6393
- url: '/v1/{graph_id}/subgraphs/{subgraph_name}';
6500
+ url: '/v1/{graph_id}/subgraphs/{subgraph_id}/info';
6394
6501
  };
6395
6502
 
6396
- export type DeleteSubgraphErrors = {
6503
+ export type GetSubgraphInfoErrors = {
6397
6504
  /**
6398
- * Invalid subgraph identifier
6505
+ * Not a valid subgraph
6399
6506
  */
6400
6507
  400: unknown;
6401
6508
  /**
@@ -6403,17 +6510,13 @@ export type DeleteSubgraphErrors = {
6403
6510
  */
6404
6511
  401: unknown;
6405
6512
  /**
6406
- * Insufficient permissions
6513
+ * Access denied
6407
6514
  */
6408
6515
  403: unknown;
6409
6516
  /**
6410
6517
  * Subgraph not found
6411
6518
  */
6412
6519
  404: unknown;
6413
- /**
6414
- * Subgraph contains data (use force=true)
6415
- */
6416
- 409: unknown;
6417
6520
  /**
6418
6521
  * Validation Error
6419
6522
  */
@@ -6424,16 +6527,16 @@ export type DeleteSubgraphErrors = {
6424
6527
  500: unknown;
6425
6528
  };
6426
6529
 
6427
- export type DeleteSubgraphError = DeleteSubgraphErrors[keyof DeleteSubgraphErrors];
6530
+ export type GetSubgraphInfoError = GetSubgraphInfoErrors[keyof GetSubgraphInfoErrors];
6428
6531
 
6429
- export type DeleteSubgraphResponses = {
6532
+ export type GetSubgraphInfoResponses = {
6430
6533
  /**
6431
- * Subgraph deleted successfully
6534
+ * Subgraph information retrieved
6432
6535
  */
6433
- 200: DeleteSubgraphResponse;
6536
+ 200: SubgraphResponse;
6434
6537
  };
6435
6538
 
6436
- export type DeleteSubgraphResponse2 = DeleteSubgraphResponses[keyof DeleteSubgraphResponses];
6539
+ export type GetSubgraphInfoResponse = GetSubgraphInfoResponses[keyof GetSubgraphInfoResponses];
6437
6540
 
6438
6541
  export type GetSubgraphQuotaData = {
6439
6542
  body?: never;
@@ -6488,8 +6591,11 @@ export type GetSubgraphQuotaResponses = {
6488
6591
 
6489
6592
  export type GetSubgraphQuotaResponse = GetSubgraphQuotaResponses[keyof GetSubgraphQuotaResponses];
6490
6593
 
6491
- export type GetSubgraphInfoData = {
6492
- body?: never;
6594
+ export type CopyDataToGraphData = {
6595
+ /**
6596
+ * Request
6597
+ */
6598
+ body: S3CopyRequest | UrlCopyRequest | DataFrameCopyRequest;
6493
6599
  headers?: {
6494
6600
  /**
6495
6601
  * Authorization
@@ -6499,56 +6605,59 @@ export type GetSubgraphInfoData = {
6499
6605
  path: {
6500
6606
  /**
6501
6607
  * Graph Id
6502
- * Parent graph identifier
6608
+ * Target graph identifier (user graphs only - shared repositories not allowed)
6503
6609
  */
6504
6610
  graph_id: string;
6505
- /**
6506
- * Subgraph Name
6507
- * Subgraph name
6508
- */
6509
- subgraph_name: string;
6510
6611
  };
6511
6612
  query?: never;
6512
- url: '/v1/{graph_id}/subgraphs/{subgraph_name}/info';
6613
+ url: '/v1/{graph_id}/copy';
6513
6614
  };
6514
6615
 
6515
- export type GetSubgraphInfoErrors = {
6616
+ export type CopyDataToGraphErrors = {
6516
6617
  /**
6517
- * Not a valid subgraph
6618
+ * Invalid request parameters
6518
6619
  */
6519
6620
  400: unknown;
6520
6621
  /**
6521
- * Not authenticated
6522
- */
6523
- 401: unknown;
6524
- /**
6525
- * Access denied
6622
+ * Access denied or shared repository
6526
6623
  */
6527
6624
  403: unknown;
6528
6625
  /**
6529
- * Subgraph not found
6626
+ * Operation timeout
6530
6627
  */
6531
- 404: unknown;
6628
+ 408: unknown;
6532
6629
  /**
6533
6630
  * Validation Error
6534
6631
  */
6535
6632
  422: HttpValidationError;
6536
6633
  /**
6537
- * Internal server error
6634
+ * Rate limit exceeded
6635
+ */
6636
+ 429: unknown;
6637
+ /**
6638
+ * Internal error
6538
6639
  */
6539
6640
  500: unknown;
6641
+ /**
6642
+ * Service unavailable
6643
+ */
6644
+ 503: unknown;
6540
6645
  };
6541
6646
 
6542
- export type GetSubgraphInfoError = GetSubgraphInfoErrors[keyof GetSubgraphInfoErrors];
6647
+ export type CopyDataToGraphError = CopyDataToGraphErrors[keyof CopyDataToGraphErrors];
6543
6648
 
6544
- export type GetSubgraphInfoResponses = {
6649
+ export type CopyDataToGraphResponses = {
6545
6650
  /**
6546
- * Subgraph information retrieved
6651
+ * Copy operation accepted and started
6547
6652
  */
6548
- 200: SubgraphResponse;
6653
+ 200: CopyResponse;
6654
+ /**
6655
+ * Copy operation queued for execution
6656
+ */
6657
+ 202: unknown;
6549
6658
  };
6550
6659
 
6551
- export type GetSubgraphInfoResponse = GetSubgraphInfoResponses[keyof GetSubgraphInfoResponses];
6660
+ export type CopyDataToGraphResponse = CopyDataToGraphResponses[keyof CopyDataToGraphResponses];
6552
6661
 
6553
6662
  export type CreateGraphData = {
6554
6663
  body: CreateGraphRequest;