ultracart_api 4.1.253 → 4.1.254

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.
@@ -15,13 +15,21 @@ require 'time'
15
15
 
16
16
  module UltracartClient
17
17
  class SfvbPageListResponse
18
+ # The offset of the next window, omitted on the last one. Only with detail=true.
19
+ attr_accessor :next_offset
20
+
18
21
  # Pages sorted by path, the root first. Hidden pages are included.
19
22
  attr_accessor :pages
20
23
 
24
+ # How many pages the whole list has. Only with detail=true.
25
+ attr_accessor :total
26
+
21
27
  # Attribute mapping from ruby-style variable name to JSON key.
22
28
  def self.attribute_map
23
29
  {
24
- :'pages' => :'pages'
30
+ :'next_offset' => :'next_offset',
31
+ :'pages' => :'pages',
32
+ :'total' => :'total'
25
33
  }
26
34
  end
27
35
 
@@ -33,7 +41,9 @@ module UltracartClient
33
41
  # Attribute type mapping.
34
42
  def self.openapi_types
35
43
  {
36
- :'pages' => :'Array<SfvbPageSummary>'
44
+ :'next_offset' => :'Integer',
45
+ :'pages' => :'Array<SfvbPageSummary>',
46
+ :'total' => :'Integer'
37
47
  }
38
48
  end
39
49
 
@@ -58,11 +68,19 @@ module UltracartClient
58
68
  h[k.to_sym] = v
59
69
  }
60
70
 
71
+ if attributes.key?(:'next_offset')
72
+ self.next_offset = attributes[:'next_offset']
73
+ end
74
+
61
75
  if attributes.key?(:'pages')
62
76
  if (value = attributes[:'pages']).is_a?(Array)
63
77
  self.pages = value
64
78
  end
65
79
  end
80
+
81
+ if attributes.key?(:'total')
82
+ self.total = attributes[:'total']
83
+ end
66
84
  end
67
85
 
68
86
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -83,7 +101,9 @@ module UltracartClient
83
101
  def ==(o)
84
102
  return true if self.equal?(o)
85
103
  self.class == o.class &&
86
- pages == o.pages
104
+ next_offset == o.next_offset &&
105
+ pages == o.pages &&
106
+ total == o.total
87
107
  end
88
108
 
89
109
  # @see the `==` method
@@ -95,7 +115,7 @@ module UltracartClient
95
115
  # Calculates hash code according to all attributes.
96
116
  # @return [Integer] Hash code
97
117
  def hash
98
- [pages].hash
118
+ [next_offset, pages, total].hash
99
119
  end
100
120
 
101
121
  # Builds the object from hash
@@ -21,6 +21,9 @@ module UltracartClient
21
21
  # Template that renders the blog posts under this page. Omitted when not set.
22
22
  attr_accessor :blog_post_template
23
23
 
24
+ # The page's id. It stays the same when the page is moved or renamed, where the path and the page folder's id do not. The page read accepts it in place of path.
25
+ attr_accessor :catalog_group_oid
26
+
24
27
  # The page description, the text a page template renders as the page's description. Omitted when empty.
25
28
  attr_accessor :description
26
29
 
@@ -76,6 +79,7 @@ module UltracartClient
76
79
  {
77
80
  :'attributes' => :'attributes',
78
81
  :'blog_post_template' => :'blog_post_template',
82
+ :'catalog_group_oid' => :'catalog_group_oid',
79
83
  :'description' => :'description',
80
84
  :'exclude_from_sitemap' => :'exclude_from_sitemap',
81
85
  :'group_template' => :'group_template',
@@ -106,6 +110,7 @@ module UltracartClient
106
110
  {
107
111
  :'attributes' => :'Array<SfvbPageAttribute>',
108
112
  :'blog_post_template' => :'String',
113
+ :'catalog_group_oid' => :'Integer',
109
114
  :'description' => :'String',
110
115
  :'exclude_from_sitemap' => :'Boolean',
111
116
  :'group_template' => :'String',
@@ -157,6 +162,10 @@ module UltracartClient
157
162
  self.blog_post_template = attributes[:'blog_post_template']
158
163
  end
159
164
 
165
+ if attributes.key?(:'catalog_group_oid')
166
+ self.catalog_group_oid = attributes[:'catalog_group_oid']
167
+ end
168
+
160
169
  if attributes.key?(:'description')
161
170
  self.description = attributes[:'description']
162
171
  end
@@ -250,6 +259,7 @@ module UltracartClient
250
259
  self.class == o.class &&
251
260
  attributes == o.attributes &&
252
261
  blog_post_template == o.blog_post_template &&
262
+ catalog_group_oid == o.catalog_group_oid &&
253
263
  description == o.description &&
254
264
  exclude_from_sitemap == o.exclude_from_sitemap &&
255
265
  group_template == o.group_template &&
@@ -278,7 +288,7 @@ module UltracartClient
278
288
  # Calculates hash code according to all attributes.
279
289
  # @return [Integer] Hash code
280
290
  def hash
281
- [attributes, blog_post_template, description, exclude_from_sitemap, group_template, item_template, items_per_page, multimedia, page_type, path, redirect, redirect_warnings, review_template, sort_order, sort_order_child_groups, sort_order_child_items, title, visible, visible_dts].hash
291
+ [attributes, blog_post_template, catalog_group_oid, description, exclude_from_sitemap, group_template, item_template, items_per_page, multimedia, page_type, path, redirect, redirect_warnings, review_template, sort_order, sort_order_child_groups, sort_order_child_items, title, visible, visible_dts].hash
282
292
  end
283
293
 
284
294
  # Builds the object from hash
@@ -15,9 +15,14 @@ require 'time'
15
15
 
16
16
  module UltracartClient
17
17
  class SfvbPageSummary
18
+ # The page's id. It stays the same when the page is moved or renamed, where the path and the page folder's id do not, and it is what a menu entry's catalog_group_oid names.
19
+ attr_accessor :catalog_group_oid
20
+
18
21
  # Number of pages directly under this one.
19
22
  attr_accessor :child_count
20
23
 
24
+ attr_accessor :detail
25
+
21
26
  # True when the page is left out of the sitemap and marked noindex.
22
27
  attr_accessor :exclude_from_sitemap
23
28
 
@@ -60,7 +65,9 @@ module UltracartClient
60
65
  # Attribute mapping from ruby-style variable name to JSON key.
61
66
  def self.attribute_map
62
67
  {
68
+ :'catalog_group_oid' => :'catalog_group_oid',
63
69
  :'child_count' => :'child_count',
70
+ :'detail' => :'detail',
64
71
  :'exclude_from_sitemap' => :'exclude_from_sitemap',
65
72
  :'group_template' => :'group_template',
66
73
  :'item_count' => :'item_count',
@@ -85,7 +92,9 @@ module UltracartClient
85
92
  # Attribute type mapping.
86
93
  def self.openapi_types
87
94
  {
95
+ :'catalog_group_oid' => :'Integer',
88
96
  :'child_count' => :'Integer',
97
+ :'detail' => :'SfvbPageResponse',
89
98
  :'exclude_from_sitemap' => :'Boolean',
90
99
  :'group_template' => :'String',
91
100
  :'item_count' => :'Integer',
@@ -123,10 +132,18 @@ module UltracartClient
123
132
  h[k.to_sym] = v
124
133
  }
125
134
 
135
+ if attributes.key?(:'catalog_group_oid')
136
+ self.catalog_group_oid = attributes[:'catalog_group_oid']
137
+ end
138
+
126
139
  if attributes.key?(:'child_count')
127
140
  self.child_count = attributes[:'child_count']
128
141
  end
129
142
 
143
+ if attributes.key?(:'detail')
144
+ self.detail = attributes[:'detail']
145
+ end
146
+
130
147
  if attributes.key?(:'exclude_from_sitemap')
131
148
  self.exclude_from_sitemap = attributes[:'exclude_from_sitemap']
132
149
  end
@@ -198,7 +215,9 @@ module UltracartClient
198
215
  def ==(o)
199
216
  return true if self.equal?(o)
200
217
  self.class == o.class &&
218
+ catalog_group_oid == o.catalog_group_oid &&
201
219
  child_count == o.child_count &&
220
+ detail == o.detail &&
202
221
  exclude_from_sitemap == o.exclude_from_sitemap &&
203
222
  group_template == o.group_template &&
204
223
  item_count == o.item_count &&
@@ -223,7 +242,7 @@ module UltracartClient
223
242
  # Calculates hash code according to all attributes.
224
243
  # @return [Integer] Hash code
225
244
  def hash
226
- [child_count, exclude_from_sitemap, group_template, item_count, item_template, page_type, parent_path, path, root, sort_order, title, uses_selectors, visible, visible_dts].hash
245
+ [catalog_group_oid, child_count, detail, exclude_from_sitemap, group_template, item_count, item_template, page_type, parent_path, path, root, sort_order, title, uses_selectors, visible, visible_dts].hash
227
246
  end
228
247
 
229
248
  # 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.253'
14
+ VERSION = '4.1.254'
15
15
  end
data/lib/ultracart_api.rb CHANGED
@@ -1104,6 +1104,7 @@ require 'ultracart_api/models/sfvb_experiment_start_variation'
1104
1104
  require 'ultracart_api/models/sfvb_experiment_variation_update_request'
1105
1105
  require 'ultracart_api/models/sfvb_experiments_response'
1106
1106
  require 'ultracart_api/models/sfvb_file_content_response'
1107
+ require 'ultracart_api/models/sfvb_file_content_result'
1107
1108
  require 'ultracart_api/models/sfvb_file_entry'
1108
1109
  require 'ultracart_api/models/sfvb_file_revert_request'
1109
1110
  require 'ultracart_api/models/sfvb_file_search_request'
@@ -1114,6 +1115,8 @@ require 'ultracart_api/models/sfvb_file_version'
1114
1115
  require 'ultracart_api/models/sfvb_file_versions_response'
1115
1116
  require 'ultracart_api/models/sfvb_file_write_request'
1116
1117
  require 'ultracart_api/models/sfvb_file_write_response'
1118
+ require 'ultracart_api/models/sfvb_files_content_request'
1119
+ require 'ultracart_api/models/sfvb_files_content_response'
1117
1120
  require 'ultracart_api/models/sfvb_files_response'
1118
1121
  require 'ultracart_api/models/sfvb_flow'
1119
1122
  require 'ultracart_api/models/sfvb_flow_backfill_request'
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.253
4
+ version: 4.1.254
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-13 00:00:00.000000000 Z
11
+ date: 2026-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -1166,6 +1166,7 @@ files:
1166
1166
  - docs/SfvbExperimentVariationUpdateRequest.md
1167
1167
  - docs/SfvbExperimentsResponse.md
1168
1168
  - docs/SfvbFileContentResponse.md
1169
+ - docs/SfvbFileContentResult.md
1169
1170
  - docs/SfvbFileEntry.md
1170
1171
  - docs/SfvbFileRevertRequest.md
1171
1172
  - docs/SfvbFileSearchRequest.md
@@ -1176,6 +1177,8 @@ files:
1176
1177
  - docs/SfvbFileVersionsResponse.md
1177
1178
  - docs/SfvbFileWriteRequest.md
1178
1179
  - docs/SfvbFileWriteResponse.md
1180
+ - docs/SfvbFilesContentRequest.md
1181
+ - docs/SfvbFilesContentResponse.md
1179
1182
  - docs/SfvbFilesResponse.md
1180
1183
  - docs/SfvbFlow.md
1181
1184
  - docs/SfvbFlowBackfillRequest.md
@@ -2676,6 +2679,7 @@ files:
2676
2679
  - lib/ultracart_api/models/sfvb_experiment_variation_update_request.rb
2677
2680
  - lib/ultracart_api/models/sfvb_experiments_response.rb
2678
2681
  - lib/ultracart_api/models/sfvb_file_content_response.rb
2682
+ - lib/ultracart_api/models/sfvb_file_content_result.rb
2679
2683
  - lib/ultracart_api/models/sfvb_file_entry.rb
2680
2684
  - lib/ultracart_api/models/sfvb_file_revert_request.rb
2681
2685
  - lib/ultracart_api/models/sfvb_file_search_request.rb
@@ -2686,6 +2690,8 @@ files:
2686
2690
  - lib/ultracart_api/models/sfvb_file_versions_response.rb
2687
2691
  - lib/ultracart_api/models/sfvb_file_write_request.rb
2688
2692
  - lib/ultracart_api/models/sfvb_file_write_response.rb
2693
+ - lib/ultracart_api/models/sfvb_files_content_request.rb
2694
+ - lib/ultracart_api/models/sfvb_files_content_response.rb
2689
2695
  - lib/ultracart_api/models/sfvb_files_response.rb
2690
2696
  - lib/ultracart_api/models/sfvb_flow.rb
2691
2697
  - lib/ultracart_api/models/sfvb_flow_backfill_request.rb