ultracart_api 4.1.134 → 4.1.135
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8b487dcc970f593d8627f732555a09cf616b945dcbe97e747fe61eed8ccf656b
|
|
4
|
+
data.tar.gz: 67e2d656f6b4bbe9b71de89c645de13d9b3e0cce2ec15b5f6ee9d77d44679785
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0b8a863515e2a3784404f468f5e7c1c9567c024b2adad79db0f46a979ef39ca59294d1e0e6b1b5e1085316cf1ae97fed9d321493cf0107ba33c60b050daf773
|
|
7
|
+
data.tar.gz: 9f81939e39f51cfe6420e3f5b0997342d9c32b032539534845b6f1e1d24bc1935e046b1e2f0af6a2c6d5e1f1fa3d47e22ebeba6a2259c391b0c547870a429ecd
|
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.135
|
|
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.135'
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
install:
|
|
@@ -1836,6 +1836,7 @@ Not every change is committed to every SDK.
|
|
|
1836
1836
|
|
|
1837
1837
|
| Version | Date | Comments |
|
|
1838
1838
|
| --: | :-: | --- |
|
|
1839
|
+
| 4.1.135 | 08/21/2026 | conversation pbx - support send text operation as a menu item froma different phone number |
|
|
1839
1840
|
| 4.1.134 | 08/21/2026 | conversation - pbx menu mapping for send text |
|
|
1840
1841
|
| 4.1.133 | 08/20/2026 | conversations - pbx agent setting for creating tickets in zoho desk for outgoing calls |
|
|
1841
1842
|
| 4.1.132 | 08/18/2026 | customer activity bug fix |
|
|
@@ -7,6 +7,7 @@
|
|
|
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
9
|
| **digits** | **Integer** | Digits | [optional] |
|
|
10
|
+
| **sms_from_number** | **String** | Optional phone number to send the text message from. Must be a phone number configured on this merchant account and SMS enabled. Defaults to the number the caller dialed. Only used when the action is 'send text'. | [optional] |
|
|
10
11
|
| **speech** | **String** | Speech | [optional] |
|
|
11
12
|
| **text_message** | **String** | Text message body sent to the caller when the action is 'send text'. Ignored for all other actions. | [optional] |
|
|
12
13
|
|
|
@@ -19,6 +20,7 @@ instance = UltracartClient::ConversationPbxMenuMapping.new(
|
|
|
19
20
|
action: null,
|
|
20
21
|
action_target: null,
|
|
21
22
|
digits: null,
|
|
23
|
+
sms_from_number: null,
|
|
22
24
|
speech: null,
|
|
23
25
|
text_message: null
|
|
24
26
|
)
|
|
@@ -24,6 +24,9 @@ module UltracartClient
|
|
|
24
24
|
# Digits
|
|
25
25
|
attr_accessor :digits
|
|
26
26
|
|
|
27
|
+
# Optional phone number to send the text message from. Must be a phone number configured on this merchant account and SMS enabled. Defaults to the number the caller dialed. Only used when the action is 'send text'.
|
|
28
|
+
attr_accessor :sms_from_number
|
|
29
|
+
|
|
27
30
|
# Speech
|
|
28
31
|
attr_accessor :speech
|
|
29
32
|
|
|
@@ -58,6 +61,7 @@ module UltracartClient
|
|
|
58
61
|
:'action' => :'action',
|
|
59
62
|
:'action_target' => :'action_target',
|
|
60
63
|
:'digits' => :'digits',
|
|
64
|
+
:'sms_from_number' => :'sms_from_number',
|
|
61
65
|
:'speech' => :'speech',
|
|
62
66
|
:'text_message' => :'text_message'
|
|
63
67
|
}
|
|
@@ -74,6 +78,7 @@ module UltracartClient
|
|
|
74
78
|
:'action' => :'String',
|
|
75
79
|
:'action_target' => :'String',
|
|
76
80
|
:'digits' => :'Integer',
|
|
81
|
+
:'sms_from_number' => :'String',
|
|
77
82
|
:'speech' => :'String',
|
|
78
83
|
:'text_message' => :'String'
|
|
79
84
|
}
|
|
@@ -112,6 +117,10 @@ module UltracartClient
|
|
|
112
117
|
self.digits = attributes[:'digits']
|
|
113
118
|
end
|
|
114
119
|
|
|
120
|
+
if attributes.key?(:'sms_from_number')
|
|
121
|
+
self.sms_from_number = attributes[:'sms_from_number']
|
|
122
|
+
end
|
|
123
|
+
|
|
115
124
|
if attributes.key?(:'speech')
|
|
116
125
|
self.speech = attributes[:'speech']
|
|
117
126
|
end
|
|
@@ -133,6 +142,10 @@ module UltracartClient
|
|
|
133
142
|
invalid_properties.push('invalid value for "action_target", the character length must be smaller than or equal to 50.')
|
|
134
143
|
end
|
|
135
144
|
|
|
145
|
+
if !@sms_from_number.nil? && @sms_from_number.to_s.length > 25
|
|
146
|
+
invalid_properties.push('invalid value for "sms_from_number", the character length must be smaller than or equal to 25.')
|
|
147
|
+
end
|
|
148
|
+
|
|
136
149
|
if !@text_message.nil? && @text_message.to_s.length > 1600
|
|
137
150
|
invalid_properties.push('invalid value for "text_message", the character length must be smaller than or equal to 1600.')
|
|
138
151
|
end
|
|
@@ -147,6 +160,7 @@ module UltracartClient
|
|
|
147
160
|
return false unless action_validator.valid?(@action)
|
|
148
161
|
return false if !@action.nil? && @action.to_s.length > 30
|
|
149
162
|
return false if !@action_target.nil? && @action_target.to_s.length > 50
|
|
163
|
+
return false if !@sms_from_number.nil? && @sms_from_number.to_s.length > 25
|
|
150
164
|
return false if !@text_message.nil? && @text_message.to_s.length > 1600
|
|
151
165
|
true
|
|
152
166
|
end
|
|
@@ -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] sms_from_number Value to be assigned
|
|
190
|
+
def sms_from_number=(sms_from_number)
|
|
191
|
+
if !sms_from_number.nil? && sms_from_number.to_s.length > 25
|
|
192
|
+
fail ArgumentError, 'invalid value for "sms_from_number", the character length must be smaller than or equal to 25.'
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
@sms_from_number = sms_from_number
|
|
196
|
+
end
|
|
197
|
+
|
|
174
198
|
# Custom attribute writer method with validation
|
|
175
199
|
# @param [Object] text_message Value to be assigned
|
|
176
200
|
def text_message=(text_message)
|
|
@@ -189,6 +213,7 @@ module UltracartClient
|
|
|
189
213
|
action == o.action &&
|
|
190
214
|
action_target == o.action_target &&
|
|
191
215
|
digits == o.digits &&
|
|
216
|
+
sms_from_number == o.sms_from_number &&
|
|
192
217
|
speech == o.speech &&
|
|
193
218
|
text_message == o.text_message
|
|
194
219
|
end
|
|
@@ -202,7 +227,7 @@ module UltracartClient
|
|
|
202
227
|
# Calculates hash code according to all attributes.
|
|
203
228
|
# @return [Integer] Hash code
|
|
204
229
|
def hash
|
|
205
|
-
[action, action_target, digits, speech, text_message].hash
|
|
230
|
+
[action, action_target, digits, sms_from_number, speech, text_message].hash
|
|
206
231
|
end
|
|
207
232
|
|
|
208
233
|
# Builds the object from hash
|