recurly 4.46.0 → 4.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bumpversion.cfg +1 -1
- data/.github/codeql/codeql-config.yml +0 -2
- data/.github/workflows/codeql.yml +0 -2
- data/CHANGELOG.md +23 -0
- data/GETTING_STARTED.md +1 -1
- data/lib/recurly/client/operations.rb +4 -0
- data/lib/recurly/requests/billing_info_create.rb +4 -0
- data/lib/recurly/resources/external_subscription.rb +4 -0
- data/lib/recurly/resources/payment_method.rb +4 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +41 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 141fc1a54c4099a33a67b75725424617633cc85571a1019fcd27ca02b626b3fb
|
4
|
+
data.tar.gz: 58b6fe9e205defb227d8d9eba85dcceb88f85833bccff8de5f981dd5905ed641
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6721ecabb597255a0b34359cae4cc7e2a9985ea64ceece16b36f3619b9a5e9d4a68608c577aa9e7acd7dec8d5ab7caedcd6b894819f0982824040204a83319e2
|
7
|
+
data.tar.gz: '09a9bdb67eeabad3c7ebd3f2bf26c35c856bef1ad1db9be595301e96ffe7a1cb2479f71d317c204d99178996ce74bd0382997d9b45ae580422609427347a480d'
|
data/.bumpversion.cfg
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# Recurly Security and Quality checks
|
2
2
|
#
|
3
3
|
# Customize this file for your project.
|
4
|
-
# Contact the application security team in slack/security channel for assistance.
|
5
|
-
# https://coda.io/d/Information-Security_dDTWpZde3Uu/GitHub-Advanced-Security_suXj4#_lu8Xf
|
6
4
|
# https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning#specifying-directories-to-scan
|
7
5
|
name: "Recurly Security Tests"
|
8
6
|
query-filters:
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,28 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [4.48.0](https://github.com/recurly/recurly-client-ruby/tree/4.48.0) (2024-03-19)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.47.0...4.48.0)
|
6
|
+
|
7
|
+
|
8
|
+
**Merged Pull Requests**
|
9
|
+
|
10
|
+
- Generated Latest Changes for v2021-02-25 [#894](https://github.com/recurly/recurly-client-ruby/pull/894) ([recurly-integrations](https://github.com/recurly-integrations))
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## [4.47.0](https://github.com/recurly/recurly-client-ruby/tree/4.47.0) (2024-02-20)
|
15
|
+
|
16
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.46.0...4.47.0)
|
17
|
+
|
18
|
+
|
19
|
+
**Merged Pull Requests**
|
20
|
+
|
21
|
+
- Add invoice state param for v2021-02-25 [#887](https://github.com/recurly/recurly-client-ruby/pull/887) ([recurly-integrations](https://github.com/recurly-integrations))
|
22
|
+
- Remove internal wiki link. [#882](https://github.com/recurly/recurly-client-ruby/pull/882) ([recurly-bearley](https://github.com/recurly-bearley))
|
23
|
+
|
24
|
+
|
25
|
+
|
3
26
|
## [4.46.0](https://github.com/recurly/recurly-client-ruby/tree/4.46.0) (2024-01-24)
|
4
27
|
|
5
28
|
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.45.0...4.46.0)
|
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.
|
8
|
+
gem 'recurly', '~> 4.48'
|
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.
|
@@ -863,6 +863,7 @@ module Recurly
|
|
863
863
|
# * Records are returned in an arbitrary order. Since results are all
|
864
864
|
# returned at once you can sort the records yourself.
|
865
865
|
#
|
866
|
+
# :state [String] Invoice state.
|
866
867
|
# :limit [Integer] Limit number of records 1-200.
|
867
868
|
# :order [String] Sort order.
|
868
869
|
# :sort [String] Sort field. You *really* only want to sort by +updated_at+ in ascending
|
@@ -2347,6 +2348,7 @@ module Recurly
|
|
2347
2348
|
# * Records are returned in an arbitrary order. Since results are all
|
2348
2349
|
# returned at once you can sort the records yourself.
|
2349
2350
|
#
|
2351
|
+
# :state [String] Invoice state.
|
2350
2352
|
# :limit [Integer] Limit number of records 1-200.
|
2351
2353
|
# :order [String] Sort order.
|
2352
2354
|
# :sort [String] Sort field. You *really* only want to sort by +updated_at+ in ascending
|
@@ -3805,6 +3807,7 @@ module Recurly
|
|
3805
3807
|
# * Records are returned in an arbitrary order. Since results are all
|
3806
3808
|
# returned at once you can sort the records yourself.
|
3807
3809
|
#
|
3810
|
+
# :state [String] Invoice state.
|
3808
3811
|
# :limit [Integer] Limit number of records 1-200.
|
3809
3812
|
# :order [String] Sort order.
|
3810
3813
|
# :sort [String] Sort field. You *really* only want to sort by +updated_at+ in ascending
|
@@ -4620,6 +4623,7 @@ module Recurly
|
|
4620
4623
|
# * Records are returned in an arbitrary order. Since results are all
|
4621
4624
|
# returned at once you can sort the records yourself.
|
4622
4625
|
#
|
4626
|
+
# :state [String] Invoice state.
|
4623
4627
|
# :limit [Integer] Limit number of records 1-200.
|
4624
4628
|
# :order [String] Sort order.
|
4625
4629
|
# :sort [String] Sort field. You *really* only want to sort by +updated_at+ in ascending
|
@@ -26,6 +26,10 @@ module Recurly
|
|
26
26
|
# @return [Boolean] The `backup_payment_method` field is used to designate a billing info as a backup on the account that will be tried if the initial billing info used for an invoice is declined. All payment methods, including the billing info marked `primary_payment_method` can be set as a backup. An account can have a maximum of 1 backup, if a user sets a different payment method as a backup, the existing backup will no longer be marked as such.
|
27
27
|
define_attribute :backup_payment_method, :Boolean
|
28
28
|
|
29
|
+
# @!attribute card_network_preference
|
30
|
+
# @return [String] Represents the card network preference associated with the billing info for dual badged cards. Must be a supported card network.
|
31
|
+
define_attribute :card_network_preference, String
|
32
|
+
|
29
33
|
# @!attribute card_type
|
30
34
|
# @return [String]
|
31
35
|
define_attribute :card_type, String
|
@@ -66,6 +66,10 @@ module Recurly
|
|
66
66
|
# @return [String] External subscriptions can be active, canceled, expired, or past_due.
|
67
67
|
define_attribute :state, String
|
68
68
|
|
69
|
+
# @!attribute test
|
70
|
+
# @return [Boolean] An indication of whether or not the external subscription was purchased in a sandbox environment.
|
71
|
+
define_attribute :test, :Boolean
|
72
|
+
|
69
73
|
# @!attribute trial_ends_at
|
70
74
|
# @return [DateTime] When the external subscription trial period ends in the external platform.
|
71
75
|
define_attribute :trial_ends_at, DateTime
|
@@ -14,6 +14,10 @@ module Recurly
|
|
14
14
|
# @return [String] Billing Agreement identifier. Only present for Amazon or Paypal payment methods.
|
15
15
|
define_attribute :billing_agreement_id, String
|
16
16
|
|
17
|
+
# @!attribute card_network_preference
|
18
|
+
# @return [String] Represents the card network preference associated with the billing info for dual badged cards. Must be a supported card network.
|
19
|
+
define_attribute :card_network_preference, String
|
20
|
+
|
17
21
|
# @!attribute card_type
|
18
22
|
# @return [String] Visa, MasterCard, American Express, Discover, JCB, etc.
|
19
23
|
define_attribute :card_type, String
|
data/lib/recurly/version.rb
CHANGED
data/openapi/api.yaml
CHANGED
@@ -3521,6 +3521,7 @@ paths:
|
|
3521
3521
|
parameters:
|
3522
3522
|
- "$ref": "#/components/parameters/account_id"
|
3523
3523
|
- "$ref": "#/components/parameters/ids"
|
3524
|
+
- "$ref": "#/components/parameters/invoice_state"
|
3524
3525
|
- "$ref": "#/components/parameters/limit"
|
3525
3526
|
- "$ref": "#/components/parameters/order"
|
3526
3527
|
- "$ref": "#/components/parameters/sort_dates"
|
@@ -8110,6 +8111,7 @@ paths:
|
|
8110
8111
|
to learn how to use pagination in the API and Client Libraries.
|
8111
8112
|
parameters:
|
8112
8113
|
- "$ref": "#/components/parameters/ids"
|
8114
|
+
- "$ref": "#/components/parameters/invoice_state"
|
8113
8115
|
- "$ref": "#/components/parameters/limit"
|
8114
8116
|
- "$ref": "#/components/parameters/order"
|
8115
8117
|
- "$ref": "#/components/parameters/sort_dates"
|
@@ -8615,8 +8617,6 @@ paths:
|
|
8615
8617
|
summary: Apply available credit to a pending or past due charge invoice
|
8616
8618
|
description: Apply credit payment to the outstanding balance on an existing
|
8617
8619
|
charge invoice from an account’s available balance from existing credit invoices.
|
8618
|
-
Credit that was refunded from the invoice cannot be applied back to the invoice
|
8619
|
-
as payment.
|
8620
8620
|
parameters:
|
8621
8621
|
- "$ref": "#/components/parameters/site_id"
|
8622
8622
|
- "$ref": "#/components/parameters/invoice_id"
|
@@ -13909,6 +13909,7 @@ paths:
|
|
13909
13909
|
parameters:
|
13910
13910
|
- "$ref": "#/components/parameters/subscription_id"
|
13911
13911
|
- "$ref": "#/components/parameters/ids"
|
13912
|
+
- "$ref": "#/components/parameters/invoice_state"
|
13912
13913
|
- "$ref": "#/components/parameters/limit"
|
13913
13914
|
- "$ref": "#/components/parameters/order"
|
13914
13915
|
- "$ref": "#/components/parameters/sort_dates"
|
@@ -16282,6 +16283,7 @@ paths:
|
|
16282
16283
|
parameters:
|
16283
16284
|
- "$ref": "#/components/parameters/business_entity_id"
|
16284
16285
|
- "$ref": "#/components/parameters/ids"
|
16286
|
+
- "$ref": "#/components/parameters/invoice_state"
|
16285
16287
|
- "$ref": "#/components/parameters/limit"
|
16286
16288
|
- "$ref": "#/components/parameters/order"
|
16287
16289
|
- "$ref": "#/components/parameters/sort_dates"
|
@@ -16455,6 +16457,12 @@ components:
|
|
16455
16457
|
required: true
|
16456
16458
|
schema:
|
16457
16459
|
type: string
|
16460
|
+
invoice_state:
|
16461
|
+
name: state
|
16462
|
+
in: query
|
16463
|
+
description: Invoice state.
|
16464
|
+
schema:
|
16465
|
+
"$ref": "#/components/schemas/InvoiceStateQueryParamEnum"
|
16458
16466
|
measured_unit_id:
|
16459
16467
|
name: measured_unit_id
|
16460
16468
|
in: path
|
@@ -18379,6 +18387,10 @@ components:
|
|
18379
18387
|
deprecated: true
|
18380
18388
|
card_type:
|
18381
18389
|
"$ref": "#/components/schemas/CardTypeEnum"
|
18390
|
+
card_network_preference:
|
18391
|
+
description: Represents the card network preference associated with the
|
18392
|
+
billing info for dual badged cards. Must be a supported card network.
|
18393
|
+
"$ref": "#/components/schemas/CardNetworkEnum"
|
18382
18394
|
BillingInfoVerify:
|
18383
18395
|
type: object
|
18384
18396
|
properties:
|
@@ -21069,7 +21081,6 @@ components:
|
|
21069
21081
|
title: Ending quantity
|
21070
21082
|
minimum: 1
|
21071
21083
|
maximum: 999999999
|
21072
|
-
default:
|
21073
21084
|
description: Ending quantity for the tier. This represents a unit amount
|
21074
21085
|
for unit-priced add ons. Must be left empty if it is the final tier.
|
21075
21086
|
usage_percentage:
|
@@ -21106,7 +21117,6 @@ components:
|
|
21106
21117
|
title: Ending amount
|
21107
21118
|
minimum: 0.01
|
21108
21119
|
maximum: 9999999999999.99
|
21109
|
-
default:
|
21110
21120
|
description: Ending amount for the tier. Allows up to 2 decimal places.
|
21111
21121
|
Must be left empty if it is the final tier.
|
21112
21122
|
usage_percentage:
|
@@ -22070,7 +22080,6 @@ components:
|
|
22070
22080
|
title: Ending quantity
|
22071
22081
|
minimum: 1
|
22072
22082
|
maximum: 999999999
|
22073
|
-
default:
|
22074
22083
|
description: Ending quantity for the tier. This represents a unit amount
|
22075
22084
|
for unit-priced add ons. Must be left empty if it is the final tier.
|
22076
22085
|
unit_amount:
|
@@ -22103,7 +22112,6 @@ components:
|
|
22103
22112
|
title: Ending amount
|
22104
22113
|
minimum: 1
|
22105
22114
|
maximum: 9999999999999.99
|
22106
|
-
default:
|
22107
22115
|
description: Ending amount for the tier. Allows up to 2 decimal places.
|
22108
22116
|
Must be left empty if it is the final tier.
|
22109
22117
|
usage_percentage:
|
@@ -24167,6 +24175,12 @@ components:
|
|
24167
24175
|
title: Trial ends at
|
24168
24176
|
description: When the external subscription trial period ends in the external
|
24169
24177
|
platform.
|
24178
|
+
test:
|
24179
|
+
type: boolean
|
24180
|
+
title: Test
|
24181
|
+
description: An indication of whether or not the external subscription was
|
24182
|
+
purchased in a sandbox environment.
|
24183
|
+
default: false
|
24170
24184
|
created_at:
|
24171
24185
|
type: string
|
24172
24186
|
format: date-time
|
@@ -24421,6 +24435,10 @@ components:
|
|
24421
24435
|
Reference value used when the external token was created. For Braintree
|
24422
24436
|
the PayPal PayerID is populated in the response.
|
24423
24437
|
maxLength: 264
|
24438
|
+
card_network_preference:
|
24439
|
+
description: Represents the card network preference associated with the
|
24440
|
+
billing info for dual badged cards. Must be a supported card network.
|
24441
|
+
"$ref": "#/components/schemas/CardNetworkEnum"
|
24424
24442
|
billing_agreement_id:
|
24425
24443
|
type: string
|
24426
24444
|
description: Billing Agreement identifier. Only present for Amazon or Paypal
|
@@ -25193,6 +25211,7 @@ components:
|
|
25193
25211
|
- write_off
|
25194
25212
|
InvoiceStateEnum:
|
25195
25213
|
type: string
|
25214
|
+
default: all
|
25196
25215
|
enum:
|
25197
25216
|
- open
|
25198
25217
|
- pending
|
@@ -25202,6 +25221,14 @@ components:
|
|
25202
25221
|
- closed
|
25203
25222
|
- failed
|
25204
25223
|
- voided
|
25224
|
+
InvoiceStateQueryParamEnum:
|
25225
|
+
type: string
|
25226
|
+
default: all
|
25227
|
+
enum:
|
25228
|
+
- pending
|
25229
|
+
- past_due
|
25230
|
+
- paid
|
25231
|
+
- failed
|
25205
25232
|
CollectionMethodEnum:
|
25206
25233
|
type: string
|
25207
25234
|
enum:
|
@@ -25454,6 +25481,14 @@ components:
|
|
25454
25481
|
- Unknown
|
25455
25482
|
- Visa
|
25456
25483
|
- Tarjeta Naranja
|
25484
|
+
CardNetworkEnum:
|
25485
|
+
type: string
|
25486
|
+
enum:
|
25487
|
+
- Bancontact
|
25488
|
+
- CartesBancaires
|
25489
|
+
- Dankort
|
25490
|
+
- MasterCard
|
25491
|
+
- Visa
|
25457
25492
|
AccountTypeEnum:
|
25458
25493
|
type: string
|
25459
25494
|
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.
|
4
|
+
version: 4.48.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recurly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -350,7 +350,7 @@ metadata:
|
|
350
350
|
changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
|
351
351
|
documentation_uri: https://recurly.github.io/recurly-client-ruby/
|
352
352
|
homepage_uri: https://github.com/recurly/recurly-client-ruby
|
353
|
-
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.
|
353
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.48.0
|
354
354
|
post_install_message:
|
355
355
|
rdoc_options: []
|
356
356
|
require_paths:
|