ultracart_api 4.0.168 → 4.0.169

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: a2bf956ed9fa645fc6d6c6af51e8300febfae961949cf86a60a7dc996dc3d2ee
4
- data.tar.gz: a0ba69edf73baa14455bbe380e22c45406c1b36e21b86e0f73f739ded57ce15c
3
+ metadata.gz: 41df96fb972e8f73e2f7ef46f74a761ce41ed0e01275f834ae726ba94c583d9c
4
+ data.tar.gz: b9e653a4f7ff4fb8673ffcf4fbe6b8b13effb00dd01e81dd4a3380c93e92182b
5
5
  SHA512:
6
- metadata.gz: b6db4ece352b00ba83bdaa2eaeab33f8e98f29457bc516f6029fc8ca8f39fcd1a041a13db71cd06ed6136d83db73bf798074ed35ac80bd3f2e533f3c5978bc05
7
- data.tar.gz: 5a58c365f1419caac0cb381b5db3b13d7e5c01b17acd06343e9ffad5dcb65315f4c6a8dd7cc82b6dabf4d0cde994bfec70254c39748b59fbe25662dd8b55d25a
6
+ metadata.gz: 3f2a2b7511a9e29ec22cc87f69a07a949760d6e359dd24c47565654f170931031944b42472b209c1e6f19a6bf49f7b08725e4774ac54b56dfe89d387fdb482e0
7
+ data.tar.gz: 0fbf5b489ac0b8252e820fca40719e0f473bc5c3093facb3660d28b57027e169070201f54223b793c6d431bf0ea301fe7a67cc74fcdcc17927ed4f58bdaeb3ab
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.168
10
+ - Package version: 4.0.169
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.168.gem
27
+ gem install ./ultracart_api-4.0.169.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.168.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.169.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.168'
36
+ gem 'ultracart_api', '~> 4.0.169'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1365,6 +1365,7 @@ Not every change is committed to every SDK.
1365
1365
 
1366
1366
  | Version | Date | Comments |
1367
1367
  | --: | :-: | --- |
1368
+ | 4.0.169 | 07/27/2023 | dw bi - add settings to the report and page objects |
1368
1369
  | 4.0.168 | 07/19/2023 | dw bi - add data_source_uuid to filter connection obj |
1369
1370
  | 4.0.167 | 07/19/2023 | dw bi - add data_source_uuid to page visualization obj |
1370
1371
  | 4.0.166 | 07/19/2023 | dw bi - add data_source_uuid to report data source |
data/docs/Report.md CHANGED
@@ -14,6 +14,7 @@
14
14
  | **pages** | [**Array<ReportPage>**](ReportPage.md) | | [optional] |
15
15
  | **report_oid** | **Integer** | Object identifier for this report. | [optional] |
16
16
  | **security_level** | **String** | Security level to execute report under | [optional] |
17
+ | **settings** | **String** | A JSON representation of the settings for this report | [optional] |
17
18
 
18
19
  ## Example
19
20
 
@@ -30,7 +31,8 @@ instance = UltracartClient::Report.new(
30
31
  name: null,
31
32
  pages: null,
32
33
  report_oid: null,
33
- security_level: null
34
+ security_level: null,
35
+ settings: null
34
36
  )
35
37
  ```
36
38
 
data/docs/ReportPage.md CHANGED
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **filters** | [**Array<ReportPageFilter>**](ReportPageFilter.md) | | [optional] |
8
8
  | **height** | **Float** | Height of the report page in inches | [optional] |
9
+ | **settings** | **String** | A JSON representation of the settings for this report | [optional] |
9
10
  | **title** | **String** | | [optional] |
10
11
  | **visualizations** | [**Array<ReportPageVisualization>**](ReportPageVisualization.md) | Visualizations on the report page. | [optional] |
11
12
  | **width** | **Float** | Width of the report page in inches | [optional] |
@@ -18,6 +19,7 @@ require 'ultracart_api'
18
19
  instance = UltracartClient::ReportPage.new(
19
20
  filters: null,
20
21
  height: null,
22
+ settings: null,
21
23
  title: null,
22
24
  visualizations: null,
23
25
  width: null
@@ -244,7 +244,7 @@ module UltracartClient
244
244
  # Check to see if the all the properties in the model are valid
245
245
  # @return true if the model is valid
246
246
  def valid?
247
- payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle", "Venmo"])
247
+ payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle", "Venmo", "Apple Pay", "Google Pay"])
248
248
  return false unless payment_method_validator.valid?(@payment_method)
249
249
  payment_status_validator = EnumAttributeValidator.new('String', ["Unprocessed", "Authorized", "Capture Failed", "Processed", "Declined", "Voided", "Refunded", "Skipped"])
250
250
  return false unless payment_status_validator.valid?(@payment_status)
@@ -254,7 +254,7 @@ module UltracartClient
254
254
  # Custom attribute writer method checking allowed values (enum).
255
255
  # @param [Object] payment_method Object to be assigned
256
256
  def payment_method=(payment_method)
257
- validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle", "Venmo"])
257
+ validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle", "Venmo", "Apple Pay", "Google Pay"])
258
258
  unless validator.valid?(payment_method)
259
259
  fail ArgumentError, "invalid value for \"payment_method\", must be one of #{validator.allowable_values}."
260
260
  end
@@ -494,7 +494,7 @@ module UltracartClient
494
494
  return false if !@email.nil? && @email.to_s.length > 100
495
495
  return false if !@first_name.nil? && @first_name.to_s.length > 30
496
496
  return false if !@last_name.nil? && @last_name.to_s.length > 30
497
- payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eCheck", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer"])
497
+ payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eCheck", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Venmo", "Apple Pay", " Google Pay"])
498
498
  return false unless payment_method_validator.valid?(@payment_method)
499
499
  return false if !@phone.nil? && @phone.to_s.length > 25
500
500
  return false if !@postal_code.nil? && @postal_code.to_s.length > 20
@@ -587,7 +587,7 @@ module UltracartClient
587
587
  # Custom attribute writer method checking allowed values (enum).
588
588
  # @param [Object] payment_method Object to be assigned
589
589
  def payment_method=(payment_method)
590
- validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eCheck", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer"])
590
+ validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eCheck", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Venmo", "Apple Pay", " Google Pay"])
591
591
  unless validator.valid?(payment_method)
592
592
  fail ArgumentError, "invalid value for \"payment_method\", must be one of #{validator.allowable_values}."
593
593
  end
@@ -37,6 +37,9 @@ module UltracartClient
37
37
  # Security level to execute report under
38
38
  attr_accessor :security_level
39
39
 
40
+ # A JSON representation of the settings for this report
41
+ attr_accessor :settings
42
+
40
43
  class EnumAttributeValidator
41
44
  attr_reader :datatype
42
45
  attr_reader :allowable_values
@@ -71,7 +74,8 @@ module UltracartClient
71
74
  :'name' => :'name',
72
75
  :'pages' => :'pages',
73
76
  :'report_oid' => :'report_oid',
74
- :'security_level' => :'security_level'
77
+ :'security_level' => :'security_level',
78
+ :'settings' => :'settings'
75
79
  }
76
80
  end
77
81
 
@@ -92,7 +96,8 @@ module UltracartClient
92
96
  :'name' => :'String',
93
97
  :'pages' => :'Array<ReportPage>',
94
98
  :'report_oid' => :'Integer',
95
- :'security_level' => :'String'
99
+ :'security_level' => :'String',
100
+ :'settings' => :'String'
96
101
  }
97
102
  end
98
103
 
@@ -162,6 +167,10 @@ module UltracartClient
162
167
  if attributes.key?(:'security_level')
163
168
  self.security_level = attributes[:'security_level']
164
169
  end
170
+
171
+ if attributes.key?(:'settings')
172
+ self.settings = attributes[:'settings']
173
+ end
165
174
  end
166
175
 
167
176
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -203,7 +212,8 @@ module UltracartClient
203
212
  name == o.name &&
204
213
  pages == o.pages &&
205
214
  report_oid == o.report_oid &&
206
- security_level == o.security_level
215
+ security_level == o.security_level &&
216
+ settings == o.settings
207
217
  end
208
218
 
209
219
  # @see the `==` method
@@ -215,7 +225,7 @@ module UltracartClient
215
225
  # Calculates hash code according to all attributes.
216
226
  # @return [Integer] Hash code
217
227
  def hash
218
- [active, data_sources, default_dataset_id, default_project_id, filters, merchant_id, name, pages, report_oid, security_level].hash
228
+ [active, data_sources, default_dataset_id, default_project_id, filters, merchant_id, name, pages, report_oid, security_level, settings].hash
219
229
  end
220
230
 
221
231
  # Builds the object from hash
@@ -20,6 +20,9 @@ module UltracartClient
20
20
  # Height of the report page in inches
21
21
  attr_accessor :height
22
22
 
23
+ # A JSON representation of the settings for this report
24
+ attr_accessor :settings
25
+
23
26
  attr_accessor :title
24
27
 
25
28
  # Visualizations on the report page.
@@ -33,6 +36,7 @@ module UltracartClient
33
36
  {
34
37
  :'filters' => :'filters',
35
38
  :'height' => :'height',
39
+ :'settings' => :'settings',
36
40
  :'title' => :'title',
37
41
  :'visualizations' => :'visualizations',
38
42
  :'width' => :'width'
@@ -49,6 +53,7 @@ module UltracartClient
49
53
  {
50
54
  :'filters' => :'Array<ReportPageFilter>',
51
55
  :'height' => :'Float',
56
+ :'settings' => :'String',
52
57
  :'title' => :'String',
53
58
  :'visualizations' => :'Array<ReportPageVisualization>',
54
59
  :'width' => :'Float'
@@ -86,6 +91,10 @@ module UltracartClient
86
91
  self.height = attributes[:'height']
87
92
  end
88
93
 
94
+ if attributes.key?(:'settings')
95
+ self.settings = attributes[:'settings']
96
+ end
97
+
89
98
  if attributes.key?(:'title')
90
99
  self.title = attributes[:'title']
91
100
  end
@@ -121,6 +130,7 @@ module UltracartClient
121
130
  self.class == o.class &&
122
131
  filters == o.filters &&
123
132
  height == o.height &&
133
+ settings == o.settings &&
124
134
  title == o.title &&
125
135
  visualizations == o.visualizations &&
126
136
  width == o.width
@@ -135,7 +145,7 @@ module UltracartClient
135
145
  # Calculates hash code according to all attributes.
136
146
  # @return [Integer] Hash code
137
147
  def hash
138
- [filters, height, title, visualizations, width].hash
148
+ [filters, height, settings, title, visualizations, width].hash
139
149
  end
140
150
 
141
151
  # 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.168'
14
+ VERSION = '4.0.169'
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.168
4
+ version: 4.0.169
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-19 00:00:00.000000000 Z
11
+ date: 2023-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus