ultracart_api 3.11.41 → 3.11.42
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 -4
- data/docs/ConversationPbxAddress.md +1 -0
- data/docs/ConversationPbxAvailablePhoneNumber.md +1 -0
- data/docs/ConversationPbxPhoneNumber.md +1 -0
- data/lib/ultracart_api/models/conversation_pbx_address.rb +11 -1
- data/lib/ultracart_api/models/conversation_pbx_available_phone_number.rb +11 -1
- data/lib/ultracart_api/models/conversation_pbx_phone_number.rb +26 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 15984eb59d54a5898abf32fdc844cee6798b12891c4b000d5dd86008549c3a9d
|
|
4
|
+
data.tar.gz: 1e22f6e0fcded41438256502d8a0024fd50e965863e6eb10c7919564f7128771
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eeeb67dd5ba7310fef978235ba7ab39fe8a1e47bc35e10da030ae9018f0fe48b7eb0f9cd6969851625a9221185f41cf37c45e255c97ed95ac5dbeb649163c369
|
|
7
|
+
data.tar.gz: e5082ac7bebd147e478cef8836bd265bd92eeed138267e245d164989f47e6d358fe24c67e135633d499bf83e538c3068b41467d64c8f6222f7b11d0227cc6053
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
|
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
|
8
8
|
|
|
9
9
|
- API version: 2.0.0
|
|
10
|
-
- Package version: 3.11.
|
|
10
|
+
- Package version: 3.11.42
|
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [http://www.ultracart.com/api/](http://www.ultracart.com/api/)
|
|
13
13
|
|
|
@@ -24,15 +24,15 @@ gem build ultracart_api.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./ultracart_api-3.11.
|
|
27
|
+
gem install ./ultracart_api-3.11.42.gem
|
|
28
28
|
```
|
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.11.
|
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.11.42.gem` to install the development dependencies)
|
|
30
30
|
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
32
32
|
|
|
33
33
|
Finally add this to the Gemfile:
|
|
34
34
|
|
|
35
|
-
gem 'ultracart_api', '~> 3.11.
|
|
35
|
+
gem 'ultracart_api', '~> 3.11.42'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -1623,6 +1623,7 @@ Not every change is committed to every SDK.
|
|
|
1623
1623
|
|
|
1624
1624
|
| Version | Date | Comments |
|
|
1625
1625
|
| --: | :-: | --- |
|
|
1626
|
+
| 3.11.42 | 01/13/2026 | conversations - pbx methods for phone number purchasing |
|
|
1626
1627
|
| 3.11.41 | 01/13/2026 | conversations - pbx methods for phone number purchasing |
|
|
1627
1628
|
| 3.11.40 | 01/07/2026 | convseration - AI agent profile voice settings |
|
|
1628
1629
|
| 3.11.39 | 12/31/2025 | conversations AI - queue AI settings |
|
|
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**postal_code** | **String** | Postal code | [optional]
|
|
14
14
|
**region** | **String** | State/Province/Region | [optional]
|
|
15
15
|
**street** | **String** | Street address | [optional]
|
|
16
|
+
**valid** | **BOOLEAN** | Whether the address is valid (validated or verified) | [optional]
|
|
16
17
|
**validated** | **BOOLEAN** | Whether the address has been validated by Twilio | [optional]
|
|
17
18
|
**verified** | **BOOLEAN** | Whether the address has been verified by Twilio | [optional]
|
|
18
19
|
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**friendly_name** | **String** | Friendly formatted phone number | [optional]
|
|
9
9
|
**locality** | **String** | City/Locality | [optional]
|
|
10
10
|
**mms** | **BOOLEAN** | MMS capability | [optional]
|
|
11
|
+
**monthly_cost** | **Float** | Monthly cost for this phone number | [optional]
|
|
11
12
|
**phone_number** | **String** | Phone number in E.164 format | [optional]
|
|
12
13
|
**region** | **String** | State/Province/Region | [optional]
|
|
13
14
|
**sms** | **BOOLEAN** | SMS capability | [optional]
|
|
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
|
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
6
|
**action** | **String** | Action | [optional]
|
|
7
7
|
**action_target** | **String** | Action target. This is the UUID associated with the configuration object of that particular type. | [optional]
|
|
8
|
+
**address_sid** | **String** | Twilio Address SID linked to this phone number for regulatory compliance | [optional]
|
|
8
9
|
**conversation_pbx_phone_number_uuid** | **String** | Conversation Pbx Phone Number UUID | [optional]
|
|
9
10
|
**deletion_protected** | **BOOLEAN** | If true, this phone number cannot be deleted through the API. It must be deleted via the Twilio console. | [optional]
|
|
10
11
|
**merchant_id** | **String** | Merchant Id | [optional]
|
|
@@ -44,6 +44,9 @@ module UltracartClient
|
|
|
44
44
|
# Street address
|
|
45
45
|
attr_accessor :street
|
|
46
46
|
|
|
47
|
+
# Whether the address is valid (validated or verified)
|
|
48
|
+
attr_accessor :valid
|
|
49
|
+
|
|
47
50
|
# Whether the address has been validated by Twilio
|
|
48
51
|
attr_accessor :validated
|
|
49
52
|
|
|
@@ -63,6 +66,7 @@ module UltracartClient
|
|
|
63
66
|
:'postal_code' => :'postal_code',
|
|
64
67
|
:'region' => :'region',
|
|
65
68
|
:'street' => :'street',
|
|
69
|
+
:'valid' => :'valid',
|
|
66
70
|
:'validated' => :'validated',
|
|
67
71
|
:'verified' => :'verified'
|
|
68
72
|
}
|
|
@@ -81,6 +85,7 @@ module UltracartClient
|
|
|
81
85
|
:'postal_code' => :'String',
|
|
82
86
|
:'region' => :'String',
|
|
83
87
|
:'street' => :'String',
|
|
88
|
+
:'valid' => :'BOOLEAN',
|
|
84
89
|
:'validated' => :'BOOLEAN',
|
|
85
90
|
:'verified' => :'BOOLEAN'
|
|
86
91
|
}
|
|
@@ -134,6 +139,10 @@ module UltracartClient
|
|
|
134
139
|
self.street = attributes[:'street']
|
|
135
140
|
end
|
|
136
141
|
|
|
142
|
+
if attributes.has_key?(:'valid')
|
|
143
|
+
self.valid = attributes[:'valid']
|
|
144
|
+
end
|
|
145
|
+
|
|
137
146
|
if attributes.has_key?(:'validated')
|
|
138
147
|
self.validated = attributes[:'validated']
|
|
139
148
|
end
|
|
@@ -321,6 +330,7 @@ module UltracartClient
|
|
|
321
330
|
postal_code == o.postal_code &&
|
|
322
331
|
region == o.region &&
|
|
323
332
|
street == o.street &&
|
|
333
|
+
valid == o.valid &&
|
|
324
334
|
validated == o.validated &&
|
|
325
335
|
verified == o.verified
|
|
326
336
|
end
|
|
@@ -334,7 +344,7 @@ module UltracartClient
|
|
|
334
344
|
# Calculates hash code according to all attributes.
|
|
335
345
|
# @return [Fixnum] Hash code
|
|
336
346
|
def hash
|
|
337
|
-
[address_sid, city, conversation_pbx_address_uuid, country_code, customer_name, friendly_name, merchant_id, postal_code, region, street, validated, verified].hash
|
|
347
|
+
[address_sid, city, conversation_pbx_address_uuid, country_code, customer_name, friendly_name, merchant_id, postal_code, region, street, valid, validated, verified].hash
|
|
338
348
|
end
|
|
339
349
|
|
|
340
350
|
# Builds the object from hash
|
|
@@ -29,6 +29,9 @@ module UltracartClient
|
|
|
29
29
|
# MMS capability
|
|
30
30
|
attr_accessor :mms
|
|
31
31
|
|
|
32
|
+
# Monthly cost for this phone number
|
|
33
|
+
attr_accessor :monthly_cost
|
|
34
|
+
|
|
32
35
|
# Phone number in E.164 format
|
|
33
36
|
attr_accessor :phone_number
|
|
34
37
|
|
|
@@ -71,6 +74,7 @@ module UltracartClient
|
|
|
71
74
|
:'friendly_name' => :'friendly_name',
|
|
72
75
|
:'locality' => :'locality',
|
|
73
76
|
:'mms' => :'mms',
|
|
77
|
+
:'monthly_cost' => :'monthly_cost',
|
|
74
78
|
:'phone_number' => :'phone_number',
|
|
75
79
|
:'region' => :'region',
|
|
76
80
|
:'sms' => :'sms',
|
|
@@ -86,6 +90,7 @@ module UltracartClient
|
|
|
86
90
|
:'friendly_name' => :'String',
|
|
87
91
|
:'locality' => :'String',
|
|
88
92
|
:'mms' => :'BOOLEAN',
|
|
93
|
+
:'monthly_cost' => :'Float',
|
|
89
94
|
:'phone_number' => :'String',
|
|
90
95
|
:'region' => :'String',
|
|
91
96
|
:'sms' => :'BOOLEAN',
|
|
@@ -121,6 +126,10 @@ module UltracartClient
|
|
|
121
126
|
self.mms = attributes[:'mms']
|
|
122
127
|
end
|
|
123
128
|
|
|
129
|
+
if attributes.has_key?(:'monthly_cost')
|
|
130
|
+
self.monthly_cost = attributes[:'monthly_cost']
|
|
131
|
+
end
|
|
132
|
+
|
|
124
133
|
if attributes.has_key?(:'phone_number')
|
|
125
134
|
self.phone_number = attributes[:'phone_number']
|
|
126
135
|
end
|
|
@@ -248,6 +257,7 @@ module UltracartClient
|
|
|
248
257
|
friendly_name == o.friendly_name &&
|
|
249
258
|
locality == o.locality &&
|
|
250
259
|
mms == o.mms &&
|
|
260
|
+
monthly_cost == o.monthly_cost &&
|
|
251
261
|
phone_number == o.phone_number &&
|
|
252
262
|
region == o.region &&
|
|
253
263
|
sms == o.sms &&
|
|
@@ -263,7 +273,7 @@ module UltracartClient
|
|
|
263
273
|
# Calculates hash code according to all attributes.
|
|
264
274
|
# @return [Fixnum] Hash code
|
|
265
275
|
def hash
|
|
266
|
-
[address_requirements, country, friendly_name, locality, mms, phone_number, region, sms, voice].hash
|
|
276
|
+
[address_requirements, country, friendly_name, locality, mms, monthly_cost, phone_number, region, sms, voice].hash
|
|
267
277
|
end
|
|
268
278
|
|
|
269
279
|
# Builds the object from hash
|
|
@@ -20,6 +20,9 @@ module UltracartClient
|
|
|
20
20
|
# Action target. This is the UUID associated with the configuration object of that particular type.
|
|
21
21
|
attr_accessor :action_target
|
|
22
22
|
|
|
23
|
+
# Twilio Address SID linked to this phone number for regulatory compliance
|
|
24
|
+
attr_accessor :address_sid
|
|
25
|
+
|
|
23
26
|
# Conversation Pbx Phone Number UUID
|
|
24
27
|
attr_accessor :conversation_pbx_phone_number_uuid
|
|
25
28
|
|
|
@@ -59,6 +62,7 @@ module UltracartClient
|
|
|
59
62
|
{
|
|
60
63
|
:'action' => :'action',
|
|
61
64
|
:'action_target' => :'action_target',
|
|
65
|
+
:'address_sid' => :'address_sid',
|
|
62
66
|
:'conversation_pbx_phone_number_uuid' => :'conversation_pbx_phone_number_uuid',
|
|
63
67
|
:'deletion_protected' => :'deletion_protected',
|
|
64
68
|
:'merchant_id' => :'merchant_id',
|
|
@@ -71,6 +75,7 @@ module UltracartClient
|
|
|
71
75
|
{
|
|
72
76
|
:'action' => :'String',
|
|
73
77
|
:'action_target' => :'String',
|
|
78
|
+
:'address_sid' => :'String',
|
|
74
79
|
:'conversation_pbx_phone_number_uuid' => :'String',
|
|
75
80
|
:'deletion_protected' => :'BOOLEAN',
|
|
76
81
|
:'merchant_id' => :'String',
|
|
@@ -94,6 +99,10 @@ module UltracartClient
|
|
|
94
99
|
self.action_target = attributes[:'action_target']
|
|
95
100
|
end
|
|
96
101
|
|
|
102
|
+
if attributes.has_key?(:'address_sid')
|
|
103
|
+
self.address_sid = attributes[:'address_sid']
|
|
104
|
+
end
|
|
105
|
+
|
|
97
106
|
if attributes.has_key?(:'conversation_pbx_phone_number_uuid')
|
|
98
107
|
self.conversation_pbx_phone_number_uuid = attributes[:'conversation_pbx_phone_number_uuid']
|
|
99
108
|
end
|
|
@@ -123,6 +132,10 @@ module UltracartClient
|
|
|
123
132
|
invalid_properties.push('invalid value for "action_target", the character length must be smaller than or equal to 50.')
|
|
124
133
|
end
|
|
125
134
|
|
|
135
|
+
if !@address_sid.nil? && @address_sid.to_s.length > 50
|
|
136
|
+
invalid_properties.push('invalid value for "address_sid", the character length must be smaller than or equal to 50.')
|
|
137
|
+
end
|
|
138
|
+
|
|
126
139
|
if !@conversation_pbx_phone_number_uuid.nil? && @conversation_pbx_phone_number_uuid.to_s.length > 50
|
|
127
140
|
invalid_properties.push('invalid value for "conversation_pbx_phone_number_uuid", the character length must be smaller than or equal to 50.')
|
|
128
141
|
end
|
|
@@ -145,6 +158,7 @@ module UltracartClient
|
|
|
145
158
|
return false unless action_validator.valid?(@action)
|
|
146
159
|
return false if !@action.nil? && @action.to_s.length > 30
|
|
147
160
|
return false if !@action_target.nil? && @action_target.to_s.length > 50
|
|
161
|
+
return false if !@address_sid.nil? && @address_sid.to_s.length > 50
|
|
148
162
|
return false if !@conversation_pbx_phone_number_uuid.nil? && @conversation_pbx_phone_number_uuid.to_s.length > 50
|
|
149
163
|
return false if !@merchant_id.nil? && @merchant_id.to_s.length > 5
|
|
150
164
|
return false if !@phone_number.nil? && @phone_number.to_s.length > 50
|
|
@@ -171,6 +185,16 @@ module UltracartClient
|
|
|
171
185
|
@action_target = action_target
|
|
172
186
|
end
|
|
173
187
|
|
|
188
|
+
# Custom attribute writer method with validation
|
|
189
|
+
# @param [Object] address_sid Value to be assigned
|
|
190
|
+
def address_sid=(address_sid)
|
|
191
|
+
if !address_sid.nil? && address_sid.to_s.length > 50
|
|
192
|
+
fail ArgumentError, 'invalid value for "address_sid", the character length must be smaller than or equal to 50.'
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
@address_sid = address_sid
|
|
196
|
+
end
|
|
197
|
+
|
|
174
198
|
# Custom attribute writer method with validation
|
|
175
199
|
# @param [Object] conversation_pbx_phone_number_uuid Value to be assigned
|
|
176
200
|
def conversation_pbx_phone_number_uuid=(conversation_pbx_phone_number_uuid)
|
|
@@ -208,6 +232,7 @@ module UltracartClient
|
|
|
208
232
|
self.class == o.class &&
|
|
209
233
|
action == o.action &&
|
|
210
234
|
action_target == o.action_target &&
|
|
235
|
+
address_sid == o.address_sid &&
|
|
211
236
|
conversation_pbx_phone_number_uuid == o.conversation_pbx_phone_number_uuid &&
|
|
212
237
|
deletion_protected == o.deletion_protected &&
|
|
213
238
|
merchant_id == o.merchant_id &&
|
|
@@ -223,7 +248,7 @@ module UltracartClient
|
|
|
223
248
|
# Calculates hash code according to all attributes.
|
|
224
249
|
# @return [Fixnum] Hash code
|
|
225
250
|
def hash
|
|
226
|
-
[action, action_target, conversation_pbx_phone_number_uuid, deletion_protected, merchant_id, phone_number].hash
|
|
251
|
+
[action, action_target, address_sid, conversation_pbx_phone_number_uuid, deletion_protected, merchant_id, phone_number].hash
|
|
227
252
|
end
|
|
228
253
|
|
|
229
254
|
# Builds the object from hash
|