ultracart_api 4.0.78.rc → 4.0.79.rc
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: 6ae962712e3604c7a8684032da99081b6fb0cf741c218d4657ffe3d9c8fe478f
|
4
|
+
data.tar.gz: 6ff2eb1d5949ca9f19606fe592c018db6e9cb30a27d00a6517c0ef9cc8b73053
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 586f5dc4de0cb5374a710249540fafabe930483653dad2162194ecdc4838b21f2d806e6eeb4d1b8e620ae0987045a1d7c0810e0beabb907021b7dc5ffcac0539
|
7
|
+
data.tar.gz: 65f32ef7bc5b91c3d930bb3709c3c53612b5c471f79d4cf778d982ffb23b9d936893f05478b0def51b0b0dca07684d0d68f07065aa4b00d8be10450da0ea0f2a
|
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.79.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.79.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.79.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.79.rc'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1222,6 +1222,7 @@ Not every change is committed to every SDK.
|
|
1222
1222
|
|
1223
1223
|
| Version | Date | Comments |
|
1224
1224
|
| --: | :-: | --- |
|
1225
|
+
| 4.0.79-RC | 11/09/2022 | conversations - add an enum of event typing |
|
1225
1226
|
| 4.0.78-RC | 11/04/2022 | new coupon type percent based on msrp |
|
1226
1227
|
| 4.0.77-RC | 10/31/2022 | communication bug fix on dup annonation |
|
1227
1228
|
| 4.0.76-RC | 10/31/2022 | communications - addl statistics on EmailStepStat object |
|
@@ -6,7 +6,8 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **add_item_id** | **String** | Add Item Id | [optional] |
|
8
8
|
| **add_item_oid** | **Integer** | Add Item object identifier | [optional] |
|
9
|
-
| **
|
9
|
+
| **initial_order_only** | **Boolean** | Initial Order Only | [optional] |
|
10
|
+
| **once_per_order** | **Boolean** | Once Per Order | [optional] |
|
10
11
|
| **quantity** | **Integer** | Quantity | [optional] |
|
11
12
|
|
12
13
|
## Example
|
@@ -17,6 +18,7 @@ require 'ultracart_api'
|
|
17
18
|
instance = UltracartClient::ItemFulfillmentAddon.new(
|
18
19
|
add_item_id: null,
|
19
20
|
add_item_oid: null,
|
21
|
+
initial_order_only: null,
|
20
22
|
once_per_order: null,
|
21
23
|
quantity: null
|
22
24
|
)
|
@@ -201,7 +201,7 @@ module UltracartClient
|
|
201
201
|
# Check to see if the all the properties in the model are valid
|
202
202
|
# @return true if the model is valid
|
203
203
|
def valid?
|
204
|
-
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"])
|
204
|
+
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"])
|
205
205
|
return false unless event_type_validator.valid?(@event_type)
|
206
206
|
type_validator = EnumAttributeValidator.new('String', ["message", "event", "ping", "check queue position"])
|
207
207
|
return false unless type_validator.valid?(@type)
|
@@ -211,7 +211,7 @@ module UltracartClient
|
|
211
211
|
# Custom attribute writer method checking allowed values (enum).
|
212
212
|
# @param [Object] event_type Object to be assigned
|
213
213
|
def event_type=(event_type)
|
214
|
-
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"])
|
214
|
+
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"])
|
215
215
|
unless validator.valid?(event_type)
|
216
216
|
fail ArgumentError, "invalid value for \"event_type\", must be one of #{validator.allowable_values}."
|
217
217
|
end
|
@@ -21,7 +21,10 @@ module UltracartClient
|
|
21
21
|
# Add Item object identifier
|
22
22
|
attr_accessor :add_item_oid
|
23
23
|
|
24
|
-
#
|
24
|
+
# Initial Order Only
|
25
|
+
attr_accessor :initial_order_only
|
26
|
+
|
27
|
+
# Once Per Order
|
25
28
|
attr_accessor :once_per_order
|
26
29
|
|
27
30
|
# Quantity
|
@@ -32,6 +35,7 @@ module UltracartClient
|
|
32
35
|
{
|
33
36
|
:'add_item_id' => :'add_item_id',
|
34
37
|
:'add_item_oid' => :'add_item_oid',
|
38
|
+
:'initial_order_only' => :'initial_order_only',
|
35
39
|
:'once_per_order' => :'once_per_order',
|
36
40
|
:'quantity' => :'quantity'
|
37
41
|
}
|
@@ -47,6 +51,7 @@ module UltracartClient
|
|
47
51
|
{
|
48
52
|
:'add_item_id' => :'String',
|
49
53
|
:'add_item_oid' => :'Integer',
|
54
|
+
:'initial_order_only' => :'Boolean',
|
50
55
|
:'once_per_order' => :'Boolean',
|
51
56
|
:'quantity' => :'Integer'
|
52
57
|
}
|
@@ -81,6 +86,10 @@ module UltracartClient
|
|
81
86
|
self.add_item_oid = attributes[:'add_item_oid']
|
82
87
|
end
|
83
88
|
|
89
|
+
if attributes.key?(:'initial_order_only')
|
90
|
+
self.initial_order_only = attributes[:'initial_order_only']
|
91
|
+
end
|
92
|
+
|
84
93
|
if attributes.key?(:'once_per_order')
|
85
94
|
self.once_per_order = attributes[:'once_per_order']
|
86
95
|
end
|
@@ -110,6 +119,7 @@ module UltracartClient
|
|
110
119
|
self.class == o.class &&
|
111
120
|
add_item_id == o.add_item_id &&
|
112
121
|
add_item_oid == o.add_item_oid &&
|
122
|
+
initial_order_only == o.initial_order_only &&
|
113
123
|
once_per_order == o.once_per_order &&
|
114
124
|
quantity == o.quantity
|
115
125
|
end
|
@@ -123,7 +133,7 @@ module UltracartClient
|
|
123
133
|
# Calculates hash code according to all attributes.
|
124
134
|
# @return [Integer] Hash code
|
125
135
|
def hash
|
126
|
-
[add_item_id, add_item_oid, once_per_order, quantity].hash
|
136
|
+
[add_item_id, add_item_oid, initial_order_only, once_per_order, quantity].hash
|
127
137
|
end
|
128
138
|
|
129
139
|
# 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: 4.0.
|
4
|
+
version: 4.0.79.rc
|
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
|