recurly 4.75.0 → 4.76.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 620411c58288a2895fc1edffdf688f3f0b6ecfd4aabc648c867b45f76d9cb7ba
4
- data.tar.gz: a68e9d658aeda3673feaea79a5d3dfdd03b0c38092bb4d424fd1bab1b8a571a8
3
+ metadata.gz: 291cd81b722143bec2a0b2b57499e482c895d81036cda7bda1d7b6d3a808f373
4
+ data.tar.gz: d1e78b56aa492134c873a2cda000596bf54f8b3da6ff44168d676e2ca3a129dd
5
5
  SHA512:
6
- metadata.gz: 6d21ea0b716136ad05ecd1400f5744a5de7dc866b64fca446b3b3725973a5e8dadfe0d0a2f801e0f7928486823351ea6222cf4356c693c778ec38a3df4fa5f7d
7
- data.tar.gz: ef3216cb66e8af64e95d37bd6611cb27a6f45173308fb8e9fe1796947ff465180e32b805bc86ee212e9cb5432b9b070bd48157d1623fd95170e7a67d305a1305
6
+ metadata.gz: 1fbe21003f2a2f0dcf4d5fb94a0795fab7664df5755f6c6085823ca76ca96a5ea4541700f970002cbefbbdcb380cedaa9b4b29409088d34df807dc501fe50434
7
+ data.tar.gz: a57e93f4e9eed80b4fa7428b8287f89b314b7c86f7949f3bd8ec0f96ac86ac018f6033b6d7a38c6ab5efe03fa189c36afad1cac78e47891a031027a90fe15e82
data/.bumpversion.cfg CHANGED
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 4.75.0
2
+ current_version = 4.76.0
3
3
  parse = (?P<major>\d+)
4
4
  \.(?P<minor>\d+)
5
5
  \.(?P<patch>\d+)
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.76.0](https://github.com/recurly/recurly-client-ruby/tree/4.76.0) (2026-05-20)
4
+
5
+ [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.75.0...4.76.0)
6
+
7
+
8
+ **Merged Pull Requests**
9
+
10
+ - Generated Latest Changes for v2021-02-25 [#956](https://github.com/recurly/recurly-client-ruby/pull/956) ([recurly-integrations](https://github.com/recurly-integrations))
11
+
12
+
13
+
3
14
  ## [4.75.0](https://github.com/recurly/recurly-client-ruby/tree/4.75.0) (2026-04-15)
4
15
 
5
16
  [Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/4.74.0...4.75.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.75'
8
+ gem 'recurly', '~> 4.76'
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.
@@ -2734,7 +2734,6 @@ module Recurly
2734
2734
  #
2735
2735
  # @param invoice_id [String] Invoice ID or number. For ID no prefix is used e.g. +e28zov4fw0v2+. For number use prefix +number-+, e.g. +number-1000+. For number with prefix or country code, use +number-+ and +prefix+, e.g. +number-TEST-FR1001+
2736
2736
  # @param params [Hash] Optional query string parameters:
2737
- # :site_id [String] Site ID or subdomain. For ID no prefix is used e.g. +e28zov4fw0v2+. For subdomain use prefix +subdomain-+, e.g. +subdomain-recurly+.
2738
2737
  #
2739
2738
  # @return [Resources::Invoice] The updated invoice.
2740
2739
  # @example
@@ -15,7 +15,7 @@ module Recurly
15
15
  define_attribute :country, String
16
16
 
17
17
  # @!attribute geo_code
18
- # @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
18
+ # @return [String] Code that represents a geographic entity (location or object). Only returned when Vertex or Avalara for Communications is enabled.
19
19
  define_attribute :geo_code, String
20
20
 
21
21
  # @!attribute phone
@@ -87,11 +87,11 @@ module Recurly
87
87
  define_attribute :redemption_resource, String
88
88
 
89
89
  # @!attribute temporal_amount
90
- # @return [Integer] If `duration` is "temporal" than `temporal_amount` is an integer which is multiplied by `temporal_unit` to define the duration that the coupon will be applied to invoices for.
90
+ # @return [Integer] If `duration` is "temporal" than `temporal_amount` is an integer which is multiplied by `temporal_unit` to define the duration that the coupon will be applied to invoices for. When `temporal_unit` is "billing_period", this is the number of complete billing cycles.
91
91
  define_attribute :temporal_amount, Integer
92
92
 
93
93
  # @!attribute temporal_unit
94
- # @return [String] If `duration` is "temporal" than `temporal_unit` is multiplied by `temporal_amount` to define the duration that the coupon will be applied to invoices for.
94
+ # @return [String] If `duration` is "temporal" than `temporal_unit` is multiplied by `temporal_amount` to define the duration that the coupon will be applied to invoices for. Use "billing_period" to apply the coupon for a fixed number of billing cycles. Requires `redemption_resource=subscription`.
95
95
  define_attribute :temporal_unit, String
96
96
 
97
97
  # @!attribute unique_code_template
@@ -10,6 +10,14 @@ module Recurly
10
10
  # @return [String] Fields must be created in the UI before values can be assigned to them.
11
11
  define_attribute :name, String
12
12
 
13
+ # @!attribute source_record_id
14
+ # @return [String] The UUID of the record this custom field was automatically copied from. Only present when the field was copied from another record.
15
+ define_attribute :source_record_id, String
16
+
17
+ # @!attribute source_record_type
18
+ # @return [String] The type of record this custom field was automatically copied from. Only present when the field was copied from another record.
19
+ define_attribute :source_record_type, String
20
+
13
21
  # @!attribute value
14
22
  # @return [String] Any values that resemble a credit card number or security code (CVV/CVC) will be rejected.
15
23
  define_attribute :value, String
@@ -23,7 +23,7 @@ module Recurly
23
23
  define_attribute :first_name, String
24
24
 
25
25
  # @!attribute geo_code
26
- # @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
26
+ # @return [String] Code that represents a geographic entity (location or object). Only returned when Vertex or Avalara for Communications is enabled.
27
27
  define_attribute :geo_code, String
28
28
 
29
29
  # @!attribute last_name
@@ -27,7 +27,7 @@ module Recurly
27
27
  define_attribute :first_name, String
28
28
 
29
29
  # @!attribute geo_code
30
- # @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
30
+ # @return [String] Code that represents a geographic entity (location or object). Only returned when Vertex or Avalara for Communications is enabled.
31
31
  define_attribute :geo_code, String
32
32
 
33
33
  # @!attribute last_name
@@ -27,7 +27,7 @@ module Recurly
27
27
  define_attribute :first_name, String
28
28
 
29
29
  # @!attribute geo_code
30
- # @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
30
+ # @return [String] Code that represents a geographic entity (location or object). Only returned when Vertex or Avalara for Communications is enabled.
31
31
  define_attribute :geo_code, String
32
32
 
33
33
  # @!attribute id
@@ -15,7 +15,7 @@ module Recurly
15
15
  define_attribute :country, String
16
16
 
17
17
  # @!attribute geo_code
18
- # @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
18
+ # @return [String] Code that represents a geographic entity (location or object). Only returned when Vertex or Avalara for Communications is enabled.
19
19
  define_attribute :geo_code, String
20
20
 
21
21
  # @!attribute phone
@@ -19,7 +19,7 @@ module Recurly
19
19
  define_attribute :first_name, String
20
20
 
21
21
  # @!attribute geo_code
22
- # @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
22
+ # @return [String] Code that represents a geographic entity (location or object). Only returned when Vertex or Avalara for Communications is enabled.
23
23
  define_attribute :geo_code, String
24
24
 
25
25
  # @!attribute last_name
@@ -99,11 +99,11 @@ module Recurly
99
99
  define_attribute :state, String
100
100
 
101
101
  # @!attribute temporal_amount
102
- # @return [Integer] If `duration` is "temporal" than `temporal_amount` is an integer which is multiplied by `temporal_unit` to define the duration that the coupon will be applied to invoices for.
102
+ # @return [Integer] If `duration` is "temporal" than `temporal_amount` is an integer which is multiplied by `temporal_unit` to define the duration that the coupon will be applied to invoices for. When `temporal_unit` is "billing_period", this is the number of complete billing cycles.
103
103
  define_attribute :temporal_amount, Integer
104
104
 
105
105
  # @!attribute temporal_unit
106
- # @return [String] If `duration` is "temporal" than `temporal_unit` is multiplied by `temporal_amount` to define the duration that the coupon will be applied to invoices for.
106
+ # @return [String] If `duration` is "temporal" than `temporal_unit` is multiplied by `temporal_amount` to define the duration that the coupon will be applied to invoices for. Use "billing_period" to apply the coupon for a fixed number of billing cycles. Requires `redemption_resource=subscription`.
107
107
  define_attribute :temporal_unit, String
108
108
 
109
109
  # @!attribute unique_code_template
@@ -10,6 +10,14 @@ module Recurly
10
10
  # @return [String] Fields must be created in the UI before values can be assigned to them.
11
11
  define_attribute :name, String
12
12
 
13
+ # @!attribute source_record_id
14
+ # @return [String] The UUID of the record this custom field was automatically copied from. Only present when the field was copied from another record.
15
+ define_attribute :source_record_id, String
16
+
17
+ # @!attribute source_record_type
18
+ # @return [String] The type of record this custom field was automatically copied from. Only present when the field was copied from another record.
19
+ define_attribute :source_record_type, String
20
+
13
21
  # @!attribute value
14
22
  # @return [String] Any values that resemble a credit card number or security code (CVV/CVC) will be rejected.
15
23
  define_attribute :value, String
@@ -46,6 +46,10 @@ module Recurly
46
46
  # @return [String] 3-letter ISO 4217 currency code.
47
47
  define_attribute :currency, String
48
48
 
49
+ # @!attribute custom_fields
50
+ # @return [Array[CustomField]] A list of custom fields that were on the account at the time of invoice creation and were marked to be displayed on invoices. Read-only; cannot be set directly on the invoice.
51
+ define_attribute :custom_fields, Array, { :item_type => :CustomField }
52
+
49
53
  # @!attribute customer_notes
50
54
  # @return [String] This will default to the Customer Notes text specified on the Invoice Settings. Specify custom notes to add or override Customer Notes.
51
55
  define_attribute :customer_notes, String
@@ -23,7 +23,7 @@ module Recurly
23
23
  define_attribute :first_name, String
24
24
 
25
25
  # @!attribute geo_code
26
- # @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
26
+ # @return [String] Code that represents a geographic entity (location or object). Only returned when Vertex or Avalara for Communications is enabled.
27
27
  define_attribute :geo_code, String
28
28
 
29
29
  # @!attribute last_name
@@ -35,7 +35,7 @@ module Recurly
35
35
  define_attribute :first_name, String
36
36
 
37
37
  # @!attribute geo_code
38
- # @return [String] Code that represents a geographic entity (location or object). Only returned for Sling Vertex Integration
38
+ # @return [String] Code that represents a geographic entity (location or object). Only returned when Vertex or Avalara for Communications is enabled.
39
39
  define_attribute :geo_code, String
40
40
 
41
41
  # @!attribute id
@@ -1,3 +1,3 @@
1
1
  module Recurly
2
- VERSION = "4.75.0"
2
+ VERSION = "4.76.0"
3
3
  end
data/openapi/api.yaml CHANGED
@@ -200,14 +200,12 @@ x-tagGroups:
200
200
  - usage
201
201
  - automated_exports
202
202
  - gift_cards
203
- - name: App Management
203
+ - name: Invoices and Payments
204
204
  tags:
205
- - external_subscriptions
206
- - external_invoices
207
- - external_products
208
- - external_accounts
209
- - external_product_references
210
- - external_payment_phases
205
+ - invoice
206
+ - line_item
207
+ - credit_payment
208
+ - transaction
211
209
  - name: Products and Promotions
212
210
  tags:
213
211
  - item
@@ -218,12 +216,6 @@ x-tagGroups:
218
216
  - coupon_redemption
219
217
  - unique_coupon_code
220
218
  - price_segment
221
- - name: Invoices and Payments
222
- tags:
223
- - invoice
224
- - line_item
225
- - credit_payment
226
- - transaction
227
219
  - name: Configuration
228
220
  tags:
229
221
  - site
@@ -233,6 +225,14 @@ x-tagGroups:
233
225
  - business_entities
234
226
  - general_ledger_account
235
227
  - performance_obligations
228
+ - name: App Management
229
+ tags:
230
+ - external_subscriptions
231
+ - external_invoices
232
+ - external_products
233
+ - external_accounts
234
+ - external_product_references
235
+ - external_payment_phases
236
236
  tags:
237
237
  - name: site
238
238
  x-displayName: Site
@@ -9245,7 +9245,6 @@ paths:
9245
9245
  description: Apply credit payment to the outstanding balance on an existing
9246
9246
  charge invoice from an account’s available balance from existing credit invoices.
9247
9247
  parameters:
9248
- - "$ref": "#/components/parameters/site_id"
9249
9248
  - "$ref": "#/components/parameters/invoice_id"
9250
9249
  responses:
9251
9250
  '200':
@@ -18621,7 +18620,7 @@ components:
18621
18620
  type: string
18622
18621
  maxLength: 20
18623
18622
  description: Code that represents a geographic entity (location or object).
18624
- Only returned for Sling Vertex Integration
18623
+ Only returned when Vertex or Avalara for Communications is enabled.
18625
18624
  AddressWithName:
18626
18625
  allOf:
18627
18626
  - "$ref": "#/components/schemas/Address"
@@ -19642,12 +19641,14 @@ components:
19642
19641
  title: Temporal amount
19643
19642
  description: If `duration` is "temporal" than `temporal_amount` is an integer
19644
19643
  which is multiplied by `temporal_unit` to define the duration that the
19645
- coupon will be applied to invoices for.
19644
+ coupon will be applied to invoices for. When `temporal_unit` is "billing_period",
19645
+ this is the number of complete billing cycles.
19646
19646
  temporal_unit:
19647
19647
  title: Temporal unit
19648
19648
  description: If `duration` is "temporal" than `temporal_unit` is multiplied
19649
19649
  by `temporal_amount` to define the duration that the coupon will be applied
19650
- to invoices for.
19650
+ to invoices for. Use "billing_period" to apply the coupon for a fixed
19651
+ number of billing cycles. Requires `redemption_resource=subscription`.
19651
19652
  "$ref": "#/components/schemas/TemporalUnitEnum"
19652
19653
  free_trial_unit:
19653
19654
  title: Free trial unit
@@ -19833,12 +19834,14 @@ components:
19833
19834
  title: Temporal amount
19834
19835
  description: If `duration` is "temporal" than `temporal_amount` is an
19835
19836
  integer which is multiplied by `temporal_unit` to define the duration
19836
- that the coupon will be applied to invoices for.
19837
+ that the coupon will be applied to invoices for. When `temporal_unit`
19838
+ is "billing_period", this is the number of complete billing cycles.
19837
19839
  temporal_unit:
19838
19840
  title: Temporal unit
19839
19841
  description: If `duration` is "temporal" than `temporal_unit` is multiplied
19840
19842
  by `temporal_amount` to define the duration that the coupon will be
19841
- applied to invoices for.
19843
+ applied to invoices for. Use "billing_period" to apply the coupon for
19844
+ a fixed number of billing cycles. Requires `redemption_resource=subscription`.
19842
19845
  "$ref": "#/components/schemas/TemporalUnitEnum"
19843
19846
  coupon_type:
19844
19847
  title: Coupon type
@@ -20195,6 +20198,19 @@ components:
20195
20198
  description: Any values that resemble a credit card number or security code
20196
20199
  (CVV/CVC) will be rejected.
20197
20200
  maxLength: 255
20201
+ source_record_type:
20202
+ type: string
20203
+ title: Source record type
20204
+ description: The type of record this custom field was automatically copied
20205
+ from. Only present when the field was copied from another record.
20206
+ readOnly: true
20207
+ "$ref": "#/components/schemas/SourceRecordTypeEnum"
20208
+ source_record_id:
20209
+ type: string
20210
+ title: Source record ID
20211
+ description: The UUID of the record this custom field was automatically
20212
+ copied from. Only present when the field was copied from another record.
20213
+ readOnly: true
20198
20214
  required:
20199
20215
  - name
20200
20216
  - value
@@ -20206,6 +20222,15 @@ components:
20206
20222
  remove a field send the name with a null or empty value.
20207
20223
  items:
20208
20224
  "$ref": "#/components/schemas/CustomField"
20225
+ InvoiceCustomFields:
20226
+ type: array
20227
+ title: Custom fields
20228
+ description: A list of custom fields that were on the account at the time of
20229
+ invoice creation and were marked to be displayed on invoices. Read-only; cannot
20230
+ be set directly on the invoice.
20231
+ readOnly: true
20232
+ items:
20233
+ "$ref": "#/components/schemas/CustomField"
20209
20234
  CustomFieldDefinition:
20210
20235
  type: object
20211
20236
  title: Custom field definition
@@ -21084,6 +21109,8 @@ components:
21084
21109
  title: Business Entity ID
21085
21110
  description: Unique ID to identify the business entity assigned to the invoice.
21086
21111
  Available when the `Multiple Business Entities` feature is enabled.
21112
+ custom_fields:
21113
+ "$ref": "#/components/schemas/InvoiceCustomFields"
21087
21114
  InvoiceCreate:
21088
21115
  type: object
21089
21116
  properties:
@@ -22735,7 +22762,7 @@ components:
22735
22762
  type: string
22736
22763
  maxLength: 20
22737
22764
  description: Code that represents a geographic entity (location or object).
22738
- Only returned for Sling Vertex Integration
22765
+ Only returned when Vertex or Avalara for Communications is enabled.
22739
22766
  created_at:
22740
22767
  type: string
22741
22768
  title: Created at
@@ -22823,7 +22850,7 @@ components:
22823
22850
  type: string
22824
22851
  maxLength: 20
22825
22852
  description: Code that represents a geographic entity (location or object).
22826
- Only returned for Sling Vertex Integration
22853
+ Only returned when Vertex or Avalara for Communications is enabled.
22827
22854
  country:
22828
22855
  type: string
22829
22856
  maxLength: 50
@@ -23154,7 +23181,7 @@ components:
23154
23181
  type: string
23155
23182
  maxLength: 20
23156
23183
  description: Code that represents a geographic entity (location or object).
23157
- Only returned for Sling Vertex Integration
23184
+ Only returned when Vertex or Avalara for Communications is enabled.
23158
23185
  Site:
23159
23186
  type: object
23160
23187
  properties:
@@ -27196,11 +27223,16 @@ components:
27196
27223
  - temporal
27197
27224
  TemporalUnitEnum:
27198
27225
  type: string
27226
+ description: The temporal unit for the coupon's duration. Used with temporal_amount
27227
+ to define how long the coupon applies. When temporal_unit is billing_period,
27228
+ the coupon applies for temporal_amount complete billing cycles rather than
27229
+ a fixed calendar duration. billing_period requires redemption_resource=subscription.
27199
27230
  enum:
27200
27231
  - day
27201
27232
  - month
27202
27233
  - week
27203
27234
  - year
27235
+ - billing_period
27204
27236
  FreeTrialUnitEnum:
27205
27237
  type: string
27206
27238
  enum:
@@ -28104,3 +28136,11 @@ components:
28104
28136
  enum:
28105
28137
  - customer
28106
28138
  - merchant
28139
+ SourceRecordTypeEnum:
28140
+ type: string
28141
+ description: The type of record a custom field was automatically copied from.
28142
+ enum:
28143
+ - account
28144
+ - plan
28145
+ - product
28146
+ - subscription
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.75.0
4
+ version: 4.76.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-04-15 00:00:00.000000000 Z
11
+ date: 2026-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: base64
@@ -390,7 +390,7 @@ metadata:
390
390
  changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
391
391
  documentation_uri: https://recurly.github.io/recurly-client-ruby/
392
392
  homepage_uri: https://github.com/recurly/recurly-client-ruby
393
- source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.75.0
393
+ source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.76.0
394
394
  post_install_message:
395
395
  rdoc_options: []
396
396
  require_paths: