rebilly-js-sdk 58.84.0 → 58.85.1

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 @@
1
- ## [58.84.0](https://github.com/Rebilly/rebilly/compare/rebilly-js-sdk-v58.83.0...rebilly-js-sdk-v58.84.0) (2025-07-14)
2
-
3
-
4
- ### Features
5
-
6
- * **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#13535](https://github.com/Rebilly/rebilly/issues/13535)) ([54835f2](https://github.com/Rebilly/rebilly/commit/54835f291a626cb5431460bc20e5051f271b3a8a))
1
+ ## [58.85.1](https://github.com/Rebilly/rebilly/compare/rebilly-js-sdk-v58.85.0...rebilly-js-sdk-v58.85.1) (2025-07-15)
@@ -2218,6 +2218,11 @@ declare namespace rebilly {
2218
2218
  type GetMonthlyRecurringRevenueReportResponse = operations['GetMonthlyRecurringRevenueReport']['responses']['200']['content']['application/json']
2219
2219
  type GetMonthlyRecurringRevenueReportResponsePromise = Promise<{fields: GetMonthlyRecurringRevenueReportResponse}>
2220
2220
 
2221
+ type GetAnnualRecurringRevenueReportRequest = operations['GetAnnualRecurringRevenueReport']['parameters']
2222
+
2223
+ type GetAnnualRecurringRevenueReportResponse = operations['GetAnnualRecurringRevenueReport']['responses']['200']['content']['application/json']
2224
+ type GetAnnualRecurringRevenueReportResponsePromise = Promise<{fields: GetAnnualRecurringRevenueReportResponse}>
2225
+
2221
2226
  type GetRenewalSaleReportRequest = operations['GetRenewalSaleReport']['parameters']
2222
2227
 
2223
2228
  type GetRenewalSaleReportResponse = operations['GetRenewalSaleReport']['responses']['200']['content']['application/json']
@@ -15014,18 +15019,18 @@ export interface coreComponents {
15014
15019
  /** ID of the OAuth2 credential. */
15015
15020
  credentialHash: string;
15016
15021
  };
15017
- /** Update an Intuit QuickBooks invoice. */
15018
- RuleActionUpdateIntuitQuickbooksInvoice: coreComponents["schemas"]["RuleAction"] & {
15022
+ /** Create an Intuit QuickBooks invoice. */
15023
+ RuleActionCreateIntuitQuickbooksInvoice: coreComponents["schemas"]["RuleAction"] & {
15019
15024
  /** ID of the unearned revenue QuickBooks account. */
15020
15025
  unearnedRevenueAccount: string;
15021
15026
  /**
15022
15027
  * ID of the taxes QuickBooks account.
15023
- * If supplied taxes are represented as separate line items instead of integrated tax field.
15028
+ * If this field is supplied, taxes are represented as separate line items instead of an integrated tax field.
15024
15029
  */
15025
15030
  taxesAccount?: string | null;
15026
15031
  /**
15027
15032
  * ID of the discounts QuickBooks account.
15028
- * If not set `unearnedRevenueAccount` is used for discounts.
15033
+ * If this field is not set, `unearnedRevenueAccount` is used for discounts.
15029
15034
  */
15030
15035
  discountsAccount?: string | null;
15031
15036
  /** ID of the QuickBooks department. */
@@ -15056,9 +15061,6 @@ export interface coreComponents {
15056
15061
  };
15057
15062
  /** ID of the OAuth2 credential. */
15058
15063
  credentialHash: string;
15059
- };
15060
- /** Create an Intuit QuickBooks invoice. */
15061
- RuleActionCreateIntuitQuickbooksInvoice: coreComponents["schemas"]["RuleActionUpdateIntuitQuickbooksInvoice"] & {
15062
15064
  /**
15063
15065
  * Customer display name in QuickBooks. Duplicate names are mapped to a single QuickBooks customer.
15064
15066
  *
@@ -15394,6 +15396,49 @@ export interface coreComponents {
15394
15396
  /** List of tag ID customer should be untagged from. */
15395
15397
  removingTags: string[];
15396
15398
  };
15399
+ /** Update an Intuit QuickBooks invoice. */
15400
+ RuleActionUpdateIntuitQuickbooksInvoice: coreComponents["schemas"]["RuleAction"] & {
15401
+ /** ID of the unearned revenue QuickBooks account. */
15402
+ unearnedRevenueAccount: string;
15403
+ /**
15404
+ * ID of the taxes QuickBooks account.
15405
+ * If this field is supplied, taxes are represented as separate line items instead of an integrated tax field.
15406
+ */
15407
+ taxesAccount?: string | null;
15408
+ /**
15409
+ * ID of the discounts QuickBooks account.
15410
+ * If this field is not set, `unearnedRevenueAccount` is used for discounts.
15411
+ */
15412
+ discountsAccount?: string | null;
15413
+ /** ID of the QuickBooks department. */
15414
+ department?: string | null;
15415
+ template?: {
15416
+ /** Name of the line item. */
15417
+ itemName?: string;
15418
+ /** Description of the line item. */
15419
+ itemDescription?: string;
15420
+ /** SKU of the line item. */
15421
+ itemSku?: string;
15422
+ /** Description of the line item. */
15423
+ itemLineDescription?: string;
15424
+ /**
15425
+ * Name of the tax item name.
15426
+ * This value is used when the `taxesAccount` field is configured.
15427
+ */
15428
+ taxName?: string;
15429
+ /** Description of the tax item. */
15430
+ taxDescription?: string;
15431
+ /** SKU of the tax item. */
15432
+ taxSku?: string;
15433
+ /**
15434
+ * Description of the tax line.
15435
+ * This value is used when the `taxesAccount` field is configured.
15436
+ */
15437
+ taxLineDescription?: string;
15438
+ };
15439
+ /** ID of the OAuth2 credential. */
15440
+ credentialHash: string;
15441
+ };
15397
15442
  /** Void an Intuit QuickBooks invoice. */
15398
15443
  RuleActionVoidIntuitQuickbooksInvoice: coreComponents["schemas"]["RuleAction"] & {
15399
15444
  /** ID of the OAuth2 credential. */
@@ -20799,6 +20844,7 @@ export interface coreComponents {
20799
20844
  | "upgradesCount"
20800
20845
  | "downgradesCount"
20801
20846
  | "monthlyRecurringRevenue"
20847
+ | "annualRecurringRevenue"
20802
20848
  | "averageRevenuePerCustomer"
20803
20849
  | "customerLifetimeValue"
20804
20850
  | "addressProofAcceptanceRate"
@@ -21074,6 +21120,63 @@ export interface coreComponents {
21074
21120
  };
21075
21121
  }[];
21076
21122
  };
21123
+ ReportAnnualRecurringRevenue: {
21124
+ /** Annual Recurring Revenue (ARR) data. */
21125
+ data?: {
21126
+ /** Revenue month. */
21127
+ period?: string;
21128
+ /** Total Annual Recurring Revenue (ARR) amount. */
21129
+ total?: number;
21130
+ /**
21131
+ * ARR categories are described below.
21132
+ * The difference between the current period ARR and the previous period ARR is equal to:
21133
+ * `new` + `reactivation` + `expansion` - `contraction` - `churned`.
21134
+ */
21135
+ breakdown?: {
21136
+ /**
21137
+ * Occurs when new customers sign up.
21138
+ * New ARR is the amount of the new customer's subscription.
21139
+ *
21140
+ * Example: A new customer signs up to a $40 per month plan.
21141
+ * This is a new ARR amount of $480 ($40 multiplied by 12 months).
21142
+ */
21143
+ new?: number;
21144
+ /**
21145
+ * Occurs when a customer stops being a customer for a period but later signs up again.
21146
+ * Reactivation ARR is the amount of the customer's new subscription.
21147
+ *
21148
+ * Example: A customer cancels their subscription, but signs up again and purchases a $25 per month plan.
21149
+ * This is a reactivation ARR amount of $300 ($25 multiplied by 12 months).
21150
+ */
21151
+ reactivation?: number;
21152
+ /**
21153
+ * Occurs when a subscription is churned.
21154
+ * Churn occurs when the paid service period on a subscription order expires.
21155
+ * Churned ARR is the amount that is lost as a result of the churned subscription.
21156
+ *
21157
+ * Example: When a subscription is churned, the value of a subscription goes from $80 per month to $0 per month.
21158
+ * This is a churned ARR amount of $960 ($80 multiplied by 12 months).
21159
+ */
21160
+ churned?: number;
21161
+ /**
21162
+ * Occurs when an existing customer changes items which result in a smaller ARR.
21163
+ * Contraction ARR is the amount before the change minus the amount after the change.
21164
+ *
21165
+ * Example: A customer downgrades from a plan that is $100 per month to plan that is $80 per month.
21166
+ * This is a contraction ARR amount of $240 ($20 multiplied by 12 months).
21167
+ */
21168
+ contraction?: number;
21169
+ /**
21170
+ * Occurs when existing customers change items which result in a bigger ARR.
21171
+ * Expansion ARR is the amount after the change minus the amount before the change.
21172
+ *
21173
+ * Example: A customer upgrades from a plan that is $40 per month to a plan that is $100 per month.
21174
+ * This is an expansion ARR amount of $720 ($60 multiplied by 12 months).
21175
+ */
21176
+ expansion?: number;
21177
+ };
21178
+ }[];
21179
+ };
21077
21180
  RenewalSales: {
21078
21181
  /** Renewal sales data. */
21079
21182
  data?: {
@@ -48522,18 +48625,18 @@ export interface storefrontComponents {
48522
48625
  /** ID of the OAuth2 credential. */
48523
48626
  credentialHash: string;
48524
48627
  };
48525
- /** Update an Intuit QuickBooks invoice. */
48526
- RuleActionUpdateIntuitQuickbooksInvoice: storefrontComponents["schemas"]["RuleAction"] & {
48628
+ /** Create an Intuit QuickBooks invoice. */
48629
+ RuleActionCreateIntuitQuickbooksInvoice: storefrontComponents["schemas"]["RuleAction"] & {
48527
48630
  /** ID of the unearned revenue QuickBooks account. */
48528
48631
  unearnedRevenueAccount: string;
48529
48632
  /**
48530
48633
  * ID of the taxes QuickBooks account.
48531
- * If supplied taxes are represented as separate line items instead of integrated tax field.
48634
+ * If this field is supplied, taxes are represented as separate line items instead of an integrated tax field.
48532
48635
  */
48533
48636
  taxesAccount?: string | null;
48534
48637
  /**
48535
48638
  * ID of the discounts QuickBooks account.
48536
- * If not set `unearnedRevenueAccount` is used for discounts.
48639
+ * If this field is not set, `unearnedRevenueAccount` is used for discounts.
48537
48640
  */
48538
48641
  discountsAccount?: string | null;
48539
48642
  /** ID of the QuickBooks department. */
@@ -48564,9 +48667,6 @@ export interface storefrontComponents {
48564
48667
  };
48565
48668
  /** ID of the OAuth2 credential. */
48566
48669
  credentialHash: string;
48567
- };
48568
- /** Create an Intuit QuickBooks invoice. */
48569
- RuleActionCreateIntuitQuickbooksInvoice: storefrontComponents["schemas"]["RuleActionUpdateIntuitQuickbooksInvoice"] & {
48570
48670
  /**
48571
48671
  * Customer display name in QuickBooks. Duplicate names are mapped to a single QuickBooks customer.
48572
48672
  *
@@ -48902,6 +49002,49 @@ export interface storefrontComponents {
48902
49002
  /** List of tag ID customer should be untagged from. */
48903
49003
  removingTags: string[];
48904
49004
  };
49005
+ /** Update an Intuit QuickBooks invoice. */
49006
+ RuleActionUpdateIntuitQuickbooksInvoice: storefrontComponents["schemas"]["RuleAction"] & {
49007
+ /** ID of the unearned revenue QuickBooks account. */
49008
+ unearnedRevenueAccount: string;
49009
+ /**
49010
+ * ID of the taxes QuickBooks account.
49011
+ * If this field is supplied, taxes are represented as separate line items instead of an integrated tax field.
49012
+ */
49013
+ taxesAccount?: string | null;
49014
+ /**
49015
+ * ID of the discounts QuickBooks account.
49016
+ * If this field is not set, `unearnedRevenueAccount` is used for discounts.
49017
+ */
49018
+ discountsAccount?: string | null;
49019
+ /** ID of the QuickBooks department. */
49020
+ department?: string | null;
49021
+ template?: {
49022
+ /** Name of the line item. */
49023
+ itemName?: string;
49024
+ /** Description of the line item. */
49025
+ itemDescription?: string;
49026
+ /** SKU of the line item. */
49027
+ itemSku?: string;
49028
+ /** Description of the line item. */
49029
+ itemLineDescription?: string;
49030
+ /**
49031
+ * Name of the tax item name.
49032
+ * This value is used when the `taxesAccount` field is configured.
49033
+ */
49034
+ taxName?: string;
49035
+ /** Description of the tax item. */
49036
+ taxDescription?: string;
49037
+ /** SKU of the tax item. */
49038
+ taxSku?: string;
49039
+ /**
49040
+ * Description of the tax line.
49041
+ * This value is used when the `taxesAccount` field is configured.
49042
+ */
49043
+ taxLineDescription?: string;
49044
+ };
49045
+ /** ID of the OAuth2 credential. */
49046
+ credentialHash: string;
49047
+ };
48905
49048
  /** Void an Intuit QuickBooks invoice. */
48906
49049
  RuleActionVoidIntuitQuickbooksInvoice: storefrontComponents["schemas"]["RuleAction"] & {
48907
49050
  /** ID of the OAuth2 credential. */
@@ -54307,6 +54450,7 @@ export interface storefrontComponents {
54307
54450
  | "upgradesCount"
54308
54451
  | "downgradesCount"
54309
54452
  | "monthlyRecurringRevenue"
54453
+ | "annualRecurringRevenue"
54310
54454
  | "averageRevenuePerCustomer"
54311
54455
  | "customerLifetimeValue"
54312
54456
  | "addressProofAcceptanceRate"
@@ -54582,6 +54726,63 @@ export interface storefrontComponents {
54582
54726
  };
54583
54727
  }[];
54584
54728
  };
54729
+ ReportAnnualRecurringRevenue: {
54730
+ /** Annual Recurring Revenue (ARR) data. */
54731
+ data?: {
54732
+ /** Revenue month. */
54733
+ period?: string;
54734
+ /** Total Annual Recurring Revenue (ARR) amount. */
54735
+ total?: number;
54736
+ /**
54737
+ * ARR categories are described below.
54738
+ * The difference between the current period ARR and the previous period ARR is equal to:
54739
+ * `new` + `reactivation` + `expansion` - `contraction` - `churned`.
54740
+ */
54741
+ breakdown?: {
54742
+ /**
54743
+ * Occurs when new customers sign up.
54744
+ * New ARR is the amount of the new customer's subscription.
54745
+ *
54746
+ * Example: A new customer signs up to a $40 per month plan.
54747
+ * This is a new ARR amount of $480 ($40 multiplied by 12 months).
54748
+ */
54749
+ new?: number;
54750
+ /**
54751
+ * Occurs when a customer stops being a customer for a period but later signs up again.
54752
+ * Reactivation ARR is the amount of the customer's new subscription.
54753
+ *
54754
+ * Example: A customer cancels their subscription, but signs up again and purchases a $25 per month plan.
54755
+ * This is a reactivation ARR amount of $300 ($25 multiplied by 12 months).
54756
+ */
54757
+ reactivation?: number;
54758
+ /**
54759
+ * Occurs when a subscription is churned.
54760
+ * Churn occurs when the paid service period on a subscription order expires.
54761
+ * Churned ARR is the amount that is lost as a result of the churned subscription.
54762
+ *
54763
+ * Example: When a subscription is churned, the value of a subscription goes from $80 per month to $0 per month.
54764
+ * This is a churned ARR amount of $960 ($80 multiplied by 12 months).
54765
+ */
54766
+ churned?: number;
54767
+ /**
54768
+ * Occurs when an existing customer changes items which result in a smaller ARR.
54769
+ * Contraction ARR is the amount before the change minus the amount after the change.
54770
+ *
54771
+ * Example: A customer downgrades from a plan that is $100 per month to plan that is $80 per month.
54772
+ * This is a contraction ARR amount of $240 ($20 multiplied by 12 months).
54773
+ */
54774
+ contraction?: number;
54775
+ /**
54776
+ * Occurs when existing customers change items which result in a bigger ARR.
54777
+ * Expansion ARR is the amount after the change minus the amount before the change.
54778
+ *
54779
+ * Example: A customer upgrades from a plan that is $40 per month to a plan that is $100 per month.
54780
+ * This is an expansion ARR amount of $720 ($60 multiplied by 12 months).
54781
+ */
54782
+ expansion?: number;
54783
+ };
54784
+ }[];
54785
+ };
54585
54786
  RenewalSales: {
54586
54787
  /** Renewal sales data. */
54587
54788
  data?: {
@@ -61143,6 +61344,14 @@ export interface reportsPaths {
61143
61344
  */
61144
61345
  get: operations["GetMonthlyRecurringRevenueReport"];
61145
61346
  };
61347
+ "/reports/annual-recurring-revenue": {
61348
+ /**
61349
+ * Retrieves an Annual Recurring Revenue (ARR) report.
61350
+ *
61351
+ * Use ARR reports to view information on the predictable recurring revenue for your business over a period of months.
61352
+ */
61353
+ get: operations["GetAnnualRecurringRevenueReport"];
61354
+ };
61146
61355
  "/reports/renewal-sales": {
61147
61356
  /** Retrieves a renewal sales report. */
61148
61357
  get: operations["GetRenewalSaleReport"];
@@ -70939,18 +71148,18 @@ export interface reportsComponents {
70939
71148
  /** ID of the OAuth2 credential. */
70940
71149
  credentialHash: string;
70941
71150
  };
70942
- /** Update an Intuit QuickBooks invoice. */
70943
- RuleActionUpdateIntuitQuickbooksInvoice: reportsComponents["schemas"]["RuleAction"] & {
71151
+ /** Create an Intuit QuickBooks invoice. */
71152
+ RuleActionCreateIntuitQuickbooksInvoice: reportsComponents["schemas"]["RuleAction"] & {
70944
71153
  /** ID of the unearned revenue QuickBooks account. */
70945
71154
  unearnedRevenueAccount: string;
70946
71155
  /**
70947
71156
  * ID of the taxes QuickBooks account.
70948
- * If supplied taxes are represented as separate line items instead of integrated tax field.
71157
+ * If this field is supplied, taxes are represented as separate line items instead of an integrated tax field.
70949
71158
  */
70950
71159
  taxesAccount?: string | null;
70951
71160
  /**
70952
71161
  * ID of the discounts QuickBooks account.
70953
- * If not set `unearnedRevenueAccount` is used for discounts.
71162
+ * If this field is not set, `unearnedRevenueAccount` is used for discounts.
70954
71163
  */
70955
71164
  discountsAccount?: string | null;
70956
71165
  /** ID of the QuickBooks department. */
@@ -70981,9 +71190,6 @@ export interface reportsComponents {
70981
71190
  };
70982
71191
  /** ID of the OAuth2 credential. */
70983
71192
  credentialHash: string;
70984
- };
70985
- /** Create an Intuit QuickBooks invoice. */
70986
- RuleActionCreateIntuitQuickbooksInvoice: reportsComponents["schemas"]["RuleActionUpdateIntuitQuickbooksInvoice"] & {
70987
71193
  /**
70988
71194
  * Customer display name in QuickBooks. Duplicate names are mapped to a single QuickBooks customer.
70989
71195
  *
@@ -71319,6 +71525,49 @@ export interface reportsComponents {
71319
71525
  /** List of tag ID customer should be untagged from. */
71320
71526
  removingTags: string[];
71321
71527
  };
71528
+ /** Update an Intuit QuickBooks invoice. */
71529
+ RuleActionUpdateIntuitQuickbooksInvoice: reportsComponents["schemas"]["RuleAction"] & {
71530
+ /** ID of the unearned revenue QuickBooks account. */
71531
+ unearnedRevenueAccount: string;
71532
+ /**
71533
+ * ID of the taxes QuickBooks account.
71534
+ * If this field is supplied, taxes are represented as separate line items instead of an integrated tax field.
71535
+ */
71536
+ taxesAccount?: string | null;
71537
+ /**
71538
+ * ID of the discounts QuickBooks account.
71539
+ * If this field is not set, `unearnedRevenueAccount` is used for discounts.
71540
+ */
71541
+ discountsAccount?: string | null;
71542
+ /** ID of the QuickBooks department. */
71543
+ department?: string | null;
71544
+ template?: {
71545
+ /** Name of the line item. */
71546
+ itemName?: string;
71547
+ /** Description of the line item. */
71548
+ itemDescription?: string;
71549
+ /** SKU of the line item. */
71550
+ itemSku?: string;
71551
+ /** Description of the line item. */
71552
+ itemLineDescription?: string;
71553
+ /**
71554
+ * Name of the tax item name.
71555
+ * This value is used when the `taxesAccount` field is configured.
71556
+ */
71557
+ taxName?: string;
71558
+ /** Description of the tax item. */
71559
+ taxDescription?: string;
71560
+ /** SKU of the tax item. */
71561
+ taxSku?: string;
71562
+ /**
71563
+ * Description of the tax line.
71564
+ * This value is used when the `taxesAccount` field is configured.
71565
+ */
71566
+ taxLineDescription?: string;
71567
+ };
71568
+ /** ID of the OAuth2 credential. */
71569
+ credentialHash: string;
71570
+ };
71322
71571
  /** Void an Intuit QuickBooks invoice. */
71323
71572
  RuleActionVoidIntuitQuickbooksInvoice: reportsComponents["schemas"]["RuleAction"] & {
71324
71573
  /** ID of the OAuth2 credential. */
@@ -76724,6 +76973,7 @@ export interface reportsComponents {
76724
76973
  | "upgradesCount"
76725
76974
  | "downgradesCount"
76726
76975
  | "monthlyRecurringRevenue"
76976
+ | "annualRecurringRevenue"
76727
76977
  | "averageRevenuePerCustomer"
76728
76978
  | "customerLifetimeValue"
76729
76979
  | "addressProofAcceptanceRate"
@@ -76999,6 +77249,63 @@ export interface reportsComponents {
76999
77249
  };
77000
77250
  }[];
77001
77251
  };
77252
+ ReportAnnualRecurringRevenue: {
77253
+ /** Annual Recurring Revenue (ARR) data. */
77254
+ data?: {
77255
+ /** Revenue month. */
77256
+ period?: string;
77257
+ /** Total Annual Recurring Revenue (ARR) amount. */
77258
+ total?: number;
77259
+ /**
77260
+ * ARR categories are described below.
77261
+ * The difference between the current period ARR and the previous period ARR is equal to:
77262
+ * `new` + `reactivation` + `expansion` - `contraction` - `churned`.
77263
+ */
77264
+ breakdown?: {
77265
+ /**
77266
+ * Occurs when new customers sign up.
77267
+ * New ARR is the amount of the new customer's subscription.
77268
+ *
77269
+ * Example: A new customer signs up to a $40 per month plan.
77270
+ * This is a new ARR amount of $480 ($40 multiplied by 12 months).
77271
+ */
77272
+ new?: number;
77273
+ /**
77274
+ * Occurs when a customer stops being a customer for a period but later signs up again.
77275
+ * Reactivation ARR is the amount of the customer's new subscription.
77276
+ *
77277
+ * Example: A customer cancels their subscription, but signs up again and purchases a $25 per month plan.
77278
+ * This is a reactivation ARR amount of $300 ($25 multiplied by 12 months).
77279
+ */
77280
+ reactivation?: number;
77281
+ /**
77282
+ * Occurs when a subscription is churned.
77283
+ * Churn occurs when the paid service period on a subscription order expires.
77284
+ * Churned ARR is the amount that is lost as a result of the churned subscription.
77285
+ *
77286
+ * Example: When a subscription is churned, the value of a subscription goes from $80 per month to $0 per month.
77287
+ * This is a churned ARR amount of $960 ($80 multiplied by 12 months).
77288
+ */
77289
+ churned?: number;
77290
+ /**
77291
+ * Occurs when an existing customer changes items which result in a smaller ARR.
77292
+ * Contraction ARR is the amount before the change minus the amount after the change.
77293
+ *
77294
+ * Example: A customer downgrades from a plan that is $100 per month to plan that is $80 per month.
77295
+ * This is a contraction ARR amount of $240 ($20 multiplied by 12 months).
77296
+ */
77297
+ contraction?: number;
77298
+ /**
77299
+ * Occurs when existing customers change items which result in a bigger ARR.
77300
+ * Expansion ARR is the amount after the change minus the amount before the change.
77301
+ *
77302
+ * Example: A customer upgrades from a plan that is $40 per month to a plan that is $100 per month.
77303
+ * This is an expansion ARR amount of $720 ($60 multiplied by 12 months).
77304
+ */
77305
+ expansion?: number;
77306
+ };
77307
+ }[];
77308
+ };
77002
77309
  RenewalSales: {
77003
77310
  /** Renewal sales data. */
77004
77311
  data?: {
@@ -82510,6 +82817,34 @@ export interface operations {
82510
82817
  403: reportsComponents["responses"]["Forbidden"];
82511
82818
  };
82512
82819
  };
82820
+ /**
82821
+ * Retrieves an Annual Recurring Revenue (ARR) report.
82822
+ *
82823
+ * Use ARR reports to view information on the predictable recurring revenue for your business over a period of months.
82824
+ */
82825
+ GetAnnualRecurringRevenueReport: {
82826
+ parameters: {
82827
+ query: {
82828
+ /** Revenue currency. */
82829
+ currency: reportsComponents["schemas"]["CurrencyCode"];
82830
+ /** Date and time when the report starts. */
82831
+ periodStart: string;
82832
+ /** Date and time when the report ends. */
82833
+ periodEnd: string;
82834
+ };
82835
+ };
82836
+ responses: {
82837
+ /** Report retrieved. */
82838
+ 200: {
82839
+ headers: {};
82840
+ content: {
82841
+ "application/json": reportsComponents["schemas"]["ReportAnnualRecurringRevenue"];
82842
+ };
82843
+ };
82844
+ 401: reportsComponents["responses"]["Unauthorized"];
82845
+ 403: reportsComponents["responses"]["Forbidden"];
82846
+ };
82847
+ };
82513
82848
  /** Retrieves a renewal sales report. */
82514
82849
  GetRenewalSaleReport: {
82515
82850
  parameters: {
@@ -86685,6 +87020,11 @@ declare module "resources/experimental/reports-resource" {
86685
87020
  limit?: any;
86686
87021
  offset?: any;
86687
87022
  }): rebilly.GetMonthlyRecurringRevenueReportResponsePromise;
87023
+ getAnnualRecurringRevenue({ currency, periodStart, periodEnd }: {
87024
+ currency: any;
87025
+ periodStart: any;
87026
+ periodEnd: any;
87027
+ }): rebilly.GetAnnualRecurringRevenueReportResponsePromise;
86688
87028
  getRenewalSales({ periodStart, periodEnd, limit, offset }: {
86689
87029
  periodStart: any;
86690
87030
  periodEnd: any;
@@ -86940,6 +87280,11 @@ declare module "resources/experimental/experimental-resources" {
86940
87280
  limit?: any;
86941
87281
  offset?: any;
86942
87282
  }): rebilly.GetMonthlyRecurringRevenueReportResponsePromise;
87283
+ getAnnualRecurringRevenue({ currency, periodStart, periodEnd }: {
87284
+ currency: any;
87285
+ periodStart: any;
87286
+ periodEnd: any;
87287
+ }): rebilly.GetAnnualRecurringRevenueReportResponsePromise;
86943
87288
  getRenewalSales({ periodStart, periodEnd, limit, offset }: {
86944
87289
  periodStart: any;
86945
87290
  periodEnd: any;