ultracart_api 4.1.222 → 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 +4 -4
- data/README.md +3 -2
- data/docs/OauthTokenResponse.md +2 -0
- data/lib/ultracart_api/models/oauth_token_response.rb +11 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 71017bb3ed2ce9f53279d49408e25cbbc11e89ecdf3216162518035d71937387
|
|
4
|
+
data.tar.gz: 351d79b9f052ecf14ef38bdca2214bcf69b6fe5e3ed257c549f4054dafb9a6e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|
|
19
|
+
gem 'ultracart_api', '4.1.223'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -2352,6 +2352,7 @@ 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 |
|
|
2355
2356
|
| 4.1.222 | 11/03/2026 | sfvb internal testing |
|
|
2356
2357
|
| 4.1.221 | 11/02/2026 | sfvb internal testing |
|
|
2357
2358
|
| 4.1.220 | 11/02/2026 | sfvb internal testing |
|
data/docs/OauthTokenResponse.md
CHANGED
|
@@ -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
|
)
|
|
@@ -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
|