ultracart_api 3.10.205 → 3.10.206

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c06a965d4bca8f1e44a7a0bcb906bce5ba4bde834cfd2123368f13419b729dac
4
- data.tar.gz: 6750a43db4017c6a76e687d8cb55096d7c794f847eae9ecfb27ca61093e2db9e
3
+ metadata.gz: 259b985018cefa0cc42b72c15be4c944e2683887066ba414f515b42a98240eab
4
+ data.tar.gz: ebd63dd19accb481e4c9223c6991a610d590cfca6d3e16d967ddca6d4a549442
5
5
  SHA512:
6
- metadata.gz: 863b5bcdb55dc004219286d3234c02c4f2dc9c531ffd044106bbd0c195c29fbf2b003c84c3505c8db3d21e4e643afa14e77e10116a205720214ccff7d6d3a519
7
- data.tar.gz: fdcb50d28319210a11fee641ab74cc7fe9b46511460e8c13ca4c2439556c9e977c12a1bac15948d0f1b6ba43266a2e2ee6ca0c47756bae5e17c3ee4d20c0d82f
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.205
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.205.gem
27
+ gem install ./ultracart_api-3.10.206.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.205.gem` to install the development dependencies)
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.205'
35
+ gem 'ultracart_api', '~> 3.10.206'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1501,6 +1501,7 @@ 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 |
1504
1505
  | 3.10.205 | 05/17/2024 | conv.pbx time based config - changed name from default to default_mapping |
1505
1506
  | 3.10.204 | 05/16/2024 | OrderPayment - constants for payment method Amazon Pay and Link |
1506
1507
  | 3.10.203 | 05/15/2024 | conversation pbx voicemail mailbox indep. voice properties |
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]
@@ -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
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.205'
14
+ VERSION = '3.10.206'
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.205
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-17 00:00:00.000000000 Z
11
+ date: 2024-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus