ultracart_api 4.0.164 → 4.0.166
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/ChannelPartner.md +2 -0
- data/docs/ReportDataSource.md +2 -0
- data/lib/ultracart_api/models/channel_partner.rb +11 -1
- data/lib/ultracart_api/models/report_data_source.rb +11 -1
- data/lib/ultracart_api/models/report_page_visualization.rb +2 -2
- 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: 0ce5a9c1e4e0119573769c40887c1f52e3cae4c19f0728034d2e4ff87d8b4a09
|
4
|
+
data.tar.gz: 84f4876512b26d1960c7652c38bbe5f0352faa9f2584bca8795d92bb6c01b579
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 388a31fbab1f7dcc8e5ff6a3f3a7bd78ec28580119ed3e499276b3628ed9a004fb7d813d7b05034f4280d3ac1cdc8390777719544745357cc2c5974ccd7b5efd
|
7
|
+
data.tar.gz: 201f352bd6ab987e127a8a23a63290edc4ab960cd20532256e6be81b98d7688462964148deed5d4b408771f72e478c625761486a8d458fb3e5affc7e731eb035
|
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.166
|
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.166.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.166.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.166'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1365,6 +1365,8 @@ Not every change is committed to every SDK.
|
|
1365
1365
|
|
1366
1366
|
| Version | Date | Comments |
|
1367
1367
|
| --: | :-: | --- |
|
1368
|
+
| 4.0.166 | 07/19/2023 | dw bi - add data_source_uuid to report data source |
|
1369
|
+
| 4.0.165 | 07/03/2023 | chart constant for dw report tool |
|
1368
1370
|
| 4.0.164 | 06/23/2023 | gauge constant for page visualization library |
|
1369
1371
|
| 4.0.163 | 06/20/2023 | auto order - establishAutoOrderByReferenceOrderId method added |
|
1370
1372
|
| 4.0.162 | 06/20/2023 | coupon add allowed values for usable_by and new OncePerNewCustomerForItem flag |
|
data/docs/ChannelPartner.md
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
| **channel_partner_oid** | **Integer** | Channel partner object id | [optional] |
|
8
8
|
| **code** | **String** | Code associated with the channel partner | [optional] |
|
9
9
|
| **communication_method** | **String** | Communication method of the channel partner | [optional] |
|
10
|
+
| **dont_hold_shipment** | **Boolean** | True if shipments should immediately process for this channel partner. | [optional] |
|
10
11
|
| **inactive** | **Boolean** | True if the channel partner is inactive | [optional] |
|
11
12
|
| **merchant_id** | **String** | Merchant ID of the channel partner | [optional] |
|
12
13
|
| **name** | **String** | Name of the channel partner | [optional] |
|
@@ -21,6 +22,7 @@ instance = UltracartClient::ChannelPartner.new(
|
|
21
22
|
channel_partner_oid: null,
|
22
23
|
code: null,
|
23
24
|
communication_method: null,
|
25
|
+
dont_hold_shipment: null,
|
24
26
|
inactive: null,
|
25
27
|
merchant_id: null,
|
26
28
|
name: null,
|
data/docs/ReportDataSource.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **data_source_uuid** | **String** | A unique identifier assigned to the data source. | [optional] |
|
7
8
|
| **name** | **String** | | [optional] |
|
8
9
|
| **partition_date_column** | **String** | | [optional] |
|
9
10
|
| **partition_date_safety_days** | **Integer** | | [optional] |
|
@@ -17,6 +18,7 @@
|
|
17
18
|
require 'ultracart_api'
|
18
19
|
|
19
20
|
instance = UltracartClient::ReportDataSource.new(
|
21
|
+
data_source_uuid: null,
|
20
22
|
name: null,
|
21
23
|
partition_date_column: null,
|
22
24
|
partition_date_safety_days: null,
|
@@ -24,6 +24,9 @@ module UltracartClient
|
|
24
24
|
# Communication method of the channel partner
|
25
25
|
attr_accessor :communication_method
|
26
26
|
|
27
|
+
# True if shipments should immediately process for this channel partner.
|
28
|
+
attr_accessor :dont_hold_shipment
|
29
|
+
|
27
30
|
# True if the channel partner is inactive
|
28
31
|
attr_accessor :inactive
|
29
32
|
|
@@ -42,6 +45,7 @@ module UltracartClient
|
|
42
45
|
:'channel_partner_oid' => :'channel_partner_oid',
|
43
46
|
:'code' => :'code',
|
44
47
|
:'communication_method' => :'communication_method',
|
48
|
+
:'dont_hold_shipment' => :'dont_hold_shipment',
|
45
49
|
:'inactive' => :'inactive',
|
46
50
|
:'merchant_id' => :'merchant_id',
|
47
51
|
:'name' => :'name',
|
@@ -60,6 +64,7 @@ module UltracartClient
|
|
60
64
|
:'channel_partner_oid' => :'Integer',
|
61
65
|
:'code' => :'String',
|
62
66
|
:'communication_method' => :'String',
|
67
|
+
:'dont_hold_shipment' => :'Boolean',
|
63
68
|
:'inactive' => :'Boolean',
|
64
69
|
:'merchant_id' => :'String',
|
65
70
|
:'name' => :'String',
|
@@ -100,6 +105,10 @@ module UltracartClient
|
|
100
105
|
self.communication_method = attributes[:'communication_method']
|
101
106
|
end
|
102
107
|
|
108
|
+
if attributes.key?(:'dont_hold_shipment')
|
109
|
+
self.dont_hold_shipment = attributes[:'dont_hold_shipment']
|
110
|
+
end
|
111
|
+
|
103
112
|
if attributes.key?(:'inactive')
|
104
113
|
self.inactive = attributes[:'inactive']
|
105
114
|
end
|
@@ -138,6 +147,7 @@ module UltracartClient
|
|
138
147
|
channel_partner_oid == o.channel_partner_oid &&
|
139
148
|
code == o.code &&
|
140
149
|
communication_method == o.communication_method &&
|
150
|
+
dont_hold_shipment == o.dont_hold_shipment &&
|
141
151
|
inactive == o.inactive &&
|
142
152
|
merchant_id == o.merchant_id &&
|
143
153
|
name == o.name &&
|
@@ -153,7 +163,7 @@ module UltracartClient
|
|
153
163
|
# Calculates hash code according to all attributes.
|
154
164
|
# @return [Integer] Hash code
|
155
165
|
def hash
|
156
|
-
[channel_partner_oid, code, communication_method, inactive, merchant_id, name, skip_customer_emails].hash
|
166
|
+
[channel_partner_oid, code, communication_method, dont_hold_shipment, inactive, merchant_id, name, skip_customer_emails].hash
|
157
167
|
end
|
158
168
|
|
159
169
|
# Builds the object from hash
|
@@ -15,6 +15,9 @@ require 'time'
|
|
15
15
|
|
16
16
|
module UltracartClient
|
17
17
|
class ReportDataSource
|
18
|
+
# A unique identifier assigned to the data source.
|
19
|
+
attr_accessor :data_source_uuid
|
20
|
+
|
18
21
|
attr_accessor :name
|
19
22
|
|
20
23
|
attr_accessor :partition_date_column
|
@@ -31,6 +34,7 @@ module UltracartClient
|
|
31
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
32
35
|
def self.attribute_map
|
33
36
|
{
|
37
|
+
:'data_source_uuid' => :'data_source_uuid',
|
34
38
|
:'name' => :'name',
|
35
39
|
:'partition_date_column' => :'partition_date_column',
|
36
40
|
:'partition_date_safety_days' => :'partition_date_safety_days',
|
@@ -48,6 +52,7 @@ module UltracartClient
|
|
48
52
|
# Attribute type mapping.
|
49
53
|
def self.openapi_types
|
50
54
|
{
|
55
|
+
:'data_source_uuid' => :'String',
|
51
56
|
:'name' => :'String',
|
52
57
|
:'partition_date_column' => :'String',
|
53
58
|
:'partition_date_safety_days' => :'Integer',
|
@@ -78,6 +83,10 @@ module UltracartClient
|
|
78
83
|
h[k.to_sym] = v
|
79
84
|
}
|
80
85
|
|
86
|
+
if attributes.key?(:'data_source_uuid')
|
87
|
+
self.data_source_uuid = attributes[:'data_source_uuid']
|
88
|
+
end
|
89
|
+
|
81
90
|
if attributes.key?(:'name')
|
82
91
|
self.name = attributes[:'name']
|
83
92
|
end
|
@@ -123,6 +132,7 @@ module UltracartClient
|
|
123
132
|
def ==(o)
|
124
133
|
return true if self.equal?(o)
|
125
134
|
self.class == o.class &&
|
135
|
+
data_source_uuid == o.data_source_uuid &&
|
126
136
|
name == o.name &&
|
127
137
|
partition_date_column == o.partition_date_column &&
|
128
138
|
partition_date_safety_days == o.partition_date_safety_days &&
|
@@ -140,7 +150,7 @@ module UltracartClient
|
|
140
150
|
# Calculates hash code according to all attributes.
|
141
151
|
# @return [Integer] Hash code
|
142
152
|
def hash
|
143
|
-
[name, partition_date_column, partition_date_safety_days, partition_date_strategy, schema, sql].hash
|
153
|
+
[data_source_uuid, name, partition_date_column, partition_date_safety_days, partition_date_strategy, schema, sql].hash
|
144
154
|
end
|
145
155
|
|
146
156
|
# Builds the object from hash
|
@@ -167,7 +167,7 @@ module UltracartClient
|
|
167
167
|
# Check to see if the all the properties in the model are valid
|
168
168
|
# @return true if the model is valid
|
169
169
|
def valid?
|
170
|
-
type_validator = EnumAttributeValidator.new('String', ["score card", "line chart", "bar chart", "text", "table", "gauge"])
|
170
|
+
type_validator = EnumAttributeValidator.new('String', ["score card", "line chart", "bar chart", "text", "table", "gauge", "pie chart"])
|
171
171
|
return false unless type_validator.valid?(@type)
|
172
172
|
true
|
173
173
|
end
|
@@ -175,7 +175,7 @@ module UltracartClient
|
|
175
175
|
# Custom attribute writer method checking allowed values (enum).
|
176
176
|
# @param [Object] type Object to be assigned
|
177
177
|
def type=(type)
|
178
|
-
validator = EnumAttributeValidator.new('String', ["score card", "line chart", "bar chart", "text", "table", "gauge"])
|
178
|
+
validator = EnumAttributeValidator.new('String', ["score card", "line chart", "bar chart", "text", "table", "gauge", "pie chart"])
|
179
179
|
unless validator.valid?(type)
|
180
180
|
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
|
181
181
|
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.
|
4
|
+
version: 4.0.166
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|