ultracart_api 3.10.132 → 3.10.134
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/ReportDataSet.md +1 -1
- data/docs/ReportDataSetColumn.md +6 -1
- data/docs/ReportDataSetRow.md +1 -1
- data/docs/ReportDataSetSchema.md +1 -0
- data/docs/ReportDataSourceSchema.md +1 -0
- data/docs/ReportFilter.md +0 -2
- data/lib/ultracart_api/models/report_data_set.rb +1 -1
- data/lib/ultracart_api/models/report_data_set_column.rb +52 -7
- data/lib/ultracart_api/models/report_data_set_row.rb +8 -8
- data/lib/ultracart_api/models/report_data_set_schema.rb +11 -1
- data/lib/ultracart_api/models/report_data_source_schema.rb +11 -1
- data/lib/ultracart_api/models/report_filter.rb +1 -21
- 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: e197ea23faea74dc76c28646b8643c6948f14ea8f4f0841a79b8410a53c6dd2f
|
4
|
+
data.tar.gz: 1face129bd7a43c57b8bd2c66c00383e6f008f31a44e459b102d3b575aa063c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7273d174e7482e15d3881f6891e9c73672476248d80af632b86ed9f8e05bed57c54e0ad7923aeb34f985f22ad05c5b9048f7c0ec4a28f6786d617ceb389899d4
|
7
|
+
data.tar.gz: cda51d160c0bd6815b8c3cbc09348cb00abda9ea754892a6874ecee78f0f446c737df047a04e8379841379fd659e1acdf45c9f55457f5885bd497c60e37aa513
|
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.134
|
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.134.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.134.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.134'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1345,6 +1345,8 @@ Not every change is committed to every SDK.
|
|
1345
1345
|
|
1346
1346
|
| Version | Date | Comments |
|
1347
1347
|
| --: | :-: | --- |
|
1348
|
+
| 3.10.134 | 04/24/2023 | internal development - data warehouse |
|
1349
|
+
| 3.10.133 | 04/21/2023 | internal development - data warehouse |
|
1348
1350
|
| 3.10.132 | 04/19/2023 | internal development - data warehouse |
|
1349
1351
|
| 3.10.131 | 04/19/2023 | internal dev - data warehouse |
|
1350
1352
|
| 3.10.130 | 04/17/2023 | OrderPaymentTransaction - expose the transaction id |
|
data/docs/ReportDataSet.md
CHANGED
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
12
12
|
**initial_pages** | [**Array<ReportDataSetPage>**](ReportDataSetPage.md) | Initial pages returned in the dataset | [optional]
|
13
13
|
**max_results** | **Integer** | The total number of results | [optional]
|
14
14
|
**merchant_id** | **String** | Merchant that owns this data set | [optional]
|
15
|
-
**page_count** | **Integer** | The
|
15
|
+
**page_count** | **Integer** | The total number of pages in the result set | [optional]
|
16
16
|
**page_size** | **Integer** | The size of the pages | [optional]
|
17
17
|
**schema** | [**Array<ReportDataSetSchema>**](ReportDataSetSchema.md) | The schema associated with the data set. | [optional]
|
18
18
|
**security_level** | **String** | Security level this dataset was read from. | [optional]
|
data/docs/ReportDataSetColumn.md
CHANGED
@@ -3,6 +3,11 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**
|
6
|
+
**_in** | **BOOLEAN** | | [optional]
|
7
|
+
**n** | **String** | | [optional]
|
8
|
+
**vd** | **String** | | [optional]
|
9
|
+
**vdt** | **String** | | [optional]
|
10
|
+
**vn** | **Float** | | [optional]
|
11
|
+
**vs** | **String** | | [optional]
|
7
12
|
|
8
13
|
|
data/docs/ReportDataSetRow.md
CHANGED
@@ -3,6 +3,6 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**
|
6
|
+
**c** | [**Array<ReportDataSetColumn>**](ReportDataSetColumn.md) | | [optional]
|
7
7
|
|
8
8
|
|
data/docs/ReportDataSetSchema.md
CHANGED
@@ -3,6 +3,7 @@
|
|
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
|
**name** | **String** | | [optional]
|
7
8
|
**type** | **String** | Type of the column. | [optional]
|
8
9
|
|
@@ -3,6 +3,7 @@
|
|
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
|
**dimension** | **BOOLEAN** | Whether or not this column can be used as a dimension within a visualization | [optional]
|
7
8
|
**name** | **String** | | [optional]
|
8
9
|
**type** | **String** | Type of the column. Only supporting the allowed values. Any other types will be ignored. | [optional]
|
data/docs/ReportFilter.md
CHANGED
@@ -3,10 +3,8 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**config** | **String** | A JSON representation of the configuration for this visualization | [optional]
|
7
6
|
**connections** | [**Array<ReportFilterConnection>**](ReportFilterConnection.md) | How this filter connects to the data sources and columns | [optional]
|
8
7
|
**name** | **String** | | [optional]
|
9
|
-
**styles** | **String** | A JSON representation of the style configuration for this visualization | [optional]
|
10
8
|
**timezone** | **String** | The timezone that the date range is querying on. | [optional]
|
11
9
|
**type** | **String** | Type of filter | [optional]
|
12
10
|
**uuid** | **String** | Unique UUID assigned to the filter. Assists when returning values that the filter can use. | [optional]
|
@@ -14,19 +14,39 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class ReportDataSetColumn
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :_in
|
18
|
+
|
19
|
+
attr_accessor :n
|
20
|
+
|
21
|
+
attr_accessor :vd
|
22
|
+
|
23
|
+
attr_accessor :vdt
|
24
|
+
|
25
|
+
attr_accessor :vn
|
26
|
+
|
27
|
+
attr_accessor :vs
|
18
28
|
|
19
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
30
|
def self.attribute_map
|
21
31
|
{
|
22
|
-
:'
|
32
|
+
:'_in' => :'in',
|
33
|
+
:'n' => :'n',
|
34
|
+
:'vd' => :'vd',
|
35
|
+
:'vdt' => :'vdt',
|
36
|
+
:'vn' => :'vn',
|
37
|
+
:'vs' => :'vs'
|
23
38
|
}
|
24
39
|
end
|
25
40
|
|
26
41
|
# Attribute type mapping.
|
27
42
|
def self.swagger_types
|
28
43
|
{
|
29
|
-
:'
|
44
|
+
:'_in' => :'BOOLEAN',
|
45
|
+
:'n' => :'String',
|
46
|
+
:'vd' => :'String',
|
47
|
+
:'vdt' => :'String',
|
48
|
+
:'vn' => :'Float',
|
49
|
+
:'vs' => :'String'
|
30
50
|
}
|
31
51
|
end
|
32
52
|
|
@@ -38,8 +58,28 @@ module UltracartClient
|
|
38
58
|
# convert string to symbol for hash key
|
39
59
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
40
60
|
|
41
|
-
if attributes.has_key?(:'
|
42
|
-
self.
|
61
|
+
if attributes.has_key?(:'in')
|
62
|
+
self._in = attributes[:'in']
|
63
|
+
end
|
64
|
+
|
65
|
+
if attributes.has_key?(:'n')
|
66
|
+
self.n = attributes[:'n']
|
67
|
+
end
|
68
|
+
|
69
|
+
if attributes.has_key?(:'vd')
|
70
|
+
self.vd = attributes[:'vd']
|
71
|
+
end
|
72
|
+
|
73
|
+
if attributes.has_key?(:'vdt')
|
74
|
+
self.vdt = attributes[:'vdt']
|
75
|
+
end
|
76
|
+
|
77
|
+
if attributes.has_key?(:'vn')
|
78
|
+
self.vn = attributes[:'vn']
|
79
|
+
end
|
80
|
+
|
81
|
+
if attributes.has_key?(:'vs')
|
82
|
+
self.vs = attributes[:'vs']
|
43
83
|
end
|
44
84
|
end
|
45
85
|
|
@@ -61,7 +101,12 @@ module UltracartClient
|
|
61
101
|
def ==(o)
|
62
102
|
return true if self.equal?(o)
|
63
103
|
self.class == o.class &&
|
64
|
-
|
104
|
+
_in == o._in &&
|
105
|
+
n == o.n &&
|
106
|
+
vd == o.vd &&
|
107
|
+
vdt == o.vdt &&
|
108
|
+
vn == o.vn &&
|
109
|
+
vs == o.vs
|
65
110
|
end
|
66
111
|
|
67
112
|
# @see the `==` method
|
@@ -73,7 +118,7 @@ module UltracartClient
|
|
73
118
|
# Calculates hash code according to all attributes.
|
74
119
|
# @return [Fixnum] Hash code
|
75
120
|
def hash
|
76
|
-
[
|
121
|
+
[_in, n, vd, vdt, vn, vs].hash
|
77
122
|
end
|
78
123
|
|
79
124
|
# Builds the object from hash
|
@@ -14,19 +14,19 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class ReportDataSetRow
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :c
|
18
18
|
|
19
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
20
|
def self.attribute_map
|
21
21
|
{
|
22
|
-
:'
|
22
|
+
:'c' => :'c'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
29
|
+
:'c' => :'Array<ReportDataSetColumn>'
|
30
30
|
}
|
31
31
|
end
|
32
32
|
|
@@ -38,9 +38,9 @@ module UltracartClient
|
|
38
38
|
# convert string to symbol for hash key
|
39
39
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
40
40
|
|
41
|
-
if attributes.has_key?(:'
|
42
|
-
if (value = attributes[:'
|
43
|
-
self.
|
41
|
+
if attributes.has_key?(:'c')
|
42
|
+
if (value = attributes[:'c']).is_a?(Array)
|
43
|
+
self.c = value
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end
|
@@ -63,7 +63,7 @@ module UltracartClient
|
|
63
63
|
def ==(o)
|
64
64
|
return true if self.equal?(o)
|
65
65
|
self.class == o.class &&
|
66
|
-
|
66
|
+
c == o.c
|
67
67
|
end
|
68
68
|
|
69
69
|
# @see the `==` method
|
@@ -75,7 +75,7 @@ module UltracartClient
|
|
75
75
|
# Calculates hash code according to all attributes.
|
76
76
|
# @return [Fixnum] Hash code
|
77
77
|
def hash
|
78
|
-
[
|
78
|
+
[c].hash
|
79
79
|
end
|
80
80
|
|
81
81
|
# Builds the object from hash
|
@@ -14,6 +14,9 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class ReportDataSetSchema
|
17
|
+
# A JSON representation of the configuration for this visualization
|
18
|
+
attr_accessor :config
|
19
|
+
|
17
20
|
attr_accessor :name
|
18
21
|
|
19
22
|
# Type of the column.
|
@@ -44,6 +47,7 @@ module UltracartClient
|
|
44
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
45
48
|
def self.attribute_map
|
46
49
|
{
|
50
|
+
:'config' => :'config',
|
47
51
|
:'name' => :'name',
|
48
52
|
:'type' => :'type'
|
49
53
|
}
|
@@ -52,6 +56,7 @@ module UltracartClient
|
|
52
56
|
# Attribute type mapping.
|
53
57
|
def self.swagger_types
|
54
58
|
{
|
59
|
+
:'config' => :'String',
|
55
60
|
:'name' => :'String',
|
56
61
|
:'type' => :'String'
|
57
62
|
}
|
@@ -65,6 +70,10 @@ module UltracartClient
|
|
65
70
|
# convert string to symbol for hash key
|
66
71
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
67
72
|
|
73
|
+
if attributes.has_key?(:'config')
|
74
|
+
self.config = attributes[:'config']
|
75
|
+
end
|
76
|
+
|
68
77
|
if attributes.has_key?(:'name')
|
69
78
|
self.name = attributes[:'name']
|
70
79
|
end
|
@@ -104,6 +113,7 @@ module UltracartClient
|
|
104
113
|
def ==(o)
|
105
114
|
return true if self.equal?(o)
|
106
115
|
self.class == o.class &&
|
116
|
+
config == o.config &&
|
107
117
|
name == o.name &&
|
108
118
|
type == o.type
|
109
119
|
end
|
@@ -117,7 +127,7 @@ module UltracartClient
|
|
117
127
|
# Calculates hash code according to all attributes.
|
118
128
|
# @return [Fixnum] Hash code
|
119
129
|
def hash
|
120
|
-
[name, type].hash
|
130
|
+
[config, name, type].hash
|
121
131
|
end
|
122
132
|
|
123
133
|
# Builds the object from hash
|
@@ -14,6 +14,9 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class ReportDataSourceSchema
|
17
|
+
# A JSON representation of the configuration for this visualization
|
18
|
+
attr_accessor :config
|
19
|
+
|
17
20
|
# Whether or not this column can be used as a dimension within a visualization
|
18
21
|
attr_accessor :dimension
|
19
22
|
|
@@ -47,6 +50,7 @@ module UltracartClient
|
|
47
50
|
# Attribute mapping from ruby-style variable name to JSON key.
|
48
51
|
def self.attribute_map
|
49
52
|
{
|
53
|
+
:'config' => :'config',
|
50
54
|
:'dimension' => :'dimension',
|
51
55
|
:'name' => :'name',
|
52
56
|
:'type' => :'type'
|
@@ -56,6 +60,7 @@ module UltracartClient
|
|
56
60
|
# Attribute type mapping.
|
57
61
|
def self.swagger_types
|
58
62
|
{
|
63
|
+
:'config' => :'String',
|
59
64
|
:'dimension' => :'BOOLEAN',
|
60
65
|
:'name' => :'String',
|
61
66
|
:'type' => :'String'
|
@@ -70,6 +75,10 @@ module UltracartClient
|
|
70
75
|
# convert string to symbol for hash key
|
71
76
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
72
77
|
|
78
|
+
if attributes.has_key?(:'config')
|
79
|
+
self.config = attributes[:'config']
|
80
|
+
end
|
81
|
+
|
73
82
|
if attributes.has_key?(:'dimension')
|
74
83
|
self.dimension = attributes[:'dimension']
|
75
84
|
end
|
@@ -113,6 +122,7 @@ module UltracartClient
|
|
113
122
|
def ==(o)
|
114
123
|
return true if self.equal?(o)
|
115
124
|
self.class == o.class &&
|
125
|
+
config == o.config &&
|
116
126
|
dimension == o.dimension &&
|
117
127
|
name == o.name &&
|
118
128
|
type == o.type
|
@@ -127,7 +137,7 @@ module UltracartClient
|
|
127
137
|
# Calculates hash code according to all attributes.
|
128
138
|
# @return [Fixnum] Hash code
|
129
139
|
def hash
|
130
|
-
[dimension, name, type].hash
|
140
|
+
[config, dimension, name, type].hash
|
131
141
|
end
|
132
142
|
|
133
143
|
# Builds the object from hash
|
@@ -14,17 +14,11 @@ 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
|
-
|
20
17
|
# How this filter connects to the data sources and columns
|
21
18
|
attr_accessor :connections
|
22
19
|
|
23
20
|
attr_accessor :name
|
24
21
|
|
25
|
-
# A JSON representation of the style configuration for this visualization
|
26
|
-
attr_accessor :styles
|
27
|
-
|
28
22
|
# The timezone that the date range is querying on.
|
29
23
|
attr_accessor :timezone
|
30
24
|
|
@@ -62,10 +56,8 @@ module UltracartClient
|
|
62
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
63
57
|
def self.attribute_map
|
64
58
|
{
|
65
|
-
:'config' => :'config',
|
66
59
|
:'connections' => :'connections',
|
67
60
|
:'name' => :'name',
|
68
|
-
:'styles' => :'styles',
|
69
61
|
:'timezone' => :'timezone',
|
70
62
|
:'type' => :'type',
|
71
63
|
:'uuid' => :'uuid',
|
@@ -76,10 +68,8 @@ module UltracartClient
|
|
76
68
|
# Attribute type mapping.
|
77
69
|
def self.swagger_types
|
78
70
|
{
|
79
|
-
:'config' => :'String',
|
80
71
|
:'connections' => :'Array<ReportFilterConnection>',
|
81
72
|
:'name' => :'String',
|
82
|
-
:'styles' => :'String',
|
83
73
|
:'timezone' => :'String',
|
84
74
|
:'type' => :'String',
|
85
75
|
:'uuid' => :'String',
|
@@ -95,10 +85,6 @@ module UltracartClient
|
|
95
85
|
# convert string to symbol for hash key
|
96
86
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
97
87
|
|
98
|
-
if attributes.has_key?(:'config')
|
99
|
-
self.config = attributes[:'config']
|
100
|
-
end
|
101
|
-
|
102
88
|
if attributes.has_key?(:'connections')
|
103
89
|
if (value = attributes[:'connections']).is_a?(Array)
|
104
90
|
self.connections = value
|
@@ -109,10 +95,6 @@ module UltracartClient
|
|
109
95
|
self.name = attributes[:'name']
|
110
96
|
end
|
111
97
|
|
112
|
-
if attributes.has_key?(:'styles')
|
113
|
-
self.styles = attributes[:'styles']
|
114
|
-
end
|
115
|
-
|
116
98
|
if attributes.has_key?(:'timezone')
|
117
99
|
self.timezone = attributes[:'timezone']
|
118
100
|
end
|
@@ -162,10 +144,8 @@ module UltracartClient
|
|
162
144
|
def ==(o)
|
163
145
|
return true if self.equal?(o)
|
164
146
|
self.class == o.class &&
|
165
|
-
config == o.config &&
|
166
147
|
connections == o.connections &&
|
167
148
|
name == o.name &&
|
168
|
-
styles == o.styles &&
|
169
149
|
timezone == o.timezone &&
|
170
150
|
type == o.type &&
|
171
151
|
uuid == o.uuid &&
|
@@ -181,7 +161,7 @@ module UltracartClient
|
|
181
161
|
# Calculates hash code according to all attributes.
|
182
162
|
# @return [Fixnum] Hash code
|
183
163
|
def hash
|
184
|
-
[
|
164
|
+
[connections, name, timezone, type, uuid, values].hash
|
185
165
|
end
|
186
166
|
|
187
167
|
# 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.134
|
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-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|