ultracart_api 4.0.146 → 4.0.148
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 +6 -4
- data/docs/OrderPaymentTransaction.md +2 -0
- data/docs/Report.md +0 -2
- data/docs/ReportFilter.md +4 -0
- data/docs/ReportPage.md +2 -0
- data/lib/ultracart_api/models/order_payment_transaction.rb +11 -1
- 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: c8539747b236c55f3f90ad2ee87644f3d0018180033fc1a7b549aee7da175c07
|
4
|
+
data.tar.gz: 0476175b2a24e06997ed0630da3024b753f895197c545b4a15ba81d1d543f6fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc96a83ce571f471ec72e1b2f6a9a8b201b16997186b2c8c4010b74301b810eaca95ec298db2712b365bcfb5599aafb8ba2a78af1f1bd3053983f730572c8891
|
7
|
+
data.tar.gz: e5a5051d6ccd8d577b99f0d073bc80b2ae9b8cb7c1dc6ae4fe70290881ef26c20f4f5739dc9d05d659ac6fa663cb3992018414a2af314606bbde4e0649c73617
|
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.148
|
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.148.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.148.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.148'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1352,6 +1352,8 @@ Not every change is committed to every SDK.
|
|
1352
1352
|
|
1353
1353
|
| Version | Date | Comments |
|
1354
1354
|
| --: | :-: | --- |
|
1355
|
+
| 4.0.148 | 04/19/2023 | internal dev - data warehouse |
|
1356
|
+
| 4.0.147 | 04/17/2023 | OrderPaymentTransaction - expose the transaction id |
|
1355
1357
|
| 4.0.146 | 04/11/2023 | missing sezzle payment constant |
|
1356
1358
|
| 4.0.145 | 04/10/2023 | data warehouse internal dev |
|
1357
1359
|
| 4.0.144 | 03/29/2023 | internal development |
|
@@ -7,6 +7,7 @@
|
|
7
7
|
| **details** | [**Array<OrderPaymentTransactionDetail>**](OrderPaymentTransactionDetail.md) | Details | [optional] |
|
8
8
|
| **successful** | **Boolean** | True if the transaction was successful | [optional] |
|
9
9
|
| **transaction_gateway** | **String** | Transaction gateway | [optional] |
|
10
|
+
| **transaction_id** | **Integer** | Transaction ID | [optional] |
|
10
11
|
| **transaction_timestamp** | **String** | Transaction date/time | [optional] |
|
11
12
|
|
12
13
|
## Example
|
@@ -18,6 +19,7 @@ instance = UltracartClient::OrderPaymentTransaction.new(
|
|
18
19
|
details: null,
|
19
20
|
successful: null,
|
20
21
|
transaction_gateway: null,
|
22
|
+
transaction_id: null,
|
21
23
|
transaction_timestamp: null
|
22
24
|
)
|
23
25
|
```
|
data/docs/Report.md
CHANGED
@@ -8,7 +8,6 @@
|
|
8
8
|
| **data_sources** | [**Array<ReportDataSource>**](ReportDataSource.md) | | [optional] |
|
9
9
|
| **default_dataset_id** | **String** | | [optional] |
|
10
10
|
| **default_project_id** | **String** | | [optional] |
|
11
|
-
| **filters** | [**Array<ReportFilter>**](ReportFilter.md) | | [optional] |
|
12
11
|
| **merchant_id** | **String** | | [optional] |
|
13
12
|
| **name** | **String** | | [optional] |
|
14
13
|
| **pages** | [**Array<ReportPage>**](ReportPage.md) | | [optional] |
|
@@ -25,7 +24,6 @@ instance = UltracartClient::Report.new(
|
|
25
24
|
data_sources: null,
|
26
25
|
default_dataset_id: null,
|
27
26
|
default_project_id: null,
|
28
|
-
filters: null,
|
29
27
|
merchant_id: null,
|
30
28
|
name: null,
|
31
29
|
pages: null,
|
data/docs/ReportFilter.md
CHANGED
@@ -4,8 +4,10 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **config** | **String** | A JSON representation of the configuration for this visualization | [optional] |
|
7
8
|
| **connections** | [**Array<ReportFilterConnection>**](ReportFilterConnection.md) | How this filter connects to the data sources and columns | [optional] |
|
8
9
|
| **name** | **String** | | [optional] |
|
10
|
+
| **styles** | **String** | A JSON representation of the style configuration for this visualization | [optional] |
|
9
11
|
| **timezone** | **String** | The timezone that the date range is querying on. | [optional] |
|
10
12
|
| **type** | **String** | Type of filter | [optional] |
|
11
13
|
| **uuid** | **String** | Unique UUID assigned to the filter. Assists when returning values that the filter can use. | [optional] |
|
@@ -17,8 +19,10 @@
|
|
17
19
|
require 'ultracart_api'
|
18
20
|
|
19
21
|
instance = UltracartClient::ReportFilter.new(
|
22
|
+
config: null,
|
20
23
|
connections: null,
|
21
24
|
name: null,
|
25
|
+
styles: null,
|
22
26
|
timezone: null,
|
23
27
|
type: null,
|
24
28
|
uuid: null,
|
data/docs/ReportPage.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **filters** | [**Array<ReportFilter>**](ReportFilter.md) | | [optional] |
|
7
8
|
| **height** | **Float** | Height of the report page in inches | [optional] |
|
8
9
|
| **title** | **String** | | [optional] |
|
9
10
|
| **visualizations** | [**Array<ReportPageVisualization>**](ReportPageVisualization.md) | Visualizations on the report page. | [optional] |
|
@@ -15,6 +16,7 @@
|
|
15
16
|
require 'ultracart_api'
|
16
17
|
|
17
18
|
instance = UltracartClient::ReportPage.new(
|
19
|
+
filters: null,
|
18
20
|
height: null,
|
19
21
|
title: null,
|
20
22
|
visualizations: null,
|
@@ -24,6 +24,9 @@ module UltracartClient
|
|
24
24
|
# Transaction gateway
|
25
25
|
attr_accessor :transaction_gateway
|
26
26
|
|
27
|
+
# Transaction ID
|
28
|
+
attr_accessor :transaction_id
|
29
|
+
|
27
30
|
# Transaction date/time
|
28
31
|
attr_accessor :transaction_timestamp
|
29
32
|
|
@@ -33,6 +36,7 @@ module UltracartClient
|
|
33
36
|
:'details' => :'details',
|
34
37
|
:'successful' => :'successful',
|
35
38
|
:'transaction_gateway' => :'transaction_gateway',
|
39
|
+
:'transaction_id' => :'transaction_id',
|
36
40
|
:'transaction_timestamp' => :'transaction_timestamp'
|
37
41
|
}
|
38
42
|
end
|
@@ -48,6 +52,7 @@ module UltracartClient
|
|
48
52
|
:'details' => :'Array<OrderPaymentTransactionDetail>',
|
49
53
|
:'successful' => :'Boolean',
|
50
54
|
:'transaction_gateway' => :'String',
|
55
|
+
:'transaction_id' => :'Integer',
|
51
56
|
:'transaction_timestamp' => :'String'
|
52
57
|
}
|
53
58
|
end
|
@@ -87,6 +92,10 @@ module UltracartClient
|
|
87
92
|
self.transaction_gateway = attributes[:'transaction_gateway']
|
88
93
|
end
|
89
94
|
|
95
|
+
if attributes.key?(:'transaction_id')
|
96
|
+
self.transaction_id = attributes[:'transaction_id']
|
97
|
+
end
|
98
|
+
|
90
99
|
if attributes.key?(:'transaction_timestamp')
|
91
100
|
self.transaction_timestamp = attributes[:'transaction_timestamp']
|
92
101
|
end
|
@@ -113,6 +122,7 @@ module UltracartClient
|
|
113
122
|
details == o.details &&
|
114
123
|
successful == o.successful &&
|
115
124
|
transaction_gateway == o.transaction_gateway &&
|
125
|
+
transaction_id == o.transaction_id &&
|
116
126
|
transaction_timestamp == o.transaction_timestamp
|
117
127
|
end
|
118
128
|
|
@@ -125,7 +135,7 @@ module UltracartClient
|
|
125
135
|
# Calculates hash code according to all attributes.
|
126
136
|
# @return [Integer] Hash code
|
127
137
|
def hash
|
128
|
-
[details, successful, transaction_gateway, transaction_timestamp].hash
|
138
|
+
[details, successful, transaction_gateway, transaction_id, transaction_timestamp].hash
|
129
139
|
end
|
130
140
|
|
131
141
|
# Builds the object from hash
|
@@ -23,8 +23,6 @@ module UltracartClient
|
|
23
23
|
|
24
24
|
attr_accessor :default_project_id
|
25
25
|
|
26
|
-
attr_accessor :filters
|
27
|
-
|
28
26
|
attr_accessor :merchant_id
|
29
27
|
|
30
28
|
attr_accessor :name
|
@@ -66,7 +64,6 @@ module UltracartClient
|
|
66
64
|
:'data_sources' => :'data_sources',
|
67
65
|
:'default_dataset_id' => :'default_dataset_id',
|
68
66
|
:'default_project_id' => :'default_project_id',
|
69
|
-
:'filters' => :'filters',
|
70
67
|
:'merchant_id' => :'merchant_id',
|
71
68
|
:'name' => :'name',
|
72
69
|
:'pages' => :'pages',
|
@@ -87,7 +84,6 @@ module UltracartClient
|
|
87
84
|
:'data_sources' => :'Array<ReportDataSource>',
|
88
85
|
:'default_dataset_id' => :'String',
|
89
86
|
:'default_project_id' => :'String',
|
90
|
-
:'filters' => :'Array<ReportFilter>',
|
91
87
|
:'merchant_id' => :'String',
|
92
88
|
:'name' => :'String',
|
93
89
|
:'pages' => :'Array<ReportPage>',
|
@@ -135,12 +131,6 @@ module UltracartClient
|
|
135
131
|
self.default_project_id = attributes[:'default_project_id']
|
136
132
|
end
|
137
133
|
|
138
|
-
if attributes.key?(:'filters')
|
139
|
-
if (value = attributes[:'filters']).is_a?(Array)
|
140
|
-
self.filters = value
|
141
|
-
end
|
142
|
-
end
|
143
|
-
|
144
134
|
if attributes.key?(:'merchant_id')
|
145
135
|
self.merchant_id = attributes[:'merchant_id']
|
146
136
|
end
|
@@ -198,7 +188,6 @@ module UltracartClient
|
|
198
188
|
data_sources == o.data_sources &&
|
199
189
|
default_dataset_id == o.default_dataset_id &&
|
200
190
|
default_project_id == o.default_project_id &&
|
201
|
-
filters == o.filters &&
|
202
191
|
merchant_id == o.merchant_id &&
|
203
192
|
name == o.name &&
|
204
193
|
pages == o.pages &&
|
@@ -215,7 +204,7 @@ module UltracartClient
|
|
215
204
|
# Calculates hash code according to all attributes.
|
216
205
|
# @return [Integer] Hash code
|
217
206
|
def hash
|
218
|
-
[active, data_sources, default_dataset_id, default_project_id,
|
207
|
+
[active, data_sources, default_dataset_id, default_project_id, merchant_id, name, pages, report_oid, security_level].hash
|
219
208
|
end
|
220
209
|
|
221
210
|
# Builds the object from hash
|
@@ -15,11 +15,17 @@ require 'time'
|
|
15
15
|
|
16
16
|
module UltracartClient
|
17
17
|
class ReportFilter
|
18
|
+
# A JSON representation of the configuration for this visualization
|
19
|
+
attr_accessor :config
|
20
|
+
|
18
21
|
# How this filter connects to the data sources and columns
|
19
22
|
attr_accessor :connections
|
20
23
|
|
21
24
|
attr_accessor :name
|
22
25
|
|
26
|
+
# A JSON representation of the style configuration for this visualization
|
27
|
+
attr_accessor :styles
|
28
|
+
|
23
29
|
# The timezone that the date range is querying on.
|
24
30
|
attr_accessor :timezone
|
25
31
|
|
@@ -57,8 +63,10 @@ module UltracartClient
|
|
57
63
|
# Attribute mapping from ruby-style variable name to JSON key.
|
58
64
|
def self.attribute_map
|
59
65
|
{
|
66
|
+
:'config' => :'config',
|
60
67
|
:'connections' => :'connections',
|
61
68
|
:'name' => :'name',
|
69
|
+
:'styles' => :'styles',
|
62
70
|
:'timezone' => :'timezone',
|
63
71
|
:'type' => :'type',
|
64
72
|
:'uuid' => :'uuid',
|
@@ -74,8 +82,10 @@ module UltracartClient
|
|
74
82
|
# Attribute type mapping.
|
75
83
|
def self.openapi_types
|
76
84
|
{
|
85
|
+
:'config' => :'String',
|
77
86
|
:'connections' => :'Array<ReportFilterConnection>',
|
78
87
|
:'name' => :'String',
|
88
|
+
:'styles' => :'String',
|
79
89
|
:'timezone' => :'String',
|
80
90
|
:'type' => :'String',
|
81
91
|
:'uuid' => :'String',
|
@@ -104,6 +114,10 @@ module UltracartClient
|
|
104
114
|
h[k.to_sym] = v
|
105
115
|
}
|
106
116
|
|
117
|
+
if attributes.key?(:'config')
|
118
|
+
self.config = attributes[:'config']
|
119
|
+
end
|
120
|
+
|
107
121
|
if attributes.key?(:'connections')
|
108
122
|
if (value = attributes[:'connections']).is_a?(Array)
|
109
123
|
self.connections = value
|
@@ -114,6 +128,10 @@ module UltracartClient
|
|
114
128
|
self.name = attributes[:'name']
|
115
129
|
end
|
116
130
|
|
131
|
+
if attributes.key?(:'styles')
|
132
|
+
self.styles = attributes[:'styles']
|
133
|
+
end
|
134
|
+
|
117
135
|
if attributes.key?(:'timezone')
|
118
136
|
self.timezone = attributes[:'timezone']
|
119
137
|
end
|
@@ -163,8 +181,10 @@ module UltracartClient
|
|
163
181
|
def ==(o)
|
164
182
|
return true if self.equal?(o)
|
165
183
|
self.class == o.class &&
|
184
|
+
config == o.config &&
|
166
185
|
connections == o.connections &&
|
167
186
|
name == o.name &&
|
187
|
+
styles == o.styles &&
|
168
188
|
timezone == o.timezone &&
|
169
189
|
type == o.type &&
|
170
190
|
uuid == o.uuid &&
|
@@ -180,7 +200,7 @@ module UltracartClient
|
|
180
200
|
# Calculates hash code according to all attributes.
|
181
201
|
# @return [Integer] Hash code
|
182
202
|
def hash
|
183
|
-
[connections, name, timezone, type, uuid, values].hash
|
203
|
+
[config, connections, name, styles, timezone, type, uuid, values].hash
|
184
204
|
end
|
185
205
|
|
186
206
|
# Builds the object from hash
|
@@ -15,6 +15,8 @@ require 'time'
|
|
15
15
|
|
16
16
|
module UltracartClient
|
17
17
|
class ReportPage
|
18
|
+
attr_accessor :filters
|
19
|
+
|
18
20
|
# Height of the report page in inches
|
19
21
|
attr_accessor :height
|
20
22
|
|
@@ -29,6 +31,7 @@ module UltracartClient
|
|
29
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
32
|
def self.attribute_map
|
31
33
|
{
|
34
|
+
:'filters' => :'filters',
|
32
35
|
:'height' => :'height',
|
33
36
|
:'title' => :'title',
|
34
37
|
:'visualizations' => :'visualizations',
|
@@ -44,6 +47,7 @@ module UltracartClient
|
|
44
47
|
# Attribute type mapping.
|
45
48
|
def self.openapi_types
|
46
49
|
{
|
50
|
+
:'filters' => :'Array<ReportFilter>',
|
47
51
|
:'height' => :'Float',
|
48
52
|
:'title' => :'String',
|
49
53
|
:'visualizations' => :'Array<ReportPageVisualization>',
|
@@ -72,6 +76,12 @@ module UltracartClient
|
|
72
76
|
h[k.to_sym] = v
|
73
77
|
}
|
74
78
|
|
79
|
+
if attributes.key?(:'filters')
|
80
|
+
if (value = attributes[:'filters']).is_a?(Array)
|
81
|
+
self.filters = value
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
75
85
|
if attributes.key?(:'height')
|
76
86
|
self.height = attributes[:'height']
|
77
87
|
end
|
@@ -109,6 +119,7 @@ module UltracartClient
|
|
109
119
|
def ==(o)
|
110
120
|
return true if self.equal?(o)
|
111
121
|
self.class == o.class &&
|
122
|
+
filters == o.filters &&
|
112
123
|
height == o.height &&
|
113
124
|
title == o.title &&
|
114
125
|
visualizations == o.visualizations &&
|
@@ -124,7 +135,7 @@ module UltracartClient
|
|
124
135
|
# Calculates hash code according to all attributes.
|
125
136
|
# @return [Integer] Hash code
|
126
137
|
def hash
|
127
|
-
[height, title, visualizations, width].hash
|
138
|
+
[filters, height, title, visualizations, width].hash
|
128
139
|
end
|
129
140
|
|
130
141
|
# 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.148
|
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
|