recurly 4.45.0 → 4.47.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/resources/transaction_error.rb +4 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +22 -5
- 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: 03f577facd7a6621f0447b3ed39bcc6975baee55c830b5bf59f84c7ffcfdfa69
|
4
|
+
data.tar.gz: b0ae7632c65a12da4eeddecf6d7dbb8509cf930206f847369298db1281836e16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '039b5251261b1916402292369e5b86ca39aa3223e39c41593646c0e41f357dc11bc8c748b65554fbedaba3d82dcb9b390fa6b3fca7dc12c69cffbacc85af26c0'
|
7
|
+
data.tar.gz: c18e223967b369e1d06a1bd223fb3c55a8892ae8afb4e63de7f3bb351d26ee40a7df712f8ddfe4285e9d1a6554327056881eff6e4fe2773135c3e8973c988a6b
|
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.47.0](https://github.com/recurly/recurly-client-ruby/tree/4.47.0) (2024-02-20)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.46.0...4.47.0)
|
6
|
+
|
7
|
+
|
8
|
+
**Merged Pull Requests**
|
9
|
+
|
10
|
+
- 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))
|
11
|
+
- Remove internal wiki link. [#882](https://github.com/recurly/recurly-client-ruby/pull/882) ([recurly-bearley](https://github.com/recurly-bearley))
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
## [4.46.0](https://github.com/recurly/recurly-client-ruby/tree/4.46.0) (2024-01-24)
|
16
|
+
|
17
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.45.0...4.46.0)
|
18
|
+
|
19
|
+
|
20
|
+
**Merged Pull Requests**
|
21
|
+
|
22
|
+
- Generated Latest Changes for v2021-02-25 [#877](https://github.com/recurly/recurly-client-ruby/pull/877) ([recurly-integrations](https://github.com/recurly-integrations))
|
23
|
+
|
24
|
+
|
25
|
+
|
3
26
|
## [4.45.0](https://github.com/recurly/recurly-client-ruby/tree/4.45.0) (2024-01-18)
|
4
27
|
|
5
28
|
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.44.0...4.45.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.47'
|
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
|
@@ -18,6 +18,10 @@ module Recurly
|
|
18
18
|
# @return [String] Decline code
|
19
19
|
define_attribute :decline_code, String
|
20
20
|
|
21
|
+
# @!attribute fraud_info
|
22
|
+
# @return [TransactionFraudInfo] Fraud information
|
23
|
+
define_attribute :fraud_info, :TransactionFraudInfo
|
24
|
+
|
21
25
|
# @!attribute merchant_advice
|
22
26
|
# @return [String] Merchant message
|
23
27
|
define_attribute :merchant_advice, String
|
data/lib/recurly/version.rb
CHANGED
data/openapi/api.yaml
CHANGED
@@ -956,7 +956,7 @@ paths:
|
|
956
956
|
Alabama St.\"),\n\t\t\tCity: recurly.String(\"San Francisco\"),\n\t\t\tPostalCode:
|
957
957
|
recurly.String(\"94110\"),\n\t\t\tCountry: recurly.String(\"US\"),\n\t\t\tRegion:
|
958
958
|
\ recurly.String(\"CA\"),\n\t\t},\n\t\tNumber: recurly.String(\"4111111111111111\"),\n\t\tMonth:
|
959
|
-
\ recurly.String(\"12\"),\n\t\tYear: recurly.String(\"
|
959
|
+
\ recurly.String(\"12\"),\n\t\tYear: recurly.String(\"30\"),\n\t\tCvv:
|
960
960
|
\ recurly.String(\"123\"),\n\t},\n}\n\naccount, err := client.CreateAccount(accountReq)\nif
|
961
961
|
e, ok := err.(*recurly.Error); ok {\n\tif e.Type == recurly.ErrorTypeValidation
|
962
962
|
{\n\t\tfmt.Printf(\"Failed validation: %v\", e)\n\t\treturn nil, err\n\t}\n\tfmt.Printf(\"Unexpected
|
@@ -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"
|
@@ -13909,6 +13911,7 @@ paths:
|
|
13909
13911
|
parameters:
|
13910
13912
|
- "$ref": "#/components/parameters/subscription_id"
|
13911
13913
|
- "$ref": "#/components/parameters/ids"
|
13914
|
+
- "$ref": "#/components/parameters/invoice_state"
|
13912
13915
|
- "$ref": "#/components/parameters/limit"
|
13913
13916
|
- "$ref": "#/components/parameters/order"
|
13914
13917
|
- "$ref": "#/components/parameters/sort_dates"
|
@@ -16282,6 +16285,7 @@ paths:
|
|
16282
16285
|
parameters:
|
16283
16286
|
- "$ref": "#/components/parameters/business_entity_id"
|
16284
16287
|
- "$ref": "#/components/parameters/ids"
|
16288
|
+
- "$ref": "#/components/parameters/invoice_state"
|
16285
16289
|
- "$ref": "#/components/parameters/limit"
|
16286
16290
|
- "$ref": "#/components/parameters/order"
|
16287
16291
|
- "$ref": "#/components/parameters/sort_dates"
|
@@ -16455,6 +16459,12 @@ components:
|
|
16455
16459
|
required: true
|
16456
16460
|
schema:
|
16457
16461
|
type: string
|
16462
|
+
invoice_state:
|
16463
|
+
name: state
|
16464
|
+
in: query
|
16465
|
+
description: Invoice state.
|
16466
|
+
schema:
|
16467
|
+
"$ref": "#/components/schemas/InvoiceStateQueryParamEnum"
|
16458
16468
|
measured_unit_id:
|
16459
16469
|
name: measured_unit_id
|
16460
16470
|
in: path
|
@@ -21069,7 +21079,6 @@ components:
|
|
21069
21079
|
title: Ending quantity
|
21070
21080
|
minimum: 1
|
21071
21081
|
maximum: 999999999
|
21072
|
-
default:
|
21073
21082
|
description: Ending quantity for the tier. This represents a unit amount
|
21074
21083
|
for unit-priced add ons. Must be left empty if it is the final tier.
|
21075
21084
|
usage_percentage:
|
@@ -21106,7 +21115,6 @@ components:
|
|
21106
21115
|
title: Ending amount
|
21107
21116
|
minimum: 0.01
|
21108
21117
|
maximum: 9999999999999.99
|
21109
|
-
default:
|
21110
21118
|
description: Ending amount for the tier. Allows up to 2 decimal places.
|
21111
21119
|
Must be left empty if it is the final tier.
|
21112
21120
|
usage_percentage:
|
@@ -22070,7 +22078,6 @@ components:
|
|
22070
22078
|
title: Ending quantity
|
22071
22079
|
minimum: 1
|
22072
22080
|
maximum: 999999999
|
22073
|
-
default:
|
22074
22081
|
description: Ending quantity for the tier. This represents a unit amount
|
22075
22082
|
for unit-priced add ons. Must be left empty if it is the final tier.
|
22076
22083
|
unit_amount:
|
@@ -22103,7 +22110,6 @@ components:
|
|
22103
22110
|
title: Ending amount
|
22104
22111
|
minimum: 1
|
22105
22112
|
maximum: 9999999999999.99
|
22106
|
-
default:
|
22107
22113
|
description: Ending amount for the tier. Allows up to 2 decimal places.
|
22108
22114
|
Must be left empty if it is the final tier.
|
22109
22115
|
usage_percentage:
|
@@ -24833,6 +24839,8 @@ components:
|
|
24833
24839
|
a transaction. Pass this value to Recurly.js so it can continue
|
24834
24840
|
the challenge flow.
|
24835
24841
|
maxLength: 22
|
24842
|
+
fraud_info:
|
24843
|
+
"$ref": "#/components/schemas/TransactionFraudInfo"
|
24836
24844
|
RelatedTypeEnum:
|
24837
24845
|
type: string
|
24838
24846
|
enum:
|
@@ -25191,6 +25199,7 @@ components:
|
|
25191
25199
|
- write_off
|
25192
25200
|
InvoiceStateEnum:
|
25193
25201
|
type: string
|
25202
|
+
default: all
|
25194
25203
|
enum:
|
25195
25204
|
- open
|
25196
25205
|
- pending
|
@@ -25200,6 +25209,14 @@ components:
|
|
25200
25209
|
- closed
|
25201
25210
|
- failed
|
25202
25211
|
- voided
|
25212
|
+
InvoiceStateQueryParamEnum:
|
25213
|
+
type: string
|
25214
|
+
default: all
|
25215
|
+
enum:
|
25216
|
+
- pending
|
25217
|
+
- past_due
|
25218
|
+
- paid
|
25219
|
+
- failed
|
25203
25220
|
CollectionMethodEnum:
|
25204
25221
|
type: string
|
25205
25222
|
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.47.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-02-20 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.47.0
|
354
354
|
post_install_message:
|
355
355
|
rdoc_options: []
|
356
356
|
require_paths:
|