ultracart_api 3.10.129 → 3.10.131

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: 11748fe066739ed15ac81ac8620186ed574e37f25f31a91caac224724fde20a7
4
- data.tar.gz: 14437626a6cdadaf58dc2a71a613ebe531c54d712ad5f0799faf00fd13f5bb70
3
+ metadata.gz: 32c150fcfc971194e86d7e040997c40c08c2c13af68d652986556a76c9619ea3
4
+ data.tar.gz: 8b9a71dc09831290d85dab5b67f6db535e2b598fab2a94c702d2df76f2958579
5
5
  SHA512:
6
- metadata.gz: da146f1060b067d09037bcd7529c878b3a5b8287acf023ec74da010ba5a07306c709dd0534412a7f463aa82a6ec446c416b5f12af0b11e1b3ad8014d7bdbe18f
7
- data.tar.gz: 754d9e78d475fe1a49f7c1b294666a5005645a0e2338beda3b6b41a886b9e062394b0938a9ed4f7b4d2bcb89cc663d87c21e5d4ec79b72dccd3ff7535478accf
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.129
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.129.gem
27
+ gem install ./ultracart_api-3.10.131.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.129.gem` to install the development dependencies)
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.129'
35
+ gem 'ultracart_api', '~> 3.10.131'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1344,6 +1344,8 @@ 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 |
1348
+ | 3.10.130 | 04/17/2023 | OrderPaymentTransaction - expose the transaction id |
1347
1349
  | 3.10.129 | 04/11/2023 | missing sezzle payment constant |
1348
1350
  | 3.10.128 | 04/10/2023 | data warehouse internal dev |
1349
1351
  | 3.10.127 | 03/29/2023 | internal development |
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  **details** | [**Array<OrderPaymentTransactionDetail>**](OrderPaymentTransactionDetail.md) | Details | [optional]
7
7
  **successful** | **BOOLEAN** | True if the transaction was successful | [optional]
8
8
  **transaction_gateway** | **String** | Transaction gateway | [optional]
9
+ **transaction_id** | **Integer** | Transaction ID | [optional]
9
10
  **transaction_timestamp** | **String** | Transaction date/time | [optional]
10
11
 
11
12
 
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]
@@ -23,6 +23,9 @@ module UltracartClient
23
23
  # Transaction gateway
24
24
  attr_accessor :transaction_gateway
25
25
 
26
+ # Transaction ID
27
+ attr_accessor :transaction_id
28
+
26
29
  # Transaction date/time
27
30
  attr_accessor :transaction_timestamp
28
31
 
@@ -32,6 +35,7 @@ module UltracartClient
32
35
  :'details' => :'details',
33
36
  :'successful' => :'successful',
34
37
  :'transaction_gateway' => :'transaction_gateway',
38
+ :'transaction_id' => :'transaction_id',
35
39
  :'transaction_timestamp' => :'transaction_timestamp'
36
40
  }
37
41
  end
@@ -42,6 +46,7 @@ module UltracartClient
42
46
  :'details' => :'Array<OrderPaymentTransactionDetail>',
43
47
  :'successful' => :'BOOLEAN',
44
48
  :'transaction_gateway' => :'String',
49
+ :'transaction_id' => :'Integer',
45
50
  :'transaction_timestamp' => :'String'
46
51
  }
47
52
  end
@@ -68,6 +73,10 @@ module UltracartClient
68
73
  self.transaction_gateway = attributes[:'transaction_gateway']
69
74
  end
70
75
 
76
+ if attributes.has_key?(:'transaction_id')
77
+ self.transaction_id = attributes[:'transaction_id']
78
+ end
79
+
71
80
  if attributes.has_key?(:'transaction_timestamp')
72
81
  self.transaction_timestamp = attributes[:'transaction_timestamp']
73
82
  end
@@ -94,6 +103,7 @@ module UltracartClient
94
103
  details == o.details &&
95
104
  successful == o.successful &&
96
105
  transaction_gateway == o.transaction_gateway &&
106
+ transaction_id == o.transaction_id &&
97
107
  transaction_timestamp == o.transaction_timestamp
98
108
  end
99
109
 
@@ -106,7 +116,7 @@ module UltracartClient
106
116
  # Calculates hash code according to all attributes.
107
117
  # @return [Fixnum] Hash code
108
118
  def hash
109
- [details, successful, transaction_gateway, transaction_timestamp].hash
119
+ [details, successful, transaction_gateway, transaction_id, transaction_timestamp].hash
110
120
  end
111
121
 
112
122
  # Builds the object from hash
@@ -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, filters, merchant_id, name, pages, report_oid, security_level].hash
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
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.129'
14
+ VERSION = '3.10.131'
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: 3.10.129
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 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