ultracart_api 3.10.97 → 3.10.98
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: fedc1c22bb7bec7b66d25a4b9e1d33186f5aa82d2ba547b4bfe8a6f44c0427f1
|
4
|
+
data.tar.gz: '0183c7610a11bedee3e5c90c801c297db2f47835e809a86e78add70d98e58860'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0990f1df61e2a96b8bb2c0599c08a3d2cfa1db6d97af38cdc6bcfc0f4cc6ea7f267a084907371eb524fbcac30d1b7cd8bea440f3a7c61e50efd87dfaf0f7ff8
|
7
|
+
data.tar.gz: 7a9aece746b998c87f69a3383f2558b57db11b37e1f40562274c08c8f945e7bb6ed4420717e72ee39db2c7e21d6c9b6e682b75093b96d6c905f2b66b195599a6
|
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.98
|
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.98.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.98.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.98'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1282,6 +1282,7 @@ Not every change is committed to every SDK.
|
|
1282
1282
|
|
1283
1283
|
| Version | Date | Comments |
|
1284
1284
|
| --: | :-: | --- |
|
1285
|
+
| 3.10.98 | 01/17/2023 | changed convo webchat constant |
|
1285
1286
|
| 3.10.97 | 01/17/2023 | support for checkout item properties |
|
1286
1287
|
| 3.10.96 | 01/14/2023 | add external_id to the point of sale location object |
|
1287
1288
|
| 3.10.95 | 01/13/2023 | channel - ops to manage ship to prefs |
|
@@ -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 left', 'read message', 'typing', 'add coupon', 'add item', 'webchat context'])
|
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 left', 'read message', 'typing', 'add coupon', 'add item', 'webchat context'])
|
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
|