ultracart_api 4.1.49 → 4.1.50
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 +3 -2
- data/docs/ConversationPbxAgent.md +6 -2
- data/docs/ConversationPbxHardwarePhone.md +9 -1
- data/lib/ultracart_api/models/conversation_pbx_agent.rb +67 -11
- data/lib/ultracart_api/models/conversation_pbx_hardware_phone.rb +57 -2
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6008651fba053b35bc6ebf074cc95b83dd8d5c267b0a126dfc3579b9e0a21db7
|
|
4
|
+
data.tar.gz: 60403b638cb2c4d7a14a3d47cb5b2bb651021909b1d2003d8d344690ea02ca02
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fd0e49bd14d61fc32c339e1fba8f3af8ad23bba957d8cc22fcda4de4337d6b6443a459e9d9d39be4c3815c2ef39b8d69a541b7bf283aeb5431af67794a83b5c8
|
|
7
|
+
data.tar.gz: 73fa68122628a1f3ade947f5a293d71ccec86cf7466f922d9182ef1438bf32e23e555f266a91d46f1b82f5e3b6b81614c100decd34660fa0dac677003e257a9c
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Note: Every method has a sample for every language. See https://github.com/Ultr
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: 2.0.0
|
|
10
|
-
- Package version: 4.1.
|
|
10
|
+
- Package version: 4.1.50
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
- For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g
|
|
|
16
16
|
gemfile:
|
|
17
17
|
|
|
18
18
|
```shell
|
|
19
|
-
gem 'ultracart_api', '4.1.
|
|
19
|
+
gem 'ultracart_api', '4.1.50'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -1635,6 +1635,7 @@ Not every change is committed to every SDK.
|
|
|
1635
1635
|
|
|
1636
1636
|
| Version | Date | Comments |
|
|
1637
1637
|
| --: | :-: | --- |
|
|
1638
|
+
| 4.1.50 | 01/27/2026 | conversations - refinements to support hardware phones |
|
|
1638
1639
|
| 4.1.49 | 01/26/2026 | no changes - testing changes to build automation |
|
|
1639
1640
|
| 4.1.48 | 01/26/2026 | conversation - hardware phone methods and objects |
|
|
1640
1641
|
| 4.1.47 | 01/26/2026 | conversation - agent auth object chat admin/user properties |
|
|
@@ -5,14 +5,16 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **ai** | **Boolean** | Flag to indicate if the agent is AI | [optional] |
|
|
8
|
+
| **call_routing_preference** | **String** | The call routing preference | [optional] |
|
|
8
9
|
| **cellphone** | **String** | Cellphone number of agent in E.164 format | [optional] |
|
|
9
10
|
| **conversation_pbx_agent_uuid** | **String** | Conversation Pbx Agent unique identifier | [optional] |
|
|
10
11
|
| **extension** | **Integer** | Extension | [optional] |
|
|
11
|
-
| **forward_calls_to_cellphone** | **Boolean** | True if calls to this agent should be forwarded to their cellphone | [optional] |
|
|
12
12
|
| **full_name** | **String** | Full name | [optional] |
|
|
13
|
+
| **hardware_phone_uuids** | **Array<String>** | Array of hardware phones UUIDs associated with this agent | [optional] |
|
|
13
14
|
| **login** | **String** | Agent login | [optional] |
|
|
14
15
|
| **merchant_id** | **String** | Merchant Id | [optional] |
|
|
15
16
|
| **personal_conversation_pbx_voicemail_mailbox_uuid** | **String** | Personal Conversation Pbx Voicemail Mailbox UUID | [optional] |
|
|
17
|
+
| **preferred_hardware_phone_uuid** | **String** | The hardware phone that will be dialed on an incoming call if routing preference is hardware_phone | [optional] |
|
|
16
18
|
| **record_outgoing_automatically** | **Boolean** | True if outgoing calls should be automatically recorded | [optional] |
|
|
17
19
|
| **shared_conversation_pbx_voicemail_mailbox_uuid** | **String** | Shared Conversation Pbx Voicemail Mailbox UUID | [optional] |
|
|
18
20
|
| **twilio_taskrouter_worker_id** | **String** | Twilio taskrouter worker Id | [optional] |
|
|
@@ -29,14 +31,16 @@ require 'ultracart_api'
|
|
|
29
31
|
|
|
30
32
|
instance = UltracartClient::ConversationPbxAgent.new(
|
|
31
33
|
ai: null,
|
|
34
|
+
call_routing_preference: null,
|
|
32
35
|
cellphone: null,
|
|
33
36
|
conversation_pbx_agent_uuid: null,
|
|
34
37
|
extension: null,
|
|
35
|
-
forward_calls_to_cellphone: null,
|
|
36
38
|
full_name: null,
|
|
39
|
+
hardware_phone_uuids: null,
|
|
37
40
|
login: null,
|
|
38
41
|
merchant_id: null,
|
|
39
42
|
personal_conversation_pbx_voicemail_mailbox_uuid: null,
|
|
43
|
+
preferred_hardware_phone_uuid: null,
|
|
40
44
|
record_outgoing_automatically: null,
|
|
41
45
|
shared_conversation_pbx_voicemail_mailbox_uuid: null,
|
|
42
46
|
twilio_taskrouter_worker_id: null,
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **admin_username** | **String** | Admin Username | [optional] |
|
|
8
|
+
| **conversation_pbx_agent_uuid** | **String** | Associated Agent UUID | [optional] |
|
|
7
9
|
| **conversation_pbx_hardware_phone_uuid** | **String** | Conversation Pbx Hardware Phone UUID | [optional] |
|
|
8
10
|
| **created_at** | **Object** | Created At | [optional] |
|
|
9
11
|
| **description** | **String** | Description | [optional] |
|
|
@@ -14,8 +16,10 @@
|
|
|
14
16
|
| **name** | **String** | Name | [optional] |
|
|
15
17
|
| **provisioning_url** | **String** | Auto-provisioning URL for phone configuration | [optional] |
|
|
16
18
|
| **sip_domain** | **String** | SIP Domain | [optional] |
|
|
17
|
-
| **
|
|
19
|
+
| **sip_edge_location** | **String** | SIP Edge Location | [optional] |
|
|
20
|
+
| **sip_password** | **String** | SIP Password (only on create or regenerate password requests) | [optional] |
|
|
18
21
|
| **sip_username** | **String** | SIP Username | [optional] |
|
|
22
|
+
| **twilio_credential_sid** | **String** | Twilio Credential SID | [optional] |
|
|
19
23
|
| **updated_at** | **Object** | Updated At | [optional] |
|
|
20
24
|
|
|
21
25
|
## Example
|
|
@@ -24,6 +28,8 @@
|
|
|
24
28
|
require 'ultracart_api'
|
|
25
29
|
|
|
26
30
|
instance = UltracartClient::ConversationPbxHardwarePhone.new(
|
|
31
|
+
admin_username: null,
|
|
32
|
+
conversation_pbx_agent_uuid: null,
|
|
27
33
|
conversation_pbx_hardware_phone_uuid: null,
|
|
28
34
|
created_at: null,
|
|
29
35
|
description: null,
|
|
@@ -34,8 +40,10 @@ instance = UltracartClient::ConversationPbxHardwarePhone.new(
|
|
|
34
40
|
name: null,
|
|
35
41
|
provisioning_url: null,
|
|
36
42
|
sip_domain: null,
|
|
43
|
+
sip_edge_location: null,
|
|
37
44
|
sip_password: null,
|
|
38
45
|
sip_username: null,
|
|
46
|
+
twilio_credential_sid: null,
|
|
39
47
|
updated_at: null
|
|
40
48
|
)
|
|
41
49
|
```
|
|
@@ -18,6 +18,9 @@ module UltracartClient
|
|
|
18
18
|
# Flag to indicate if the agent is AI
|
|
19
19
|
attr_accessor :ai
|
|
20
20
|
|
|
21
|
+
# The call routing preference
|
|
22
|
+
attr_accessor :call_routing_preference
|
|
23
|
+
|
|
21
24
|
# Cellphone number of agent in E.164 format
|
|
22
25
|
attr_accessor :cellphone
|
|
23
26
|
|
|
@@ -27,12 +30,12 @@ module UltracartClient
|
|
|
27
30
|
# Extension
|
|
28
31
|
attr_accessor :extension
|
|
29
32
|
|
|
30
|
-
# True if calls to this agent should be forwarded to their cellphone
|
|
31
|
-
attr_accessor :forward_calls_to_cellphone
|
|
32
|
-
|
|
33
33
|
# Full name
|
|
34
34
|
attr_accessor :full_name
|
|
35
35
|
|
|
36
|
+
# Array of hardware phones UUIDs associated with this agent
|
|
37
|
+
attr_accessor :hardware_phone_uuids
|
|
38
|
+
|
|
36
39
|
# Agent login
|
|
37
40
|
attr_accessor :login
|
|
38
41
|
|
|
@@ -42,6 +45,9 @@ module UltracartClient
|
|
|
42
45
|
# Personal Conversation Pbx Voicemail Mailbox UUID
|
|
43
46
|
attr_accessor :personal_conversation_pbx_voicemail_mailbox_uuid
|
|
44
47
|
|
|
48
|
+
# The hardware phone that will be dialed on an incoming call if routing preference is hardware_phone
|
|
49
|
+
attr_accessor :preferred_hardware_phone_uuid
|
|
50
|
+
|
|
45
51
|
# True if outgoing calls should be automatically recorded
|
|
46
52
|
attr_accessor :record_outgoing_automatically
|
|
47
53
|
|
|
@@ -66,18 +72,42 @@ module UltracartClient
|
|
|
66
72
|
# True if this agent has voicemail configured
|
|
67
73
|
attr_accessor :voicemail
|
|
68
74
|
|
|
75
|
+
class EnumAttributeValidator
|
|
76
|
+
attr_reader :datatype
|
|
77
|
+
attr_reader :allowable_values
|
|
78
|
+
|
|
79
|
+
def initialize(datatype, allowable_values)
|
|
80
|
+
@allowable_values = allowable_values.map do |value|
|
|
81
|
+
case datatype.to_s
|
|
82
|
+
when /Integer/i
|
|
83
|
+
value.to_i
|
|
84
|
+
when /Float/i
|
|
85
|
+
value.to_f
|
|
86
|
+
else
|
|
87
|
+
value
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
def valid?(value)
|
|
93
|
+
!value || allowable_values.include?(value)
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
|
|
69
97
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
70
98
|
def self.attribute_map
|
|
71
99
|
{
|
|
72
100
|
:'ai' => :'ai',
|
|
101
|
+
:'call_routing_preference' => :'call_routing_preference',
|
|
73
102
|
:'cellphone' => :'cellphone',
|
|
74
103
|
:'conversation_pbx_agent_uuid' => :'conversation_pbx_agent_uuid',
|
|
75
104
|
:'extension' => :'extension',
|
|
76
|
-
:'forward_calls_to_cellphone' => :'forward_calls_to_cellphone',
|
|
77
105
|
:'full_name' => :'full_name',
|
|
106
|
+
:'hardware_phone_uuids' => :'hardware_phone_uuids',
|
|
78
107
|
:'login' => :'login',
|
|
79
108
|
:'merchant_id' => :'merchant_id',
|
|
80
109
|
:'personal_conversation_pbx_voicemail_mailbox_uuid' => :'personal_conversation_pbx_voicemail_mailbox_uuid',
|
|
110
|
+
:'preferred_hardware_phone_uuid' => :'preferred_hardware_phone_uuid',
|
|
81
111
|
:'record_outgoing_automatically' => :'record_outgoing_automatically',
|
|
82
112
|
:'shared_conversation_pbx_voicemail_mailbox_uuid' => :'shared_conversation_pbx_voicemail_mailbox_uuid',
|
|
83
113
|
:'twilio_taskrouter_worker_id' => :'twilio_taskrouter_worker_id',
|
|
@@ -98,14 +128,16 @@ module UltracartClient
|
|
|
98
128
|
def self.openapi_types
|
|
99
129
|
{
|
|
100
130
|
:'ai' => :'Boolean',
|
|
131
|
+
:'call_routing_preference' => :'String',
|
|
101
132
|
:'cellphone' => :'String',
|
|
102
133
|
:'conversation_pbx_agent_uuid' => :'String',
|
|
103
134
|
:'extension' => :'Integer',
|
|
104
|
-
:'forward_calls_to_cellphone' => :'Boolean',
|
|
105
135
|
:'full_name' => :'String',
|
|
136
|
+
:'hardware_phone_uuids' => :'Array<String>',
|
|
106
137
|
:'login' => :'String',
|
|
107
138
|
:'merchant_id' => :'String',
|
|
108
139
|
:'personal_conversation_pbx_voicemail_mailbox_uuid' => :'String',
|
|
140
|
+
:'preferred_hardware_phone_uuid' => :'String',
|
|
109
141
|
:'record_outgoing_automatically' => :'Boolean',
|
|
110
142
|
:'shared_conversation_pbx_voicemail_mailbox_uuid' => :'String',
|
|
111
143
|
:'twilio_taskrouter_worker_id' => :'String',
|
|
@@ -142,6 +174,10 @@ module UltracartClient
|
|
|
142
174
|
self.ai = attributes[:'ai']
|
|
143
175
|
end
|
|
144
176
|
|
|
177
|
+
if attributes.key?(:'call_routing_preference')
|
|
178
|
+
self.call_routing_preference = attributes[:'call_routing_preference']
|
|
179
|
+
end
|
|
180
|
+
|
|
145
181
|
if attributes.key?(:'cellphone')
|
|
146
182
|
self.cellphone = attributes[:'cellphone']
|
|
147
183
|
end
|
|
@@ -154,14 +190,16 @@ module UltracartClient
|
|
|
154
190
|
self.extension = attributes[:'extension']
|
|
155
191
|
end
|
|
156
192
|
|
|
157
|
-
if attributes.key?(:'forward_calls_to_cellphone')
|
|
158
|
-
self.forward_calls_to_cellphone = attributes[:'forward_calls_to_cellphone']
|
|
159
|
-
end
|
|
160
|
-
|
|
161
193
|
if attributes.key?(:'full_name')
|
|
162
194
|
self.full_name = attributes[:'full_name']
|
|
163
195
|
end
|
|
164
196
|
|
|
197
|
+
if attributes.key?(:'hardware_phone_uuids')
|
|
198
|
+
if (value = attributes[:'hardware_phone_uuids']).is_a?(Array)
|
|
199
|
+
self.hardware_phone_uuids = value
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
|
|
165
203
|
if attributes.key?(:'login')
|
|
166
204
|
self.login = attributes[:'login']
|
|
167
205
|
end
|
|
@@ -174,6 +212,10 @@ module UltracartClient
|
|
|
174
212
|
self.personal_conversation_pbx_voicemail_mailbox_uuid = attributes[:'personal_conversation_pbx_voicemail_mailbox_uuid']
|
|
175
213
|
end
|
|
176
214
|
|
|
215
|
+
if attributes.key?(:'preferred_hardware_phone_uuid')
|
|
216
|
+
self.preferred_hardware_phone_uuid = attributes[:'preferred_hardware_phone_uuid']
|
|
217
|
+
end
|
|
218
|
+
|
|
177
219
|
if attributes.key?(:'record_outgoing_automatically')
|
|
178
220
|
self.record_outgoing_automatically = attributes[:'record_outgoing_automatically']
|
|
179
221
|
end
|
|
@@ -245,6 +287,8 @@ module UltracartClient
|
|
|
245
287
|
# Check to see if the all the properties in the model are valid
|
|
246
288
|
# @return true if the model is valid
|
|
247
289
|
def valid?
|
|
290
|
+
call_routing_preference_validator = EnumAttributeValidator.new('String', ["softphone", "hardware_phone", "cellphone"])
|
|
291
|
+
return false unless call_routing_preference_validator.valid?(@call_routing_preference)
|
|
248
292
|
return false if !@cellphone.nil? && @cellphone.to_s.length > 50
|
|
249
293
|
return false if !@merchant_id.nil? && @merchant_id.to_s.length > 5
|
|
250
294
|
return false if !@personal_conversation_pbx_voicemail_mailbox_uuid.nil? && @personal_conversation_pbx_voicemail_mailbox_uuid.to_s.length > 50
|
|
@@ -255,6 +299,16 @@ module UltracartClient
|
|
|
255
299
|
true
|
|
256
300
|
end
|
|
257
301
|
|
|
302
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
303
|
+
# @param [Object] call_routing_preference Object to be assigned
|
|
304
|
+
def call_routing_preference=(call_routing_preference)
|
|
305
|
+
validator = EnumAttributeValidator.new('String', ["softphone", "hardware_phone", "cellphone"])
|
|
306
|
+
unless validator.valid?(call_routing_preference)
|
|
307
|
+
fail ArgumentError, "invalid value for \"call_routing_preference\", must be one of #{validator.allowable_values}."
|
|
308
|
+
end
|
|
309
|
+
@call_routing_preference = call_routing_preference
|
|
310
|
+
end
|
|
311
|
+
|
|
258
312
|
# Custom attribute writer method with validation
|
|
259
313
|
# @param [Object] cellphone Value to be assigned
|
|
260
314
|
def cellphone=(cellphone)
|
|
@@ -331,14 +385,16 @@ module UltracartClient
|
|
|
331
385
|
return true if self.equal?(o)
|
|
332
386
|
self.class == o.class &&
|
|
333
387
|
ai == o.ai &&
|
|
388
|
+
call_routing_preference == o.call_routing_preference &&
|
|
334
389
|
cellphone == o.cellphone &&
|
|
335
390
|
conversation_pbx_agent_uuid == o.conversation_pbx_agent_uuid &&
|
|
336
391
|
extension == o.extension &&
|
|
337
|
-
forward_calls_to_cellphone == o.forward_calls_to_cellphone &&
|
|
338
392
|
full_name == o.full_name &&
|
|
393
|
+
hardware_phone_uuids == o.hardware_phone_uuids &&
|
|
339
394
|
login == o.login &&
|
|
340
395
|
merchant_id == o.merchant_id &&
|
|
341
396
|
personal_conversation_pbx_voicemail_mailbox_uuid == o.personal_conversation_pbx_voicemail_mailbox_uuid &&
|
|
397
|
+
preferred_hardware_phone_uuid == o.preferred_hardware_phone_uuid &&
|
|
342
398
|
record_outgoing_automatically == o.record_outgoing_automatically &&
|
|
343
399
|
shared_conversation_pbx_voicemail_mailbox_uuid == o.shared_conversation_pbx_voicemail_mailbox_uuid &&
|
|
344
400
|
twilio_taskrouter_worker_id == o.twilio_taskrouter_worker_id &&
|
|
@@ -358,7 +414,7 @@ module UltracartClient
|
|
|
358
414
|
# Calculates hash code according to all attributes.
|
|
359
415
|
# @return [Integer] Hash code
|
|
360
416
|
def hash
|
|
361
|
-
[ai, cellphone, conversation_pbx_agent_uuid, extension,
|
|
417
|
+
[ai, call_routing_preference, cellphone, conversation_pbx_agent_uuid, extension, full_name, hardware_phone_uuids, login, merchant_id, personal_conversation_pbx_voicemail_mailbox_uuid, preferred_hardware_phone_uuid, record_outgoing_automatically, shared_conversation_pbx_voicemail_mailbox_uuid, twilio_taskrouter_worker_id, unavailable_play_audio_uuid, unavailable_say, unavailable_say_voice, user_id, voicemail].hash
|
|
362
418
|
end
|
|
363
419
|
|
|
364
420
|
# Builds the object from hash
|
|
@@ -15,6 +15,12 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module UltracartClient
|
|
17
17
|
class ConversationPbxHardwarePhone
|
|
18
|
+
# Admin Username
|
|
19
|
+
attr_accessor :admin_username
|
|
20
|
+
|
|
21
|
+
# Associated Agent UUID
|
|
22
|
+
attr_accessor :conversation_pbx_agent_uuid
|
|
23
|
+
|
|
18
24
|
# Conversation Pbx Hardware Phone UUID
|
|
19
25
|
attr_accessor :conversation_pbx_hardware_phone_uuid
|
|
20
26
|
|
|
@@ -45,18 +51,26 @@ module UltracartClient
|
|
|
45
51
|
# SIP Domain
|
|
46
52
|
attr_accessor :sip_domain
|
|
47
53
|
|
|
48
|
-
# SIP
|
|
54
|
+
# SIP Edge Location
|
|
55
|
+
attr_accessor :sip_edge_location
|
|
56
|
+
|
|
57
|
+
# SIP Password (only on create or regenerate password requests)
|
|
49
58
|
attr_accessor :sip_password
|
|
50
59
|
|
|
51
60
|
# SIP Username
|
|
52
61
|
attr_accessor :sip_username
|
|
53
62
|
|
|
63
|
+
# Twilio Credential SID
|
|
64
|
+
attr_accessor :twilio_credential_sid
|
|
65
|
+
|
|
54
66
|
# Updated At
|
|
55
67
|
attr_accessor :updated_at
|
|
56
68
|
|
|
57
69
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
58
70
|
def self.attribute_map
|
|
59
71
|
{
|
|
72
|
+
:'admin_username' => :'admin_username',
|
|
73
|
+
:'conversation_pbx_agent_uuid' => :'conversation_pbx_agent_uuid',
|
|
60
74
|
:'conversation_pbx_hardware_phone_uuid' => :'conversation_pbx_hardware_phone_uuid',
|
|
61
75
|
:'created_at' => :'created_at',
|
|
62
76
|
:'description' => :'description',
|
|
@@ -67,8 +81,10 @@ module UltracartClient
|
|
|
67
81
|
:'name' => :'name',
|
|
68
82
|
:'provisioning_url' => :'provisioning_url',
|
|
69
83
|
:'sip_domain' => :'sip_domain',
|
|
84
|
+
:'sip_edge_location' => :'sip_edge_location',
|
|
70
85
|
:'sip_password' => :'sip_password',
|
|
71
86
|
:'sip_username' => :'sip_username',
|
|
87
|
+
:'twilio_credential_sid' => :'twilio_credential_sid',
|
|
72
88
|
:'updated_at' => :'updated_at'
|
|
73
89
|
}
|
|
74
90
|
end
|
|
@@ -81,6 +97,8 @@ module UltracartClient
|
|
|
81
97
|
# Attribute type mapping.
|
|
82
98
|
def self.openapi_types
|
|
83
99
|
{
|
|
100
|
+
:'admin_username' => :'String',
|
|
101
|
+
:'conversation_pbx_agent_uuid' => :'String',
|
|
84
102
|
:'conversation_pbx_hardware_phone_uuid' => :'String',
|
|
85
103
|
:'created_at' => :'Object',
|
|
86
104
|
:'description' => :'String',
|
|
@@ -91,8 +109,10 @@ module UltracartClient
|
|
|
91
109
|
:'name' => :'String',
|
|
92
110
|
:'provisioning_url' => :'String',
|
|
93
111
|
:'sip_domain' => :'String',
|
|
112
|
+
:'sip_edge_location' => :'String',
|
|
94
113
|
:'sip_password' => :'String',
|
|
95
114
|
:'sip_username' => :'String',
|
|
115
|
+
:'twilio_credential_sid' => :'String',
|
|
96
116
|
:'updated_at' => :'Object'
|
|
97
117
|
}
|
|
98
118
|
end
|
|
@@ -118,6 +138,14 @@ module UltracartClient
|
|
|
118
138
|
h[k.to_sym] = v
|
|
119
139
|
}
|
|
120
140
|
|
|
141
|
+
if attributes.key?(:'admin_username')
|
|
142
|
+
self.admin_username = attributes[:'admin_username']
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
if attributes.key?(:'conversation_pbx_agent_uuid')
|
|
146
|
+
self.conversation_pbx_agent_uuid = attributes[:'conversation_pbx_agent_uuid']
|
|
147
|
+
end
|
|
148
|
+
|
|
121
149
|
if attributes.key?(:'conversation_pbx_hardware_phone_uuid')
|
|
122
150
|
self.conversation_pbx_hardware_phone_uuid = attributes[:'conversation_pbx_hardware_phone_uuid']
|
|
123
151
|
end
|
|
@@ -158,6 +186,10 @@ module UltracartClient
|
|
|
158
186
|
self.sip_domain = attributes[:'sip_domain']
|
|
159
187
|
end
|
|
160
188
|
|
|
189
|
+
if attributes.key?(:'sip_edge_location')
|
|
190
|
+
self.sip_edge_location = attributes[:'sip_edge_location']
|
|
191
|
+
end
|
|
192
|
+
|
|
161
193
|
if attributes.key?(:'sip_password')
|
|
162
194
|
self.sip_password = attributes[:'sip_password']
|
|
163
195
|
end
|
|
@@ -166,6 +198,10 @@ module UltracartClient
|
|
|
166
198
|
self.sip_username = attributes[:'sip_username']
|
|
167
199
|
end
|
|
168
200
|
|
|
201
|
+
if attributes.key?(:'twilio_credential_sid')
|
|
202
|
+
self.twilio_credential_sid = attributes[:'twilio_credential_sid']
|
|
203
|
+
end
|
|
204
|
+
|
|
169
205
|
if attributes.key?(:'updated_at')
|
|
170
206
|
self.updated_at = attributes[:'updated_at']
|
|
171
207
|
end
|
|
@@ -207,6 +243,10 @@ module UltracartClient
|
|
|
207
243
|
invalid_properties.push('invalid value for "sip_domain", the character length must be smaller than or equal to 200.')
|
|
208
244
|
end
|
|
209
245
|
|
|
246
|
+
if !@sip_edge_location.nil? && @sip_edge_location.to_s.length > 50
|
|
247
|
+
invalid_properties.push('invalid value for "sip_edge_location", the character length must be smaller than or equal to 50.')
|
|
248
|
+
end
|
|
249
|
+
|
|
210
250
|
if !@sip_password.nil? && @sip_password.to_s.length > 100
|
|
211
251
|
invalid_properties.push('invalid value for "sip_password", the character length must be smaller than or equal to 100.')
|
|
212
252
|
end
|
|
@@ -229,6 +269,7 @@ module UltracartClient
|
|
|
229
269
|
return false if !@model.nil? && @model.to_s.length > 100
|
|
230
270
|
return false if !@name.nil? && @name.to_s.length > 100
|
|
231
271
|
return false if !@sip_domain.nil? && @sip_domain.to_s.length > 200
|
|
272
|
+
return false if !@sip_edge_location.nil? && @sip_edge_location.to_s.length > 50
|
|
232
273
|
return false if !@sip_password.nil? && @sip_password.to_s.length > 100
|
|
233
274
|
return false if !@sip_username.nil? && @sip_username.to_s.length > 100
|
|
234
275
|
true
|
|
@@ -314,6 +355,16 @@ module UltracartClient
|
|
|
314
355
|
@sip_domain = sip_domain
|
|
315
356
|
end
|
|
316
357
|
|
|
358
|
+
# Custom attribute writer method with validation
|
|
359
|
+
# @param [Object] sip_edge_location Value to be assigned
|
|
360
|
+
def sip_edge_location=(sip_edge_location)
|
|
361
|
+
if !sip_edge_location.nil? && sip_edge_location.to_s.length > 50
|
|
362
|
+
fail ArgumentError, 'invalid value for "sip_edge_location", the character length must be smaller than or equal to 50.'
|
|
363
|
+
end
|
|
364
|
+
|
|
365
|
+
@sip_edge_location = sip_edge_location
|
|
366
|
+
end
|
|
367
|
+
|
|
317
368
|
# Custom attribute writer method with validation
|
|
318
369
|
# @param [Object] sip_password Value to be assigned
|
|
319
370
|
def sip_password=(sip_password)
|
|
@@ -339,6 +390,8 @@ module UltracartClient
|
|
|
339
390
|
def ==(o)
|
|
340
391
|
return true if self.equal?(o)
|
|
341
392
|
self.class == o.class &&
|
|
393
|
+
admin_username == o.admin_username &&
|
|
394
|
+
conversation_pbx_agent_uuid == o.conversation_pbx_agent_uuid &&
|
|
342
395
|
conversation_pbx_hardware_phone_uuid == o.conversation_pbx_hardware_phone_uuid &&
|
|
343
396
|
created_at == o.created_at &&
|
|
344
397
|
description == o.description &&
|
|
@@ -349,8 +402,10 @@ module UltracartClient
|
|
|
349
402
|
name == o.name &&
|
|
350
403
|
provisioning_url == o.provisioning_url &&
|
|
351
404
|
sip_domain == o.sip_domain &&
|
|
405
|
+
sip_edge_location == o.sip_edge_location &&
|
|
352
406
|
sip_password == o.sip_password &&
|
|
353
407
|
sip_username == o.sip_username &&
|
|
408
|
+
twilio_credential_sid == o.twilio_credential_sid &&
|
|
354
409
|
updated_at == o.updated_at
|
|
355
410
|
end
|
|
356
411
|
|
|
@@ -363,7 +418,7 @@ module UltracartClient
|
|
|
363
418
|
# Calculates hash code according to all attributes.
|
|
364
419
|
# @return [Integer] Hash code
|
|
365
420
|
def hash
|
|
366
|
-
[conversation_pbx_hardware_phone_uuid, created_at, description, mac_address, manufacturer, merchant_id, model, name, provisioning_url, sip_domain, sip_password, sip_username, updated_at].hash
|
|
421
|
+
[admin_username, conversation_pbx_agent_uuid, conversation_pbx_hardware_phone_uuid, created_at, description, mac_address, manufacturer, merchant_id, model, name, provisioning_url, sip_domain, sip_edge_location, sip_password, sip_username, twilio_credential_sid, updated_at].hash
|
|
367
422
|
end
|
|
368
423
|
|
|
369
424
|
# Builds the object from hash
|
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.50
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|