recurly 4.54.0 → 4.56.0
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.
- checksums.yaml +4 -4
- data/.bumpversion.cfg +1 -1
- data/CHANGELOG.md +22 -0
- data/GETTING_STARTED.md +1 -1
- data/lib/recurly/client/operations.rb +1 -1
- data/lib/recurly/requests/subscription_create.rb +4 -0
- data/lib/recurly/requests/subscription_purchase.rb +4 -0
- data/lib/recurly/resources/external_subscription.rb +4 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +24 -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: 885e9961b071423aee754fd426c09c14a4851482a7b3bf831fc2932fefedc27b
|
4
|
+
data.tar.gz: 81847095f9f134a62a3b8fb416b60ecbdfc4cfbc0ceb12e8f2610445409ed6b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc3e5d23a58ad5cc97319b61cb684ea29f42017f8ba2c687ae8477ffdc7c80516cde907d532c4bf2f3deed8f644dce17119a45fa62e32bb8f2beabf34b3e4352
|
7
|
+
data.tar.gz: bfbab980d669b9ac37718eaa8028b8da1fac07f1ec31625ee80c84dbfc49c9ad6ac4d3b262ef06bd5dedc6dcf066e4dd19f173a1db5e8a75038f5d7b8f67c887
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [4.56.0](https://github.com/recurly/recurly-client-ruby/tree/4.56.0) (2024-10-30)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.55.0...4.56.0)
|
6
|
+
|
7
|
+
|
8
|
+
**Merged Pull Requests**
|
9
|
+
|
10
|
+
- Adds bulk parameter to SubscriptionCreate and SubscriptionPurchase [#915](https://github.com/recurly/recurly-client-ruby/pull/915) ([recurly-integrations](https://github.com/recurly-integrations))
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## [4.55.0](https://github.com/recurly/recurly-client-ruby/tree/4.55.0) (2024-08-28)
|
15
|
+
|
16
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.54.0...4.55.0)
|
17
|
+
|
18
|
+
|
19
|
+
**Merged Pull Requests**
|
20
|
+
|
21
|
+
- Generated Latest Changes for v2021-02-25 (add UUID to external subscriptions) [#914](https://github.com/recurly/recurly-client-ruby/pull/914) ([recurly-integrations](https://github.com/recurly-integrations))
|
22
|
+
|
23
|
+
|
24
|
+
|
3
25
|
## [4.54.0](https://github.com/recurly/recurly-client-ruby/tree/4.54.0) (2024-08-21)
|
4
26
|
|
5
27
|
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.53.0...4.54.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.56'
|
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.
|
@@ -2403,7 +2403,7 @@ module Recurly
|
|
2403
2403
|
#
|
2404
2404
|
# {https://developers.recurly.com/api/v2021-02-25#operation/get_external_subscription get_external_subscription api documentation}
|
2405
2405
|
#
|
2406
|
-
# @param external_subscription_id [String] External subscription ID or
|
2406
|
+
# @param external_subscription_id [String] External subscription ID, external_id or uuid. For ID no prefix is used e.g. +e28zov4fw0v2+. For external_id use prefix +external-id-+, e.g. +external-id-123456+ and for uuid use prefix +uuid-+ e.g. +uuid-7293239bae62777d8c1ae044a9843633+.
|
2407
2407
|
# @param params [Hash] Optional query string parameters:
|
2408
2408
|
#
|
2409
2409
|
# @return [Resources::ExternalSubscription] Settings for an external subscription.
|
@@ -22,6 +22,10 @@ module Recurly
|
|
22
22
|
# @return [String] The `billing_info_id` is the value that represents a specific billing info for an end customer. When `billing_info_id` is used to assign billing info to the subscription, all future billing events for the subscription will bill to the specified billing info. `billing_info_id` can ONLY be used for sites utilizing the Wallet feature.
|
23
23
|
define_attribute :billing_info_id, String
|
24
24
|
|
25
|
+
# @!attribute bulk
|
26
|
+
# @return [Boolean] Optional field to be used only when needing to bypass the 60 second limit on creating subscriptions. Should only be used when creating subscriptions in bulk from the API.
|
27
|
+
define_attribute :bulk, :Boolean
|
28
|
+
|
25
29
|
# @!attribute collection_method
|
26
30
|
# @return [String] Collection method
|
27
31
|
define_attribute :collection_method, String
|
@@ -14,6 +14,10 @@ module Recurly
|
|
14
14
|
# @return [Boolean] Whether the subscription renews at the end of its term.
|
15
15
|
define_attribute :auto_renew, :Boolean
|
16
16
|
|
17
|
+
# @!attribute bulk
|
18
|
+
# @return [Boolean] Optional field to be used only when needing to bypass the 60 second limit on creating subscriptions. Should only be used when creating subscriptions in bulk from the API.
|
19
|
+
define_attribute :bulk, :Boolean
|
20
|
+
|
17
21
|
# @!attribute custom_fields
|
18
22
|
# @return [Array[CustomField]] The custom fields will only be altered when they are included in a request. Sending an empty array will not remove any existing values. To remove a field send the name with a null or empty value.
|
19
23
|
define_attribute :custom_fields, Array, { :item_type => :CustomField }
|
@@ -89,6 +89,10 @@ module Recurly
|
|
89
89
|
# @!attribute updated_at
|
90
90
|
# @return [DateTime] When the external subscription was updated in Recurly.
|
91
91
|
define_attribute :updated_at, DateTime
|
92
|
+
|
93
|
+
# @!attribute uuid
|
94
|
+
# @return [String] Universally Unique Identifier created automatically.
|
95
|
+
define_attribute :uuid, String
|
92
96
|
end
|
93
97
|
end
|
94
98
|
end
|
data/lib/recurly/version.rb
CHANGED
data/openapi/api.yaml
CHANGED
@@ -9915,10 +9915,11 @@ paths:
|
|
9915
9915
|
summary: Refund an invoice
|
9916
9916
|
description: |
|
9917
9917
|
There are two ways to do a refund:
|
9918
|
-
*
|
9919
|
-
|
9920
|
-
|
9921
|
-
|
9918
|
+
* Apply a specific dollar/cent amount or percentage amount to an entire invoice, which will refund the resulting amount across all line items on the invoice.
|
9919
|
+
* If you want to refund the entire refundable amount on the invoice, the simplest way is to do `type=amount` without specifiying an `amount`.
|
9920
|
+
* Note: You must have the Credit Memos feature flag enabled on your site to utilize percentage amount refunds on invoices.
|
9921
|
+
* Apply a refund to one or more individual line items on an invoice. A line item can be refunded by a quantity amount, a specific dollar/cent amount, or a percentage amount and will only apply to the specific line item you are aiming to refund.
|
9922
|
+
* Note: You must have the Credit Memos feature flag enabled on your site to utilize specific dollar/cent amount and percentage amount refunds on line items.
|
9922
9923
|
parameters:
|
9923
9924
|
- "$ref": "#/components/parameters/invoice_id"
|
9924
9925
|
requestBody:
|
@@ -16743,8 +16744,9 @@ components:
|
|
16743
16744
|
external_subscription_id_fetch:
|
16744
16745
|
name: external_subscription_id
|
16745
16746
|
in: path
|
16746
|
-
description: External subscription ID or
|
16747
|
-
e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g.
|
16747
|
+
description: External subscription ID, external_id or uuid. For ID no prefix
|
16748
|
+
is used e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g.
|
16749
|
+
`external-id-123456` and for uuid use prefix `uuid-` e.g. `uuid-7293239bae62777d8c1ae044a9843633`.
|
16748
16750
|
required: true
|
16749
16751
|
schema:
|
16750
16752
|
type: string
|
@@ -23561,6 +23563,12 @@ components:
|
|
23561
23563
|
title: Gift card Redemption Code
|
23562
23564
|
description: A gift card redemption code to be redeemed on the purchase
|
23563
23565
|
invoice.
|
23566
|
+
bulk:
|
23567
|
+
type: boolean
|
23568
|
+
description: Optional field to be used only when needing to bypass the 60
|
23569
|
+
second limit on creating subscriptions. Should only be used when creating
|
23570
|
+
subscriptions in bulk from the API.
|
23571
|
+
default: false
|
23564
23572
|
required:
|
23565
23573
|
- plan_code
|
23566
23574
|
- currency
|
@@ -23663,6 +23671,12 @@ components:
|
|
23663
23671
|
description: The new set of ramp intervals for the subscription.
|
23664
23672
|
items:
|
23665
23673
|
"$ref": "#/components/schemas/SubscriptionRampInterval"
|
23674
|
+
bulk:
|
23675
|
+
type: boolean
|
23676
|
+
description: Optional field to be used only when needing to bypass the 60
|
23677
|
+
second limit on creating subscriptions. Should only be used when creating
|
23678
|
+
subscriptions in bulk from the API.
|
23679
|
+
default: false
|
23666
23680
|
required:
|
23667
23681
|
- plan_code
|
23668
23682
|
SubscriptionUpdate:
|
@@ -25100,6 +25114,10 @@ components:
|
|
25100
25114
|
title: External Id
|
25101
25115
|
description: The id of the subscription in the external systems., I.e. Apple
|
25102
25116
|
App Store or Google Play Store.
|
25117
|
+
uuid:
|
25118
|
+
type: string
|
25119
|
+
title: Uuid
|
25120
|
+
description: Universally Unique Identifier created automatically.
|
25103
25121
|
last_purchased:
|
25104
25122
|
type: string
|
25105
25123
|
format: date-time
|
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.56.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-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -355,7 +355,7 @@ metadata:
|
|
355
355
|
changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
|
356
356
|
documentation_uri: https://recurly.github.io/recurly-client-ruby/
|
357
357
|
homepage_uri: https://github.com/recurly/recurly-client-ruby
|
358
|
-
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.
|
358
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.56.0
|
359
359
|
post_install_message:
|
360
360
|
rdoc_options: []
|
361
361
|
require_paths:
|