recurly 4.23.0 → 4.25.0

Sign up to get free protection for your applications and to get access to all the features.
data/openapi/api.yaml CHANGED
@@ -57,7 +57,7 @@ info:
57
57
 
58
58
  We encourage you to update to the latest version of the API and corresponding client library,
59
59
  as most recent versions are more performant than their predecessors. See the
60
- [changelog](https://developers.recurly.com/api/changelog.html) for a comprehensive list of changes
60
+ [changelog](https://recurly.com/developers/api/changelog.html) for a comprehensive list of changes
61
61
  introduced in the latest API version.
62
62
 
63
63
  ### Default Versions
@@ -114,7 +114,7 @@ info:
114
114
  Please consider changing these messages in the target system to be better
115
115
  suited to the audience of the system.
116
116
 
117
- Please see [transaction error codes](https://developers.recurly.com/pages/api-transaction-errors.html) for more details.
117
+ Please see [transaction error codes](https://recurly.com/developers/pages/api-transaction-errors.html) for more details.
118
118
 
119
119
  ## Pagination
120
120
  ### Response Schema
@@ -181,7 +181,7 @@ info:
181
181
 
182
182
  ## Change Log
183
183
 
184
- A list of changes for this version can be found [in the changelog](https://developers.recurly.com/api/changelog.html#v2021-02-25---current-ga-version).
184
+ A list of changes for this version can be found [in the changelog](https://recurly.com/developers/api/changelog.html#v2021-02-25---current-ga-version).
185
185
  version: v2021-02-25
186
186
  security:
187
187
  - api_key: []
@@ -199,6 +199,8 @@ x-tagGroups:
199
199
  - purchase
200
200
  - usage
201
201
  - automated_exports
202
+ - external_subscriptions
203
+ - external_products
202
204
  - name: Products and Promotions
203
205
  tags:
204
206
  - item
@@ -338,6 +340,16 @@ tags:
338
340
  - name: dunning_campaigns
339
341
  x-displayName: Dunning Campaigns
340
342
  description: Settings used when attempting to dun customers whose payments are declined.
343
+ - name: external_subscriptions
344
+ x-displayName: External Subscription
345
+ description: A subscription from an external resource that is not managed by the
346
+ Recurly platform and instead is managed by third-party platforms like Apple Store
347
+ and Google Play.
348
+ - name: external_products
349
+ x-displayName: External Product
350
+ description: A product from an external resource that is not managed by the Recurly
351
+ platform and instead is managed by third-party platforms like Apple Store and
352
+ Google Play.
341
353
  paths:
342
354
  "/sites":
343
355
  get:
@@ -2694,7 +2706,7 @@ paths:
2694
2706
  tags:
2695
2707
  - coupon_redemption
2696
2708
  operationId: list_account_coupon_redemptions
2697
- summary: Show the coupon redemptions for an account
2709
+ summary: List the coupon redemptions for an account
2698
2710
  description: See the [Pagination Guide](/guides/pagination.html) to learn how
2699
2711
  to use pagination in the API and Client Libraries.
2700
2712
  parameters:
@@ -2791,7 +2803,7 @@ paths:
2791
2803
  tags:
2792
2804
  - coupon_redemption
2793
2805
  operationId: list_active_coupon_redemptions
2794
- summary: Show the coupon redemptions that are active on an account
2806
+ summary: List the coupon redemptions that are active on an account
2795
2807
  description: See the [Pagination Guide](/guides/pagination.html) to learn how
2796
2808
  to use pagination in the API and Client Libraries.
2797
2809
  parameters:
@@ -3944,7 +3956,7 @@ paths:
3944
3956
  tags:
3945
3957
  - note
3946
3958
  operationId: list_account_notes
3947
- summary: Fetch a list of an account's notes
3959
+ summary: List an account's notes
3948
3960
  description: See the [Pagination Guide](/guides/pagination.html) to learn how
3949
3961
  to use pagination in the API and Client Libraries.
3950
3962
  parameters:
@@ -7442,6 +7454,129 @@ paths:
7442
7454
  schema:
7443
7455
  "$ref": "#/components/schemas/Error"
7444
7456
  x-code-samples: []
7457
+ "/external_products":
7458
+ get:
7459
+ tags:
7460
+ - external_products
7461
+ operationId: list_external_products
7462
+ summary: List a site's external products
7463
+ description: See the [Pagination Guide](/guides/pagination.html) to learn how
7464
+ to use pagination in the API and Client Libraries.
7465
+ parameters:
7466
+ - "$ref": "#/components/parameters/sort_dates"
7467
+ responses:
7468
+ '200':
7469
+ description: A list of the the external_products on a site.
7470
+ content:
7471
+ application/json:
7472
+ schema:
7473
+ "$ref": "#/components/schemas/ExternalProductList"
7474
+ '404':
7475
+ description: Incorrect site.
7476
+ content:
7477
+ application/json:
7478
+ schema:
7479
+ "$ref": "#/components/schemas/Error"
7480
+ default:
7481
+ description: Unexpected error.
7482
+ content:
7483
+ application/json:
7484
+ schema:
7485
+ "$ref": "#/components/schemas/Error"
7486
+ x-code-samples: []
7487
+ "/external_products/{external_product_id}":
7488
+ parameters:
7489
+ - "$ref": "#/components/parameters/external_product_id"
7490
+ get:
7491
+ tags:
7492
+ - external_products
7493
+ operationId: get_external_product
7494
+ summary: Fetch an external product
7495
+ responses:
7496
+ '200':
7497
+ description: Settings for an external product.
7498
+ content:
7499
+ application/json:
7500
+ schema:
7501
+ "$ref": "#/components/schemas/ExternalProduct"
7502
+ '404':
7503
+ description: Incorrect site or external product ID.
7504
+ content:
7505
+ application/json:
7506
+ schema:
7507
+ "$ref": "#/components/schemas/Error"
7508
+ default:
7509
+ description: Unexpected error.
7510
+ content:
7511
+ application/json:
7512
+ schema:
7513
+ "$ref": "#/components/schemas/Error"
7514
+ x-code-samples: []
7515
+ "/external_subscriptions":
7516
+ get:
7517
+ tags:
7518
+ - external_subscriptions
7519
+ operationId: list_external_subscriptions
7520
+ summary: List a site's external subscriptions
7521
+ description: See the [Pagination Guide](/guides/pagination.html) to learn how
7522
+ to use pagination in the API and Client Libraries.
7523
+ parameters:
7524
+ - "$ref": "#/components/parameters/sort_dates"
7525
+ responses:
7526
+ '200':
7527
+ description: A list of the the external_subscriptions on a site.
7528
+ content:
7529
+ application/json:
7530
+ schema:
7531
+ "$ref": "#/components/schemas/ExternalSubscriptionList"
7532
+ '404':
7533
+ description: Incorrect site.
7534
+ content:
7535
+ application/json:
7536
+ schema:
7537
+ "$ref": "#/components/schemas/Error"
7538
+ default:
7539
+ description: Unexpected error.
7540
+ content:
7541
+ application/json:
7542
+ schema:
7543
+ "$ref": "#/components/schemas/Error"
7544
+ x-code-samples: []
7545
+ "/external_subscriptions/{external_subscription_id}":
7546
+ parameters:
7547
+ - "$ref": "#/components/parameters/external_subscription_id"
7548
+ get:
7549
+ tags:
7550
+ - external_subscriptions
7551
+ operationId: get_external_subscription
7552
+ summary: Fetch an external subscription
7553
+ responses:
7554
+ '200':
7555
+ description: Settings for an external subscription.
7556
+ content:
7557
+ application/json:
7558
+ schema:
7559
+ "$ref": "#/components/schemas/ExternalSubscription"
7560
+ '404':
7561
+ description: Incorrect site or external subscription ID.
7562
+ content:
7563
+ application/json:
7564
+ schema:
7565
+ "$ref": "#/components/schemas/Error"
7566
+ '422':
7567
+ description: Validation error with external resource connection or feature
7568
+ flag.
7569
+ content:
7570
+ application/json:
7571
+ schema:
7572
+ "$ref": "#/components/schemas/Error"
7573
+ default:
7574
+ description: Unexpected error.
7575
+ content:
7576
+ application/json:
7577
+ schema:
7578
+ "$ref": "#/components/schemas/Error"
7579
+ x-code-samples: []
7445
7580
  "/invoices":
7446
7581
  get:
7447
7582
  tags:
@@ -8742,7 +8877,7 @@ paths:
8742
8877
  tags:
8743
8878
  - coupon_redemption
8744
8879
  operationId: list_invoice_coupon_redemptions
8745
- summary: Show the coupon redemptions applied to an invoice
8880
+ summary: List the coupon redemptions applied to an invoice
8746
8881
  description: See the [Pagination Guide](/guides/pagination.html) to learn how
8747
8882
  to use pagination in the API and Client Libraries.
8748
8883
  parameters:
@@ -13327,7 +13462,7 @@ paths:
13327
13462
  tags:
13328
13463
  - coupon_redemption
13329
13464
  operationId: list_subscription_coupon_redemptions
13330
- summary: Show the coupon redemptions for a subscription
13465
+ summary: List the coupon redemptions for a subscription
13331
13466
  description: See the [Pagination Guide](/guides/pagination.html) to learn how
13332
13467
  to use pagination in the API and Client Libraries.
13333
13468
  parameters:
@@ -14907,7 +15042,7 @@ paths:
14907
15042
  tags:
14908
15043
  - dunning_campaigns
14909
15044
  operationId: list_dunning_campaigns
14910
- summary: Show the dunning campaigns for a site
15045
+ summary: List the dunning campaigns for a site
14911
15046
  description: See the [Pagination Guide](/guides/pagination.html) to learn how
14912
15047
  to use pagination in the API and Client Libraries.
14913
15048
  parameters:
@@ -14939,7 +15074,7 @@ paths:
14939
15074
  tags:
14940
15075
  - dunning_campaigns
14941
15076
  operationId: get_dunning_campaign
14942
- summary: Show the settings for a dunning campaign
15077
+ summary: Fetch a dunning campaign
14943
15078
  responses:
14944
15079
  '200':
14945
15080
  description: Settings for a dunning campaign.
@@ -15042,7 +15177,7 @@ paths:
15042
15177
  tags:
15043
15178
  - invoice_templates
15044
15179
  operationId: get_invoice_template
15045
- summary: Show the settings for an invoice template
15180
+ summary: Fetch an invoice template
15046
15181
  responses:
15047
15182
  '200':
15048
15183
  description: Settings for an invoice template.
@@ -15077,7 +15212,7 @@ paths:
15077
15212
  tags:
15078
15213
  - account
15079
15214
  operationId: list_entitlements
15080
- summary: Show all entitlements granted to an account
15215
+ summary: List entitlements granted to an account
15081
15216
  responses:
15082
15217
  '200':
15083
15218
  description: A list of the entitlements granted to an account.
@@ -15098,6 +15233,38 @@ paths:
15098
15233
  schema:
15099
15234
  "$ref": "#/components/schemas/Error"
15100
15235
  x-code-samples: []
15236
+ "/accounts/{account_id}/external_subscriptions":
15237
+ parameters:
15238
+ - "$ref": "#/components/parameters/account_id"
15239
+ get:
15240
+ tags:
15241
+ - account
15242
+ operationId: list_account_external_subscriptions
15243
+ summary: List an account's external subscriptions
15244
+ description: See the [Pagination Guide](/guides/pagination.html) to learn how
15245
+ to use pagination in the API and Client Libraries.
15246
+ parameters:
15247
+ - "$ref": "#/components/parameters/sort_dates"
15248
+ responses:
15249
+ '200':
15250
+ description: A list of the the external_subscriptions on an account.
15251
+ content:
15252
+ application/json:
15253
+ schema:
15254
+ "$ref": "#/components/schemas/ExternalSubscriptionList"
15255
+ '404':
15256
+ description: Incorrect account.
15257
+ content:
15258
+ application/json:
15259
+ schema:
15260
+ "$ref": "#/components/schemas/Error"
15261
+ default:
15262
+ description: Unexpected error.
15263
+ content:
15264
+ application/json:
15265
+ schema:
15266
+ "$ref": "#/components/schemas/Error"
15267
+ x-code-samples: []
15101
15268
  servers:
15102
15269
  - url: https://v3.recurly.com
15103
15270
  - url: https://v3.eu.recurly.com
@@ -15165,6 +15332,20 @@ components:
15165
15332
  required: true
15166
15333
  schema:
15167
15334
  type: string
15335
+ external_product_id:
15336
+ name: external_product_id
15337
+ in: path
15338
+ description: External product id
15339
+ required: true
15340
+ schema:
15341
+ type: string
15342
+ external_subscription_id:
15343
+ name: external_subscription_id
15344
+ in: path
15345
+ description: External subscription id
15346
+ required: true
15347
+ schema:
15348
+ type: string
15168
15349
  invoice_template_id:
15169
15350
  name: invoice_template_id
15170
15351
  in: path
@@ -16369,6 +16550,8 @@ components:
16369
16550
  "$ref": "#/components/schemas/AddOnTypeEnum"
16370
16551
  usage_type:
16371
16552
  "$ref": "#/components/schemas/UsageTypeEnum"
16553
+ usage_calculation_type:
16554
+ "$ref": "#/components/schemas/UsageCalculationTypeEnum"
16372
16555
  usage_percentage:
16373
16556
  type: number
16374
16557
  format: float
@@ -16522,6 +16705,8 @@ components:
16522
16705
  "$ref": "#/components/schemas/AddOnTypeCreateEnum"
16523
16706
  usage_type:
16524
16707
  "$ref": "#/components/schemas/UsageTypeCreateEnum"
16708
+ usage_calculation_type:
16709
+ "$ref": "#/components/schemas/UsageCalculationTypeEnum"
16525
16710
  usage_percentage:
16526
16711
  type: number
16527
16712
  format: float
@@ -16682,6 +16867,8 @@ components:
16682
16867
  This can be up to 4 decimal places. A value between 0.0 and 100.0. Required
16683
16868
  if `add_on_type` is usage, `tier_type` is `flat` and `usage_type` is percentage.
16684
16869
  Must be omitted otherwise.
16870
+ usage_calculation_type:
16871
+ "$ref": "#/components/schemas/UsageCalculationTypeEnum"
16685
16872
  measured_unit_id:
16686
16873
  type: string
16687
16874
  title: Measured Unit ID
@@ -16882,7 +17069,7 @@ components:
16882
17069
  token_id:
16883
17070
  type: string
16884
17071
  title: Token ID
16885
- description: A token [generated by Recurly.js](https://developers.recurly.com/reference/recurly-js/#getting-a-token).
17072
+ description: A token [generated by Recurly.js](https://recurly.com/developers/reference/recurly-js/#getting-a-token).
16886
17073
  maxLength: 22
16887
17074
  first_name:
16888
17075
  type: string
@@ -19090,6 +19277,8 @@ components:
19090
19277
  title: Ramp Intervals
19091
19278
  items:
19092
19279
  "$ref": "#/components/schemas/PlanRampInterval"
19280
+ custom_fields:
19281
+ "$ref": "#/components/schemas/CustomFields"
19093
19282
  revenue_schedule_type:
19094
19283
  title: Revenue schedule type
19095
19284
  "$ref": "#/components/schemas/RevenueScheduleTypeEnum"
@@ -19260,6 +19449,8 @@ components:
19260
19449
  title: Ramp Intervals
19261
19450
  items:
19262
19451
  "$ref": "#/components/schemas/PlanRampInterval"
19452
+ custom_fields:
19453
+ "$ref": "#/components/schemas/CustomFields"
19263
19454
  revenue_schedule_type:
19264
19455
  title: Revenue schedule type
19265
19456
  "$ref": "#/components/schemas/RevenueScheduleTypeEnum"
@@ -19474,6 +19665,8 @@ components:
19474
19665
  title: Ramp Intervals
19475
19666
  items:
19476
19667
  "$ref": "#/components/schemas/PlanRampInterval"
19668
+ custom_fields:
19669
+ "$ref": "#/components/schemas/CustomFields"
19477
19670
  revenue_schedule_type:
19478
19671
  title: Revenue schedule type
19479
19672
  "$ref": "#/components/schemas/RevenueScheduleTypeEnum"
@@ -20401,6 +20594,8 @@ components:
20401
20594
  "$ref": "#/components/schemas/RevenueScheduleTypeEnum"
20402
20595
  tier_type:
20403
20596
  "$ref": "#/components/schemas/TierTypeEnum"
20597
+ usage_calculation_type:
20598
+ "$ref": "#/components/schemas/UsageCalculationTypeEnum"
20404
20599
  usage_timeframe:
20405
20600
  "$ref": "#/components/schemas/UsageTimeframeEnum"
20406
20601
  tiers:
@@ -20491,7 +20686,7 @@ components:
20491
20686
  If the plan add-on's `tier_type` is `flat`, then `tiers` must be absent. The `tiers` object
20492
20687
  must include one to many tiers with `ending_quantity` and `unit_amount`.
20493
20688
  There must be one tier without an `ending_quantity` value which represents the final tier.
20494
- See our [Guide](https://developers.recurly.com/guides/item-addon-guide.html)
20689
+ See our [Guide](https://recurly.com/developers/guides/item-addon-guide.html)
20495
20690
  for an overview of how to configure quantity-based pricing models.
20496
20691
  percentage_tiers:
20497
20692
  type: array
@@ -20512,7 +20707,7 @@ components:
20512
20707
  description: The percentage taken of the monetary amount of usage tracked.
20513
20708
  This can be up to 4 decimal places. A value between 0.0 and 100.0. Required
20514
20709
  if `add_on_type` is usage and `usage_type` is percentage. Must be omitted
20515
- otherwise. `usage_percentage` does not support tiers. See our [Guide](https://developers.recurly.com/guides/usage-based-billing-guide.html)
20710
+ otherwise. `usage_percentage` does not support tiers. See our [Guide](https://recurly.com/developers/guides/usage-based-billing-guide.html)
20516
20711
  for an overview of how to configure usage add-ons.
20517
20712
  revenue_schedule_type:
20518
20713
  title: Revenue schedule type
@@ -22175,6 +22370,184 @@ components:
22175
22370
  type: string
22176
22371
  format: date-time
22177
22372
  description: Time the object was last updated
22373
+ ExternalProduct:
22374
+ type: object
22375
+ description: Product from an external resource such as Apple App or Google Play.
22376
+ properties:
22377
+ id:
22378
+ type: string
22379
+ title: External product ID.
22380
+ description: System-generated unique identifier for an external product
22381
+ ID, e.g. `e28zov4fw0v2`.
22382
+ object:
22383
+ type: string
22384
+ title: Object type
22385
+ name:
22386
+ type: string
22387
+ title: Name
22388
+ description: Name to identify the external product in Recurly.
22389
+ plan:
22390
+ "$ref": "#/components/schemas/PlanMini"
22391
+ created_at:
22392
+ type: string
22393
+ format: date-time
22394
+ description: When the external product was created in Recurly.
22395
+ updated_at:
22396
+ type: string
22397
+ format: date-time
22398
+ description: When the external product was updated in Recurly.
22399
+ external_product_references:
22400
+ type: array
22401
+ title: External Product References
22402
+ description: List of external product references of the external product.
22403
+ items:
22404
+ "$ref": "#/components/schemas/ExternalProductReferenceMini"
22405
+ ExternalProductList:
22406
+ type: object
22407
+ properties:
22408
+ object:
22409
+ type: string
22410
+ title: Object type
22411
+ description: Will always be List.
22412
+ has_more:
22413
+ type: boolean
22414
+ description: Indicates there are more results on subsequent pages.
22415
+ next:
22416
+ type: string
22417
+ description: Path to subsequent page of results.
22418
+ data:
22419
+ type: array
22420
+ items:
22421
+ "$ref": "#/components/schemas/ExternalProduct"
22422
+ ExternalProductReferenceMini:
22423
+ type: object
22424
+ title: External Product Reference details
22425
+ description: External Product Reference details
22426
+ properties:
22427
+ id:
22428
+ type: string
22429
+ title: External Product ID
22430
+ description: System-generated unique identifier for an external product
22431
+ ID, e.g. `e28zov4fw0v2`.
22432
+ object:
22433
+ type: string
22434
+ title: object
22435
+ reference_code:
22436
+ type: string
22437
+ title: reference_code
22438
+ description: A code which associates the external product to a corresponding
22439
+ object or resource in an external platform like the Apple App Store or
22440
+ Google Play Store.
22441
+ external_connection_type:
22442
+ type: string
22443
+ title: external_connection_type
22444
+ description: Source connection platform.
22445
+ created_at:
22446
+ type: string
22447
+ format: date-time
22448
+ description: When the external product was created in Recurly.
22449
+ updated_at:
22450
+ type: string
22451
+ format: date-time
22452
+ description: When the external product was updated in Recurly.
22453
+ ExternalSubscription:
22454
+ type: object
22455
+ description: Subscription from an external resource such as Apple App or Google
22456
+ Play.
22457
+ properties:
22458
+ id:
22459
+ type: string
22460
+ title: External subscription ID
22461
+ description: System-generated unique identifier for an external subscription
22462
+ ID, e.g. `e28zov4fw0v2`.
22463
+ object:
22464
+ type: string
22465
+ title: Object type
22466
+ account:
22467
+ "$ref": "#/components/schemas/AccountMini"
22468
+ external_resource:
22469
+ "$ref": "#/components/schemas/ExternalResourceMini"
22470
+ external_product_reference:
22471
+ "$ref": "#/components/schemas/ExternalProductReferenceMini"
22472
+ last_purchased:
22473
+ type: string
22474
+ format: date-time
22475
+ title: Last purchased
22476
+ description: When a new billing event occurred on the external subscription
22477
+ in conjunction with a recent billing period, reactivation or upgrade/downgrade.
22478
+ auto_renew:
22479
+ type: boolean
22480
+ title: Auto-renew
22481
+ description: An indication of whether or not the external subscription will
22482
+ auto-renew at the expiration date.
22483
+ default: false
22484
+ app_identifier:
22485
+ type: string
22486
+ title: App identifier
22487
+ description: Identifier of the app that generated the external subscription.
22488
+ quantity:
22489
+ type: integer
22490
+ title: Quantity
22491
+ description: An indication of the quantity of a subscribed item's quantity.
22492
+ default: 1
22493
+ minimum: 0
22494
+ activated_at:
22495
+ type: string
22496
+ format: date-time
22497
+ title: Activated at
22498
+ description: When the external subscription was activated in the external
22499
+ platform.
22500
+ expires_at:
22501
+ type: string
22502
+ format: date-time
22503
+ title: Expires at
22504
+ description: When the external subscription expires in the external platform.
22505
+ created_at:
22506
+ type: string
22507
+ format: date-time
22508
+ title: Created at
22509
+ description: When the external subscription was created in Recurly.
22510
+ updated_at:
22511
+ type: string
22512
+ format: date-time
22513
+ title: Updated at
22514
+ description: When the external subscription was updated in Recurly.
22515
+ ExternalSubscriptionList:
22516
+ type: object
22517
+ properties:
22518
+ object:
22519
+ type: string
22520
+ title: Object type
22521
+ description: Will always be List.
22522
+ has_more:
22523
+ type: boolean
22524
+ description: Indicates there are more results on subsequent pages.
22525
+ next:
22526
+ type: string
22527
+ description: Path to subsequent page of results.
22528
+ data:
22529
+ type: array
22530
+ items:
22531
+ "$ref": "#/components/schemas/ExternalSubscription"
22532
+ ExternalResourceMini:
22533
+ type: object
22534
+ title: External Resource mini details
22535
+ properties:
22536
+ id:
22537
+ type: string
22538
+ title: External resource ID
22539
+ description: System-generated unique identifier for an external resource
22540
+ ID, e.g. `e28zov4fw0v2`.
22541
+ object:
22542
+ type: string
22543
+ title: Object type
22544
+ external_object_reference:
22545
+ type: string
22546
+ title: External Object Reference
22547
+ description: Identifier or URL reference where the resource is canonically
22548
+ available in the external platform.
22549
+ maxLength: 255
22550
+ readOnly: true
22178
22551
  CustomerPermission:
22179
22552
  type: object
22180
22553
  properties:
@@ -22367,6 +22740,7 @@ components:
22367
22740
  enum:
22368
22741
  - account
22369
22742
  - item
22743
+ - plan
22370
22744
  - subscription
22371
22745
  RefundTypeEnum:
22372
22746
  type: string
@@ -22392,6 +22766,15 @@ components:
22392
22766
  - percentage
22393
22767
  title: Usage Type
22394
22768
  description: Type of usage, returns usage type if `add_on_type` is `usage`.
22769
+ UsageCalculationTypeEnum:
22770
+ type: string
22771
+ description: The type of calculation to be employed for an add-on. Cumulative
22772
+ billing will sum all usage records created in the current billing cycle. Last-in-period
22773
+ billing will apply only the most recent usage record in the billing period. If
22774
+ no value is specified, cumulative billing will be used.
22775
+ enum:
22776
+ - cumulative
22777
+ - last_in_period
22395
22778
  BillingStatusEnum:
22396
22779
  type: string
22397
22780
  default: unbilled
@@ -22596,7 +22979,7 @@ components:
22596
22979
  title: Usage Type
22597
22980
  description: |
22598
22981
  Type of usage, required if `add_on_type` is `usage`. See our
22599
- [Guide](https://developers.recurly.com/guides/usage-based-billing-guide.html) for an
22982
+ [Guide](https://recurly.com/developers/guides/usage-based-billing-guide.html) for an
22600
22983
  overview of how to configure usage add-ons.
22601
22984
  TierTypeEnum:
22602
22985
  type: string
@@ -22604,7 +22987,7 @@ components:
22604
22987
  description: |
22605
22988
  The pricing model for the add-on. For more information,
22606
22989
  [click here](https://docs.recurly.com/docs/billing-models#section-quantity-based). See our
22607
- [Guide](https://developers.recurly.com/guides/item-addon-guide.html) for an overview of how
22990
+ [Guide](https://recurly.com/developers/guides/item-addon-guide.html) for an overview of how
22608
22991
  to configure quantity-based pricing models.
22609
22992
  default: flat
22610
22993
  enum:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recurly
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.23.0
4
+ version: 4.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-27 00:00:00.000000000 Z
11
+ date: 2022-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -141,6 +141,7 @@ files:
141
141
  - lib/recurly/errors.rb
142
142
  - lib/recurly/errors/api_errors.rb
143
143
  - lib/recurly/errors/network_errors.rb
144
+ - lib/recurly/errors/webhooks_errors.rb
144
145
  - lib/recurly/http.rb
145
146
  - lib/recurly/pager.rb
146
147
  - lib/recurly/request.rb
@@ -251,6 +252,10 @@ files:
251
252
  - lib/recurly/resources/export_dates.rb
252
253
  - lib/recurly/resources/export_file.rb
253
254
  - lib/recurly/resources/export_files.rb
255
+ - lib/recurly/resources/external_product.rb
256
+ - lib/recurly/resources/external_product_reference_mini.rb
257
+ - lib/recurly/resources/external_resource_mini.rb
258
+ - lib/recurly/resources/external_subscription.rb
254
259
  - lib/recurly/resources/fraud_info.rb
255
260
  - lib/recurly/resources/granted_by.rb
256
261
  - lib/recurly/resources/invoice.rb
@@ -304,6 +309,7 @@ files:
304
309
  - lib/recurly/schema/schema_factory.rb
305
310
  - lib/recurly/schema/schema_validator.rb
306
311
  - lib/recurly/version.rb
312
+ - lib/recurly/webhooks.rb
307
313
  - openapi/api.yaml
308
314
  - recurly.gemspec
309
315
  - scripts/build
@@ -320,7 +326,7 @@ metadata:
320
326
  changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
321
327
  documentation_uri: https://recurly.github.io/recurly-client-ruby/
322
328
  homepage_uri: https://github.com/recurly/recurly-client-ruby
323
- source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.23.0
329
+ source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.25.0
324
330
  post_install_message:
325
331
  rdoc_options: []
326
332
  require_paths: