ultracart_api 4.0.222 → 4.0.223

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: e6f43fa3609ef1a8bfb708e2f7171a7de29537209b0684f085ae91d239bd8a9c
4
- data.tar.gz: 393ecdd261b6ffe8167dd7cc216e158fa794364bdb597cc7011e97fb86955897
3
+ metadata.gz: ab7e867fde5d59021d0dd6818641123c8d7f8263083e2f83d4638698d1f7f316
4
+ data.tar.gz: 13553bf85bda48991a81a6e86752819283e064b55cf51c76eb8111efeafe6c0b
5
5
  SHA512:
6
- metadata.gz: d065cf6dfd3e342cc9778dcaa7a55dc8beb44734337798c0777acfd1a9c97879b197b4893fc300277f5f144e5ac419332ef75d4e95e10bb52b17691fa3388ae6
7
- data.tar.gz: bf996a803fb3f0eee1a1fb0c807d860a346ea44f388e371ce1745fc17a0ed3c286555dc63e82278c3ab418be4659ce60338e8dc0cbccfdd4b6b81a15a0c34c2c
6
+ metadata.gz: 3df754fb2a5c8cfbb529d13a06f98ebf84ea9a18b22b5bf2b55443aebf020d2c2a148b39d1156b06238948987334cb6752e9265e8266e0a0c8ee7821d089d7e6
7
+ data.tar.gz: 518009027faf531e49a1e7530debe1bf4ce78275d5b667bfd1f2263441c27147a683821ba950fb5dfdec3a192f626a6d9221764f8d629799eaa8ab7cebf60122
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.222
10
+ - Package version: 4.0.223
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.222.gem
27
+ gem install ./ultracart_api-4.0.223.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.222.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.223.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.222'
36
+ gem 'ultracart_api', '~> 4.0.223'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1509,6 +1509,7 @@ Not every change is committed to every SDK.
1509
1509
 
1510
1510
  | Version | Date | Comments |
1511
1511
  | --: | :-: | --- |
1512
+ | 4.0.223 | 05/28/2024 | added property to OrderQuery object to allow querying from cache |
1512
1513
  | 4.0.222 | 05/17/2024 | conv.pbx time based config - changed name from default to default_mapping |
1513
1514
  | 4.0.221 | 05/16/2024 | OrderPayment - constants for payment method Amazon Pay and Link |
1514
1515
  | 4.0.220 | 05/15/2024 | conversation pbx voicemail mailbox indep. voice properties |
data/docs/OrderQuery.md CHANGED
@@ -35,6 +35,7 @@
35
35
  | **phone** | **String** | Phone | [optional] |
36
36
  | **postal_code** | **String** | Postal code | [optional] |
37
37
  | **purchase_order_number** | **String** | Purchase order number | [optional] |
38
+ | **query_target** | **String** | Query Target | [optional] |
38
39
  | **refund_date_begin** | **String** | Date/time that the order was refunded | [optional] |
39
40
  | **refund_date_end** | **String** | Date/time that the order was refunded | [optional] |
40
41
  | **rma** | **String** | RMA number | [optional] |
@@ -84,6 +85,7 @@ instance = UltracartClient::OrderQuery.new(
84
85
  phone: null,
85
86
  postal_code: null,
86
87
  purchase_order_number: null,
88
+ query_target: null,
87
89
  refund_date_begin: null,
88
90
  refund_date_end: null,
89
91
  rma: null,
@@ -108,6 +108,9 @@ module UltracartClient
108
108
  # Purchase order number
109
109
  attr_accessor :purchase_order_number
110
110
 
111
+ # Query Target
112
+ attr_accessor :query_target
113
+
111
114
  # Date/time that the order was refunded
112
115
  attr_accessor :refund_date_begin
113
116
 
@@ -197,6 +200,7 @@ module UltracartClient
197
200
  :'phone' => :'phone',
198
201
  :'postal_code' => :'postal_code',
199
202
  :'purchase_order_number' => :'purchase_order_number',
203
+ :'query_target' => :'query_target',
200
204
  :'refund_date_begin' => :'refund_date_begin',
201
205
  :'refund_date_end' => :'refund_date_end',
202
206
  :'rma' => :'rma',
@@ -250,6 +254,7 @@ module UltracartClient
250
254
  :'phone' => :'String',
251
255
  :'postal_code' => :'String',
252
256
  :'purchase_order_number' => :'String',
257
+ :'query_target' => :'String',
253
258
  :'refund_date_begin' => :'String',
254
259
  :'refund_date_end' => :'String',
255
260
  :'rma' => :'String',
@@ -409,6 +414,10 @@ module UltracartClient
409
414
  self.purchase_order_number = attributes[:'purchase_order_number']
410
415
  end
411
416
 
417
+ if attributes.key?(:'query_target')
418
+ self.query_target = attributes[:'query_target']
419
+ end
420
+
412
421
  if attributes.key?(:'refund_date_begin')
413
422
  self.refund_date_begin = attributes[:'refund_date_begin']
414
423
  end
@@ -525,6 +534,8 @@ module UltracartClient
525
534
  return false unless payment_method_validator.valid?(@payment_method)
526
535
  return false if !@phone.nil? && @phone.to_s.length > 25
527
536
  return false if !@postal_code.nil? && @postal_code.to_s.length > 20
537
+ query_target_validator = EnumAttributeValidator.new('String', ["origin", "cache"])
538
+ return false unless query_target_validator.valid?(@query_target)
528
539
  return false if !@rma.nil? && @rma.to_s.length > 30
529
540
  return false if !@screen_branding_theme_code.nil? && @screen_branding_theme_code.to_s.length > 10
530
541
  return false if !@state_region.nil? && @state_region.to_s.length > 32
@@ -641,6 +652,16 @@ module UltracartClient
641
652
  @postal_code = postal_code
642
653
  end
643
654
 
655
+ # Custom attribute writer method checking allowed values (enum).
656
+ # @param [Object] query_target Object to be assigned
657
+ def query_target=(query_target)
658
+ validator = EnumAttributeValidator.new('String', ["origin", "cache"])
659
+ unless validator.valid?(query_target)
660
+ fail ArgumentError, "invalid value for \"query_target\", must be one of #{validator.allowable_values}."
661
+ end
662
+ @query_target = query_target
663
+ end
664
+
644
665
  # Custom attribute writer method with validation
645
666
  # @param [Object] rma Value to be assigned
646
667
  def rma=(rma)
@@ -707,6 +728,7 @@ module UltracartClient
707
728
  phone == o.phone &&
708
729
  postal_code == o.postal_code &&
709
730
  purchase_order_number == o.purchase_order_number &&
731
+ query_target == o.query_target &&
710
732
  refund_date_begin == o.refund_date_begin &&
711
733
  refund_date_end == o.refund_date_end &&
712
734
  rma == o.rma &&
@@ -729,7 +751,7 @@ module UltracartClient
729
751
  # Calculates hash code according to all attributes.
730
752
  # @return [Integer] Hash code
731
753
  def hash
732
- [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
754
+ [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
733
755
  end
734
756
 
735
757
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.0.222'
14
+ VERSION = '4.0.223'
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: 4.0.222
4
+ version: 4.0.223
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