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: 866539c915f7d0ba05baaee52bd7069f644dd5896ef63e163ec84c59fe88d58a
4
- data.tar.gz: 29fc5f6a52e81a0b3b9983728374c91f4a26158037ba26baa9dfb88c769c9c6d
3
+ metadata.gz: c06a965d4bca8f1e44a7a0bcb906bce5ba4bde834cfd2123368f13419b729dac
4
+ data.tar.gz: 6750a43db4017c6a76e687d8cb55096d7c794f847eae9ecfb27ca61093e2db9e
5
5
  SHA512:
6
- metadata.gz: ef23fbab54189d2d3c9fcafd84920783904b4f6c38221f2fde5d419fce4582844de2c85c669d5bc8078a4ff66aa696e0461c7b19f3d5576da5ae0f56951e3889
7
- data.tar.gz: 9a703ed03b4d34b9dc7d00f136e0315c4592c7354aceda9244b438d9ae436e6b8d312c74c8f5fe0106f7c9d03efa7290d4a0ec877f8cbfaa2a19f7f1395b7691
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.203
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.203.gem
27
+ gem install ./ultracart_api-3.10.205.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.203.gem` to install the development dependencies)
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.203'
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
- **default** | [**ConversationPbxTimeBasedMapping**](ConversationPbxTimeBasedMapping.md) | | [optional]
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 :default
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
- :'default' => :'default',
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
- :'default' => :'ConversationPbxTimeBasedMapping',
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?(:'default')
47
- self.default = attributes[:'default']
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
- default == o.default &&
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
- [default, mappings].hash
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
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.203'
14
+ VERSION = '3.10.205'
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.203
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-15 00:00:00.000000000 Z
11
+ date: 2024-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus