ultracart_api 3.10.195 → 3.10.196
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 +2 -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: 803da8ea91fc29479152b108e448463384fb0628ef534c607c52b26ce4e6e34c
|
4
|
+
data.tar.gz: 8750f128d900ef7873cb9cea1cdfeb173bcc7ebc4ed16025efb816856b5a49b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d86333aca0a9ee3046fa6747f094c321a393366d4c81c3b8ec33a74ae0258f723dfac75bd5f4516ebeb78d953ccc20f3ebd5c4c8c8240459712c679a9a5f1478
|
7
|
+
data.tar.gz: a371a8599c34f89604d33bbbfb63e41a94bfb234214e0444247cb925f8b3902665f542db442f2e738f079712e3fb044b7315ecff2ab7fb666b02f76d60bc9896
|
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.196
|
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.196.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.196.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.196'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1503,6 +1503,7 @@ Not every change is committed to every SDK.
|
|
1503
1503
|
|
1504
1504
|
| Version | Date | Comments |
|
1505
1505
|
| --: | :-: | --- |
|
1506
|
+
| 3.10.196 | 05/02/2024 | autoorder - fields to record merge association and tstamp |
|
1506
1507
|
| 3.10.195 | 05/01/2024 | getConversationPbxAudioUploadUrl - fix the response obj def |
|
1507
1508
|
| 3.10.194 | 04/24/2024 | esp - add fields for external generation on email |
|
1508
1509
|
| 3.10.193 | 04/04/2024 | AutoOrder.calculated_next_shipment_dts |
|
data/docs/AutoOrder.md
CHANGED
@@ -21,6 +21,8 @@ Name | Type | Description | Notes
|
|
21
21
|
**logs** | [**Array<AutoOrderLog>**](AutoOrderLog.md) | Logs associated with this auto order | [optional]
|
22
22
|
**management** | [**AutoOrderManagement**](AutoOrderManagement.md) | | [optional]
|
23
23
|
**merchant_id** | **String** | UltraCart merchant ID owning this order | [optional]
|
24
|
+
**merged_dts** | **String** | The date/time the auto order was merged into another auto order | [optional]
|
25
|
+
**merged_into_auto_order_oid** | **Integer** | The auto order that this auto order was merged into | [optional]
|
24
26
|
**next_attempt** | **String** | The next time that the auto order will be attempted for processing | [optional]
|
25
27
|
**original_order** | [**Order**](Order.md) | | [optional]
|
26
28
|
**original_order_id** | **String** | The original order id that this auto order is associated with. | [optional]
|
@@ -67,6 +67,12 @@ module UltracartClient
|
|
67
67
|
# UltraCart merchant ID owning this order
|
68
68
|
attr_accessor :merchant_id
|
69
69
|
|
70
|
+
# The date/time the auto order was merged into another auto order
|
71
|
+
attr_accessor :merged_dts
|
72
|
+
|
73
|
+
# The auto order that this auto order was merged into
|
74
|
+
attr_accessor :merged_into_auto_order_oid
|
75
|
+
|
70
76
|
# The next time that the auto order will be attempted for processing
|
71
77
|
attr_accessor :next_attempt
|
72
78
|
|
@@ -130,6 +136,8 @@ module UltracartClient
|
|
130
136
|
:'logs' => :'logs',
|
131
137
|
:'management' => :'management',
|
132
138
|
:'merchant_id' => :'merchant_id',
|
139
|
+
:'merged_dts' => :'merged_dts',
|
140
|
+
:'merged_into_auto_order_oid' => :'merged_into_auto_order_oid',
|
133
141
|
:'next_attempt' => :'next_attempt',
|
134
142
|
:'original_order' => :'original_order',
|
135
143
|
:'original_order_id' => :'original_order_id',
|
@@ -161,6 +169,8 @@ module UltracartClient
|
|
161
169
|
:'logs' => :'Array<AutoOrderLog>',
|
162
170
|
:'management' => :'AutoOrderManagement',
|
163
171
|
:'merchant_id' => :'String',
|
172
|
+
:'merged_dts' => :'String',
|
173
|
+
:'merged_into_auto_order_oid' => :'Integer',
|
164
174
|
:'next_attempt' => :'String',
|
165
175
|
:'original_order' => :'Order',
|
166
176
|
:'original_order_id' => :'String',
|
@@ -257,6 +267,14 @@ module UltracartClient
|
|
257
267
|
self.merchant_id = attributes[:'merchant_id']
|
258
268
|
end
|
259
269
|
|
270
|
+
if attributes.has_key?(:'merged_dts')
|
271
|
+
self.merged_dts = attributes[:'merged_dts']
|
272
|
+
end
|
273
|
+
|
274
|
+
if attributes.has_key?(:'merged_into_auto_order_oid')
|
275
|
+
self.merged_into_auto_order_oid = attributes[:'merged_into_auto_order_oid']
|
276
|
+
end
|
277
|
+
|
260
278
|
if attributes.has_key?(:'next_attempt')
|
261
279
|
self.next_attempt = attributes[:'next_attempt']
|
262
280
|
end
|
@@ -298,7 +316,7 @@ module UltracartClient
|
|
298
316
|
# Check to see if the all the properties in the model are valid
|
299
317
|
# @return true if the model is valid
|
300
318
|
def valid?
|
301
|
-
status_validator = EnumAttributeValidator.new('String', ['active', 'canceled', 'disabled'])
|
319
|
+
status_validator = EnumAttributeValidator.new('String', ['active', 'canceled', 'disabled', 'merged'])
|
302
320
|
return false unless status_validator.valid?(@status)
|
303
321
|
true
|
304
322
|
end
|
@@ -306,7 +324,7 @@ module UltracartClient
|
|
306
324
|
# Custom attribute writer method checking allowed values (enum).
|
307
325
|
# @param [Object] status Object to be assigned
|
308
326
|
def status=(status)
|
309
|
-
validator = EnumAttributeValidator.new('String', ['active', 'canceled', 'disabled'])
|
327
|
+
validator = EnumAttributeValidator.new('String', ['active', 'canceled', 'disabled', 'merged'])
|
310
328
|
unless validator.valid?(status)
|
311
329
|
fail ArgumentError, 'invalid value for "status", must be one of #{validator.allowable_values}.'
|
312
330
|
end
|
@@ -336,6 +354,8 @@ module UltracartClient
|
|
336
354
|
logs == o.logs &&
|
337
355
|
management == o.management &&
|
338
356
|
merchant_id == o.merchant_id &&
|
357
|
+
merged_dts == o.merged_dts &&
|
358
|
+
merged_into_auto_order_oid == o.merged_into_auto_order_oid &&
|
339
359
|
next_attempt == o.next_attempt &&
|
340
360
|
original_order == o.original_order &&
|
341
361
|
original_order_id == o.original_order_id &&
|
@@ -354,7 +374,7 @@ module UltracartClient
|
|
354
374
|
# Calculates hash code according to all attributes.
|
355
375
|
# @return [Fixnum] Hash code
|
356
376
|
def hash
|
357
|
-
[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
|
377
|
+
[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
|
358
378
|
end
|
359
379
|
|
360
380
|
# 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.196
|
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
|