ultracart_api 4.0.181 → 4.0.183
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +29 -4
- data/docs/CartPayment.md +2 -0
- data/docs/CartPaymentHealthBenefitCard.md +28 -0
- data/docs/OrderPayment.md +2 -0
- data/docs/OrderPaymentHealthBenefitCard.md +28 -0
- data/docs/WorkflowApi.md +603 -0
- data/docs/WorkflowAttachment.md +26 -0
- data/docs/WorkflowAttachmentUploadUrl.md +20 -0
- data/docs/WorkflowAttachmentUploadUrlResponse.md +26 -0
- data/docs/WorkflowGroup.md +20 -0
- data/docs/WorkflowGroupsResponse.md +26 -0
- data/docs/WorkflowNote.md +28 -0
- data/docs/WorkflowTask.md +60 -0
- data/docs/WorkflowTaskHistory.md +24 -0
- data/docs/WorkflowTaskResponse.md +26 -0
- data/docs/WorkflowTasksRequest.md +50 -0
- data/docs/WorkflowTasksResponse.md +26 -0
- data/docs/WorkflowUser.md +22 -0
- data/docs/WorkflowUsersResponse.md +26 -0
- data/lib/ultracart_api/api/workflow_api.rb +583 -0
- data/lib/ultracart_api/models/cart_payment.rb +10 -1
- data/lib/ultracart_api/models/cart_payment_health_benefit_card.rb +270 -0
- data/lib/ultracart_api/models/order_payment.rb +12 -3
- data/lib/ultracart_api/models/order_payment_health_benefit_card.rb +270 -0
- data/lib/ultracart_api/models/workflow_attachment.rb +260 -0
- data/lib/ultracart_api/models/workflow_attachment_upload_url.rb +228 -0
- data/lib/ultracart_api/models/workflow_attachment_upload_url_response.rb +256 -0
- data/lib/ultracart_api/models/workflow_group.rb +230 -0
- data/lib/ultracart_api/models/workflow_groups_response.rb +259 -0
- data/lib/ultracart_api/models/workflow_note.rb +271 -0
- data/lib/ultracart_api/models/workflow_task.rb +493 -0
- data/lib/ultracart_api/models/workflow_task_history.rb +249 -0
- data/lib/ultracart_api/models/workflow_task_response.rb +256 -0
- data/lib/ultracart_api/models/workflow_tasks_request.rb +437 -0
- data/lib/ultracart_api/models/workflow_tasks_response.rb +259 -0
- data/lib/ultracart_api/models/workflow_user.rb +240 -0
- data/lib/ultracart_api/models/workflow_users_response.rb +259 -0
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +16 -0
- metadata +34 -2
@@ -0,0 +1,240 @@
|
|
1
|
+
=begin
|
2
|
+
#UltraCart Rest API V2
|
3
|
+
|
4
|
+
#UltraCart REST API Version 2
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
|
+
Contact: support@ultracart.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.0.1-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module UltracartClient
|
17
|
+
class WorkflowUser
|
18
|
+
# The user
|
19
|
+
attr_accessor :user
|
20
|
+
|
21
|
+
# The user icon URL if available
|
22
|
+
attr_accessor :user_icon_url
|
23
|
+
|
24
|
+
# User ID
|
25
|
+
attr_accessor :user_id
|
26
|
+
|
27
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
28
|
+
def self.attribute_map
|
29
|
+
{
|
30
|
+
:'user' => :'user',
|
31
|
+
:'user_icon_url' => :'user_icon_url',
|
32
|
+
:'user_id' => :'user_id'
|
33
|
+
}
|
34
|
+
end
|
35
|
+
|
36
|
+
# Returns all the JSON keys this model knows about
|
37
|
+
def self.acceptable_attributes
|
38
|
+
attribute_map.values
|
39
|
+
end
|
40
|
+
|
41
|
+
# Attribute type mapping.
|
42
|
+
def self.openapi_types
|
43
|
+
{
|
44
|
+
:'user' => :'String',
|
45
|
+
:'user_icon_url' => :'String',
|
46
|
+
:'user_id' => :'Integer'
|
47
|
+
}
|
48
|
+
end
|
49
|
+
|
50
|
+
# List of attributes with nullable: true
|
51
|
+
def self.openapi_nullable
|
52
|
+
Set.new([
|
53
|
+
])
|
54
|
+
end
|
55
|
+
|
56
|
+
# Initializes the object
|
57
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
58
|
+
def initialize(attributes = {})
|
59
|
+
if (!attributes.is_a?(Hash))
|
60
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `UltracartClient::WorkflowUser` initialize method"
|
61
|
+
end
|
62
|
+
|
63
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
64
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
65
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
66
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `UltracartClient::WorkflowUser`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
67
|
+
end
|
68
|
+
h[k.to_sym] = v
|
69
|
+
}
|
70
|
+
|
71
|
+
if attributes.key?(:'user')
|
72
|
+
self.user = attributes[:'user']
|
73
|
+
end
|
74
|
+
|
75
|
+
if attributes.key?(:'user_icon_url')
|
76
|
+
self.user_icon_url = attributes[:'user_icon_url']
|
77
|
+
end
|
78
|
+
|
79
|
+
if attributes.key?(:'user_id')
|
80
|
+
self.user_id = attributes[:'user_id']
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
85
|
+
# @return Array for valid properties with the reasons
|
86
|
+
def list_invalid_properties
|
87
|
+
invalid_properties = Array.new
|
88
|
+
invalid_properties
|
89
|
+
end
|
90
|
+
|
91
|
+
# Check to see if the all the properties in the model are valid
|
92
|
+
# @return true if the model is valid
|
93
|
+
def valid?
|
94
|
+
true
|
95
|
+
end
|
96
|
+
|
97
|
+
# Checks equality by comparing each attribute.
|
98
|
+
# @param [Object] Object to be compared
|
99
|
+
def ==(o)
|
100
|
+
return true if self.equal?(o)
|
101
|
+
self.class == o.class &&
|
102
|
+
user == o.user &&
|
103
|
+
user_icon_url == o.user_icon_url &&
|
104
|
+
user_id == o.user_id
|
105
|
+
end
|
106
|
+
|
107
|
+
# @see the `==` method
|
108
|
+
# @param [Object] Object to be compared
|
109
|
+
def eql?(o)
|
110
|
+
self == o
|
111
|
+
end
|
112
|
+
|
113
|
+
# Calculates hash code according to all attributes.
|
114
|
+
# @return [Integer] Hash code
|
115
|
+
def hash
|
116
|
+
[user, user_icon_url, user_id].hash
|
117
|
+
end
|
118
|
+
|
119
|
+
# Builds the object from hash
|
120
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
121
|
+
# @return [Object] Returns the model itself
|
122
|
+
def self.build_from_hash(attributes)
|
123
|
+
new.build_from_hash(attributes)
|
124
|
+
end
|
125
|
+
|
126
|
+
# Builds the object from hash
|
127
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
128
|
+
# @return [Object] Returns the model itself
|
129
|
+
def build_from_hash(attributes)
|
130
|
+
return nil unless attributes.is_a?(Hash)
|
131
|
+
attributes = attributes.transform_keys(&:to_sym)
|
132
|
+
self.class.openapi_types.each_pair do |key, type|
|
133
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
134
|
+
self.send("#{key}=", nil)
|
135
|
+
elsif type =~ /\AArray<(.*)>/i
|
136
|
+
# check to ensure the input is an array given that the attribute
|
137
|
+
# is documented as an array but the input is not
|
138
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
139
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
140
|
+
end
|
141
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
142
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
146
|
+
self
|
147
|
+
end
|
148
|
+
|
149
|
+
# Deserializes the data based on type
|
150
|
+
# @param string type Data type
|
151
|
+
# @param string value Value to be deserialized
|
152
|
+
# @return [Object] Deserialized data
|
153
|
+
def _deserialize(type, value)
|
154
|
+
case type.to_sym
|
155
|
+
when :Time
|
156
|
+
Time.parse(value)
|
157
|
+
when :Date
|
158
|
+
Date.parse(value)
|
159
|
+
when :String
|
160
|
+
value.to_s
|
161
|
+
when :Integer
|
162
|
+
value.to_i
|
163
|
+
when :Float
|
164
|
+
value.to_f
|
165
|
+
when :Boolean
|
166
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
167
|
+
true
|
168
|
+
else
|
169
|
+
false
|
170
|
+
end
|
171
|
+
when :Object
|
172
|
+
# generic object (usually a Hash), return directly
|
173
|
+
value
|
174
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
175
|
+
inner_type = Regexp.last_match[:inner_type]
|
176
|
+
value.map { |v| _deserialize(inner_type, v) }
|
177
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
178
|
+
k_type = Regexp.last_match[:k_type]
|
179
|
+
v_type = Regexp.last_match[:v_type]
|
180
|
+
{}.tap do |hash|
|
181
|
+
value.each do |k, v|
|
182
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
183
|
+
end
|
184
|
+
end
|
185
|
+
else # model
|
186
|
+
# models (e.g. Pet) or oneOf
|
187
|
+
klass = UltracartClient.const_get(type)
|
188
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
# Returns the string representation of the object
|
193
|
+
# @return [String] String presentation of the object
|
194
|
+
def to_s
|
195
|
+
to_hash.to_s
|
196
|
+
end
|
197
|
+
|
198
|
+
# to_body is an alias to to_hash (backward compatibility)
|
199
|
+
# @return [Hash] Returns the object in the form of hash
|
200
|
+
def to_body
|
201
|
+
to_hash
|
202
|
+
end
|
203
|
+
|
204
|
+
# Returns the object in the form of hash
|
205
|
+
# @return [Hash] Returns the object in the form of hash
|
206
|
+
def to_hash
|
207
|
+
hash = {}
|
208
|
+
self.class.attribute_map.each_pair do |attr, param|
|
209
|
+
value = self.send(attr)
|
210
|
+
if value.nil?
|
211
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
212
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
213
|
+
end
|
214
|
+
|
215
|
+
hash[param] = _to_hash(value)
|
216
|
+
end
|
217
|
+
hash
|
218
|
+
end
|
219
|
+
|
220
|
+
# Outputs non-array value in the form of hash
|
221
|
+
# For object, use to_hash. Otherwise, just return the value
|
222
|
+
# @param [Object] value Any valid value
|
223
|
+
# @return [Hash] Returns the value in the form of hash
|
224
|
+
def _to_hash(value)
|
225
|
+
if value.is_a?(Array)
|
226
|
+
value.compact.map { |v| _to_hash(v) }
|
227
|
+
elsif value.is_a?(Hash)
|
228
|
+
{}.tap do |hash|
|
229
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
230
|
+
end
|
231
|
+
elsif value.respond_to? :to_hash
|
232
|
+
value.to_hash
|
233
|
+
else
|
234
|
+
value
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
end
|
239
|
+
|
240
|
+
end
|
@@ -0,0 +1,259 @@
|
|
1
|
+
=begin
|
2
|
+
#UltraCart Rest API V2
|
3
|
+
|
4
|
+
#UltraCart REST API Version 2
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
|
+
Contact: support@ultracart.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.0.1-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module UltracartClient
|
17
|
+
class WorkflowUsersResponse
|
18
|
+
attr_accessor :error
|
19
|
+
|
20
|
+
attr_accessor :metadata
|
21
|
+
|
22
|
+
# Indicates if API call was successful
|
23
|
+
attr_accessor :success
|
24
|
+
|
25
|
+
# users
|
26
|
+
attr_accessor :users
|
27
|
+
|
28
|
+
attr_accessor :warning
|
29
|
+
|
30
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
31
|
+
def self.attribute_map
|
32
|
+
{
|
33
|
+
:'error' => :'error',
|
34
|
+
:'metadata' => :'metadata',
|
35
|
+
:'success' => :'success',
|
36
|
+
:'users' => :'users',
|
37
|
+
:'warning' => :'warning'
|
38
|
+
}
|
39
|
+
end
|
40
|
+
|
41
|
+
# Returns all the JSON keys this model knows about
|
42
|
+
def self.acceptable_attributes
|
43
|
+
attribute_map.values
|
44
|
+
end
|
45
|
+
|
46
|
+
# Attribute type mapping.
|
47
|
+
def self.openapi_types
|
48
|
+
{
|
49
|
+
:'error' => :'Error',
|
50
|
+
:'metadata' => :'ResponseMetadata',
|
51
|
+
:'success' => :'Boolean',
|
52
|
+
:'users' => :'Array<WorkflowUser>',
|
53
|
+
:'warning' => :'Warning'
|
54
|
+
}
|
55
|
+
end
|
56
|
+
|
57
|
+
# List of attributes with nullable: true
|
58
|
+
def self.openapi_nullable
|
59
|
+
Set.new([
|
60
|
+
])
|
61
|
+
end
|
62
|
+
|
63
|
+
# Initializes the object
|
64
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
65
|
+
def initialize(attributes = {})
|
66
|
+
if (!attributes.is_a?(Hash))
|
67
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `UltracartClient::WorkflowUsersResponse` initialize method"
|
68
|
+
end
|
69
|
+
|
70
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
71
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
72
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
73
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `UltracartClient::WorkflowUsersResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
74
|
+
end
|
75
|
+
h[k.to_sym] = v
|
76
|
+
}
|
77
|
+
|
78
|
+
if attributes.key?(:'error')
|
79
|
+
self.error = attributes[:'error']
|
80
|
+
end
|
81
|
+
|
82
|
+
if attributes.key?(:'metadata')
|
83
|
+
self.metadata = attributes[:'metadata']
|
84
|
+
end
|
85
|
+
|
86
|
+
if attributes.key?(:'success')
|
87
|
+
self.success = attributes[:'success']
|
88
|
+
end
|
89
|
+
|
90
|
+
if attributes.key?(:'users')
|
91
|
+
if (value = attributes[:'users']).is_a?(Array)
|
92
|
+
self.users = value
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
if attributes.key?(:'warning')
|
97
|
+
self.warning = attributes[:'warning']
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
102
|
+
# @return Array for valid properties with the reasons
|
103
|
+
def list_invalid_properties
|
104
|
+
invalid_properties = Array.new
|
105
|
+
invalid_properties
|
106
|
+
end
|
107
|
+
|
108
|
+
# Check to see if the all the properties in the model are valid
|
109
|
+
# @return true if the model is valid
|
110
|
+
def valid?
|
111
|
+
true
|
112
|
+
end
|
113
|
+
|
114
|
+
# Checks equality by comparing each attribute.
|
115
|
+
# @param [Object] Object to be compared
|
116
|
+
def ==(o)
|
117
|
+
return true if self.equal?(o)
|
118
|
+
self.class == o.class &&
|
119
|
+
error == o.error &&
|
120
|
+
metadata == o.metadata &&
|
121
|
+
success == o.success &&
|
122
|
+
users == o.users &&
|
123
|
+
warning == o.warning
|
124
|
+
end
|
125
|
+
|
126
|
+
# @see the `==` method
|
127
|
+
# @param [Object] Object to be compared
|
128
|
+
def eql?(o)
|
129
|
+
self == o
|
130
|
+
end
|
131
|
+
|
132
|
+
# Calculates hash code according to all attributes.
|
133
|
+
# @return [Integer] Hash code
|
134
|
+
def hash
|
135
|
+
[error, metadata, success, users, warning].hash
|
136
|
+
end
|
137
|
+
|
138
|
+
# Builds the object from hash
|
139
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
140
|
+
# @return [Object] Returns the model itself
|
141
|
+
def self.build_from_hash(attributes)
|
142
|
+
new.build_from_hash(attributes)
|
143
|
+
end
|
144
|
+
|
145
|
+
# Builds the object from hash
|
146
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
147
|
+
# @return [Object] Returns the model itself
|
148
|
+
def build_from_hash(attributes)
|
149
|
+
return nil unless attributes.is_a?(Hash)
|
150
|
+
attributes = attributes.transform_keys(&:to_sym)
|
151
|
+
self.class.openapi_types.each_pair do |key, type|
|
152
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
153
|
+
self.send("#{key}=", nil)
|
154
|
+
elsif type =~ /\AArray<(.*)>/i
|
155
|
+
# check to ensure the input is an array given that the attribute
|
156
|
+
# is documented as an array but the input is not
|
157
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
158
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
159
|
+
end
|
160
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
161
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
self
|
166
|
+
end
|
167
|
+
|
168
|
+
# Deserializes the data based on type
|
169
|
+
# @param string type Data type
|
170
|
+
# @param string value Value to be deserialized
|
171
|
+
# @return [Object] Deserialized data
|
172
|
+
def _deserialize(type, value)
|
173
|
+
case type.to_sym
|
174
|
+
when :Time
|
175
|
+
Time.parse(value)
|
176
|
+
when :Date
|
177
|
+
Date.parse(value)
|
178
|
+
when :String
|
179
|
+
value.to_s
|
180
|
+
when :Integer
|
181
|
+
value.to_i
|
182
|
+
when :Float
|
183
|
+
value.to_f
|
184
|
+
when :Boolean
|
185
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
186
|
+
true
|
187
|
+
else
|
188
|
+
false
|
189
|
+
end
|
190
|
+
when :Object
|
191
|
+
# generic object (usually a Hash), return directly
|
192
|
+
value
|
193
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
194
|
+
inner_type = Regexp.last_match[:inner_type]
|
195
|
+
value.map { |v| _deserialize(inner_type, v) }
|
196
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
197
|
+
k_type = Regexp.last_match[:k_type]
|
198
|
+
v_type = Regexp.last_match[:v_type]
|
199
|
+
{}.tap do |hash|
|
200
|
+
value.each do |k, v|
|
201
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
202
|
+
end
|
203
|
+
end
|
204
|
+
else # model
|
205
|
+
# models (e.g. Pet) or oneOf
|
206
|
+
klass = UltracartClient.const_get(type)
|
207
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
# Returns the string representation of the object
|
212
|
+
# @return [String] String presentation of the object
|
213
|
+
def to_s
|
214
|
+
to_hash.to_s
|
215
|
+
end
|
216
|
+
|
217
|
+
# to_body is an alias to to_hash (backward compatibility)
|
218
|
+
# @return [Hash] Returns the object in the form of hash
|
219
|
+
def to_body
|
220
|
+
to_hash
|
221
|
+
end
|
222
|
+
|
223
|
+
# Returns the object in the form of hash
|
224
|
+
# @return [Hash] Returns the object in the form of hash
|
225
|
+
def to_hash
|
226
|
+
hash = {}
|
227
|
+
self.class.attribute_map.each_pair do |attr, param|
|
228
|
+
value = self.send(attr)
|
229
|
+
if value.nil?
|
230
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
231
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
232
|
+
end
|
233
|
+
|
234
|
+
hash[param] = _to_hash(value)
|
235
|
+
end
|
236
|
+
hash
|
237
|
+
end
|
238
|
+
|
239
|
+
# Outputs non-array value in the form of hash
|
240
|
+
# For object, use to_hash. Otherwise, just return the value
|
241
|
+
# @param [Object] value Any valid value
|
242
|
+
# @return [Hash] Returns the value in the form of hash
|
243
|
+
def _to_hash(value)
|
244
|
+
if value.is_a?(Array)
|
245
|
+
value.compact.map { |v| _to_hash(v) }
|
246
|
+
elsif value.is_a?(Hash)
|
247
|
+
{}.tap do |hash|
|
248
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
249
|
+
end
|
250
|
+
elsif value.respond_to? :to_hash
|
251
|
+
value.to_hash
|
252
|
+
else
|
253
|
+
value
|
254
|
+
end
|
255
|
+
end
|
256
|
+
|
257
|
+
end
|
258
|
+
|
259
|
+
end
|
data/lib/ultracart_api.rb
CHANGED
@@ -91,6 +91,7 @@ require 'ultracart_api/models/cart_payment_affirm'
|
|
91
91
|
require 'ultracart_api/models/cart_payment_amazon'
|
92
92
|
require 'ultracart_api/models/cart_payment_check'
|
93
93
|
require 'ultracart_api/models/cart_payment_credit_card'
|
94
|
+
require 'ultracart_api/models/cart_payment_health_benefit_card'
|
94
95
|
require 'ultracart_api/models/cart_payment_purchase_order'
|
95
96
|
require 'ultracart_api/models/cart_profile_login_request'
|
96
97
|
require 'ultracart_api/models/cart_profile_login_response'
|
@@ -610,6 +611,7 @@ require 'ultracart_api/models/order_payment_credit_card'
|
|
610
611
|
require 'ultracart_api/models/order_payment_credit_card_dual_vaulted'
|
611
612
|
require 'ultracart_api/models/order_payment_credit_card_dual_vaulted_property'
|
612
613
|
require 'ultracart_api/models/order_payment_e_check'
|
614
|
+
require 'ultracart_api/models/order_payment_health_benefit_card'
|
613
615
|
require 'ultracart_api/models/order_payment_insurance'
|
614
616
|
require 'ultracart_api/models/order_payment_purchase_order'
|
615
617
|
require 'ultracart_api/models/order_payment_transaction'
|
@@ -798,6 +800,19 @@ require 'ultracart_api/models/webhook_sample_request'
|
|
798
800
|
require 'ultracart_api/models/webhook_sample_request_response'
|
799
801
|
require 'ultracart_api/models/webhooks_response'
|
800
802
|
require 'ultracart_api/models/weight'
|
803
|
+
require 'ultracart_api/models/workflow_attachment'
|
804
|
+
require 'ultracart_api/models/workflow_attachment_upload_url'
|
805
|
+
require 'ultracart_api/models/workflow_attachment_upload_url_response'
|
806
|
+
require 'ultracart_api/models/workflow_group'
|
807
|
+
require 'ultracart_api/models/workflow_groups_response'
|
808
|
+
require 'ultracart_api/models/workflow_note'
|
809
|
+
require 'ultracart_api/models/workflow_task'
|
810
|
+
require 'ultracart_api/models/workflow_task_history'
|
811
|
+
require 'ultracart_api/models/workflow_task_response'
|
812
|
+
require 'ultracart_api/models/workflow_tasks_request'
|
813
|
+
require 'ultracart_api/models/workflow_tasks_response'
|
814
|
+
require 'ultracart_api/models/workflow_user'
|
815
|
+
require 'ultracart_api/models/workflow_users_response'
|
801
816
|
|
802
817
|
# APIs
|
803
818
|
require 'ultracart_api/api/affiliate_api'
|
@@ -820,6 +835,7 @@ require 'ultracart_api/api/storefront_api'
|
|
820
835
|
require 'ultracart_api/api/tax_api'
|
821
836
|
require 'ultracart_api/api/user_api'
|
822
837
|
require 'ultracart_api/api/webhook_api'
|
838
|
+
require 'ultracart_api/api/workflow_api'
|
823
839
|
|
824
840
|
module UltracartClient
|
825
841
|
class << self
|
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.0.
|
4
|
+
version: 4.0.183
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -137,6 +137,7 @@ files:
|
|
137
137
|
- docs/CartPaymentAmazon.md
|
138
138
|
- docs/CartPaymentCheck.md
|
139
139
|
- docs/CartPaymentCreditCard.md
|
140
|
+
- docs/CartPaymentHealthBenefitCard.md
|
140
141
|
- docs/CartPaymentPurchaseOrder.md
|
141
142
|
- docs/CartProfileLoginRequest.md
|
142
143
|
- docs/CartProfileLoginResponse.md
|
@@ -669,6 +670,7 @@ files:
|
|
669
670
|
- docs/OrderPaymentCreditCardDualVaulted.md
|
670
671
|
- docs/OrderPaymentCreditCardDualVaultedProperty.md
|
671
672
|
- docs/OrderPaymentECheck.md
|
673
|
+
- docs/OrderPaymentHealthBenefitCard.md
|
672
674
|
- docs/OrderPaymentInsurance.md
|
673
675
|
- docs/OrderPaymentPurchaseOrder.md
|
674
676
|
- docs/OrderPaymentTransaction.md
|
@@ -862,6 +864,20 @@ files:
|
|
862
864
|
- docs/WebhookSampleRequestResponse.md
|
863
865
|
- docs/WebhooksResponse.md
|
864
866
|
- docs/Weight.md
|
867
|
+
- docs/WorkflowApi.md
|
868
|
+
- docs/WorkflowAttachment.md
|
869
|
+
- docs/WorkflowAttachmentUploadUrl.md
|
870
|
+
- docs/WorkflowAttachmentUploadUrlResponse.md
|
871
|
+
- docs/WorkflowGroup.md
|
872
|
+
- docs/WorkflowGroupsResponse.md
|
873
|
+
- docs/WorkflowNote.md
|
874
|
+
- docs/WorkflowTask.md
|
875
|
+
- docs/WorkflowTaskHistory.md
|
876
|
+
- docs/WorkflowTaskResponse.md
|
877
|
+
- docs/WorkflowTasksRequest.md
|
878
|
+
- docs/WorkflowTasksResponse.md
|
879
|
+
- docs/WorkflowUser.md
|
880
|
+
- docs/WorkflowUsersResponse.md
|
865
881
|
- git_push.sh
|
866
882
|
- lib/ultracart_api.rb
|
867
883
|
- lib/ultracart_api/api/affiliate_api.rb
|
@@ -884,6 +900,7 @@ files:
|
|
884
900
|
- lib/ultracart_api/api/tax_api.rb
|
885
901
|
- lib/ultracart_api/api/user_api.rb
|
886
902
|
- lib/ultracart_api/api/webhook_api.rb
|
903
|
+
- lib/ultracart_api/api/workflow_api.rb
|
887
904
|
- lib/ultracart_api/api_client.rb
|
888
905
|
- lib/ultracart_api/api_error.rb
|
889
906
|
- lib/ultracart_api/configuration.rb
|
@@ -961,6 +978,7 @@ files:
|
|
961
978
|
- lib/ultracart_api/models/cart_payment_amazon.rb
|
962
979
|
- lib/ultracart_api/models/cart_payment_check.rb
|
963
980
|
- lib/ultracart_api/models/cart_payment_credit_card.rb
|
981
|
+
- lib/ultracart_api/models/cart_payment_health_benefit_card.rb
|
964
982
|
- lib/ultracart_api/models/cart_payment_purchase_order.rb
|
965
983
|
- lib/ultracart_api/models/cart_profile_login_request.rb
|
966
984
|
- lib/ultracart_api/models/cart_profile_login_response.rb
|
@@ -1480,6 +1498,7 @@ files:
|
|
1480
1498
|
- lib/ultracart_api/models/order_payment_credit_card_dual_vaulted.rb
|
1481
1499
|
- lib/ultracart_api/models/order_payment_credit_card_dual_vaulted_property.rb
|
1482
1500
|
- lib/ultracart_api/models/order_payment_e_check.rb
|
1501
|
+
- lib/ultracart_api/models/order_payment_health_benefit_card.rb
|
1483
1502
|
- lib/ultracart_api/models/order_payment_insurance.rb
|
1484
1503
|
- lib/ultracart_api/models/order_payment_purchase_order.rb
|
1485
1504
|
- lib/ultracart_api/models/order_payment_transaction.rb
|
@@ -1668,6 +1687,19 @@ files:
|
|
1668
1687
|
- lib/ultracart_api/models/webhook_sample_request_response.rb
|
1669
1688
|
- lib/ultracart_api/models/webhooks_response.rb
|
1670
1689
|
- lib/ultracart_api/models/weight.rb
|
1690
|
+
- lib/ultracart_api/models/workflow_attachment.rb
|
1691
|
+
- lib/ultracart_api/models/workflow_attachment_upload_url.rb
|
1692
|
+
- lib/ultracart_api/models/workflow_attachment_upload_url_response.rb
|
1693
|
+
- lib/ultracart_api/models/workflow_group.rb
|
1694
|
+
- lib/ultracart_api/models/workflow_groups_response.rb
|
1695
|
+
- lib/ultracart_api/models/workflow_note.rb
|
1696
|
+
- lib/ultracart_api/models/workflow_task.rb
|
1697
|
+
- lib/ultracart_api/models/workflow_task_history.rb
|
1698
|
+
- lib/ultracart_api/models/workflow_task_response.rb
|
1699
|
+
- lib/ultracart_api/models/workflow_tasks_request.rb
|
1700
|
+
- lib/ultracart_api/models/workflow_tasks_response.rb
|
1701
|
+
- lib/ultracart_api/models/workflow_user.rb
|
1702
|
+
- lib/ultracart_api/models/workflow_users_response.rb
|
1671
1703
|
- lib/ultracart_api/version.rb
|
1672
1704
|
- spec/api_client_spec.rb
|
1673
1705
|
- spec/configuration_spec.rb
|