ultracart_api 3.10.203 → 3.10.205
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: c06a965d4bca8f1e44a7a0bcb906bce5ba4bde834cfd2123368f13419b729dac
|
4
|
+
data.tar.gz: 6750a43db4017c6a76e687d8cb55096d7c794f847eae9ecfb27ca61093e2db9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 863b5bcdb55dc004219286d3234c02c4f2dc9c531ffd044106bbd0c195c29fbf2b003c84c3505c8db3d21e4e643afa14e77e10116a205720214ccff7d6d3a519
|
7
|
+
data.tar.gz: fdcb50d28319210a11fee641ab74cc7fe9b46511460e8c13ca4c2439556c9e977c12a1bac15948d0f1b6ba43266a2e2ee6ca0c47756bae5e17c3ee4d20c0d82f
|
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.
|
10
|
+
- Package version: 3.10.205
|
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.
|
27
|
+
gem install ./ultracart_api-3.10.205.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.10.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.10.205.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.
|
35
|
+
gem 'ultracart_api', '~> 3.10.205'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1501,6 +1501,8 @@ Not every change is committed to every SDK.
|
|
1501
1501
|
|
1502
1502
|
| Version | Date | Comments |
|
1503
1503
|
| --: | :-: | --- |
|
1504
|
+
| 3.10.205 | 05/17/2024 | conv.pbx time based config - changed name from default to default_mapping |
|
1505
|
+
| 3.10.204 | 05/16/2024 | OrderPayment - constants for payment method Amazon Pay and Link |
|
1504
1506
|
| 3.10.203 | 05/15/2024 | conversation pbx voicemail mailbox indep. voice properties |
|
1505
1507
|
| 3.10.202 | 05/15/2024 | conversation pbx - missing fields on agent object |
|
1506
1508
|
| 3.10.201 | 05/14/2024 | conversation pbx - allowed value constants on the action |
|
@@ -3,7 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
-
**
|
6
|
+
**default_mapping** | [**ConversationPbxTimeBasedMapping**](ConversationPbxTimeBasedMapping.md) | | [optional]
|
7
7
|
**mappings** | [**Array<ConversationPbxTimeBasedMapping>**](ConversationPbxTimeBasedMapping.md) | Mappings | [optional]
|
8
8
|
|
9
9
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class ConversationPbxTimeBasedMappingConfig
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :default_mapping
|
18
18
|
|
19
19
|
# Mappings
|
20
20
|
attr_accessor :mappings
|
@@ -22,7 +22,7 @@ module UltracartClient
|
|
22
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
23
|
def self.attribute_map
|
24
24
|
{
|
25
|
-
:'
|
25
|
+
:'default_mapping' => :'default_mapping',
|
26
26
|
:'mappings' => :'mappings'
|
27
27
|
}
|
28
28
|
end
|
@@ -30,7 +30,7 @@ module UltracartClient
|
|
30
30
|
# Attribute type mapping.
|
31
31
|
def self.swagger_types
|
32
32
|
{
|
33
|
-
:'
|
33
|
+
:'default_mapping' => :'ConversationPbxTimeBasedMapping',
|
34
34
|
:'mappings' => :'Array<ConversationPbxTimeBasedMapping>'
|
35
35
|
}
|
36
36
|
end
|
@@ -43,8 +43,8 @@ module UltracartClient
|
|
43
43
|
# convert string to symbol for hash key
|
44
44
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
45
45
|
|
46
|
-
if attributes.has_key?(:'
|
47
|
-
self.
|
46
|
+
if attributes.has_key?(:'default_mapping')
|
47
|
+
self.default_mapping = attributes[:'default_mapping']
|
48
48
|
end
|
49
49
|
|
50
50
|
if attributes.has_key?(:'mappings')
|
@@ -72,7 +72,7 @@ module UltracartClient
|
|
72
72
|
def ==(o)
|
73
73
|
return true if self.equal?(o)
|
74
74
|
self.class == o.class &&
|
75
|
-
|
75
|
+
default_mapping == o.default_mapping &&
|
76
76
|
mappings == o.mappings
|
77
77
|
end
|
78
78
|
|
@@ -85,7 +85,7 @@ module UltracartClient
|
|
85
85
|
# Calculates hash code according to all attributes.
|
86
86
|
# @return [Fixnum] Hash code
|
87
87
|
def hash
|
88
|
-
[
|
88
|
+
[default_mapping, mappings].hash
|
89
89
|
end
|
90
90
|
|
91
91
|
# Builds the object from hash
|
@@ -233,7 +233,7 @@ module UltracartClient
|
|
233
233
|
# Check to see if the all the properties in the model are valid
|
234
234
|
# @return true if the model is valid
|
235
235
|
def valid?
|
236
|
-
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'])
|
236
|
+
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'])
|
237
237
|
return false unless payment_method_validator.valid?(@payment_method)
|
238
238
|
payment_status_validator = EnumAttributeValidator.new('String', ['Unprocessed', 'Authorized', 'Capture Failed', 'Processed', 'Declined', 'Voided', 'Refunded', 'Skipped'])
|
239
239
|
return false unless payment_status_validator.valid?(@payment_status)
|
@@ -243,7 +243,7 @@ module UltracartClient
|
|
243
243
|
# Custom attribute writer method checking allowed values (enum).
|
244
244
|
# @param [Object] payment_method Object to be assigned
|
245
245
|
def payment_method=(payment_method)
|
246
|
-
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'])
|
246
|
+
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'])
|
247
247
|
unless validator.valid?(payment_method)
|
248
248
|
fail ArgumentError, 'invalid value for "payment_method", must be one of #{validator.allowable_values}.'
|
249
249
|
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.
|
4
|
+
version: 3.10.205
|
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
|