ultracart_api 4.1.225 → 4.1.226
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/SfvbTrackingProvider.md +2 -0
- data/docs/SfvbTrackingProviderField.md +2 -0
- data/lib/ultracart_api/models/sfvb_tracking_provider.rb +11 -1
- data/lib/ultracart_api/models/sfvb_tracking_provider_field.rb +11 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 95c3131895afcb281803e49d636846ec15358a684552f90cab1b880e15cd1355
|
|
4
|
+
data.tar.gz: ab6bdf275099e086dd4d36ce07cb705894ab7d0b9b9fcd410041d92ff93bd921
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c53f4efbd29f1be9d09b314f9ae2080436116dc33aea108454a482b337ade38506fd89aa3da59419225155cb5070dc0e222993aa0c1098e60ed980ca36a561fe
|
|
7
|
+
data.tar.gz: e42f873a047fb0b2dc7dc3e8a3eaeb107d6d0498ee482462a5214e98228ad1d9d332ec54a7137fc98a7bff32cc384af9d6be3769b76ebebcc70d4b4f92b263b3
|
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.226
|
|
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.226'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -2403,6 +2403,7 @@ Not every change is committed to every SDK.
|
|
|
2403
2403
|
|
|
2404
2404
|
| Version | Date | Comments |
|
|
2405
2405
|
| --: | :-: | --- |
|
|
2406
|
+
| 4.1.226 | 11/04/2026 | sfvb internal testing |
|
|
2406
2407
|
| 4.1.225 | 11/03/2026 | sfvb internal testing |
|
|
2407
2408
|
| 4.1.224 | 11/03/2026 | sfvb internal testing |
|
|
2408
2409
|
| 4.1.223 | 11/03/2026 | sfvb internal testing |
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **admin_path** | **String** | Where the provider is in the admin. | [optional] |
|
|
8
|
+
| **approval_needed** | **Boolean** | On a dry run, whether the real write needs an approved tracking_provider.change request. | [optional] |
|
|
8
9
|
| **changes** | [**Array<SfvbTrackingChange>**](SfvbTrackingChange.md) | On a write, each setting it changed, or would change on a dry run. Secrets read only set or cleared. | [optional] |
|
|
9
10
|
| **configured** | **Boolean** | True when the provider is on, which means one of its identifying fields is set. | [optional] |
|
|
10
11
|
| **consent** | [**SfvbTrackingProviderConsent**](SfvbTrackingProviderConsent.md) | | [optional] |
|
|
@@ -28,6 +29,7 @@ require 'ultracart_api'
|
|
|
28
29
|
|
|
29
30
|
instance = UltracartClient::SfvbTrackingProvider.new(
|
|
30
31
|
admin_path: null,
|
|
32
|
+
approval_needed: null,
|
|
31
33
|
changes: null,
|
|
32
34
|
configured: null,
|
|
33
35
|
consent: null,
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
| **set** | **Boolean** | For a secret, true when one is stored. | [optional] |
|
|
16
16
|
| **sink** | **String** | For a writable secret, the sink a secret request names, with this storefront_oid as its target. | [optional] |
|
|
17
17
|
| **type** | **String** | id, id_list, token, url, server_url, host, host_list, bool, select, number, numeric_id or secret. It decides what a write accepts. | [optional] |
|
|
18
|
+
| **unavailable_reason** | **String** | Present only when this storefront can't turn the field on, and why. Turning it off still works. | [optional] |
|
|
18
19
|
| **value** | **String** | The stored value. Booleans are true or false. Null when blank. Never present for a secret. | [optional] |
|
|
19
20
|
| **writable** | **Boolean** | False for a field the API reports but does not change. | [optional] |
|
|
20
21
|
|
|
@@ -35,6 +36,7 @@ instance = UltracartClient::SfvbTrackingProviderField.new(
|
|
|
35
36
|
set: null,
|
|
36
37
|
sink: null,
|
|
37
38
|
type: null,
|
|
39
|
+
unavailable_reason: null,
|
|
38
40
|
value: null,
|
|
39
41
|
writable: null
|
|
40
42
|
)
|
|
@@ -18,6 +18,9 @@ module UltracartClient
|
|
|
18
18
|
# Where the provider is in the admin.
|
|
19
19
|
attr_accessor :admin_path
|
|
20
20
|
|
|
21
|
+
# On a dry run, whether the real write needs an approved tracking_provider.change request.
|
|
22
|
+
attr_accessor :approval_needed
|
|
23
|
+
|
|
21
24
|
# On a write, each setting it changed, or would change on a dry run. Secrets read only set or cleared.
|
|
22
25
|
attr_accessor :changes
|
|
23
26
|
|
|
@@ -65,6 +68,7 @@ module UltracartClient
|
|
|
65
68
|
def self.attribute_map
|
|
66
69
|
{
|
|
67
70
|
:'admin_path' => :'admin_path',
|
|
71
|
+
:'approval_needed' => :'approval_needed',
|
|
68
72
|
:'changes' => :'changes',
|
|
69
73
|
:'configured' => :'configured',
|
|
70
74
|
:'consent' => :'consent',
|
|
@@ -92,6 +96,7 @@ module UltracartClient
|
|
|
92
96
|
def self.openapi_types
|
|
93
97
|
{
|
|
94
98
|
:'admin_path' => :'String',
|
|
99
|
+
:'approval_needed' => :'Boolean',
|
|
95
100
|
:'changes' => :'Array<SfvbTrackingChange>',
|
|
96
101
|
:'configured' => :'Boolean',
|
|
97
102
|
:'consent' => :'SfvbTrackingProviderConsent',
|
|
@@ -135,6 +140,10 @@ module UltracartClient
|
|
|
135
140
|
self.admin_path = attributes[:'admin_path']
|
|
136
141
|
end
|
|
137
142
|
|
|
143
|
+
if attributes.key?(:'approval_needed')
|
|
144
|
+
self.approval_needed = attributes[:'approval_needed']
|
|
145
|
+
end
|
|
146
|
+
|
|
138
147
|
if attributes.key?(:'changes')
|
|
139
148
|
if (value = attributes[:'changes']).is_a?(Array)
|
|
140
149
|
self.changes = value
|
|
@@ -225,6 +234,7 @@ module UltracartClient
|
|
|
225
234
|
return true if self.equal?(o)
|
|
226
235
|
self.class == o.class &&
|
|
227
236
|
admin_path == o.admin_path &&
|
|
237
|
+
approval_needed == o.approval_needed &&
|
|
228
238
|
changes == o.changes &&
|
|
229
239
|
configured == o.configured &&
|
|
230
240
|
consent == o.consent &&
|
|
@@ -251,7 +261,7 @@ module UltracartClient
|
|
|
251
261
|
# Calculates hash code according to all attributes.
|
|
252
262
|
# @return [Integer] Hash code
|
|
253
263
|
def hash
|
|
254
|
-
[admin_path, changes, configured, consent, consent_supported, cost, dry_run, events, fields, group, hash_sha256, key, name, notes, oauth, wholesale_tiers].hash
|
|
264
|
+
[admin_path, approval_needed, changes, configured, consent, consent_supported, cost, dry_run, events, fields, group, hash_sha256, key, name, notes, oauth, wholesale_tiers].hash
|
|
255
265
|
end
|
|
256
266
|
|
|
257
267
|
# Builds the object from hash
|
|
@@ -48,6 +48,9 @@ module UltracartClient
|
|
|
48
48
|
# id, id_list, token, url, server_url, host, host_list, bool, select, number, numeric_id or secret. It decides what a write accepts.
|
|
49
49
|
attr_accessor :type
|
|
50
50
|
|
|
51
|
+
# Present only when this storefront can't turn the field on, and why. Turning it off still works.
|
|
52
|
+
attr_accessor :unavailable_reason
|
|
53
|
+
|
|
51
54
|
# The stored value. Booleans are true or false. Null when blank. Never present for a secret.
|
|
52
55
|
attr_accessor :value
|
|
53
56
|
|
|
@@ -68,6 +71,7 @@ module UltracartClient
|
|
|
68
71
|
:'set' => :'set',
|
|
69
72
|
:'sink' => :'sink',
|
|
70
73
|
:'type' => :'type',
|
|
74
|
+
:'unavailable_reason' => :'unavailable_reason',
|
|
71
75
|
:'value' => :'value',
|
|
72
76
|
:'writable' => :'writable'
|
|
73
77
|
}
|
|
@@ -92,6 +96,7 @@ module UltracartClient
|
|
|
92
96
|
:'set' => :'Boolean',
|
|
93
97
|
:'sink' => :'String',
|
|
94
98
|
:'type' => :'String',
|
|
99
|
+
:'unavailable_reason' => :'String',
|
|
95
100
|
:'value' => :'String',
|
|
96
101
|
:'writable' => :'Boolean'
|
|
97
102
|
}
|
|
@@ -164,6 +169,10 @@ module UltracartClient
|
|
|
164
169
|
self.type = attributes[:'type']
|
|
165
170
|
end
|
|
166
171
|
|
|
172
|
+
if attributes.key?(:'unavailable_reason')
|
|
173
|
+
self.unavailable_reason = attributes[:'unavailable_reason']
|
|
174
|
+
end
|
|
175
|
+
|
|
167
176
|
if attributes.key?(:'value')
|
|
168
177
|
self.value = attributes[:'value']
|
|
169
178
|
end
|
|
@@ -202,6 +211,7 @@ module UltracartClient
|
|
|
202
211
|
set == o.set &&
|
|
203
212
|
sink == o.sink &&
|
|
204
213
|
type == o.type &&
|
|
214
|
+
unavailable_reason == o.unavailable_reason &&
|
|
205
215
|
value == o.value &&
|
|
206
216
|
writable == o.writable
|
|
207
217
|
end
|
|
@@ -215,7 +225,7 @@ module UltracartClient
|
|
|
215
225
|
# Calculates hash code according to all attributes.
|
|
216
226
|
# @return [Integer] Hash code
|
|
217
227
|
def hash
|
|
218
|
-
[allowed, key, label, mask, max, max_value, min_value, secret, set, sink, type, value, writable].hash
|
|
228
|
+
[allowed, key, label, mask, max, max_value, min_value, secret, set, sink, type, unavailable_reason, value, writable].hash
|
|
219
229
|
end
|
|
220
230
|
|
|
221
231
|
# Builds the object from hash
|
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.
|
|
4
|
+
version: 4.1.226
|
|
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-
|
|
11
|
+
date: 2026-11-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|