ultracart_api 4.1.224 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79062a647c746746fd68e8d0f64decd68efc957221715850aa95d52070ca73bc
4
- data.tar.gz: 716ff665be168ff8daf2f2d8859f3d5010451689bd323a6db6c769b25c6a89c2
3
+ metadata.gz: 95c3131895afcb281803e49d636846ec15358a684552f90cab1b880e15cd1355
4
+ data.tar.gz: ab6bdf275099e086dd4d36ce07cb705894ab7d0b9b9fcd410041d92ff93bd921
5
5
  SHA512:
6
- metadata.gz: 2903cc8971919f7948520e5f5178cf76bbaeac8964575999d3f80958433c571c8461706d9f9c795899d041b15856af749f2d91cb82886a74556bec98d8a193c3
7
- data.tar.gz: 6f28a2197b3f8f20b71c529c42905512c1107086f46079408438a24a6fb2d7153b13a79991088a92b9400f820793389a679ed1cc6b6cab99576c0085fedaf437
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.224
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.224'
19
+ gem 'ultracart_api', '4.1.226'
20
20
  ```
21
21
 
22
22
  install:
@@ -2403,6 +2403,8 @@ 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 |
2407
+ | 4.1.225 | 11/03/2026 | sfvb internal testing |
2406
2408
  | 4.1.224 | 11/03/2026 | sfvb internal testing |
2407
2409
  | 4.1.223 | 11/03/2026 | sfvb internal testing |
2408
2410
  | 4.1.222 | 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,
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **_false** | **Boolean** | On a write, true to remove the gate. Not with type or region. | [optional] |
7
+ | **disabled** | **Boolean** | On a write, true to remove the gate. Not with type or region. | [optional] |
8
8
  | **region** | **String** | Which shoppers the gate applies to. all, eea or non_us. | [optional] |
9
9
  | **type** | **String** | Statistics, Preferences or Marketing. | [optional] |
10
10
 
@@ -14,7 +14,7 @@
14
14
  require 'ultracart_api'
15
15
 
16
16
  instance = UltracartClient::SfvbTrackingProviderConsent.new(
17
- _false: null,
17
+ disabled: null,
18
18
  region: null,
19
19
  type: null
20
20
  )
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **enabled** | **Boolean** | True when the event is sent to the provider. | [optional] |
7
8
  | **name** | **String** | AddPaymentInfo, AddToCart, AddToWishlist, CompleteRegistration, InitiateCheckout, Lead, Search or ViewContent. | [optional] |
8
- | **_true** | **Boolean** | True when the event is sent to the provider. | [optional] |
9
9
 
10
10
  ## Example
11
11
 
@@ -13,8 +13,8 @@
13
13
  require 'ultracart_api'
14
14
 
15
15
  instance = UltracartClient::SfvbTrackingProviderEvent.new(
16
- name: null,
17
- _true: null
16
+ enabled: null,
17
+ name: null
18
18
  )
19
19
  ```
20
20
 
@@ -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
@@ -16,7 +16,7 @@ require 'time'
16
16
  module UltracartClient
17
17
  class SfvbTrackingProviderConsent
18
18
  # On a write, true to remove the gate. Not with type or region.
19
- attr_accessor :_false
19
+ attr_accessor :disabled
20
20
 
21
21
  # Which shoppers the gate applies to. all, eea or non_us.
22
22
  attr_accessor :region
@@ -27,7 +27,7 @@ module UltracartClient
27
27
  # Attribute mapping from ruby-style variable name to JSON key.
28
28
  def self.attribute_map
29
29
  {
30
- :'_false' => :'false',
30
+ :'disabled' => :'disabled',
31
31
  :'region' => :'region',
32
32
  :'type' => :'type'
33
33
  }
@@ -41,7 +41,7 @@ module UltracartClient
41
41
  # Attribute type mapping.
42
42
  def self.openapi_types
43
43
  {
44
- :'_false' => :'Boolean',
44
+ :'disabled' => :'Boolean',
45
45
  :'region' => :'String',
46
46
  :'type' => :'String'
47
47
  }
@@ -68,8 +68,8 @@ module UltracartClient
68
68
  h[k.to_sym] = v
69
69
  }
70
70
 
71
- if attributes.key?(:'_false')
72
- self._false = attributes[:'_false']
71
+ if attributes.key?(:'disabled')
72
+ self.disabled = attributes[:'disabled']
73
73
  end
74
74
 
75
75
  if attributes.key?(:'region')
@@ -99,7 +99,7 @@ module UltracartClient
99
99
  def ==(o)
100
100
  return true if self.equal?(o)
101
101
  self.class == o.class &&
102
- _false == o._false &&
102
+ disabled == o.disabled &&
103
103
  region == o.region &&
104
104
  type == o.type
105
105
  end
@@ -113,7 +113,7 @@ module UltracartClient
113
113
  # Calculates hash code according to all attributes.
114
114
  # @return [Integer] Hash code
115
115
  def hash
116
- [_false, region, type].hash
116
+ [disabled, region, type].hash
117
117
  end
118
118
 
119
119
  # Builds the object from hash
@@ -15,17 +15,17 @@ require 'time'
15
15
 
16
16
  module UltracartClient
17
17
  class SfvbTrackingProviderEvent
18
+ # True when the event is sent to the provider.
19
+ attr_accessor :enabled
20
+
18
21
  # AddPaymentInfo, AddToCart, AddToWishlist, CompleteRegistration, InitiateCheckout, Lead, Search or ViewContent.
19
22
  attr_accessor :name
20
23
 
21
- # True when the event is sent to the provider.
22
- attr_accessor :_true
23
-
24
24
  # Attribute mapping from ruby-style variable name to JSON key.
25
25
  def self.attribute_map
26
26
  {
27
- :'name' => :'name',
28
- :'_true' => :'true'
27
+ :'enabled' => :'enabled',
28
+ :'name' => :'name'
29
29
  }
30
30
  end
31
31
 
@@ -37,8 +37,8 @@ module UltracartClient
37
37
  # Attribute type mapping.
38
38
  def self.openapi_types
39
39
  {
40
- :'name' => :'String',
41
- :'_true' => :'Boolean'
40
+ :'enabled' => :'Boolean',
41
+ :'name' => :'String'
42
42
  }
43
43
  end
44
44
 
@@ -63,12 +63,12 @@ module UltracartClient
63
63
  h[k.to_sym] = v
64
64
  }
65
65
 
66
- if attributes.key?(:'name')
67
- self.name = attributes[:'name']
66
+ if attributes.key?(:'enabled')
67
+ self.enabled = attributes[:'enabled']
68
68
  end
69
69
 
70
- if attributes.key?(:'_true')
71
- self._true = attributes[:'_true']
70
+ if attributes.key?(:'name')
71
+ self.name = attributes[:'name']
72
72
  end
73
73
  end
74
74
 
@@ -90,8 +90,8 @@ module UltracartClient
90
90
  def ==(o)
91
91
  return true if self.equal?(o)
92
92
  self.class == o.class &&
93
- name == o.name &&
94
- _true == o._true
93
+ enabled == o.enabled &&
94
+ name == o.name
95
95
  end
96
96
 
97
97
  # @see the `==` method
@@ -103,7 +103,7 @@ module UltracartClient
103
103
  # Calculates hash code according to all attributes.
104
104
  # @return [Integer] Hash code
105
105
  def hash
106
- [name, _true].hash
106
+ [enabled, name].hash
107
107
  end
108
108
 
109
109
  # 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
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.1.224'
14
+ VERSION = '4.1.226'
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.224
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-03 00:00:00.000000000 Z
11
+ date: 2026-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus