ultracart_api 3.10.150 → 3.10.152
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 +1 -0
- data/docs/ReportFilterConnection.md +1 -0
- data/docs/ReportPage.md +1 -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: ddf97d8e2fee74b8c90e66e0e3a6740afa9c15f9e7eed82b9000b0057e5a7ab3
|
4
|
+
data.tar.gz: 199684e338e894e6515df691c7f8a51fe92c6c43071bcb95f6cb4499d5f2efd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac0de8e3580c2ae6799e9a4ef97365d2d484083c40af7cea876102bd618aa6036c62290433e715c6944681066893d3a1c8a510119b9c87d65dd0aa49d3727ec4
|
7
|
+
data.tar.gz: 0f1fe6008f5b6b1c5f6029e7af1c656a7c9bdf40fc126508825038ba112e0af1d00afe0de5119bd66eee91e2145690e8d20d2dc70329327ada4883796818becd
|
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.152
|
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.152.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.152.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.152'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1357,6 +1357,8 @@ Not every change is committed to every SDK.
|
|
1357
1357
|
|
1358
1358
|
| Version | Date | Comments |
|
1359
1359
|
| --: | :-: | --- |
|
1360
|
+
| 3.10.152 | 07/27/2023 | dw bi - add settings to the report and page objects |
|
1361
|
+
| 3.10.151 | 07/19/2023 | dw bi - add data_source_uuid to filter connection obj |
|
1360
1362
|
| 3.10.150 | 07/19/2023 | dw bi - add data_source_uuid to page visualization obj |
|
1361
1363
|
| 3.10.149 | 07/19/2023 | dw bi - add data_source_uuid to report data source |
|
1362
1364
|
| 3.10.148 | 07/03/2023 | chart constant for dw report tool |
|
data/docs/Report.md
CHANGED
@@ -13,5 +13,6 @@ Name | Type | Description | Notes
|
|
13
13
|
**pages** | [**Array<ReportPage>**](ReportPage.md) | | [optional]
|
14
14
|
**report_oid** | **Integer** | Object identifier for this report. | [optional]
|
15
15
|
**security_level** | **String** | Security level to execute report under | [optional]
|
16
|
+
**settings** | **String** | A JSON representation of the settings for this report | [optional]
|
16
17
|
|
17
18
|
|
@@ -5,5 +5,6 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**column** | **String** | | [optional]
|
7
7
|
**data_source_name** | **String** | | [optional]
|
8
|
+
**data_source_uuid** | **String** | A unique identifier assigned to the data source. | [optional]
|
8
9
|
|
9
10
|
|
data/docs/ReportPage.md
CHANGED
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**filters** | [**Array<ReportPageFilter>**](ReportPageFilter.md) | | [optional]
|
7
7
|
**height** | **Float** | Height of the report page in inches | [optional]
|
8
|
+
**settings** | **String** | A JSON representation of the settings for this report | [optional]
|
8
9
|
**title** | **String** | | [optional]
|
9
10
|
**visualizations** | [**Array<ReportPageVisualization>**](ReportPageVisualization.md) | Visualizations on the report page. | [optional]
|
10
11
|
**width** | **Float** | Width of the report page in inches | [optional]
|
@@ -225,7 +225,7 @@ module UltracartClient
|
|
225
225
|
# Check to see if the all the properties in the model are valid
|
226
226
|
# @return true if the model is valid
|
227
227
|
def valid?
|
228
|
-
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'])
|
228
|
+
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'])
|
229
229
|
return false unless payment_method_validator.valid?(@payment_method)
|
230
230
|
payment_status_validator = EnumAttributeValidator.new('String', ['Unprocessed', 'Authorized', 'Capture Failed', 'Processed', 'Declined', 'Voided', 'Refunded', 'Skipped'])
|
231
231
|
return false unless payment_status_validator.valid?(@payment_status)
|
@@ -235,7 +235,7 @@ module UltracartClient
|
|
235
235
|
# Custom attribute writer method checking allowed values (enum).
|
236
236
|
# @param [Object] payment_method Object to be assigned
|
237
237
|
def payment_method=(payment_method)
|
238
|
-
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'])
|
238
|
+
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'])
|
239
239
|
unless validator.valid?(payment_method)
|
240
240
|
fail ArgumentError, 'invalid value for "payment_method", must be one of #{validator.allowable_values}.'
|
241
241
|
end
|
@@ -475,7 +475,7 @@ module UltracartClient
|
|
475
475
|
return false if !@email.nil? && @email.to_s.length > 100
|
476
476
|
return false if !@first_name.nil? && @first_name.to_s.length > 30
|
477
477
|
return false if !@last_name.nil? && @last_name.to_s.length > 30
|
478
|
-
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'])
|
478
|
+
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'])
|
479
479
|
return false unless payment_method_validator.valid?(@payment_method)
|
480
480
|
return false if !@phone.nil? && @phone.to_s.length > 25
|
481
481
|
return false if !@postal_code.nil? && @postal_code.to_s.length > 20
|
@@ -568,7 +568,7 @@ module UltracartClient
|
|
568
568
|
# Custom attribute writer method checking allowed values (enum).
|
569
569
|
# @param [Object] payment_method Object to be assigned
|
570
570
|
def payment_method=(payment_method)
|
571
|
-
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'])
|
571
|
+
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'])
|
572
572
|
unless validator.valid?(payment_method)
|
573
573
|
fail ArgumentError, 'invalid value for "payment_method", must be one of #{validator.allowable_values}.'
|
574
574
|
end
|
@@ -36,6 +36,9 @@ module UltracartClient
|
|
36
36
|
# Security level to execute report under
|
37
37
|
attr_accessor :security_level
|
38
38
|
|
39
|
+
# A JSON representation of the settings for this report
|
40
|
+
attr_accessor :settings
|
41
|
+
|
39
42
|
class EnumAttributeValidator
|
40
43
|
attr_reader :datatype
|
41
44
|
attr_reader :allowable_values
|
@@ -70,7 +73,8 @@ module UltracartClient
|
|
70
73
|
:'name' => :'name',
|
71
74
|
:'pages' => :'pages',
|
72
75
|
:'report_oid' => :'report_oid',
|
73
|
-
:'security_level' => :'security_level'
|
76
|
+
:'security_level' => :'security_level',
|
77
|
+
:'settings' => :'settings'
|
74
78
|
}
|
75
79
|
end
|
76
80
|
|
@@ -86,7 +90,8 @@ module UltracartClient
|
|
86
90
|
:'name' => :'String',
|
87
91
|
:'pages' => :'Array<ReportPage>',
|
88
92
|
:'report_oid' => :'Integer',
|
89
|
-
:'security_level' => :'String'
|
93
|
+
:'security_level' => :'String',
|
94
|
+
:'settings' => :'String'
|
90
95
|
}
|
91
96
|
end
|
92
97
|
|
@@ -143,6 +148,10 @@ module UltracartClient
|
|
143
148
|
if attributes.has_key?(:'security_level')
|
144
149
|
self.security_level = attributes[:'security_level']
|
145
150
|
end
|
151
|
+
|
152
|
+
if attributes.has_key?(:'settings')
|
153
|
+
self.settings = attributes[:'settings']
|
154
|
+
end
|
146
155
|
end
|
147
156
|
|
148
157
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -184,7 +193,8 @@ module UltracartClient
|
|
184
193
|
name == o.name &&
|
185
194
|
pages == o.pages &&
|
186
195
|
report_oid == o.report_oid &&
|
187
|
-
security_level == o.security_level
|
196
|
+
security_level == o.security_level &&
|
197
|
+
settings == o.settings
|
188
198
|
end
|
189
199
|
|
190
200
|
# @see the `==` method
|
@@ -196,7 +206,7 @@ module UltracartClient
|
|
196
206
|
# Calculates hash code according to all attributes.
|
197
207
|
# @return [Fixnum] Hash code
|
198
208
|
def hash
|
199
|
-
[active, data_sources, default_dataset_id, default_project_id, filters, merchant_id, name, pages, report_oid, security_level].hash
|
209
|
+
[active, data_sources, default_dataset_id, default_project_id, filters, merchant_id, name, pages, report_oid, security_level, settings].hash
|
200
210
|
end
|
201
211
|
|
202
212
|
# Builds the object from hash
|
@@ -18,11 +18,15 @@ module UltracartClient
|
|
18
18
|
|
19
19
|
attr_accessor :data_source_name
|
20
20
|
|
21
|
+
# A unique identifier assigned to the data source.
|
22
|
+
attr_accessor :data_source_uuid
|
23
|
+
|
21
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
22
25
|
def self.attribute_map
|
23
26
|
{
|
24
27
|
:'column' => :'column',
|
25
|
-
:'data_source_name' => :'data_source_name'
|
28
|
+
:'data_source_name' => :'data_source_name',
|
29
|
+
:'data_source_uuid' => :'data_source_uuid'
|
26
30
|
}
|
27
31
|
end
|
28
32
|
|
@@ -30,7 +34,8 @@ module UltracartClient
|
|
30
34
|
def self.swagger_types
|
31
35
|
{
|
32
36
|
:'column' => :'String',
|
33
|
-
:'data_source_name' => :'String'
|
37
|
+
:'data_source_name' => :'String',
|
38
|
+
:'data_source_uuid' => :'String'
|
34
39
|
}
|
35
40
|
end
|
36
41
|
|
@@ -49,6 +54,10 @@ module UltracartClient
|
|
49
54
|
if attributes.has_key?(:'data_source_name')
|
50
55
|
self.data_source_name = attributes[:'data_source_name']
|
51
56
|
end
|
57
|
+
|
58
|
+
if attributes.has_key?(:'data_source_uuid')
|
59
|
+
self.data_source_uuid = attributes[:'data_source_uuid']
|
60
|
+
end
|
52
61
|
end
|
53
62
|
|
54
63
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -70,7 +79,8 @@ module UltracartClient
|
|
70
79
|
return true if self.equal?(o)
|
71
80
|
self.class == o.class &&
|
72
81
|
column == o.column &&
|
73
|
-
data_source_name == o.data_source_name
|
82
|
+
data_source_name == o.data_source_name &&
|
83
|
+
data_source_uuid == o.data_source_uuid
|
74
84
|
end
|
75
85
|
|
76
86
|
# @see the `==` method
|
@@ -82,7 +92,7 @@ module UltracartClient
|
|
82
92
|
# Calculates hash code according to all attributes.
|
83
93
|
# @return [Fixnum] Hash code
|
84
94
|
def hash
|
85
|
-
[column, data_source_name].hash
|
95
|
+
[column, data_source_name, data_source_uuid].hash
|
86
96
|
end
|
87
97
|
|
88
98
|
# Builds the object from hash
|
@@ -19,6 +19,9 @@ module UltracartClient
|
|
19
19
|
# Height of the report page in inches
|
20
20
|
attr_accessor :height
|
21
21
|
|
22
|
+
# A JSON representation of the settings for this report
|
23
|
+
attr_accessor :settings
|
24
|
+
|
22
25
|
attr_accessor :title
|
23
26
|
|
24
27
|
# Visualizations on the report page.
|
@@ -32,6 +35,7 @@ module UltracartClient
|
|
32
35
|
{
|
33
36
|
:'filters' => :'filters',
|
34
37
|
:'height' => :'height',
|
38
|
+
:'settings' => :'settings',
|
35
39
|
:'title' => :'title',
|
36
40
|
:'visualizations' => :'visualizations',
|
37
41
|
:'width' => :'width'
|
@@ -43,6 +47,7 @@ module UltracartClient
|
|
43
47
|
{
|
44
48
|
:'filters' => :'Array<ReportPageFilter>',
|
45
49
|
:'height' => :'Float',
|
50
|
+
:'settings' => :'String',
|
46
51
|
:'title' => :'String',
|
47
52
|
:'visualizations' => :'Array<ReportPageVisualization>',
|
48
53
|
:'width' => :'Float'
|
@@ -67,6 +72,10 @@ module UltracartClient
|
|
67
72
|
self.height = attributes[:'height']
|
68
73
|
end
|
69
74
|
|
75
|
+
if attributes.has_key?(:'settings')
|
76
|
+
self.settings = attributes[:'settings']
|
77
|
+
end
|
78
|
+
|
70
79
|
if attributes.has_key?(:'title')
|
71
80
|
self.title = attributes[:'title']
|
72
81
|
end
|
@@ -102,6 +111,7 @@ module UltracartClient
|
|
102
111
|
self.class == o.class &&
|
103
112
|
filters == o.filters &&
|
104
113
|
height == o.height &&
|
114
|
+
settings == o.settings &&
|
105
115
|
title == o.title &&
|
106
116
|
visualizations == o.visualizations &&
|
107
117
|
width == o.width
|
@@ -116,7 +126,7 @@ module UltracartClient
|
|
116
126
|
# Calculates hash code according to all attributes.
|
117
127
|
# @return [Fixnum] Hash code
|
118
128
|
def hash
|
119
|
-
[filters, height, title, visualizations, width].hash
|
129
|
+
[filters, height, settings, title, visualizations, width].hash
|
120
130
|
end
|
121
131
|
|
122
132
|
# 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.152
|
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
|