ultracart_api 4.0.123.rc → 4.0.124.rc
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/lib/ultracart_api/models/conversation_websocket_message.rb +2 -2
- 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: dfd2f9b1558c4e6befcc42ea289f9874e096871c34dc34d52037e02ffbbc5980
|
4
|
+
data.tar.gz: 83f79f4c93ee1843b1f989b74607696e02cebb2f4c2db352b8b8642a8a146a2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0903ab0622ffc74a7008cd99eeeb5297c7d7d55492ad9275d82b85981fb70ab05cb404b95de0849ebc0a46a07a1cabf04fd38d6781adfc34643de2921748a85c'
|
7
|
+
data.tar.gz: de47432d8ba3e65c119be2a382987c59cb6e2bd9e7687881244b18bb3562bcf5cb29efad4dcb9fad66a3567b232b95ef6865bd2b025288162767fcc356ac1f90
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
|
|
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.0.
|
10
|
+
- Package version: 4.0.124.rc
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build ultracart_api.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./ultracart_api-4.0.
|
27
|
+
gem install ./ultracart_api-4.0.124.rc.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./ultracart_api-4.0.
|
30
|
+
(for development, run `gem install --dev ./ultracart_api-4.0.124.rc.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'ultracart_api', '~> 4.0.
|
36
|
+
gem 'ultracart_api', '~> 4.0.124.rc'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1300,6 +1300,7 @@ Not every change is committed to every SDK.
|
|
1300
1300
|
|
1301
1301
|
| Version | Date | Comments |
|
1302
1302
|
| --: | :-: | --- |
|
1303
|
+
| 4.0.124-RC | 01/25/2023 | convo event for engage customer |
|
1303
1304
|
| 4.0.123-RC | 01/25/2023 | order api method generateInvoice |
|
1304
1305
|
| 4.0.122-RC | 01/24/2023 | auto order - cancel minimum and change balance options |
|
1305
1306
|
| 4.0.121-RC | 01/23/2023 | conversation - method to fetch single engagement record |
|
@@ -257,7 +257,7 @@ module UltracartClient
|
|
257
257
|
# Check to see if the all the properties in the model are valid
|
258
258
|
# @return true if the model is valid
|
259
259
|
def valid?
|
260
|
-
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
|
260
|
+
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"])
|
261
261
|
return false unless event_type_validator.valid?(@event_type)
|
262
262
|
type_validator = EnumAttributeValidator.new('String', ["message", "event", "ping", "check queue position"])
|
263
263
|
return false unless type_validator.valid?(@type)
|
@@ -267,7 +267,7 @@ module UltracartClient
|
|
267
267
|
# Custom attribute writer method checking allowed values (enum).
|
268
268
|
# @param [Object] event_type Object to be assigned
|
269
269
|
def event_type=(event_type)
|
270
|
-
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
|
270
|
+
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"])
|
271
271
|
unless validator.valid?(event_type)
|
272
272
|
fail ArgumentError, "invalid value for \"event_type\", must be one of #{validator.allowable_values}."
|
273
273
|
end
|