ultracart_api 3.10.130 → 3.10.131
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/Report.md +0 -1
- data/docs/ReportFilter.md +2 -0
- data/docs/ReportPage.md +1 -0
- data/lib/ultracart_api/models/report.rb +1 -12
- data/lib/ultracart_api/models/report_filter.rb +21 -1
- data/lib/ultracart_api/models/report_page.rb +12 -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: 32c150fcfc971194e86d7e040997c40c08c2c13af68d652986556a76c9619ea3
|
|
4
|
+
data.tar.gz: 8b9a71dc09831290d85dab5b67f6db535e2b598fab2a94c702d2df76f2958579
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7db15c81d18189cd8f48f95f9154a30f40c69577fcfdf651f19bb20b8bd17ddd4082573e668636b81aecea171ec6e5c68373d824dc804833d733a4919b5a95ed
|
|
7
|
+
data.tar.gz: aad2d3eeb98f6fee89088face79bcedb7119d49d8b3d559cb6564aae6dcad756896b38ac522e545841dedc67b3cf8346de4eb374f9d1aecef72e98f65949ce77
|
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.131
|
|
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.131.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.131.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.131'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -1344,6 +1344,7 @@ Not every change is committed to every SDK.
|
|
|
1344
1344
|
|
|
1345
1345
|
| Version | Date | Comments |
|
|
1346
1346
|
| --: | :-: | --- |
|
|
1347
|
+
| 3.10.131 | 04/19/2023 | internal dev - data warehouse |
|
|
1347
1348
|
| 3.10.130 | 04/17/2023 | OrderPaymentTransaction - expose the transaction id |
|
|
1348
1349
|
| 3.10.129 | 04/11/2023 | missing sezzle payment constant |
|
|
1349
1350
|
| 3.10.128 | 04/10/2023 | data warehouse internal dev |
|
data/docs/Report.md
CHANGED
|
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**data_sources** | [**Array<ReportDataSource>**](ReportDataSource.md) | | [optional]
|
|
8
8
|
**default_dataset_id** | **String** | | [optional]
|
|
9
9
|
**default_project_id** | **String** | | [optional]
|
|
10
|
-
**filters** | [**Array<ReportFilter>**](ReportFilter.md) | | [optional]
|
|
11
10
|
**merchant_id** | **String** | | [optional]
|
|
12
11
|
**name** | **String** | | [optional]
|
|
13
12
|
**pages** | [**Array<ReportPage>**](ReportPage.md) | | [optional]
|
data/docs/ReportFilter.md
CHANGED
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**config** | **String** | A JSON representation of the configuration for this visualization | [optional]
|
|
6
7
|
**connections** | [**Array<ReportFilterConnection>**](ReportFilterConnection.md) | How this filter connects to the data sources and columns | [optional]
|
|
7
8
|
**name** | **String** | | [optional]
|
|
9
|
+
**styles** | **String** | A JSON representation of the style configuration for this visualization | [optional]
|
|
8
10
|
**timezone** | **String** | The timezone that the date range is querying on. | [optional]
|
|
9
11
|
**type** | **String** | Type of filter | [optional]
|
|
10
12
|
**uuid** | **String** | Unique UUID assigned to the filter. Assists when returning values that the filter can use. | [optional]
|
data/docs/ReportPage.md
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**filters** | [**Array<ReportFilter>**](ReportFilter.md) | | [optional]
|
|
6
7
|
**height** | **Float** | Height of the report page in inches | [optional]
|
|
7
8
|
**title** | **String** | | [optional]
|
|
8
9
|
**visualizations** | [**Array<ReportPageVisualization>**](ReportPageVisualization.md) | Visualizations on the report page. | [optional]
|
|
@@ -22,8 +22,6 @@ module UltracartClient
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :default_project_id
|
|
24
24
|
|
|
25
|
-
attr_accessor :filters
|
|
26
|
-
|
|
27
25
|
attr_accessor :merchant_id
|
|
28
26
|
|
|
29
27
|
attr_accessor :name
|
|
@@ -65,7 +63,6 @@ module UltracartClient
|
|
|
65
63
|
:'data_sources' => :'data_sources',
|
|
66
64
|
:'default_dataset_id' => :'default_dataset_id',
|
|
67
65
|
:'default_project_id' => :'default_project_id',
|
|
68
|
-
:'filters' => :'filters',
|
|
69
66
|
:'merchant_id' => :'merchant_id',
|
|
70
67
|
:'name' => :'name',
|
|
71
68
|
:'pages' => :'pages',
|
|
@@ -81,7 +78,6 @@ module UltracartClient
|
|
|
81
78
|
:'data_sources' => :'Array<ReportDataSource>',
|
|
82
79
|
:'default_dataset_id' => :'String',
|
|
83
80
|
:'default_project_id' => :'String',
|
|
84
|
-
:'filters' => :'Array<ReportFilter>',
|
|
85
81
|
:'merchant_id' => :'String',
|
|
86
82
|
:'name' => :'String',
|
|
87
83
|
:'pages' => :'Array<ReportPage>',
|
|
@@ -116,12 +112,6 @@ module UltracartClient
|
|
|
116
112
|
self.default_project_id = attributes[:'default_project_id']
|
|
117
113
|
end
|
|
118
114
|
|
|
119
|
-
if attributes.has_key?(:'filters')
|
|
120
|
-
if (value = attributes[:'filters']).is_a?(Array)
|
|
121
|
-
self.filters = value
|
|
122
|
-
end
|
|
123
|
-
end
|
|
124
|
-
|
|
125
115
|
if attributes.has_key?(:'merchant_id')
|
|
126
116
|
self.merchant_id = attributes[:'merchant_id']
|
|
127
117
|
end
|
|
@@ -179,7 +169,6 @@ module UltracartClient
|
|
|
179
169
|
data_sources == o.data_sources &&
|
|
180
170
|
default_dataset_id == o.default_dataset_id &&
|
|
181
171
|
default_project_id == o.default_project_id &&
|
|
182
|
-
filters == o.filters &&
|
|
183
172
|
merchant_id == o.merchant_id &&
|
|
184
173
|
name == o.name &&
|
|
185
174
|
pages == o.pages &&
|
|
@@ -196,7 +185,7 @@ module UltracartClient
|
|
|
196
185
|
# Calculates hash code according to all attributes.
|
|
197
186
|
# @return [Fixnum] Hash code
|
|
198
187
|
def hash
|
|
199
|
-
[active, data_sources, default_dataset_id, default_project_id,
|
|
188
|
+
[active, data_sources, default_dataset_id, default_project_id, merchant_id, name, pages, report_oid, security_level].hash
|
|
200
189
|
end
|
|
201
190
|
|
|
202
191
|
# Builds the object from hash
|
|
@@ -14,11 +14,17 @@ require 'date'
|
|
|
14
14
|
|
|
15
15
|
module UltracartClient
|
|
16
16
|
class ReportFilter
|
|
17
|
+
# A JSON representation of the configuration for this visualization
|
|
18
|
+
attr_accessor :config
|
|
19
|
+
|
|
17
20
|
# How this filter connects to the data sources and columns
|
|
18
21
|
attr_accessor :connections
|
|
19
22
|
|
|
20
23
|
attr_accessor :name
|
|
21
24
|
|
|
25
|
+
# A JSON representation of the style configuration for this visualization
|
|
26
|
+
attr_accessor :styles
|
|
27
|
+
|
|
22
28
|
# The timezone that the date range is querying on.
|
|
23
29
|
attr_accessor :timezone
|
|
24
30
|
|
|
@@ -56,8 +62,10 @@ module UltracartClient
|
|
|
56
62
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
57
63
|
def self.attribute_map
|
|
58
64
|
{
|
|
65
|
+
:'config' => :'config',
|
|
59
66
|
:'connections' => :'connections',
|
|
60
67
|
:'name' => :'name',
|
|
68
|
+
:'styles' => :'styles',
|
|
61
69
|
:'timezone' => :'timezone',
|
|
62
70
|
:'type' => :'type',
|
|
63
71
|
:'uuid' => :'uuid',
|
|
@@ -68,8 +76,10 @@ module UltracartClient
|
|
|
68
76
|
# Attribute type mapping.
|
|
69
77
|
def self.swagger_types
|
|
70
78
|
{
|
|
79
|
+
:'config' => :'String',
|
|
71
80
|
:'connections' => :'Array<ReportFilterConnection>',
|
|
72
81
|
:'name' => :'String',
|
|
82
|
+
:'styles' => :'String',
|
|
73
83
|
:'timezone' => :'String',
|
|
74
84
|
:'type' => :'String',
|
|
75
85
|
:'uuid' => :'String',
|
|
@@ -85,6 +95,10 @@ module UltracartClient
|
|
|
85
95
|
# convert string to symbol for hash key
|
|
86
96
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
87
97
|
|
|
98
|
+
if attributes.has_key?(:'config')
|
|
99
|
+
self.config = attributes[:'config']
|
|
100
|
+
end
|
|
101
|
+
|
|
88
102
|
if attributes.has_key?(:'connections')
|
|
89
103
|
if (value = attributes[:'connections']).is_a?(Array)
|
|
90
104
|
self.connections = value
|
|
@@ -95,6 +109,10 @@ module UltracartClient
|
|
|
95
109
|
self.name = attributes[:'name']
|
|
96
110
|
end
|
|
97
111
|
|
|
112
|
+
if attributes.has_key?(:'styles')
|
|
113
|
+
self.styles = attributes[:'styles']
|
|
114
|
+
end
|
|
115
|
+
|
|
98
116
|
if attributes.has_key?(:'timezone')
|
|
99
117
|
self.timezone = attributes[:'timezone']
|
|
100
118
|
end
|
|
@@ -144,8 +162,10 @@ module UltracartClient
|
|
|
144
162
|
def ==(o)
|
|
145
163
|
return true if self.equal?(o)
|
|
146
164
|
self.class == o.class &&
|
|
165
|
+
config == o.config &&
|
|
147
166
|
connections == o.connections &&
|
|
148
167
|
name == o.name &&
|
|
168
|
+
styles == o.styles &&
|
|
149
169
|
timezone == o.timezone &&
|
|
150
170
|
type == o.type &&
|
|
151
171
|
uuid == o.uuid &&
|
|
@@ -161,7 +181,7 @@ module UltracartClient
|
|
|
161
181
|
# Calculates hash code according to all attributes.
|
|
162
182
|
# @return [Fixnum] Hash code
|
|
163
183
|
def hash
|
|
164
|
-
[connections, name, timezone, type, uuid, values].hash
|
|
184
|
+
[config, connections, name, styles, timezone, type, uuid, values].hash
|
|
165
185
|
end
|
|
166
186
|
|
|
167
187
|
# Builds the object from hash
|
|
@@ -14,6 +14,8 @@ require 'date'
|
|
|
14
14
|
|
|
15
15
|
module UltracartClient
|
|
16
16
|
class ReportPage
|
|
17
|
+
attr_accessor :filters
|
|
18
|
+
|
|
17
19
|
# Height of the report page in inches
|
|
18
20
|
attr_accessor :height
|
|
19
21
|
|
|
@@ -28,6 +30,7 @@ module UltracartClient
|
|
|
28
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
31
|
def self.attribute_map
|
|
30
32
|
{
|
|
33
|
+
:'filters' => :'filters',
|
|
31
34
|
:'height' => :'height',
|
|
32
35
|
:'title' => :'title',
|
|
33
36
|
:'visualizations' => :'visualizations',
|
|
@@ -38,6 +41,7 @@ module UltracartClient
|
|
|
38
41
|
# Attribute type mapping.
|
|
39
42
|
def self.swagger_types
|
|
40
43
|
{
|
|
44
|
+
:'filters' => :'Array<ReportFilter>',
|
|
41
45
|
:'height' => :'Float',
|
|
42
46
|
:'title' => :'String',
|
|
43
47
|
:'visualizations' => :'Array<ReportPageVisualization>',
|
|
@@ -53,6 +57,12 @@ module UltracartClient
|
|
|
53
57
|
# convert string to symbol for hash key
|
|
54
58
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
55
59
|
|
|
60
|
+
if attributes.has_key?(:'filters')
|
|
61
|
+
if (value = attributes[:'filters']).is_a?(Array)
|
|
62
|
+
self.filters = value
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
56
66
|
if attributes.has_key?(:'height')
|
|
57
67
|
self.height = attributes[:'height']
|
|
58
68
|
end
|
|
@@ -90,6 +100,7 @@ module UltracartClient
|
|
|
90
100
|
def ==(o)
|
|
91
101
|
return true if self.equal?(o)
|
|
92
102
|
self.class == o.class &&
|
|
103
|
+
filters == o.filters &&
|
|
93
104
|
height == o.height &&
|
|
94
105
|
title == o.title &&
|
|
95
106
|
visualizations == o.visualizations &&
|
|
@@ -105,7 +116,7 @@ module UltracartClient
|
|
|
105
116
|
# Calculates hash code according to all attributes.
|
|
106
117
|
# @return [Fixnum] Hash code
|
|
107
118
|
def hash
|
|
108
|
-
[height, title, visualizations, width].hash
|
|
119
|
+
[filters, height, title, visualizations, width].hash
|
|
109
120
|
end
|
|
110
121
|
|
|
111
122
|
# 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.131
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-04-
|
|
11
|
+
date: 2023-04-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|