ultracart_api 4.1.181 → 4.1.182

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: c49da69ae79ac178e5eb8df20bfbd7ad6ea2944c667682f55da9f57c2fe36caa
4
- data.tar.gz: 18e587c811bda2b7b7a059dabf819ed9b60593441b111e411e13877f7f0ae624
3
+ metadata.gz: 95ccf208c100dd21664ea421ca9fc2ba50899584af7366f3c8b3c7d110aecbee
4
+ data.tar.gz: 0b3f5a3d4cc32437bf09687fef87037831a1719444f73783ffdb5cbcdd4ddcec
5
5
  SHA512:
6
- metadata.gz: e0067df7231120a1fb45d026b1c247e037e47be43625bbbf5fd7b40987fa53971b87e68cf378620c64af9dbe02a0cc1bb017cc8e39b50ca5ff1d65751c495c30
7
- data.tar.gz: dd5170307f30f1a7f20e6ff0b8891ff6e1748d8a631cecfd919e794a7bfcbf6230ec24dbd3359b53957591b5aec0509ca23474244fa958757d9daa9ed78ae955
6
+ metadata.gz: 1aba61905e1c3fd24d1531ceea36412b0193194a368d0c333153a0a7c695db3e50df8490075a227db63032dca64f5f82ac5f685417b7e5fcf92e544f8ba681f3
7
+ data.tar.gz: 2d7a8a224c92baadcd02c8fe79d3be4d90aec3bf29623ba19786795f2dc27bdccdc1d827c40239815a7b587bf05fccaeb0e73aea3ff343b731ee4485435651fb
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.181
10
+ - Package version: 4.1.182
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.181'
19
+ gem 'ultracart_api', '4.1.182'
20
20
  ```
21
21
 
22
22
  install:
@@ -2115,6 +2115,7 @@ Not every change is committed to every SDK.
2115
2115
 
2116
2116
  | Version | Date | Comments |
2117
2117
  | --: | :-: | --- |
2118
+ | 4.1.182 | 10/02/2026 | sfvb internal testing |
2118
2119
  | 4.1.181 | 10/02/2026 | sfvb internal testing |
2119
2120
  | 4.1.180 | 10/02/2026 | sfvb internal builder |
2120
2121
  | 4.1.179 | 10/01/2026 | sfvb internal testing |
data/docs/SfvbApi.md CHANGED
@@ -5094,7 +5094,7 @@ end
5094
5094
 
5095
5095
  Render a CJSON node to HTML
5096
5096
 
5097
- Renders one node in the context of a theme and a page. Unlike compile this is stateful. Rendering resolves merchant data, so an element bound to an item renders wrongly, and silently, without a context item id. One node per call, so a node that fails to render fails on its own rather than taking a batch with it, and a failure says why.
5097
+ Renders one node in the context of a theme and a page. Unlike compile this is stateful. Rendering resolves merchant data, so an element bound to an item renders wrongly, and silently, without a context item id. One node per call, so a node that fails to render fails on its own rather than taking a batch with it, and a failure says why. By default the node renders as a shopper sees it, with conditions, prices and sale state evaluated against the context item. Set edit_mode to render every branch the way the builder shows it, for styling content a shopper only sometimes sees.
5098
5098
 
5099
5099
 
5100
5100
  ### Examples
@@ -14,6 +14,7 @@
14
14
  | **context_order_id** | **String** | Order id for the rendering context. | [optional] |
15
15
  | **context_page_number** | **String** | Page number for paginated elements. Defaults to 1. | [optional] |
16
16
  | **context_upsell_offer_oid** | **Integer** | Upsell offer oid for the rendering context. | [optional] |
17
+ | **edit_mode** | **Boolean** | True renders every branch the way the builder shows it, for styling content a shopper only sometimes sees. Omitted or false renders what a shopper sees, with conditions, prices and sale state evaluated against the context item. | [optional] |
17
18
  | **language_iso_code** | **String** | Language ISO code. Defaults to ENG. | [optional] |
18
19
  | **uri** | **String** | Storefront URI the node would appear on. Affects rendering of anything page relative. | [optional] |
19
20
 
@@ -33,6 +34,7 @@ instance = UltracartClient::SfvbRenderRequest.new(
33
34
  context_order_id: null,
34
35
  context_page_number: null,
35
36
  context_upsell_offer_oid: null,
37
+ edit_mode: null,
36
38
  language_iso_code: null,
37
39
  uri: null
38
40
  )
@@ -6772,7 +6772,7 @@ module UltracartClient
6772
6772
  end
6773
6773
 
6774
6774
  # Render a CJSON node to HTML
6775
- # Renders one node in the context of a theme and a page. Unlike compile this is stateful. Rendering resolves merchant data, so an element bound to an item renders wrongly, and silently, without a context item id. One node per call, so a node that fails to render fails on its own rather than taking a batch with it, and a failure says why.
6775
+ # Renders one node in the context of a theme and a page. Unlike compile this is stateful. Rendering resolves merchant data, so an element bound to an item renders wrongly, and silently, without a context item id. One node per call, so a node that fails to render fails on its own rather than taking a batch with it, and a failure says why. By default the node renders as a shopper sees it, with conditions, prices and sale state evaluated against the context item. Set edit_mode to render every branch the way the builder shows it, for styling content a shopper only sometimes sees.
6776
6776
  # @param storefront_oid [Integer]
6777
6777
  # @param theme_oid [Integer]
6778
6778
  # @param render_request [SfvbRenderRequest] Widgets to render
@@ -6784,7 +6784,7 @@ module UltracartClient
6784
6784
  end
6785
6785
 
6786
6786
  # Render a CJSON node to HTML
6787
- # Renders one node in the context of a theme and a page. Unlike compile this is stateful. Rendering resolves merchant data, so an element bound to an item renders wrongly, and silently, without a context item id. One node per call, so a node that fails to render fails on its own rather than taking a batch with it, and a failure says why.
6787
+ # Renders one node in the context of a theme and a page. Unlike compile this is stateful. Rendering resolves merchant data, so an element bound to an item renders wrongly, and silently, without a context item id. One node per call, so a node that fails to render fails on its own rather than taking a batch with it, and a failure says why. By default the node renders as a shopper sees it, with conditions, prices and sale state evaluated against the context item. Set edit_mode to render every branch the way the builder shows it, for styling content a shopper only sometimes sees.
6788
6788
  # @param storefront_oid [Integer]
6789
6789
  # @param theme_oid [Integer]
6790
6790
  # @param render_request [SfvbRenderRequest] Widgets to render
@@ -45,6 +45,9 @@ module UltracartClient
45
45
  # Upsell offer oid for the rendering context.
46
46
  attr_accessor :context_upsell_offer_oid
47
47
 
48
+ # True renders every branch the way the builder shows it, for styling content a shopper only sometimes sees. Omitted or false renders what a shopper sees, with conditions, prices and sale state evaluated against the context item.
49
+ attr_accessor :edit_mode
50
+
48
51
  # Language ISO code. Defaults to ENG.
49
52
  attr_accessor :language_iso_code
50
53
 
@@ -64,6 +67,7 @@ module UltracartClient
64
67
  :'context_order_id' => :'context_order_id',
65
68
  :'context_page_number' => :'context_page_number',
66
69
  :'context_upsell_offer_oid' => :'context_upsell_offer_oid',
70
+ :'edit_mode' => :'edit_mode',
67
71
  :'language_iso_code' => :'language_iso_code',
68
72
  :'uri' => :'uri'
69
73
  }
@@ -87,6 +91,7 @@ module UltracartClient
87
91
  :'context_order_id' => :'String',
88
92
  :'context_page_number' => :'String',
89
93
  :'context_upsell_offer_oid' => :'Integer',
94
+ :'edit_mode' => :'Boolean',
90
95
  :'language_iso_code' => :'String',
91
96
  :'uri' => :'String'
92
97
  }
@@ -153,6 +158,10 @@ module UltracartClient
153
158
  self.context_upsell_offer_oid = attributes[:'context_upsell_offer_oid']
154
159
  end
155
160
 
161
+ if attributes.key?(:'edit_mode')
162
+ self.edit_mode = attributes[:'edit_mode']
163
+ end
164
+
156
165
  if attributes.key?(:'language_iso_code')
157
166
  self.language_iso_code = attributes[:'language_iso_code']
158
167
  end
@@ -190,6 +199,7 @@ module UltracartClient
190
199
  context_order_id == o.context_order_id &&
191
200
  context_page_number == o.context_page_number &&
192
201
  context_upsell_offer_oid == o.context_upsell_offer_oid &&
202
+ edit_mode == o.edit_mode &&
193
203
  language_iso_code == o.language_iso_code &&
194
204
  uri == o.uri
195
205
  end
@@ -203,7 +213,7 @@ module UltracartClient
203
213
  # Calculates hash code according to all attributes.
204
214
  # @return [Integer] Hash code
205
215
  def hash
206
- [ancestors_cjson, child_containers_json, cjson, context_affiliate_oid, context_blog_post_oid, context_group_path, context_item_id, context_order_id, context_page_number, context_upsell_offer_oid, language_iso_code, uri].hash
216
+ [ancestors_cjson, child_containers_json, cjson, context_affiliate_oid, context_blog_post_oid, context_group_path, context_item_id, context_order_id, context_page_number, context_upsell_offer_oid, edit_mode, language_iso_code, uri].hash
207
217
  end
208
218
 
209
219
  # 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.181'
14
+ VERSION = '4.1.182'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.181
4
+ version: 4.1.182
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart