@nexgencloud/hyperstack-sdk-typescript 1.52.0-alpha → 1.52.3-alpha

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/dist/api.d.ts CHANGED
@@ -438,6 +438,93 @@ export interface AuthUserInfoResponseModel {
438
438
  */
439
439
  'user'?: AuthUserFields;
440
440
  }
441
+ /**
442
+ *
443
+ * @export
444
+ * @interface AutoTopup
445
+ */
446
+ export interface AutoTopup {
447
+ /**
448
+ *
449
+ * @type {number}
450
+ * @memberof AutoTopup
451
+ */
452
+ 'id'?: number;
453
+ /**
454
+ *
455
+ * @type {string}
456
+ * @memberof AutoTopup
457
+ */
458
+ 'status'?: string;
459
+ /**
460
+ *
461
+ * @type {number}
462
+ * @memberof AutoTopup
463
+ */
464
+ 'threshold_amount'?: number;
465
+ /**
466
+ *
467
+ * @type {number}
468
+ * @memberof AutoTopup
469
+ */
470
+ 'topup_amount'?: number;
471
+ /**
472
+ *
473
+ * @type {string}
474
+ * @memberof AutoTopup
475
+ */
476
+ 'updated_at'?: string;
477
+ }
478
+ /**
479
+ *
480
+ * @export
481
+ * @interface AutoTopupErrorResponse
482
+ */
483
+ export interface AutoTopupErrorResponse {
484
+ /**
485
+ *
486
+ * @type {string}
487
+ * @memberof AutoTopupErrorResponse
488
+ */
489
+ 'error_reason'?: string;
490
+ /**
491
+ *
492
+ * @type {string}
493
+ * @memberof AutoTopupErrorResponse
494
+ */
495
+ 'message'?: string;
496
+ /**
497
+ *
498
+ * @type {boolean}
499
+ * @memberof AutoTopupErrorResponse
500
+ */
501
+ 'status'?: boolean;
502
+ }
503
+ /**
504
+ *
505
+ * @export
506
+ * @interface AutoTopupStatusSchema
507
+ */
508
+ export interface AutoTopupStatusSchema {
509
+ /**
510
+ * Auto top-up status: active, disabled, pending_setup, cancelled, or null
511
+ * @type {string}
512
+ * @memberof AutoTopupStatusSchema
513
+ */
514
+ 'status'?: string;
515
+ /**
516
+ * Balance threshold that triggers auto top-up
517
+ * @type {number}
518
+ * @memberof AutoTopupStatusSchema
519
+ */
520
+ 'threshold_amount'?: number;
521
+ /**
522
+ * Amount to top up when threshold is reached
523
+ * @type {number}
524
+ * @memberof AutoTopupStatusSchema
525
+ */
526
+ 'topup_amount'?: number;
527
+ }
441
528
  /**
442
529
  *
443
530
  * @export
@@ -603,10 +690,10 @@ export interface BillingHistory {
603
690
  'attributes'?: Attributes;
604
691
  /**
605
692
  *
606
- * @type {object}
693
+ * @type {Metrics}
607
694
  * @memberof BillingHistory
608
695
  */
609
- 'metrics'?: object;
696
+ 'metrics'?: Metrics;
610
697
  }
611
698
  /**
612
699
  *
@@ -670,6 +757,37 @@ export interface BillingHistoryFineTuning {
670
757
  */
671
758
  'total_count'?: number;
672
759
  }
760
+ /**
761
+ *
762
+ * @export
763
+ * @interface BillingHistoryImageGenerationDetails
764
+ */
765
+ export interface BillingHistoryImageGenerationDetails {
766
+ /**
767
+ *
768
+ * @type {Array<BillingHistory>}
769
+ * @memberof BillingHistoryImageGenerationDetails
770
+ */
771
+ 'billing_history'?: Array<BillingHistory>;
772
+ /**
773
+ *
774
+ * @type {number}
775
+ * @memberof BillingHistoryImageGenerationDetails
776
+ */
777
+ 'org_id'?: number;
778
+ /**
779
+ *
780
+ * @type {Pagination}
781
+ * @memberof BillingHistoryImageGenerationDetails
782
+ */
783
+ 'pagination'?: Pagination;
784
+ /**
785
+ *
786
+ * @type {number}
787
+ * @memberof BillingHistoryImageGenerationDetails
788
+ */
789
+ 'total_count'?: number;
790
+ }
673
791
  /**
674
792
  *
675
793
  * @export
@@ -2133,6 +2251,50 @@ export interface ContractInstancesResponse {
2133
2251
  */
2134
2252
  'status'?: boolean;
2135
2253
  }
2254
+ /**
2255
+ *
2256
+ * @export
2257
+ * @interface CreateAutoTopupPayload
2258
+ */
2259
+ export interface CreateAutoTopupPayload {
2260
+ /**
2261
+ *
2262
+ * @type {number}
2263
+ * @memberof CreateAutoTopupPayload
2264
+ */
2265
+ 'threshold_amount': number;
2266
+ /**
2267
+ *
2268
+ * @type {number}
2269
+ * @memberof CreateAutoTopupPayload
2270
+ */
2271
+ 'topup_amount': number;
2272
+ }
2273
+ /**
2274
+ *
2275
+ * @export
2276
+ * @interface CreateAutoTopupResponse
2277
+ */
2278
+ export interface CreateAutoTopupResponse {
2279
+ /**
2280
+ *
2281
+ * @type {AutoTopup}
2282
+ * @memberof CreateAutoTopupResponse
2283
+ */
2284
+ 'auto_topup'?: AutoTopup;
2285
+ /**
2286
+ *
2287
+ * @type {string}
2288
+ * @memberof CreateAutoTopupResponse
2289
+ */
2290
+ 'message'?: string;
2291
+ /**
2292
+ *
2293
+ * @type {boolean}
2294
+ * @memberof CreateAutoTopupResponse
2295
+ */
2296
+ 'status'?: boolean;
2297
+ }
2136
2298
  /**
2137
2299
  *
2138
2300
  * @export
@@ -3159,6 +3321,31 @@ export interface DetachVolumesPayload {
3159
3321
  */
3160
3322
  'volume_ids'?: Array<number>;
3161
3323
  }
3324
+ /**
3325
+ *
3326
+ * @export
3327
+ * @interface DisableAutoTopupResponse
3328
+ */
3329
+ export interface DisableAutoTopupResponse {
3330
+ /**
3331
+ *
3332
+ * @type {AutoTopup}
3333
+ * @memberof DisableAutoTopupResponse
3334
+ */
3335
+ 'auto_topup'?: AutoTopup;
3336
+ /**
3337
+ *
3338
+ * @type {string}
3339
+ * @memberof DisableAutoTopupResponse
3340
+ */
3341
+ 'message'?: string;
3342
+ /**
3343
+ *
3344
+ * @type {boolean}
3345
+ * @memberof DisableAutoTopupResponse
3346
+ */
3347
+ 'status'?: boolean;
3348
+ }
3162
3349
  /**
3163
3350
  *
3164
3351
  * @export
@@ -4045,6 +4232,31 @@ export interface GetApiKeysResponseModel {
4045
4232
  */
4046
4233
  'status'?: boolean;
4047
4234
  }
4235
+ /**
4236
+ *
4237
+ * @export
4238
+ * @interface GetAutoTopupResponse
4239
+ */
4240
+ export interface GetAutoTopupResponse {
4241
+ /**
4242
+ *
4243
+ * @type {AutoTopup}
4244
+ * @memberof GetAutoTopupResponse
4245
+ */
4246
+ 'auto_topup'?: AutoTopup;
4247
+ /**
4248
+ *
4249
+ * @type {string}
4250
+ * @memberof GetAutoTopupResponse
4251
+ */
4252
+ 'message'?: string;
4253
+ /**
4254
+ *
4255
+ * @type {boolean}
4256
+ * @memberof GetAutoTopupResponse
4257
+ */
4258
+ 'status'?: boolean;
4259
+ }
4048
4260
  /**
4049
4261
  *
4050
4262
  * @export
@@ -4394,6 +4606,31 @@ export interface ImageFields {
4394
4606
  */
4395
4607
  'version'?: string;
4396
4608
  }
4609
+ /**
4610
+ *
4611
+ * @export
4612
+ * @interface ImageGenerationBillingHistoryDetailsResponseSchema
4613
+ */
4614
+ export interface ImageGenerationBillingHistoryDetailsResponseSchema {
4615
+ /**
4616
+ *
4617
+ * @type {BillingHistoryImageGenerationDetails}
4618
+ * @memberof ImageGenerationBillingHistoryDetailsResponseSchema
4619
+ */
4620
+ 'billing_history_image_generation_details'?: BillingHistoryImageGenerationDetails;
4621
+ /**
4622
+ *
4623
+ * @type {string}
4624
+ * @memberof ImageGenerationBillingHistoryDetailsResponseSchema
4625
+ */
4626
+ 'message'?: string;
4627
+ /**
4628
+ *
4629
+ * @type {boolean}
4630
+ * @memberof ImageGenerationBillingHistoryDetailsResponseSchema
4631
+ */
4632
+ 'status'?: boolean;
4633
+ }
4397
4634
  /**
4398
4635
  *
4399
4636
  * @export
@@ -5476,6 +5713,61 @@ export interface MetricItemFields {
5476
5713
  */
5477
5714
  'unit'?: string;
5478
5715
  }
5716
+ /**
5717
+ *
5718
+ * @export
5719
+ * @interface Metrics
5720
+ */
5721
+ export interface Metrics {
5722
+ /**
5723
+ *
5724
+ * @type {number}
5725
+ * @memberof Metrics
5726
+ */
5727
+ 'incurred_bill'?: number;
5728
+ /**
5729
+ *
5730
+ * @type {number}
5731
+ * @memberof Metrics
5732
+ */
5733
+ 'input_tokens'?: number;
5734
+ /**
5735
+ *
5736
+ * @type {number}
5737
+ * @memberof Metrics
5738
+ */
5739
+ 'input_tokens_incurred_bill'?: number;
5740
+ /**
5741
+ *
5742
+ * @type {number}
5743
+ * @memberof Metrics
5744
+ */
5745
+ 'input_tokens_non_discounted_bill'?: number;
5746
+ /**
5747
+ *
5748
+ * @type {number}
5749
+ * @memberof Metrics
5750
+ */
5751
+ 'non_discounted_bill'?: number;
5752
+ /**
5753
+ *
5754
+ * @type {number}
5755
+ * @memberof Metrics
5756
+ */
5757
+ 'output_tokens'?: number;
5758
+ /**
5759
+ *
5760
+ * @type {number}
5761
+ * @memberof Metrics
5762
+ */
5763
+ 'output_tokens_incurred_bill'?: number;
5764
+ /**
5765
+ *
5766
+ * @type {number}
5767
+ * @memberof Metrics
5768
+ */
5769
+ 'output_tokens_non_discounted_bill'?: number;
5770
+ }
5479
5771
  /**
5480
5772
  *
5481
5773
  * @export
@@ -6472,6 +6764,18 @@ export interface PaymentDetailsFields {
6472
6764
  * @memberof PaymentDetailsFields
6473
6765
  */
6474
6766
  'amount'?: number;
6767
+ /**
6768
+ *
6769
+ * @type {number}
6770
+ * @memberof PaymentDetailsFields
6771
+ */
6772
+ 'attempt_number'?: number;
6773
+ /**
6774
+ *
6775
+ * @type {number}
6776
+ * @memberof PaymentDetailsFields
6777
+ */
6778
+ 'auto_topup_id'?: number;
6475
6779
  /**
6476
6780
  *
6477
6781
  * @type {string}
@@ -6502,6 +6806,12 @@ export interface PaymentDetailsFields {
6502
6806
  * @memberof PaymentDetailsFields
6503
6807
  */
6504
6808
  'invoice'?: string;
6809
+ /**
6810
+ *
6811
+ * @type {number}
6812
+ * @memberof PaymentDetailsFields
6813
+ */
6814
+ 'max_attempts'?: number;
6505
6815
  /**
6506
6816
  *
6507
6817
  * @type {string}
@@ -6514,6 +6824,12 @@ export interface PaymentDetailsFields {
6514
6824
  * @memberof PaymentDetailsFields
6515
6825
  */
6516
6826
  'payment_id'?: string;
6827
+ /**
6828
+ *
6829
+ * @type {string}
6830
+ * @memberof PaymentDetailsFields
6831
+ */
6832
+ 'payment_type'?: string;
6517
6833
  /**
6518
6834
  *
6519
6835
  * @type {string}
@@ -6547,10 +6863,10 @@ export interface PaymentDetailsFields {
6547
6863
  export interface PaymentDetailsResponse {
6548
6864
  /**
6549
6865
  *
6550
- * @type {PaymentDetailsFields}
6866
+ * @type {Array<PaymentDetailsFields>}
6551
6867
  * @memberof PaymentDetailsResponse
6552
6868
  */
6553
- 'data'?: PaymentDetailsFields;
6869
+ 'data'?: Array<PaymentDetailsFields>;
6554
6870
  /**
6555
6871
  *
6556
6872
  * @type {string}
@@ -9182,6 +9498,50 @@ export interface URIs {
9182
9498
  */
9183
9499
  'landing_page'?: string;
9184
9500
  }
9501
+ /**
9502
+ *
9503
+ * @export
9504
+ * @interface UpdateAutoTopupPayload
9505
+ */
9506
+ export interface UpdateAutoTopupPayload {
9507
+ /**
9508
+ *
9509
+ * @type {number}
9510
+ * @memberof UpdateAutoTopupPayload
9511
+ */
9512
+ 'threshold_amount': number;
9513
+ /**
9514
+ *
9515
+ * @type {number}
9516
+ * @memberof UpdateAutoTopupPayload
9517
+ */
9518
+ 'topup_amount': number;
9519
+ }
9520
+ /**
9521
+ *
9522
+ * @export
9523
+ * @interface UpdateAutoTopupResponse
9524
+ */
9525
+ export interface UpdateAutoTopupResponse {
9526
+ /**
9527
+ *
9528
+ * @type {AutoTopup}
9529
+ * @memberof UpdateAutoTopupResponse
9530
+ */
9531
+ 'auto_topup'?: AutoTopup;
9532
+ /**
9533
+ *
9534
+ * @type {string}
9535
+ * @memberof UpdateAutoTopupResponse
9536
+ */
9537
+ 'message'?: string;
9538
+ /**
9539
+ *
9540
+ * @type {boolean}
9541
+ * @memberof UpdateAutoTopupResponse
9542
+ */
9543
+ 'status'?: boolean;
9544
+ }
9185
9545
  /**
9186
9546
  *
9187
9547
  * @export
@@ -11020,6 +11380,185 @@ export declare class AuthApi extends BaseAPI {
11020
11380
  */
11021
11381
  retrieveAuthenticatedUserDetails(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthUserInfoResponseModel, any, {}>>;
11022
11382
  }
11383
+ /**
11384
+ * AutoTopupApi - axios parameter creator
11385
+ * @export
11386
+ */
11387
+ export declare const AutoTopupApiAxiosParamCreator: (configuration?: Configuration) => {
11388
+ /**
11389
+ *
11390
+ * @summary Create an auto top up configuration and initiate Stripe setup
11391
+ * @param {CreateAutoTopupPayload} payload
11392
+ * @param {*} [options] Override http request option.
11393
+ * @throws {RequiredError}
11394
+ */
11395
+ createAutoTopUp: (payload: CreateAutoTopupPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11396
+ /**
11397
+ *
11398
+ * @summary Disable auto top up, preventing any future automatic charges
11399
+ * @param {*} [options] Override http request option.
11400
+ * @throws {RequiredError}
11401
+ */
11402
+ disableAutoTopUp: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11403
+ /**
11404
+ *
11405
+ * @summary Retrieve the current auto top up configuration and transaction history
11406
+ * @param {*} [options] Override http request option.
11407
+ * @throws {RequiredError}
11408
+ */
11409
+ getAutoTopUp: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11410
+ /**
11411
+ * Retrieves the current auto top-up configuration and status for your organization. Returns the status (active, disabled, pending_setup, or null if never configured), along with the threshold and top-up amounts. For additional information, [**click here**](None/docs/api-reference/billing-resources/).
11412
+ * @summary Get auto top-up status and configuration
11413
+ * @param {*} [options] Override http request option.
11414
+ * @throws {RequiredError}
11415
+ */
11416
+ getAutoTopUpStatus: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11417
+ /**
11418
+ *
11419
+ * @summary Update an existing active auto top up configuration
11420
+ * @param {UpdateAutoTopupPayload} payload
11421
+ * @param {*} [options] Override http request option.
11422
+ * @throws {RequiredError}
11423
+ */
11424
+ updateAutoTopUp: (payload: UpdateAutoTopupPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11425
+ };
11426
+ /**
11427
+ * AutoTopupApi - functional programming interface
11428
+ * @export
11429
+ */
11430
+ export declare const AutoTopupApiFp: (configuration?: Configuration) => {
11431
+ /**
11432
+ *
11433
+ * @summary Create an auto top up configuration and initiate Stripe setup
11434
+ * @param {CreateAutoTopupPayload} payload
11435
+ * @param {*} [options] Override http request option.
11436
+ * @throws {RequiredError}
11437
+ */
11438
+ createAutoTopUp(payload: CreateAutoTopupPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAutoTopupResponse>>;
11439
+ /**
11440
+ *
11441
+ * @summary Disable auto top up, preventing any future automatic charges
11442
+ * @param {*} [options] Override http request option.
11443
+ * @throws {RequiredError}
11444
+ */
11445
+ disableAutoTopUp(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DisableAutoTopupResponse>>;
11446
+ /**
11447
+ *
11448
+ * @summary Retrieve the current auto top up configuration and transaction history
11449
+ * @param {*} [options] Override http request option.
11450
+ * @throws {RequiredError}
11451
+ */
11452
+ getAutoTopUp(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAutoTopupResponse>>;
11453
+ /**
11454
+ * Retrieves the current auto top-up configuration and status for your organization. Returns the status (active, disabled, pending_setup, or null if never configured), along with the threshold and top-up amounts. For additional information, [**click here**](None/docs/api-reference/billing-resources/).
11455
+ * @summary Get auto top-up status and configuration
11456
+ * @param {*} [options] Override http request option.
11457
+ * @throws {RequiredError}
11458
+ */
11459
+ getAutoTopUpStatus(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AutoTopupStatusSchema>>;
11460
+ /**
11461
+ *
11462
+ * @summary Update an existing active auto top up configuration
11463
+ * @param {UpdateAutoTopupPayload} payload
11464
+ * @param {*} [options] Override http request option.
11465
+ * @throws {RequiredError}
11466
+ */
11467
+ updateAutoTopUp(payload: UpdateAutoTopupPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateAutoTopupResponse>>;
11468
+ };
11469
+ /**
11470
+ * AutoTopupApi - factory interface
11471
+ * @export
11472
+ */
11473
+ export declare const AutoTopupApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
11474
+ /**
11475
+ *
11476
+ * @summary Create an auto top up configuration and initiate Stripe setup
11477
+ * @param {CreateAutoTopupPayload} payload
11478
+ * @param {*} [options] Override http request option.
11479
+ * @throws {RequiredError}
11480
+ */
11481
+ createAutoTopUp(payload: CreateAutoTopupPayload, options?: RawAxiosRequestConfig): AxiosPromise<CreateAutoTopupResponse>;
11482
+ /**
11483
+ *
11484
+ * @summary Disable auto top up, preventing any future automatic charges
11485
+ * @param {*} [options] Override http request option.
11486
+ * @throws {RequiredError}
11487
+ */
11488
+ disableAutoTopUp(options?: RawAxiosRequestConfig): AxiosPromise<DisableAutoTopupResponse>;
11489
+ /**
11490
+ *
11491
+ * @summary Retrieve the current auto top up configuration and transaction history
11492
+ * @param {*} [options] Override http request option.
11493
+ * @throws {RequiredError}
11494
+ */
11495
+ getAutoTopUp(options?: RawAxiosRequestConfig): AxiosPromise<GetAutoTopupResponse>;
11496
+ /**
11497
+ * Retrieves the current auto top-up configuration and status for your organization. Returns the status (active, disabled, pending_setup, or null if never configured), along with the threshold and top-up amounts. For additional information, [**click here**](None/docs/api-reference/billing-resources/).
11498
+ * @summary Get auto top-up status and configuration
11499
+ * @param {*} [options] Override http request option.
11500
+ * @throws {RequiredError}
11501
+ */
11502
+ getAutoTopUpStatus(options?: RawAxiosRequestConfig): AxiosPromise<AutoTopupStatusSchema>;
11503
+ /**
11504
+ *
11505
+ * @summary Update an existing active auto top up configuration
11506
+ * @param {UpdateAutoTopupPayload} payload
11507
+ * @param {*} [options] Override http request option.
11508
+ * @throws {RequiredError}
11509
+ */
11510
+ updateAutoTopUp(payload: UpdateAutoTopupPayload, options?: RawAxiosRequestConfig): AxiosPromise<UpdateAutoTopupResponse>;
11511
+ };
11512
+ /**
11513
+ * AutoTopupApi - object-oriented interface
11514
+ * @export
11515
+ * @class AutoTopupApi
11516
+ * @extends {BaseAPI}
11517
+ */
11518
+ export declare class AutoTopupApi extends BaseAPI {
11519
+ /**
11520
+ *
11521
+ * @summary Create an auto top up configuration and initiate Stripe setup
11522
+ * @param {CreateAutoTopupPayload} payload
11523
+ * @param {*} [options] Override http request option.
11524
+ * @throws {RequiredError}
11525
+ * @memberof AutoTopupApi
11526
+ */
11527
+ createAutoTopUp(payload: CreateAutoTopupPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAutoTopupResponse, any, {}>>;
11528
+ /**
11529
+ *
11530
+ * @summary Disable auto top up, preventing any future automatic charges
11531
+ * @param {*} [options] Override http request option.
11532
+ * @throws {RequiredError}
11533
+ * @memberof AutoTopupApi
11534
+ */
11535
+ disableAutoTopUp(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DisableAutoTopupResponse, any, {}>>;
11536
+ /**
11537
+ *
11538
+ * @summary Retrieve the current auto top up configuration and transaction history
11539
+ * @param {*} [options] Override http request option.
11540
+ * @throws {RequiredError}
11541
+ * @memberof AutoTopupApi
11542
+ */
11543
+ getAutoTopUp(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAutoTopupResponse, any, {}>>;
11544
+ /**
11545
+ * Retrieves the current auto top-up configuration and status for your organization. Returns the status (active, disabled, pending_setup, or null if never configured), along with the threshold and top-up amounts. For additional information, [**click here**](None/docs/api-reference/billing-resources/).
11546
+ * @summary Get auto top-up status and configuration
11547
+ * @param {*} [options] Override http request option.
11548
+ * @throws {RequiredError}
11549
+ * @memberof AutoTopupApi
11550
+ */
11551
+ getAutoTopUpStatus(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoTopupStatusSchema, any, {}>>;
11552
+ /**
11553
+ *
11554
+ * @summary Update an existing active auto top up configuration
11555
+ * @param {UpdateAutoTopupPayload} payload
11556
+ * @param {*} [options] Override http request option.
11557
+ * @throws {RequiredError}
11558
+ * @memberof AutoTopupApi
11559
+ */
11560
+ updateAutoTopUp(payload: UpdateAutoTopupPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateAutoTopupResponse, any, {}>>;
11561
+ }
11023
11562
  /**
11024
11563
  * BetaAccessApi - axios parameter creator
11025
11564
  * @export
@@ -11239,6 +11778,37 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
11239
11778
  * @throws {RequiredError}
11240
11779
  */
11241
11780
  getFineTuningBillingHistoryGraph: (resourceId: number, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11781
+ /**
11782
+ * User will receive billing history of image_generation for the specified billing cycle.
11783
+ * @summary Retrieve Billing History of image generation for a specific Billing Cycle
11784
+ * @param {string} [startDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
11785
+ * @param {string} [endDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
11786
+ * @param {string} [search] Search by resource \&quot;Name\&quot; or \&quot;ID\&quot;
11787
+ * @param {number} [perPage] Number of items to return per page
11788
+ * @param {number} [page] Page number
11789
+ * @param {*} [options] Override http request option.
11790
+ * @throws {RequiredError}
11791
+ */
11792
+ getImageGenerationBillingHistory: (startDate?: string, endDate?: string, search?: string, perPage?: number, page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11793
+ /**
11794
+ * User will receive hourly cost datapoints for an image generation job for a specified billing cycle. This data will include \'incurred_bill\' graph datapoints. billing cycle
11795
+ * @summary Retrieve hourly cost datapoints of a Specific Image Generation for a specific
11796
+ * @param {number} resourceId
11797
+ * @param {string} [startDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
11798
+ * @param {string} [endDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
11799
+ * @param {*} [options] Override http request option.
11800
+ * @throws {RequiredError}
11801
+ */
11802
+ getImageGenerationBillingHistoryGraph: (resourceId: number, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11803
+ /**
11804
+ * Retrieve billing history for a specific Image Generation resource. Includes: \'resource_name\', \'infrahub_id\', \'base_model\', \'base_model_display_name\', \'lora_adapter\', \'incurred_bill\', \'non_discounted_bill\', \'usage_time\', \'input_tokens\', \'output_tokens\', \'input_tokens_incurred_bill\', \'input_tokens_non_discounted_bill\', \'output_tokens_incurred_bill\', \'output_tokens_non_discounted_bill\'
11805
+ * @param {number} resourceId
11806
+ * @param {string} [startDate] YYYY-MM-DDTHH:MM:SS
11807
+ * @param {string} [endDate] YYYY-MM-DDTHH:MM:SS
11808
+ * @param {*} [options] Override http request option.
11809
+ * @throws {RequiredError}
11810
+ */
11811
+ getImageGenerationHistoryForResource: (resourceId: number, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
11242
11812
  /**
11243
11813
  * Retrieve the previous day\'s costs for instances, volumes, and clusters. Returns a breakdown of the costs and the total cost for the last day. For additional information on Retrieve Previous Day Usage Costs, [**click here**](None/docs/api-reference/billing-resources/last-day-usage/)
11244
11814
  * @summary GET: Last Day Cost
@@ -11622,6 +12192,37 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
11622
12192
  * @throws {RequiredError}
11623
12193
  */
11624
12194
  getFineTuningBillingHistoryGraph(resourceId: number, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResourceLevelVolumeGraphBillingDetailsResponseModel>>;
12195
+ /**
12196
+ * User will receive billing history of image_generation for the specified billing cycle.
12197
+ * @summary Retrieve Billing History of image generation for a specific Billing Cycle
12198
+ * @param {string} [startDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
12199
+ * @param {string} [endDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
12200
+ * @param {string} [search] Search by resource \&quot;Name\&quot; or \&quot;ID\&quot;
12201
+ * @param {number} [perPage] Number of items to return per page
12202
+ * @param {number} [page] Page number
12203
+ * @param {*} [options] Override http request option.
12204
+ * @throws {RequiredError}
12205
+ */
12206
+ getImageGenerationBillingHistory(startDate?: string, endDate?: string, search?: string, perPage?: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TokenBasedBillingHistoryResponse>>;
12207
+ /**
12208
+ * User will receive hourly cost datapoints for an image generation job for a specified billing cycle. This data will include \'incurred_bill\' graph datapoints. billing cycle
12209
+ * @summary Retrieve hourly cost datapoints of a Specific Image Generation for a specific
12210
+ * @param {number} resourceId
12211
+ * @param {string} [startDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
12212
+ * @param {string} [endDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
12213
+ * @param {*} [options] Override http request option.
12214
+ * @throws {RequiredError}
12215
+ */
12216
+ getImageGenerationBillingHistoryGraph(resourceId: number, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImageGenerationBillingHistoryDetailsResponseSchema>>;
12217
+ /**
12218
+ * Retrieve billing history for a specific Image Generation resource. Includes: \'resource_name\', \'infrahub_id\', \'base_model\', \'base_model_display_name\', \'lora_adapter\', \'incurred_bill\', \'non_discounted_bill\', \'usage_time\', \'input_tokens\', \'output_tokens\', \'input_tokens_incurred_bill\', \'input_tokens_non_discounted_bill\', \'output_tokens_incurred_bill\', \'output_tokens_non_discounted_bill\'
12219
+ * @param {number} resourceId
12220
+ * @param {string} [startDate] YYYY-MM-DDTHH:MM:SS
12221
+ * @param {string} [endDate] YYYY-MM-DDTHH:MM:SS
12222
+ * @param {*} [options] Override http request option.
12223
+ * @throws {RequiredError}
12224
+ */
12225
+ getImageGenerationHistoryForResource(resourceId: number, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImageGenerationBillingHistoryDetailsResponseSchema>>;
11625
12226
  /**
11626
12227
  * Retrieve the previous day\'s costs for instances, volumes, and clusters. Returns a breakdown of the costs and the total cost for the last day. For additional information on Retrieve Previous Day Usage Costs, [**click here**](None/docs/api-reference/billing-resources/last-day-usage/)
11627
12228
  * @summary GET: Last Day Cost
@@ -12005,6 +12606,37 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
12005
12606
  * @throws {RequiredError}
12006
12607
  */
12007
12608
  getFineTuningBillingHistoryGraph(resourceId: number, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<ResourceLevelVolumeGraphBillingDetailsResponseModel>;
12609
+ /**
12610
+ * User will receive billing history of image_generation for the specified billing cycle.
12611
+ * @summary Retrieve Billing History of image generation for a specific Billing Cycle
12612
+ * @param {string} [startDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
12613
+ * @param {string} [endDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
12614
+ * @param {string} [search] Search by resource \&quot;Name\&quot; or \&quot;ID\&quot;
12615
+ * @param {number} [perPage] Number of items to return per page
12616
+ * @param {number} [page] Page number
12617
+ * @param {*} [options] Override http request option.
12618
+ * @throws {RequiredError}
12619
+ */
12620
+ getImageGenerationBillingHistory(startDate?: string, endDate?: string, search?: string, perPage?: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<TokenBasedBillingHistoryResponse>;
12621
+ /**
12622
+ * User will receive hourly cost datapoints for an image generation job for a specified billing cycle. This data will include \'incurred_bill\' graph datapoints. billing cycle
12623
+ * @summary Retrieve hourly cost datapoints of a Specific Image Generation for a specific
12624
+ * @param {number} resourceId
12625
+ * @param {string} [startDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
12626
+ * @param {string} [endDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
12627
+ * @param {*} [options] Override http request option.
12628
+ * @throws {RequiredError}
12629
+ */
12630
+ getImageGenerationBillingHistoryGraph(resourceId: number, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<ImageGenerationBillingHistoryDetailsResponseSchema>;
12631
+ /**
12632
+ * Retrieve billing history for a specific Image Generation resource. Includes: \'resource_name\', \'infrahub_id\', \'base_model\', \'base_model_display_name\', \'lora_adapter\', \'incurred_bill\', \'non_discounted_bill\', \'usage_time\', \'input_tokens\', \'output_tokens\', \'input_tokens_incurred_bill\', \'input_tokens_non_discounted_bill\', \'output_tokens_incurred_bill\', \'output_tokens_non_discounted_bill\'
12633
+ * @param {number} resourceId
12634
+ * @param {string} [startDate] YYYY-MM-DDTHH:MM:SS
12635
+ * @param {string} [endDate] YYYY-MM-DDTHH:MM:SS
12636
+ * @param {*} [options] Override http request option.
12637
+ * @throws {RequiredError}
12638
+ */
12639
+ getImageGenerationHistoryForResource(resourceId: number, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<ImageGenerationBillingHistoryDetailsResponseSchema>;
12008
12640
  /**
12009
12641
  * Retrieve the previous day\'s costs for instances, volumes, and clusters. Returns a breakdown of the costs and the total cost for the last day. For additional information on Retrieve Previous Day Usage Costs, [**click here**](None/docs/api-reference/billing-resources/last-day-usage/)
12010
12642
  * @summary GET: Last Day Cost
@@ -12399,6 +13031,40 @@ export declare class BillingApi extends BaseAPI {
12399
13031
  * @memberof BillingApi
12400
13032
  */
12401
13033
  getFineTuningBillingHistoryGraph(resourceId: number, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ResourceLevelVolumeGraphBillingDetailsResponseModel, any, {}>>;
13034
+ /**
13035
+ * User will receive billing history of image_generation for the specified billing cycle.
13036
+ * @summary Retrieve Billing History of image generation for a specific Billing Cycle
13037
+ * @param {string} [startDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
13038
+ * @param {string} [endDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
13039
+ * @param {string} [search] Search by resource \&quot;Name\&quot; or \&quot;ID\&quot;
13040
+ * @param {number} [perPage] Number of items to return per page
13041
+ * @param {number} [page] Page number
13042
+ * @param {*} [options] Override http request option.
13043
+ * @throws {RequiredError}
13044
+ * @memberof BillingApi
13045
+ */
13046
+ getImageGenerationBillingHistory(startDate?: string, endDate?: string, search?: string, perPage?: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TokenBasedBillingHistoryResponse, any, {}>>;
13047
+ /**
13048
+ * User will receive hourly cost datapoints for an image generation job for a specified billing cycle. This data will include \'incurred_bill\' graph datapoints. billing cycle
13049
+ * @summary Retrieve hourly cost datapoints of a Specific Image Generation for a specific
13050
+ * @param {number} resourceId
13051
+ * @param {string} [startDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
13052
+ * @param {string} [endDate] Date should be formatted in YYYY-MM-DDTHH:MM:SS
13053
+ * @param {*} [options] Override http request option.
13054
+ * @throws {RequiredError}
13055
+ * @memberof BillingApi
13056
+ */
13057
+ getImageGenerationBillingHistoryGraph(resourceId: number, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImageGenerationBillingHistoryDetailsResponseSchema, any, {}>>;
13058
+ /**
13059
+ * Retrieve billing history for a specific Image Generation resource. Includes: \'resource_name\', \'infrahub_id\', \'base_model\', \'base_model_display_name\', \'lora_adapter\', \'incurred_bill\', \'non_discounted_bill\', \'usage_time\', \'input_tokens\', \'output_tokens\', \'input_tokens_incurred_bill\', \'input_tokens_non_discounted_bill\', \'output_tokens_incurred_bill\', \'output_tokens_non_discounted_bill\'
13060
+ * @param {number} resourceId
13061
+ * @param {string} [startDate] YYYY-MM-DDTHH:MM:SS
13062
+ * @param {string} [endDate] YYYY-MM-DDTHH:MM:SS
13063
+ * @param {*} [options] Override http request option.
13064
+ * @throws {RequiredError}
13065
+ * @memberof BillingApi
13066
+ */
13067
+ getImageGenerationHistoryForResource(resourceId: number, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImageGenerationBillingHistoryDetailsResponseSchema, any, {}>>;
12402
13068
  /**
12403
13069
  * Retrieve the previous day\'s costs for instances, volumes, and clusters. Returns a breakdown of the costs and the total cost for the last day. For additional information on Retrieve Previous Day Usage Costs, [**click here**](None/docs/api-reference/billing-resources/last-day-usage/)
12404
13070
  * @summary GET: Last Day Cost