recurly 4.29.0 → 4.30.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/CHANGELOG.md +11 -0
- data/GETTING_STARTED.md +1 -1
- data/lib/recurly/resources/custom_field_definition.rb +1 -1
- data/lib/recurly/resources/external_subscription.rb +8 -4
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +13 -23
- metadata +3 -4
- data/lib/recurly/resources/external_resource_mini.rb +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 390709441aca5c09d9488d70631d5ff3a14d9df4e6d56d8604f615f421331e85
|
4
|
+
data.tar.gz: c9a9c5d0b0c8b697f0a2261c431f7018e87eed5246c06ade654f7987a8bfde81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9d31be321f4acaf50a1fcabddd241b37228a11685e547ebbd9549474a2488ccb6e83e552e78cfad1b2fd9a543c697b0bd9d73507f7ec536a65ed2022ab1c758
|
7
|
+
data.tar.gz: e767216dc486c50859f051d5788fd1b28a86950d1f178bad2ee4c9baf18ff4d20d7cf58be6bd25f2f7433257997c352c09587951109d0de4a615203d4f27638a
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [4.30.0](https://github.com/recurly/recurly-client-ruby/tree/4.30.0) (2023-02-22)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.29.0...4.30.0)
|
6
|
+
|
7
|
+
|
8
|
+
**Merged Pull Requests**
|
9
|
+
|
10
|
+
- Generated Latest Changes for v2021-02-25 [#829](https://github.com/recurly/recurly-client-ruby/pull/829) ([recurly-integrations](https://github.com/recurly-integrations))
|
11
|
+
|
12
|
+
|
13
|
+
|
3
14
|
## [4.29.0](https://github.com/recurly/recurly-client-ruby/tree/4.29.0) (2023-02-07)
|
4
15
|
|
5
16
|
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.28.0...4.29.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.30'
|
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.
|
@@ -43,7 +43,7 @@ module Recurly
|
|
43
43
|
define_attribute :updated_at, DateTime
|
44
44
|
|
45
45
|
# @!attribute user_access
|
46
|
-
# @return [String] The access control applied inside Recurly's admin UI: - `api_only` - No one will be able to view or edit this field's data via the admin UI. - `read_only` - Users with the Customers role will be able to view this field's data via the admin UI, but editing will only be available via the API. - `write` - Users with the Customers role will be able to view and edit this field's data via the admin UI.
|
46
|
+
# @return [String] The access control applied inside Recurly's admin UI: - `api_only` - No one will be able to view or edit this field's data via the admin UI. - `read_only` - Users with the Customers role will be able to view this field's data via the admin UI, but editing will only be available via the API. - `write` - Users with the Customers role will be able to view and edit this field's data via the admin UI. - `set_only` - Users with the Customers role will be able to set this field's data via the admin console.
|
47
47
|
define_attribute :user_access, String
|
48
48
|
end
|
49
49
|
end
|
@@ -30,14 +30,14 @@ module Recurly
|
|
30
30
|
# @return [DateTime] When the external subscription expires in the external platform.
|
31
31
|
define_attribute :expires_at, DateTime
|
32
32
|
|
33
|
+
# @!attribute external_id
|
34
|
+
# @return [String] The id of the subscription in the external systems., I.e. Apple App Store or Google Play Store.
|
35
|
+
define_attribute :external_id, String
|
36
|
+
|
33
37
|
# @!attribute external_product_reference
|
34
38
|
# @return [ExternalProductReferenceMini] External Product Reference details
|
35
39
|
define_attribute :external_product_reference, :ExternalProductReferenceMini
|
36
40
|
|
37
|
-
# @!attribute external_resource
|
38
|
-
# @return [ExternalResourceMini] External Resource mini details
|
39
|
-
define_attribute :external_resource, :ExternalResourceMini
|
40
|
-
|
41
41
|
# @!attribute id
|
42
42
|
# @return [String] System-generated unique identifier for an external subscription ID, e.g. `e28zov4fw0v2`.
|
43
43
|
define_attribute :id, String
|
@@ -54,6 +54,10 @@ module Recurly
|
|
54
54
|
# @return [Integer] An indication of the quantity of a subscribed item's quantity.
|
55
55
|
define_attribute :quantity, Integer
|
56
56
|
|
57
|
+
# @!attribute state
|
58
|
+
# @return [String] External subscriptions can be active, canceled, expired, or future.
|
59
|
+
define_attribute :state, String
|
60
|
+
|
57
61
|
# @!attribute updated_at
|
58
62
|
# @return [DateTime] When the external subscription was updated in Recurly.
|
59
63
|
define_attribute :updated_at, DateTime
|
data/lib/recurly/version.rb
CHANGED
data/openapi/api.yaml
CHANGED
@@ -228,8 +228,8 @@ tags:
|
|
228
228
|
x-displayName: Site
|
229
229
|
- name: custom_field_definition
|
230
230
|
x-displayName: Custom Field Definition
|
231
|
-
description: Describes the fields that can
|
232
|
-
or subscriptions.
|
231
|
+
description: Describes the fields that can be used as custom fields on accounts,
|
232
|
+
items, line-items (one time charges), plans, or subscriptions.
|
233
233
|
- name: item
|
234
234
|
x-displayName: Item
|
235
235
|
description: |-
|
@@ -18211,6 +18211,7 @@ components:
|
|
18211
18211
|
- `read_only` - Users with the Customers role will be able to view this field's data via the admin UI, but
|
18212
18212
|
editing will only be available via the API.
|
18213
18213
|
- `write` - Users with the Customers role will be able to view and edit this field's data via the admin UI.
|
18214
|
+
- `set_only` - Users with the Customers role will be able to set this field's data via the admin console.
|
18214
18215
|
"$ref": "#/components/schemas/UserAccessEnum"
|
18215
18216
|
display_name:
|
18216
18217
|
type: string
|
@@ -22846,10 +22847,13 @@ components:
|
|
22846
22847
|
title: Object type
|
22847
22848
|
account:
|
22848
22849
|
"$ref": "#/components/schemas/AccountMini"
|
22849
|
-
external_resource:
|
22850
|
-
"$ref": "#/components/schemas/ExternalResourceMini"
|
22851
22850
|
external_product_reference:
|
22852
22851
|
"$ref": "#/components/schemas/ExternalProductReferenceMini"
|
22852
|
+
external_id:
|
22853
|
+
type: string
|
22854
|
+
title: External Id
|
22855
|
+
description: The id of the subscription in the external systems., I.e. Apple
|
22856
|
+
App Store or Google Play Store.
|
22853
22857
|
last_purchased:
|
22854
22858
|
type: string
|
22855
22859
|
format: date-time
|
@@ -22872,6 +22876,10 @@ components:
|
|
22872
22876
|
description: An indication of the quantity of a subscribed item's quantity.
|
22873
22877
|
default: 1
|
22874
22878
|
minimum: 0
|
22879
|
+
state:
|
22880
|
+
type: string
|
22881
|
+
description: External subscriptions can be active, canceled, expired, or
|
22882
|
+
future.
|
22875
22883
|
activated_at:
|
22876
22884
|
type: string
|
22877
22885
|
format: date-time
|
@@ -22910,25 +22918,6 @@ components:
|
|
22910
22918
|
type: array
|
22911
22919
|
items:
|
22912
22920
|
"$ref": "#/components/schemas/ExternalSubscription"
|
22913
|
-
ExternalResourceMini:
|
22914
|
-
type: object
|
22915
|
-
title: External Resource mini details
|
22916
|
-
properties:
|
22917
|
-
id:
|
22918
|
-
type: string
|
22919
|
-
title: External resource ID
|
22920
|
-
description: System-generated unique identifier for an external resource
|
22921
|
-
ID, e.g. `e28zov4fw0v2`.
|
22922
|
-
object:
|
22923
|
-
type: string
|
22924
|
-
title: Object type
|
22925
|
-
external_object_reference:
|
22926
|
-
type: string
|
22927
|
-
title: External Object Reference
|
22928
|
-
description: Identifier or URL reference where the resource is canonically
|
22929
|
-
available in the external platform.
|
22930
|
-
maxLength: 255
|
22931
|
-
readOnly: true
|
22932
22921
|
CustomerPermission:
|
22933
22922
|
type: object
|
22934
22923
|
properties:
|
@@ -23673,6 +23662,7 @@ components:
|
|
23673
23662
|
- api_only
|
23674
23663
|
- read_only
|
23675
23664
|
- write
|
23665
|
+
- set_only
|
23676
23666
|
PricingModelTypeEnum:
|
23677
23667
|
type: string
|
23678
23668
|
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.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recurly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -258,7 +258,6 @@ files:
|
|
258
258
|
- lib/recurly/resources/export_files.rb
|
259
259
|
- lib/recurly/resources/external_product.rb
|
260
260
|
- lib/recurly/resources/external_product_reference_mini.rb
|
261
|
-
- lib/recurly/resources/external_resource_mini.rb
|
262
261
|
- lib/recurly/resources/external_subscription.rb
|
263
262
|
- lib/recurly/resources/fraud_info.rb
|
264
263
|
- lib/recurly/resources/gift_card.rb
|
@@ -332,7 +331,7 @@ metadata:
|
|
332
331
|
changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
|
333
332
|
documentation_uri: https://recurly.github.io/recurly-client-ruby/
|
334
333
|
homepage_uri: https://github.com/recurly/recurly-client-ruby
|
335
|
-
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.
|
334
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.30.0
|
336
335
|
post_install_message:
|
337
336
|
rdoc_options: []
|
338
337
|
require_paths:
|
@@ -1,22 +0,0 @@
|
|
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 ExternalResourceMini < Resource
|
8
|
-
|
9
|
-
# @!attribute external_object_reference
|
10
|
-
# @return [String] Identifier or URL reference where the resource is canonically available in the external platform.
|
11
|
-
define_attribute :external_object_reference, String
|
12
|
-
|
13
|
-
# @!attribute id
|
14
|
-
# @return [String] System-generated unique identifier for an external resource ID, e.g. `e28zov4fw0v2`.
|
15
|
-
define_attribute :id, String
|
16
|
-
|
17
|
-
# @!attribute object
|
18
|
-
# @return [String] Object type
|
19
|
-
define_attribute :object, String
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|