ultracart_api 4.1.221 → 4.1.223

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: 4267bcfb9ff75c959b4bcb691612a889458a32f1bb98c34f2930c02f591ab493
4
- data.tar.gz: 8350f1778b128b70b8fe74fe40513082f5eab243ef11ce7f701b6849e6a61892
3
+ metadata.gz: 71017bb3ed2ce9f53279d49408e25cbbc11e89ecdf3216162518035d71937387
4
+ data.tar.gz: 351d79b9f052ecf14ef38bdca2214bcf69b6fe5e3ed257c549f4054dafb9a6e6
5
5
  SHA512:
6
- metadata.gz: a1aea1e4700ef49b020d24e0ba38ccc8172b37d4f8d87eba25070c0823323f61b9e075ca777a75ee74171471bbb52c390a37d01d2667186e23287328d5c3f8f3
7
- data.tar.gz: b587b333770e47e1d8e7b0018b3c025f560c7e952d22b43ca0c58cf875834d9b7d6cce4b57d99908cd85a05a40713c7ab607797f7de87c648a255b03790443e2
6
+ metadata.gz: 8889611d3cf0079729ed36037ec5811344b7baa393c0841b9c1cfc977b7085bf350a10c1a84a082daaac13d016ecb33b119ba3ada56c9cf2dadfc5559a12d32b
7
+ data.tar.gz: 82f9c3a47a8e1dd0f1a8c79f05bfc983841cf152034290ecd265764ea28d22bcced35eb666799c4814a4cec4a27e82c8baef1a8b658a49aa44ee8d58deb4ecb2
data/README.md CHANGED
@@ -7,7 +7,7 @@ Note: Every method has a sample for every language. See https://github.com/Ultr
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 4.1.221
10
+ - Package version: 4.1.223
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  - For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
13
13
 
@@ -16,7 +16,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g
16
16
  gemfile:
17
17
 
18
18
  ```shell
19
- gem 'ultracart_api', '4.1.221'
19
+ gem 'ultracart_api', '4.1.223'
20
20
  ```
21
21
 
22
22
  install:
@@ -2352,6 +2352,8 @@ Not every change is committed to every SDK.
2352
2352
 
2353
2353
  | Version | Date | Comments |
2354
2354
  | --: | :-: | --- |
2355
+ | 4.1.223 | 11/03/2026 | sfvb internal testing |
2356
+ | 4.1.222 | 11/03/2026 | sfvb internal testing |
2355
2357
  | 4.1.221 | 11/02/2026 | sfvb internal testing |
2356
2358
  | 4.1.220 | 11/02/2026 | sfvb internal testing |
2357
2359
  | 4.1.219 | 10/30/2026 | item - field for hsa/fsa eligibility |
@@ -11,6 +11,7 @@
11
11
  | **expires_in** | **String** | The number of seconds since issuance when the access token will expire and need to be refreshed using the refresh token | [optional] |
12
12
  | **merchant_id** | **String** | The UltraCart merchant account that authorized this token. Use it to map the token to the merchant within your own system. Also returned by GET /oauth/me along with the account name. | [optional] |
13
13
  | **refresh_token** | **String** | The refresh token that should be used to fetch a new access token when the expiration occurs | [optional] |
14
+ | **refresh_token_expires_in** | **String** | Seconds until the refresh token expires. Returned only by applications that rotate refresh tokens, which return a new refresh token on every refresh. | [optional] |
14
15
  | **scope** | **String** | The scope of permissions associated with teh access token | [optional] |
15
16
  | **token_type** | **String** | Type of token | [optional] |
16
17
 
@@ -27,6 +28,7 @@ instance = UltracartClient::OauthTokenResponse.new(
27
28
  expires_in: null,
28
29
  merchant_id: null,
29
30
  refresh_token: null,
31
+ refresh_token_expires_in: null,
30
32
  scope: null,
31
33
  token_type: null
32
34
  )
@@ -19,10 +19,10 @@
19
19
  | **rows_sha256** | **String** | For redirect.delete_batch and item.attribute_batch, the plan_hash of the exact rows approved. Set by the server. The batch must send rows with this hash. | [optional] |
20
20
  | **rule_count** | **Integer** | For redirect.delete_batch, how many rules the batch would delete when it was requested. Set by the server. | [optional] |
21
21
  | **segment_uuid** | **String** | The segment whose rule changes, for segment.update. | [optional] |
22
- | **sequence_uuid** | **String** | The communication sequence, for sequence_step.delete and sequence_step.move. | [optional] |
22
+ | **sequence_uuid** | **String** | The communication sequence, for sequence_step.delete, sequence_step.move and sequence_step.enable_postcard. | [optional] |
23
23
  | **side** | **String** | For sequence_step.move with branch_step_uuid, the side's label from the sequence read. | [optional] |
24
24
  | **slot** | **String** | For experiment.start of a page experiment, the page body name. Defaults to body. | [optional] |
25
- | **step_uuid** | **String** | The step to remove, for sequence_step.delete, or to move, for sequence_step.move. | [optional] |
25
+ | **step_uuid** | **String** | The step to remove, for sequence_step.delete, to move, for sequence_step.move, or to turn on, for sequence_step.enable_postcard. | [optional] |
26
26
  | **upsell_kind** | **String** | For upsell.enable, what to switch on. | [optional] |
27
27
  | **upsell_oid** | **Integer** | For upsell.enable, the oid of the offer or path to switch on. | [optional] |
28
28
  | **version** | **Integer** | For file.put_script, the history version a revert restores. Leave it out, and send content instead, for a write. | [optional] |
@@ -33,6 +33,9 @@ module UltracartClient
33
33
  # The refresh token that should be used to fetch a new access token when the expiration occurs
34
34
  attr_accessor :refresh_token
35
35
 
36
+ # Seconds until the refresh token expires. Returned only by applications that rotate refresh tokens, which return a new refresh token on every refresh.
37
+ attr_accessor :refresh_token_expires_in
38
+
36
39
  # The scope of permissions associated with teh access token
37
40
  attr_accessor :scope
38
41
 
@@ -71,6 +74,7 @@ module UltracartClient
71
74
  :'expires_in' => :'expires_in',
72
75
  :'merchant_id' => :'merchant_id',
73
76
  :'refresh_token' => :'refresh_token',
77
+ :'refresh_token_expires_in' => :'refresh_token_expires_in',
74
78
  :'scope' => :'scope',
75
79
  :'token_type' => :'token_type'
76
80
  }
@@ -91,6 +95,7 @@ module UltracartClient
91
95
  :'expires_in' => :'String',
92
96
  :'merchant_id' => :'String',
93
97
  :'refresh_token' => :'String',
98
+ :'refresh_token_expires_in' => :'String',
94
99
  :'scope' => :'String',
95
100
  :'token_type' => :'String'
96
101
  }
@@ -145,6 +150,10 @@ module UltracartClient
145
150
  self.refresh_token = attributes[:'refresh_token']
146
151
  end
147
152
 
153
+ if attributes.key?(:'refresh_token_expires_in')
154
+ self.refresh_token_expires_in = attributes[:'refresh_token_expires_in']
155
+ end
156
+
148
157
  if attributes.key?(:'scope')
149
158
  self.scope = attributes[:'scope']
150
159
  end
@@ -191,6 +200,7 @@ module UltracartClient
191
200
  expires_in == o.expires_in &&
192
201
  merchant_id == o.merchant_id &&
193
202
  refresh_token == o.refresh_token &&
203
+ refresh_token_expires_in == o.refresh_token_expires_in &&
194
204
  scope == o.scope &&
195
205
  token_type == o.token_type
196
206
  end
@@ -204,7 +214,7 @@ module UltracartClient
204
214
  # Calculates hash code according to all attributes.
205
215
  # @return [Integer] Hash code
206
216
  def hash
207
- [access_token, error, error_description, error_uri, expires_in, merchant_id, refresh_token, scope, token_type].hash
217
+ [access_token, error, error_description, error_uri, expires_in, merchant_id, refresh_token, refresh_token_expires_in, scope, token_type].hash
208
218
  end
209
219
 
210
220
  # Builds the object from hash
@@ -167,7 +167,7 @@ module UltracartClient
167
167
  # Check to see if the all the properties in the model are valid
168
168
  # @return true if the model is valid
169
169
  def valid?
170
- action_validator = EnumAttributeValidator.new('String', ["file.delete", "blog_post.delete", "file.put_script", "redirect.delete_batch", "experiment.start", "experiment.end", "upsell.enable", "item.attribute_batch", "item.pricing", "twilio_account.delete", "sending_domain.delete", "sequence_step.delete", "segment.update"])
170
+ action_validator = EnumAttributeValidator.new('String', ["file.delete", "blog_post.delete", "file.put_script", "redirect.delete_batch", "experiment.start", "experiment.end", "upsell.enable", "item.attribute_batch", "item.pricing", "twilio_account.delete", "sending_domain.delete", "sequence_step.delete", "sequence_step.move", "sequence_step.enable_postcard", "segment.update"])
171
171
  return false unless action_validator.valid?(@action)
172
172
  true
173
173
  end
@@ -175,7 +175,7 @@ module UltracartClient
175
175
  # Custom attribute writer method checking allowed values (enum).
176
176
  # @param [Object] action Object to be assigned
177
177
  def action=(action)
178
- validator = EnumAttributeValidator.new('String', ["file.delete", "blog_post.delete", "file.put_script", "redirect.delete_batch", "experiment.start", "experiment.end", "upsell.enable", "item.attribute_batch", "item.pricing", "twilio_account.delete", "sending_domain.delete", "sequence_step.delete", "segment.update"])
178
+ validator = EnumAttributeValidator.new('String', ["file.delete", "blog_post.delete", "file.put_script", "redirect.delete_batch", "experiment.start", "experiment.end", "upsell.enable", "item.attribute_batch", "item.pricing", "twilio_account.delete", "sending_domain.delete", "sequence_step.delete", "sequence_step.move", "sequence_step.enable_postcard", "segment.update"])
179
179
  unless validator.valid?(action)
180
180
  fail ArgumentError, "invalid value for \"action\", must be one of #{validator.allowable_values}."
181
181
  end
@@ -60,7 +60,7 @@ module UltracartClient
60
60
  # The segment whose rule changes, for segment.update.
61
61
  attr_accessor :segment_uuid
62
62
 
63
- # The communication sequence, for sequence_step.delete and sequence_step.move.
63
+ # The communication sequence, for sequence_step.delete, sequence_step.move and sequence_step.enable_postcard.
64
64
  attr_accessor :sequence_uuid
65
65
 
66
66
  # For sequence_step.move with branch_step_uuid, the side's label from the sequence read.
@@ -69,7 +69,7 @@ module UltracartClient
69
69
  # For experiment.start of a page experiment, the page body name. Defaults to body.
70
70
  attr_accessor :slot
71
71
 
72
- # The step to remove, for sequence_step.delete, or to move, for sequence_step.move.
72
+ # The step to remove, for sequence_step.delete, to move, for sequence_step.move, or to turn on, for sequence_step.enable_postcard.
73
73
  attr_accessor :step_uuid
74
74
 
75
75
  # For upsell.enable, what to switch on.
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.1.221'
14
+ VERSION = '4.1.223'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.221
4
+ version: 4.1.223
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-11-02 00:00:00.000000000 Z
11
+ date: 2026-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus