ultracart_api 3.1.43 → 3.1.44
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/docs/ItemReviews.md +2 -0
- data/docs/LibraryItemAttribute.md +0 -1
- data/lib/ultracart_api/models/item_reviews.rb +24 -4
- data/lib/ultracart_api/models/library_item_attribute.rb +1 -10
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4327218145d44faf910ead52e4ac5f7d1741ea8b7fee8fe7d1af98787915333b
|
4
|
+
data.tar.gz: bb3956368f8c557b12d57e56e00eb5e31ce530ac5fd7c8a9402b1a49990d0ec5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c69e17d8dc4a791cb7df0324e91966cd7c1c5ad4050c644a2577eb09d622bb7ad6b562ae7b1bfe2bd9bb638a5f4880caa67c38aa26395b90a8ef2bd35f297f6
|
7
|
+
data.tar.gz: 7857fc4cff529cf8258213d3ff114cfdd83286d9beea414a8bdc3a48db3c6b40f909ae033e5b6614a6144b9809756c580b199c8ae885df105a21fcd5094d2ac7
|
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.1.
|
10
|
+
- Package version: 3.1.44
|
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.1.
|
27
|
+
gem install ./ultracart_api-3.1.44.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.1.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.1.44.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.1.
|
35
|
+
gem 'ultracart_api', '~> 3.1.44'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1019,6 +1019,7 @@ Not every change is committed to every SDK.
|
|
1019
1019
|
|
1020
1020
|
| Version | Date | Comments |
|
1021
1021
|
| --: | :-: | --- |
|
1022
|
+
| 3.1.44 | 06/02/2021 | new boolean flag on items object to allow sharing of reviews between items |
|
1022
1023
|
| 3.1.43 | 06/01/2021 | one of us cannot spell, not saying who |
|
1023
1024
|
| 3.1.42 | 06/01/2021 | added quickbooks accounting codes at the tiered level for tiered coupons |
|
1024
1025
|
| 3.1.41 | 05/21/2021 | screen recording heatmap methods |
|
data/docs/ItemReviews.md
CHANGED
@@ -10,5 +10,7 @@ Name | Type | Description | Notes
|
|
10
10
|
**review_template_name** | **String** | Review template name | [optional]
|
11
11
|
**review_template_oid** | **Integer** | Review template object identifier | [optional]
|
12
12
|
**reviewable** | **BOOLEAN** | True if the item is reviewable | [optional]
|
13
|
+
**share_reviews_with_merchant_item_id** | **String** | Share reviews with item id. To set, use the share_reviews_with_merchant_item_oid field. | [optional]
|
14
|
+
**share_reviews_with_merchant_item_oid** | **Integer** | Share reviews with item oid. To null out this field, set teh value to zero. | [optional]
|
13
15
|
|
14
16
|
|
@@ -35,6 +35,12 @@ module UltracartClient
|
|
35
35
|
# True if the item is reviewable
|
36
36
|
attr_accessor :reviewable
|
37
37
|
|
38
|
+
# Share reviews with item id. To set, use the share_reviews_with_merchant_item_oid field.
|
39
|
+
attr_accessor :share_reviews_with_merchant_item_id
|
40
|
+
|
41
|
+
# Share reviews with item oid. To null out this field, set teh value to zero.
|
42
|
+
attr_accessor :share_reviews_with_merchant_item_oid
|
43
|
+
|
38
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
39
45
|
def self.attribute_map
|
40
46
|
{
|
@@ -44,7 +50,9 @@ module UltracartClient
|
|
44
50
|
:'review_overall' => :'review_overall',
|
45
51
|
:'review_template_name' => :'review_template_name',
|
46
52
|
:'review_template_oid' => :'review_template_oid',
|
47
|
-
:'reviewable' => :'reviewable'
|
53
|
+
:'reviewable' => :'reviewable',
|
54
|
+
:'share_reviews_with_merchant_item_id' => :'share_reviews_with_merchant_item_id',
|
55
|
+
:'share_reviews_with_merchant_item_oid' => :'share_reviews_with_merchant_item_oid'
|
48
56
|
}
|
49
57
|
end
|
50
58
|
|
@@ -57,7 +65,9 @@ module UltracartClient
|
|
57
65
|
:'review_overall' => :'Float',
|
58
66
|
:'review_template_name' => :'String',
|
59
67
|
:'review_template_oid' => :'Integer',
|
60
|
-
:'reviewable' => :'BOOLEAN'
|
68
|
+
:'reviewable' => :'BOOLEAN',
|
69
|
+
:'share_reviews_with_merchant_item_id' => :'String',
|
70
|
+
:'share_reviews_with_merchant_item_oid' => :'Integer'
|
61
71
|
}
|
62
72
|
end
|
63
73
|
|
@@ -96,6 +106,14 @@ module UltracartClient
|
|
96
106
|
if attributes.has_key?(:'reviewable')
|
97
107
|
self.reviewable = attributes[:'reviewable']
|
98
108
|
end
|
109
|
+
|
110
|
+
if attributes.has_key?(:'share_reviews_with_merchant_item_id')
|
111
|
+
self.share_reviews_with_merchant_item_id = attributes[:'share_reviews_with_merchant_item_id']
|
112
|
+
end
|
113
|
+
|
114
|
+
if attributes.has_key?(:'share_reviews_with_merchant_item_oid')
|
115
|
+
self.share_reviews_with_merchant_item_oid = attributes[:'share_reviews_with_merchant_item_oid']
|
116
|
+
end
|
99
117
|
end
|
100
118
|
|
101
119
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -122,7 +140,9 @@ module UltracartClient
|
|
122
140
|
review_overall == o.review_overall &&
|
123
141
|
review_template_name == o.review_template_name &&
|
124
142
|
review_template_oid == o.review_template_oid &&
|
125
|
-
reviewable == o.reviewable
|
143
|
+
reviewable == o.reviewable &&
|
144
|
+
share_reviews_with_merchant_item_id == o.share_reviews_with_merchant_item_id &&
|
145
|
+
share_reviews_with_merchant_item_oid == o.share_reviews_with_merchant_item_oid
|
126
146
|
end
|
127
147
|
|
128
148
|
# @see the `==` method
|
@@ -134,7 +154,7 @@ module UltracartClient
|
|
134
154
|
# Calculates hash code according to all attributes.
|
135
155
|
# @return [Fixnum] Hash code
|
136
156
|
def hash
|
137
|
-
[has_approved_review, has_review, review_count, review_overall, review_template_name, review_template_oid, reviewable].hash
|
157
|
+
[has_approved_review, has_review, review_count, review_overall, review_template_name, review_template_oid, reviewable, share_reviews_with_merchant_item_id, share_reviews_with_merchant_item_oid].hash
|
138
158
|
end
|
139
159
|
|
140
160
|
# Builds the object from hash
|
@@ -14,8 +14,6 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class LibraryItemAttribute
|
17
|
-
attr_accessor :library_item_oid
|
18
|
-
|
19
17
|
attr_accessor :name
|
20
18
|
|
21
19
|
attr_accessor :value
|
@@ -23,7 +21,6 @@ module UltracartClient
|
|
23
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
22
|
def self.attribute_map
|
25
23
|
{
|
26
|
-
:'library_item_oid' => :'libraryItemOid',
|
27
24
|
:'name' => :'name',
|
28
25
|
:'value' => :'value'
|
29
26
|
}
|
@@ -32,7 +29,6 @@ module UltracartClient
|
|
32
29
|
# Attribute type mapping.
|
33
30
|
def self.swagger_types
|
34
31
|
{
|
35
|
-
:'library_item_oid' => :'Integer',
|
36
32
|
:'name' => :'String',
|
37
33
|
:'value' => :'String'
|
38
34
|
}
|
@@ -46,10 +42,6 @@ module UltracartClient
|
|
46
42
|
# convert string to symbol for hash key
|
47
43
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
48
44
|
|
49
|
-
if attributes.has_key?(:'libraryItemOid')
|
50
|
-
self.library_item_oid = attributes[:'libraryItemOid']
|
51
|
-
end
|
52
|
-
|
53
45
|
if attributes.has_key?(:'name')
|
54
46
|
self.name = attributes[:'name']
|
55
47
|
end
|
@@ -77,7 +69,6 @@ module UltracartClient
|
|
77
69
|
def ==(o)
|
78
70
|
return true if self.equal?(o)
|
79
71
|
self.class == o.class &&
|
80
|
-
library_item_oid == o.library_item_oid &&
|
81
72
|
name == o.name &&
|
82
73
|
value == o.value
|
83
74
|
end
|
@@ -91,7 +82,7 @@ module UltracartClient
|
|
91
82
|
# Calculates hash code according to all attributes.
|
92
83
|
# @return [Fixnum] Hash code
|
93
84
|
def hash
|
94
|
-
[
|
85
|
+
[name, value].hash
|
95
86
|
end
|
96
87
|
|
97
88
|
# 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.1.
|
4
|
+
version: 3.1.44
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|