recurly 4.21.1 → 4.23.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 219f3d280dd061539e7087e972e0954371e691300aa1bfdad4c6e4a4b22cf946
4
- data.tar.gz: b5e700f336e8e25f9381aa1d302724880a55d7d69003c6a05d1fef1b8e31a0bf
3
+ metadata.gz: f3425e11a326e6886fe09606f3cd02f155ded5fb774f639d20f47f2a4def65f3
4
+ data.tar.gz: 39d0917188e796d37e7179a86e78427dab022cf94ea3d6c13b734153d54f2b0c
5
5
  SHA512:
6
- metadata.gz: 96c0570bdd87a04d9364415e8e984417ca4bb98c580f587b96f637e3bd78bbe7829a6a232f0dfc5f594b2cf917126bf609db5718f1179b64fef065ce4cabfab1
7
- data.tar.gz: 410770536d971b7e0eb3db98027507b4ce174d185af412c883e3348873ccecc5a1aa84405dcf157c8c84ca7dc05f528edd7f3c4ead88c6a7843d1e06d2eed8a8
6
+ metadata.gz: c06705fdd51268f7f1a298dc6b92ab65c4a972106d32d2e7909ac6852d780ab0024170da9c0f028d43695fe17706371684f93366217bbf3577fd9e1200068854
7
+ data.tar.gz: 63565f407525519ff2594677070a394675c7500d03565d704c0bd07e4ef7afa94ffb2d9839efd07f527bc65fc9979090d4ab4cf1166d988d7879fcbb757576e9
data/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 4.21.1
2
+ current_version = 4.23.0
3
3
  parse = (?P<major>\d+)
4
4
  \.(?P<minor>\d+)
5
5
  \.(?P<patch>\d+)
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.23.0](https://github.com/recurly/recurly-client-ruby/tree/4.23.0) (2022-10-27)
4
+
5
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.22.0...4.23.0)
6
+
7
+
8
+ **Merged Pull Requests**
9
+
10
+ - Generated Latest Changes for v2021-02-25 (Entitlements feature) [#804](https://github.com/recurly/recurly-client-ruby/pull/804) ([recurly-integrations](https://github.com/recurly-integrations))
11
+
12
+
13
+
14
+ ## [4.22.0](https://github.com/recurly/recurly-client-ruby/tree/4.22.0) (2022-10-21)
15
+
16
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.21.1...4.22.0)
17
+
18
+
19
+ **Merged Pull Requests**
20
+
21
+ - Generated Latest Changes for v2021-02-25(Decimal Usage and Quantities and DunningEvent new fields) [#801](https://github.com/recurly/recurly-client-ruby/pull/801) ([recurly-integrations](https://github.com/recurly-integrations))
22
+
23
+
24
+
3
25
  ## [4.21.1](https://github.com/recurly/recurly-client-ruby/tree/4.21.1) (2022-09-08)
4
26
 
5
27
  [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.21.0...4.21.1)
data/GETTING_STARTED.md CHANGED
@@ -5,7 +5,7 @@ This repository houses the official ruby client for Recurly's V3 API.
5
5
  In your Gemfile, add `recurly` as a dependency.
6
6
 
7
7
  ```ruby
8
- gem 'recurly', '~> 4.21'
8
+ gem 'recurly', '~> 4.23'
9
9
  ```
10
10
 
11
11
  > *Note*: We try to follow [semantic versioning](https://semver.org/) and will only apply breaking changes to major versions.
@@ -4091,5 +4091,24 @@ module Recurly
4091
4091
  path = interpolate_path("/invoice_templates/{invoice_template_id}", invoice_template_id: invoice_template_id)
4092
4092
  get(path, **options)
4093
4093
  end
4094
+
4095
+ # Show all entitlements granted to an account
4096
+ #
4097
+ # {https://developers.recurly.com/api/v2021-02-25#operation/list_entitlements list_entitlements api documentation}
4098
+ #
4099
+ # @param account_id [String] Account ID or code. For ID no prefix is used e.g. +e28zov4fw0v2+. For code use prefix +code-+, e.g. +code-bob+.
4100
+ # @param params [Hash] Optional query string parameters:
4101
+ # :state [String] Filter the entitlements based on the state of the applicable subscription.
4102
+ #
4103
+ # - When +state=active+, +state=canceled+, +state=expired+, or +state=future+, subscriptions with states that match the query and only those subscriptions will be returned.
4104
+ # - When no state is provided, subscriptions with active or canceled states will be returned.
4105
+ #
4106
+ #
4107
+ # @return [Pager<Resources::Entitlements>] A list of the entitlements granted to an account.
4108
+ #
4109
+ def list_entitlements(account_id:, **options)
4110
+ path = interpolate_path("/accounts/{account_id}/entitlements", account_id: account_id)
4111
+ pager(path, **options)
4112
+ end
4094
4113
  end
4095
4114
  end
@@ -39,7 +39,7 @@ module Recurly
39
39
  define_attribute :cvv, String
40
40
 
41
41
  # @!attribute external_hpp_type
42
- # @return [String] Use for Adyen HPP billing info.
42
+ # @return [String] Use for Adyen HPP billing info. This should only be used as part of a pending purchase request, when the billing info is nested inside an account object.
43
43
  define_attribute :external_hpp_type, String
44
44
 
45
45
  # @!attribute first_name
@@ -83,7 +83,7 @@ module Recurly
83
83
  define_attribute :number, String
84
84
 
85
85
  # @!attribute online_banking_payment_type
86
- # @return [String] Use for Online Banking billing info.
86
+ # @return [String] Use for Online Banking billing info. This should only be used as part of a pending purchase request, when the billing info is nested inside an account object.
87
87
  define_attribute :online_banking_payment_type, String
88
88
 
89
89
  # @!attribute paypal_billing_agreement_id
@@ -17,6 +17,10 @@ module Recurly
17
17
  # @!attribute quantity
18
18
  # @return [Integer] Line item quantity to be refunded.
19
19
  define_attribute :quantity, Integer
20
+
21
+ # @!attribute quantity_decimal
22
+ # @return [String] A floating-point alternative to Quantity. If this value is present, it will be used in place of Quantity for calculations, and Quantity will be the rounded integer value of this number. This field supports up to 9 decimal places. The Decimal Quantity feature must be enabled to utilize this field.
23
+ define_attribute :quantity_decimal, String
20
24
  end
21
25
  end
22
26
  end
@@ -7,7 +7,7 @@ module Recurly
7
7
  class UsageCreate < Request
8
8
 
9
9
  # @!attribute amount
10
- # @return [Float] The amount of usage. Can be positive, negative, or 0. No decimals allowed, we will strip them. If the usage-based add-on is billed with a percentage, your usage will be a monetary amount you will want to format in cents. (e.g., $5.00 is "500").
10
+ # @return [Float] The amount of usage. Can be positive, negative, or 0. If the Decimal Quantity feature is enabled, this value will be rounded to nine decimal places. Otherwise, all digits after the decimal will be stripped. If the usage-based add-on is billed with a percentage, your usage should be a monetary amount formatted in cents (e.g., $5.00 is "500").
11
11
  define_attribute :amount, Float
12
12
 
13
13
  # @!attribute merchant_tag
@@ -0,0 +1,30 @@
1
+ # This file is automatically created by Recurly's OpenAPI generation process
2
+ # and thus any edits you make by hand will be lost. If you wish to make a
3
+ # change to this file, please create a Github issue explaining the changes you
4
+ # need and we will usher them to the appropriate places.
5
+ module Recurly
6
+ module Resources
7
+ class CustomerPermission < Resource
8
+
9
+ # @!attribute code
10
+ # @return [String] Customer permission code.
11
+ define_attribute :code, String
12
+
13
+ # @!attribute description
14
+ # @return [String] Description of customer permission.
15
+ define_attribute :description, String
16
+
17
+ # @!attribute id
18
+ # @return [String] Customer permission ID.
19
+ define_attribute :id, String
20
+
21
+ # @!attribute name
22
+ # @return [String] Customer permission name.
23
+ define_attribute :name, String
24
+
25
+ # @!attribute object
26
+ # @return [String] It will always be "customer_permission".
27
+ define_attribute :object, String
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,30 @@
1
+ # This file is automatically created by Recurly's OpenAPI generation process
2
+ # and thus any edits you make by hand will be lost. If you wish to make a
3
+ # change to this file, please create a Github issue explaining the changes you
4
+ # need and we will usher them to the appropriate places.
5
+ module Recurly
6
+ module Resources
7
+ class Entitlement < Resource
8
+
9
+ # @!attribute created_at
10
+ # @return [DateTime] Time object was created.
11
+ define_attribute :created_at, DateTime
12
+
13
+ # @!attribute customer_permission
14
+ # @return [CustomerPermission]
15
+ define_attribute :customer_permission, :CustomerPermission
16
+
17
+ # @!attribute granted_by
18
+ # @return [Array[GrantedBy]] Subscription or item that granted the customer permission.
19
+ define_attribute :granted_by, Array, { :item_type => :GrantedBy }
20
+
21
+ # @!attribute object
22
+ # @return [String] Entitlement
23
+ define_attribute :object, String
24
+
25
+ # @!attribute updated_at
26
+ # @return [DateTime] Time the object was last updated
27
+ define_attribute :updated_at, DateTime
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,26 @@
1
+ # This file is automatically created by Recurly's OpenAPI generation process
2
+ # and thus any edits you make by hand will be lost. If you wish to make a
3
+ # change to this file, please create a Github issue explaining the changes you
4
+ # need and we will usher them to the appropriate places.
5
+ module Recurly
6
+ module Resources
7
+ class Entitlements < Resource
8
+
9
+ # @!attribute data
10
+ # @return [Array[Entitlement]]
11
+ define_attribute :data, Array, { :item_type => :Entitlement }
12
+
13
+ # @!attribute has_more
14
+ # @return [Boolean] Indicates there are more results on subsequent pages.
15
+ define_attribute :has_more, :Boolean
16
+
17
+ # @!attribute next
18
+ # @return [String] Path to subsequent page of results.
19
+ define_attribute :next, String
20
+
21
+ # @!attribute object
22
+ # @return [String] Object Type
23
+ define_attribute :object, String
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,18 @@
1
+ # This file is automatically created by Recurly's OpenAPI generation process
2
+ # and thus any edits you make by hand will be lost. If you wish to make a
3
+ # change to this file, please create a Github issue explaining the changes you
4
+ # need and we will usher them to the appropriate places.
5
+ module Recurly
6
+ module Resources
7
+ class GrantedBy < Resource
8
+
9
+ # @!attribute id
10
+ # @return [String] The ID of the subscription or external subscription that grants the permission to the account.
11
+ define_attribute :id, String
12
+
13
+ # @!attribute object
14
+ # @return [String] Object Type
15
+ define_attribute :object, String
16
+ end
17
+ end
18
+ end
@@ -58,6 +58,14 @@ module Recurly
58
58
  # @return [String] Unique ID to identify the dunning campaign used when dunning the invoice. For sites without multiple dunning campaigns enabled, this will always be the default dunning campaign.
59
59
  define_attribute :dunning_campaign_id, String
60
60
 
61
+ # @!attribute dunning_events_sent
62
+ # @return [Integer] Number of times the event was sent.
63
+ define_attribute :dunning_events_sent, Integer
64
+
65
+ # @!attribute final_dunning_event
66
+ # @return [Boolean] Last communication attempt.
67
+ define_attribute :final_dunning_event, :Boolean
68
+
61
69
  # @!attribute has_more_line_items
62
70
  # @return [Boolean] Identifies if the invoice has more line items than are returned in `line_items`. If `has_more_line_items` is `true`, then a request needs to be made to the `list_invoice_line_items` endpoint.
63
71
  define_attribute :has_more_line_items, :Boolean
@@ -130,6 +130,10 @@ module Recurly
130
130
  # @return [Integer] This number will be multiplied by the unit amount to compute the subtotal before any discounts or taxes.
131
131
  define_attribute :quantity, Integer
132
132
 
133
+ # @!attribute quantity_decimal
134
+ # @return [String] A floating-point alternative to Quantity. If this value is present, it will be used in place of Quantity for calculations, and Quantity will be the rounded integer value of this number. This field supports up to 9 decimal places. The Decimal Quantity feature must be enabled to utilize this field.
135
+ define_attribute :quantity_decimal, String
136
+
133
137
  # @!attribute refund
134
138
  # @return [Boolean] Refund?
135
139
  define_attribute :refund, :Boolean
@@ -138,6 +142,10 @@ module Recurly
138
142
  # @return [Integer] For refund charges, the quantity being refunded. For non-refund charges, the total quantity refunded (possibly over multiple refunds).
139
143
  define_attribute :refunded_quantity, Integer
140
144
 
145
+ # @!attribute refunded_quantity_decimal
146
+ # @return [String] A floating-point alternative to Refunded Quantity. For refund charges, the quantity being refunded. For non-refund charges, the total quantity refunded (possibly over multiple refunds). The Decimal Quantity feature must be enabled to utilize this field.
147
+ define_attribute :refunded_quantity_decimal, String
148
+
141
149
  # @!attribute revenue_schedule_type
142
150
  # @return [String] Revenue schedule type
143
151
  define_attribute :revenue_schedule_type, String
@@ -7,7 +7,7 @@ module Recurly
7
7
  class Usage < Resource
8
8
 
9
9
  # @!attribute amount
10
- # @return [Float] The amount of usage. Can be positive, negative, or 0. No decimals allowed, we will strip them. If the usage-based add-on is billed with a percentage, your usage will be a monetary amount you will want to format in cents. (e.g., $5.00 is "500").
10
+ # @return [Float] The amount of usage. Can be positive, negative, or 0. If the Decimal Quantity feature is enabled, this value will be rounded to nine decimal places. Otherwise, all digits after the decimal will be stripped. If the usage-based add-on is billed with a percentage, your usage should be a monetary amount formatted in cents (e.g., $5.00 is "500").
11
11
  define_attribute :amount, Float
12
12
 
13
13
  # @!attribute billed_at
@@ -1,3 +1,3 @@
1
1
  module Recurly
2
- VERSION = "4.21.1"
2
+ VERSION = "4.23.0"
3
3
  end
data/openapi/api.yaml CHANGED
@@ -305,6 +305,8 @@ tags:
305
305
  description: A purchase is a checkout containing at least one or more subscriptions
306
306
  or one-time charges (line items) and supports both coupon and gift card redemptions.
307
307
  All items purchased will be on one invoice and paid for with one transaction.
308
+ The purchases endpoint can also be used to immediately create a credit invoice
309
+ on an account, when Credit Invoices is enabled on your site.
308
310
  - name: usage
309
311
  x-displayName: Usage
310
312
  description: Send Recurly your customer usage and we will automatically bill them
@@ -3773,6 +3775,8 @@ paths:
3773
3775
  - line_item
3774
3776
  operationId: create_line_item
3775
3777
  summary: Create a new line item for the account
3778
+ description: When using the Credit Invoices feature, utilize the purchases endpoint
3779
+ in order to immediately post credit to a credit invoice.
3776
3780
  parameters:
3777
3781
  - "$ref": "#/components/parameters/account_id"
3778
3782
  requestBody:
@@ -15065,6 +15069,35 @@ paths:
15065
15069
  schema:
15066
15070
  "$ref": "#/components/schemas/Error"
15067
15071
  x-code-samples: []
15072
+ "/accounts/{account_id}/entitlements":
15073
+ parameters:
15074
+ - "$ref": "#/components/parameters/account_id"
15075
+ - "$ref": "#/components/parameters/filter_limited_subscription_state"
15076
+ get:
15077
+ tags:
15078
+ - account
15079
+ operationId: list_entitlements
15080
+ summary: Show all entitlements granted to an account
15081
+ responses:
15082
+ '200':
15083
+ description: A list of the entitlements granted to an account.
15084
+ content:
15085
+ application/json:
15086
+ schema:
15087
+ "$ref": "#/components/schemas/Entitlements"
15088
+ '404':
15089
+ description: Incorrect site or account ID.
15090
+ content:
15091
+ application/json:
15092
+ schema:
15093
+ "$ref": "#/components/schemas/Error"
15094
+ default:
15095
+ description: Unexpected error.
15096
+ content:
15097
+ application/json:
15098
+ schema:
15099
+ "$ref": "#/components/schemas/Error"
15100
+ x-code-samples: []
15068
15101
  servers:
15069
15102
  - url: https://v3.recurly.com
15070
15103
  - url: https://v3.eu.recurly.com
@@ -15306,6 +15339,16 @@ components:
15306
15339
  - When `state=live`, only subscriptions that are in an active, canceled, or future state or are in trial will be returned.
15307
15340
  schema:
15308
15341
  "$ref": "#/components/schemas/FilterSubscriptionStateEnum"
15342
+ filter_limited_subscription_state:
15343
+ name: state
15344
+ in: query
15345
+ description: |
15346
+ Filter the entitlements based on the state of the applicable subscription.
15347
+
15348
+ - When `state=active`, `state=canceled`, `state=expired`, or `state=future`, subscriptions with states that match the query and only those subscriptions will be returned.
15349
+ - When no state is provided, subscriptions with active or canceled states will be returned.
15350
+ schema:
15351
+ "$ref": "#/components/schemas/FilterLimitedSubscriptionStateEnum"
15309
15352
  filter_begin_time:
15310
15353
  name: begin_time
15311
15354
  in: query
@@ -18141,6 +18184,14 @@ components:
18141
18184
  description: Unique ID to identify the dunning campaign used when dunning
18142
18185
  the invoice. For sites without multiple dunning campaigns enabled, this
18143
18186
  will always be the default dunning campaign.
18187
+ dunning_events_sent:
18188
+ type: integer
18189
+ title: Dunning Event Sent
18190
+ description: Number of times the event was sent.
18191
+ final_dunning_event:
18192
+ type: boolean
18193
+ title: Final Dunning Event
18194
+ description: Last communication attempt.
18144
18195
  InvoiceCreate:
18145
18196
  type: object
18146
18197
  properties:
@@ -18622,6 +18673,14 @@ components:
18622
18673
  description: This number will be multiplied by the unit amount to compute
18623
18674
  the subtotal before any discounts or taxes.
18624
18675
  default: 1
18676
+ quantity_decimal:
18677
+ type: string
18678
+ title: Quantity Decimal
18679
+ description: A floating-point alternative to Quantity. If this value is
18680
+ present, it will be used in place of Quantity for calculations, and Quantity
18681
+ will be the rounded integer value of this number. This field supports
18682
+ up to 9 decimal places. The Decimal Quantity feature must be enabled to
18683
+ utilize this field.
18625
18684
  unit_amount:
18626
18685
  type: number
18627
18686
  format: float
@@ -18706,6 +18765,13 @@ components:
18706
18765
  title: Refunded Quantity
18707
18766
  description: For refund charges, the quantity being refunded. For non-refund
18708
18767
  charges, the total quantity refunded (possibly over multiple refunds).
18768
+ refunded_quantity_decimal:
18769
+ type: string
18770
+ title: Refunded Quantity Decimal
18771
+ description: A floating-point alternative to Refunded Quantity. For refund
18772
+ charges, the quantity being refunded. For non-refund charges, the total
18773
+ quantity refunded (possibly over multiple refunds). The Decimal Quantity
18774
+ feature must be enabled to utilize this field.
18709
18775
  credit_applied:
18710
18776
  type: number
18711
18777
  format: float
@@ -18747,6 +18813,14 @@ components:
18747
18813
  type: integer
18748
18814
  title: Quantity
18749
18815
  description: Line item quantity to be refunded.
18816
+ quantity_decimal:
18817
+ type: string
18818
+ title: Quantity Decimal
18819
+ description: A floating-point alternative to Quantity. If this value is
18820
+ present, it will be used in place of Quantity for calculations, and Quantity
18821
+ will be the rounded integer value of this number. This field supports
18822
+ up to 9 decimal places. The Decimal Quantity feature must be enabled to
18823
+ utilize this field.
18750
18824
  prorate:
18751
18825
  type: boolean
18752
18826
  title: Prorate
@@ -21667,10 +21741,11 @@ components:
21667
21741
  amount:
21668
21742
  type: number
21669
21743
  format: float
21670
- description: The amount of usage. Can be positive, negative, or 0. No decimals
21671
- allowed, we will strip them. If the usage-based add-on is billed with
21672
- a percentage, your usage will be a monetary amount you will want to format
21673
- in cents. (e.g., $5.00 is "500").
21744
+ description: The amount of usage. Can be positive, negative, or 0. If the
21745
+ Decimal Quantity feature is enabled, this value will be rounded to nine
21746
+ decimal places. Otherwise, all digits after the decimal will be stripped.
21747
+ If the usage-based add-on is billed with a percentage, your usage should
21748
+ be a monetary amount formatted in cents (e.g., $5.00 is "500").
21674
21749
  usage_type:
21675
21750
  "$ref": "#/components/schemas/UsageTypeEnum"
21676
21751
  tier_type:
@@ -21741,10 +21816,11 @@ components:
21741
21816
  amount:
21742
21817
  type: number
21743
21818
  format: float
21744
- description: The amount of usage. Can be positive, negative, or 0. No decimals
21745
- allowed, we will strip them. If the usage-based add-on is billed with
21746
- a percentage, your usage will be a monetary amount you will want to format
21747
- in cents. (e.g., $5.00 is "500").
21819
+ description: The amount of usage. Can be positive, negative, or 0. If the
21820
+ Decimal Quantity feature is enabled, this value will be rounded to nine
21821
+ decimal places. Otherwise, all digits after the decimal will be stripped.
21822
+ If the usage-based add-on is billed with a percentage, your usage should
21823
+ be a monetary amount formatted in cents (e.g., $5.00 is "500").
21748
21824
  recording_timestamp:
21749
21825
  type: string
21750
21826
  format: date-time
@@ -22060,6 +22136,75 @@ components:
22060
22136
  maxItems: 200
22061
22137
  items:
22062
22138
  "$ref": "#/components/schemas/Plan"
22139
+ Entitlements:
22140
+ type: object
22141
+ description: A list of privileges granted to a customer through the purchase
22142
+ of a plan or item.
22143
+ properties:
22144
+ object:
22145
+ type: string
22146
+ title: Object Type
22147
+ has_more:
22148
+ type: boolean
22149
+ description: Indicates there are more results on subsequent pages.
22150
+ next:
22151
+ type: string
22152
+ description: Path to subsequent page of results.
22153
+ data:
22154
+ type: array
22155
+ items:
22156
+ "$ref": "#/components/schemas/Entitlement"
22157
+ Entitlement:
22158
+ type: object
22159
+ properties:
22160
+ object:
22161
+ type: string
22162
+ description: Entitlement
22163
+ customer_permission:
22164
+ "$ref": "#/components/schemas/CustomerPermission"
22165
+ granted_by:
22166
+ type: array
22167
+ description: Subscription or item that granted the customer permission.
22168
+ items:
22169
+ "$ref": "#/components/schemas/GrantedBy"
22170
+ created_at:
22171
+ type: string
22172
+ format: date-time
22173
+ description: Time object was created.
22174
+ updated_at:
22175
+ type: string
22176
+ format: date-time
22177
+ description: Time the object was last updated
22178
+ CustomerPermission:
22179
+ type: object
22180
+ properties:
22181
+ id:
22182
+ type: string
22183
+ description: Customer permission ID.
22184
+ code:
22185
+ type: string
22186
+ description: Customer permission code.
22187
+ name:
22188
+ type: string
22189
+ description: Customer permission name.
22190
+ description:
22191
+ type: string
22192
+ description: Description of customer permission.
22193
+ object:
22194
+ type: string
22195
+ description: It will always be "customer_permission".
22196
+ GrantedBy:
22197
+ type: object
22198
+ description: The subscription or external subscription that grants customer
22199
+ permissions.
22200
+ properties:
22201
+ object:
22202
+ type: string
22203
+ title: Object Type
22204
+ id:
22205
+ type: string
22206
+ description: The ID of the subscription or external subscription that grants
22207
+ the permission to the account.
22063
22208
  InvoiceTemplateList:
22064
22209
  type: object
22065
22210
  properties:
@@ -22273,6 +22418,13 @@ components:
22273
22418
  - future
22274
22419
  - in_trial
22275
22420
  - live
22421
+ FilterLimitedSubscriptionStateEnum:
22422
+ type: string
22423
+ enum:
22424
+ - active
22425
+ - canceled
22426
+ - expired
22427
+ - future
22276
22428
  TrueEnum:
22277
22429
  type: string
22278
22430
  enum:
@@ -23058,12 +23210,16 @@ components:
23058
23210
  - savings
23059
23211
  ExternalHppTypeEnum:
23060
23212
  type: string
23061
- description: Use for Adyen HPP billing info.
23213
+ description: Use for Adyen HPP billing info. This should only be used as part
23214
+ of a pending purchase request, when the billing info is nested inside an account
23215
+ object.
23062
23216
  enum:
23063
23217
  - adyen
23064
23218
  OnlineBankingPaymentTypeEnum:
23065
23219
  type: string
23066
- description: Use for Online Banking billing info.
23220
+ description: Use for Online Banking billing info. This should only be used as
23221
+ part of a pending purchase request, when the billing info is nested inside
23222
+ an account object.
23067
23223
  enum:
23068
23224
  - ideal
23069
23225
  - sofort
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.21.1
4
+ version: 4.23.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-09-08 00:00:00.000000000 Z
11
+ date: 2022-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -239,16 +239,20 @@ files:
239
239
  - lib/recurly/resources/credit_payment.rb
240
240
  - lib/recurly/resources/custom_field.rb
241
241
  - lib/recurly/resources/custom_field_definition.rb
242
+ - lib/recurly/resources/customer_permission.rb
242
243
  - lib/recurly/resources/dunning_campaign.rb
243
244
  - lib/recurly/resources/dunning_campaigns_bulk_update_response.rb
244
245
  - lib/recurly/resources/dunning_cycle.rb
245
246
  - lib/recurly/resources/dunning_interval.rb
247
+ - lib/recurly/resources/entitlement.rb
248
+ - lib/recurly/resources/entitlements.rb
246
249
  - lib/recurly/resources/error.rb
247
250
  - lib/recurly/resources/error_may_have_transaction.rb
248
251
  - lib/recurly/resources/export_dates.rb
249
252
  - lib/recurly/resources/export_file.rb
250
253
  - lib/recurly/resources/export_files.rb
251
254
  - lib/recurly/resources/fraud_info.rb
255
+ - lib/recurly/resources/granted_by.rb
252
256
  - lib/recurly/resources/invoice.rb
253
257
  - lib/recurly/resources/invoice_address.rb
254
258
  - lib/recurly/resources/invoice_collection.rb
@@ -316,7 +320,7 @@ metadata:
316
320
  changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
317
321
  documentation_uri: https://recurly.github.io/recurly-client-ruby/
318
322
  homepage_uri: https://github.com/recurly/recurly-client-ruby
319
- source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.21.1
323
+ source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.23.0
320
324
  post_install_message:
321
325
  rdoc_options: []
322
326
  require_paths: