ultracart_api 4.0.147 → 4.0.148

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d1b6f4418ab6f3a3f6a5487e3b8af88708af05ff0f539d8c73d415a3d94d202
4
- data.tar.gz: 1cbaaf2055b95cfb5efc58d7cb411eb3bea1c4244e31d7ae90533cc9499c1bab
3
+ metadata.gz: c8539747b236c55f3f90ad2ee87644f3d0018180033fc1a7b549aee7da175c07
4
+ data.tar.gz: 0476175b2a24e06997ed0630da3024b753f895197c545b4a15ba81d1d543f6fa
5
5
  SHA512:
6
- metadata.gz: '03127408f5fde40e1d3ca7a01b44a3f797ee4fe91fa4748a85cc3750a28d651b2374d775bb5bb99d2c9eb2920c7e91631403fa617c94fa34c52b1bf6e81a1380'
7
- data.tar.gz: e6b020d7b16ad3a22f4a406901baefca593382ec580c75d77426db11686f2c73c480183d12ba85b4d336810c622ad502c41a3fe0c5c255cffe41d5fe54f50cb0
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.147
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.147.gem
27
+ gem install ./ultracart_api-4.0.148.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.147.gem` to install the development dependencies)
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.147'
36
+ gem 'ultracart_api', '~> 4.0.148'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1352,6 +1352,7 @@ 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 |
1355
1356
  | 4.0.147 | 04/17/2023 | OrderPaymentTransaction - expose the transaction id |
1356
1357
  | 4.0.146 | 04/11/2023 | missing sezzle payment constant |
1357
1358
  | 4.0.145 | 04/10/2023 | data warehouse internal dev |
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,
@@ -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, filters, merchant_id, name, pages, report_oid, security_level].hash
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
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.0.147'
14
+ VERSION = '4.0.148'
15
15
  end
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.147
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-17 00:00:00.000000000 Z
11
+ date: 2023-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus