ultracart_api 3.10.49 → 3.10.51
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 +18 -4
- data/docs/FileManagerDirectory.md +20 -0
- data/docs/FileManagerFile.md +26 -0
- data/docs/FileManagerPage.md +15 -0
- data/docs/FileManagerUploadRequest.md +10 -0
- data/docs/FileManagerUploadUrlResponse.md +12 -0
- data/docs/ItemApi.md +113 -0
- data/docs/ItemDigitalItem.md +1 -0
- data/docs/StorefrontApi.md +270 -0
- data/lib/ultracart_api/api/item_api.rb +122 -0
- data/lib/ultracart_api/api/storefront_api.rb +297 -0
- data/lib/ultracart_api/models/file_manager_directory.rb +292 -0
- data/lib/ultracart_api/models/file_manager_file.rb +346 -0
- data/lib/ultracart_api/models/file_manager_page.rb +253 -0
- data/lib/ultracart_api/models/file_manager_upload_request.rb +202 -0
- data/lib/ultracart_api/models/file_manager_upload_url_response.rb +221 -0
- data/lib/ultracart_api/models/item_digital_item.rb +26 -1
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +5 -0
- metadata +12 -2
@@ -0,0 +1,202 @@
|
|
1
|
+
=begin
|
2
|
+
#UltraCart Rest API V2
|
3
|
+
|
4
|
+
#UltraCart REST API Version 2
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.0.0
|
7
|
+
Contact: support@ultracart.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.15-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module UltracartClient
|
16
|
+
class FileManagerUploadRequest
|
17
|
+
attr_accessor :filename
|
18
|
+
|
19
|
+
attr_accessor :key
|
20
|
+
|
21
|
+
attr_accessor :parent_storefront_fs_directory_oid
|
22
|
+
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
24
|
+
def self.attribute_map
|
25
|
+
{
|
26
|
+
:'filename' => :'filename',
|
27
|
+
:'key' => :'key',
|
28
|
+
:'parent_storefront_fs_directory_oid' => :'parent_storefront_fs_directory_oid'
|
29
|
+
}
|
30
|
+
end
|
31
|
+
|
32
|
+
# Attribute type mapping.
|
33
|
+
def self.swagger_types
|
34
|
+
{
|
35
|
+
:'filename' => :'String',
|
36
|
+
:'key' => :'String',
|
37
|
+
:'parent_storefront_fs_directory_oid' => :'Integer'
|
38
|
+
}
|
39
|
+
end
|
40
|
+
|
41
|
+
# Initializes the object
|
42
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
43
|
+
def initialize(attributes = {})
|
44
|
+
return unless attributes.is_a?(Hash)
|
45
|
+
|
46
|
+
# convert string to symbol for hash key
|
47
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
48
|
+
|
49
|
+
if attributes.has_key?(:'filename')
|
50
|
+
self.filename = attributes[:'filename']
|
51
|
+
end
|
52
|
+
|
53
|
+
if attributes.has_key?(:'key')
|
54
|
+
self.key = attributes[:'key']
|
55
|
+
end
|
56
|
+
|
57
|
+
if attributes.has_key?(:'parent_storefront_fs_directory_oid')
|
58
|
+
self.parent_storefront_fs_directory_oid = attributes[:'parent_storefront_fs_directory_oid']
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
63
|
+
# @return Array for valid properties with the reasons
|
64
|
+
def list_invalid_properties
|
65
|
+
invalid_properties = Array.new
|
66
|
+
invalid_properties
|
67
|
+
end
|
68
|
+
|
69
|
+
# Check to see if the all the properties in the model are valid
|
70
|
+
# @return true if the model is valid
|
71
|
+
def valid?
|
72
|
+
true
|
73
|
+
end
|
74
|
+
|
75
|
+
# Checks equality by comparing each attribute.
|
76
|
+
# @param [Object] Object to be compared
|
77
|
+
def ==(o)
|
78
|
+
return true if self.equal?(o)
|
79
|
+
self.class == o.class &&
|
80
|
+
filename == o.filename &&
|
81
|
+
key == o.key &&
|
82
|
+
parent_storefront_fs_directory_oid == o.parent_storefront_fs_directory_oid
|
83
|
+
end
|
84
|
+
|
85
|
+
# @see the `==` method
|
86
|
+
# @param [Object] Object to be compared
|
87
|
+
def eql?(o)
|
88
|
+
self == o
|
89
|
+
end
|
90
|
+
|
91
|
+
# Calculates hash code according to all attributes.
|
92
|
+
# @return [Fixnum] Hash code
|
93
|
+
def hash
|
94
|
+
[filename, key, parent_storefront_fs_directory_oid].hash
|
95
|
+
end
|
96
|
+
|
97
|
+
# Builds the object from hash
|
98
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
99
|
+
# @return [Object] Returns the model itself
|
100
|
+
def build_from_hash(attributes)
|
101
|
+
return nil unless attributes.is_a?(Hash)
|
102
|
+
self.class.swagger_types.each_pair do |key, type|
|
103
|
+
if type =~ /\AArray<(.*)>/i
|
104
|
+
# check to ensure the input is an array given that the attribute
|
105
|
+
# is documented as an array but the input is not
|
106
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
107
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
108
|
+
end
|
109
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
110
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
111
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
112
|
+
end
|
113
|
+
|
114
|
+
self
|
115
|
+
end
|
116
|
+
|
117
|
+
# Deserializes the data based on type
|
118
|
+
# @param string type Data type
|
119
|
+
# @param string value Value to be deserialized
|
120
|
+
# @return [Object] Deserialized data
|
121
|
+
def _deserialize(type, value)
|
122
|
+
case type.to_sym
|
123
|
+
when :DateTime
|
124
|
+
DateTime.parse(value)
|
125
|
+
when :Date
|
126
|
+
Date.parse(value)
|
127
|
+
when :String
|
128
|
+
value.to_s
|
129
|
+
when :Integer
|
130
|
+
value.to_i
|
131
|
+
when :Float
|
132
|
+
value.to_f
|
133
|
+
when :BOOLEAN
|
134
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
135
|
+
true
|
136
|
+
else
|
137
|
+
false
|
138
|
+
end
|
139
|
+
when :Object
|
140
|
+
# generic object (usually a Hash), return directly
|
141
|
+
value
|
142
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
143
|
+
inner_type = Regexp.last_match[:inner_type]
|
144
|
+
value.map { |v| _deserialize(inner_type, v) }
|
145
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
146
|
+
k_type = Regexp.last_match[:k_type]
|
147
|
+
v_type = Regexp.last_match[:v_type]
|
148
|
+
{}.tap do |hash|
|
149
|
+
value.each do |k, v|
|
150
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
else # model
|
154
|
+
temp_model = UltracartClient.const_get(type).new
|
155
|
+
temp_model.build_from_hash(value)
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
# Returns the string representation of the object
|
160
|
+
# @return [String] String presentation of the object
|
161
|
+
def to_s
|
162
|
+
to_hash.to_s
|
163
|
+
end
|
164
|
+
|
165
|
+
# to_body is an alias to to_hash (backward compatibility)
|
166
|
+
# @return [Hash] Returns the object in the form of hash
|
167
|
+
def to_body
|
168
|
+
to_hash
|
169
|
+
end
|
170
|
+
|
171
|
+
# Returns the object in the form of hash
|
172
|
+
# @return [Hash] Returns the object in the form of hash
|
173
|
+
def to_hash
|
174
|
+
hash = {}
|
175
|
+
self.class.attribute_map.each_pair do |attr, param|
|
176
|
+
value = self.send(attr)
|
177
|
+
next if value.nil?
|
178
|
+
hash[param] = _to_hash(value)
|
179
|
+
end
|
180
|
+
hash
|
181
|
+
end
|
182
|
+
|
183
|
+
# Outputs non-array value in the form of hash
|
184
|
+
# For object, use to_hash. Otherwise, just return the value
|
185
|
+
# @param [Object] value Any valid value
|
186
|
+
# @return [Hash] Returns the value in the form of hash
|
187
|
+
def _to_hash(value)
|
188
|
+
if value.is_a?(Array)
|
189
|
+
value.compact.map { |v| _to_hash(v) }
|
190
|
+
elsif value.is_a?(Hash)
|
191
|
+
{}.tap do |hash|
|
192
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
193
|
+
end
|
194
|
+
elsif value.respond_to? :to_hash
|
195
|
+
value.to_hash
|
196
|
+
else
|
197
|
+
value
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
201
|
+
end
|
202
|
+
end
|
@@ -0,0 +1,221 @@
|
|
1
|
+
=begin
|
2
|
+
#UltraCart Rest API V2
|
3
|
+
|
4
|
+
#UltraCart REST API Version 2
|
5
|
+
|
6
|
+
OpenAPI spec version: 2.0.0
|
7
|
+
Contact: support@ultracart.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.15-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module UltracartClient
|
16
|
+
class FileManagerUploadUrlResponse
|
17
|
+
attr_accessor :error
|
18
|
+
|
19
|
+
attr_accessor :key
|
20
|
+
|
21
|
+
attr_accessor :metadata
|
22
|
+
|
23
|
+
# Indicates if API call was successful
|
24
|
+
attr_accessor :success
|
25
|
+
|
26
|
+
attr_accessor :warning
|
27
|
+
|
28
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
29
|
+
def self.attribute_map
|
30
|
+
{
|
31
|
+
:'error' => :'error',
|
32
|
+
:'key' => :'key',
|
33
|
+
:'metadata' => :'metadata',
|
34
|
+
:'success' => :'success',
|
35
|
+
:'warning' => :'warning'
|
36
|
+
}
|
37
|
+
end
|
38
|
+
|
39
|
+
# Attribute type mapping.
|
40
|
+
def self.swagger_types
|
41
|
+
{
|
42
|
+
:'error' => :'Error',
|
43
|
+
:'key' => :'String',
|
44
|
+
:'metadata' => :'ResponseMetadata',
|
45
|
+
:'success' => :'BOOLEAN',
|
46
|
+
:'warning' => :'Warning'
|
47
|
+
}
|
48
|
+
end
|
49
|
+
|
50
|
+
# Initializes the object
|
51
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
52
|
+
def initialize(attributes = {})
|
53
|
+
return unless attributes.is_a?(Hash)
|
54
|
+
|
55
|
+
# convert string to symbol for hash key
|
56
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
57
|
+
|
58
|
+
if attributes.has_key?(:'error')
|
59
|
+
self.error = attributes[:'error']
|
60
|
+
end
|
61
|
+
|
62
|
+
if attributes.has_key?(:'key')
|
63
|
+
self.key = attributes[:'key']
|
64
|
+
end
|
65
|
+
|
66
|
+
if attributes.has_key?(:'metadata')
|
67
|
+
self.metadata = attributes[:'metadata']
|
68
|
+
end
|
69
|
+
|
70
|
+
if attributes.has_key?(:'success')
|
71
|
+
self.success = attributes[:'success']
|
72
|
+
end
|
73
|
+
|
74
|
+
if attributes.has_key?(:'warning')
|
75
|
+
self.warning = attributes[:'warning']
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
80
|
+
# @return Array for valid properties with the reasons
|
81
|
+
def list_invalid_properties
|
82
|
+
invalid_properties = Array.new
|
83
|
+
invalid_properties
|
84
|
+
end
|
85
|
+
|
86
|
+
# Check to see if the all the properties in the model are valid
|
87
|
+
# @return true if the model is valid
|
88
|
+
def valid?
|
89
|
+
true
|
90
|
+
end
|
91
|
+
|
92
|
+
# Checks equality by comparing each attribute.
|
93
|
+
# @param [Object] Object to be compared
|
94
|
+
def ==(o)
|
95
|
+
return true if self.equal?(o)
|
96
|
+
self.class == o.class &&
|
97
|
+
error == o.error &&
|
98
|
+
key == o.key &&
|
99
|
+
metadata == o.metadata &&
|
100
|
+
success == o.success &&
|
101
|
+
warning == o.warning
|
102
|
+
end
|
103
|
+
|
104
|
+
# @see the `==` method
|
105
|
+
# @param [Object] Object to be compared
|
106
|
+
def eql?(o)
|
107
|
+
self == o
|
108
|
+
end
|
109
|
+
|
110
|
+
# Calculates hash code according to all attributes.
|
111
|
+
# @return [Fixnum] Hash code
|
112
|
+
def hash
|
113
|
+
[error, key, metadata, success, warning].hash
|
114
|
+
end
|
115
|
+
|
116
|
+
# Builds the object from hash
|
117
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
118
|
+
# @return [Object] Returns the model itself
|
119
|
+
def build_from_hash(attributes)
|
120
|
+
return nil unless attributes.is_a?(Hash)
|
121
|
+
self.class.swagger_types.each_pair do |key, type|
|
122
|
+
if type =~ /\AArray<(.*)>/i
|
123
|
+
# check to ensure the input is an array given that the attribute
|
124
|
+
# is documented as an array but the input is not
|
125
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
126
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
127
|
+
end
|
128
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
129
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
130
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
131
|
+
end
|
132
|
+
|
133
|
+
self
|
134
|
+
end
|
135
|
+
|
136
|
+
# Deserializes the data based on type
|
137
|
+
# @param string type Data type
|
138
|
+
# @param string value Value to be deserialized
|
139
|
+
# @return [Object] Deserialized data
|
140
|
+
def _deserialize(type, value)
|
141
|
+
case type.to_sym
|
142
|
+
when :DateTime
|
143
|
+
DateTime.parse(value)
|
144
|
+
when :Date
|
145
|
+
Date.parse(value)
|
146
|
+
when :String
|
147
|
+
value.to_s
|
148
|
+
when :Integer
|
149
|
+
value.to_i
|
150
|
+
when :Float
|
151
|
+
value.to_f
|
152
|
+
when :BOOLEAN
|
153
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
154
|
+
true
|
155
|
+
else
|
156
|
+
false
|
157
|
+
end
|
158
|
+
when :Object
|
159
|
+
# generic object (usually a Hash), return directly
|
160
|
+
value
|
161
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
162
|
+
inner_type = Regexp.last_match[:inner_type]
|
163
|
+
value.map { |v| _deserialize(inner_type, v) }
|
164
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
165
|
+
k_type = Regexp.last_match[:k_type]
|
166
|
+
v_type = Regexp.last_match[:v_type]
|
167
|
+
{}.tap do |hash|
|
168
|
+
value.each do |k, v|
|
169
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
170
|
+
end
|
171
|
+
end
|
172
|
+
else # model
|
173
|
+
temp_model = UltracartClient.const_get(type).new
|
174
|
+
temp_model.build_from_hash(value)
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
# Returns the string representation of the object
|
179
|
+
# @return [String] String presentation of the object
|
180
|
+
def to_s
|
181
|
+
to_hash.to_s
|
182
|
+
end
|
183
|
+
|
184
|
+
# to_body is an alias to to_hash (backward compatibility)
|
185
|
+
# @return [Hash] Returns the object in the form of hash
|
186
|
+
def to_body
|
187
|
+
to_hash
|
188
|
+
end
|
189
|
+
|
190
|
+
# Returns the object in the form of hash
|
191
|
+
# @return [Hash] Returns the object in the form of hash
|
192
|
+
def to_hash
|
193
|
+
hash = {}
|
194
|
+
self.class.attribute_map.each_pair do |attr, param|
|
195
|
+
value = self.send(attr)
|
196
|
+
next if value.nil?
|
197
|
+
hash[param] = _to_hash(value)
|
198
|
+
end
|
199
|
+
hash
|
200
|
+
end
|
201
|
+
|
202
|
+
# Outputs non-array value in the form of hash
|
203
|
+
# For object, use to_hash. Otherwise, just return the value
|
204
|
+
# @param [Object] value Any valid value
|
205
|
+
# @return [Hash] Returns the value in the form of hash
|
206
|
+
def _to_hash(value)
|
207
|
+
if value.is_a?(Array)
|
208
|
+
value.compact.map { |v| _to_hash(v) }
|
209
|
+
elsif value.is_a?(Hash)
|
210
|
+
{}.tap do |hash|
|
211
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
212
|
+
end
|
213
|
+
elsif value.respond_to? :to_hash
|
214
|
+
value.to_hash
|
215
|
+
else
|
216
|
+
value
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
end
|
221
|
+
end
|
@@ -26,6 +26,9 @@ module UltracartClient
|
|
26
26
|
# The Digital item oid is a primary key used internally by UltraCart. You should not set or change this value. Doing so will have no effect.
|
27
27
|
attr_accessor :digital_item_oid
|
28
28
|
|
29
|
+
# External Id useful for syncing with a remote filesystem, this may be an MD5 hash or whatever suits your needs.
|
30
|
+
attr_accessor :external_id
|
31
|
+
|
29
32
|
# File size
|
30
33
|
attr_accessor :file_size
|
31
34
|
|
@@ -47,6 +50,7 @@ module UltracartClient
|
|
47
50
|
:'creation_dts' => :'creation_dts',
|
48
51
|
:'description' => :'description',
|
49
52
|
:'digital_item_oid' => :'digital_item_oid',
|
53
|
+
:'external_id' => :'external_id',
|
50
54
|
:'file_size' => :'file_size',
|
51
55
|
:'import_from_url' => :'import_from_url',
|
52
56
|
:'mime_type' => :'mime_type',
|
@@ -62,6 +66,7 @@ module UltracartClient
|
|
62
66
|
:'creation_dts' => :'String',
|
63
67
|
:'description' => :'String',
|
64
68
|
:'digital_item_oid' => :'Integer',
|
69
|
+
:'external_id' => :'String',
|
65
70
|
:'file_size' => :'Integer',
|
66
71
|
:'import_from_url' => :'String',
|
67
72
|
:'mime_type' => :'String',
|
@@ -94,6 +99,10 @@ module UltracartClient
|
|
94
99
|
self.digital_item_oid = attributes[:'digital_item_oid']
|
95
100
|
end
|
96
101
|
|
102
|
+
if attributes.has_key?(:'external_id')
|
103
|
+
self.external_id = attributes[:'external_id']
|
104
|
+
end
|
105
|
+
|
97
106
|
if attributes.has_key?(:'file_size')
|
98
107
|
self.file_size = attributes[:'file_size']
|
99
108
|
end
|
@@ -123,6 +132,10 @@ module UltracartClient
|
|
123
132
|
invalid_properties.push('invalid value for "description", the character length must be smaller than or equal to 200.')
|
124
133
|
end
|
125
134
|
|
135
|
+
if !@external_id.nil? && @external_id.to_s.length > 100
|
136
|
+
invalid_properties.push('invalid value for "external_id", the character length must be smaller than or equal to 100.')
|
137
|
+
end
|
138
|
+
|
126
139
|
if !@mime_type.nil? && @mime_type.to_s.length > 100
|
127
140
|
invalid_properties.push('invalid value for "mime_type", the character length must be smaller than or equal to 100.')
|
128
141
|
end
|
@@ -138,6 +151,7 @@ module UltracartClient
|
|
138
151
|
# @return true if the model is valid
|
139
152
|
def valid?
|
140
153
|
return false if !@description.nil? && @description.to_s.length > 200
|
154
|
+
return false if !@external_id.nil? && @external_id.to_s.length > 100
|
141
155
|
return false if !@mime_type.nil? && @mime_type.to_s.length > 100
|
142
156
|
return false if !@original_filename.nil? && @original_filename.to_s.length > 250
|
143
157
|
true
|
@@ -153,6 +167,16 @@ module UltracartClient
|
|
153
167
|
@description = description
|
154
168
|
end
|
155
169
|
|
170
|
+
# Custom attribute writer method with validation
|
171
|
+
# @param [Object] external_id Value to be assigned
|
172
|
+
def external_id=(external_id)
|
173
|
+
if !external_id.nil? && external_id.to_s.length > 100
|
174
|
+
fail ArgumentError, 'invalid value for "external_id", the character length must be smaller than or equal to 100.'
|
175
|
+
end
|
176
|
+
|
177
|
+
@external_id = external_id
|
178
|
+
end
|
179
|
+
|
156
180
|
# Custom attribute writer method with validation
|
157
181
|
# @param [Object] mime_type Value to be assigned
|
158
182
|
def mime_type=(mime_type)
|
@@ -182,6 +206,7 @@ module UltracartClient
|
|
182
206
|
creation_dts == o.creation_dts &&
|
183
207
|
description == o.description &&
|
184
208
|
digital_item_oid == o.digital_item_oid &&
|
209
|
+
external_id == o.external_id &&
|
185
210
|
file_size == o.file_size &&
|
186
211
|
import_from_url == o.import_from_url &&
|
187
212
|
mime_type == o.mime_type &&
|
@@ -198,7 +223,7 @@ module UltracartClient
|
|
198
223
|
# Calculates hash code according to all attributes.
|
199
224
|
# @return [Fixnum] Hash code
|
200
225
|
def hash
|
201
|
-
[click_wrap_agreement, creation_dts, description, digital_item_oid, file_size, import_from_url, mime_type, original_filename, pdf_meta].hash
|
226
|
+
[click_wrap_agreement, creation_dts, description, digital_item_oid, external_id, file_size, import_from_url, mime_type, original_filename, pdf_meta].hash
|
202
227
|
end
|
203
228
|
|
204
229
|
# Builds the object from hash
|
data/lib/ultracart_api.rb
CHANGED
@@ -379,6 +379,11 @@ require 'ultracart_api/models/experiment_response'
|
|
379
379
|
require 'ultracart_api/models/experiment_variation'
|
380
380
|
require 'ultracart_api/models/experiment_variation_stat'
|
381
381
|
require 'ultracart_api/models/experiments_response'
|
382
|
+
require 'ultracart_api/models/file_manager_directory'
|
383
|
+
require 'ultracart_api/models/file_manager_file'
|
384
|
+
require 'ultracart_api/models/file_manager_page'
|
385
|
+
require 'ultracart_api/models/file_manager_upload_request'
|
386
|
+
require 'ultracart_api/models/file_manager_upload_url_response'
|
382
387
|
require 'ultracart_api/models/fulfillment_inventory'
|
383
388
|
require 'ultracart_api/models/fulfillment_shipment'
|
384
389
|
require 'ultracart_api/models/geo_point'
|
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: 3.10.
|
4
|
+
version: 3.10.51
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -591,6 +591,11 @@ files:
|
|
591
591
|
- docs/ExperimentVariation.md
|
592
592
|
- docs/ExperimentVariationStat.md
|
593
593
|
- docs/ExperimentsResponse.md
|
594
|
+
- docs/FileManagerDirectory.md
|
595
|
+
- docs/FileManagerFile.md
|
596
|
+
- docs/FileManagerPage.md
|
597
|
+
- docs/FileManagerUploadRequest.md
|
598
|
+
- docs/FileManagerUploadUrlResponse.md
|
594
599
|
- docs/FulfillmentApi.md
|
595
600
|
- docs/FulfillmentInventory.md
|
596
601
|
- docs/FulfillmentShipment.md
|
@@ -1299,6 +1304,11 @@ files:
|
|
1299
1304
|
- lib/ultracart_api/models/experiment_variation.rb
|
1300
1305
|
- lib/ultracart_api/models/experiment_variation_stat.rb
|
1301
1306
|
- lib/ultracart_api/models/experiments_response.rb
|
1307
|
+
- lib/ultracart_api/models/file_manager_directory.rb
|
1308
|
+
- lib/ultracart_api/models/file_manager_file.rb
|
1309
|
+
- lib/ultracart_api/models/file_manager_page.rb
|
1310
|
+
- lib/ultracart_api/models/file_manager_upload_request.rb
|
1311
|
+
- lib/ultracart_api/models/file_manager_upload_url_response.rb
|
1302
1312
|
- lib/ultracart_api/models/fulfillment_inventory.rb
|
1303
1313
|
- lib/ultracart_api/models/fulfillment_shipment.rb
|
1304
1314
|
- lib/ultracart_api/models/geo_point.rb
|