ultracart_api 3.11.21 → 3.11.23
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/ConversationApi.md +213 -0
- data/docs/ConversationDeleteKnowledgeBaseDocumentResponse.md +12 -0
- data/docs/ConversationInsertKnowledgeBaseDocumentRequest.md +8 -0
- data/docs/ConversationInsertKnowledgeBaseDocumentResponse.md +14 -0
- data/docs/ConversationKnowledgeBaseDocument.md +14 -0
- data/docs/ConversationKnowledgeBaseDocumentUploadUrl.md +9 -0
- data/docs/ConversationKnowledgeBaseDocumentUploadUrlResponse.md +12 -0
- data/docs/ConversationKnowledgeBaseDocumentsResponse.md +12 -0
- data/docs/CustomReportAccountConfig.md +1 -0
- data/docs/CustomReportUsageBreakdown.md +9 -0
- data/docs/Customer.md +1 -0
- data/docs/CustomerApi.md +4 -5
- data/docs/ItemApi.md +3 -3
- data/docs/ItemShippingMethod.md +1 -0
- data/docs/OrderApi.md +2 -2
- data/docs/ReplaceOrderItemIdRequest.md +1 -1
- data/lib/ultracart_api/api/conversation_api.rb +238 -0
- data/lib/ultracart_api/api/customer_api.rb +6 -7
- data/lib/ultracart_api/api/item_api.rb +3 -3
- data/lib/ultracart_api/api/order_api.rb +2 -2
- data/lib/ultracart_api/models/conversation_delete_knowledge_base_document_response.rb +221 -0
- data/lib/ultracart_api/models/conversation_insert_knowledge_base_document_request.rb +184 -0
- data/lib/ultracart_api/models/conversation_insert_knowledge_base_document_response.rb +241 -0
- data/lib/ultracart_api/models/conversation_knowledge_base_document.rb +239 -0
- data/lib/ultracart_api/models/conversation_knowledge_base_document_upload_url.rb +193 -0
- data/lib/ultracart_api/models/conversation_knowledge_base_document_upload_url_response.rb +221 -0
- data/lib/ultracart_api/models/conversation_knowledge_base_documents_response.rb +224 -0
- data/lib/ultracart_api/models/custom_report_account_config.rb +12 -1
- data/lib/ultracart_api/models/custom_report_usage_breakdown.rb +194 -0
- data/lib/ultracart_api/models/customer.rb +26 -1
- data/lib/ultracart_api/models/item_shipping_method.rb +11 -1
- data/lib/ultracart_api/models/order_payment.rb +2 -2
- data/lib/ultracart_api/models/replace_order_item_id_request.rb +1 -1
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +8 -0
- metadata +18 -2
@@ -0,0 +1,194 @@
|
|
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 CustomReportUsageBreakdown
|
17
|
+
attr_accessor :usage
|
18
|
+
|
19
|
+
# Date/time that usage occurred
|
20
|
+
attr_accessor :usage_date
|
21
|
+
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
23
|
+
def self.attribute_map
|
24
|
+
{
|
25
|
+
:'usage' => :'usage',
|
26
|
+
:'usage_date' => :'usage_date'
|
27
|
+
}
|
28
|
+
end
|
29
|
+
|
30
|
+
# Attribute type mapping.
|
31
|
+
def self.swagger_types
|
32
|
+
{
|
33
|
+
:'usage' => :'Float',
|
34
|
+
:'usage_date' => :'String'
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
38
|
+
# Initializes the object
|
39
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
40
|
+
def initialize(attributes = {})
|
41
|
+
return unless attributes.is_a?(Hash)
|
42
|
+
|
43
|
+
# convert string to symbol for hash key
|
44
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
45
|
+
|
46
|
+
if attributes.has_key?(:'usage')
|
47
|
+
self.usage = attributes[:'usage']
|
48
|
+
end
|
49
|
+
|
50
|
+
if attributes.has_key?(:'usage_date')
|
51
|
+
self.usage_date = attributes[:'usage_date']
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
56
|
+
# @return Array for valid properties with the reasons
|
57
|
+
def list_invalid_properties
|
58
|
+
invalid_properties = Array.new
|
59
|
+
invalid_properties
|
60
|
+
end
|
61
|
+
|
62
|
+
# Check to see if the all the properties in the model are valid
|
63
|
+
# @return true if the model is valid
|
64
|
+
def valid?
|
65
|
+
true
|
66
|
+
end
|
67
|
+
|
68
|
+
# Checks equality by comparing each attribute.
|
69
|
+
# @param [Object] Object to be compared
|
70
|
+
def ==(o)
|
71
|
+
return true if self.equal?(o)
|
72
|
+
self.class == o.class &&
|
73
|
+
usage == o.usage &&
|
74
|
+
usage_date == o.usage_date
|
75
|
+
end
|
76
|
+
|
77
|
+
# @see the `==` method
|
78
|
+
# @param [Object] Object to be compared
|
79
|
+
def eql?(o)
|
80
|
+
self == o
|
81
|
+
end
|
82
|
+
|
83
|
+
# Calculates hash code according to all attributes.
|
84
|
+
# @return [Fixnum] Hash code
|
85
|
+
def hash
|
86
|
+
[usage, usage_date].hash
|
87
|
+
end
|
88
|
+
|
89
|
+
# Builds the object from hash
|
90
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
91
|
+
# @return [Object] Returns the model itself
|
92
|
+
def build_from_hash(attributes)
|
93
|
+
return nil unless attributes.is_a?(Hash)
|
94
|
+
self.class.swagger_types.each_pair do |key, type|
|
95
|
+
if type =~ /\AArray<(.*)>/i
|
96
|
+
# check to ensure the input is an array given that the attribute
|
97
|
+
# is documented as an array but the input is not
|
98
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
99
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
100
|
+
end
|
101
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
102
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
103
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
104
|
+
end
|
105
|
+
|
106
|
+
self
|
107
|
+
end
|
108
|
+
|
109
|
+
# Deserializes the data based on type
|
110
|
+
# @param string type Data type
|
111
|
+
# @param string value Value to be deserialized
|
112
|
+
# @return [Object] Deserialized data
|
113
|
+
def _deserialize(type, value)
|
114
|
+
case type.to_sym
|
115
|
+
when :DateTime
|
116
|
+
DateTime.parse(value)
|
117
|
+
when :Date
|
118
|
+
Date.parse(value)
|
119
|
+
when :String
|
120
|
+
value.to_s
|
121
|
+
when :Integer
|
122
|
+
value.to_i
|
123
|
+
when :Float
|
124
|
+
value.to_f
|
125
|
+
when :BOOLEAN
|
126
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
127
|
+
true
|
128
|
+
else
|
129
|
+
false
|
130
|
+
end
|
131
|
+
when :Object
|
132
|
+
# generic object (usually a Hash), return directly
|
133
|
+
value
|
134
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
135
|
+
inner_type = Regexp.last_match[:inner_type]
|
136
|
+
value.map { |v| _deserialize(inner_type, v) }
|
137
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
138
|
+
k_type = Regexp.last_match[:k_type]
|
139
|
+
v_type = Regexp.last_match[:v_type]
|
140
|
+
{}.tap do |hash|
|
141
|
+
value.each do |k, v|
|
142
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
143
|
+
end
|
144
|
+
end
|
145
|
+
else # model
|
146
|
+
temp_model = UltracartClient.const_get(type).new
|
147
|
+
temp_model.build_from_hash(value)
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
# Returns the string representation of the object
|
152
|
+
# @return [String] String presentation of the object
|
153
|
+
def to_s
|
154
|
+
to_hash.to_s
|
155
|
+
end
|
156
|
+
|
157
|
+
# to_body is an alias to to_hash (backward compatibility)
|
158
|
+
# @return [Hash] Returns the object in the form of hash
|
159
|
+
def to_body
|
160
|
+
to_hash
|
161
|
+
end
|
162
|
+
|
163
|
+
# Returns the object in the form of hash
|
164
|
+
# @return [Hash] Returns the object in the form of hash
|
165
|
+
def to_hash
|
166
|
+
hash = {}
|
167
|
+
self.class.attribute_map.each_pair do |attr, param|
|
168
|
+
value = self.send(attr)
|
169
|
+
next if value.nil?
|
170
|
+
hash[param] = _to_hash(value)
|
171
|
+
end
|
172
|
+
hash
|
173
|
+
end
|
174
|
+
|
175
|
+
# Outputs non-array value in the form of hash
|
176
|
+
# For object, use to_hash. Otherwise, just return the value
|
177
|
+
# @param [Object] value Any valid value
|
178
|
+
# @return [Hash] Returns the value in the form of hash
|
179
|
+
def _to_hash(value)
|
180
|
+
if value.is_a?(Array)
|
181
|
+
value.compact.map { |v| _to_hash(v) }
|
182
|
+
elsif value.is_a?(Hash)
|
183
|
+
{}.tap do |hash|
|
184
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
185
|
+
end
|
186
|
+
elsif value.respond_to? :to_hash
|
187
|
+
value.to_hash
|
188
|
+
else
|
189
|
+
value
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
193
|
+
end
|
194
|
+
end
|
@@ -81,6 +81,9 @@ module UltracartClient
|
|
81
81
|
# Exempt shipping handling charge
|
82
82
|
attr_accessor :exempt_shipping_handling_charge
|
83
83
|
|
84
|
+
# Fax Number
|
85
|
+
attr_accessor :fax
|
86
|
+
|
84
87
|
# FedEx account number
|
85
88
|
attr_accessor :fedex_account_number
|
86
89
|
|
@@ -224,6 +227,7 @@ module UltracartClient
|
|
224
227
|
:'edi' => :'edi',
|
225
228
|
:'email' => :'email',
|
226
229
|
:'exempt_shipping_handling_charge' => :'exempt_shipping_handling_charge',
|
230
|
+
:'fax' => :'fax',
|
227
231
|
:'fedex_account_number' => :'fedex_account_number',
|
228
232
|
:'free_shipping' => :'free_shipping',
|
229
233
|
:'free_shipping_minimum' => :'free_shipping_minimum',
|
@@ -294,6 +298,7 @@ module UltracartClient
|
|
294
298
|
:'edi' => :'CustomerEDI',
|
295
299
|
:'email' => :'String',
|
296
300
|
:'exempt_shipping_handling_charge' => :'BOOLEAN',
|
301
|
+
:'fax' => :'String',
|
297
302
|
:'fedex_account_number' => :'String',
|
298
303
|
:'free_shipping' => :'BOOLEAN',
|
299
304
|
:'free_shipping_minimum' => :'Float',
|
@@ -446,6 +451,10 @@ module UltracartClient
|
|
446
451
|
self.exempt_shipping_handling_charge = attributes[:'exempt_shipping_handling_charge']
|
447
452
|
end
|
448
453
|
|
454
|
+
if attributes.has_key?(:'fax')
|
455
|
+
self.fax = attributes[:'fax']
|
456
|
+
end
|
457
|
+
|
449
458
|
if attributes.has_key?(:'fedex_account_number')
|
450
459
|
self.fedex_account_number = attributes[:'fedex_account_number']
|
451
460
|
end
|
@@ -641,6 +650,10 @@ module UltracartClient
|
|
641
650
|
invalid_properties.push('invalid value for "dhl_duty_account_number", the character length must be smaller than or equal to 20.')
|
642
651
|
end
|
643
652
|
|
653
|
+
if !@fax.nil? && @fax.to_s.length > 32
|
654
|
+
invalid_properties.push('invalid value for "fax", the character length must be smaller than or equal to 32.')
|
655
|
+
end
|
656
|
+
|
644
657
|
if !@fedex_account_number.nil? && @fedex_account_number.to_s.length > 20
|
645
658
|
invalid_properties.push('invalid value for "fedex_account_number", the character length must be smaller than or equal to 20.')
|
646
659
|
end
|
@@ -682,6 +695,7 @@ module UltracartClient
|
|
682
695
|
return false if !@business_notes.nil? && @business_notes.to_s.length > 2000
|
683
696
|
return false if !@dhl_account_number.nil? && @dhl_account_number.to_s.length > 20
|
684
697
|
return false if !@dhl_duty_account_number.nil? && @dhl_duty_account_number.to_s.length > 20
|
698
|
+
return false if !@fax.nil? && @fax.to_s.length > 32
|
685
699
|
return false if !@fedex_account_number.nil? && @fedex_account_number.to_s.length > 20
|
686
700
|
return false if !@last_modified_by.nil? && @last_modified_by.to_s.length > 100
|
687
701
|
return false if !@password.nil? && @password.to_s.length > 30
|
@@ -723,6 +737,16 @@ module UltracartClient
|
|
723
737
|
@dhl_duty_account_number = dhl_duty_account_number
|
724
738
|
end
|
725
739
|
|
740
|
+
# Custom attribute writer method with validation
|
741
|
+
# @param [Object] fax Value to be assigned
|
742
|
+
def fax=(fax)
|
743
|
+
if !fax.nil? && fax.to_s.length > 32
|
744
|
+
fail ArgumentError, 'invalid value for "fax", the character length must be smaller than or equal to 32.'
|
745
|
+
end
|
746
|
+
|
747
|
+
@fax = fax
|
748
|
+
end
|
749
|
+
|
726
750
|
# Custom attribute writer method with validation
|
727
751
|
# @param [Object] fedex_account_number Value to be assigned
|
728
752
|
def fedex_account_number=(fedex_account_number)
|
@@ -831,6 +855,7 @@ module UltracartClient
|
|
831
855
|
edi == o.edi &&
|
832
856
|
email == o.email &&
|
833
857
|
exempt_shipping_handling_charge == o.exempt_shipping_handling_charge &&
|
858
|
+
fax == o.fax &&
|
834
859
|
fedex_account_number == o.fedex_account_number &&
|
835
860
|
free_shipping == o.free_shipping &&
|
836
861
|
free_shipping_minimum == o.free_shipping_minimum &&
|
@@ -883,7 +908,7 @@ module UltracartClient
|
|
883
908
|
# Calculates hash code according to all attributes.
|
884
909
|
# @return [Fixnum] Hash code
|
885
910
|
def hash
|
886
|
-
[activity, affiliate_oid, allow_3rd_party_billing, allow_cod, allow_drop_shipping, allow_purchase_order, allow_quote_request, allow_selection_of_address_type, attachments, auto_approve_cod, auto_approve_purchase_order, automatic_merchant_notes, billing, business_notes, cards, cc_emails, customer_profile_oid, dhl_account_number, dhl_duty_account_number, do_not_send_mail, edi, email, exempt_shipping_handling_charge, fedex_account_number, free_shipping, free_shipping_minimum, last_modified_by, last_modified_dts, loyalty, maximum_item_count, merchant_id, minimum_item_count, minimum_subtotal, no_coupons, no_free_shipping, no_realtime_charge, orders, orders_summary, password, pricing_tiers, privacy, properties, qb_class, qb_code, qb_tax_exemption_reason_code, quotes, quotes_summary, referral_source, reviewer, sales_rep_code, send_signup_notification, shipping, signup_dts, software_entitlements, suppress_buysafe, tags, tax_codes, tax_exempt, tax_id, terms, track_separately, unapproved, ups_account_number, website_url].hash
|
911
|
+
[activity, affiliate_oid, allow_3rd_party_billing, allow_cod, allow_drop_shipping, allow_purchase_order, allow_quote_request, allow_selection_of_address_type, attachments, auto_approve_cod, auto_approve_purchase_order, automatic_merchant_notes, billing, business_notes, cards, cc_emails, customer_profile_oid, dhl_account_number, dhl_duty_account_number, do_not_send_mail, edi, email, exempt_shipping_handling_charge, fax, fedex_account_number, free_shipping, free_shipping_minimum, last_modified_by, last_modified_dts, loyalty, maximum_item_count, merchant_id, minimum_item_count, minimum_subtotal, no_coupons, no_free_shipping, no_realtime_charge, orders, orders_summary, password, pricing_tiers, privacy, properties, qb_class, qb_code, qb_tax_exemption_reason_code, quotes, quotes_summary, referral_source, reviewer, sales_rep_code, send_signup_notification, shipping, signup_dts, software_entitlements, suppress_buysafe, tags, tax_codes, tax_exempt, tax_id, terms, track_separately, unapproved, ups_account_number, website_url].hash
|
887
912
|
end
|
888
913
|
|
889
914
|
# Builds the object from hash
|
@@ -56,6 +56,9 @@ module UltracartClient
|
|
56
56
|
# Shipping method validity
|
57
57
|
attr_accessor :shipping_method_validity
|
58
58
|
|
59
|
+
# Ships separately
|
60
|
+
attr_accessor :ships_separately
|
61
|
+
|
59
62
|
# Signature required
|
60
63
|
attr_accessor :signature_required
|
61
64
|
|
@@ -98,6 +101,7 @@ module UltracartClient
|
|
98
101
|
:'shipping_method' => :'shipping_method',
|
99
102
|
:'shipping_method_oid' => :'shipping_method_oid',
|
100
103
|
:'shipping_method_validity' => :'shipping_method_validity',
|
104
|
+
:'ships_separately' => :'ships_separately',
|
101
105
|
:'signature_required' => :'signature_required'
|
102
106
|
}
|
103
107
|
end
|
@@ -119,6 +123,7 @@ module UltracartClient
|
|
119
123
|
:'shipping_method' => :'String',
|
120
124
|
:'shipping_method_oid' => :'Integer',
|
121
125
|
:'shipping_method_validity' => :'String',
|
126
|
+
:'ships_separately' => :'BOOLEAN',
|
122
127
|
:'signature_required' => :'BOOLEAN'
|
123
128
|
}
|
124
129
|
end
|
@@ -187,6 +192,10 @@ module UltracartClient
|
|
187
192
|
self.shipping_method_validity = attributes[:'shipping_method_validity']
|
188
193
|
end
|
189
194
|
|
195
|
+
if attributes.has_key?(:'ships_separately')
|
196
|
+
self.ships_separately = attributes[:'ships_separately']
|
197
|
+
end
|
198
|
+
|
190
199
|
if attributes.has_key?(:'signature_required')
|
191
200
|
self.signature_required = attributes[:'signature_required']
|
192
201
|
end
|
@@ -236,6 +245,7 @@ module UltracartClient
|
|
236
245
|
shipping_method == o.shipping_method &&
|
237
246
|
shipping_method_oid == o.shipping_method_oid &&
|
238
247
|
shipping_method_validity == o.shipping_method_validity &&
|
248
|
+
ships_separately == o.ships_separately &&
|
239
249
|
signature_required == o.signature_required
|
240
250
|
end
|
241
251
|
|
@@ -248,7 +258,7 @@ module UltracartClient
|
|
248
258
|
# Calculates hash code according to all attributes.
|
249
259
|
# @return [Fixnum] Hash code
|
250
260
|
def hash
|
251
|
-
[cost, each_additional_item_markup, filter_to_if_available, first_item_markup, fixed_shipping_cost, flat_fee_markup, free_shipping, per_item_fee_markup, percentage_markup, percentage_of_item_markup, relax_restrictions_on_upsell, shipping_method, shipping_method_oid, shipping_method_validity, signature_required].hash
|
261
|
+
[cost, each_additional_item_markup, filter_to_if_available, first_item_markup, fixed_shipping_cost, flat_fee_markup, free_shipping, per_item_fee_markup, percentage_markup, percentage_of_item_markup, relax_restrictions_on_upsell, shipping_method, shipping_method_oid, shipping_method_validity, ships_separately, signature_required].hash
|
252
262
|
end
|
253
263
|
|
254
264
|
# Builds the object from hash
|
@@ -241,7 +241,7 @@ module UltracartClient
|
|
241
241
|
# Check to see if the all the properties in the model are valid
|
242
242
|
# @return true if the model is valid
|
243
243
|
def valid?
|
244
|
-
payment_method_validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon Pay', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'eBay', 'eCheck', 'Google Shopping', 'Goldbelly', 'GoHighLevel', 'Insurance', 'Link', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer', 'Walmart', 'Shop.com', 'Sezzle', 'Venmo', 'Apple Pay', 'Google Pay', 'Health Benefit Card', 'PayPal Fastlane'])
|
244
|
+
payment_method_validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon Pay', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'Crypto', 'eBay', 'eCheck', 'Google Shopping', 'Goldbelly', 'GoHighLevel', 'Insurance', 'Link', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer', 'Walmart', 'Shop.com', 'Sezzle', 'Venmo', 'Apple Pay', 'Google Pay', 'Health Benefit Card', 'PayPal Fastlane'])
|
245
245
|
return false unless payment_method_validator.valid?(@payment_method)
|
246
246
|
payment_status_validator = EnumAttributeValidator.new('String', ['Unprocessed', 'Authorized', 'Capture Failed', 'Processed', 'Declined', 'Voided', 'Refunded', 'Skipped'])
|
247
247
|
return false unless payment_status_validator.valid?(@payment_status)
|
@@ -251,7 +251,7 @@ module UltracartClient
|
|
251
251
|
# Custom attribute writer method checking allowed values (enum).
|
252
252
|
# @param [Object] payment_method Object to be assigned
|
253
253
|
def payment_method=(payment_method)
|
254
|
-
validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon Pay', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'eBay', 'eCheck', 'Google Shopping', 'Goldbelly', 'GoHighLevel', 'Insurance', 'Link', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer', 'Walmart', 'Shop.com', 'Sezzle', 'Venmo', 'Apple Pay', 'Google Pay', 'Health Benefit Card', 'PayPal Fastlane'])
|
254
|
+
validator = EnumAttributeValidator.new('String', ['Affirm', 'Amazon', 'Amazon Pay', 'Amazon SC', 'Cash', 'Check', 'COD', 'Credit Card', 'Crypto', 'eBay', 'eCheck', 'Google Shopping', 'Goldbelly', 'GoHighLevel', 'Insurance', 'Link', 'LoanHero', 'Money Order', 'PayPal', 'Purchase Order', 'Quote Request', 'Unknown', 'Wire Transfer', 'Walmart', 'Shop.com', 'Sezzle', 'Venmo', 'Apple Pay', 'Google Pay', 'Health Benefit Card', 'PayPal Fastlane'])
|
255
255
|
unless validator.valid?(payment_method)
|
256
256
|
fail ArgumentError, 'invalid value for "payment_method", must be one of #{validator.allowable_values}.'
|
257
257
|
end
|
data/lib/ultracart_api.rb
CHANGED
@@ -157,6 +157,7 @@ require 'ultracart_api/models/conversation_canned_message'
|
|
157
157
|
require 'ultracart_api/models/conversation_canned_message_response'
|
158
158
|
require 'ultracart_api/models/conversation_canned_messages_response'
|
159
159
|
require 'ultracart_api/models/conversation_canned_messages_search'
|
160
|
+
require 'ultracart_api/models/conversation_delete_knowledge_base_document_response'
|
160
161
|
require 'ultracart_api/models/conversation_department'
|
161
162
|
require 'ultracart_api/models/conversation_department_member'
|
162
163
|
require 'ultracart_api/models/conversation_department_members_response'
|
@@ -176,7 +177,13 @@ require 'ultracart_api/models/conversation_event_rr_web'
|
|
176
177
|
require 'ultracart_api/models/conversation_event_read_message'
|
177
178
|
require 'ultracart_api/models/conversation_event_typing'
|
178
179
|
require 'ultracart_api/models/conversation_event_webchat_context'
|
180
|
+
require 'ultracart_api/models/conversation_insert_knowledge_base_document_request'
|
181
|
+
require 'ultracart_api/models/conversation_insert_knowledge_base_document_response'
|
179
182
|
require 'ultracart_api/models/conversation_join_request'
|
183
|
+
require 'ultracart_api/models/conversation_knowledge_base_document'
|
184
|
+
require 'ultracart_api/models/conversation_knowledge_base_document_upload_url'
|
185
|
+
require 'ultracart_api/models/conversation_knowledge_base_document_upload_url_response'
|
186
|
+
require 'ultracart_api/models/conversation_knowledge_base_documents_response'
|
180
187
|
require 'ultracart_api/models/conversation_location_country'
|
181
188
|
require 'ultracart_api/models/conversation_location_state_province'
|
182
189
|
require 'ultracart_api/models/conversation_locations_response'
|
@@ -343,6 +350,7 @@ require 'ultracart_api/models/custom_report_parameter_option'
|
|
343
350
|
require 'ultracart_api/models/custom_report_query'
|
344
351
|
require 'ultracart_api/models/custom_report_response'
|
345
352
|
require 'ultracart_api/models/custom_report_tooltip'
|
353
|
+
require 'ultracart_api/models/custom_report_usage_breakdown'
|
346
354
|
require 'ultracart_api/models/custom_reports_execution_report_data'
|
347
355
|
require 'ultracart_api/models/custom_reports_execution_request'
|
348
356
|
require 'ultracart_api/models/custom_reports_execution_response'
|
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.11.
|
4
|
+
version: 3.11.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -366,6 +366,7 @@ files:
|
|
366
366
|
- docs/ConversationCannedMessageResponse.md
|
367
367
|
- docs/ConversationCannedMessagesResponse.md
|
368
368
|
- docs/ConversationCannedMessagesSearch.md
|
369
|
+
- docs/ConversationDeleteKnowledgeBaseDocumentResponse.md
|
369
370
|
- docs/ConversationDepartment.md
|
370
371
|
- docs/ConversationDepartmentMember.md
|
371
372
|
- docs/ConversationDepartmentMembersResponse.md
|
@@ -385,7 +386,13 @@ files:
|
|
385
386
|
- docs/ConversationEventReadMessage.md
|
386
387
|
- docs/ConversationEventTyping.md
|
387
388
|
- docs/ConversationEventWebchatContext.md
|
389
|
+
- docs/ConversationInsertKnowledgeBaseDocumentRequest.md
|
390
|
+
- docs/ConversationInsertKnowledgeBaseDocumentResponse.md
|
388
391
|
- docs/ConversationJoinRequest.md
|
392
|
+
- docs/ConversationKnowledgeBaseDocument.md
|
393
|
+
- docs/ConversationKnowledgeBaseDocumentUploadUrl.md
|
394
|
+
- docs/ConversationKnowledgeBaseDocumentUploadUrlResponse.md
|
395
|
+
- docs/ConversationKnowledgeBaseDocumentsResponse.md
|
389
396
|
- docs/ConversationLocationCountry.md
|
390
397
|
- docs/ConversationLocationStateProvince.md
|
391
398
|
- docs/ConversationLocationsResponse.md
|
@@ -553,6 +560,7 @@ files:
|
|
553
560
|
- docs/CustomReportQuery.md
|
554
561
|
- docs/CustomReportResponse.md
|
555
562
|
- docs/CustomReportTooltip.md
|
563
|
+
- docs/CustomReportUsageBreakdown.md
|
556
564
|
- docs/CustomReportsExecutionReportData.md
|
557
565
|
- docs/CustomReportsExecutionRequest.md
|
558
566
|
- docs/CustomReportsExecutionResponse.md
|
@@ -1297,6 +1305,7 @@ files:
|
|
1297
1305
|
- lib/ultracart_api/models/conversation_canned_message_response.rb
|
1298
1306
|
- lib/ultracart_api/models/conversation_canned_messages_response.rb
|
1299
1307
|
- lib/ultracart_api/models/conversation_canned_messages_search.rb
|
1308
|
+
- lib/ultracart_api/models/conversation_delete_knowledge_base_document_response.rb
|
1300
1309
|
- lib/ultracart_api/models/conversation_department.rb
|
1301
1310
|
- lib/ultracart_api/models/conversation_department_member.rb
|
1302
1311
|
- lib/ultracart_api/models/conversation_department_members_response.rb
|
@@ -1316,7 +1325,13 @@ files:
|
|
1316
1325
|
- lib/ultracart_api/models/conversation_event_rr_web.rb
|
1317
1326
|
- lib/ultracart_api/models/conversation_event_typing.rb
|
1318
1327
|
- lib/ultracart_api/models/conversation_event_webchat_context.rb
|
1328
|
+
- lib/ultracart_api/models/conversation_insert_knowledge_base_document_request.rb
|
1329
|
+
- lib/ultracart_api/models/conversation_insert_knowledge_base_document_response.rb
|
1319
1330
|
- lib/ultracart_api/models/conversation_join_request.rb
|
1331
|
+
- lib/ultracart_api/models/conversation_knowledge_base_document.rb
|
1332
|
+
- lib/ultracart_api/models/conversation_knowledge_base_document_upload_url.rb
|
1333
|
+
- lib/ultracart_api/models/conversation_knowledge_base_document_upload_url_response.rb
|
1334
|
+
- lib/ultracart_api/models/conversation_knowledge_base_documents_response.rb
|
1320
1335
|
- lib/ultracart_api/models/conversation_location_country.rb
|
1321
1336
|
- lib/ultracart_api/models/conversation_location_state_province.rb
|
1322
1337
|
- lib/ultracart_api/models/conversation_locations_response.rb
|
@@ -1483,6 +1498,7 @@ files:
|
|
1483
1498
|
- lib/ultracart_api/models/custom_report_query.rb
|
1484
1499
|
- lib/ultracart_api/models/custom_report_response.rb
|
1485
1500
|
- lib/ultracart_api/models/custom_report_tooltip.rb
|
1501
|
+
- lib/ultracart_api/models/custom_report_usage_breakdown.rb
|
1486
1502
|
- lib/ultracart_api/models/custom_reports_execution_report_data.rb
|
1487
1503
|
- lib/ultracart_api/models/custom_reports_execution_request.rb
|
1488
1504
|
- lib/ultracart_api/models/custom_reports_execution_response.rb
|