ultracart_api 4.0.212 → 4.0.213
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/AutoOrder.md +4 -0
- data/lib/ultracart_api/models/auto_order.rb +23 -3
- 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: 8b3f3dec98b4283bf562c8c44f574993622b804f547d5c21c5994f49656ddc34
|
4
|
+
data.tar.gz: 89fb687420b9bd534b77fb95eef0974dcdad2979a7d96acee5bd76ffc6dd67bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58ef39492149158a900b50850bb4493a0526814411e3d7354330e79856f0c714bfc4021c6b809dba60935cdb3cb4ed4a813a461d271064ffb36519146d18ee5d
|
7
|
+
data.tar.gz: 6224ed3b2c68694784d0078650eb81eca7951326b96d55d2995677ee23be2e520a7c1d85504b15e62a39f19abd16e1bf4f379254170de7e5312b0979138ea5ba
|
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.
|
10
|
+
- Package version: 4.0.213
|
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.
|
27
|
+
gem install ./ultracart_api-4.0.213.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./ultracart_api-4.0.
|
30
|
+
(for development, run `gem install --dev ./ultracart_api-4.0.213.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.
|
36
|
+
gem 'ultracart_api', '~> 4.0.213'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1511,6 +1511,7 @@ Not every change is committed to every SDK.
|
|
1511
1511
|
|
1512
1512
|
| Version | Date | Comments |
|
1513
1513
|
| --: | :-: | --- |
|
1514
|
+
| 4.0.213 | 05/02/2024 | autoorder - fields to record merge association and tstamp |
|
1514
1515
|
| 4.0.212 | 05/01/2024 | getConversationPbxAudioUploadUrl - fix the response obj def |
|
1515
1516
|
| 4.0.211 | 04/24/2024 | esp - add fields for external generation on email |
|
1516
1517
|
| 4.0.210 | 04/04/2024 | AutoOrder.calculated_next_shipment_dts |
|
data/docs/AutoOrder.md
CHANGED
@@ -22,6 +22,8 @@
|
|
22
22
|
| **logs** | [**Array<AutoOrderLog>**](AutoOrderLog.md) | Logs associated with this auto order | [optional] |
|
23
23
|
| **management** | [**AutoOrderManagement**](AutoOrderManagement.md) | | [optional] |
|
24
24
|
| **merchant_id** | **String** | UltraCart merchant ID owning this order | [optional] |
|
25
|
+
| **merged_dts** | **String** | The date/time the auto order was merged into another auto order | [optional] |
|
26
|
+
| **merged_into_auto_order_oid** | **Integer** | The auto order that this auto order was merged into | [optional] |
|
25
27
|
| **next_attempt** | **String** | The next time that the auto order will be attempted for processing | [optional] |
|
26
28
|
| **original_order** | [**Order**](Order.md) | | [optional] |
|
27
29
|
| **original_order_id** | **String** | The original order id that this auto order is associated with. | [optional] |
|
@@ -54,6 +56,8 @@ instance = UltracartClient::AutoOrder.new(
|
|
54
56
|
logs: null,
|
55
57
|
management: null,
|
56
58
|
merchant_id: null,
|
59
|
+
merged_dts: null,
|
60
|
+
merged_into_auto_order_oid: null,
|
57
61
|
next_attempt: null,
|
58
62
|
original_order: null,
|
59
63
|
original_order_id: null,
|
@@ -68,6 +68,12 @@ module UltracartClient
|
|
68
68
|
# UltraCart merchant ID owning this order
|
69
69
|
attr_accessor :merchant_id
|
70
70
|
|
71
|
+
# The date/time the auto order was merged into another auto order
|
72
|
+
attr_accessor :merged_dts
|
73
|
+
|
74
|
+
# The auto order that this auto order was merged into
|
75
|
+
attr_accessor :merged_into_auto_order_oid
|
76
|
+
|
71
77
|
# The next time that the auto order will be attempted for processing
|
72
78
|
attr_accessor :next_attempt
|
73
79
|
|
@@ -131,6 +137,8 @@ module UltracartClient
|
|
131
137
|
:'logs' => :'logs',
|
132
138
|
:'management' => :'management',
|
133
139
|
:'merchant_id' => :'merchant_id',
|
140
|
+
:'merged_dts' => :'merged_dts',
|
141
|
+
:'merged_into_auto_order_oid' => :'merged_into_auto_order_oid',
|
134
142
|
:'next_attempt' => :'next_attempt',
|
135
143
|
:'original_order' => :'original_order',
|
136
144
|
:'original_order_id' => :'original_order_id',
|
@@ -167,6 +175,8 @@ module UltracartClient
|
|
167
175
|
:'logs' => :'Array<AutoOrderLog>',
|
168
176
|
:'management' => :'AutoOrderManagement',
|
169
177
|
:'merchant_id' => :'String',
|
178
|
+
:'merged_dts' => :'String',
|
179
|
+
:'merged_into_auto_order_oid' => :'Integer',
|
170
180
|
:'next_attempt' => :'String',
|
171
181
|
:'original_order' => :'Order',
|
172
182
|
:'original_order_id' => :'String',
|
@@ -276,6 +286,14 @@ module UltracartClient
|
|
276
286
|
self.merchant_id = attributes[:'merchant_id']
|
277
287
|
end
|
278
288
|
|
289
|
+
if attributes.key?(:'merged_dts')
|
290
|
+
self.merged_dts = attributes[:'merged_dts']
|
291
|
+
end
|
292
|
+
|
293
|
+
if attributes.key?(:'merged_into_auto_order_oid')
|
294
|
+
self.merged_into_auto_order_oid = attributes[:'merged_into_auto_order_oid']
|
295
|
+
end
|
296
|
+
|
279
297
|
if attributes.key?(:'next_attempt')
|
280
298
|
self.next_attempt = attributes[:'next_attempt']
|
281
299
|
end
|
@@ -317,7 +335,7 @@ module UltracartClient
|
|
317
335
|
# Check to see if the all the properties in the model are valid
|
318
336
|
# @return true if the model is valid
|
319
337
|
def valid?
|
320
|
-
status_validator = EnumAttributeValidator.new('String', ["active", "canceled", "disabled"])
|
338
|
+
status_validator = EnumAttributeValidator.new('String', ["active", "canceled", "disabled", "merged"])
|
321
339
|
return false unless status_validator.valid?(@status)
|
322
340
|
true
|
323
341
|
end
|
@@ -325,7 +343,7 @@ module UltracartClient
|
|
325
343
|
# Custom attribute writer method checking allowed values (enum).
|
326
344
|
# @param [Object] status Object to be assigned
|
327
345
|
def status=(status)
|
328
|
-
validator = EnumAttributeValidator.new('String', ["active", "canceled", "disabled"])
|
346
|
+
validator = EnumAttributeValidator.new('String', ["active", "canceled", "disabled", "merged"])
|
329
347
|
unless validator.valid?(status)
|
330
348
|
fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}."
|
331
349
|
end
|
@@ -355,6 +373,8 @@ module UltracartClient
|
|
355
373
|
logs == o.logs &&
|
356
374
|
management == o.management &&
|
357
375
|
merchant_id == o.merchant_id &&
|
376
|
+
merged_dts == o.merged_dts &&
|
377
|
+
merged_into_auto_order_oid == o.merged_into_auto_order_oid &&
|
358
378
|
next_attempt == o.next_attempt &&
|
359
379
|
original_order == o.original_order &&
|
360
380
|
original_order_id == o.original_order_id &&
|
@@ -373,7 +393,7 @@ module UltracartClient
|
|
373
393
|
# Calculates hash code according to all attributes.
|
374
394
|
# @return [Integer] Hash code
|
375
395
|
def hash
|
376
|
-
[add_ons, auto_order_code, auto_order_oid, cancel_after_next_x_orders, cancel_downgrade, cancel_reason, cancel_upgrade, canceled_by_user, canceled_dts, completed, credit_card_attempt, disabled_dts, enabled, failure_reason, items, logs, management, merchant_id, next_attempt, original_order, original_order_id, override_affiliate_id, rebill_orders, rotating_transaction_gateway_code, status].hash
|
396
|
+
[add_ons, auto_order_code, auto_order_oid, cancel_after_next_x_orders, cancel_downgrade, cancel_reason, cancel_upgrade, canceled_by_user, canceled_dts, completed, credit_card_attempt, disabled_dts, enabled, failure_reason, items, logs, management, merchant_id, merged_dts, merged_into_auto_order_oid, next_attempt, original_order, original_order_id, override_affiliate_id, rebill_orders, rotating_transaction_gateway_code, status].hash
|
377
397
|
end
|
378
398
|
|
379
399
|
# 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: 4.0.
|
4
|
+
version: 4.0.213
|
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-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|