ultracart_api 3.1.13 → 3.1.14
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/EmailCommseqEmail.md +1 -0
- data/docs/OrderApi.md +14 -0
- data/docs/OrderQuery.md +7 -0
- data/lib/ultracart_api/api/order_api.rb +21 -0
- data/lib/ultracart_api/models/email_commseq_email.rb +11 -1
- data/lib/ultracart_api/models/order_query.rb +71 -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: ef1b046aadb89beed9acf48ad09a4d2d7e7acbcd233cb98f5786cb66a842e009
|
4
|
+
data.tar.gz: b96255c07ae2ba530ac1861e5facb5a16e4e99c3847411aa01c0954ae25df59d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eba5db20276ecc1f01fc965a04629f9aa54e632c6fa88860da89429652783b5d949bb5eed6c2156d629d3b1a9224277461bb0c9105c2939820b8f8493b728eea
|
7
|
+
data.tar.gz: 5b569aa51718fd3f9c1af6d86c3955dd4478919f784f0d689b71fa7e1abc554627c8a68c2d1a2e94a8b0ad4073e43071b13b19cfd06c13895f6a13766b21c2c7
|
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.1.
|
10
|
+
- Package version: 3.1.14
|
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.1.
|
27
|
+
gem install ./ultracart_api-3.1.14.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.1.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.1.14.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.1.
|
35
|
+
gem 'ultracart_api', '~> 3.1.14'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1006,6 +1006,7 @@ Not every change is committed to every SDK.
|
|
1006
1006
|
|
1007
1007
|
| Version | Date | Comments |
|
1008
1008
|
| --: | :-: | --- |
|
1009
|
+
| 3.1.14 | 03/15/2021 | sort screen recordings by favorite flag |
|
1009
1010
|
| 3.1.13 | 03/02/2021 | new webhook order_payment_failed |
|
1010
1011
|
| 3.1.12 | 02/25/2021 | added screen recording visitor_first_seen property |
|
1011
1012
|
| 3.1.11 | 02/24/2021 | Added Screen recording visitor number |
|
data/docs/EmailCommseqEmail.md
CHANGED
@@ -25,6 +25,7 @@ Name | Type | Description | Notes
|
|
25
25
|
**smart_sending** | **BOOLEAN** | Smart sending | [optional]
|
26
26
|
**storefront_oid** | **Integer** | Storefront oid | [optional]
|
27
27
|
**subject** | **String** | Subject | [optional]
|
28
|
+
**suspended_for_spam** | **BOOLEAN** | True if the email was suspended for too high of a spam rate. | [optional]
|
28
29
|
**transactional_email** | **BOOLEAN** | Transactional email | [optional]
|
29
30
|
**version** | **Integer** | Version | [optional]
|
30
31
|
|
data/docs/OrderApi.md
CHANGED
@@ -535,6 +535,13 @@ opts = {
|
|
535
535
|
customer_profile_oid: 56, # Integer |
|
536
536
|
refund_date_begin: 'refund_date_begin_example', # String |
|
537
537
|
refund_date_end: 'refund_date_end_example', # String |
|
538
|
+
custom_field_1: 'custom_field_1_example', # String |
|
539
|
+
custom_field_2: 'custom_field_2_example', # String |
|
540
|
+
custom_field_3: 'custom_field_3_example', # String |
|
541
|
+
custom_field_4: 'custom_field_4_example', # String |
|
542
|
+
custom_field_5: 'custom_field_5_example', # String |
|
543
|
+
custom_field_6: 'custom_field_6_example', # String |
|
544
|
+
custom_field_7: 'custom_field_7_example', # String |
|
538
545
|
_limit: 100, # Integer | The maximum number of records to return on this one API call. (Maximum 200)
|
539
546
|
_offset: 0, # Integer | Pagination of the record set. Offset is a zero based index.
|
540
547
|
_sort: '_sort_example', # String | The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
|
@@ -584,6 +591,13 @@ Name | Type | Description | Notes
|
|
584
591
|
**customer_profile_oid** | **Integer**| | [optional]
|
585
592
|
**refund_date_begin** | **String**| | [optional]
|
586
593
|
**refund_date_end** | **String**| | [optional]
|
594
|
+
**custom_field_1** | **String**| | [optional]
|
595
|
+
**custom_field_2** | **String**| | [optional]
|
596
|
+
**custom_field_3** | **String**| | [optional]
|
597
|
+
**custom_field_4** | **String**| | [optional]
|
598
|
+
**custom_field_5** | **String**| | [optional]
|
599
|
+
**custom_field_6** | **String**| | [optional]
|
600
|
+
**custom_field_7** | **String**| | [optional]
|
587
601
|
**_limit** | **Integer**| The maximum number of records to return on this one API call. (Maximum 200) | [optional] [default to 100]
|
588
602
|
**_offset** | **Integer**| Pagination of the record set. Offset is a zero based index. | [optional] [default to 0]
|
589
603
|
**_sort** | **String**| The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional]
|
data/docs/OrderQuery.md
CHANGED
@@ -12,6 +12,13 @@ Name | Type | Description | Notes
|
|
12
12
|
**creation_date_begin** | **String** | Date/time that the order was created | [optional]
|
13
13
|
**creation_date_end** | **String** | Date/time that the order was created | [optional]
|
14
14
|
**current_stage** | **String** | Current stage that the order is in. | [optional]
|
15
|
+
**custom_field_1** | **String** | Custom field 1 | [optional]
|
16
|
+
**custom_field_2** | **String** | Custom field 2 | [optional]
|
17
|
+
**custom_field_3** | **String** | Custom field 3 | [optional]
|
18
|
+
**custom_field_4** | **String** | Custom field 4 | [optional]
|
19
|
+
**custom_field_5** | **String** | Custom field 5 | [optional]
|
20
|
+
**custom_field_6** | **String** | Custom field 6 | [optional]
|
21
|
+
**custom_field_7** | **String** | Custom field 7 | [optional]
|
15
22
|
**customer_profile_oid** | **Integer** | The customer profile to find associated orders for | [optional]
|
16
23
|
**email** | **String** | Email | [optional]
|
17
24
|
**first_name** | **String** | First name | [optional]
|
@@ -571,6 +571,13 @@ module UltracartClient
|
|
571
571
|
# @option opts [Integer] :customer_profile_oid
|
572
572
|
# @option opts [String] :refund_date_begin
|
573
573
|
# @option opts [String] :refund_date_end
|
574
|
+
# @option opts [String] :custom_field_1
|
575
|
+
# @option opts [String] :custom_field_2
|
576
|
+
# @option opts [String] :custom_field_3
|
577
|
+
# @option opts [String] :custom_field_4
|
578
|
+
# @option opts [String] :custom_field_5
|
579
|
+
# @option opts [String] :custom_field_6
|
580
|
+
# @option opts [String] :custom_field_7
|
574
581
|
# @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Maximum 200) (default to 100)
|
575
582
|
# @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index. (default to 0)
|
576
583
|
# @option opts [String] :_sort The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
|
@@ -614,6 +621,13 @@ module UltracartClient
|
|
614
621
|
# @option opts [Integer] :customer_profile_oid
|
615
622
|
# @option opts [String] :refund_date_begin
|
616
623
|
# @option opts [String] :refund_date_end
|
624
|
+
# @option opts [String] :custom_field_1
|
625
|
+
# @option opts [String] :custom_field_2
|
626
|
+
# @option opts [String] :custom_field_3
|
627
|
+
# @option opts [String] :custom_field_4
|
628
|
+
# @option opts [String] :custom_field_5
|
629
|
+
# @option opts [String] :custom_field_6
|
630
|
+
# @option opts [String] :custom_field_7
|
617
631
|
# @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Maximum 200)
|
618
632
|
# @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index.
|
619
633
|
# @option opts [String] :_sort The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
|
@@ -658,6 +672,13 @@ module UltracartClient
|
|
658
672
|
query_params[:'customer_profile_oid'] = opts[:'customer_profile_oid'] if !opts[:'customer_profile_oid'].nil?
|
659
673
|
query_params[:'Refund Date Begin'] = opts[:'refund_date_begin'] if !opts[:'refund_date_begin'].nil?
|
660
674
|
query_params[:'Refund Date End'] = opts[:'refund_date_end'] if !opts[:'refund_date_end'].nil?
|
675
|
+
query_params[:'Custom Field 1'] = opts[:'custom_field_1'] if !opts[:'custom_field_1'].nil?
|
676
|
+
query_params[:'Custom Field 2'] = opts[:'custom_field_2'] if !opts[:'custom_field_2'].nil?
|
677
|
+
query_params[:'Custom Field 3'] = opts[:'custom_field_3'] if !opts[:'custom_field_3'].nil?
|
678
|
+
query_params[:'Custom Field 4'] = opts[:'custom_field_4'] if !opts[:'custom_field_4'].nil?
|
679
|
+
query_params[:'Custom Field 5'] = opts[:'custom_field_5'] if !opts[:'custom_field_5'].nil?
|
680
|
+
query_params[:'Custom Field 6'] = opts[:'custom_field_6'] if !opts[:'custom_field_6'].nil?
|
681
|
+
query_params[:'Custom Field 7'] = opts[:'custom_field_7'] if !opts[:'custom_field_7'].nil?
|
661
682
|
query_params[:'_limit'] = opts[:'_limit'] if !opts[:'_limit'].nil?
|
662
683
|
query_params[:'_offset'] = opts[:'_offset'] if !opts[:'_offset'].nil?
|
663
684
|
query_params[:'_sort'] = opts[:'_sort'] if !opts[:'_sort'].nil?
|
@@ -80,6 +80,9 @@ module UltracartClient
|
|
80
80
|
# Subject
|
81
81
|
attr_accessor :subject
|
82
82
|
|
83
|
+
# True if the email was suspended for too high of a spam rate.
|
84
|
+
attr_accessor :suspended_for_spam
|
85
|
+
|
83
86
|
# Transactional email
|
84
87
|
attr_accessor :transactional_email
|
85
88
|
|
@@ -111,6 +114,7 @@ module UltracartClient
|
|
111
114
|
:'smart_sending' => :'smart_sending',
|
112
115
|
:'storefront_oid' => :'storefront_oid',
|
113
116
|
:'subject' => :'subject',
|
117
|
+
:'suspended_for_spam' => :'suspended_for_spam',
|
114
118
|
:'transactional_email' => :'transactional_email',
|
115
119
|
:'version' => :'version'
|
116
120
|
}
|
@@ -141,6 +145,7 @@ module UltracartClient
|
|
141
145
|
:'smart_sending' => :'BOOLEAN',
|
142
146
|
:'storefront_oid' => :'Integer',
|
143
147
|
:'subject' => :'String',
|
148
|
+
:'suspended_for_spam' => :'BOOLEAN',
|
144
149
|
:'transactional_email' => :'BOOLEAN',
|
145
150
|
:'version' => :'Integer'
|
146
151
|
}
|
@@ -242,6 +247,10 @@ module UltracartClient
|
|
242
247
|
self.subject = attributes[:'subject']
|
243
248
|
end
|
244
249
|
|
250
|
+
if attributes.has_key?(:'suspended_for_spam')
|
251
|
+
self.suspended_for_spam = attributes[:'suspended_for_spam']
|
252
|
+
end
|
253
|
+
|
245
254
|
if attributes.has_key?(:'transactional_email')
|
246
255
|
self.transactional_email = attributes[:'transactional_email']
|
247
256
|
end
|
@@ -291,6 +300,7 @@ module UltracartClient
|
|
291
300
|
smart_sending == o.smart_sending &&
|
292
301
|
storefront_oid == o.storefront_oid &&
|
293
302
|
subject == o.subject &&
|
303
|
+
suspended_for_spam == o.suspended_for_spam &&
|
294
304
|
transactional_email == o.transactional_email &&
|
295
305
|
version == o.version
|
296
306
|
end
|
@@ -304,7 +314,7 @@ module UltracartClient
|
|
304
314
|
# Calculates hash code according to all attributes.
|
305
315
|
# @return [Fixnum] Hash code
|
306
316
|
def hash
|
307
|
-
[deleted, edited_by_user, email_communication_sequence_email_uuid, email_communication_sequence_uuid, email_container_cjson, email_container_cjson_last_modified_dts, email_template_vm_path, filter_profile_equation_json, individually_render, library_item_oid, merchant_id, pending_review, preview_text, rejected, requires_review, screenshot_large_full_url, screenshot_large_viewport_url, screenshot_small_full_url, screenshot_small_viewport_url, smart_sending, storefront_oid, subject, transactional_email, version].hash
|
317
|
+
[deleted, edited_by_user, email_communication_sequence_email_uuid, email_communication_sequence_uuid, email_container_cjson, email_container_cjson_last_modified_dts, email_template_vm_path, filter_profile_equation_json, individually_render, library_item_oid, merchant_id, pending_review, preview_text, rejected, requires_review, screenshot_large_full_url, screenshot_large_viewport_url, screenshot_small_full_url, screenshot_small_viewport_url, smart_sending, storefront_oid, subject, suspended_for_spam, transactional_email, version].hash
|
308
318
|
end
|
309
319
|
|
310
320
|
# Builds the object from hash
|
@@ -41,6 +41,27 @@ module UltracartClient
|
|
41
41
|
# Current stage that the order is in.
|
42
42
|
attr_accessor :current_stage
|
43
43
|
|
44
|
+
# Custom field 1
|
45
|
+
attr_accessor :custom_field_1
|
46
|
+
|
47
|
+
# Custom field 2
|
48
|
+
attr_accessor :custom_field_2
|
49
|
+
|
50
|
+
# Custom field 3
|
51
|
+
attr_accessor :custom_field_3
|
52
|
+
|
53
|
+
# Custom field 4
|
54
|
+
attr_accessor :custom_field_4
|
55
|
+
|
56
|
+
# Custom field 5
|
57
|
+
attr_accessor :custom_field_5
|
58
|
+
|
59
|
+
# Custom field 6
|
60
|
+
attr_accessor :custom_field_6
|
61
|
+
|
62
|
+
# Custom field 7
|
63
|
+
attr_accessor :custom_field_7
|
64
|
+
|
44
65
|
# The customer profile to find associated orders for
|
45
66
|
attr_accessor :customer_profile_oid
|
46
67
|
|
@@ -138,6 +159,13 @@ module UltracartClient
|
|
138
159
|
:'creation_date_begin' => :'creation_date_begin',
|
139
160
|
:'creation_date_end' => :'creation_date_end',
|
140
161
|
:'current_stage' => :'current_stage',
|
162
|
+
:'custom_field_1' => :'custom_field_1',
|
163
|
+
:'custom_field_2' => :'custom_field_2',
|
164
|
+
:'custom_field_3' => :'custom_field_3',
|
165
|
+
:'custom_field_4' => :'custom_field_4',
|
166
|
+
:'custom_field_5' => :'custom_field_5',
|
167
|
+
:'custom_field_6' => :'custom_field_6',
|
168
|
+
:'custom_field_7' => :'custom_field_7',
|
141
169
|
:'customer_profile_oid' => :'customer_profile_oid',
|
142
170
|
:'email' => :'email',
|
143
171
|
:'first_name' => :'first_name',
|
@@ -174,6 +202,13 @@ module UltracartClient
|
|
174
202
|
:'creation_date_begin' => :'String',
|
175
203
|
:'creation_date_end' => :'String',
|
176
204
|
:'current_stage' => :'String',
|
205
|
+
:'custom_field_1' => :'String',
|
206
|
+
:'custom_field_2' => :'String',
|
207
|
+
:'custom_field_3' => :'String',
|
208
|
+
:'custom_field_4' => :'String',
|
209
|
+
:'custom_field_5' => :'String',
|
210
|
+
:'custom_field_6' => :'String',
|
211
|
+
:'custom_field_7' => :'String',
|
177
212
|
:'customer_profile_oid' => :'Integer',
|
178
213
|
:'email' => :'String',
|
179
214
|
:'first_name' => :'String',
|
@@ -242,6 +277,34 @@ module UltracartClient
|
|
242
277
|
self.current_stage = attributes[:'current_stage']
|
243
278
|
end
|
244
279
|
|
280
|
+
if attributes.has_key?(:'custom_field_1')
|
281
|
+
self.custom_field_1 = attributes[:'custom_field_1']
|
282
|
+
end
|
283
|
+
|
284
|
+
if attributes.has_key?(:'custom_field_2')
|
285
|
+
self.custom_field_2 = attributes[:'custom_field_2']
|
286
|
+
end
|
287
|
+
|
288
|
+
if attributes.has_key?(:'custom_field_3')
|
289
|
+
self.custom_field_3 = attributes[:'custom_field_3']
|
290
|
+
end
|
291
|
+
|
292
|
+
if attributes.has_key?(:'custom_field_4')
|
293
|
+
self.custom_field_4 = attributes[:'custom_field_4']
|
294
|
+
end
|
295
|
+
|
296
|
+
if attributes.has_key?(:'custom_field_5')
|
297
|
+
self.custom_field_5 = attributes[:'custom_field_5']
|
298
|
+
end
|
299
|
+
|
300
|
+
if attributes.has_key?(:'custom_field_6')
|
301
|
+
self.custom_field_6 = attributes[:'custom_field_6']
|
302
|
+
end
|
303
|
+
|
304
|
+
if attributes.has_key?(:'custom_field_7')
|
305
|
+
self.custom_field_7 = attributes[:'custom_field_7']
|
306
|
+
end
|
307
|
+
|
245
308
|
if attributes.has_key?(:'customer_profile_oid')
|
246
309
|
self.customer_profile_oid = attributes[:'customer_profile_oid']
|
247
310
|
end
|
@@ -558,6 +621,13 @@ module UltracartClient
|
|
558
621
|
creation_date_begin == o.creation_date_begin &&
|
559
622
|
creation_date_end == o.creation_date_end &&
|
560
623
|
current_stage == o.current_stage &&
|
624
|
+
custom_field_1 == o.custom_field_1 &&
|
625
|
+
custom_field_2 == o.custom_field_2 &&
|
626
|
+
custom_field_3 == o.custom_field_3 &&
|
627
|
+
custom_field_4 == o.custom_field_4 &&
|
628
|
+
custom_field_5 == o.custom_field_5 &&
|
629
|
+
custom_field_6 == o.custom_field_6 &&
|
630
|
+
custom_field_7 == o.custom_field_7 &&
|
561
631
|
customer_profile_oid == o.customer_profile_oid &&
|
562
632
|
email == o.email &&
|
563
633
|
first_name == o.first_name &&
|
@@ -590,7 +660,7 @@ module UltracartClient
|
|
590
660
|
# Calculates hash code according to all attributes.
|
591
661
|
# @return [Fixnum] Hash code
|
592
662
|
def hash
|
593
|
-
[cc_email, channel_partner_code, channel_partner_order_id, city, company, country_code, creation_date_begin, creation_date_end, current_stage, 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, state_region, storefront_host_name, total].hash
|
663
|
+
[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_2, custom_field_3, custom_field_4, custom_field_5, custom_field_6, custom_field_7, 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, state_region, storefront_host_name, total].hash
|
594
664
|
end
|
595
665
|
|
596
666
|
# 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.1.
|
4
|
+
version: 3.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|