ultracart_api 4.1.133 → 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: 5d4e12b3bde634d56de93233b37caaeb4d37b31d2f39c165abfe7b908ed00f89
4
- data.tar.gz: ddec6d4eafaba5840151781d7ec2e70b03007925f2594d40ee5222ec3d68229e
3
+ metadata.gz: 8b487dcc970f593d8627f732555a09cf616b945dcbe97e747fe61eed8ccf656b
4
+ data.tar.gz: 67e2d656f6b4bbe9b71de89c645de13d9b3e0cce2ec15b5f6ee9d77d44679785
5
5
  SHA512:
6
- metadata.gz: 1e2abbeef1f165e14205570c4af9d084c3f1bfbba3896e0e464e288375375204ac48ddda3e491978b26e0415ce245891a8222eadcac05b731adca4c451b7c9cd
7
- data.tar.gz: 3623da19c113377e0e632b8e0ef9c7e49e4b3c1f65720474aa4de9921fc3ddc06b7d6e29431d30a94a74a934036eb768baea6f47fd1ac76ffa5b9fd0084816d4
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.133
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.133'
19
+ gem 'ultracart_api', '4.1.135'
20
20
  ```
21
21
 
22
22
  install:
@@ -1836,6 +1836,8 @@ 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 |
1840
+ | 4.1.134 | 08/21/2026 | conversation - pbx menu mapping for send text |
1839
1841
  | 4.1.133 | 08/20/2026 | conversations - pbx agent setting for creating tickets in zoho desk for outgoing calls |
1840
1842
  | 4.1.132 | 08/18/2026 | customer activity bug fix |
1841
1843
  | 4.1.131 | 08/18/2026 | customer activity now returns the SF communications active flag and last_activity_dts |
@@ -7,7 +7,9 @@
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] |
12
+ | **text_message** | **String** | Text message body sent to the caller when the action is 'send text'. Ignored for all other actions. | [optional] |
11
13
 
12
14
  ## Example
13
15
 
@@ -18,7 +20,9 @@ instance = UltracartClient::ConversationPbxMenuMapping.new(
18
20
  action: null,
19
21
  action_target: null,
20
22
  digits: null,
21
- speech: null
23
+ sms_from_number: null,
24
+ speech: null,
25
+ text_message: null
22
26
  )
23
27
  ```
24
28
 
@@ -24,9 +24,15 @@ 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
 
33
+ # Text message body sent to the caller when the action is 'send text'. Ignored for all other actions.
34
+ attr_accessor :text_message
35
+
30
36
  class EnumAttributeValidator
31
37
  attr_reader :datatype
32
38
  attr_reader :allowable_values
@@ -55,7 +61,9 @@ module UltracartClient
55
61
  :'action' => :'action',
56
62
  :'action_target' => :'action_target',
57
63
  :'digits' => :'digits',
58
- :'speech' => :'speech'
64
+ :'sms_from_number' => :'sms_from_number',
65
+ :'speech' => :'speech',
66
+ :'text_message' => :'text_message'
59
67
  }
60
68
  end
61
69
 
@@ -70,7 +78,9 @@ module UltracartClient
70
78
  :'action' => :'String',
71
79
  :'action_target' => :'String',
72
80
  :'digits' => :'Integer',
73
- :'speech' => :'String'
81
+ :'sms_from_number' => :'String',
82
+ :'speech' => :'String',
83
+ :'text_message' => :'String'
74
84
  }
75
85
  end
76
86
 
@@ -107,9 +117,17 @@ module UltracartClient
107
117
  self.digits = attributes[:'digits']
108
118
  end
109
119
 
120
+ if attributes.key?(:'sms_from_number')
121
+ self.sms_from_number = attributes[:'sms_from_number']
122
+ end
123
+
110
124
  if attributes.key?(:'speech')
111
125
  self.speech = attributes[:'speech']
112
126
  end
127
+
128
+ if attributes.key?(:'text_message')
129
+ self.text_message = attributes[:'text_message']
130
+ end
113
131
  end
114
132
 
115
133
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -124,23 +142,33 @@ module UltracartClient
124
142
  invalid_properties.push('invalid value for "action_target", the character length must be smaller than or equal to 50.')
125
143
  end
126
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
+
149
+ if !@text_message.nil? && @text_message.to_s.length > 1600
150
+ invalid_properties.push('invalid value for "text_message", the character length must be smaller than or equal to 1600.')
151
+ end
152
+
127
153
  invalid_properties
128
154
  end
129
155
 
130
156
  # Check to see if the all the properties in the model are valid
131
157
  # @return true if the model is valid
132
158
  def valid?
133
- action_validator = EnumAttributeValidator.new('String', ["time based", "menu", "queue", "voicemail", "agent"])
159
+ action_validator = EnumAttributeValidator.new('String', ["time based", "menu", "queue", "voicemail", "agent", "send text"])
134
160
  return false unless action_validator.valid?(@action)
135
161
  return false if !@action.nil? && @action.to_s.length > 30
136
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
164
+ return false if !@text_message.nil? && @text_message.to_s.length > 1600
137
165
  true
138
166
  end
139
167
 
140
168
  # Custom attribute writer method checking allowed values (enum).
141
169
  # @param [Object] action Object to be assigned
142
170
  def action=(action)
143
- validator = EnumAttributeValidator.new('String', ["time based", "menu", "queue", "voicemail", "agent"])
171
+ validator = EnumAttributeValidator.new('String', ["time based", "menu", "queue", "voicemail", "agent", "send text"])
144
172
  unless validator.valid?(action)
145
173
  fail ArgumentError, "invalid value for \"action\", must be one of #{validator.allowable_values}."
146
174
  end
@@ -157,6 +185,26 @@ module UltracartClient
157
185
  @action_target = action_target
158
186
  end
159
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
+
198
+ # Custom attribute writer method with validation
199
+ # @param [Object] text_message Value to be assigned
200
+ def text_message=(text_message)
201
+ if !text_message.nil? && text_message.to_s.length > 1600
202
+ fail ArgumentError, 'invalid value for "text_message", the character length must be smaller than or equal to 1600.'
203
+ end
204
+
205
+ @text_message = text_message
206
+ end
207
+
160
208
  # Checks equality by comparing each attribute.
161
209
  # @param [Object] Object to be compared
162
210
  def ==(o)
@@ -165,7 +213,9 @@ module UltracartClient
165
213
  action == o.action &&
166
214
  action_target == o.action_target &&
167
215
  digits == o.digits &&
168
- speech == o.speech
216
+ sms_from_number == o.sms_from_number &&
217
+ speech == o.speech &&
218
+ text_message == o.text_message
169
219
  end
170
220
 
171
221
  # @see the `==` method
@@ -177,7 +227,7 @@ module UltracartClient
177
227
  # Calculates hash code according to all attributes.
178
228
  # @return [Integer] Hash code
179
229
  def hash
180
- [action, action_target, digits, speech].hash
230
+ [action, action_target, digits, sms_from_number, speech, text_message].hash
181
231
  end
182
232
 
183
233
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.1.133'
14
+ VERSION = '4.1.135'
15
15
  end
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.133
4
+ version: 4.1.135
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-08-20 00:00:00.000000000 Z
11
+ date: 2026-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus