@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.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,60 @@ 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';
624
+ /**
625
+ * Source Type
626
+ * Type of source that was copied from
627
+ */
628
+ source_type: string;
629
+ /**
630
+ * Execution Time Ms
631
+ * Total execution time in milliseconds
632
+ */
633
+ execution_time_ms: number;
634
+ /**
635
+ * Message
636
+ * Human-readable status message
637
+ */
638
+ message: string;
639
+ /**
640
+ * Rows Imported
641
+ * Number of rows successfully imported
642
+ */
643
+ rows_imported?: number | null;
644
+ /**
645
+ * Rows Skipped
646
+ * Number of rows skipped due to errors (when ignore_errors=true)
647
+ */
648
+ rows_skipped?: number | null;
649
+ /**
650
+ * Warnings
651
+ * List of warnings encountered during import
652
+ */
653
+ warnings?: Array<string> | null;
654
+ /**
655
+ * Error Details
656
+ * Detailed error information if operation failed
657
+ */
658
+ error_details?: {
659
+ [key: string]: unknown;
660
+ } | null;
661
+ /**
662
+ * Bytes Processed
663
+ * Total bytes processed from source
664
+ */
665
+ bytes_processed?: number | null;
666
+ };
667
+
631
668
  /**
632
669
  * CreateAPIKeyRequest
633
670
  * Request model for creating a new API key.
@@ -748,23 +785,6 @@ export type CreateSubgraphRequest = {
748
785
  } | null;
749
786
  };
750
787
 
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
788
  /**
769
789
  * CreditSummary
770
790
  * Credit balance summary.
@@ -958,6 +978,48 @@ export type CypherQueryRequest = {
958
978
  timeout?: number | null;
959
979
  };
960
980
 
981
+ /**
982
+ * DataFrameCopyRequest
983
+ * Request model for DataFrame copy operations (future).
984
+ */
985
+ export type DataFrameCopyRequest = {
986
+ /**
987
+ * Table Name
988
+ * Target Kuzu table name
989
+ */
990
+ table_name: string;
991
+ /**
992
+ * Ignore Errors
993
+ * Skip duplicate/invalid rows (enables upsert-like behavior)
994
+ */
995
+ ignore_errors?: boolean;
996
+ /**
997
+ * Extended Timeout
998
+ * Use extended timeout for large datasets
999
+ */
1000
+ extended_timeout?: boolean;
1001
+ /**
1002
+ * Validate Schema
1003
+ * Validate source schema against target table
1004
+ */
1005
+ validate_schema?: boolean;
1006
+ /**
1007
+ * Source Type
1008
+ * Source type identifier
1009
+ */
1010
+ source_type?: 'dataframe';
1011
+ /**
1012
+ * Data Reference
1013
+ * Reference to uploaded DataFrame data
1014
+ */
1015
+ data_reference: string;
1016
+ /**
1017
+ * Format
1018
+ * DataFrame format
1019
+ */
1020
+ format?: 'pandas' | 'polars' | 'arrow';
1021
+ };
1022
+
961
1023
  /**
962
1024
  * DatabaseHealthResponse
963
1025
  * Response model for database health check.
@@ -1931,6 +1993,113 @@ export type RepositoryType = 'sec' | 'industry' | 'economic';
1931
1993
  */
1932
1994
  export type ResponseMode = 'auto' | 'sync' | 'async' | 'stream';
1933
1995
 
1996
+ /**
1997
+ * S3CopyRequest
1998
+ * Request model for S3 copy operations.
1999
+ */
2000
+ export type S3CopyRequest = {
2001
+ /**
2002
+ * Table Name
2003
+ * Target Kuzu table name
2004
+ */
2005
+ table_name: string;
2006
+ /**
2007
+ * Ignore Errors
2008
+ * Skip duplicate/invalid rows (enables upsert-like behavior)
2009
+ */
2010
+ ignore_errors?: boolean;
2011
+ /**
2012
+ * Extended Timeout
2013
+ * Use extended timeout for large datasets
2014
+ */
2015
+ extended_timeout?: boolean;
2016
+ /**
2017
+ * Validate Schema
2018
+ * Validate source schema against target table
2019
+ */
2020
+ validate_schema?: boolean;
2021
+ /**
2022
+ * Source Type
2023
+ * Source type identifier
2024
+ */
2025
+ source_type?: 's3';
2026
+ /**
2027
+ * S3 Path
2028
+ * Full S3 path (s3://bucket/key or s3://bucket/prefix*.parquet)
2029
+ */
2030
+ s3_path: string;
2031
+ /**
2032
+ * S3 Access Key Id
2033
+ * AWS access key ID for S3 access
2034
+ */
2035
+ s3_access_key_id: string;
2036
+ /**
2037
+ * S3 Secret Access Key
2038
+ * AWS secret access key for S3 access
2039
+ */
2040
+ s3_secret_access_key: string;
2041
+ /**
2042
+ * S3 Session Token
2043
+ * AWS session token (for temporary credentials)
2044
+ */
2045
+ s3_session_token?: string | null;
2046
+ /**
2047
+ * S3 Region
2048
+ * S3 region
2049
+ */
2050
+ s3_region?: string | null;
2051
+ /**
2052
+ * S3 Endpoint
2053
+ * Custom S3 endpoint (for S3-compatible storage)
2054
+ */
2055
+ s3_endpoint?: string | null;
2056
+ /**
2057
+ * S3 Url Style
2058
+ * S3 URL style (vhost or path)
2059
+ */
2060
+ s3_url_style?: ('vhost' | 'path') | null;
2061
+ /**
2062
+ * File Format
2063
+ * File format of the S3 data
2064
+ */
2065
+ file_format?: 'parquet' | 'csv' | 'json' | 'delta' | 'iceberg';
2066
+ /**
2067
+ * Csv Delimiter
2068
+ * CSV delimiter
2069
+ */
2070
+ csv_delimiter?: string | null;
2071
+ /**
2072
+ * Csv Header
2073
+ * CSV has header row
2074
+ */
2075
+ csv_header?: boolean | null;
2076
+ /**
2077
+ * Csv Quote
2078
+ * CSV quote character
2079
+ */
2080
+ csv_quote?: string | null;
2081
+ /**
2082
+ * Csv Escape
2083
+ * CSV escape character
2084
+ */
2085
+ csv_escape?: string | null;
2086
+ /**
2087
+ * Csv Skip
2088
+ * Number of rows to skip
2089
+ */
2090
+ csv_skip?: number | null;
2091
+ /**
2092
+ * Allow Moved Paths
2093
+ * Allow moved paths for Iceberg tables
2094
+ */
2095
+ allow_moved_paths?: boolean | null;
2096
+ /**
2097
+ * Max File Size Gb
2098
+ * Maximum total file size limit in GB
2099
+ */
2100
+ max_file_size_gb?: number | null;
2101
+ };
2102
+
1934
2103
  /**
1935
2104
  * SECConnectionConfig
1936
2105
  * SEC-specific connection configuration.
@@ -2534,6 +2703,55 @@ export type TransactionSummaryResponse = {
2534
2703
  last_transaction?: string | null;
2535
2704
  };
2536
2705
 
2706
+ /**
2707
+ * URLCopyRequest
2708
+ * Request model for URL copy operations (future).
2709
+ */
2710
+ export type UrlCopyRequest = {
2711
+ /**
2712
+ * Table Name
2713
+ * Target Kuzu table name
2714
+ */
2715
+ table_name: string;
2716
+ /**
2717
+ * Ignore Errors
2718
+ * Skip duplicate/invalid rows (enables upsert-like behavior)
2719
+ */
2720
+ ignore_errors?: boolean;
2721
+ /**
2722
+ * Extended Timeout
2723
+ * Use extended timeout for large datasets
2724
+ */
2725
+ extended_timeout?: boolean;
2726
+ /**
2727
+ * Validate Schema
2728
+ * Validate source schema against target table
2729
+ */
2730
+ validate_schema?: boolean;
2731
+ /**
2732
+ * Source Type
2733
+ * Source type identifier
2734
+ */
2735
+ source_type?: 'url';
2736
+ /**
2737
+ * Url
2738
+ * HTTP(S) URL to the data file
2739
+ */
2740
+ url: string;
2741
+ /**
2742
+ * File Format
2743
+ * File format of the URL data
2744
+ */
2745
+ file_format: 'parquet' | 'csv' | 'json';
2746
+ /**
2747
+ * Headers
2748
+ * Optional HTTP headers for authentication
2749
+ */
2750
+ headers?: {
2751
+ [key: string]: string;
2752
+ } | null;
2753
+ };
2754
+
2537
2755
  /**
2538
2756
  * UpdateAPIKeyRequest
2539
2757
  * Request model for updating an API key.
@@ -2590,21 +2808,6 @@ export type UpdateUserRequest = {
2590
2808
  email?: string | null;
2591
2809
  };
2592
2810
 
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
2811
  /**
2609
2812
  * UserAnalyticsResponse
2610
2813
  * Response model for comprehensive user analytics.
@@ -3168,20 +3371,6 @@ export type CompleteSsoAuthResponses = {
3168
3371
 
3169
3372
  export type CompleteSsoAuthResponse = CompleteSsoAuthResponses[keyof CompleteSsoAuthResponses];
3170
3373
 
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
3374
  export type GetPasswordPolicyData = {
3186
3375
  body?: never;
3187
3376
  path?: never;
@@ -3223,6 +3412,20 @@ export type CheckPasswordStrengthResponses = {
3223
3412
 
3224
3413
  export type CheckPasswordStrengthResponse = CheckPasswordStrengthResponses[keyof CheckPasswordStrengthResponses];
3225
3414
 
3415
+ export type GetCaptchaConfigData = {
3416
+ body?: never;
3417
+ path?: never;
3418
+ query?: never;
3419
+ url: '/v1/auth/captcha/config';
3420
+ };
3421
+
3422
+ export type GetCaptchaConfigResponses = {
3423
+ /**
3424
+ * CAPTCHA configuration
3425
+ */
3426
+ 200: unknown;
3427
+ };
3428
+
3226
3429
  export type GetServiceStatusData = {
3227
3430
  body?: never;
3228
3431
  path?: never;
@@ -3390,7 +3593,7 @@ export type GetAllCreditSummariesData = {
3390
3593
  };
3391
3594
  path?: never;
3392
3595
  query?: never;
3393
- url: '/v1/user/credits/summary';
3596
+ url: '/v1/user/credits';
3394
3597
  };
3395
3598
 
3396
3599
  export type GetAllCreditSummariesErrors = {
@@ -3669,7 +3872,7 @@ export type GetUserUsageResponses = {
3669
3872
 
3670
3873
  export type GetUserUsageResponse = GetUserUsageResponses[keyof GetUserUsageResponses];
3671
3874
 
3672
- export type GetSharedRepositoryLimitsData = {
3875
+ export type GetAllSharedRepositoryLimitsData = {
3673
3876
  body?: never;
3674
3877
  headers?: {
3675
3878
  /**
@@ -3677,29 +3880,23 @@ export type GetSharedRepositoryLimitsData = {
3677
3880
  */
3678
3881
  authorization?: string | null;
3679
3882
  };
3680
- path: {
3681
- /**
3682
- * Repository
3683
- * Repository name (e.g., 'sec')
3684
- */
3685
- repository: string;
3686
- };
3883
+ path?: never;
3687
3884
  query?: never;
3688
- url: '/v1/user/limits/shared-repositories/{repository}';
3885
+ url: '/v1/user/limits/shared-repositories/summary';
3689
3886
  };
3690
3887
 
3691
- export type GetSharedRepositoryLimitsErrors = {
3888
+ export type GetAllSharedRepositoryLimitsErrors = {
3692
3889
  /**
3693
3890
  * Validation Error
3694
3891
  */
3695
3892
  422: HttpValidationError;
3696
3893
  };
3697
3894
 
3698
- export type GetSharedRepositoryLimitsError = GetSharedRepositoryLimitsErrors[keyof GetSharedRepositoryLimitsErrors];
3895
+ export type GetAllSharedRepositoryLimitsError = GetAllSharedRepositoryLimitsErrors[keyof GetAllSharedRepositoryLimitsErrors];
3699
3896
 
3700
- export type GetSharedRepositoryLimitsResponses = {
3897
+ export type GetAllSharedRepositoryLimitsResponses = {
3701
3898
  /**
3702
- * Response Getsharedrepositorylimits
3899
+ * Response Getallsharedrepositorylimits
3703
3900
  * Successful Response
3704
3901
  */
3705
3902
  200: {
@@ -3707,9 +3904,9 @@ export type GetSharedRepositoryLimitsResponses = {
3707
3904
  };
3708
3905
  };
3709
3906
 
3710
- export type GetSharedRepositoryLimitsResponse = GetSharedRepositoryLimitsResponses[keyof GetSharedRepositoryLimitsResponses];
3907
+ export type GetAllSharedRepositoryLimitsResponse = GetAllSharedRepositoryLimitsResponses[keyof GetAllSharedRepositoryLimitsResponses];
3711
3908
 
3712
- export type GetAllSharedRepositoryLimitsData = {
3909
+ export type GetSharedRepositoryLimitsData = {
3713
3910
  body?: never;
3714
3911
  headers?: {
3715
3912
  /**
@@ -3717,23 +3914,29 @@ export type GetAllSharedRepositoryLimitsData = {
3717
3914
  */
3718
3915
  authorization?: string | null;
3719
3916
  };
3720
- path?: never;
3917
+ path: {
3918
+ /**
3919
+ * Repository
3920
+ * Repository name (e.g., 'sec')
3921
+ */
3922
+ repository: string;
3923
+ };
3721
3924
  query?: never;
3722
- url: '/v1/user/limits/shared-repositories/summary';
3925
+ url: '/v1/user/limits/shared-repositories/{repository}';
3723
3926
  };
3724
3927
 
3725
- export type GetAllSharedRepositoryLimitsErrors = {
3928
+ export type GetSharedRepositoryLimitsErrors = {
3726
3929
  /**
3727
3930
  * Validation Error
3728
3931
  */
3729
3932
  422: HttpValidationError;
3730
3933
  };
3731
3934
 
3732
- export type GetAllSharedRepositoryLimitsError = GetAllSharedRepositoryLimitsErrors[keyof GetAllSharedRepositoryLimitsErrors];
3935
+ export type GetSharedRepositoryLimitsError = GetSharedRepositoryLimitsErrors[keyof GetSharedRepositoryLimitsErrors];
3733
3936
 
3734
- export type GetAllSharedRepositoryLimitsResponses = {
3937
+ export type GetSharedRepositoryLimitsResponses = {
3735
3938
  /**
3736
- * Response Getallsharedrepositorylimits
3939
+ * Response Getsharedrepositorylimits
3737
3940
  * Successful Response
3738
3941
  */
3739
3942
  200: {
@@ -3741,7 +3944,7 @@ export type GetAllSharedRepositoryLimitsResponses = {
3741
3944
  };
3742
3945
  };
3743
3946
 
3744
- export type GetAllSharedRepositoryLimitsResponse = GetAllSharedRepositoryLimitsResponses[keyof GetAllSharedRepositoryLimitsResponses];
3947
+ export type GetSharedRepositoryLimitsResponse = GetSharedRepositoryLimitsResponses[keyof GetSharedRepositoryLimitsResponses];
3745
3948
 
3746
3949
  export type GetUserUsageOverviewData = {
3747
3950
  body?: never;
@@ -4085,7 +4288,7 @@ export type GetRepositoryCreditsResponses = {
4085
4288
 
4086
4289
  export type GetRepositoryCreditsResponse = GetRepositoryCreditsResponses[keyof GetRepositoryCreditsResponses];
4087
4290
 
4088
- export type GetConnectionOptionsData = {
4291
+ export type ListConnectionsData = {
4089
4292
  body?: never;
4090
4293
  headers?: {
4091
4294
  /**
@@ -4100,11 +4303,22 @@ export type GetConnectionOptionsData = {
4100
4303
  */
4101
4304
  graph_id: string;
4102
4305
  };
4103
- query?: never;
4104
- url: '/v1/{graph_id}/connections/options';
4306
+ query?: {
4307
+ /**
4308
+ * Entity Id
4309
+ * Filter by entity ID
4310
+ */
4311
+ entity_id?: string | null;
4312
+ /**
4313
+ * Provider
4314
+ * Filter by provider type
4315
+ */
4316
+ provider?: ('sec' | 'quickbooks' | 'plaid') | null;
4317
+ };
4318
+ url: '/v1/{graph_id}/connections';
4105
4319
  };
4106
4320
 
4107
- export type GetConnectionOptionsErrors = {
4321
+ export type ListConnectionsErrors = {
4108
4322
  /**
4109
4323
  * Access denied to graph
4110
4324
  */
@@ -4114,81 +4328,25 @@ export type GetConnectionOptionsErrors = {
4114
4328
  */
4115
4329
  422: HttpValidationError;
4116
4330
  /**
4117
- * Failed to retrieve options
4331
+ * Failed to list connections
4118
4332
  */
4119
4333
  500: ErrorResponse;
4120
4334
  };
4121
4335
 
4122
- export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
4336
+ export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
4123
4337
 
4124
- export type GetConnectionOptionsResponses = {
4338
+ export type ListConnectionsResponses = {
4125
4339
  /**
4126
- * Connection options retrieved successfully
4340
+ * Response Listconnections
4341
+ * Connections retrieved successfully
4127
4342
  */
4128
- 200: ConnectionOptionsResponse;
4343
+ 200: Array<ConnectionResponse>;
4129
4344
  };
4130
4345
 
4131
- export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
4346
+ export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
4132
4347
 
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];
4189
-
4190
- export type CreateConnectionData = {
4191
- body: CreateConnectionRequest;
4348
+ export type CreateConnectionData = {
4349
+ body: CreateConnectionRequest;
4192
4350
  headers?: {
4193
4351
  /**
4194
4352
  * Authorization
@@ -4348,6 +4506,51 @@ export type GetConnectionResponses = {
4348
4506
 
4349
4507
  export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
4350
4508
 
4509
+ export type GetConnectionOptionsData = {
4510
+ body?: never;
4511
+ headers?: {
4512
+ /**
4513
+ * Authorization
4514
+ */
4515
+ authorization?: string | null;
4516
+ };
4517
+ path: {
4518
+ /**
4519
+ * Graph Id
4520
+ * Graph database identifier
4521
+ */
4522
+ graph_id: string;
4523
+ };
4524
+ query?: never;
4525
+ url: '/v1/{graph_id}/connections/options';
4526
+ };
4527
+
4528
+ export type GetConnectionOptionsErrors = {
4529
+ /**
4530
+ * Access denied to graph
4531
+ */
4532
+ 403: ErrorResponse;
4533
+ /**
4534
+ * Validation Error
4535
+ */
4536
+ 422: HttpValidationError;
4537
+ /**
4538
+ * Failed to retrieve options
4539
+ */
4540
+ 500: ErrorResponse;
4541
+ };
4542
+
4543
+ export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
4544
+
4545
+ export type GetConnectionOptionsResponses = {
4546
+ /**
4547
+ * Connection options retrieved successfully
4548
+ */
4549
+ 200: ConnectionOptionsResponse;
4550
+ };
4551
+
4552
+ export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
4553
+
4351
4554
  export type SyncConnectionData = {
4352
4555
  body?: SyncConnectionRequest;
4353
4556
  headers?: {
@@ -4767,6 +4970,54 @@ export type CallMcpToolResponses = {
4767
4970
  202: unknown;
4768
4971
  };
4769
4972
 
4973
+ export type ListBackupsData = {
4974
+ body?: never;
4975
+ headers?: {
4976
+ /**
4977
+ * Authorization
4978
+ */
4979
+ authorization?: string | null;
4980
+ };
4981
+ path: {
4982
+ /**
4983
+ * Graph Id
4984
+ * Graph database identifier
4985
+ */
4986
+ graph_id: string;
4987
+ };
4988
+ query?: {
4989
+ /**
4990
+ * Limit
4991
+ * Maximum number of backups to return
4992
+ */
4993
+ limit?: number;
4994
+ /**
4995
+ * Offset
4996
+ * Number of backups to skip
4997
+ */
4998
+ offset?: number;
4999
+ };
5000
+ url: '/v1/{graph_id}/backups';
5001
+ };
5002
+
5003
+ export type ListBackupsErrors = {
5004
+ /**
5005
+ * Validation Error
5006
+ */
5007
+ 422: HttpValidationError;
5008
+ };
5009
+
5010
+ export type ListBackupsError = ListBackupsErrors[keyof ListBackupsErrors];
5011
+
5012
+ export type ListBackupsResponses = {
5013
+ /**
5014
+ * Successful Response
5015
+ */
5016
+ 200: BackupListResponse;
5017
+ };
5018
+
5019
+ export type ListBackupsResponse = ListBackupsResponses[keyof ListBackupsResponses];
5020
+
4770
5021
  export type CreateBackupData = {
4771
5022
  body: BackupCreateRequest;
4772
5023
  headers?: {
@@ -4783,7 +5034,7 @@ export type CreateBackupData = {
4783
5034
  graph_id: string;
4784
5035
  };
4785
5036
  query?: never;
4786
- url: '/v1/{graph_id}/backup/create';
5037
+ url: '/v1/{graph_id}/backups';
4787
5038
  };
4788
5039
 
4789
5040
  export type CreateBackupErrors = {
@@ -4818,50 +5069,56 @@ export type CreateBackupResponses = {
4818
5069
  202: unknown;
4819
5070
  };
4820
5071
 
4821
- export type ListBackupsData = {
5072
+ export type ExportBackupData = {
4822
5073
  body?: never;
4823
- path: {
5074
+ headers?: {
4824
5075
  /**
4825
- * Graph Id
4826
- * Graph database identifier
5076
+ * Authorization
4827
5077
  */
4828
- graph_id: string;
5078
+ authorization?: string | null;
4829
5079
  };
4830
- query?: {
5080
+ path: {
4831
5081
  /**
4832
- * Limit
4833
- * Maximum number of backups to return
5082
+ * Backup Id
5083
+ * Backup identifier
4834
5084
  */
4835
- limit?: number;
5085
+ backup_id: string;
4836
5086
  /**
4837
- * Offset
4838
- * Number of backups to skip
5087
+ * Graph Id
5088
+ * Graph database identifier
4839
5089
  */
4840
- offset?: number;
5090
+ graph_id: string;
4841
5091
  };
4842
- url: '/v1/{graph_id}/backup/list';
5092
+ query?: never;
5093
+ url: '/v1/{graph_id}/backups/{backup_id}/export';
4843
5094
  };
4844
5095
 
4845
- export type ListBackupsErrors = {
5096
+ export type ExportBackupErrors = {
5097
+ /**
5098
+ * Access denied or backup is encrypted
5099
+ */
5100
+ 403: unknown;
5101
+ /**
5102
+ * Backup not found
5103
+ */
5104
+ 404: unknown;
4846
5105
  /**
4847
5106
  * Validation Error
4848
5107
  */
4849
5108
  422: HttpValidationError;
4850
5109
  };
4851
5110
 
4852
- export type ListBackupsError = ListBackupsErrors[keyof ListBackupsErrors];
5111
+ export type ExportBackupError = ExportBackupErrors[keyof ExportBackupErrors];
4853
5112
 
4854
- export type ListBackupsResponses = {
5113
+ export type ExportBackupResponses = {
4855
5114
  /**
4856
- * Successful Response
5115
+ * Backup exported successfully
4857
5116
  */
4858
- 200: BackupListResponse;
5117
+ 200: unknown;
4859
5118
  };
4860
5119
 
4861
- export type ListBackupsResponse = ListBackupsResponses[keyof ListBackupsResponses];
4862
-
4863
- export type ExportBackupData = {
4864
- body: BackupExportRequest;
5120
+ export type GetBackupDownloadUrlData = {
5121
+ body?: never;
4865
5122
  headers?: {
4866
5123
  /**
4867
5124
  * Authorization
@@ -4869,17 +5126,28 @@ export type ExportBackupData = {
4869
5126
  authorization?: string | null;
4870
5127
  };
4871
5128
  path: {
5129
+ /**
5130
+ * Backup Id
5131
+ * Backup identifier
5132
+ */
5133
+ backup_id: string;
4872
5134
  /**
4873
5135
  * Graph Id
4874
5136
  * Graph database identifier
4875
5137
  */
4876
5138
  graph_id: string;
4877
5139
  };
4878
- query?: never;
4879
- url: '/v1/{graph_id}/backup/export';
5140
+ query?: {
5141
+ /**
5142
+ * Expires In
5143
+ * URL expiration time in seconds
5144
+ */
5145
+ expires_in?: number;
5146
+ };
5147
+ url: '/v1/{graph_id}/backups/{backup_id}/download';
4880
5148
  };
4881
5149
 
4882
- export type ExportBackupErrors = {
5150
+ export type GetBackupDownloadUrlErrors = {
4883
5151
  /**
4884
5152
  * Access denied or backup is encrypted
4885
5153
  */
@@ -4892,17 +5160,26 @@ export type ExportBackupErrors = {
4892
5160
  * Validation Error
4893
5161
  */
4894
5162
  422: HttpValidationError;
5163
+ /**
5164
+ * Failed to generate download URL
5165
+ */
5166
+ 500: unknown;
4895
5167
  };
4896
5168
 
4897
- export type ExportBackupError = ExportBackupErrors[keyof ExportBackupErrors];
5169
+ export type GetBackupDownloadUrlError = GetBackupDownloadUrlErrors[keyof GetBackupDownloadUrlErrors];
4898
5170
 
4899
- export type ExportBackupResponses = {
5171
+ export type GetBackupDownloadUrlResponses = {
4900
5172
  /**
4901
- * Backup exported successfully
5173
+ * Response Getbackupdownloadurl
5174
+ * Download URL generated successfully
4902
5175
  */
4903
- 200: unknown;
5176
+ 200: {
5177
+ [key: string]: unknown;
5178
+ };
4904
5179
  };
4905
5180
 
5181
+ export type GetBackupDownloadUrlResponse = GetBackupDownloadUrlResponses[keyof GetBackupDownloadUrlResponses];
5182
+
4906
5183
  export type RestoreBackupData = {
4907
5184
  body: BackupRestoreRequest;
4908
5185
  headers?: {
@@ -4919,7 +5196,7 @@ export type RestoreBackupData = {
4919
5196
  graph_id: string;
4920
5197
  };
4921
5198
  query?: never;
4922
- url: '/v1/{graph_id}/backup/restore';
5199
+ url: '/v1/{graph_id}/backups/restore';
4923
5200
  };
4924
5201
 
4925
5202
  export type RestoreBackupErrors = {
@@ -4956,6 +5233,12 @@ export type RestoreBackupResponses = {
4956
5233
 
4957
5234
  export type GetBackupStatsData = {
4958
5235
  body?: never;
5236
+ headers?: {
5237
+ /**
5238
+ * Authorization
5239
+ */
5240
+ authorization?: string | null;
5241
+ };
4959
5242
  path: {
4960
5243
  /**
4961
5244
  * Graph Id
@@ -4964,7 +5247,7 @@ export type GetBackupStatsData = {
4964
5247
  graph_id: string;
4965
5248
  };
4966
5249
  query?: never;
4967
- url: '/v1/{graph_id}/backup/stats';
5250
+ url: '/v1/{graph_id}/backups/stats';
4968
5251
  };
4969
5252
 
4970
5253
  export type GetBackupStatsErrors = {
@@ -4985,7 +5268,7 @@ export type GetBackupStatsResponses = {
4985
5268
 
4986
5269
  export type GetBackupStatsResponse = GetBackupStatsResponses[keyof GetBackupStatsResponses];
4987
5270
 
4988
- export type KuzuBackupHealthData = {
5271
+ export type GetGraphMetricsData = {
4989
5272
  body?: never;
4990
5273
  headers?: {
4991
5274
  /**
@@ -4996,146 +5279,43 @@ export type KuzuBackupHealthData = {
4996
5279
  path: {
4997
5280
  /**
4998
5281
  * Graph Id
4999
- * Graph database identifier
5282
+ * The graph ID to get metrics for
5000
5283
  */
5001
5284
  graph_id: string;
5002
5285
  };
5003
5286
  query?: never;
5004
- url: '/v1/{graph_id}/backup/health';
5287
+ url: '/v1/{graph_id}/analytics';
5005
5288
  };
5006
5289
 
5007
- export type KuzuBackupHealthErrors = {
5290
+ export type GetGraphMetricsErrors = {
5291
+ /**
5292
+ * Access denied to graph
5293
+ */
5294
+ 403: ErrorResponse;
5295
+ /**
5296
+ * Graph not found or metrics unavailable
5297
+ */
5298
+ 404: ErrorResponse;
5008
5299
  /**
5009
5300
  * Validation Error
5010
5301
  */
5011
5302
  422: HttpValidationError;
5303
+ /**
5304
+ * Failed to retrieve metrics
5305
+ */
5306
+ 500: ErrorResponse;
5012
5307
  };
5013
5308
 
5014
- export type KuzuBackupHealthError = KuzuBackupHealthErrors[keyof KuzuBackupHealthErrors];
5309
+ export type GetGraphMetricsError = GetGraphMetricsErrors[keyof GetGraphMetricsErrors];
5015
5310
 
5016
- export type KuzuBackupHealthResponses = {
5311
+ export type GetGraphMetricsResponses = {
5017
5312
  /**
5018
- * Response Kuzubackuphealth
5019
- * Successful Response
5313
+ * Graph metrics retrieved successfully
5020
5314
  */
5021
- 200: {
5022
- [key: string]: unknown;
5023
- };
5315
+ 200: GraphMetricsResponse;
5024
5316
  };
5025
5317
 
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];
5130
-
5131
- export type GetGraphMetricsResponses = {
5132
- /**
5133
- * Graph metrics retrieved successfully
5134
- */
5135
- 200: GraphMetricsResponse;
5136
- };
5137
-
5138
- export type GetGraphMetricsResponse = GetGraphMetricsResponses[keyof GetGraphMetricsResponses];
5318
+ export type GetGraphMetricsResponse = GetGraphMetricsResponses[keyof GetGraphMetricsResponses];
5139
5319
 
5140
5320
  export type GetGraphUsageStatsData = {
5141
5321
  body?: never;
@@ -5507,7 +5687,7 @@ export type GetCurrentGraphBillResponses = {
5507
5687
 
5508
5688
  export type GetCurrentGraphBillResponse = GetCurrentGraphBillResponses[keyof GetCurrentGraphBillResponses];
5509
5689
 
5510
- export type GetGraphMonthlyBillData = {
5690
+ export type GetGraphUsageDetailsData = {
5511
5691
  body?: never;
5512
5692
  headers?: {
5513
5693
  /**
@@ -5517,26 +5697,27 @@ export type GetGraphMonthlyBillData = {
5517
5697
  };
5518
5698
  path: {
5519
5699
  /**
5520
- * Year
5521
- * Year (2024-2030)
5700
+ * Graph Id
5701
+ * Graph database identifier
5522
5702
  */
5523
- year: number;
5703
+ graph_id: string;
5704
+ };
5705
+ query?: {
5524
5706
  /**
5525
- * Month
5526
- * Month (1-12)
5707
+ * Year
5708
+ * Year (defaults to current)
5527
5709
  */
5528
- month: number;
5710
+ year?: number | null;
5529
5711
  /**
5530
- * Graph Id
5531
- * Graph database identifier
5712
+ * Month
5713
+ * Month (defaults to current)
5532
5714
  */
5533
- graph_id: string;
5715
+ month?: number | null;
5534
5716
  };
5535
- query?: never;
5536
- url: '/v1/{graph_id}/billing/history/{year}/{month}';
5717
+ url: '/v1/{graph_id}/billing/usage';
5537
5718
  };
5538
5719
 
5539
- export type GetGraphMonthlyBillErrors = {
5720
+ export type GetGraphUsageDetailsErrors = {
5540
5721
  /**
5541
5722
  * Invalid year or month
5542
5723
  */
@@ -5546,7 +5727,7 @@ export type GetGraphMonthlyBillErrors = {
5546
5727
  */
5547
5728
  403: ErrorResponse;
5548
5729
  /**
5549
- * Graph not found or no data for period
5730
+ * Graph not found
5550
5731
  */
5551
5732
  404: ErrorResponse;
5552
5733
  /**
@@ -5554,24 +5735,24 @@ export type GetGraphMonthlyBillErrors = {
5554
5735
  */
5555
5736
  422: HttpValidationError;
5556
5737
  /**
5557
- * Failed to calculate bill
5738
+ * Failed to retrieve usage
5558
5739
  */
5559
5740
  500: ErrorResponse;
5560
5741
  };
5561
5742
 
5562
- export type GetGraphMonthlyBillError = GetGraphMonthlyBillErrors[keyof GetGraphMonthlyBillErrors];
5743
+ export type GetGraphUsageDetailsError = GetGraphUsageDetailsErrors[keyof GetGraphUsageDetailsErrors];
5563
5744
 
5564
- export type GetGraphMonthlyBillResponses = {
5745
+ export type GetGraphUsageDetailsResponses = {
5565
5746
  /**
5566
- * Response Getgraphmonthlybill
5567
- * Monthly bill retrieved successfully
5747
+ * Response Getgraphusagedetails
5748
+ * Usage details retrieved successfully
5568
5749
  */
5569
5750
  200: {
5570
5751
  [key: string]: unknown;
5571
5752
  };
5572
5753
  };
5573
5754
 
5574
- export type GetGraphMonthlyBillResponse = GetGraphMonthlyBillResponses[keyof GetGraphMonthlyBillResponses];
5755
+ export type GetGraphUsageDetailsResponse = GetGraphUsageDetailsResponses[keyof GetGraphUsageDetailsResponses];
5575
5756
 
5576
5757
  export type GetGraphBillingHistoryData = {
5577
5758
  body?: never;
@@ -5631,7 +5812,7 @@ export type GetGraphBillingHistoryResponses = {
5631
5812
 
5632
5813
  export type GetGraphBillingHistoryResponse = GetGraphBillingHistoryResponses[keyof GetGraphBillingHistoryResponses];
5633
5814
 
5634
- export type GetGraphUsageDetailsData = {
5815
+ export type GetGraphMonthlyBillData = {
5635
5816
  body?: never;
5636
5817
  headers?: {
5637
5818
  /**
@@ -5640,28 +5821,27 @@ export type GetGraphUsageDetailsData = {
5640
5821
  authorization?: string | null;
5641
5822
  };
5642
5823
  path: {
5643
- /**
5644
- * Graph Id
5645
- * Graph database identifier
5646
- */
5647
- graph_id: string;
5648
- };
5649
- query?: {
5650
5824
  /**
5651
5825
  * Year
5652
- * Year (defaults to current)
5826
+ * Year (2024-2030)
5653
5827
  */
5654
- year?: number | null;
5828
+ year: number;
5655
5829
  /**
5656
5830
  * Month
5657
- * Month (defaults to current)
5831
+ * Month (1-12)
5658
5832
  */
5659
- month?: number | null;
5833
+ month: number;
5834
+ /**
5835
+ * Graph Id
5836
+ * Graph database identifier
5837
+ */
5838
+ graph_id: string;
5660
5839
  };
5661
- url: '/v1/{graph_id}/billing/usage';
5840
+ query?: never;
5841
+ url: '/v1/{graph_id}/billing/history/{year}/{month}';
5662
5842
  };
5663
5843
 
5664
- export type GetGraphUsageDetailsErrors = {
5844
+ export type GetGraphMonthlyBillErrors = {
5665
5845
  /**
5666
5846
  * Invalid year or month
5667
5847
  */
@@ -5671,7 +5851,7 @@ export type GetGraphUsageDetailsErrors = {
5671
5851
  */
5672
5852
  403: ErrorResponse;
5673
5853
  /**
5674
- * Graph not found
5854
+ * Graph not found or no data for period
5675
5855
  */
5676
5856
  404: ErrorResponse;
5677
5857
  /**
@@ -5679,199 +5859,24 @@ export type GetGraphUsageDetailsErrors = {
5679
5859
  */
5680
5860
  422: HttpValidationError;
5681
5861
  /**
5682
- * Failed to retrieve usage
5862
+ * Failed to calculate bill
5683
5863
  */
5684
5864
  500: ErrorResponse;
5685
5865
  };
5686
5866
 
5687
- export type GetGraphUsageDetailsError = GetGraphUsageDetailsErrors[keyof GetGraphUsageDetailsErrors];
5867
+ export type GetGraphMonthlyBillError = GetGraphMonthlyBillErrors[keyof GetGraphMonthlyBillErrors];
5688
5868
 
5689
- export type GetGraphUsageDetailsResponses = {
5869
+ export type GetGraphMonthlyBillResponses = {
5690
5870
  /**
5691
- * Response Getgraphusagedetails
5692
- * Usage details retrieved successfully
5871
+ * Response Getgraphmonthlybill
5872
+ * Monthly bill retrieved successfully
5693
5873
  */
5694
5874
  200: {
5695
5875
  [key: string]: unknown;
5696
5876
  };
5697
5877
  };
5698
5878
 
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
- };
5879
+ export type GetGraphMonthlyBillResponse = GetGraphMonthlyBillResponses[keyof GetGraphMonthlyBillResponses];
5875
5880
 
5876
5881
  export type GetCreditSummaryData = {
5877
5882
  body?: never;
@@ -6003,7 +6008,7 @@ export type ListCreditTransactionsResponses = {
6003
6008
  export type ListCreditTransactionsResponse = ListCreditTransactionsResponses[keyof ListCreditTransactionsResponses];
6004
6009
 
6005
6010
  export type CheckCreditBalanceData = {
6006
- body: CreditCheckRequest;
6011
+ body?: never;
6007
6012
  headers?: {
6008
6013
  /**
6009
6014
  * Authorization
@@ -6017,8 +6022,19 @@ export type CheckCreditBalanceData = {
6017
6022
  */
6018
6023
  graph_id: string;
6019
6024
  };
6020
- query?: never;
6021
- url: '/v1/{graph_id}/credits/check';
6025
+ query: {
6026
+ /**
6027
+ * Operation Type
6028
+ * Type of operation to check
6029
+ */
6030
+ operation_type: string;
6031
+ /**
6032
+ * Base Cost
6033
+ * Custom base cost (uses default if not provided)
6034
+ */
6035
+ base_cost?: number | null;
6036
+ };
6037
+ url: '/v1/{graph_id}/credits/balance/check';
6022
6038
  };
6023
6039
 
6024
6040
  export type CheckCreditBalanceErrors = {
@@ -6173,7 +6189,7 @@ export type GetDatabaseHealthData = {
6173
6189
  graph_id: string;
6174
6190
  };
6175
6191
  query?: never;
6176
- url: '/v1/{graph_id}/status/health';
6192
+ url: '/v1/{graph_id}/health';
6177
6193
  };
6178
6194
 
6179
6195
  export type GetDatabaseHealthErrors = {
@@ -6222,7 +6238,7 @@ export type GetDatabaseInfoData = {
6222
6238
  graph_id: string;
6223
6239
  };
6224
6240
  query?: never;
6225
- url: '/v1/{graph_id}/status/info';
6241
+ url: '/v1/{graph_id}/info';
6226
6242
  };
6227
6243
 
6228
6244
  export type GetDatabaseInfoErrors = {
@@ -6255,7 +6271,7 @@ export type GetDatabaseInfoResponses = {
6255
6271
 
6256
6272
  export type GetDatabaseInfoResponse = GetDatabaseInfoResponses[keyof GetDatabaseInfoResponses];
6257
6273
 
6258
- export type ListSubgraphsData = {
6274
+ export type GetGraphLimitsData = {
6259
6275
  body?: never;
6260
6276
  headers?: {
6261
6277
  /**
@@ -6266,25 +6282,21 @@ export type ListSubgraphsData = {
6266
6282
  path: {
6267
6283
  /**
6268
6284
  * Graph Id
6269
- * Parent graph identifier
6285
+ * Graph database identifier (user graph or shared repository)
6270
6286
  */
6271
6287
  graph_id: string;
6272
6288
  };
6273
6289
  query?: never;
6274
- url: '/v1/{graph_id}/subgraphs';
6290
+ url: '/v1/{graph_id}/limits';
6275
6291
  };
6276
6292
 
6277
- export type ListSubgraphsErrors = {
6278
- /**
6279
- * Not authenticated
6280
- */
6281
- 401: unknown;
6293
+ export type GetGraphLimitsErrors = {
6282
6294
  /**
6283
- * Access denied to parent graph
6295
+ * Access denied to graph
6284
6296
  */
6285
6297
  403: unknown;
6286
6298
  /**
6287
- * Parent graph not found
6299
+ * Graph not found
6288
6300
  */
6289
6301
  404: unknown;
6290
6302
  /**
@@ -6292,16 +6304,56 @@ export type ListSubgraphsErrors = {
6292
6304
  */
6293
6305
  422: HttpValidationError;
6294
6306
  /**
6295
- * Internal server error
6307
+ * Failed to retrieve limits
6296
6308
  */
6297
6309
  500: unknown;
6298
6310
  };
6299
6311
 
6312
+ export type GetGraphLimitsError = GetGraphLimitsErrors[keyof GetGraphLimitsErrors];
6313
+
6314
+ export type GetGraphLimitsResponses = {
6315
+ /**
6316
+ * Response Getgraphlimits
6317
+ * Limits retrieved successfully
6318
+ */
6319
+ 200: {
6320
+ [key: string]: unknown;
6321
+ };
6322
+ };
6323
+
6324
+ export type GetGraphLimitsResponse = GetGraphLimitsResponses[keyof GetGraphLimitsResponses];
6325
+
6326
+ export type ListSubgraphsData = {
6327
+ body?: never;
6328
+ headers?: {
6329
+ /**
6330
+ * Authorization
6331
+ */
6332
+ authorization?: string | null;
6333
+ };
6334
+ path: {
6335
+ /**
6336
+ * Graph Id
6337
+ * Parent graph ID (e.g., 'kg1a2b3c4d5')
6338
+ */
6339
+ graph_id: string;
6340
+ };
6341
+ query?: never;
6342
+ url: '/v1/{graph_id}/subgraphs';
6343
+ };
6344
+
6345
+ export type ListSubgraphsErrors = {
6346
+ /**
6347
+ * Validation Error
6348
+ */
6349
+ 422: HttpValidationError;
6350
+ };
6351
+
6300
6352
  export type ListSubgraphsError = ListSubgraphsErrors[keyof ListSubgraphsErrors];
6301
6353
 
6302
6354
  export type ListSubgraphsResponses = {
6303
6355
  /**
6304
- * Subgraphs retrieved successfully
6356
+ * Successful Response
6305
6357
  */
6306
6358
  200: ListSubgraphsResponse;
6307
6359
  };
@@ -6319,7 +6371,7 @@ export type CreateSubgraphData = {
6319
6371
  path: {
6320
6372
  /**
6321
6373
  * Graph Id
6322
- * Parent graph identifier
6374
+ * Parent graph ID (e.g., 'kg1a2b3c4d5')
6323
6375
  */
6324
6376
  graph_id: string;
6325
6377
  };
@@ -6328,43 +6380,19 @@ export type CreateSubgraphData = {
6328
6380
  };
6329
6381
 
6330
6382
  export type CreateSubgraphErrors = {
6331
- /**
6332
- * Invalid subgraph name or configuration
6333
- */
6334
- 400: unknown;
6335
- /**
6336
- * Not authenticated
6337
- */
6338
- 401: unknown;
6339
- /**
6340
- * Insufficient permissions or tier
6341
- */
6342
- 403: unknown;
6343
- /**
6344
- * Parent graph not found
6345
- */
6346
- 404: unknown;
6347
- /**
6348
- * Subgraph name already exists
6349
- */
6350
- 409: unknown;
6351
6383
  /**
6352
6384
  * Validation Error
6353
6385
  */
6354
6386
  422: HttpValidationError;
6355
- /**
6356
- * Internal server error
6357
- */
6358
- 500: unknown;
6359
6387
  };
6360
6388
 
6361
6389
  export type CreateSubgraphError = CreateSubgraphErrors[keyof CreateSubgraphErrors];
6362
6390
 
6363
6391
  export type CreateSubgraphResponses = {
6364
6392
  /**
6365
- * Subgraph created successfully
6393
+ * Successful Response
6366
6394
  */
6367
- 200: SubgraphResponse;
6395
+ 201: SubgraphResponse;
6368
6396
  };
6369
6397
 
6370
6398
  export type CreateSubgraphResponse = CreateSubgraphResponses[keyof CreateSubgraphResponses];
@@ -6384,13 +6412,13 @@ export type DeleteSubgraphData = {
6384
6412
  */
6385
6413
  graph_id: string;
6386
6414
  /**
6387
- * Subgraph Name
6388
- * Subgraph name to delete
6415
+ * Subgraph Id
6416
+ * Subgraph identifier to delete
6389
6417
  */
6390
- subgraph_name: string;
6418
+ subgraph_id: string;
6391
6419
  };
6392
6420
  query?: never;
6393
- url: '/v1/{graph_id}/subgraphs/{subgraph_name}';
6421
+ url: '/v1/{graph_id}/subgraphs/{subgraph_id}';
6394
6422
  };
6395
6423
 
6396
6424
  export type DeleteSubgraphErrors = {
@@ -6435,7 +6463,7 @@ export type DeleteSubgraphResponses = {
6435
6463
 
6436
6464
  export type DeleteSubgraphResponse2 = DeleteSubgraphResponses[keyof DeleteSubgraphResponses];
6437
6465
 
6438
- export type GetSubgraphQuotaData = {
6466
+ export type GetSubgraphInfoData = {
6439
6467
  body?: never;
6440
6468
  headers?: {
6441
6469
  /**
@@ -6449,22 +6477,31 @@ export type GetSubgraphQuotaData = {
6449
6477
  * Parent graph identifier
6450
6478
  */
6451
6479
  graph_id: string;
6480
+ /**
6481
+ * Subgraph Id
6482
+ * Subgraph identifier
6483
+ */
6484
+ subgraph_id: string;
6452
6485
  };
6453
6486
  query?: never;
6454
- url: '/v1/{graph_id}/subgraphs/quota';
6487
+ url: '/v1/{graph_id}/subgraphs/{subgraph_id}/info';
6455
6488
  };
6456
6489
 
6457
- export type GetSubgraphQuotaErrors = {
6490
+ export type GetSubgraphInfoErrors = {
6491
+ /**
6492
+ * Not a valid subgraph
6493
+ */
6494
+ 400: unknown;
6458
6495
  /**
6459
6496
  * Not authenticated
6460
6497
  */
6461
6498
  401: unknown;
6462
6499
  /**
6463
- * Access denied to parent graph
6500
+ * Access denied
6464
6501
  */
6465
6502
  403: unknown;
6466
6503
  /**
6467
- * Parent graph not found
6504
+ * Subgraph not found
6468
6505
  */
6469
6506
  404: unknown;
6470
6507
  /**
@@ -6477,18 +6514,18 @@ export type GetSubgraphQuotaErrors = {
6477
6514
  500: unknown;
6478
6515
  };
6479
6516
 
6480
- export type GetSubgraphQuotaError = GetSubgraphQuotaErrors[keyof GetSubgraphQuotaErrors];
6517
+ export type GetSubgraphInfoError = GetSubgraphInfoErrors[keyof GetSubgraphInfoErrors];
6481
6518
 
6482
- export type GetSubgraphQuotaResponses = {
6519
+ export type GetSubgraphInfoResponses = {
6483
6520
  /**
6484
- * Quota information retrieved
6521
+ * Subgraph information retrieved
6485
6522
  */
6486
- 200: SubgraphQuotaResponse;
6523
+ 200: SubgraphResponse;
6487
6524
  };
6488
6525
 
6489
- export type GetSubgraphQuotaResponse = GetSubgraphQuotaResponses[keyof GetSubgraphQuotaResponses];
6526
+ export type GetSubgraphInfoResponse = GetSubgraphInfoResponses[keyof GetSubgraphInfoResponses];
6490
6527
 
6491
- export type GetSubgraphInfoData = {
6528
+ export type GetSubgraphQuotaData = {
6492
6529
  body?: never;
6493
6530
  headers?: {
6494
6531
  /**
@@ -6502,31 +6539,22 @@ export type GetSubgraphInfoData = {
6502
6539
  * Parent graph identifier
6503
6540
  */
6504
6541
  graph_id: string;
6505
- /**
6506
- * Subgraph Name
6507
- * Subgraph name
6508
- */
6509
- subgraph_name: string;
6510
6542
  };
6511
6543
  query?: never;
6512
- url: '/v1/{graph_id}/subgraphs/{subgraph_name}/info';
6544
+ url: '/v1/{graph_id}/subgraphs/quota';
6513
6545
  };
6514
6546
 
6515
- export type GetSubgraphInfoErrors = {
6516
- /**
6517
- * Not a valid subgraph
6518
- */
6519
- 400: unknown;
6547
+ export type GetSubgraphQuotaErrors = {
6520
6548
  /**
6521
6549
  * Not authenticated
6522
6550
  */
6523
6551
  401: unknown;
6524
6552
  /**
6525
- * Access denied
6553
+ * Access denied to parent graph
6526
6554
  */
6527
6555
  403: unknown;
6528
6556
  /**
6529
- * Subgraph not found
6557
+ * Parent graph not found
6530
6558
  */
6531
6559
  404: unknown;
6532
6560
  /**
@@ -6539,16 +6567,56 @@ export type GetSubgraphInfoErrors = {
6539
6567
  500: unknown;
6540
6568
  };
6541
6569
 
6542
- export type GetSubgraphInfoError = GetSubgraphInfoErrors[keyof GetSubgraphInfoErrors];
6570
+ export type GetSubgraphQuotaError = GetSubgraphQuotaErrors[keyof GetSubgraphQuotaErrors];
6543
6571
 
6544
- export type GetSubgraphInfoResponses = {
6572
+ export type GetSubgraphQuotaResponses = {
6545
6573
  /**
6546
- * Subgraph information retrieved
6574
+ * Quota information retrieved
6547
6575
  */
6548
- 200: SubgraphResponse;
6576
+ 200: SubgraphQuotaResponse;
6549
6577
  };
6550
6578
 
6551
- export type GetSubgraphInfoResponse = GetSubgraphInfoResponses[keyof GetSubgraphInfoResponses];
6579
+ export type GetSubgraphQuotaResponse = GetSubgraphQuotaResponses[keyof GetSubgraphQuotaResponses];
6580
+
6581
+ export type CopyDataToGraphData = {
6582
+ /**
6583
+ * Request
6584
+ */
6585
+ body: S3CopyRequest | UrlCopyRequest | DataFrameCopyRequest;
6586
+ headers?: {
6587
+ /**
6588
+ * Authorization
6589
+ */
6590
+ authorization?: string | null;
6591
+ };
6592
+ path: {
6593
+ /**
6594
+ * Graph Id
6595
+ * Target graph identifier (user graphs only - shared repositories not allowed)
6596
+ */
6597
+ graph_id: string;
6598
+ };
6599
+ query?: never;
6600
+ url: '/v1/{graph_id}/copy';
6601
+ };
6602
+
6603
+ export type CopyDataToGraphErrors = {
6604
+ /**
6605
+ * Validation Error
6606
+ */
6607
+ 422: HttpValidationError;
6608
+ };
6609
+
6610
+ export type CopyDataToGraphError = CopyDataToGraphErrors[keyof CopyDataToGraphErrors];
6611
+
6612
+ export type CopyDataToGraphResponses = {
6613
+ /**
6614
+ * Successful Response
6615
+ */
6616
+ 200: CopyResponse;
6617
+ };
6618
+
6619
+ export type CopyDataToGraphResponse = CopyDataToGraphResponses[keyof CopyDataToGraphResponses];
6552
6620
 
6553
6621
  export type CreateGraphData = {
6554
6622
  body: CreateGraphRequest;