ultracart_api 4.1.253 → 4.1.255
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 +11 -2
- data/docs/SfvbApi.md +177 -11
- data/docs/SfvbApprovalParams.md +2 -0
- data/docs/SfvbCliLocation.md +20 -0
- data/docs/SfvbFileContentResult.md +22 -0
- data/docs/SfvbFilesContentRequest.md +18 -0
- data/docs/SfvbFilesContentResponse.md +20 -0
- data/docs/SfvbMenusResponse.md +1 -1
- data/docs/SfvbPageListResponse.md +5 -1
- data/docs/SfvbPageResponse.md +2 -0
- data/docs/SfvbPageSummary.md +4 -0
- data/docs/SfvbWhoamiResponse.md +2 -0
- data/lib/ultracart_api/api/sfvb_api.rb +223 -18
- data/lib/ultracart_api/models/sfvb_approval_create_request.rb +2 -2
- data/lib/ultracart_api/models/sfvb_approval_params.rb +11 -1
- data/lib/ultracart_api/models/sfvb_cli_location.rb +230 -0
- data/lib/ultracart_api/models/sfvb_file_content_result.rb +238 -0
- data/lib/ultracart_api/models/sfvb_files_content_request.rb +222 -0
- data/lib/ultracart_api/models/sfvb_files_content_response.rb +234 -0
- data/lib/ultracart_api/models/sfvb_menus_response.rb +1 -1
- data/lib/ultracart_api/models/sfvb_page_list_response.rb +24 -4
- data/lib/ultracart_api/models/sfvb_page_response.rb +11 -1
- data/lib/ultracart_api/models/sfvb_page_summary.rb +20 -1
- data/lib/ultracart_api/models/sfvb_whoami_response.rb +10 -1
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +4 -0
- metadata +10 -2
|
@@ -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
|
-
:'
|
|
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
|
-
:'
|
|
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
|
-
|
|
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
|
|
@@ -44,6 +44,8 @@ module UltracartClient
|
|
|
44
44
|
|
|
45
45
|
attr_accessor :cli_access
|
|
46
46
|
|
|
47
|
+
attr_accessor :cli_location
|
|
48
|
+
|
|
47
49
|
attr_accessor :cli_version
|
|
48
50
|
|
|
49
51
|
# Device scope name, when this is a device flow token.
|
|
@@ -80,6 +82,7 @@ module UltracartClient
|
|
|
80
82
|
:'can_read_items' => :'can_read_items',
|
|
81
83
|
:'can_write' => :'can_write',
|
|
82
84
|
:'cli_access' => :'cli_access',
|
|
85
|
+
:'cli_location' => :'cli_location',
|
|
83
86
|
:'cli_version' => :'cli_version',
|
|
84
87
|
:'device_scope' => :'device_scope',
|
|
85
88
|
:'login' => :'login',
|
|
@@ -109,6 +112,7 @@ module UltracartClient
|
|
|
109
112
|
:'can_read_items' => :'Boolean',
|
|
110
113
|
:'can_write' => :'Boolean',
|
|
111
114
|
:'cli_access' => :'SfvbCliAccess',
|
|
115
|
+
:'cli_location' => :'SfvbCliLocation',
|
|
112
116
|
:'cli_version' => :'SfvbCliVersion',
|
|
113
117
|
:'device_scope' => :'String',
|
|
114
118
|
:'login' => :'String',
|
|
@@ -181,6 +185,10 @@ module UltracartClient
|
|
|
181
185
|
self.cli_access = attributes[:'cli_access']
|
|
182
186
|
end
|
|
183
187
|
|
|
188
|
+
if attributes.key?(:'cli_location')
|
|
189
|
+
self.cli_location = attributes[:'cli_location']
|
|
190
|
+
end
|
|
191
|
+
|
|
184
192
|
if attributes.key?(:'cli_version')
|
|
185
193
|
self.cli_version = attributes[:'cli_version']
|
|
186
194
|
end
|
|
@@ -246,6 +254,7 @@ module UltracartClient
|
|
|
246
254
|
can_read_items == o.can_read_items &&
|
|
247
255
|
can_write == o.can_write &&
|
|
248
256
|
cli_access == o.cli_access &&
|
|
257
|
+
cli_location == o.cli_location &&
|
|
249
258
|
cli_version == o.cli_version &&
|
|
250
259
|
device_scope == o.device_scope &&
|
|
251
260
|
login == o.login &&
|
|
@@ -265,7 +274,7 @@ module UltracartClient
|
|
|
265
274
|
# Calculates hash code according to all attributes.
|
|
266
275
|
# @return [Integer] Hash code
|
|
267
276
|
def hash
|
|
268
|
-
[acting_as_user, application_name, authentication_type, can_edit_items, can_publish, can_publish_public, can_read, can_read_items, can_write, cli_access, cli_version, device_scope, login, merchant_id, scopes, storefronts, storefronts_withheld, user_name].hash
|
|
277
|
+
[acting_as_user, application_name, authentication_type, can_edit_items, can_publish, can_publish_public, can_read, can_read_items, can_write, cli_access, cli_location, cli_version, device_scope, login, merchant_id, scopes, storefronts, storefronts_withheld, user_name].hash
|
|
269
278
|
end
|
|
270
279
|
|
|
271
280
|
# Builds the object from hash
|
data/lib/ultracart_api.rb
CHANGED
|
@@ -1005,6 +1005,7 @@ require 'ultracart_api/models/sfvb_campaign_membership'
|
|
|
1005
1005
|
require 'ultracart_api/models/sfvb_campaign_write_request'
|
|
1006
1006
|
require 'ultracart_api/models/sfvb_campaigns_response'
|
|
1007
1007
|
require 'ultracart_api/models/sfvb_cli_access'
|
|
1008
|
+
require 'ultracart_api/models/sfvb_cli_location'
|
|
1008
1009
|
require 'ultracart_api/models/sfvb_cli_version'
|
|
1009
1010
|
require 'ultracart_api/models/sfvb_code_library_email'
|
|
1010
1011
|
require 'ultracart_api/models/sfvb_code_library_emails_response'
|
|
@@ -1104,6 +1105,7 @@ require 'ultracart_api/models/sfvb_experiment_start_variation'
|
|
|
1104
1105
|
require 'ultracart_api/models/sfvb_experiment_variation_update_request'
|
|
1105
1106
|
require 'ultracart_api/models/sfvb_experiments_response'
|
|
1106
1107
|
require 'ultracart_api/models/sfvb_file_content_response'
|
|
1108
|
+
require 'ultracart_api/models/sfvb_file_content_result'
|
|
1107
1109
|
require 'ultracart_api/models/sfvb_file_entry'
|
|
1108
1110
|
require 'ultracart_api/models/sfvb_file_revert_request'
|
|
1109
1111
|
require 'ultracart_api/models/sfvb_file_search_request'
|
|
@@ -1114,6 +1116,8 @@ require 'ultracart_api/models/sfvb_file_version'
|
|
|
1114
1116
|
require 'ultracart_api/models/sfvb_file_versions_response'
|
|
1115
1117
|
require 'ultracart_api/models/sfvb_file_write_request'
|
|
1116
1118
|
require 'ultracart_api/models/sfvb_file_write_response'
|
|
1119
|
+
require 'ultracart_api/models/sfvb_files_content_request'
|
|
1120
|
+
require 'ultracart_api/models/sfvb_files_content_response'
|
|
1117
1121
|
require 'ultracart_api/models/sfvb_files_response'
|
|
1118
1122
|
require 'ultracart_api/models/sfvb_flow'
|
|
1119
1123
|
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.
|
|
4
|
+
version: 4.1.255
|
|
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-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -1067,6 +1067,7 @@ files:
|
|
|
1067
1067
|
- docs/SfvbCampaignWriteRequest.md
|
|
1068
1068
|
- docs/SfvbCampaignsResponse.md
|
|
1069
1069
|
- docs/SfvbCliAccess.md
|
|
1070
|
+
- docs/SfvbCliLocation.md
|
|
1070
1071
|
- docs/SfvbCliVersion.md
|
|
1071
1072
|
- docs/SfvbCodeLibraryEmail.md
|
|
1072
1073
|
- docs/SfvbCodeLibraryEmailsResponse.md
|
|
@@ -1166,6 +1167,7 @@ files:
|
|
|
1166
1167
|
- docs/SfvbExperimentVariationUpdateRequest.md
|
|
1167
1168
|
- docs/SfvbExperimentsResponse.md
|
|
1168
1169
|
- docs/SfvbFileContentResponse.md
|
|
1170
|
+
- docs/SfvbFileContentResult.md
|
|
1169
1171
|
- docs/SfvbFileEntry.md
|
|
1170
1172
|
- docs/SfvbFileRevertRequest.md
|
|
1171
1173
|
- docs/SfvbFileSearchRequest.md
|
|
@@ -1176,6 +1178,8 @@ files:
|
|
|
1176
1178
|
- docs/SfvbFileVersionsResponse.md
|
|
1177
1179
|
- docs/SfvbFileWriteRequest.md
|
|
1178
1180
|
- docs/SfvbFileWriteResponse.md
|
|
1181
|
+
- docs/SfvbFilesContentRequest.md
|
|
1182
|
+
- docs/SfvbFilesContentResponse.md
|
|
1179
1183
|
- docs/SfvbFilesResponse.md
|
|
1180
1184
|
- docs/SfvbFlow.md
|
|
1181
1185
|
- docs/SfvbFlowBackfillRequest.md
|
|
@@ -2577,6 +2581,7 @@ files:
|
|
|
2577
2581
|
- lib/ultracart_api/models/sfvb_campaign_write_request.rb
|
|
2578
2582
|
- lib/ultracart_api/models/sfvb_campaigns_response.rb
|
|
2579
2583
|
- lib/ultracart_api/models/sfvb_cli_access.rb
|
|
2584
|
+
- lib/ultracart_api/models/sfvb_cli_location.rb
|
|
2580
2585
|
- lib/ultracart_api/models/sfvb_cli_version.rb
|
|
2581
2586
|
- lib/ultracart_api/models/sfvb_code_library_email.rb
|
|
2582
2587
|
- lib/ultracart_api/models/sfvb_code_library_emails_response.rb
|
|
@@ -2676,6 +2681,7 @@ files:
|
|
|
2676
2681
|
- lib/ultracart_api/models/sfvb_experiment_variation_update_request.rb
|
|
2677
2682
|
- lib/ultracart_api/models/sfvb_experiments_response.rb
|
|
2678
2683
|
- lib/ultracart_api/models/sfvb_file_content_response.rb
|
|
2684
|
+
- lib/ultracart_api/models/sfvb_file_content_result.rb
|
|
2679
2685
|
- lib/ultracart_api/models/sfvb_file_entry.rb
|
|
2680
2686
|
- lib/ultracart_api/models/sfvb_file_revert_request.rb
|
|
2681
2687
|
- lib/ultracart_api/models/sfvb_file_search_request.rb
|
|
@@ -2686,6 +2692,8 @@ files:
|
|
|
2686
2692
|
- lib/ultracart_api/models/sfvb_file_versions_response.rb
|
|
2687
2693
|
- lib/ultracart_api/models/sfvb_file_write_request.rb
|
|
2688
2694
|
- lib/ultracart_api/models/sfvb_file_write_response.rb
|
|
2695
|
+
- lib/ultracart_api/models/sfvb_files_content_request.rb
|
|
2696
|
+
- lib/ultracart_api/models/sfvb_files_content_response.rb
|
|
2689
2697
|
- lib/ultracart_api/models/sfvb_files_response.rb
|
|
2690
2698
|
- lib/ultracart_api/models/sfvb_flow.rb
|
|
2691
2699
|
- lib/ultracart_api/models/sfvb_flow_backfill_request.rb
|