rebilly-js-sdk 62.151.0 → 62.153.0

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
- ## [62.151.0](https://github.com/Rebilly/rebilly/compare/rebilly-js-sdk-v62.150.0...rebilly-js-sdk-v62.151.0) (2026-07-22)
1
+ ## [62.153.0](https://github.com/Rebilly/rebilly/compare/rebilly-js-sdk-v62.152.0...rebilly-js-sdk-v62.153.0) (2026-07-23)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#23965](https://github.com/Rebilly/rebilly/issues/23965)) ([918b42d](https://github.com/Rebilly/rebilly/commit/918b42d3ce21e93bce2391466498be2ce71b4b39))
6
+ * **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#23998](https://github.com/Rebilly/rebilly/issues/23998)) ([c2a39e8](https://github.com/Rebilly/rebilly/commit/c2a39e834e9b9dfa243abf71a1cce011826e94ad))
@@ -13467,7 +13467,11 @@ export interface coreComponents {
13467
13467
  SubscriptionOrOneTimeSaleItem: {
13468
13468
  /** ID of the order item. */
13469
13469
  id?: string;
13470
- /** ID of the plan. */
13470
+ /**
13471
+ * ID of the plan.
13472
+ *
13473
+ * > **Note:** This field is deprecated. Use the `plan.id` field instead.
13474
+ */
13471
13475
  planId?: string;
13472
13476
  /** Number of product units in the specified plan. */
13473
13477
  quantity?: number;
@@ -13956,7 +13960,11 @@ export interface coreComponents {
13956
13960
  id?: string;
13957
13961
  /** Specifies the type of order item. */
13958
13962
  type: string;
13959
- /** ID of the plan. */
13963
+ /**
13964
+ * ID of the plan.
13965
+ *
13966
+ * > **Note:** This field is deprecated. Use the `plan.id` field instead.
13967
+ */
13960
13968
  planId?: string;
13961
13969
  /** ID of the related product. */
13962
13970
  productId?: string;
@@ -14003,7 +14011,11 @@ export interface coreComponents {
14003
14011
  currentPeriodEnd?: string;
14004
14012
  /** Current billing period number. */
14005
14013
  rebillNumber?: number | null;
14006
- /** ID of the plan. */
14014
+ /**
14015
+ * ID of the plan.
14016
+ *
14017
+ * > **Note:** This field is deprecated. Use the `plan.id` field instead.
14018
+ */
14007
14019
  planId?: string;
14008
14020
  /** ID of the related product. */
14009
14021
  productId?: string;
@@ -23548,6 +23560,10 @@ export interface coreComponents {
23548
23560
  */
23549
23561
  start?: string;
23550
23562
  };
23563
+ /** Reason the export failed, if the export status is `failed`. */
23564
+ DataExportFailureReason:
23565
+ | ("record-limit-exceeded" | "max-retries-reached")
23566
+ | null;
23551
23567
  /**
23552
23568
  * Date range of the data export.
23553
23569
  * If this value is not set, all data is included.
@@ -23597,7 +23613,8 @@ export interface coreComponents {
23597
23613
  createdTime?: coreComponents["schemas"]["CreatedTime"];
23598
23614
  updatedTime?: coreComponents["schemas"]["UpdatedTime"];
23599
23615
  /** Status of export request. */
23600
- status?: "pending" | "queued" | "processing" | "completed";
23616
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
23617
+ failureReason?: coreComponents["schemas"]["DataExportFailureReason"];
23601
23618
  dateRange?: coreComponents["schemas"]["DataExportDateRange"] & {
23602
23619
  field?: string;
23603
23620
  };
@@ -23644,7 +23661,8 @@ export interface coreComponents {
23644
23661
  createdTime?: coreComponents["schemas"]["CreatedTime"];
23645
23662
  updatedTime?: coreComponents["schemas"]["UpdatedTime"];
23646
23663
  /** Status of export request. */
23647
- status?: "pending" | "queued" | "processing" | "completed";
23664
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
23665
+ failureReason?: coreComponents["schemas"]["DataExportFailureReason"];
23648
23666
  dateRange?: coreComponents["schemas"]["DataExportDateRange"] & {
23649
23667
  field?: string;
23650
23668
  };
@@ -23691,7 +23709,8 @@ export interface coreComponents {
23691
23709
  createdTime?: coreComponents["schemas"]["CreatedTime"];
23692
23710
  updatedTime?: coreComponents["schemas"]["UpdatedTime"];
23693
23711
  /** Status of export request. */
23694
- status?: "pending" | "queued" | "processing" | "completed";
23712
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
23713
+ failureReason?: coreComponents["schemas"]["DataExportFailureReason"];
23695
23714
  dateRange?: coreComponents["schemas"]["DataExportDateRange"] & {
23696
23715
  field?: string;
23697
23716
  };
@@ -23738,7 +23757,8 @@ export interface coreComponents {
23738
23757
  createdTime?: coreComponents["schemas"]["CreatedTime"];
23739
23758
  updatedTime?: coreComponents["schemas"]["UpdatedTime"];
23740
23759
  /** Status of export request. */
23741
- status?: "pending" | "queued" | "processing" | "completed";
23760
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
23761
+ failureReason?: coreComponents["schemas"]["DataExportFailureReason"];
23742
23762
  dateRange?: coreComponents["schemas"]["DataExportDateRange"] & {
23743
23763
  field?: string;
23744
23764
  };
@@ -23785,7 +23805,8 @@ export interface coreComponents {
23785
23805
  createdTime?: coreComponents["schemas"]["CreatedTime"];
23786
23806
  updatedTime?: coreComponents["schemas"]["UpdatedTime"];
23787
23807
  /** Status of export request. */
23788
- status?: "pending" | "queued" | "processing" | "completed";
23808
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
23809
+ failureReason?: coreComponents["schemas"]["DataExportFailureReason"];
23789
23810
  dateRange?: coreComponents["schemas"]["DataExportDateRange"] & {
23790
23811
  field?: string;
23791
23812
  };
@@ -23832,7 +23853,8 @@ export interface coreComponents {
23832
23853
  createdTime?: coreComponents["schemas"]["CreatedTime"];
23833
23854
  updatedTime?: coreComponents["schemas"]["UpdatedTime"];
23834
23855
  /** Status of export request. */
23835
- status?: "pending" | "queued" | "processing" | "completed";
23856
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
23857
+ failureReason?: coreComponents["schemas"]["DataExportFailureReason"];
23836
23858
  dateRange?: coreComponents["schemas"]["DataExportDateRange"] & {
23837
23859
  field?: string;
23838
23860
  };
@@ -23879,7 +23901,8 @@ export interface coreComponents {
23879
23901
  createdTime?: coreComponents["schemas"]["CreatedTime"];
23880
23902
  updatedTime?: coreComponents["schemas"]["UpdatedTime"];
23881
23903
  /** Status of the export request. */
23882
- status?: "pending" | "queued" | "processing" | "completed";
23904
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
23905
+ failureReason?: coreComponents["schemas"]["DataExportFailureReason"];
23883
23906
  dateRange?: coreComponents["schemas"]["DataExportDateRange"] & {
23884
23907
  field?: string;
23885
23908
  };
@@ -23926,7 +23949,8 @@ export interface coreComponents {
23926
23949
  createdTime?: coreComponents["schemas"]["CreatedTime"];
23927
23950
  updatedTime?: coreComponents["schemas"]["UpdatedTime"];
23928
23951
  /** Status of export request. */
23929
- status?: "pending" | "queued" | "processing" | "completed";
23952
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
23953
+ failureReason?: coreComponents["schemas"]["DataExportFailureReason"];
23930
23954
  dateRange?: coreComponents["schemas"]["DataExportDateRange"] & {
23931
23955
  field?: string;
23932
23956
  };
@@ -23973,7 +23997,8 @@ export interface coreComponents {
23973
23997
  createdTime?: coreComponents["schemas"]["CreatedTime"];
23974
23998
  updatedTime?: coreComponents["schemas"]["UpdatedTime"];
23975
23999
  /** Status of the export request. */
23976
- status?: "pending" | "queued" | "processing" | "completed";
24000
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
24001
+ failureReason?: coreComponents["schemas"]["DataExportFailureReason"];
23977
24002
  dateRange?: coreComponents["schemas"]["DataExportDateRange"] & {
23978
24003
  field?: string;
23979
24004
  };
@@ -24020,7 +24045,8 @@ export interface coreComponents {
24020
24045
  createdTime?: coreComponents["schemas"]["CreatedTime"];
24021
24046
  updatedTime?: coreComponents["schemas"]["UpdatedTime"];
24022
24047
  /** Status of the export request. */
24023
- status?: "pending" | "queued" | "processing" | "completed";
24048
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
24049
+ failureReason?: coreComponents["schemas"]["DataExportFailureReason"];
24024
24050
  dateRange?: coreComponents["schemas"]["DataExportDateRange"] & {
24025
24051
  field?: string;
24026
24052
  };
@@ -24067,7 +24093,8 @@ export interface coreComponents {
24067
24093
  createdTime?: coreComponents["schemas"]["CreatedTime"];
24068
24094
  updatedTime?: coreComponents["schemas"]["UpdatedTime"];
24069
24095
  /** Status of the export request. */
24070
- status?: "pending" | "queued" | "processing" | "completed";
24096
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
24097
+ failureReason?: coreComponents["schemas"]["DataExportFailureReason"];
24071
24098
  dateRange?: coreComponents["schemas"]["DataExportDateRange"] & {
24072
24099
  field?: string;
24073
24100
  };
@@ -24872,13 +24899,13 @@ export interface coreComponents {
24872
24899
  };
24873
24900
  SubscriptionSummaryMetrics: {
24874
24901
  /** Currency code in ISO 4217 format. */
24875
- currency?: string;
24902
+ currency: string;
24876
24903
  /** Total amount of all issued, past due, and paid invoices. */
24877
- invoicedAmount?: number;
24904
+ invoicedAmount: number;
24878
24905
  /** Total amount of all paid invoices. */
24879
- collectedAmount?: number;
24906
+ collectedAmount: number;
24880
24907
  /** Number of issued, past due, or paid invoices. */
24881
- invoiceCount?: number;
24908
+ invoiceCount: number;
24882
24909
  };
24883
24910
  StorefrontAccount: {
24884
24911
  /** ID of the account. */
@@ -52197,7 +52224,11 @@ export interface storefrontComponents {
52197
52224
  SubscriptionOrOneTimeSaleItem: {
52198
52225
  /** ID of the order item. */
52199
52226
  id?: string;
52200
- /** ID of the plan. */
52227
+ /**
52228
+ * ID of the plan.
52229
+ *
52230
+ * > **Note:** This field is deprecated. Use the `plan.id` field instead.
52231
+ */
52201
52232
  planId?: string;
52202
52233
  /** Number of product units in the specified plan. */
52203
52234
  quantity?: number;
@@ -52686,7 +52717,11 @@ export interface storefrontComponents {
52686
52717
  id?: string;
52687
52718
  /** Specifies the type of order item. */
52688
52719
  type: string;
52689
- /** ID of the plan. */
52720
+ /**
52721
+ * ID of the plan.
52722
+ *
52723
+ * > **Note:** This field is deprecated. Use the `plan.id` field instead.
52724
+ */
52690
52725
  planId?: string;
52691
52726
  /** ID of the related product. */
52692
52727
  productId?: string;
@@ -52733,7 +52768,11 @@ export interface storefrontComponents {
52733
52768
  currentPeriodEnd?: string;
52734
52769
  /** Current billing period number. */
52735
52770
  rebillNumber?: number | null;
52736
- /** ID of the plan. */
52771
+ /**
52772
+ * ID of the plan.
52773
+ *
52774
+ * > **Note:** This field is deprecated. Use the `plan.id` field instead.
52775
+ */
52737
52776
  planId?: string;
52738
52777
  /** ID of the related product. */
52739
52778
  productId?: string;
@@ -62278,6 +62317,10 @@ export interface storefrontComponents {
62278
62317
  */
62279
62318
  start?: string;
62280
62319
  };
62320
+ /** Reason the export failed, if the export status is `failed`. */
62321
+ DataExportFailureReason:
62322
+ | ("record-limit-exceeded" | "max-retries-reached")
62323
+ | null;
62281
62324
  /**
62282
62325
  * Date range of the data export.
62283
62326
  * If this value is not set, all data is included.
@@ -62327,7 +62370,8 @@ export interface storefrontComponents {
62327
62370
  createdTime?: storefrontComponents["schemas"]["CreatedTime"];
62328
62371
  updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
62329
62372
  /** Status of export request. */
62330
- status?: "pending" | "queued" | "processing" | "completed";
62373
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
62374
+ failureReason?: storefrontComponents["schemas"]["DataExportFailureReason"];
62331
62375
  dateRange?: storefrontComponents["schemas"]["DataExportDateRange"] & {
62332
62376
  field?: string;
62333
62377
  };
@@ -62374,7 +62418,8 @@ export interface storefrontComponents {
62374
62418
  createdTime?: storefrontComponents["schemas"]["CreatedTime"];
62375
62419
  updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
62376
62420
  /** Status of export request. */
62377
- status?: "pending" | "queued" | "processing" | "completed";
62421
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
62422
+ failureReason?: storefrontComponents["schemas"]["DataExportFailureReason"];
62378
62423
  dateRange?: storefrontComponents["schemas"]["DataExportDateRange"] & {
62379
62424
  field?: string;
62380
62425
  };
@@ -62421,7 +62466,8 @@ export interface storefrontComponents {
62421
62466
  createdTime?: storefrontComponents["schemas"]["CreatedTime"];
62422
62467
  updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
62423
62468
  /** Status of export request. */
62424
- status?: "pending" | "queued" | "processing" | "completed";
62469
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
62470
+ failureReason?: storefrontComponents["schemas"]["DataExportFailureReason"];
62425
62471
  dateRange?: storefrontComponents["schemas"]["DataExportDateRange"] & {
62426
62472
  field?: string;
62427
62473
  };
@@ -62468,7 +62514,8 @@ export interface storefrontComponents {
62468
62514
  createdTime?: storefrontComponents["schemas"]["CreatedTime"];
62469
62515
  updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
62470
62516
  /** Status of export request. */
62471
- status?: "pending" | "queued" | "processing" | "completed";
62517
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
62518
+ failureReason?: storefrontComponents["schemas"]["DataExportFailureReason"];
62472
62519
  dateRange?: storefrontComponents["schemas"]["DataExportDateRange"] & {
62473
62520
  field?: string;
62474
62521
  };
@@ -62515,7 +62562,8 @@ export interface storefrontComponents {
62515
62562
  createdTime?: storefrontComponents["schemas"]["CreatedTime"];
62516
62563
  updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
62517
62564
  /** Status of export request. */
62518
- status?: "pending" | "queued" | "processing" | "completed";
62565
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
62566
+ failureReason?: storefrontComponents["schemas"]["DataExportFailureReason"];
62519
62567
  dateRange?: storefrontComponents["schemas"]["DataExportDateRange"] & {
62520
62568
  field?: string;
62521
62569
  };
@@ -62562,7 +62610,8 @@ export interface storefrontComponents {
62562
62610
  createdTime?: storefrontComponents["schemas"]["CreatedTime"];
62563
62611
  updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
62564
62612
  /** Status of export request. */
62565
- status?: "pending" | "queued" | "processing" | "completed";
62613
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
62614
+ failureReason?: storefrontComponents["schemas"]["DataExportFailureReason"];
62566
62615
  dateRange?: storefrontComponents["schemas"]["DataExportDateRange"] & {
62567
62616
  field?: string;
62568
62617
  };
@@ -62609,7 +62658,8 @@ export interface storefrontComponents {
62609
62658
  createdTime?: storefrontComponents["schemas"]["CreatedTime"];
62610
62659
  updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
62611
62660
  /** Status of the export request. */
62612
- status?: "pending" | "queued" | "processing" | "completed";
62661
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
62662
+ failureReason?: storefrontComponents["schemas"]["DataExportFailureReason"];
62613
62663
  dateRange?: storefrontComponents["schemas"]["DataExportDateRange"] & {
62614
62664
  field?: string;
62615
62665
  };
@@ -62656,7 +62706,8 @@ export interface storefrontComponents {
62656
62706
  createdTime?: storefrontComponents["schemas"]["CreatedTime"];
62657
62707
  updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
62658
62708
  /** Status of export request. */
62659
- status?: "pending" | "queued" | "processing" | "completed";
62709
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
62710
+ failureReason?: storefrontComponents["schemas"]["DataExportFailureReason"];
62660
62711
  dateRange?: storefrontComponents["schemas"]["DataExportDateRange"] & {
62661
62712
  field?: string;
62662
62713
  };
@@ -62703,7 +62754,8 @@ export interface storefrontComponents {
62703
62754
  createdTime?: storefrontComponents["schemas"]["CreatedTime"];
62704
62755
  updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
62705
62756
  /** Status of the export request. */
62706
- status?: "pending" | "queued" | "processing" | "completed";
62757
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
62758
+ failureReason?: storefrontComponents["schemas"]["DataExportFailureReason"];
62707
62759
  dateRange?: storefrontComponents["schemas"]["DataExportDateRange"] & {
62708
62760
  field?: string;
62709
62761
  };
@@ -62750,7 +62802,8 @@ export interface storefrontComponents {
62750
62802
  createdTime?: storefrontComponents["schemas"]["CreatedTime"];
62751
62803
  updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
62752
62804
  /** Status of the export request. */
62753
- status?: "pending" | "queued" | "processing" | "completed";
62805
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
62806
+ failureReason?: storefrontComponents["schemas"]["DataExportFailureReason"];
62754
62807
  dateRange?: storefrontComponents["schemas"]["DataExportDateRange"] & {
62755
62808
  field?: string;
62756
62809
  };
@@ -62797,7 +62850,8 @@ export interface storefrontComponents {
62797
62850
  createdTime?: storefrontComponents["schemas"]["CreatedTime"];
62798
62851
  updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
62799
62852
  /** Status of the export request. */
62800
- status?: "pending" | "queued" | "processing" | "completed";
62853
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
62854
+ failureReason?: storefrontComponents["schemas"]["DataExportFailureReason"];
62801
62855
  dateRange?: storefrontComponents["schemas"]["DataExportDateRange"] & {
62802
62856
  field?: string;
62803
62857
  };
@@ -63602,13 +63656,13 @@ export interface storefrontComponents {
63602
63656
  };
63603
63657
  SubscriptionSummaryMetrics: {
63604
63658
  /** Currency code in ISO 4217 format. */
63605
- currency?: string;
63659
+ currency: string;
63606
63660
  /** Total amount of all issued, past due, and paid invoices. */
63607
- invoicedAmount?: number;
63661
+ invoicedAmount: number;
63608
63662
  /** Total amount of all paid invoices. */
63609
- collectedAmount?: number;
63663
+ collectedAmount: number;
63610
63664
  /** Number of issued, past due, or paid invoices. */
63611
- invoiceCount?: number;
63665
+ invoiceCount: number;
63612
63666
  };
63613
63667
  StorefrontAccount: {
63614
63668
  /** ID of the account. */
@@ -78202,7 +78256,11 @@ export interface reportsComponents {
78202
78256
  SubscriptionOrOneTimeSaleItem: {
78203
78257
  /** ID of the order item. */
78204
78258
  id?: string;
78205
- /** ID of the plan. */
78259
+ /**
78260
+ * ID of the plan.
78261
+ *
78262
+ * > **Note:** This field is deprecated. Use the `plan.id` field instead.
78263
+ */
78206
78264
  planId?: string;
78207
78265
  /** Number of product units in the specified plan. */
78208
78266
  quantity?: number;
@@ -78691,7 +78749,11 @@ export interface reportsComponents {
78691
78749
  id?: string;
78692
78750
  /** Specifies the type of order item. */
78693
78751
  type: string;
78694
- /** ID of the plan. */
78752
+ /**
78753
+ * ID of the plan.
78754
+ *
78755
+ * > **Note:** This field is deprecated. Use the `plan.id` field instead.
78756
+ */
78695
78757
  planId?: string;
78696
78758
  /** ID of the related product. */
78697
78759
  productId?: string;
@@ -78738,7 +78800,11 @@ export interface reportsComponents {
78738
78800
  currentPeriodEnd?: string;
78739
78801
  /** Current billing period number. */
78740
78802
  rebillNumber?: number | null;
78741
- /** ID of the plan. */
78803
+ /**
78804
+ * ID of the plan.
78805
+ *
78806
+ * > **Note:** This field is deprecated. Use the `plan.id` field instead.
78807
+ */
78742
78808
  planId?: string;
78743
78809
  /** ID of the related product. */
78744
78810
  productId?: string;
@@ -88283,6 +88349,10 @@ export interface reportsComponents {
88283
88349
  */
88284
88350
  start?: string;
88285
88351
  };
88352
+ /** Reason the export failed, if the export status is `failed`. */
88353
+ DataExportFailureReason:
88354
+ | ("record-limit-exceeded" | "max-retries-reached")
88355
+ | null;
88286
88356
  /**
88287
88357
  * Date range of the data export.
88288
88358
  * If this value is not set, all data is included.
@@ -88332,7 +88402,8 @@ export interface reportsComponents {
88332
88402
  createdTime?: reportsComponents["schemas"]["CreatedTime"];
88333
88403
  updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
88334
88404
  /** Status of export request. */
88335
- status?: "pending" | "queued" | "processing" | "completed";
88405
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
88406
+ failureReason?: reportsComponents["schemas"]["DataExportFailureReason"];
88336
88407
  dateRange?: reportsComponents["schemas"]["DataExportDateRange"] & {
88337
88408
  field?: string;
88338
88409
  };
@@ -88379,7 +88450,8 @@ export interface reportsComponents {
88379
88450
  createdTime?: reportsComponents["schemas"]["CreatedTime"];
88380
88451
  updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
88381
88452
  /** Status of export request. */
88382
- status?: "pending" | "queued" | "processing" | "completed";
88453
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
88454
+ failureReason?: reportsComponents["schemas"]["DataExportFailureReason"];
88383
88455
  dateRange?: reportsComponents["schemas"]["DataExportDateRange"] & {
88384
88456
  field?: string;
88385
88457
  };
@@ -88426,7 +88498,8 @@ export interface reportsComponents {
88426
88498
  createdTime?: reportsComponents["schemas"]["CreatedTime"];
88427
88499
  updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
88428
88500
  /** Status of export request. */
88429
- status?: "pending" | "queued" | "processing" | "completed";
88501
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
88502
+ failureReason?: reportsComponents["schemas"]["DataExportFailureReason"];
88430
88503
  dateRange?: reportsComponents["schemas"]["DataExportDateRange"] & {
88431
88504
  field?: string;
88432
88505
  };
@@ -88473,7 +88546,8 @@ export interface reportsComponents {
88473
88546
  createdTime?: reportsComponents["schemas"]["CreatedTime"];
88474
88547
  updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
88475
88548
  /** Status of export request. */
88476
- status?: "pending" | "queued" | "processing" | "completed";
88549
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
88550
+ failureReason?: reportsComponents["schemas"]["DataExportFailureReason"];
88477
88551
  dateRange?: reportsComponents["schemas"]["DataExportDateRange"] & {
88478
88552
  field?: string;
88479
88553
  };
@@ -88520,7 +88594,8 @@ export interface reportsComponents {
88520
88594
  createdTime?: reportsComponents["schemas"]["CreatedTime"];
88521
88595
  updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
88522
88596
  /** Status of export request. */
88523
- status?: "pending" | "queued" | "processing" | "completed";
88597
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
88598
+ failureReason?: reportsComponents["schemas"]["DataExportFailureReason"];
88524
88599
  dateRange?: reportsComponents["schemas"]["DataExportDateRange"] & {
88525
88600
  field?: string;
88526
88601
  };
@@ -88567,7 +88642,8 @@ export interface reportsComponents {
88567
88642
  createdTime?: reportsComponents["schemas"]["CreatedTime"];
88568
88643
  updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
88569
88644
  /** Status of export request. */
88570
- status?: "pending" | "queued" | "processing" | "completed";
88645
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
88646
+ failureReason?: reportsComponents["schemas"]["DataExportFailureReason"];
88571
88647
  dateRange?: reportsComponents["schemas"]["DataExportDateRange"] & {
88572
88648
  field?: string;
88573
88649
  };
@@ -88614,7 +88690,8 @@ export interface reportsComponents {
88614
88690
  createdTime?: reportsComponents["schemas"]["CreatedTime"];
88615
88691
  updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
88616
88692
  /** Status of the export request. */
88617
- status?: "pending" | "queued" | "processing" | "completed";
88693
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
88694
+ failureReason?: reportsComponents["schemas"]["DataExportFailureReason"];
88618
88695
  dateRange?: reportsComponents["schemas"]["DataExportDateRange"] & {
88619
88696
  field?: string;
88620
88697
  };
@@ -88661,7 +88738,8 @@ export interface reportsComponents {
88661
88738
  createdTime?: reportsComponents["schemas"]["CreatedTime"];
88662
88739
  updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
88663
88740
  /** Status of export request. */
88664
- status?: "pending" | "queued" | "processing" | "completed";
88741
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
88742
+ failureReason?: reportsComponents["schemas"]["DataExportFailureReason"];
88665
88743
  dateRange?: reportsComponents["schemas"]["DataExportDateRange"] & {
88666
88744
  field?: string;
88667
88745
  };
@@ -88708,7 +88786,8 @@ export interface reportsComponents {
88708
88786
  createdTime?: reportsComponents["schemas"]["CreatedTime"];
88709
88787
  updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
88710
88788
  /** Status of the export request. */
88711
- status?: "pending" | "queued" | "processing" | "completed";
88789
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
88790
+ failureReason?: reportsComponents["schemas"]["DataExportFailureReason"];
88712
88791
  dateRange?: reportsComponents["schemas"]["DataExportDateRange"] & {
88713
88792
  field?: string;
88714
88793
  };
@@ -88755,7 +88834,8 @@ export interface reportsComponents {
88755
88834
  createdTime?: reportsComponents["schemas"]["CreatedTime"];
88756
88835
  updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
88757
88836
  /** Status of the export request. */
88758
- status?: "pending" | "queued" | "processing" | "completed";
88837
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
88838
+ failureReason?: reportsComponents["schemas"]["DataExportFailureReason"];
88759
88839
  dateRange?: reportsComponents["schemas"]["DataExportDateRange"] & {
88760
88840
  field?: string;
88761
88841
  };
@@ -88802,7 +88882,8 @@ export interface reportsComponents {
88802
88882
  createdTime?: reportsComponents["schemas"]["CreatedTime"];
88803
88883
  updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
88804
88884
  /** Status of the export request. */
88805
- status?: "pending" | "queued" | "processing" | "completed";
88885
+ status?: "pending" | "queued" | "processing" | "completed" | "failed";
88886
+ failureReason?: reportsComponents["schemas"]["DataExportFailureReason"];
88806
88887
  dateRange?: reportsComponents["schemas"]["DataExportDateRange"] & {
88807
88888
  field?: string;
88808
88889
  };
@@ -89607,13 +89688,13 @@ export interface reportsComponents {
89607
89688
  };
89608
89689
  SubscriptionSummaryMetrics: {
89609
89690
  /** Currency code in ISO 4217 format. */
89610
- currency?: string;
89691
+ currency: string;
89611
89692
  /** Total amount of all issued, past due, and paid invoices. */
89612
- invoicedAmount?: number;
89693
+ invoicedAmount: number;
89613
89694
  /** Total amount of all paid invoices. */
89614
- collectedAmount?: number;
89695
+ collectedAmount: number;
89615
89696
  /** Number of issued, past due, or paid invoices. */
89616
- invoiceCount?: number;
89697
+ invoiceCount: number;
89617
89698
  };
89618
89699
  StorefrontAccount: {
89619
89700
  /** ID of the account. */