@nexgencloud/hyperstack-sdk-typescript 1.51.2-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
@@ -1778,6 +1896,103 @@ export interface ComplianceResponse {
1778
1896
  */
1779
1897
  'status'?: boolean;
1780
1898
  }
1899
+ /**
1900
+ *
1901
+ * @export
1902
+ * @interface ConsentActionResponse
1903
+ */
1904
+ export interface ConsentActionResponse {
1905
+ /**
1906
+ *
1907
+ * @type {UserConsent}
1908
+ * @memberof ConsentActionResponse
1909
+ */
1910
+ 'consent'?: UserConsent;
1911
+ /**
1912
+ *
1913
+ * @type {string}
1914
+ * @memberof ConsentActionResponse
1915
+ */
1916
+ 'message'?: string;
1917
+ }
1918
+ /**
1919
+ *
1920
+ * @export
1921
+ * @interface ConsentBlock
1922
+ */
1923
+ export interface ConsentBlock {
1924
+ /**
1925
+ * Block text, may contain ${variable} placeholders
1926
+ * @type {string}
1927
+ * @memberof ConsentBlock
1928
+ */
1929
+ 'text'?: string;
1930
+ /**
1931
+ * Block display type
1932
+ * @type {string}
1933
+ * @memberof ConsentBlock
1934
+ */
1935
+ 'type'?: ConsentBlockTypeEnum;
1936
+ }
1937
+ export declare const ConsentBlockTypeEnum: {
1938
+ readonly Text: "text";
1939
+ readonly Warning: "warning";
1940
+ readonly Info: "info";
1941
+ readonly Success: "success";
1942
+ readonly Failure: "failure";
1943
+ };
1944
+ export type ConsentBlockTypeEnum = typeof ConsentBlockTypeEnum[keyof typeof ConsentBlockTypeEnum];
1945
+ /**
1946
+ *
1947
+ * @export
1948
+ * @interface ConsentEventsResponse
1949
+ */
1950
+ export interface ConsentEventsResponse {
1951
+ /**
1952
+ *
1953
+ * @type {UserConsent}
1954
+ * @memberof ConsentEventsResponse
1955
+ */
1956
+ 'consent'?: UserConsent;
1957
+ /**
1958
+ *
1959
+ * @type {Array<UserConsentEvent>}
1960
+ * @memberof ConsentEventsResponse
1961
+ */
1962
+ 'events'?: Array<UserConsentEvent>;
1963
+ }
1964
+ /**
1965
+ *
1966
+ * @export
1967
+ * @interface ConsentTemplate
1968
+ */
1969
+ export interface ConsentTemplate {
1970
+ /**
1971
+ *
1972
+ * @type {Array<ConsentBlock>}
1973
+ * @memberof ConsentTemplate
1974
+ */
1975
+ 'blocks'?: Array<ConsentBlock>;
1976
+ /**
1977
+ * Template version identifier
1978
+ * @type {string}
1979
+ * @memberof ConsentTemplate
1980
+ */
1981
+ 'version'?: string;
1982
+ }
1983
+ /**
1984
+ *
1985
+ * @export
1986
+ * @interface ConsentTemplatesResponse
1987
+ */
1988
+ export interface ConsentTemplatesResponse {
1989
+ /**
1990
+ * Templates keyed by consent type
1991
+ * @type {object}
1992
+ * @memberof ConsentTemplatesResponse
1993
+ */
1994
+ 'templates'?: object;
1995
+ }
1781
1996
  /**
1782
1997
  *
1783
1998
  * @export
@@ -2036,6 +2251,50 @@ export interface ContractInstancesResponse {
2036
2251
  */
2037
2252
  'status'?: boolean;
2038
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
+ }
2039
2298
  /**
2040
2299
  *
2041
2300
  * @export
@@ -3062,6 +3321,31 @@ export interface DetachVolumesPayload {
3062
3321
  */
3063
3322
  'volume_ids'?: Array<number>;
3064
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
+ }
3065
3349
  /**
3066
3350
  *
3067
3351
  * @export
@@ -3948,6 +4232,31 @@ export interface GetApiKeysResponseModel {
3948
4232
  */
3949
4233
  'status'?: boolean;
3950
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
+ }
3951
4260
  /**
3952
4261
  *
3953
4262
  * @export
@@ -4297,6 +4606,31 @@ export interface ImageFields {
4297
4606
  */
4298
4607
  'version'?: string;
4299
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
+ }
4300
4634
  /**
4301
4635
  *
4302
4636
  * @export
@@ -5382,43 +5716,98 @@ export interface MetricItemFields {
5382
5716
  /**
5383
5717
  *
5384
5718
  * @export
5385
- * @interface MetricsFields
5719
+ * @interface Metrics
5386
5720
  */
5387
- export interface MetricsFields {
5721
+ export interface Metrics {
5388
5722
  /**
5389
5723
  *
5390
- * @type {MetricItemFields}
5391
- * @memberof MetricsFields
5724
+ * @type {number}
5725
+ * @memberof Metrics
5392
5726
  */
5393
- 'cpu'?: MetricItemFields;
5727
+ 'incurred_bill'?: number;
5394
5728
  /**
5395
5729
  *
5396
- * @type {MetricItemFields}
5397
- * @memberof MetricsFields
5730
+ * @type {number}
5731
+ * @memberof Metrics
5398
5732
  */
5399
- 'disk.read'?: MetricItemFields;
5733
+ 'input_tokens'?: number;
5400
5734
  /**
5401
5735
  *
5402
- * @type {MetricItemFields}
5403
- * @memberof MetricsFields
5736
+ * @type {number}
5737
+ * @memberof Metrics
5404
5738
  */
5405
- 'disk.write'?: MetricItemFields;
5739
+ 'input_tokens_incurred_bill'?: number;
5406
5740
  /**
5407
5741
  *
5408
- * @type {MetricItemFields}
5409
- * @memberof MetricsFields
5742
+ * @type {number}
5743
+ * @memberof Metrics
5410
5744
  */
5411
- 'memory.usages'?: MetricItemFields;
5745
+ 'input_tokens_non_discounted_bill'?: number;
5412
5746
  /**
5413
5747
  *
5414
- * @type {MetricItemFields}
5415
- * @memberof MetricsFields
5748
+ * @type {number}
5749
+ * @memberof Metrics
5416
5750
  */
5417
- 'network.in'?: MetricItemFields;
5751
+ 'non_discounted_bill'?: number;
5418
5752
  /**
5419
5753
  *
5420
- * @type {MetricItemFields}
5421
- * @memberof MetricsFields
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
+ }
5771
+ /**
5772
+ *
5773
+ * @export
5774
+ * @interface MetricsFields
5775
+ */
5776
+ export interface MetricsFields {
5777
+ /**
5778
+ *
5779
+ * @type {MetricItemFields}
5780
+ * @memberof MetricsFields
5781
+ */
5782
+ 'cpu'?: MetricItemFields;
5783
+ /**
5784
+ *
5785
+ * @type {MetricItemFields}
5786
+ * @memberof MetricsFields
5787
+ */
5788
+ 'disk.read'?: MetricItemFields;
5789
+ /**
5790
+ *
5791
+ * @type {MetricItemFields}
5792
+ * @memberof MetricsFields
5793
+ */
5794
+ 'disk.write'?: MetricItemFields;
5795
+ /**
5796
+ *
5797
+ * @type {MetricItemFields}
5798
+ * @memberof MetricsFields
5799
+ */
5800
+ 'memory.usages'?: MetricItemFields;
5801
+ /**
5802
+ *
5803
+ * @type {MetricItemFields}
5804
+ * @memberof MetricsFields
5805
+ */
5806
+ 'network.in'?: MetricItemFields;
5807
+ /**
5808
+ *
5809
+ * @type {MetricItemFields}
5810
+ * @memberof MetricsFields
5422
5811
  */
5423
5812
  'network.out'?: MetricItemFields;
5424
5813
  }
@@ -6375,6 +6764,18 @@ export interface PaymentDetailsFields {
6375
6764
  * @memberof PaymentDetailsFields
6376
6765
  */
6377
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;
6378
6779
  /**
6379
6780
  *
6380
6781
  * @type {string}
@@ -6405,6 +6806,12 @@ export interface PaymentDetailsFields {
6405
6806
  * @memberof PaymentDetailsFields
6406
6807
  */
6407
6808
  'invoice'?: string;
6809
+ /**
6810
+ *
6811
+ * @type {number}
6812
+ * @memberof PaymentDetailsFields
6813
+ */
6814
+ 'max_attempts'?: number;
6408
6815
  /**
6409
6816
  *
6410
6817
  * @type {string}
@@ -6417,6 +6824,12 @@ export interface PaymentDetailsFields {
6417
6824
  * @memberof PaymentDetailsFields
6418
6825
  */
6419
6826
  'payment_id'?: string;
6827
+ /**
6828
+ *
6829
+ * @type {string}
6830
+ * @memberof PaymentDetailsFields
6831
+ */
6832
+ 'payment_type'?: string;
6420
6833
  /**
6421
6834
  *
6422
6835
  * @type {string}
@@ -6450,10 +6863,10 @@ export interface PaymentDetailsFields {
6450
6863
  export interface PaymentDetailsResponse {
6451
6864
  /**
6452
6865
  *
6453
- * @type {PaymentDetailsFields}
6866
+ * @type {Array<PaymentDetailsFields>}
6454
6867
  * @memberof PaymentDetailsResponse
6455
6868
  */
6456
- 'data'?: PaymentDetailsFields;
6869
+ 'data'?: Array<PaymentDetailsFields>;
6457
6870
  /**
6458
6871
  *
6459
6872
  * @type {string}
@@ -6927,6 +7340,58 @@ export interface RbacRoleFields {
6927
7340
  */
6928
7341
  'policies'?: Array<RolePolicyFields>;
6929
7342
  }
7343
+ /**
7344
+ *
7345
+ * @export
7346
+ * @interface RecordConsentRequest
7347
+ */
7348
+ export interface RecordConsentRequest {
7349
+ /**
7350
+ *
7351
+ * @type {string}
7352
+ * @memberof RecordConsentRequest
7353
+ */
7354
+ 'action': RecordConsentRequestActionEnum;
7355
+ /**
7356
+ *
7357
+ * @type {string}
7358
+ * @memberof RecordConsentRequest
7359
+ */
7360
+ 'consent_method'?: RecordConsentRequestConsentMethodEnum;
7361
+ /**
7362
+ *
7363
+ * @type {string}
7364
+ * @memberof RecordConsentRequest
7365
+ */
7366
+ 'consent_type': RecordConsentRequestConsentTypeEnum;
7367
+ /**
7368
+ * Version identifier. Defaults to the current version for the consent type
7369
+ * @type {string}
7370
+ * @memberof RecordConsentRequest
7371
+ */
7372
+ 'consent_version'?: string;
7373
+ /**
7374
+ * Consent-type-specific metadata
7375
+ * @type {object}
7376
+ * @memberof RecordConsentRequest
7377
+ */
7378
+ 'metadata'?: object;
7379
+ }
7380
+ export declare const RecordConsentRequestActionEnum: {
7381
+ readonly Granted: "granted";
7382
+ readonly Revoked: "revoked";
7383
+ };
7384
+ export type RecordConsentRequestActionEnum = typeof RecordConsentRequestActionEnum[keyof typeof RecordConsentRequestActionEnum];
7385
+ export declare const RecordConsentRequestConsentMethodEnum: {
7386
+ readonly WebCheckbox: "web_checkbox";
7387
+ readonly Api: "api";
7388
+ readonly AdminOverride: "admin_override";
7389
+ };
7390
+ export type RecordConsentRequestConsentMethodEnum = typeof RecordConsentRequestConsentMethodEnum[keyof typeof RecordConsentRequestConsentMethodEnum];
7391
+ export declare const RecordConsentRequestConsentTypeEnum: {
7392
+ readonly AutoTopUp: "auto_top_up";
7393
+ };
7394
+ export type RecordConsentRequestConsentTypeEnum = typeof RecordConsentRequestConsentTypeEnum[keyof typeof RecordConsentRequestConsentTypeEnum];
6930
7395
  /**
6931
7396
  *
6932
7397
  * @export
@@ -9033,6 +9498,50 @@ export interface URIs {
9033
9498
  */
9034
9499
  'landing_page'?: string;
9035
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
+ }
9036
9545
  /**
9037
9546
  *
9038
9547
  * @export
@@ -9058,6 +9567,48 @@ export interface UpdateClusterNodeGroupPayload {
9058
9567
  */
9059
9568
  'min_count'?: number;
9060
9569
  }
9570
+ /**
9571
+ *
9572
+ * @export
9573
+ * @interface UpdateConsentRequest
9574
+ */
9575
+ export interface UpdateConsentRequest {
9576
+ /**
9577
+ *
9578
+ * @type {string}
9579
+ * @memberof UpdateConsentRequest
9580
+ */
9581
+ 'action': UpdateConsentRequestActionEnum;
9582
+ /**
9583
+ *
9584
+ * @type {string}
9585
+ * @memberof UpdateConsentRequest
9586
+ */
9587
+ 'consent_method'?: UpdateConsentRequestConsentMethodEnum;
9588
+ /**
9589
+ * Version identifier. Defaults to the current version for the consent type
9590
+ * @type {string}
9591
+ * @memberof UpdateConsentRequest
9592
+ */
9593
+ 'consent_version'?: string;
9594
+ /**
9595
+ * Consent-type-specific metadata
9596
+ * @type {object}
9597
+ * @memberof UpdateConsentRequest
9598
+ */
9599
+ 'metadata'?: object;
9600
+ }
9601
+ export declare const UpdateConsentRequestActionEnum: {
9602
+ readonly Granted: "granted";
9603
+ readonly Revoked: "revoked";
9604
+ };
9605
+ export type UpdateConsentRequestActionEnum = typeof UpdateConsentRequestActionEnum[keyof typeof UpdateConsentRequestActionEnum];
9606
+ export declare const UpdateConsentRequestConsentMethodEnum: {
9607
+ readonly WebCheckbox: "web_checkbox";
9608
+ readonly Api: "api";
9609
+ readonly AdminOverride: "admin_override";
9610
+ };
9611
+ export type UpdateConsentRequestConsentMethodEnum = typeof UpdateConsentRequestConsentMethodEnum[keyof typeof UpdateConsentRequestConsentMethodEnum];
9061
9612
  /**
9062
9613
  *
9063
9614
  * @export
@@ -9223,6 +9774,129 @@ export interface UpdateVolumeResponse {
9223
9774
  */
9224
9775
  'volume'?: VolumeFields;
9225
9776
  }
9777
+ /**
9778
+ *
9779
+ * @export
9780
+ * @interface UserConsent
9781
+ */
9782
+ export interface UserConsent {
9783
+ /**
9784
+ *
9785
+ * @type {string}
9786
+ * @memberof UserConsent
9787
+ */
9788
+ 'action'?: string;
9789
+ /**
9790
+ *
9791
+ * @type {string}
9792
+ * @memberof UserConsent
9793
+ */
9794
+ 'consent_method'?: string;
9795
+ /**
9796
+ *
9797
+ * @type {string}
9798
+ * @memberof UserConsent
9799
+ */
9800
+ 'consent_type'?: string;
9801
+ /**
9802
+ *
9803
+ * @type {string}
9804
+ * @memberof UserConsent
9805
+ */
9806
+ 'created_at'?: string;
9807
+ /**
9808
+ *
9809
+ * @type {number}
9810
+ * @memberof UserConsent
9811
+ */
9812
+ 'id'?: number;
9813
+ /**
9814
+ *
9815
+ * @type {string}
9816
+ * @memberof UserConsent
9817
+ */
9818
+ 'ip_address'?: string;
9819
+ /**
9820
+ *
9821
+ * @type {number}
9822
+ * @memberof UserConsent
9823
+ */
9824
+ 'org_id'?: number;
9825
+ /**
9826
+ *
9827
+ * @type {string}
9828
+ * @memberof UserConsent
9829
+ */
9830
+ 'updated_at'?: string;
9831
+ /**
9832
+ *
9833
+ * @type {number}
9834
+ * @memberof UserConsent
9835
+ */
9836
+ 'user_id'?: number;
9837
+ }
9838
+ /**
9839
+ *
9840
+ * @export
9841
+ * @interface UserConsentEvent
9842
+ */
9843
+ export interface UserConsentEvent {
9844
+ /**
9845
+ *
9846
+ * @type {string}
9847
+ * @memberof UserConsentEvent
9848
+ */
9849
+ 'action'?: string;
9850
+ /**
9851
+ *
9852
+ * @type {number}
9853
+ * @memberof UserConsentEvent
9854
+ */
9855
+ 'consent_id'?: number;
9856
+ /**
9857
+ *
9858
+ * @type {string}
9859
+ * @memberof UserConsentEvent
9860
+ */
9861
+ 'consent_method'?: string;
9862
+ /**
9863
+ *
9864
+ * @type {string}
9865
+ * @memberof UserConsentEvent
9866
+ */
9867
+ 'created_at'?: string;
9868
+ /**
9869
+ *
9870
+ * @type {number}
9871
+ * @memberof UserConsentEvent
9872
+ */
9873
+ 'id'?: number;
9874
+ /**
9875
+ *
9876
+ * @type {string}
9877
+ * @memberof UserConsentEvent
9878
+ */
9879
+ 'ip_address'?: string;
9880
+ /**
9881
+ *
9882
+ * @type {number}
9883
+ * @memberof UserConsentEvent
9884
+ */
9885
+ 'user_id'?: number;
9886
+ }
9887
+ /**
9888
+ *
9889
+ * @export
9890
+ * @interface UserConsentsResponse
9891
+ */
9892
+ export interface UserConsentsResponse {
9893
+ /**
9894
+ *
9895
+ * @type {Array<UserConsent>}
9896
+ * @memberof UserConsentsResponse
9897
+ */
9898
+ 'consents'?: Array<UserConsent>;
9899
+ }
9226
9900
  /**
9227
9901
  *
9228
9902
  * @export
@@ -10650,61 +11324,240 @@ export declare const AuthApiFactory: (configuration?: Configuration, basePath?:
10650
11324
  * @param {*} [options] Override http request option.
10651
11325
  * @throws {RequiredError}
10652
11326
  */
10653
- getUserOrganizations(options?: RawAxiosRequestConfig): AxiosPromise<UserOrganizationsResponse>;
11327
+ getUserOrganizations(options?: RawAxiosRequestConfig): AxiosPromise<UserOrganizationsResponse>;
11328
+ /**
11329
+ * Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
11330
+ * @summary Retrieve Authenticated User Details
11331
+ * @param {*} [options] Override http request option.
11332
+ * @throws {RequiredError}
11333
+ */
11334
+ retrieveAuthenticatedUserDetails(options?: RawAxiosRequestConfig): AxiosPromise<AuthUserInfoResponseModel>;
11335
+ };
11336
+ /**
11337
+ * AuthApi - object-oriented interface
11338
+ * @export
11339
+ * @class AuthApi
11340
+ * @extends {BaseAPI}
11341
+ */
11342
+ export declare class AuthApi extends BaseAPI {
11343
+ /**
11344
+ * Change the organization associated with the current token. This is useful for users who have access to multiple organizations.
11345
+ * @param {number} orgId
11346
+ * @param {*} [options] Override http request option.
11347
+ * @throws {RequiredError}
11348
+ * @memberof AuthApi
11349
+ */
11350
+ changeOrganizationForToken(orgId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthGetTokenResponseModel, any, {}>>;
11351
+ /**
11352
+ * Disable Multi-Factor Authentication (MFA) for the currently authenticated user. This endpoint is used to turn off MFA.
11353
+ * @param {*} [options] Override http request option.
11354
+ * @throws {RequiredError}
11355
+ * @memberof AuthApi
11356
+ */
11357
+ disableMFA(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonResponseModel, any, {}>>;
11358
+ /**
11359
+ * Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
11360
+ * @summary Get MFA status for authenticated user
11361
+ * @param {*} [options] Override http request option.
11362
+ * @throws {RequiredError}
11363
+ * @memberof AuthApi
11364
+ */
11365
+ getUserMFAStatus(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MFAStatusResponse, any, {}>>;
11366
+ /**
11367
+ * Retrieve the organizations associated with a user by their user ID. This endpoint is useful for understanding the user\'s organizational affiliations.
11368
+ * @summary Get User Organizations
11369
+ * @param {*} [options] Override http request option.
11370
+ * @throws {RequiredError}
11371
+ * @memberof AuthApi
11372
+ */
11373
+ getUserOrganizations(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserOrganizationsResponse, any, {}>>;
11374
+ /**
11375
+ * Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
11376
+ * @summary Retrieve Authenticated User Details
11377
+ * @param {*} [options] Override http request option.
11378
+ * @throws {RequiredError}
11379
+ * @memberof AuthApi
11380
+ */
11381
+ retrieveAuthenticatedUserDetails(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthUserInfoResponseModel, any, {}>>;
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>;
10654
11503
  /**
10655
- * Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
10656
- * @summary Retrieve Authenticated User Details
11504
+ *
11505
+ * @summary Update an existing active auto top up configuration
11506
+ * @param {UpdateAutoTopupPayload} payload
10657
11507
  * @param {*} [options] Override http request option.
10658
11508
  * @throws {RequiredError}
10659
11509
  */
10660
- retrieveAuthenticatedUserDetails(options?: RawAxiosRequestConfig): AxiosPromise<AuthUserInfoResponseModel>;
11510
+ updateAutoTopUp(payload: UpdateAutoTopupPayload, options?: RawAxiosRequestConfig): AxiosPromise<UpdateAutoTopupResponse>;
10661
11511
  };
10662
11512
  /**
10663
- * AuthApi - object-oriented interface
11513
+ * AutoTopupApi - object-oriented interface
10664
11514
  * @export
10665
- * @class AuthApi
11515
+ * @class AutoTopupApi
10666
11516
  * @extends {BaseAPI}
10667
11517
  */
10668
- export declare class AuthApi extends BaseAPI {
11518
+ export declare class AutoTopupApi extends BaseAPI {
10669
11519
  /**
10670
- * Change the organization associated with the current token. This is useful for users who have access to multiple organizations.
10671
- * @param {number} orgId
11520
+ *
11521
+ * @summary Create an auto top up configuration and initiate Stripe setup
11522
+ * @param {CreateAutoTopupPayload} payload
10672
11523
  * @param {*} [options] Override http request option.
10673
11524
  * @throws {RequiredError}
10674
- * @memberof AuthApi
11525
+ * @memberof AutoTopupApi
10675
11526
  */
10676
- changeOrganizationForToken(orgId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthGetTokenResponseModel, any, {}>>;
11527
+ createAutoTopUp(payload: CreateAutoTopupPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAutoTopupResponse, any, {}>>;
10677
11528
  /**
10678
- * Disable Multi-Factor Authentication (MFA) for the currently authenticated user. This endpoint is used to turn off MFA.
11529
+ *
11530
+ * @summary Disable auto top up, preventing any future automatic charges
10679
11531
  * @param {*} [options] Override http request option.
10680
11532
  * @throws {RequiredError}
10681
- * @memberof AuthApi
11533
+ * @memberof AutoTopupApi
10682
11534
  */
10683
- disableMFA(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CommonResponseModel, any, {}>>;
11535
+ disableAutoTopUp(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DisableAutoTopupResponse, any, {}>>;
10684
11536
  /**
10685
- * Retrieve the Multi-Factor Authentication (MFA) status for the currentlyauthenticated user. Includes whether MFA is enabled.
10686
- * @summary Get MFA status for authenticated user
11537
+ *
11538
+ * @summary Retrieve the current auto top up configuration and transaction history
10687
11539
  * @param {*} [options] Override http request option.
10688
11540
  * @throws {RequiredError}
10689
- * @memberof AuthApi
11541
+ * @memberof AutoTopupApi
10690
11542
  */
10691
- getUserMFAStatus(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MFAStatusResponse, any, {}>>;
11543
+ getAutoTopUp(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAutoTopupResponse, any, {}>>;
10692
11544
  /**
10693
- * Retrieve the organizations associated with a user by their user ID. This endpoint is useful for understanding the user\'s organizational affiliations.
10694
- * @summary Get User Organizations
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
10695
11547
  * @param {*} [options] Override http request option.
10696
11548
  * @throws {RequiredError}
10697
- * @memberof AuthApi
11549
+ * @memberof AutoTopupApi
10698
11550
  */
10699
- getUserOrganizations(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserOrganizationsResponse, any, {}>>;
11551
+ getAutoTopUpStatus(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AutoTopupStatusSchema, any, {}>>;
10700
11552
  /**
10701
- * Retrieves detailed information about the currently authenticated user. For additional information, [**click here**](https://docs.hyperstack.cloud/docs/api-reference/auth-resources/auth).
10702
- * @summary Retrieve Authenticated User Details
11553
+ *
11554
+ * @summary Update an existing active auto top up configuration
11555
+ * @param {UpdateAutoTopupPayload} payload
10703
11556
  * @param {*} [options] Override http request option.
10704
11557
  * @throws {RequiredError}
10705
- * @memberof AuthApi
11558
+ * @memberof AutoTopupApi
10706
11559
  */
10707
- retrieveAuthenticatedUserDetails(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthUserInfoResponseModel, any, {}>>;
11560
+ updateAutoTopUp(payload: UpdateAutoTopupPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateAutoTopupResponse, any, {}>>;
10708
11561
  }
10709
11562
  /**
10710
11563
  * BetaAccessApi - axios parameter creator
@@ -10925,6 +11778,37 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
10925
11778
  * @throws {RequiredError}
10926
11779
  */
10927
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>;
10928
11812
  /**
10929
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/)
10930
11814
  * @summary GET: Last Day Cost
@@ -11308,6 +12192,37 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
11308
12192
  * @throws {RequiredError}
11309
12193
  */
11310
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>>;
11311
12226
  /**
11312
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/)
11313
12228
  * @summary GET: Last Day Cost
@@ -11691,6 +12606,37 @@ export declare const BillingApiFactory: (configuration?: Configuration, basePath
11691
12606
  * @throws {RequiredError}
11692
12607
  */
11693
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>;
11694
12640
  /**
11695
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/)
11696
12642
  * @summary GET: Last Day Cost
@@ -12085,6 +13031,40 @@ export declare class BillingApi extends BaseAPI {
12085
13031
  * @memberof BillingApi
12086
13032
  */
12087
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, {}>>;
12088
13068
  /**
12089
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/)
12090
13070
  * @summary GET: Last Day Cost
@@ -17152,6 +18132,256 @@ export declare class UserApi extends BaseAPI {
17152
18132
  */
17153
18133
  updateUserBillingInfo(payload: UserInfoPostPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AddUserInfoSuccessResponseModel, any, {}>>;
17154
18134
  }
18135
+ /**
18136
+ * UserConsentApi - axios parameter creator
18137
+ * @export
18138
+ */
18139
+ export declare const UserConsentApiAxiosParamCreator: (configuration?: Configuration) => {
18140
+ /**
18141
+ * Add a new consent given by the User
18142
+ * @summary Add a new User consent
18143
+ * @param {RecordConsentRequest} payload
18144
+ * @param {*} [options] Override http request option.
18145
+ * @throws {RequiredError}
18146
+ */
18147
+ addANewConsentForAUser: (payload: RecordConsentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18148
+ /**
18149
+ * Returns current consent templates for all consent types
18150
+ * @summary Get all consent templates
18151
+ * @param {*} [options] Override http request option.
18152
+ * @throws {RequiredError}
18153
+ */
18154
+ getAllConsentTemplates: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18155
+ /**
18156
+ * Fetch all the recorded consents given from a User
18157
+ * @summary Get Consents for a User
18158
+ * @param {string} [consentType] Filter by consent type
18159
+ * @param {*} [options] Override http request option.
18160
+ * @throws {RequiredError}
18161
+ */
18162
+ getAllConsentsForAUser: (consentType?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18163
+ /**
18164
+ * Returns the current consent template for a specific consent type
18165
+ * @summary Get consent template for a specific type
18166
+ * @param {string} consentType
18167
+ * @param {*} [options] Override http request option.
18168
+ * @throws {RequiredError}
18169
+ */
18170
+ getConsentTemplateByType: (consentType: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18171
+ /**
18172
+ * Revoke or grant a consent to the User
18173
+ * @summary Grant or revoke an existing consent
18174
+ * @param {string} consentType
18175
+ * @param {UpdateConsentRequest} payload
18176
+ * @param {*} [options] Override http request option.
18177
+ * @throws {RequiredError}
18178
+ */
18179
+ updateAConsentActionByType: (consentType: string, payload: UpdateConsentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18180
+ };
18181
+ /**
18182
+ * UserConsentApi - functional programming interface
18183
+ * @export
18184
+ */
18185
+ export declare const UserConsentApiFp: (configuration?: Configuration) => {
18186
+ /**
18187
+ * Add a new consent given by the User
18188
+ * @summary Add a new User consent
18189
+ * @param {RecordConsentRequest} payload
18190
+ * @param {*} [options] Override http request option.
18191
+ * @throws {RequiredError}
18192
+ */
18193
+ addANewConsentForAUser(payload: RecordConsentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsentActionResponse>>;
18194
+ /**
18195
+ * Returns current consent templates for all consent types
18196
+ * @summary Get all consent templates
18197
+ * @param {*} [options] Override http request option.
18198
+ * @throws {RequiredError}
18199
+ */
18200
+ getAllConsentTemplates(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsentTemplatesResponse>>;
18201
+ /**
18202
+ * Fetch all the recorded consents given from a User
18203
+ * @summary Get Consents for a User
18204
+ * @param {string} [consentType] Filter by consent type
18205
+ * @param {*} [options] Override http request option.
18206
+ * @throws {RequiredError}
18207
+ */
18208
+ getAllConsentsForAUser(consentType?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserConsentsResponse>>;
18209
+ /**
18210
+ * Returns the current consent template for a specific consent type
18211
+ * @summary Get consent template for a specific type
18212
+ * @param {string} consentType
18213
+ * @param {*} [options] Override http request option.
18214
+ * @throws {RequiredError}
18215
+ */
18216
+ getConsentTemplateByType(consentType: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsentTemplate>>;
18217
+ /**
18218
+ * Revoke or grant a consent to the User
18219
+ * @summary Grant or revoke an existing consent
18220
+ * @param {string} consentType
18221
+ * @param {UpdateConsentRequest} payload
18222
+ * @param {*} [options] Override http request option.
18223
+ * @throws {RequiredError}
18224
+ */
18225
+ updateAConsentActionByType(consentType: string, payload: UpdateConsentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsentActionResponse>>;
18226
+ };
18227
+ /**
18228
+ * UserConsentApi - factory interface
18229
+ * @export
18230
+ */
18231
+ export declare const UserConsentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
18232
+ /**
18233
+ * Add a new consent given by the User
18234
+ * @summary Add a new User consent
18235
+ * @param {RecordConsentRequest} payload
18236
+ * @param {*} [options] Override http request option.
18237
+ * @throws {RequiredError}
18238
+ */
18239
+ addANewConsentForAUser(payload: RecordConsentRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConsentActionResponse>;
18240
+ /**
18241
+ * Returns current consent templates for all consent types
18242
+ * @summary Get all consent templates
18243
+ * @param {*} [options] Override http request option.
18244
+ * @throws {RequiredError}
18245
+ */
18246
+ getAllConsentTemplates(options?: RawAxiosRequestConfig): AxiosPromise<ConsentTemplatesResponse>;
18247
+ /**
18248
+ * Fetch all the recorded consents given from a User
18249
+ * @summary Get Consents for a User
18250
+ * @param {string} [consentType] Filter by consent type
18251
+ * @param {*} [options] Override http request option.
18252
+ * @throws {RequiredError}
18253
+ */
18254
+ getAllConsentsForAUser(consentType?: string, options?: RawAxiosRequestConfig): AxiosPromise<UserConsentsResponse>;
18255
+ /**
18256
+ * Returns the current consent template for a specific consent type
18257
+ * @summary Get consent template for a specific type
18258
+ * @param {string} consentType
18259
+ * @param {*} [options] Override http request option.
18260
+ * @throws {RequiredError}
18261
+ */
18262
+ getConsentTemplateByType(consentType: string, options?: RawAxiosRequestConfig): AxiosPromise<ConsentTemplate>;
18263
+ /**
18264
+ * Revoke or grant a consent to the User
18265
+ * @summary Grant or revoke an existing consent
18266
+ * @param {string} consentType
18267
+ * @param {UpdateConsentRequest} payload
18268
+ * @param {*} [options] Override http request option.
18269
+ * @throws {RequiredError}
18270
+ */
18271
+ updateAConsentActionByType(consentType: string, payload: UpdateConsentRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConsentActionResponse>;
18272
+ };
18273
+ /**
18274
+ * UserConsentApi - object-oriented interface
18275
+ * @export
18276
+ * @class UserConsentApi
18277
+ * @extends {BaseAPI}
18278
+ */
18279
+ export declare class UserConsentApi extends BaseAPI {
18280
+ /**
18281
+ * Add a new consent given by the User
18282
+ * @summary Add a new User consent
18283
+ * @param {RecordConsentRequest} payload
18284
+ * @param {*} [options] Override http request option.
18285
+ * @throws {RequiredError}
18286
+ * @memberof UserConsentApi
18287
+ */
18288
+ addANewConsentForAUser(payload: RecordConsentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConsentActionResponse, any, {}>>;
18289
+ /**
18290
+ * Returns current consent templates for all consent types
18291
+ * @summary Get all consent templates
18292
+ * @param {*} [options] Override http request option.
18293
+ * @throws {RequiredError}
18294
+ * @memberof UserConsentApi
18295
+ */
18296
+ getAllConsentTemplates(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConsentTemplatesResponse, any, {}>>;
18297
+ /**
18298
+ * Fetch all the recorded consents given from a User
18299
+ * @summary Get Consents for a User
18300
+ * @param {string} [consentType] Filter by consent type
18301
+ * @param {*} [options] Override http request option.
18302
+ * @throws {RequiredError}
18303
+ * @memberof UserConsentApi
18304
+ */
18305
+ getAllConsentsForAUser(consentType?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserConsentsResponse, any, {}>>;
18306
+ /**
18307
+ * Returns the current consent template for a specific consent type
18308
+ * @summary Get consent template for a specific type
18309
+ * @param {string} consentType
18310
+ * @param {*} [options] Override http request option.
18311
+ * @throws {RequiredError}
18312
+ * @memberof UserConsentApi
18313
+ */
18314
+ getConsentTemplateByType(consentType: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConsentTemplate, any, {}>>;
18315
+ /**
18316
+ * Revoke or grant a consent to the User
18317
+ * @summary Grant or revoke an existing consent
18318
+ * @param {string} consentType
18319
+ * @param {UpdateConsentRequest} payload
18320
+ * @param {*} [options] Override http request option.
18321
+ * @throws {RequiredError}
18322
+ * @memberof UserConsentApi
18323
+ */
18324
+ updateAConsentActionByType(consentType: string, payload: UpdateConsentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConsentActionResponse, any, {}>>;
18325
+ }
18326
+ /**
18327
+ * UserConsentEventsApi - axios parameter creator
18328
+ * @export
18329
+ */
18330
+ export declare const UserConsentEventsApiAxiosParamCreator: (configuration?: Configuration) => {
18331
+ /**
18332
+ * Get all consent audit events
18333
+ * @summary Get audit trail for a consent
18334
+ * @param {string} consentType
18335
+ * @param {*} [options] Override http request option.
18336
+ * @throws {RequiredError}
18337
+ */
18338
+ getConsentAuditEvents: (consentType: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
18339
+ };
18340
+ /**
18341
+ * UserConsentEventsApi - functional programming interface
18342
+ * @export
18343
+ */
18344
+ export declare const UserConsentEventsApiFp: (configuration?: Configuration) => {
18345
+ /**
18346
+ * Get all consent audit events
18347
+ * @summary Get audit trail for a consent
18348
+ * @param {string} consentType
18349
+ * @param {*} [options] Override http request option.
18350
+ * @throws {RequiredError}
18351
+ */
18352
+ getConsentAuditEvents(consentType: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsentEventsResponse>>;
18353
+ };
18354
+ /**
18355
+ * UserConsentEventsApi - factory interface
18356
+ * @export
18357
+ */
18358
+ export declare const UserConsentEventsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
18359
+ /**
18360
+ * Get all consent audit events
18361
+ * @summary Get audit trail for a consent
18362
+ * @param {string} consentType
18363
+ * @param {*} [options] Override http request option.
18364
+ * @throws {RequiredError}
18365
+ */
18366
+ getConsentAuditEvents(consentType: string, options?: RawAxiosRequestConfig): AxiosPromise<ConsentEventsResponse>;
18367
+ };
18368
+ /**
18369
+ * UserConsentEventsApi - object-oriented interface
18370
+ * @export
18371
+ * @class UserConsentEventsApi
18372
+ * @extends {BaseAPI}
18373
+ */
18374
+ export declare class UserConsentEventsApi extends BaseAPI {
18375
+ /**
18376
+ * Get all consent audit events
18377
+ * @summary Get audit trail for a consent
18378
+ * @param {string} consentType
18379
+ * @param {*} [options] Override http request option.
18380
+ * @throws {RequiredError}
18381
+ * @memberof UserConsentEventsApi
18382
+ */
18383
+ getConsentAuditEvents(consentType: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConsentEventsResponse, any, {}>>;
18384
+ }
17155
18385
  /**
17156
18386
  * UserDetailChoiceApi - axios parameter creator
17157
18387
  * @export