ultracart_api 3.10.61 → 3.10.62
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: 897aa52e1624e0b694c701c24aa5626564c1cc0b80dff5b49992dc69d47678cd
|
4
|
+
data.tar.gz: c5c868f75fd1b82fab93fcacb31ceb16c7dcab674dbc1fa87471748e7ce4443d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad671cc73abf0d555f2af954033086fc24739200bfb2a7c3b62b0ace8970c95a6c7a09cd2c9c406d22d8d2e89d02e77f0a9b3baf49183e64d083c3c818ee7473
|
7
|
+
data.tar.gz: ed94eaa6a5790be0c4136943269eec256d341dd15363f3e02a6526aa65d7f84e671f34ac3885f55c278d6448f87fbe9b5f51b06e3596d9099086c47a117ff865
|
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.62
|
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.62.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.62.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.62'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1213,6 +1213,7 @@ Not every change is committed to every SDK.
|
|
1213
1213
|
|
1214
1214
|
| Version | Date | Comments |
|
1215
1215
|
| --: | :-: | --- |
|
1216
|
+
| 3.10.62 | 11/09/2022 | conversations - add an enum of event typing |
|
1216
1217
|
| 3.10.61 | 11/04/2022 | new coupon type percent based on msrp |
|
1217
1218
|
| 3.10.60 | 10/31/2022 | communication bug fix on dup annonation |
|
1218
1219
|
| 3.10.59 | 10/31/2022 | communications - addl statistics on EmailStepStat object |
|
@@ -5,7 +5,8 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**add_item_id** | **String** | Add Item Id | [optional]
|
7
7
|
**add_item_oid** | **Integer** | Add Item object identifier | [optional]
|
8
|
-
**
|
8
|
+
**initial_order_only** | **BOOLEAN** | Initial Order Only | [optional]
|
9
|
+
**once_per_order** | **BOOLEAN** | Once Per Order | [optional]
|
9
10
|
**quantity** | **Integer** | Quantity | [optional]
|
10
11
|
|
11
12
|
|
@@ -182,7 +182,7 @@ module UltracartClient
|
|
182
182
|
# Check to see if the all the properties in the model are valid
|
183
183
|
# @return true if the model is valid
|
184
184
|
def valid?
|
185
|
-
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', 'read message'])
|
185
|
+
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', 'read message', 'typing'])
|
186
186
|
return false unless event_type_validator.valid?(@event_type)
|
187
187
|
type_validator = EnumAttributeValidator.new('String', ['message', 'event', 'ping', 'check queue position'])
|
188
188
|
return false unless type_validator.valid?(@type)
|
@@ -192,7 +192,7 @@ module UltracartClient
|
|
192
192
|
# Custom attribute writer method checking allowed values (enum).
|
193
193
|
# @param [Object] event_type Object to be assigned
|
194
194
|
def event_type=(event_type)
|
195
|
-
validator = EnumAttributeValidator.new('String', ['queue position', 'webchat start conversation', 'conversation closed', 'new conversation', 'new message', 'updated message', 'queue status update', 'rrweb', 'participant update', 'read message'])
|
195
|
+
validator = EnumAttributeValidator.new('String', ['queue position', 'webchat start conversation', 'conversation closed', 'new conversation', 'new message', 'updated message', 'queue status update', 'rrweb', 'participant update', 'read message', 'typing'])
|
196
196
|
unless validator.valid?(event_type)
|
197
197
|
fail ArgumentError, 'invalid value for "event_type", must be one of #{validator.allowable_values}.'
|
198
198
|
end
|
@@ -20,7 +20,10 @@ module UltracartClient
|
|
20
20
|
# Add Item object identifier
|
21
21
|
attr_accessor :add_item_oid
|
22
22
|
|
23
|
-
#
|
23
|
+
# Initial Order Only
|
24
|
+
attr_accessor :initial_order_only
|
25
|
+
|
26
|
+
# Once Per Order
|
24
27
|
attr_accessor :once_per_order
|
25
28
|
|
26
29
|
# Quantity
|
@@ -31,6 +34,7 @@ module UltracartClient
|
|
31
34
|
{
|
32
35
|
:'add_item_id' => :'add_item_id',
|
33
36
|
:'add_item_oid' => :'add_item_oid',
|
37
|
+
:'initial_order_only' => :'initial_order_only',
|
34
38
|
:'once_per_order' => :'once_per_order',
|
35
39
|
:'quantity' => :'quantity'
|
36
40
|
}
|
@@ -41,6 +45,7 @@ module UltracartClient
|
|
41
45
|
{
|
42
46
|
:'add_item_id' => :'String',
|
43
47
|
:'add_item_oid' => :'Integer',
|
48
|
+
:'initial_order_only' => :'BOOLEAN',
|
44
49
|
:'once_per_order' => :'BOOLEAN',
|
45
50
|
:'quantity' => :'Integer'
|
46
51
|
}
|
@@ -62,6 +67,10 @@ module UltracartClient
|
|
62
67
|
self.add_item_oid = attributes[:'add_item_oid']
|
63
68
|
end
|
64
69
|
|
70
|
+
if attributes.has_key?(:'initial_order_only')
|
71
|
+
self.initial_order_only = attributes[:'initial_order_only']
|
72
|
+
end
|
73
|
+
|
65
74
|
if attributes.has_key?(:'once_per_order')
|
66
75
|
self.once_per_order = attributes[:'once_per_order']
|
67
76
|
end
|
@@ -91,6 +100,7 @@ module UltracartClient
|
|
91
100
|
self.class == o.class &&
|
92
101
|
add_item_id == o.add_item_id &&
|
93
102
|
add_item_oid == o.add_item_oid &&
|
103
|
+
initial_order_only == o.initial_order_only &&
|
94
104
|
once_per_order == o.once_per_order &&
|
95
105
|
quantity == o.quantity
|
96
106
|
end
|
@@ -104,7 +114,7 @@ module UltracartClient
|
|
104
114
|
# Calculates hash code according to all attributes.
|
105
115
|
# @return [Fixnum] Hash code
|
106
116
|
def hash
|
107
|
-
[add_item_id, add_item_oid, once_per_order, quantity].hash
|
117
|
+
[add_item_id, add_item_oid, initial_order_only, once_per_order, quantity].hash
|
108
118
|
end
|
109
119
|
|
110
120
|
# Builds the object from hash
|
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: 3.10.
|
4
|
+
version: 3.10.62
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|