ultracart_api 4.1.77 → 4.1.79
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 +5 -2
- data/docs/ConversationAgentAuth.md +4 -0
- data/docs/ConversationAgentAuthMerchant.md +22 -0
- data/docs/ConversationPbxAudio.md +2 -0
- data/docs/ConversationPbxCall.md +2 -0
- data/docs/ConversationPbxClassOfService.md +2 -0
- data/docs/ConversationPbxCustomerSnapshotRequest.md +2 -0
- data/docs/ConversationPbxMenu.md +2 -0
- data/docs/ConversationPbxPhoneNumber.md +2 -0
- data/docs/ConversationPbxQueue.md +2 -0
- data/docs/ConversationPbxTimeBased.md +2 -0
- data/docs/ConversationPbxTimeRange.md +2 -0
- data/docs/ConversationPbxVoicemailMailbox.md +2 -0
- data/docs/ItemShipping.md +2 -0
- data/lib/ultracart_api/models/conversation_agent_auth.rb +23 -1
- data/lib/ultracart_api/models/conversation_agent_auth_merchant.rb +255 -0
- data/lib/ultracart_api/models/conversation_pbx_audio.rb +26 -1
- data/lib/ultracart_api/models/conversation_pbx_call.rb +11 -1
- data/lib/ultracart_api/models/conversation_pbx_class_of_service.rb +26 -1
- data/lib/ultracart_api/models/conversation_pbx_customer_snapshot_request.rb +10 -1
- data/lib/ultracart_api/models/conversation_pbx_menu.rb +26 -1
- data/lib/ultracart_api/models/conversation_pbx_phone_number.rb +26 -1
- data/lib/ultracart_api/models/conversation_pbx_queue.rb +26 -1
- data/lib/ultracart_api/models/conversation_pbx_time_based.rb +10 -1
- data/lib/ultracart_api/models/conversation_pbx_time_range.rb +26 -1
- data/lib/ultracart_api/models/conversation_pbx_voicemail_mailbox.rb +26 -1
- data/lib/ultracart_api/models/item_shipping.rb +11 -1
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +1 -0
- metadata +4 -2
|
@@ -18,6 +18,9 @@ module UltracartClient
|
|
|
18
18
|
# Configurations for all ranges in this time range
|
|
19
19
|
attr_accessor :configs
|
|
20
20
|
|
|
21
|
+
# Optional child merchant ID this resource is assigned to. Null = shared across the linked merchant group.
|
|
22
|
+
attr_accessor :context_merchant_id
|
|
23
|
+
|
|
21
24
|
# Conversation Pbx Time Range UUID
|
|
22
25
|
attr_accessor :conversation_pbx_time_range_uuid
|
|
23
26
|
|
|
@@ -34,6 +37,7 @@ module UltracartClient
|
|
|
34
37
|
def self.attribute_map
|
|
35
38
|
{
|
|
36
39
|
:'configs' => :'configs',
|
|
40
|
+
:'context_merchant_id' => :'context_merchant_id',
|
|
37
41
|
:'conversation_pbx_time_range_uuid' => :'conversation_pbx_time_range_uuid',
|
|
38
42
|
:'merchant_id' => :'merchant_id',
|
|
39
43
|
:'time_range_name' => :'time_range_name',
|
|
@@ -50,6 +54,7 @@ module UltracartClient
|
|
|
50
54
|
def self.openapi_types
|
|
51
55
|
{
|
|
52
56
|
:'configs' => :'Array<ConversationPbxTimeRangeConfig>',
|
|
57
|
+
:'context_merchant_id' => :'String',
|
|
53
58
|
:'conversation_pbx_time_range_uuid' => :'String',
|
|
54
59
|
:'merchant_id' => :'String',
|
|
55
60
|
:'time_range_name' => :'String',
|
|
@@ -84,6 +89,10 @@ module UltracartClient
|
|
|
84
89
|
end
|
|
85
90
|
end
|
|
86
91
|
|
|
92
|
+
if attributes.key?(:'context_merchant_id')
|
|
93
|
+
self.context_merchant_id = attributes[:'context_merchant_id']
|
|
94
|
+
end
|
|
95
|
+
|
|
87
96
|
if attributes.key?(:'conversation_pbx_time_range_uuid')
|
|
88
97
|
self.conversation_pbx_time_range_uuid = attributes[:'conversation_pbx_time_range_uuid']
|
|
89
98
|
end
|
|
@@ -105,6 +114,10 @@ module UltracartClient
|
|
|
105
114
|
# @return Array for valid properties with the reasons
|
|
106
115
|
def list_invalid_properties
|
|
107
116
|
invalid_properties = Array.new
|
|
117
|
+
if !@context_merchant_id.nil? && @context_merchant_id.to_s.length > 20
|
|
118
|
+
invalid_properties.push('invalid value for "context_merchant_id", the character length must be smaller than or equal to 20.')
|
|
119
|
+
end
|
|
120
|
+
|
|
108
121
|
if !@conversation_pbx_time_range_uuid.nil? && @conversation_pbx_time_range_uuid.to_s.length > 50
|
|
109
122
|
invalid_properties.push('invalid value for "conversation_pbx_time_range_uuid", the character length must be smaller than or equal to 50.')
|
|
110
123
|
end
|
|
@@ -127,6 +140,7 @@ module UltracartClient
|
|
|
127
140
|
# Check to see if the all the properties in the model are valid
|
|
128
141
|
# @return true if the model is valid
|
|
129
142
|
def valid?
|
|
143
|
+
return false if !@context_merchant_id.nil? && @context_merchant_id.to_s.length > 20
|
|
130
144
|
return false if !@conversation_pbx_time_range_uuid.nil? && @conversation_pbx_time_range_uuid.to_s.length > 50
|
|
131
145
|
return false if !@merchant_id.nil? && @merchant_id.to_s.length > 5
|
|
132
146
|
return false if !@time_range_name.nil? && @time_range_name.to_s.length > 50
|
|
@@ -134,6 +148,16 @@ module UltracartClient
|
|
|
134
148
|
true
|
|
135
149
|
end
|
|
136
150
|
|
|
151
|
+
# Custom attribute writer method with validation
|
|
152
|
+
# @param [Object] context_merchant_id Value to be assigned
|
|
153
|
+
def context_merchant_id=(context_merchant_id)
|
|
154
|
+
if !context_merchant_id.nil? && context_merchant_id.to_s.length > 20
|
|
155
|
+
fail ArgumentError, 'invalid value for "context_merchant_id", the character length must be smaller than or equal to 20.'
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
@context_merchant_id = context_merchant_id
|
|
159
|
+
end
|
|
160
|
+
|
|
137
161
|
# Custom attribute writer method with validation
|
|
138
162
|
# @param [Object] conversation_pbx_time_range_uuid Value to be assigned
|
|
139
163
|
def conversation_pbx_time_range_uuid=(conversation_pbx_time_range_uuid)
|
|
@@ -180,6 +204,7 @@ module UltracartClient
|
|
|
180
204
|
return true if self.equal?(o)
|
|
181
205
|
self.class == o.class &&
|
|
182
206
|
configs == o.configs &&
|
|
207
|
+
context_merchant_id == o.context_merchant_id &&
|
|
183
208
|
conversation_pbx_time_range_uuid == o.conversation_pbx_time_range_uuid &&
|
|
184
209
|
merchant_id == o.merchant_id &&
|
|
185
210
|
time_range_name == o.time_range_name &&
|
|
@@ -195,7 +220,7 @@ module UltracartClient
|
|
|
195
220
|
# Calculates hash code according to all attributes.
|
|
196
221
|
# @return [Integer] Hash code
|
|
197
222
|
def hash
|
|
198
|
-
[configs, conversation_pbx_time_range_uuid, merchant_id, time_range_name, timezone].hash
|
|
223
|
+
[configs, context_merchant_id, conversation_pbx_time_range_uuid, merchant_id, time_range_name, timezone].hash
|
|
199
224
|
end
|
|
200
225
|
|
|
201
226
|
# Builds the object from hash
|
|
@@ -15,6 +15,9 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module UltracartClient
|
|
17
17
|
class ConversationPbxVoicemailMailbox
|
|
18
|
+
# Optional child merchant ID this resource is assigned to. Null = shared across the linked merchant group.
|
|
19
|
+
attr_accessor :context_merchant_id
|
|
20
|
+
|
|
18
21
|
# Conversation Pbx Voicemail Mailbox UUID
|
|
19
22
|
attr_accessor :conversation_pbx_voicemail_mailbox_uuid
|
|
20
23
|
|
|
@@ -82,6 +85,7 @@ module UltracartClient
|
|
|
82
85
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
83
86
|
def self.attribute_map
|
|
84
87
|
{
|
|
88
|
+
:'context_merchant_id' => :'context_merchant_id',
|
|
85
89
|
:'conversation_pbx_voicemail_mailbox_uuid' => :'conversation_pbx_voicemail_mailbox_uuid',
|
|
86
90
|
:'merchant_id' => :'merchant_id',
|
|
87
91
|
:'send_notices_to_channel' => :'send_notices_to_channel',
|
|
@@ -107,6 +111,7 @@ module UltracartClient
|
|
|
107
111
|
# Attribute type mapping.
|
|
108
112
|
def self.openapi_types
|
|
109
113
|
{
|
|
114
|
+
:'context_merchant_id' => :'String',
|
|
110
115
|
:'conversation_pbx_voicemail_mailbox_uuid' => :'String',
|
|
111
116
|
:'merchant_id' => :'String',
|
|
112
117
|
:'send_notices_to_channel' => :'String',
|
|
@@ -145,6 +150,10 @@ module UltracartClient
|
|
|
145
150
|
h[k.to_sym] = v
|
|
146
151
|
}
|
|
147
152
|
|
|
153
|
+
if attributes.key?(:'context_merchant_id')
|
|
154
|
+
self.context_merchant_id = attributes[:'context_merchant_id']
|
|
155
|
+
end
|
|
156
|
+
|
|
148
157
|
if attributes.key?(:'conversation_pbx_voicemail_mailbox_uuid')
|
|
149
158
|
self.conversation_pbx_voicemail_mailbox_uuid = attributes[:'conversation_pbx_voicemail_mailbox_uuid']
|
|
150
159
|
end
|
|
@@ -206,6 +215,10 @@ module UltracartClient
|
|
|
206
215
|
# @return Array for valid properties with the reasons
|
|
207
216
|
def list_invalid_properties
|
|
208
217
|
invalid_properties = Array.new
|
|
218
|
+
if !@context_merchant_id.nil? && @context_merchant_id.to_s.length > 20
|
|
219
|
+
invalid_properties.push('invalid value for "context_merchant_id", the character length must be smaller than or equal to 20.')
|
|
220
|
+
end
|
|
221
|
+
|
|
209
222
|
if !@conversation_pbx_voicemail_mailbox_uuid.nil? && @conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
|
|
210
223
|
invalid_properties.push('invalid value for "conversation_pbx_voicemail_mailbox_uuid", the character length must be smaller than or equal to 50.')
|
|
211
224
|
end
|
|
@@ -256,6 +269,7 @@ module UltracartClient
|
|
|
256
269
|
# Check to see if the all the properties in the model are valid
|
|
257
270
|
# @return true if the model is valid
|
|
258
271
|
def valid?
|
|
272
|
+
return false if !@context_merchant_id.nil? && @context_merchant_id.to_s.length > 20
|
|
259
273
|
return false if !@conversation_pbx_voicemail_mailbox_uuid.nil? && @conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
|
|
260
274
|
return false if !@merchant_id.nil? && @merchant_id.to_s.length > 5
|
|
261
275
|
send_notices_to_channel_validator = EnumAttributeValidator.new('String', ["none", "email", "zoho_desk_ticket", "ultracart_task"])
|
|
@@ -278,6 +292,16 @@ module UltracartClient
|
|
|
278
292
|
true
|
|
279
293
|
end
|
|
280
294
|
|
|
295
|
+
# Custom attribute writer method with validation
|
|
296
|
+
# @param [Object] context_merchant_id Value to be assigned
|
|
297
|
+
def context_merchant_id=(context_merchant_id)
|
|
298
|
+
if !context_merchant_id.nil? && context_merchant_id.to_s.length > 20
|
|
299
|
+
fail ArgumentError, 'invalid value for "context_merchant_id", the character length must be smaller than or equal to 20.'
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
@context_merchant_id = context_merchant_id
|
|
303
|
+
end
|
|
304
|
+
|
|
281
305
|
# Custom attribute writer method with validation
|
|
282
306
|
# @param [Object] conversation_pbx_voicemail_mailbox_uuid Value to be assigned
|
|
283
307
|
def conversation_pbx_voicemail_mailbox_uuid=(conversation_pbx_voicemail_mailbox_uuid)
|
|
@@ -393,6 +417,7 @@ module UltracartClient
|
|
|
393
417
|
def ==(o)
|
|
394
418
|
return true if self.equal?(o)
|
|
395
419
|
self.class == o.class &&
|
|
420
|
+
context_merchant_id == o.context_merchant_id &&
|
|
396
421
|
conversation_pbx_voicemail_mailbox_uuid == o.conversation_pbx_voicemail_mailbox_uuid &&
|
|
397
422
|
merchant_id == o.merchant_id &&
|
|
398
423
|
send_notices_to_channel == o.send_notices_to_channel &&
|
|
@@ -418,7 +443,7 @@ module UltracartClient
|
|
|
418
443
|
# Calculates hash code according to all attributes.
|
|
419
444
|
# @return [Integer] Hash code
|
|
420
445
|
def hash
|
|
421
|
-
[conversation_pbx_voicemail_mailbox_uuid, merchant_id, send_notices_to_channel, send_notices_to_email, send_notices_to_zoho_desk_department_id, user_id, voicemail_followup_play_audio_uuid, voicemail_followup_say, voicemail_followup_say_voice, voicemail_mailbox_id, voicemail_mailbox_type, voicemail_prompt_play_audio_uuid, voicemail_prompt_say, voicemail_prompt_say_voice].hash
|
|
446
|
+
[context_merchant_id, conversation_pbx_voicemail_mailbox_uuid, merchant_id, send_notices_to_channel, send_notices_to_email, send_notices_to_zoho_desk_department_id, user_id, voicemail_followup_play_audio_uuid, voicemail_followup_say, voicemail_followup_say_voice, voicemail_mailbox_id, voicemail_mailbox_type, voicemail_prompt_play_audio_uuid, voicemail_prompt_say, voicemail_prompt_say_voice].hash
|
|
422
447
|
end
|
|
423
448
|
|
|
424
449
|
# Builds the object from hash
|
|
@@ -105,6 +105,9 @@ module UltracartClient
|
|
|
105
105
|
# No shipping discounts
|
|
106
106
|
attr_accessor :no_shipping_discount
|
|
107
107
|
|
|
108
|
+
# Split cart line items with quantity greater than one into individual lines of quantity one on the order
|
|
109
|
+
attr_accessor :one_line_per_unit
|
|
110
|
+
|
|
108
111
|
# Package requirements
|
|
109
112
|
attr_accessor :package_requirements
|
|
110
113
|
|
|
@@ -197,6 +200,7 @@ module UltracartClient
|
|
|
197
200
|
:'max_days_time_in_transit' => :'max_days_time_in_transit',
|
|
198
201
|
:'methods' => :'methods',
|
|
199
202
|
:'no_shipping_discount' => :'no_shipping_discount',
|
|
203
|
+
:'one_line_per_unit' => :'one_line_per_unit',
|
|
200
204
|
:'package_requirements' => :'package_requirements',
|
|
201
205
|
:'perishable_class_name' => :'perishable_class_name',
|
|
202
206
|
:'perishable_class_oid' => :'perishable_class_oid',
|
|
@@ -259,6 +263,7 @@ module UltracartClient
|
|
|
259
263
|
:'max_days_time_in_transit' => :'Integer',
|
|
260
264
|
:'methods' => :'Array<ItemShippingMethod>',
|
|
261
265
|
:'no_shipping_discount' => :'Boolean',
|
|
266
|
+
:'one_line_per_unit' => :'Boolean',
|
|
262
267
|
:'package_requirements' => :'Array<ItemShippingPackageRequirement>',
|
|
263
268
|
:'perishable_class_name' => :'String',
|
|
264
269
|
:'perishable_class_oid' => :'Integer',
|
|
@@ -434,6 +439,10 @@ module UltracartClient
|
|
|
434
439
|
self.no_shipping_discount = attributes[:'no_shipping_discount']
|
|
435
440
|
end
|
|
436
441
|
|
|
442
|
+
if attributes.key?(:'one_line_per_unit')
|
|
443
|
+
self.one_line_per_unit = attributes[:'one_line_per_unit']
|
|
444
|
+
end
|
|
445
|
+
|
|
437
446
|
if attributes.key?(:'package_requirements')
|
|
438
447
|
if (value = attributes[:'package_requirements']).is_a?(Array)
|
|
439
448
|
self.package_requirements = value
|
|
@@ -584,6 +593,7 @@ module UltracartClient
|
|
|
584
593
|
max_days_time_in_transit == o.max_days_time_in_transit &&
|
|
585
594
|
methods == o.methods &&
|
|
586
595
|
no_shipping_discount == o.no_shipping_discount &&
|
|
596
|
+
one_line_per_unit == o.one_line_per_unit &&
|
|
587
597
|
package_requirements == o.package_requirements &&
|
|
588
598
|
perishable_class_name == o.perishable_class_name &&
|
|
589
599
|
perishable_class_oid == o.perishable_class_oid &&
|
|
@@ -616,7 +626,7 @@ module UltracartClient
|
|
|
616
626
|
# Calculates hash code according to all attributes.
|
|
617
627
|
# @return [Integer] Hash code
|
|
618
628
|
def hash
|
|
619
|
-
[allow_back_order, amazon_fba, case_inner_packs, case_units, cases, collect_serial_numbers, country_code_of_origin, customs_description, customs_value, delivery_on_friday, delivery_on_monday, delivery_on_saturday, delivery_on_sunday, delivery_on_thursday, delivery_on_tuesday, delivery_on_wednesday, destination_markups, destination_restrictions, distribution_centers, eta, free_shipping, freight_class, hazmat, hold_for_transmission, include_on_packing_slip, made_to_order, made_to_order_lead_time, max_days_time_in_transit, methods, no_shipping_discount, package_requirements, perishable_class_name, perishable_class_oid, preorder, require_delivery_date, restrict_shipment_on_friday, restrict_shipment_on_monday, restrict_shipment_on_saturday, restrict_shipment_on_sunday, restrict_shipment_on_thursday, restrict_shipment_on_tuesday, restrict_shipment_on_wednesday, send_to_hold_before_fulfillment, ship_separately, ship_separately_additional_weight, ship_separately_height, ship_separately_length, ship_separately_package_special_type, ship_separately_width, special_product_type, track_inventory].hash
|
|
629
|
+
[allow_back_order, amazon_fba, case_inner_packs, case_units, cases, collect_serial_numbers, country_code_of_origin, customs_description, customs_value, delivery_on_friday, delivery_on_monday, delivery_on_saturday, delivery_on_sunday, delivery_on_thursday, delivery_on_tuesday, delivery_on_wednesday, destination_markups, destination_restrictions, distribution_centers, eta, free_shipping, freight_class, hazmat, hold_for_transmission, include_on_packing_slip, made_to_order, made_to_order_lead_time, max_days_time_in_transit, methods, no_shipping_discount, one_line_per_unit, package_requirements, perishable_class_name, perishable_class_oid, preorder, require_delivery_date, restrict_shipment_on_friday, restrict_shipment_on_monday, restrict_shipment_on_saturday, restrict_shipment_on_sunday, restrict_shipment_on_thursday, restrict_shipment_on_tuesday, restrict_shipment_on_wednesday, send_to_hold_before_fulfillment, ship_separately, ship_separately_additional_weight, ship_separately_height, ship_separately_length, ship_separately_package_special_type, ship_separately_width, special_product_type, track_inventory].hash
|
|
620
630
|
end
|
|
621
631
|
|
|
622
632
|
# Builds the object from hash
|
data/lib/ultracart_api.rb
CHANGED
|
@@ -151,6 +151,7 @@ require 'ultracart_api/models/checkout_state_province_response'
|
|
|
151
151
|
require 'ultracart_api/models/city_state_zip'
|
|
152
152
|
require 'ultracart_api/models/conversation'
|
|
153
153
|
require 'ultracart_api/models/conversation_agent_auth'
|
|
154
|
+
require 'ultracart_api/models/conversation_agent_auth_merchant'
|
|
154
155
|
require 'ultracart_api/models/conversation_agent_auth_response'
|
|
155
156
|
require 'ultracart_api/models/conversation_agent_profile'
|
|
156
157
|
require 'ultracart_api/models/conversation_agent_profile_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: 4.1.
|
|
4
|
+
version: 4.1.79
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-04-
|
|
11
|
+
date: 2026-04-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -199,6 +199,7 @@ files:
|
|
|
199
199
|
- docs/CityStateZip.md
|
|
200
200
|
- docs/Conversation.md
|
|
201
201
|
- docs/ConversationAgentAuth.md
|
|
202
|
+
- docs/ConversationAgentAuthMerchant.md
|
|
202
203
|
- docs/ConversationAgentAuthResponse.md
|
|
203
204
|
- docs/ConversationAgentProfile.md
|
|
204
205
|
- docs/ConversationAgentProfileResponse.md
|
|
@@ -1196,6 +1197,7 @@ files:
|
|
|
1196
1197
|
- lib/ultracart_api/models/city_state_zip.rb
|
|
1197
1198
|
- lib/ultracart_api/models/conversation.rb
|
|
1198
1199
|
- lib/ultracart_api/models/conversation_agent_auth.rb
|
|
1200
|
+
- lib/ultracart_api/models/conversation_agent_auth_merchant.rb
|
|
1199
1201
|
- lib/ultracart_api/models/conversation_agent_auth_response.rb
|
|
1200
1202
|
- lib/ultracart_api/models/conversation_agent_profile.rb
|
|
1201
1203
|
- lib/ultracart_api/models/conversation_agent_profile_response.rb
|