ultracart_api 4.1.133 → 4.1.134

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: 20bcac4c6967bcfbd765b99773274f76dcd2b40bfbedd27054e1e681b48d8f70
4
+ data.tar.gz: d00b9dde925dff6008193d54a7eb2d189c25b426f737e98cc822c11ef1f175ff
5
5
  SHA512:
6
- metadata.gz: 1e2abbeef1f165e14205570c4af9d084c3f1bfbba3896e0e464e288375375204ac48ddda3e491978b26e0415ce245891a8222eadcac05b731adca4c451b7c9cd
7
- data.tar.gz: 3623da19c113377e0e632b8e0ef9c7e49e4b3c1f65720474aa4de9921fc3ddc06b7d6e29431d30a94a74a934036eb768baea6f47fd1ac76ffa5b9fd0084816d4
6
+ metadata.gz: f003388ae928510c5cebace59e1d27405526c00d6c6ff22201c9a47609a55d936a3e38cd7def497705e8ac989714889c55bde00b6a2901e90b3361e8c9af274c
7
+ data.tar.gz: ccdf6f09bed30972805d463ab74eca01a85b314bf1e6482d41062f9bcf8b1b0278479f430d3c9912a667264ac90dac54c7f966e4812feb5c8d538e1777a70758
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.134
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.134'
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.134 | 08/21/2026 | conversation - pbx menu mapping for send text |
1839
1840
  | 4.1.133 | 08/20/2026 | conversations - pbx agent setting for creating tickets in zoho desk for outgoing calls |
1840
1841
  | 4.1.132 | 08/18/2026 | customer activity bug fix |
1841
1842
  | 4.1.131 | 08/18/2026 | customer activity now returns the SF communications active flag and last_activity_dts |
@@ -8,6 +8,7 @@
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
10
  | **speech** | **String** | Speech | [optional] |
11
+ | **text_message** | **String** | Text message body sent to the caller when the action is 'send text'. Ignored for all other actions. | [optional] |
11
12
 
12
13
  ## Example
13
14
 
@@ -18,7 +19,8 @@ instance = UltracartClient::ConversationPbxMenuMapping.new(
18
19
  action: null,
19
20
  action_target: null,
20
21
  digits: null,
21
- speech: null
22
+ speech: null,
23
+ text_message: null
22
24
  )
23
25
  ```
24
26
 
@@ -27,6 +27,9 @@ module UltracartClient
27
27
  # Speech
28
28
  attr_accessor :speech
29
29
 
30
+ # Text message body sent to the caller when the action is 'send text'. Ignored for all other actions.
31
+ attr_accessor :text_message
32
+
30
33
  class EnumAttributeValidator
31
34
  attr_reader :datatype
32
35
  attr_reader :allowable_values
@@ -55,7 +58,8 @@ module UltracartClient
55
58
  :'action' => :'action',
56
59
  :'action_target' => :'action_target',
57
60
  :'digits' => :'digits',
58
- :'speech' => :'speech'
61
+ :'speech' => :'speech',
62
+ :'text_message' => :'text_message'
59
63
  }
60
64
  end
61
65
 
@@ -70,7 +74,8 @@ module UltracartClient
70
74
  :'action' => :'String',
71
75
  :'action_target' => :'String',
72
76
  :'digits' => :'Integer',
73
- :'speech' => :'String'
77
+ :'speech' => :'String',
78
+ :'text_message' => :'String'
74
79
  }
75
80
  end
76
81
 
@@ -110,6 +115,10 @@ module UltracartClient
110
115
  if attributes.key?(:'speech')
111
116
  self.speech = attributes[:'speech']
112
117
  end
118
+
119
+ if attributes.key?(:'text_message')
120
+ self.text_message = attributes[:'text_message']
121
+ end
113
122
  end
114
123
 
115
124
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -124,23 +133,28 @@ module UltracartClient
124
133
  invalid_properties.push('invalid value for "action_target", the character length must be smaller than or equal to 50.')
125
134
  end
126
135
 
136
+ if !@text_message.nil? && @text_message.to_s.length > 1600
137
+ invalid_properties.push('invalid value for "text_message", the character length must be smaller than or equal to 1600.')
138
+ end
139
+
127
140
  invalid_properties
128
141
  end
129
142
 
130
143
  # Check to see if the all the properties in the model are valid
131
144
  # @return true if the model is valid
132
145
  def valid?
133
- action_validator = EnumAttributeValidator.new('String', ["time based", "menu", "queue", "voicemail", "agent"])
146
+ action_validator = EnumAttributeValidator.new('String', ["time based", "menu", "queue", "voicemail", "agent", "send text"])
134
147
  return false unless action_validator.valid?(@action)
135
148
  return false if !@action.nil? && @action.to_s.length > 30
136
149
  return false if !@action_target.nil? && @action_target.to_s.length > 50
150
+ return false if !@text_message.nil? && @text_message.to_s.length > 1600
137
151
  true
138
152
  end
139
153
 
140
154
  # Custom attribute writer method checking allowed values (enum).
141
155
  # @param [Object] action Object to be assigned
142
156
  def action=(action)
143
- validator = EnumAttributeValidator.new('String', ["time based", "menu", "queue", "voicemail", "agent"])
157
+ validator = EnumAttributeValidator.new('String', ["time based", "menu", "queue", "voicemail", "agent", "send text"])
144
158
  unless validator.valid?(action)
145
159
  fail ArgumentError, "invalid value for \"action\", must be one of #{validator.allowable_values}."
146
160
  end
@@ -157,6 +171,16 @@ module UltracartClient
157
171
  @action_target = action_target
158
172
  end
159
173
 
174
+ # Custom attribute writer method with validation
175
+ # @param [Object] text_message Value to be assigned
176
+ def text_message=(text_message)
177
+ if !text_message.nil? && text_message.to_s.length > 1600
178
+ fail ArgumentError, 'invalid value for "text_message", the character length must be smaller than or equal to 1600.'
179
+ end
180
+
181
+ @text_message = text_message
182
+ end
183
+
160
184
  # Checks equality by comparing each attribute.
161
185
  # @param [Object] Object to be compared
162
186
  def ==(o)
@@ -165,7 +189,8 @@ module UltracartClient
165
189
  action == o.action &&
166
190
  action_target == o.action_target &&
167
191
  digits == o.digits &&
168
- speech == o.speech
192
+ speech == o.speech &&
193
+ text_message == o.text_message
169
194
  end
170
195
 
171
196
  # @see the `==` method
@@ -177,7 +202,7 @@ module UltracartClient
177
202
  # Calculates hash code according to all attributes.
178
203
  # @return [Integer] Hash code
179
204
  def hash
180
- [action, action_target, digits, speech].hash
205
+ [action, action_target, digits, speech, text_message].hash
181
206
  end
182
207
 
183
208
  # 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.134'
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.134
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