ultracart_api 4.0.220 → 4.0.222
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6f43fa3609ef1a8bfb708e2f7171a7de29537209b0684f085ae91d239bd8a9c
|
4
|
+
data.tar.gz: 393ecdd261b6ffe8167dd7cc216e158fa794364bdb597cc7011e97fb86955897
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d065cf6dfd3e342cc9778dcaa7a55dc8beb44734337798c0777acfd1a9c97879b197b4893fc300277f5f144e5ac419332ef75d4e95e10bb52b17691fa3388ae6
|
7
|
+
data.tar.gz: bf996a803fb3f0eee1a1fb0c807d860a346ea44f388e371ce1745fc17a0ed3c286555dc63e82278c3ab418be4659ce60338e8dc0cbccfdd4b6b81a15a0c34c2c
|
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.222
|
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.222.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.222.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.222'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1509,6 +1509,8 @@ Not every change is committed to every SDK.
|
|
1509
1509
|
|
1510
1510
|
| Version | Date | Comments |
|
1511
1511
|
| --: | :-: | --- |
|
1512
|
+
| 4.0.222 | 05/17/2024 | conv.pbx time based config - changed name from default to default_mapping |
|
1513
|
+
| 4.0.221 | 05/16/2024 | OrderPayment - constants for payment method Amazon Pay and Link |
|
1512
1514
|
| 4.0.220 | 05/15/2024 | conversation pbx voicemail mailbox indep. voice properties |
|
1513
1515
|
| 4.0.219 | 05/15/2024 | conversation pbx - missing fields on agent object |
|
1514
1516
|
| 4.0.218 | 05/14/2024 | conversation pbx - allowed value constants on the action |
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
7
|
+
| **default_mapping** | [**ConversationPbxTimeBasedMapping**](ConversationPbxTimeBasedMapping.md) | | [optional] |
|
8
8
|
| **mappings** | [**Array<ConversationPbxTimeBasedMapping>**](ConversationPbxTimeBasedMapping.md) | Mappings | [optional] |
|
9
9
|
|
10
10
|
## Example
|
@@ -13,7 +13,7 @@
|
|
13
13
|
require 'ultracart_api'
|
14
14
|
|
15
15
|
instance = UltracartClient::ConversationPbxTimeBasedMappingConfig.new(
|
16
|
-
|
16
|
+
default_mapping: null,
|
17
17
|
mappings: null
|
18
18
|
)
|
19
19
|
```
|
@@ -15,7 +15,7 @@ require 'time'
|
|
15
15
|
|
16
16
|
module UltracartClient
|
17
17
|
class ConversationPbxTimeBasedMappingConfig
|
18
|
-
attr_accessor :
|
18
|
+
attr_accessor :default_mapping
|
19
19
|
|
20
20
|
# Mappings
|
21
21
|
attr_accessor :mappings
|
@@ -23,7 +23,7 @@ module UltracartClient
|
|
23
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
24
|
def self.attribute_map
|
25
25
|
{
|
26
|
-
:'
|
26
|
+
:'default_mapping' => :'default_mapping',
|
27
27
|
:'mappings' => :'mappings'
|
28
28
|
}
|
29
29
|
end
|
@@ -36,7 +36,7 @@ module UltracartClient
|
|
36
36
|
# Attribute type mapping.
|
37
37
|
def self.openapi_types
|
38
38
|
{
|
39
|
-
:'
|
39
|
+
:'default_mapping' => :'ConversationPbxTimeBasedMapping',
|
40
40
|
:'mappings' => :'Array<ConversationPbxTimeBasedMapping>'
|
41
41
|
}
|
42
42
|
end
|
@@ -62,8 +62,8 @@ module UltracartClient
|
|
62
62
|
h[k.to_sym] = v
|
63
63
|
}
|
64
64
|
|
65
|
-
if attributes.key?(:'
|
66
|
-
self.
|
65
|
+
if attributes.key?(:'default_mapping')
|
66
|
+
self.default_mapping = attributes[:'default_mapping']
|
67
67
|
end
|
68
68
|
|
69
69
|
if attributes.key?(:'mappings')
|
@@ -91,7 +91,7 @@ module UltracartClient
|
|
91
91
|
def ==(o)
|
92
92
|
return true if self.equal?(o)
|
93
93
|
self.class == o.class &&
|
94
|
-
|
94
|
+
default_mapping == o.default_mapping &&
|
95
95
|
mappings == o.mappings
|
96
96
|
end
|
97
97
|
|
@@ -104,7 +104,7 @@ module UltracartClient
|
|
104
104
|
# Calculates hash code according to all attributes.
|
105
105
|
# @return [Integer] Hash code
|
106
106
|
def hash
|
107
|
-
[
|
107
|
+
[default_mapping, mappings].hash
|
108
108
|
end
|
109
109
|
|
110
110
|
# Builds the object from hash
|
@@ -252,7 +252,7 @@ module UltracartClient
|
|
252
252
|
# Check to see if the all the properties in the model are valid
|
253
253
|
# @return true if the model is valid
|
254
254
|
def valid?
|
255
|
-
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", "Health Benefit Card"])
|
255
|
+
payment_method_validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon Pay", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "Link", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle", "Venmo", "Apple Pay", "Google Pay", "Health Benefit Card"])
|
256
256
|
return false unless payment_method_validator.valid?(@payment_method)
|
257
257
|
payment_status_validator = EnumAttributeValidator.new('String', ["Unprocessed", "Authorized", "Capture Failed", "Processed", "Declined", "Voided", "Refunded", "Skipped"])
|
258
258
|
return false unless payment_status_validator.valid?(@payment_status)
|
@@ -262,7 +262,7 @@ module UltracartClient
|
|
262
262
|
# Custom attribute writer method checking allowed values (enum).
|
263
263
|
# @param [Object] payment_method Object to be assigned
|
264
264
|
def payment_method=(payment_method)
|
265
|
-
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", "Health Benefit Card"])
|
265
|
+
validator = EnumAttributeValidator.new('String', ["Affirm", "Amazon", "Amazon Pay", "Amazon SC", "Cash", "Check", "COD", "Credit Card", "eBay", "eCheck", "Google Shopping", "Insurance", "Link", "LoanHero", "Money Order", "PayPal", "Purchase Order", "Quote Request", "Unknown", "Wire Transfer", "Walmart", "Shop.com", "Sezzle", "Venmo", "Apple Pay", "Google Pay", "Health Benefit Card"])
|
266
266
|
unless validator.valid?(payment_method)
|
267
267
|
fail ArgumentError, "invalid value for \"payment_method\", must be one of #{validator.allowable_values}."
|
268
268
|
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.222
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|