ultracart_api 3.10.204 → 3.10.206
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/ConversationPbxTimeBasedMappingConfig.md +1 -1
- data/docs/OrderQuery.md +1 -0
- data/lib/ultracart_api/models/conversation_pbx_time_based_mapping_config.rb +7 -7
- data/lib/ultracart_api/models/order_query.rb +23 -1
- 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: 259b985018cefa0cc42b72c15be4c944e2683887066ba414f515b42a98240eab
|
4
|
+
data.tar.gz: ebd63dd19accb481e4c9223c6991a610d590cfca6d3e16d967ddca6d4a549442
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 802834ce3d1765146a1bb75ced3b2f796d117ad6a5f47c58f6fcaa373119655468c114b4abdcbeaffe68d63f0c80fad94b1e3489aa391aa39e03d3dcf5c76de1
|
7
|
+
data.tar.gz: 9ee3c8cddd070e4382fe5da1aeaf0cefa5aa9d62899e646ffe6b5b9af0fa5cedbddf7773710e8b317e84f81065e2c125b6e74824d3b2e06e0d3987cebcda5245
|
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.206
|
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.206.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.206.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.206'
|
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.206 | 05/28/2024 | added property to OrderQuery object to allow querying from cache |
|
1505
|
+
| 3.10.205 | 05/17/2024 | conv.pbx time based config - changed name from default to default_mapping |
|
1504
1506
|
| 3.10.204 | 05/16/2024 | OrderPayment - constants for payment method Amazon Pay and Link |
|
1505
1507
|
| 3.10.203 | 05/15/2024 | conversation pbx voicemail mailbox indep. voice properties |
|
1506
1508
|
| 3.10.202 | 05/15/2024 | conversation pbx - missing fields on agent object |
|
@@ -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
|
|
data/docs/OrderQuery.md
CHANGED
@@ -34,6 +34,7 @@ Name | Type | Description | Notes
|
|
34
34
|
**phone** | **String** | Phone | [optional]
|
35
35
|
**postal_code** | **String** | Postal code | [optional]
|
36
36
|
**purchase_order_number** | **String** | Purchase order number | [optional]
|
37
|
+
**query_target** | **String** | Query Target | [optional]
|
37
38
|
**refund_date_begin** | **String** | Date/time that the order was refunded | [optional]
|
38
39
|
**refund_date_end** | **String** | Date/time that the order was refunded | [optional]
|
39
40
|
**rma** | **String** | RMA number | [optional]
|
@@ -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
|
@@ -107,6 +107,9 @@ module UltracartClient
|
|
107
107
|
# Purchase order number
|
108
108
|
attr_accessor :purchase_order_number
|
109
109
|
|
110
|
+
# Query Target
|
111
|
+
attr_accessor :query_target
|
112
|
+
|
110
113
|
# Date/time that the order was refunded
|
111
114
|
attr_accessor :refund_date_begin
|
112
115
|
|
@@ -196,6 +199,7 @@ module UltracartClient
|
|
196
199
|
:'phone' => :'phone',
|
197
200
|
:'postal_code' => :'postal_code',
|
198
201
|
:'purchase_order_number' => :'purchase_order_number',
|
202
|
+
:'query_target' => :'query_target',
|
199
203
|
:'refund_date_begin' => :'refund_date_begin',
|
200
204
|
:'refund_date_end' => :'refund_date_end',
|
201
205
|
:'rma' => :'rma',
|
@@ -244,6 +248,7 @@ module UltracartClient
|
|
244
248
|
:'phone' => :'String',
|
245
249
|
:'postal_code' => :'String',
|
246
250
|
:'purchase_order_number' => :'String',
|
251
|
+
:'query_target' => :'String',
|
247
252
|
:'refund_date_begin' => :'String',
|
248
253
|
:'refund_date_end' => :'String',
|
249
254
|
:'rma' => :'String',
|
@@ -390,6 +395,10 @@ module UltracartClient
|
|
390
395
|
self.purchase_order_number = attributes[:'purchase_order_number']
|
391
396
|
end
|
392
397
|
|
398
|
+
if attributes.has_key?(:'query_target')
|
399
|
+
self.query_target = attributes[:'query_target']
|
400
|
+
end
|
401
|
+
|
393
402
|
if attributes.has_key?(:'refund_date_begin')
|
394
403
|
self.refund_date_begin = attributes[:'refund_date_begin']
|
395
404
|
end
|
@@ -506,6 +515,8 @@ module UltracartClient
|
|
506
515
|
return false unless payment_method_validator.valid?(@payment_method)
|
507
516
|
return false if !@phone.nil? && @phone.to_s.length > 25
|
508
517
|
return false if !@postal_code.nil? && @postal_code.to_s.length > 20
|
518
|
+
query_target_validator = EnumAttributeValidator.new('String', ['origin', 'cache'])
|
519
|
+
return false unless query_target_validator.valid?(@query_target)
|
509
520
|
return false if !@rma.nil? && @rma.to_s.length > 30
|
510
521
|
return false if !@screen_branding_theme_code.nil? && @screen_branding_theme_code.to_s.length > 10
|
511
522
|
return false if !@state_region.nil? && @state_region.to_s.length > 32
|
@@ -622,6 +633,16 @@ module UltracartClient
|
|
622
633
|
@postal_code = postal_code
|
623
634
|
end
|
624
635
|
|
636
|
+
# Custom attribute writer method checking allowed values (enum).
|
637
|
+
# @param [Object] query_target Object to be assigned
|
638
|
+
def query_target=(query_target)
|
639
|
+
validator = EnumAttributeValidator.new('String', ['origin', 'cache'])
|
640
|
+
unless validator.valid?(query_target)
|
641
|
+
fail ArgumentError, 'invalid value for "query_target", must be one of #{validator.allowable_values}.'
|
642
|
+
end
|
643
|
+
@query_target = query_target
|
644
|
+
end
|
645
|
+
|
625
646
|
# Custom attribute writer method with validation
|
626
647
|
# @param [Object] rma Value to be assigned
|
627
648
|
def rma=(rma)
|
@@ -688,6 +709,7 @@ module UltracartClient
|
|
688
709
|
phone == o.phone &&
|
689
710
|
postal_code == o.postal_code &&
|
690
711
|
purchase_order_number == o.purchase_order_number &&
|
712
|
+
query_target == o.query_target &&
|
691
713
|
refund_date_begin == o.refund_date_begin &&
|
692
714
|
refund_date_end == o.refund_date_end &&
|
693
715
|
rma == o.rma &&
|
@@ -710,7 +732,7 @@ module UltracartClient
|
|
710
732
|
# Calculates hash code according to all attributes.
|
711
733
|
# @return [Fixnum] Hash code
|
712
734
|
def hash
|
713
|
-
[cc_email, channel_partner_code, channel_partner_order_id, city, company, country_code, creation_date_begin, creation_date_end, current_stage, custom_field_1, custom_field_10, custom_field_2, custom_field_3, custom_field_4, custom_field_5, custom_field_6, custom_field_7, custom_field_8, custom_field_9, customer_profile_oid, email, first_name, item_id, last_name, order_id, payment_date_begin, payment_date_end, payment_method, phone, postal_code, purchase_order_number, refund_date_begin, refund_date_end, rma, screen_branding_theme_code, shipment_date_begin, shipment_date_end, shipped_on_date_begin, shipped_on_date_end, state_region, storefront_host_name, total].hash
|
735
|
+
[cc_email, channel_partner_code, channel_partner_order_id, city, company, country_code, creation_date_begin, creation_date_end, current_stage, custom_field_1, custom_field_10, custom_field_2, custom_field_3, custom_field_4, custom_field_5, custom_field_6, custom_field_7, custom_field_8, custom_field_9, customer_profile_oid, email, first_name, item_id, last_name, order_id, payment_date_begin, payment_date_end, payment_method, phone, postal_code, purchase_order_number, query_target, refund_date_begin, refund_date_end, rma, screen_branding_theme_code, shipment_date_begin, shipment_date_end, shipped_on_date_begin, shipped_on_date_end, state_region, storefront_host_name, total].hash
|
714
736
|
end
|
715
737
|
|
716
738
|
# Builds the object from hash
|
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.206
|
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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|