ultracart_api 3.10.151 → 3.10.152

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: 6ceda11a60a4f34f508284e4363a89a1b7c732baacbc392d766bc404e6ddbda2
4
- data.tar.gz: 6b1455f3264099735c96c44462da0bec407a86b38c6f0bf38dba97bd81c691b7
3
+ metadata.gz: ddf97d8e2fee74b8c90e66e0e3a6740afa9c15f9e7eed82b9000b0057e5a7ab3
4
+ data.tar.gz: 199684e338e894e6515df691c7f8a51fe92c6c43071bcb95f6cb4499d5f2efd6
5
5
  SHA512:
6
- metadata.gz: bfc28e0b598f8c72555f4e95ccc5e27bc2860856e9bb578944a8949b6f17291ce144180aa0e34bbc5f24df60d8d55a2f448887faa1e9e2d2edc38ec0b36d7fe3
7
- data.tar.gz: ad6a9406f4c0e0643c5e01fc914149d1ae46f0bd79feb89a19ca28e6f1f803f821d6163a85b0e6054d16acc8fb1d81098f066e3d188b3d9bc6d4824ec95344e5
6
+ metadata.gz: ac0de8e3580c2ae6799e9a4ef97365d2d484083c40af7cea876102bd618aa6036c62290433e715c6944681066893d3a1c8a510119b9c87d65dd0aa49d3727ec4
7
+ data.tar.gz: 0f1fe6008f5b6b1c5f6029e7af1c656a7c9bdf40fc126508825038ba112e0af1d00afe0de5119bd66eee91e2145690e8d20d2dc70329327ada4883796818becd
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.151
10
+ - Package version: 3.10.152
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.151.gem
27
+ gem install ./ultracart_api-3.10.152.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.151.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.152.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.151'
35
+ gem 'ultracart_api', '~> 3.10.152'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1357,6 +1357,7 @@ Not every change is committed to every SDK.
1357
1357
 
1358
1358
  | Version | Date | Comments |
1359
1359
  | --: | :-: | --- |
1360
+ | 3.10.152 | 07/27/2023 | dw bi - add settings to the report and page objects |
1360
1361
  | 3.10.151 | 07/19/2023 | dw bi - add data_source_uuid to filter connection obj |
1361
1362
  | 3.10.150 | 07/19/2023 | dw bi - add data_source_uuid to page visualization obj |
1362
1363
  | 3.10.149 | 07/19/2023 | dw bi - add data_source_uuid to report data source |
data/docs/Report.md CHANGED
@@ -13,5 +13,6 @@ Name | Type | Description | Notes
13
13
  **pages** | [**Array<ReportPage>**](ReportPage.md) | | [optional]
14
14
  **report_oid** | **Integer** | Object identifier for this report. | [optional]
15
15
  **security_level** | **String** | Security level to execute report under | [optional]
16
+ **settings** | **String** | A JSON representation of the settings for this report | [optional]
16
17
 
17
18
 
data/docs/ReportPage.md CHANGED
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **filters** | [**Array<ReportPageFilter>**](ReportPageFilter.md) | | [optional]
7
7
  **height** | **Float** | Height of the report page in inches | [optional]
8
+ **settings** | **String** | A JSON representation of the settings for this report | [optional]
8
9
  **title** | **String** | | [optional]
9
10
  **visualizations** | [**Array<ReportPageVisualization>**](ReportPageVisualization.md) | Visualizations on the report page. | [optional]
10
11
  **width** | **Float** | Width of the report page in inches | [optional]
@@ -225,7 +225,7 @@ module UltracartClient
225
225
  # Check to see if the all the properties in the model are valid
226
226
  # @return true if the model is valid
227
227
  def valid?
228
- 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'])
228
+ 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'])
229
229
  return false unless payment_method_validator.valid?(@payment_method)
230
230
  payment_status_validator = EnumAttributeValidator.new('String', ['Unprocessed', 'Authorized', 'Capture Failed', 'Processed', 'Declined', 'Voided', 'Refunded', 'Skipped'])
231
231
  return false unless payment_status_validator.valid?(@payment_status)
@@ -235,7 +235,7 @@ module UltracartClient
235
235
  # Custom attribute writer method checking allowed values (enum).
236
236
  # @param [Object] payment_method Object to be assigned
237
237
  def payment_method=(payment_method)
238
- 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'])
238
+ 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'])
239
239
  unless validator.valid?(payment_method)
240
240
  fail ArgumentError, 'invalid value for "payment_method", must be one of #{validator.allowable_values}.'
241
241
  end
@@ -475,7 +475,7 @@ module UltracartClient
475
475
  return false if !@email.nil? && @email.to_s.length > 100
476
476
  return false if !@first_name.nil? && @first_name.to_s.length > 30
477
477
  return false if !@last_name.nil? && @last_name.to_s.length > 30
478
- 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'])
478
+ 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'])
479
479
  return false unless payment_method_validator.valid?(@payment_method)
480
480
  return false if !@phone.nil? && @phone.to_s.length > 25
481
481
  return false if !@postal_code.nil? && @postal_code.to_s.length > 20
@@ -568,7 +568,7 @@ module UltracartClient
568
568
  # Custom attribute writer method checking allowed values (enum).
569
569
  # @param [Object] payment_method Object to be assigned
570
570
  def payment_method=(payment_method)
571
- 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'])
571
+ 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'])
572
572
  unless validator.valid?(payment_method)
573
573
  fail ArgumentError, 'invalid value for "payment_method", must be one of #{validator.allowable_values}.'
574
574
  end
@@ -36,6 +36,9 @@ module UltracartClient
36
36
  # Security level to execute report under
37
37
  attr_accessor :security_level
38
38
 
39
+ # A JSON representation of the settings for this report
40
+ attr_accessor :settings
41
+
39
42
  class EnumAttributeValidator
40
43
  attr_reader :datatype
41
44
  attr_reader :allowable_values
@@ -70,7 +73,8 @@ module UltracartClient
70
73
  :'name' => :'name',
71
74
  :'pages' => :'pages',
72
75
  :'report_oid' => :'report_oid',
73
- :'security_level' => :'security_level'
76
+ :'security_level' => :'security_level',
77
+ :'settings' => :'settings'
74
78
  }
75
79
  end
76
80
 
@@ -86,7 +90,8 @@ module UltracartClient
86
90
  :'name' => :'String',
87
91
  :'pages' => :'Array<ReportPage>',
88
92
  :'report_oid' => :'Integer',
89
- :'security_level' => :'String'
93
+ :'security_level' => :'String',
94
+ :'settings' => :'String'
90
95
  }
91
96
  end
92
97
 
@@ -143,6 +148,10 @@ module UltracartClient
143
148
  if attributes.has_key?(:'security_level')
144
149
  self.security_level = attributes[:'security_level']
145
150
  end
151
+
152
+ if attributes.has_key?(:'settings')
153
+ self.settings = attributes[:'settings']
154
+ end
146
155
  end
147
156
 
148
157
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -184,7 +193,8 @@ module UltracartClient
184
193
  name == o.name &&
185
194
  pages == o.pages &&
186
195
  report_oid == o.report_oid &&
187
- security_level == o.security_level
196
+ security_level == o.security_level &&
197
+ settings == o.settings
188
198
  end
189
199
 
190
200
  # @see the `==` method
@@ -196,7 +206,7 @@ module UltracartClient
196
206
  # Calculates hash code according to all attributes.
197
207
  # @return [Fixnum] Hash code
198
208
  def hash
199
- [active, data_sources, default_dataset_id, default_project_id, filters, merchant_id, name, pages, report_oid, security_level].hash
209
+ [active, data_sources, default_dataset_id, default_project_id, filters, merchant_id, name, pages, report_oid, security_level, settings].hash
200
210
  end
201
211
 
202
212
  # Builds the object from hash
@@ -19,6 +19,9 @@ module UltracartClient
19
19
  # Height of the report page in inches
20
20
  attr_accessor :height
21
21
 
22
+ # A JSON representation of the settings for this report
23
+ attr_accessor :settings
24
+
22
25
  attr_accessor :title
23
26
 
24
27
  # Visualizations on the report page.
@@ -32,6 +35,7 @@ module UltracartClient
32
35
  {
33
36
  :'filters' => :'filters',
34
37
  :'height' => :'height',
38
+ :'settings' => :'settings',
35
39
  :'title' => :'title',
36
40
  :'visualizations' => :'visualizations',
37
41
  :'width' => :'width'
@@ -43,6 +47,7 @@ module UltracartClient
43
47
  {
44
48
  :'filters' => :'Array<ReportPageFilter>',
45
49
  :'height' => :'Float',
50
+ :'settings' => :'String',
46
51
  :'title' => :'String',
47
52
  :'visualizations' => :'Array<ReportPageVisualization>',
48
53
  :'width' => :'Float'
@@ -67,6 +72,10 @@ module UltracartClient
67
72
  self.height = attributes[:'height']
68
73
  end
69
74
 
75
+ if attributes.has_key?(:'settings')
76
+ self.settings = attributes[:'settings']
77
+ end
78
+
70
79
  if attributes.has_key?(:'title')
71
80
  self.title = attributes[:'title']
72
81
  end
@@ -102,6 +111,7 @@ module UltracartClient
102
111
  self.class == o.class &&
103
112
  filters == o.filters &&
104
113
  height == o.height &&
114
+ settings == o.settings &&
105
115
  title == o.title &&
106
116
  visualizations == o.visualizations &&
107
117
  width == o.width
@@ -116,7 +126,7 @@ module UltracartClient
116
126
  # Calculates hash code according to all attributes.
117
127
  # @return [Fixnum] Hash code
118
128
  def hash
119
- [filters, height, title, visualizations, width].hash
129
+ [filters, height, settings, title, visualizations, width].hash
120
130
  end
121
131
 
122
132
  # 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.151'
14
+ VERSION = '3.10.152'
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.151
4
+ version: 3.10.152
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