ultracart_api 4.1.140 → 4.1.141
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/SfvbWhoamiResponse.md +6 -0
- data/lib/ultracart_api/models/sfvb_whoami_response.rb +31 -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: 4e3b5a7ecac8cd163cc2efd076ef4bee99a950ad700201b405656bb058f3748c
|
|
4
|
+
data.tar.gz: '0806f9cd14d0a728e66833db6935fb5c4c0d54715623ba69995836ee40fc6692'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9da90fbf8138f823efbd8c72474a6425a0ce946add8375220a07b1f8a4a5a73dc4bba1d8def681f16723cbc28bbf273e073b888185a95af9ccd15137a2c3091f
|
|
7
|
+
data.tar.gz: 8f966a589d5c239ef236550735c4e943b52806616bfe5676197016396a6b82c2150ee73458018c4fc02e33756c3efb5baa767ce7cfd073c1c07e9bcbbeeee711
|
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.141
|
|
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.141'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -1922,6 +1922,7 @@ Not every change is committed to every SDK.
|
|
|
1922
1922
|
|
|
1923
1923
|
| Version | Date | Comments |
|
|
1924
1924
|
| --: | :-: | --- |
|
|
1925
|
+
| 4.1.141 | 08/26/2026 | sfvb - internal testing |
|
|
1925
1926
|
| 4.1.140 | 08/26/2026 | sfvb - internal testing |
|
|
1926
1927
|
| 4.1.139 | 08/26/2026 | sfvb - internal testing |
|
|
1927
1928
|
| 4.1.138 | 08/26/2026 | sfvb - internal testing |
|
data/docs/SfvbWhoamiResponse.md
CHANGED
|
@@ -7,6 +7,9 @@
|
|
|
7
7
|
| **acting_as_user** | **Boolean** | True when this token resolves to a merchant user. Preview sessions and file writes need one, because they are recorded against the person who approved the token. Only device flow tokens resolve a user, so a plain API key will see this false. | [optional] |
|
|
8
8
|
| **application_name** | **String** | Description of the application this credential belongs to. | [optional] |
|
|
9
9
|
| **authentication_type** | **String** | How this token authenticated - Oauth2, Simple Key, Public/Private Key or Browser Key. | [optional] |
|
|
10
|
+
| **can_publish** | **Boolean** | True when this token may write a target that is currently live - an active upsell offer, an email on a delivering flow, the active theme, the storefront root. Never infer this; it is the difference between a draft edit and a shopper visible change. | [optional] |
|
|
11
|
+
| **can_read** | **Boolean** | True when this token may read. Do not infer this from the requested scope name. | [optional] |
|
|
12
|
+
| **can_write** | **Boolean** | True when this token may write. Writing a target that is not currently live needs only this. | [optional] |
|
|
10
13
|
| **device_scope** | **String** | Device scope name, when this is a device flow token. | [optional] |
|
|
11
14
|
| **login** | **String** | Login of the user who approved this token. Populated for device flow tokens; null for plain API key credentials. | [optional] |
|
|
12
15
|
| **merchant_id** | **String** | Merchant id this token acts against. | [optional] |
|
|
@@ -24,6 +27,9 @@ instance = UltracartClient::SfvbWhoamiResponse.new(
|
|
|
24
27
|
acting_as_user: null,
|
|
25
28
|
application_name: null,
|
|
26
29
|
authentication_type: null,
|
|
30
|
+
can_publish: null,
|
|
31
|
+
can_read: null,
|
|
32
|
+
can_write: null,
|
|
27
33
|
device_scope: null,
|
|
28
34
|
login: null,
|
|
29
35
|
merchant_id: null,
|
|
@@ -24,6 +24,15 @@ module UltracartClient
|
|
|
24
24
|
# How this token authenticated - Oauth2, Simple Key, Public/Private Key or Browser Key.
|
|
25
25
|
attr_accessor :authentication_type
|
|
26
26
|
|
|
27
|
+
# True when this token may write a target that is currently live - an active upsell offer, an email on a delivering flow, the active theme, the storefront root. Never infer this; it is the difference between a draft edit and a shopper visible change.
|
|
28
|
+
attr_accessor :can_publish
|
|
29
|
+
|
|
30
|
+
# True when this token may read. Do not infer this from the requested scope name.
|
|
31
|
+
attr_accessor :can_read
|
|
32
|
+
|
|
33
|
+
# True when this token may write. Writing a target that is not currently live needs only this.
|
|
34
|
+
attr_accessor :can_write
|
|
35
|
+
|
|
27
36
|
# Device scope name, when this is a device flow token.
|
|
28
37
|
attr_accessor :device_scope
|
|
29
38
|
|
|
@@ -51,6 +60,9 @@ module UltracartClient
|
|
|
51
60
|
:'acting_as_user' => :'actingAsUser',
|
|
52
61
|
:'application_name' => :'applicationName',
|
|
53
62
|
:'authentication_type' => :'authenticationType',
|
|
63
|
+
:'can_publish' => :'canPublish',
|
|
64
|
+
:'can_read' => :'canRead',
|
|
65
|
+
:'can_write' => :'canWrite',
|
|
54
66
|
:'device_scope' => :'deviceScope',
|
|
55
67
|
:'login' => :'login',
|
|
56
68
|
:'merchant_id' => :'merchantId',
|
|
@@ -72,6 +84,9 @@ module UltracartClient
|
|
|
72
84
|
:'acting_as_user' => :'Boolean',
|
|
73
85
|
:'application_name' => :'String',
|
|
74
86
|
:'authentication_type' => :'String',
|
|
87
|
+
:'can_publish' => :'Boolean',
|
|
88
|
+
:'can_read' => :'Boolean',
|
|
89
|
+
:'can_write' => :'Boolean',
|
|
75
90
|
:'device_scope' => :'String',
|
|
76
91
|
:'login' => :'String',
|
|
77
92
|
:'merchant_id' => :'String',
|
|
@@ -115,6 +130,18 @@ module UltracartClient
|
|
|
115
130
|
self.authentication_type = attributes[:'authentication_type']
|
|
116
131
|
end
|
|
117
132
|
|
|
133
|
+
if attributes.key?(:'can_publish')
|
|
134
|
+
self.can_publish = attributes[:'can_publish']
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
if attributes.key?(:'can_read')
|
|
138
|
+
self.can_read = attributes[:'can_read']
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
if attributes.key?(:'can_write')
|
|
142
|
+
self.can_write = attributes[:'can_write']
|
|
143
|
+
end
|
|
144
|
+
|
|
118
145
|
if attributes.key?(:'device_scope')
|
|
119
146
|
self.device_scope = attributes[:'device_scope']
|
|
120
147
|
end
|
|
@@ -169,6 +196,9 @@ module UltracartClient
|
|
|
169
196
|
acting_as_user == o.acting_as_user &&
|
|
170
197
|
application_name == o.application_name &&
|
|
171
198
|
authentication_type == o.authentication_type &&
|
|
199
|
+
can_publish == o.can_publish &&
|
|
200
|
+
can_read == o.can_read &&
|
|
201
|
+
can_write == o.can_write &&
|
|
172
202
|
device_scope == o.device_scope &&
|
|
173
203
|
login == o.login &&
|
|
174
204
|
merchant_id == o.merchant_id &&
|
|
@@ -187,7 +217,7 @@ module UltracartClient
|
|
|
187
217
|
# Calculates hash code according to all attributes.
|
|
188
218
|
# @return [Integer] Hash code
|
|
189
219
|
def hash
|
|
190
|
-
[acting_as_user, application_name, authentication_type, device_scope, login, merchant_id, scopes, storefronts, storefronts_withheld, user_name].hash
|
|
220
|
+
[acting_as_user, application_name, authentication_type, can_publish, can_read, can_write, device_scope, login, merchant_id, scopes, storefronts, storefronts_withheld, user_name].hash
|
|
191
221
|
end
|
|
192
222
|
|
|
193
223
|
# Builds the object from hash
|