ultracart_api 3.10.106 → 3.10.108
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2459c63493f3f65804310dfd32ec39ddd3305d0e72bb6685df261c5ae298b65c
|
4
|
+
data.tar.gz: 1373591b57f57fdfc9ab72e6f8bea995fc33350dd13df7d29507eedcfc3dff68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdcf555251723027201b6e4fb675e7ca4a147b5f8ea01fcc7718ea22380e74ecdb72e72c769b78c0cdf2178452b079883ac13eae62b5bbe35a3a1055166cc05a
|
7
|
+
data.tar.gz: 7739dc3c53fbd82f9c01780b6996c79a1b9448e85896b15a87fa496c97d7a526add9dae03df91bc1afddafe65c71dd3d197de7f91f5ee53ba42dba7bb07ded62
|
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.10.
|
10
|
+
- Package version: 3.10.108
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
|
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.10.
|
27
|
+
gem install ./ultracart_api-3.10.108.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.10.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.10.108.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.10.
|
35
|
+
gem 'ultracart_api', '~> 3.10.108'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1292,6 +1292,8 @@ Not every change is committed to every SDK.
|
|
1292
1292
|
|
1293
1293
|
| Version | Date | Comments |
|
1294
1294
|
| --: | :-: | --- |
|
1295
|
+
| 3.10.108 | 01/25/2023 | conversation - added message type of engagement prompt |
|
1296
|
+
| 3.10.107 | 01/25/2023 | convo event for engage customer |
|
1295
1297
|
| 3.10.106 | 01/25/2023 | order api method generateInvoice |
|
1296
1298
|
| 3.10.105 | 01/24/2023 | auto order - cancel minimum and change balance options |
|
1297
1299
|
| 3.10.104 | 01/23/2023 | conversation - method to fetch single engagement record |
|
@@ -199,7 +199,7 @@ module UltracartClient
|
|
199
199
|
# Check to see if the all the properties in the model are valid
|
200
200
|
# @return true if the model is valid
|
201
201
|
def valid?
|
202
|
-
type_validator = EnumAttributeValidator.new('String', ['message', 'notice'])
|
202
|
+
type_validator = EnumAttributeValidator.new('String', ['message', 'notice', 'engagement prompt'])
|
203
203
|
return false unless type_validator.valid?(@type)
|
204
204
|
true
|
205
205
|
end
|
@@ -207,7 +207,7 @@ module UltracartClient
|
|
207
207
|
# Custom attribute writer method checking allowed values (enum).
|
208
208
|
# @param [Object] type Object to be assigned
|
209
209
|
def type=(type)
|
210
|
-
validator = EnumAttributeValidator.new('String', ['message', 'notice'])
|
210
|
+
validator = EnumAttributeValidator.new('String', ['message', 'notice', 'engagement prompt'])
|
211
211
|
unless validator.valid?(type)
|
212
212
|
fail ArgumentError, 'invalid value for "type", must be one of #{validator.allowable_values}.'
|
213
213
|
end
|
@@ -238,7 +238,7 @@ module UltracartClient
|
|
238
238
|
# Check to see if the all the properties in the model are valid
|
239
239
|
# @return true if the model is valid
|
240
240
|
def valid?
|
241
|
-
event_type_validator = EnumAttributeValidator.new('String', ['queue position', 'webchat start conversation', 'conversation closed', 'new conversation', 'new message', 'updated message', 'queue status update', 'rrweb', 'participant update', 'participant join', 'participant
|
241
|
+
event_type_validator = EnumAttributeValidator.new('String', ['queue position', 'webchat start conversation', 'conversation closed', 'new conversation', 'new message', 'updated message', 'queue status update', 'rrweb', 'participant update', 'participant join', 'participant leave', 'read message', 'typing', 'add coupon', 'add item', 'webchat context', 'engage customer'])
|
242
242
|
return false unless event_type_validator.valid?(@event_type)
|
243
243
|
type_validator = EnumAttributeValidator.new('String', ['message', 'event', 'ping', 'check queue position'])
|
244
244
|
return false unless type_validator.valid?(@type)
|
@@ -248,7 +248,7 @@ module UltracartClient
|
|
248
248
|
# Custom attribute writer method checking allowed values (enum).
|
249
249
|
# @param [Object] event_type Object to be assigned
|
250
250
|
def event_type=(event_type)
|
251
|
-
validator = EnumAttributeValidator.new('String', ['queue position', 'webchat start conversation', 'conversation closed', 'new conversation', 'new message', 'updated message', 'queue status update', 'rrweb', 'participant update', 'participant join', 'participant
|
251
|
+
validator = EnumAttributeValidator.new('String', ['queue position', 'webchat start conversation', 'conversation closed', 'new conversation', 'new message', 'updated message', 'queue status update', 'rrweb', 'participant update', 'participant join', 'participant leave', 'read message', 'typing', 'add coupon', 'add item', 'webchat context', 'engage customer'])
|
252
252
|
unless validator.valid?(event_type)
|
253
253
|
fail ArgumentError, 'invalid value for "event_type", must be one of #{validator.allowable_values}.'
|
254
254
|
end
|