ultracart_api 4.1.41 → 4.1.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 +3 -2
- data/docs/ConversationPbxAddress.md +2 -0
- data/docs/ConversationPbxAvailablePhoneNumber.md +2 -0
- data/docs/ConversationPbxPhoneNumber.md +2 -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: 2e821d1748e8e14d0a8a1d2264553c7293eca5ab33a76bf47b88900611004937
|
|
4
|
+
data.tar.gz: 8e6e9c90f13c3f420ebea8050b50d8e3340ab273704bbdf12b864224233f5c56
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4233496419ab761eddc3ef86fa2ed5faa00c6846999d7a59f2c0d55220ca6c4b5d6446b216b0168ddde6cbb9545e4bf3fed3aedd6f46c8f4ea7b34dc4d2c0ee1
|
|
7
|
+
data.tar.gz: 3ee9f55312913081e00d811c697355a24202803f0eb1316cc24af60a17f642b43f9d6f70f46daded60c9fb9911f4cec6d2457daeb64c3bcc3569c4f8b3ab5e2e
|
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.42
|
|
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.42'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -1621,6 +1621,7 @@ Not every change is committed to every SDK.
|
|
|
1621
1621
|
|
|
1622
1622
|
| Version | Date | Comments |
|
|
1623
1623
|
| --: | :-: | --- |
|
|
1624
|
+
| 4.1.42 | 01/13/2026 | conversations - pbx methods for phone number purchasing |
|
|
1624
1625
|
| 4.1.41 | 01/13/2026 | conversations - pbx methods for phone number purchasing |
|
|
1625
1626
|
| 4.1.40 | 01/07/2026 | convseration - AI agent profile voice settings |
|
|
1626
1627
|
| 4.1.39 | 12/31/2025 | conversations AI - queue AI settings |
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
| **postal_code** | **String** | Postal code | [optional] |
|
|
15
15
|
| **region** | **String** | State/Province/Region | [optional] |
|
|
16
16
|
| **street** | **String** | Street address | [optional] |
|
|
17
|
+
| **valid** | **Boolean** | Whether the address is valid (validated or verified) | [optional] |
|
|
17
18
|
| **validated** | **Boolean** | Whether the address has been validated by Twilio | [optional] |
|
|
18
19
|
| **verified** | **Boolean** | Whether the address has been verified by Twilio | [optional] |
|
|
19
20
|
|
|
@@ -33,6 +34,7 @@ instance = UltracartClient::ConversationPbxAddress.new(
|
|
|
33
34
|
postal_code: null,
|
|
34
35
|
region: null,
|
|
35
36
|
street: null,
|
|
37
|
+
valid: null,
|
|
36
38
|
validated: null,
|
|
37
39
|
verified: null
|
|
38
40
|
)
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
| **friendly_name** | **String** | Friendly formatted phone number | [optional] |
|
|
10
10
|
| **locality** | **String** | City/Locality | [optional] |
|
|
11
11
|
| **mms** | **Boolean** | MMS capability | [optional] |
|
|
12
|
+
| **monthly_cost** | **Float** | Monthly cost for this phone number | [optional] |
|
|
12
13
|
| **phone_number** | **String** | Phone number in E.164 format | [optional] |
|
|
13
14
|
| **region** | **String** | State/Province/Region | [optional] |
|
|
14
15
|
| **sms** | **Boolean** | SMS capability | [optional] |
|
|
@@ -25,6 +26,7 @@ instance = UltracartClient::ConversationPbxAvailablePhoneNumber.new(
|
|
|
25
26
|
friendly_name: null,
|
|
26
27
|
locality: null,
|
|
27
28
|
mms: null,
|
|
29
|
+
monthly_cost: null,
|
|
28
30
|
phone_number: null,
|
|
29
31
|
region: null,
|
|
30
32
|
sms: null,
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **action** | **String** | Action | [optional] |
|
|
8
8
|
| **action_target** | **String** | Action target. This is the UUID associated with the configuration object of that particular type. | [optional] |
|
|
9
|
+
| **address_sid** | **String** | Twilio Address SID linked to this phone number for regulatory compliance | [optional] |
|
|
9
10
|
| **conversation_pbx_phone_number_uuid** | **String** | Conversation Pbx Phone Number UUID | [optional] |
|
|
10
11
|
| **deletion_protected** | **Boolean** | If true, this phone number cannot be deleted through the API. It must be deleted via the Twilio console. | [optional] |
|
|
11
12
|
| **merchant_id** | **String** | Merchant Id | [optional] |
|
|
@@ -19,6 +20,7 @@ require 'ultracart_api'
|
|
|
19
20
|
instance = UltracartClient::ConversationPbxPhoneNumber.new(
|
|
20
21
|
action: null,
|
|
21
22
|
action_target: null,
|
|
23
|
+
address_sid: null,
|
|
22
24
|
conversation_pbx_phone_number_uuid: null,
|
|
23
25
|
deletion_protected: null,
|
|
24
26
|
merchant_id: null,
|
|
@@ -45,6 +45,9 @@ module UltracartClient
|
|
|
45
45
|
# Street address
|
|
46
46
|
attr_accessor :street
|
|
47
47
|
|
|
48
|
+
# Whether the address is valid (validated or verified)
|
|
49
|
+
attr_accessor :valid
|
|
50
|
+
|
|
48
51
|
# Whether the address has been validated by Twilio
|
|
49
52
|
attr_accessor :validated
|
|
50
53
|
|
|
@@ -64,6 +67,7 @@ module UltracartClient
|
|
|
64
67
|
:'postal_code' => :'postal_code',
|
|
65
68
|
:'region' => :'region',
|
|
66
69
|
:'street' => :'street',
|
|
70
|
+
:'valid' => :'valid',
|
|
67
71
|
:'validated' => :'validated',
|
|
68
72
|
:'verified' => :'verified'
|
|
69
73
|
}
|
|
@@ -87,6 +91,7 @@ module UltracartClient
|
|
|
87
91
|
:'postal_code' => :'String',
|
|
88
92
|
:'region' => :'String',
|
|
89
93
|
:'street' => :'String',
|
|
94
|
+
:'valid' => :'Boolean',
|
|
90
95
|
:'validated' => :'Boolean',
|
|
91
96
|
:'verified' => :'Boolean'
|
|
92
97
|
}
|
|
@@ -153,6 +158,10 @@ module UltracartClient
|
|
|
153
158
|
self.street = attributes[:'street']
|
|
154
159
|
end
|
|
155
160
|
|
|
161
|
+
if attributes.key?(:'valid')
|
|
162
|
+
self.valid = attributes[:'valid']
|
|
163
|
+
end
|
|
164
|
+
|
|
156
165
|
if attributes.key?(:'validated')
|
|
157
166
|
self.validated = attributes[:'validated']
|
|
158
167
|
end
|
|
@@ -340,6 +349,7 @@ module UltracartClient
|
|
|
340
349
|
postal_code == o.postal_code &&
|
|
341
350
|
region == o.region &&
|
|
342
351
|
street == o.street &&
|
|
352
|
+
valid == o.valid &&
|
|
343
353
|
validated == o.validated &&
|
|
344
354
|
verified == o.verified
|
|
345
355
|
end
|
|
@@ -353,7 +363,7 @@ module UltracartClient
|
|
|
353
363
|
# Calculates hash code according to all attributes.
|
|
354
364
|
# @return [Integer] Hash code
|
|
355
365
|
def hash
|
|
356
|
-
[address_sid, city, conversation_pbx_address_uuid, country_code, customer_name, friendly_name, merchant_id, postal_code, region, street, validated, verified].hash
|
|
366
|
+
[address_sid, city, conversation_pbx_address_uuid, country_code, customer_name, friendly_name, merchant_id, postal_code, region, street, valid, validated, verified].hash
|
|
357
367
|
end
|
|
358
368
|
|
|
359
369
|
# Builds the object from hash
|
|
@@ -30,6 +30,9 @@ module UltracartClient
|
|
|
30
30
|
# MMS capability
|
|
31
31
|
attr_accessor :mms
|
|
32
32
|
|
|
33
|
+
# Monthly cost for this phone number
|
|
34
|
+
attr_accessor :monthly_cost
|
|
35
|
+
|
|
33
36
|
# Phone number in E.164 format
|
|
34
37
|
attr_accessor :phone_number
|
|
35
38
|
|
|
@@ -72,6 +75,7 @@ module UltracartClient
|
|
|
72
75
|
:'friendly_name' => :'friendly_name',
|
|
73
76
|
:'locality' => :'locality',
|
|
74
77
|
:'mms' => :'mms',
|
|
78
|
+
:'monthly_cost' => :'monthly_cost',
|
|
75
79
|
:'phone_number' => :'phone_number',
|
|
76
80
|
:'region' => :'region',
|
|
77
81
|
:'sms' => :'sms',
|
|
@@ -92,6 +96,7 @@ module UltracartClient
|
|
|
92
96
|
:'friendly_name' => :'String',
|
|
93
97
|
:'locality' => :'String',
|
|
94
98
|
:'mms' => :'Boolean',
|
|
99
|
+
:'monthly_cost' => :'Float',
|
|
95
100
|
:'phone_number' => :'String',
|
|
96
101
|
:'region' => :'String',
|
|
97
102
|
:'sms' => :'Boolean',
|
|
@@ -140,6 +145,10 @@ module UltracartClient
|
|
|
140
145
|
self.mms = attributes[:'mms']
|
|
141
146
|
end
|
|
142
147
|
|
|
148
|
+
if attributes.key?(:'monthly_cost')
|
|
149
|
+
self.monthly_cost = attributes[:'monthly_cost']
|
|
150
|
+
end
|
|
151
|
+
|
|
143
152
|
if attributes.key?(:'phone_number')
|
|
144
153
|
self.phone_number = attributes[:'phone_number']
|
|
145
154
|
end
|
|
@@ -267,6 +276,7 @@ module UltracartClient
|
|
|
267
276
|
friendly_name == o.friendly_name &&
|
|
268
277
|
locality == o.locality &&
|
|
269
278
|
mms == o.mms &&
|
|
279
|
+
monthly_cost == o.monthly_cost &&
|
|
270
280
|
phone_number == o.phone_number &&
|
|
271
281
|
region == o.region &&
|
|
272
282
|
sms == o.sms &&
|
|
@@ -282,7 +292,7 @@ module UltracartClient
|
|
|
282
292
|
# Calculates hash code according to all attributes.
|
|
283
293
|
# @return [Integer] Hash code
|
|
284
294
|
def hash
|
|
285
|
-
[address_requirements, country, friendly_name, locality, mms, phone_number, region, sms, voice].hash
|
|
295
|
+
[address_requirements, country, friendly_name, locality, mms, monthly_cost, phone_number, region, sms, voice].hash
|
|
286
296
|
end
|
|
287
297
|
|
|
288
298
|
# Builds the object from hash
|
|
@@ -21,6 +21,9 @@ module UltracartClient
|
|
|
21
21
|
# Action target. This is the UUID associated with the configuration object of that particular type.
|
|
22
22
|
attr_accessor :action_target
|
|
23
23
|
|
|
24
|
+
# Twilio Address SID linked to this phone number for regulatory compliance
|
|
25
|
+
attr_accessor :address_sid
|
|
26
|
+
|
|
24
27
|
# Conversation Pbx Phone Number UUID
|
|
25
28
|
attr_accessor :conversation_pbx_phone_number_uuid
|
|
26
29
|
|
|
@@ -60,6 +63,7 @@ module UltracartClient
|
|
|
60
63
|
{
|
|
61
64
|
:'action' => :'action',
|
|
62
65
|
:'action_target' => :'action_target',
|
|
66
|
+
:'address_sid' => :'address_sid',
|
|
63
67
|
:'conversation_pbx_phone_number_uuid' => :'conversation_pbx_phone_number_uuid',
|
|
64
68
|
:'deletion_protected' => :'deletion_protected',
|
|
65
69
|
:'merchant_id' => :'merchant_id',
|
|
@@ -77,6 +81,7 @@ module UltracartClient
|
|
|
77
81
|
{
|
|
78
82
|
:'action' => :'String',
|
|
79
83
|
:'action_target' => :'String',
|
|
84
|
+
:'address_sid' => :'String',
|
|
80
85
|
:'conversation_pbx_phone_number_uuid' => :'String',
|
|
81
86
|
:'deletion_protected' => :'Boolean',
|
|
82
87
|
:'merchant_id' => :'String',
|
|
@@ -113,6 +118,10 @@ module UltracartClient
|
|
|
113
118
|
self.action_target = attributes[:'action_target']
|
|
114
119
|
end
|
|
115
120
|
|
|
121
|
+
if attributes.key?(:'address_sid')
|
|
122
|
+
self.address_sid = attributes[:'address_sid']
|
|
123
|
+
end
|
|
124
|
+
|
|
116
125
|
if attributes.key?(:'conversation_pbx_phone_number_uuid')
|
|
117
126
|
self.conversation_pbx_phone_number_uuid = attributes[:'conversation_pbx_phone_number_uuid']
|
|
118
127
|
end
|
|
@@ -142,6 +151,10 @@ module UltracartClient
|
|
|
142
151
|
invalid_properties.push('invalid value for "action_target", the character length must be smaller than or equal to 50.')
|
|
143
152
|
end
|
|
144
153
|
|
|
154
|
+
if !@address_sid.nil? && @address_sid.to_s.length > 50
|
|
155
|
+
invalid_properties.push('invalid value for "address_sid", the character length must be smaller than or equal to 50.')
|
|
156
|
+
end
|
|
157
|
+
|
|
145
158
|
if !@conversation_pbx_phone_number_uuid.nil? && @conversation_pbx_phone_number_uuid.to_s.length > 50
|
|
146
159
|
invalid_properties.push('invalid value for "conversation_pbx_phone_number_uuid", the character length must be smaller than or equal to 50.')
|
|
147
160
|
end
|
|
@@ -164,6 +177,7 @@ module UltracartClient
|
|
|
164
177
|
return false unless action_validator.valid?(@action)
|
|
165
178
|
return false if !@action.nil? && @action.to_s.length > 30
|
|
166
179
|
return false if !@action_target.nil? && @action_target.to_s.length > 50
|
|
180
|
+
return false if !@address_sid.nil? && @address_sid.to_s.length > 50
|
|
167
181
|
return false if !@conversation_pbx_phone_number_uuid.nil? && @conversation_pbx_phone_number_uuid.to_s.length > 50
|
|
168
182
|
return false if !@merchant_id.nil? && @merchant_id.to_s.length > 5
|
|
169
183
|
return false if !@phone_number.nil? && @phone_number.to_s.length > 50
|
|
@@ -190,6 +204,16 @@ module UltracartClient
|
|
|
190
204
|
@action_target = action_target
|
|
191
205
|
end
|
|
192
206
|
|
|
207
|
+
# Custom attribute writer method with validation
|
|
208
|
+
# @param [Object] address_sid Value to be assigned
|
|
209
|
+
def address_sid=(address_sid)
|
|
210
|
+
if !address_sid.nil? && address_sid.to_s.length > 50
|
|
211
|
+
fail ArgumentError, 'invalid value for "address_sid", the character length must be smaller than or equal to 50.'
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
@address_sid = address_sid
|
|
215
|
+
end
|
|
216
|
+
|
|
193
217
|
# Custom attribute writer method with validation
|
|
194
218
|
# @param [Object] conversation_pbx_phone_number_uuid Value to be assigned
|
|
195
219
|
def conversation_pbx_phone_number_uuid=(conversation_pbx_phone_number_uuid)
|
|
@@ -227,6 +251,7 @@ module UltracartClient
|
|
|
227
251
|
self.class == o.class &&
|
|
228
252
|
action == o.action &&
|
|
229
253
|
action_target == o.action_target &&
|
|
254
|
+
address_sid == o.address_sid &&
|
|
230
255
|
conversation_pbx_phone_number_uuid == o.conversation_pbx_phone_number_uuid &&
|
|
231
256
|
deletion_protected == o.deletion_protected &&
|
|
232
257
|
merchant_id == o.merchant_id &&
|
|
@@ -242,7 +267,7 @@ module UltracartClient
|
|
|
242
267
|
# Calculates hash code according to all attributes.
|
|
243
268
|
# @return [Integer] Hash code
|
|
244
269
|
def hash
|
|
245
|
-
[action, action_target, conversation_pbx_phone_number_uuid, deletion_protected, merchant_id, phone_number].hash
|
|
270
|
+
[action, action_target, address_sid, conversation_pbx_phone_number_uuid, deletion_protected, merchant_id, phone_number].hash
|
|
246
271
|
end
|
|
247
272
|
|
|
248
273
|
# Builds the object from hash
|