ultracart_api 4.0.167 → 4.0.169
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/Report.md +3 -1
- data/docs/ReportFilterConnection.md +3 -1
- data/docs/ReportPage.md +2 -0
- data/lib/ultracart_api/models/order_payment.rb +2 -2
- data/lib/ultracart_api/models/order_query.rb +2 -2
- data/lib/ultracart_api/models/report.rb +14 -4
- data/lib/ultracart_api/models/report_filter_connection.rb +14 -4
- data/lib/ultracart_api/models/report_page.rb +11 -1
- 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: 41df96fb972e8f73e2f7ef46f74a761ce41ed0e01275f834ae726ba94c583d9c
|
4
|
+
data.tar.gz: b9e653a4f7ff4fb8673ffcf4fbe6b8b13effb00dd01e81dd4a3380c93e92182b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f2a2b7511a9e29ec22cc87f69a07a949760d6e359dd24c47565654f170931031944b42472b209c1e6f19a6bf49f7b08725e4774ac54b56dfe89d387fdb482e0
|
7
|
+
data.tar.gz: 0fbf5b489ac0b8252e820fca40719e0f473bc5c3093facb3660d28b57027e169070201f54223b793c6d431bf0ea301fe7a67cc74fcdcc17927ed4f58bdaeb3ab
|
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.169
|
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.169.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.169.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.169'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1365,6 +1365,8 @@ Not every change is committed to every SDK.
|
|
1365
1365
|
|
1366
1366
|
| Version | Date | Comments |
|
1367
1367
|
| --: | :-: | --- |
|
1368
|
+
| 4.0.169 | 07/27/2023 | dw bi - add settings to the report and page objects |
|
1369
|
+
| 4.0.168 | 07/19/2023 | dw bi - add data_source_uuid to filter connection obj |
|
1368
1370
|
| 4.0.167 | 07/19/2023 | dw bi - add data_source_uuid to page visualization obj |
|
1369
1371
|
| 4.0.166 | 07/19/2023 | dw bi - add data_source_uuid to report data source |
|
1370
1372
|
| 4.0.165 | 07/03/2023 | chart constant for dw report tool |
|
data/docs/Report.md
CHANGED
@@ -14,6 +14,7 @@
|
|
14
14
|
| **pages** | [**Array<ReportPage>**](ReportPage.md) | | [optional] |
|
15
15
|
| **report_oid** | **Integer** | Object identifier for this report. | [optional] |
|
16
16
|
| **security_level** | **String** | Security level to execute report under | [optional] |
|
17
|
+
| **settings** | **String** | A JSON representation of the settings for this report | [optional] |
|
17
18
|
|
18
19
|
## Example
|
19
20
|
|
@@ -30,7 +31,8 @@ instance = UltracartClient::Report.new(
|
|
30
31
|
name: null,
|
31
32
|
pages: null,
|
32
33
|
report_oid: null,
|
33
|
-
security_level: null
|
34
|
+
security_level: null,
|
35
|
+
settings: null
|
34
36
|
)
|
35
37
|
```
|
36
38
|
|
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **column** | **String** | | [optional] |
|
8
8
|
| **data_source_name** | **String** | | [optional] |
|
9
|
+
| **data_source_uuid** | **String** | A unique identifier assigned to the data source. | [optional] |
|
9
10
|
|
10
11
|
## Example
|
11
12
|
|
@@ -14,7 +15,8 @@ require 'ultracart_api'
|
|
14
15
|
|
15
16
|
instance = UltracartClient::ReportFilterConnection.new(
|
16
17
|
column: null,
|
17
|
-
data_source_name: null
|
18
|
+
data_source_name: null,
|
19
|
+
data_source_uuid: null
|
18
20
|
)
|
19
21
|
```
|
20
22
|
|
data/docs/ReportPage.md
CHANGED
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **filters** | [**Array<ReportPageFilter>**](ReportPageFilter.md) | | [optional] |
|
8
8
|
| **height** | **Float** | Height of the report page in inches | [optional] |
|
9
|
+
| **settings** | **String** | A JSON representation of the settings for this report | [optional] |
|
9
10
|
| **title** | **String** | | [optional] |
|
10
11
|
| **visualizations** | [**Array<ReportPageVisualization>**](ReportPageVisualization.md) | Visualizations on the report page. | [optional] |
|
11
12
|
| **width** | **Float** | Width of the report page in inches | [optional] |
|
@@ -18,6 +19,7 @@ require 'ultracart_api'
|
|
18
19
|
instance = UltracartClient::ReportPage.new(
|
19
20
|
filters: null,
|
20
21
|
height: null,
|
22
|
+
settings: null,
|
21
23
|
title: null,
|
22
24
|
visualizations: null,
|
23
25
|
width: null
|
@@ -244,7 +244,7 @@ module UltracartClient
|
|
244
244
|
# Check to see if the all the properties in the model are valid
|
245
245
|
# @return true if the model is valid
|
246
246
|
def valid?
|
247
|
-
payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle", "Venmo"])
|
247
|
+
payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle", "Venmo", "Apple Pay", "Google Pay"])
|
248
248
|
return false unless payment_method_validator.valid?(@payment_method)
|
249
249
|
payment_status_validator = EnumAttributeValidator.new('String', ["Unprocessed", "Authorized", "Capture Failed", "Processed", "Declined", "Voided", "Refunded", "Skipped"])
|
250
250
|
return false unless payment_status_validator.valid?(@payment_status)
|
@@ -254,7 +254,7 @@ module UltracartClient
|
|
254
254
|
# Custom attribute writer method checking allowed values (enum).
|
255
255
|
# @param [Object] payment_method Object to be assigned
|
256
256
|
def payment_method=(payment_method)
|
257
|
-
validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle", "Venmo"])
|
257
|
+
validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle", "Venmo", "Apple Pay", "Google Pay"])
|
258
258
|
unless validator.valid?(payment_method)
|
259
259
|
fail ArgumentError, "invalid value for \"payment_method\", must be one of #{validator.allowable_values}."
|
260
260
|
end
|
@@ -494,7 +494,7 @@ module UltracartClient
|
|
494
494
|
return false if !@email.nil? && @email.to_s.length > 100
|
495
495
|
return false if !@first_name.nil? && @first_name.to_s.length > 30
|
496
496
|
return false if !@last_name.nil? && @last_name.to_s.length > 30
|
497
|
-
payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eCheck", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer"])
|
497
|
+
payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eCheck", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Venmo", "Apple Pay", " Google Pay"])
|
498
498
|
return false unless payment_method_validator.valid?(@payment_method)
|
499
499
|
return false if !@phone.nil? && @phone.to_s.length > 25
|
500
500
|
return false if !@postal_code.nil? && @postal_code.to_s.length > 20
|
@@ -587,7 +587,7 @@ module UltracartClient
|
|
587
587
|
# Custom attribute writer method checking allowed values (enum).
|
588
588
|
# @param [Object] payment_method Object to be assigned
|
589
589
|
def payment_method=(payment_method)
|
590
|
-
validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eCheck", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer"])
|
590
|
+
validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eCheck", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Venmo", "Apple Pay", " Google Pay"])
|
591
591
|
unless validator.valid?(payment_method)
|
592
592
|
fail ArgumentError, "invalid value for \"payment_method\", must be one of #{validator.allowable_values}."
|
593
593
|
end
|
@@ -37,6 +37,9 @@ module UltracartClient
|
|
37
37
|
# Security level to execute report under
|
38
38
|
attr_accessor :security_level
|
39
39
|
|
40
|
+
# A JSON representation of the settings for this report
|
41
|
+
attr_accessor :settings
|
42
|
+
|
40
43
|
class EnumAttributeValidator
|
41
44
|
attr_reader :datatype
|
42
45
|
attr_reader :allowable_values
|
@@ -71,7 +74,8 @@ module UltracartClient
|
|
71
74
|
:'name' => :'name',
|
72
75
|
:'pages' => :'pages',
|
73
76
|
:'report_oid' => :'report_oid',
|
74
|
-
:'security_level' => :'security_level'
|
77
|
+
:'security_level' => :'security_level',
|
78
|
+
:'settings' => :'settings'
|
75
79
|
}
|
76
80
|
end
|
77
81
|
|
@@ -92,7 +96,8 @@ module UltracartClient
|
|
92
96
|
:'name' => :'String',
|
93
97
|
:'pages' => :'Array<ReportPage>',
|
94
98
|
:'report_oid' => :'Integer',
|
95
|
-
:'security_level' => :'String'
|
99
|
+
:'security_level' => :'String',
|
100
|
+
:'settings' => :'String'
|
96
101
|
}
|
97
102
|
end
|
98
103
|
|
@@ -162,6 +167,10 @@ module UltracartClient
|
|
162
167
|
if attributes.key?(:'security_level')
|
163
168
|
self.security_level = attributes[:'security_level']
|
164
169
|
end
|
170
|
+
|
171
|
+
if attributes.key?(:'settings')
|
172
|
+
self.settings = attributes[:'settings']
|
173
|
+
end
|
165
174
|
end
|
166
175
|
|
167
176
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -203,7 +212,8 @@ module UltracartClient
|
|
203
212
|
name == o.name &&
|
204
213
|
pages == o.pages &&
|
205
214
|
report_oid == o.report_oid &&
|
206
|
-
security_level == o.security_level
|
215
|
+
security_level == o.security_level &&
|
216
|
+
settings == o.settings
|
207
217
|
end
|
208
218
|
|
209
219
|
# @see the `==` method
|
@@ -215,7 +225,7 @@ module UltracartClient
|
|
215
225
|
# Calculates hash code according to all attributes.
|
216
226
|
# @return [Integer] Hash code
|
217
227
|
def hash
|
218
|
-
[active, data_sources, default_dataset_id, default_project_id, filters, merchant_id, name, pages, report_oid, security_level].hash
|
228
|
+
[active, data_sources, default_dataset_id, default_project_id, filters, merchant_id, name, pages, report_oid, security_level, settings].hash
|
219
229
|
end
|
220
230
|
|
221
231
|
# Builds the object from hash
|
@@ -19,11 +19,15 @@ module UltracartClient
|
|
19
19
|
|
20
20
|
attr_accessor :data_source_name
|
21
21
|
|
22
|
+
# A unique identifier assigned to the data source.
|
23
|
+
attr_accessor :data_source_uuid
|
24
|
+
|
22
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
26
|
def self.attribute_map
|
24
27
|
{
|
25
28
|
:'column' => :'column',
|
26
|
-
:'data_source_name' => :'data_source_name'
|
29
|
+
:'data_source_name' => :'data_source_name',
|
30
|
+
:'data_source_uuid' => :'data_source_uuid'
|
27
31
|
}
|
28
32
|
end
|
29
33
|
|
@@ -36,7 +40,8 @@ module UltracartClient
|
|
36
40
|
def self.openapi_types
|
37
41
|
{
|
38
42
|
:'column' => :'String',
|
39
|
-
:'data_source_name' => :'String'
|
43
|
+
:'data_source_name' => :'String',
|
44
|
+
:'data_source_uuid' => :'String'
|
40
45
|
}
|
41
46
|
end
|
42
47
|
|
@@ -68,6 +73,10 @@ module UltracartClient
|
|
68
73
|
if attributes.key?(:'data_source_name')
|
69
74
|
self.data_source_name = attributes[:'data_source_name']
|
70
75
|
end
|
76
|
+
|
77
|
+
if attributes.key?(:'data_source_uuid')
|
78
|
+
self.data_source_uuid = attributes[:'data_source_uuid']
|
79
|
+
end
|
71
80
|
end
|
72
81
|
|
73
82
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -89,7 +98,8 @@ module UltracartClient
|
|
89
98
|
return true if self.equal?(o)
|
90
99
|
self.class == o.class &&
|
91
100
|
column == o.column &&
|
92
|
-
data_source_name == o.data_source_name
|
101
|
+
data_source_name == o.data_source_name &&
|
102
|
+
data_source_uuid == o.data_source_uuid
|
93
103
|
end
|
94
104
|
|
95
105
|
# @see the `==` method
|
@@ -101,7 +111,7 @@ module UltracartClient
|
|
101
111
|
# Calculates hash code according to all attributes.
|
102
112
|
# @return [Integer] Hash code
|
103
113
|
def hash
|
104
|
-
[column, data_source_name].hash
|
114
|
+
[column, data_source_name, data_source_uuid].hash
|
105
115
|
end
|
106
116
|
|
107
117
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module UltracartClient
|
|
20
20
|
# Height of the report page in inches
|
21
21
|
attr_accessor :height
|
22
22
|
|
23
|
+
# A JSON representation of the settings for this report
|
24
|
+
attr_accessor :settings
|
25
|
+
|
23
26
|
attr_accessor :title
|
24
27
|
|
25
28
|
# Visualizations on the report page.
|
@@ -33,6 +36,7 @@ module UltracartClient
|
|
33
36
|
{
|
34
37
|
:'filters' => :'filters',
|
35
38
|
:'height' => :'height',
|
39
|
+
:'settings' => :'settings',
|
36
40
|
:'title' => :'title',
|
37
41
|
:'visualizations' => :'visualizations',
|
38
42
|
:'width' => :'width'
|
@@ -49,6 +53,7 @@ module UltracartClient
|
|
49
53
|
{
|
50
54
|
:'filters' => :'Array<ReportPageFilter>',
|
51
55
|
:'height' => :'Float',
|
56
|
+
:'settings' => :'String',
|
52
57
|
:'title' => :'String',
|
53
58
|
:'visualizations' => :'Array<ReportPageVisualization>',
|
54
59
|
:'width' => :'Float'
|
@@ -86,6 +91,10 @@ module UltracartClient
|
|
86
91
|
self.height = attributes[:'height']
|
87
92
|
end
|
88
93
|
|
94
|
+
if attributes.key?(:'settings')
|
95
|
+
self.settings = attributes[:'settings']
|
96
|
+
end
|
97
|
+
|
89
98
|
if attributes.key?(:'title')
|
90
99
|
self.title = attributes[:'title']
|
91
100
|
end
|
@@ -121,6 +130,7 @@ module UltracartClient
|
|
121
130
|
self.class == o.class &&
|
122
131
|
filters == o.filters &&
|
123
132
|
height == o.height &&
|
133
|
+
settings == o.settings &&
|
124
134
|
title == o.title &&
|
125
135
|
visualizations == o.visualizations &&
|
126
136
|
width == o.width
|
@@ -135,7 +145,7 @@ module UltracartClient
|
|
135
145
|
# Calculates hash code according to all attributes.
|
136
146
|
# @return [Integer] Hash code
|
137
147
|
def hash
|
138
|
-
[filters, height, title, visualizations, width].hash
|
148
|
+
[filters, height, settings, title, visualizations, width].hash
|
139
149
|
end
|
140
150
|
|
141
151
|
# 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.169
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|