ultracart_api 3.2.4 → 3.2.10
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 +4 -4
- data/README.md +9 -4
- data/docs/AutoOrderQuery.md +3 -1
- data/docs/Customer.md +1 -0
- data/docs/IntegrationLog.md +4 -1
- data/docs/IntegrationLogQueryFilterValues.md +3 -0
- data/docs/IntegrationLogQueryRequest.md +1 -0
- data/docs/ScreenRecordingSettings.md +2 -0
- data/lib/ultracart_api/models/auto_order_query.rb +22 -2
- data/lib/ultracart_api/models/customer.rb +11 -1
- data/lib/ultracart_api/models/integration_log.rb +32 -4
- data/lib/ultracart_api/models/integration_log_query_filter_values.rb +32 -1
- data/lib/ultracart_api/models/integration_log_query_request.rb +10 -1
- data/lib/ultracart_api/models/screen_recording_settings.rb +21 -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: 16cada7affe2fe3fb59b93e34e354be088f9407086af9372a555bba894a60ac6
|
|
4
|
+
data.tar.gz: 831cb76e3d2835935266a8ec34b2dfdbc950c0ed33a526aa589ef005f6bde78f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5210877c6aaa58718de4d451c255269bf67584be59cc63871a0e58c8f688f01488f0b75bc0fbbfd7dffe2b686360365020c7c2826e8677a63263e34814b39156
|
|
7
|
+
data.tar.gz: 97c7da993cdee27c2adf586160335df72e5a1a21ac2f5410a9d96097c62167dab0435c7fa383fd2e687a2830f8150b18d837a94d9b371ed8449fe3d9d2740fea
|
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.2.
|
|
10
|
+
- Package version: 3.2.10
|
|
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.2.
|
|
27
|
+
gem install ./ultracart_api-3.2.10.gem
|
|
28
28
|
```
|
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.2.
|
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.2.10.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.2.
|
|
35
|
+
gem 'ultracart_api', '~> 3.2.10'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -1032,6 +1032,11 @@ Not every change is committed to every SDK.
|
|
|
1032
1032
|
|
|
1033
1033
|
| Version | Date | Comments |
|
|
1034
1034
|
| --: | :-: | --- |
|
|
1035
|
+
| 3.2.10 | 07/08/2021 | customer profile - allow drop shipping options |
|
|
1036
|
+
| 3.2.9 | 07/07/2021 | screen recording - provide cost per thousand and retention interval |
|
|
1037
|
+
| 3.2.8 | 07/06/2021 | intgeration logs - min max log date/time retured in filter values |
|
|
1038
|
+
| 3.2.7 | 07/05/2021 | integration logger bug fixes |
|
|
1039
|
+
| 3.2.6 | 06/25/2021 | integration log: added logger name |
|
|
1035
1040
|
| 3.2.2 | 06/24/2021 | integration log file mime type added |
|
|
1036
1041
|
| 3.2.0 | 06/23/2021 | Changed 4 methods due to naming conflicts revealed through swagger validator. All internal methods, so impact should be negligible |
|
|
1037
1042
|
| 3.1.50 | 06/23/2021 | Integrated Logging: returning back streamed files for log requests |
|
data/docs/AutoOrderQuery.md
CHANGED
|
@@ -11,10 +11,12 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**customer_profile_oid** | **Integer** | Customer profile object identifier | [optional]
|
|
12
12
|
**email** | **String** | Email | [optional]
|
|
13
13
|
**first_name** | **String** | First name | [optional]
|
|
14
|
-
**item_id** | **String** | Item ID | [optional]
|
|
14
|
+
**item_id** | **String** | Item ID. Deprecated query field. This incorrectly meant the original order contained this item id. | [optional]
|
|
15
15
|
**last_name** | **String** | Last name | [optional]
|
|
16
|
+
**next_item_id** | **String** | Next Item ID that is supposed to ship. This is calculated based upon the schedule associated with the original item id. | [optional]
|
|
16
17
|
**next_shipment_date_begin** | **String** | Next shipment date begin | [optional]
|
|
17
18
|
**next_shipment_date_end** | **String** | Next shipment date end | [optional]
|
|
19
|
+
**original_item_id** | **String** | Original Item ID purchased on auto order. | [optional]
|
|
18
20
|
**original_order_date_begin** | **String** | Original order date begin | [optional]
|
|
19
21
|
**original_order_date_end** | **String** | Original order date end | [optional]
|
|
20
22
|
**original_order_id** | **String** | Original order ID | [optional]
|
data/docs/Customer.md
CHANGED
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**affiliate_oid** | **Integer** | Affiliate oid | [optional]
|
|
8
8
|
**allow_3rd_party_billing** | **BOOLEAN** | Allow 3rd party billing | [optional]
|
|
9
9
|
**allow_cod** | **BOOLEAN** | Allow COD | [optional]
|
|
10
|
+
**allow_drop_shipping** | **BOOLEAN** | Allow Drop Shipping | [optional]
|
|
10
11
|
**allow_purchase_order** | **BOOLEAN** | Allow purchase orders by this customer | [optional]
|
|
11
12
|
**allow_quote_request** | **BOOLEAN** | Allow quote request | [optional]
|
|
12
13
|
**allow_selection_of_address_type** | **BOOLEAN** | Allow selection of residential or business address type | [optional]
|
data/docs/IntegrationLog.md
CHANGED
|
@@ -10,13 +10,16 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**integration_log_oid** | **Integer** | | [optional]
|
|
11
11
|
**item_id** | **String** | | [optional]
|
|
12
12
|
**item_ipn_oid** | **Integer** | | [optional]
|
|
13
|
-
**log_dts** | **String** |
|
|
13
|
+
**log_dts** | **String** | Date/time the integration log was created | [optional]
|
|
14
14
|
**log_type** | **String** | | [optional]
|
|
15
15
|
**logger_id** | **String** | | [optional]
|
|
16
|
+
**logger_name** | **String** | | [optional]
|
|
16
17
|
**logs** | [**Array<IntegrationLogLog>**](IntegrationLogLog.md) | | [optional]
|
|
18
|
+
**omit_log_map** | **BOOLEAN** | | [optional]
|
|
17
19
|
**order_ids** | **Array<String>** | | [optional]
|
|
18
20
|
**pk** | **String** | | [optional]
|
|
19
21
|
**sk** | **String** | | [optional]
|
|
20
22
|
**status** | **String** | | [optional]
|
|
23
|
+
**status_code** | **Integer** | | [optional]
|
|
21
24
|
|
|
22
25
|
|
|
@@ -9,7 +9,10 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**file_names** | **Array<String>** | | [optional]
|
|
10
10
|
**item_ids** | **Array<String>** | | [optional]
|
|
11
11
|
**item_ipn_oids** | **Array<Integer>** | | [optional]
|
|
12
|
+
**log_dts_max** | **String** | Maximum date/time log date/time | [optional]
|
|
13
|
+
**log_dts_min** | **String** | Minimum date/time log date/time | [optional]
|
|
12
14
|
**log_types** | **Array<String>** | | [optional]
|
|
15
|
+
**logger_names** | **Array<String>** | | [optional]
|
|
13
16
|
**order_ids** | **Array<String>** | | [optional]
|
|
14
17
|
**statuses** | **Array<String>** | | [optional]
|
|
15
18
|
|
|
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**log_dts_end** | **String** | Log date/time end | [optional]
|
|
14
14
|
**log_type** | **String** | | [optional]
|
|
15
15
|
**logger_id** | **String** | | [optional]
|
|
16
|
+
**logger_name** | **String** | | [optional]
|
|
16
17
|
**order_ids** | **Array<String>** | | [optional]
|
|
17
18
|
**status** | **String** | | [optional]
|
|
18
19
|
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**cost_per_thousand** | **Float** | Cost per one thousand sessions | [optional]
|
|
6
7
|
**enabled** | **BOOLEAN** | | [optional]
|
|
8
|
+
**retention_interval** | **String** | How long screen recording data is retained | [optional]
|
|
7
9
|
**sessions_current_billing_period** | **Integer** | | [optional]
|
|
8
10
|
**sessions_last_billing_period** | **Integer** | | [optional]
|
|
9
11
|
**sessions_trial_billing_period** | **Integer** | | [optional]
|
|
@@ -38,18 +38,24 @@ module UltracartClient
|
|
|
38
38
|
# First name
|
|
39
39
|
attr_accessor :first_name
|
|
40
40
|
|
|
41
|
-
# Item ID
|
|
41
|
+
# Item ID. Deprecated query field. This incorrectly meant the original order contained this item id.
|
|
42
42
|
attr_accessor :item_id
|
|
43
43
|
|
|
44
44
|
# Last name
|
|
45
45
|
attr_accessor :last_name
|
|
46
46
|
|
|
47
|
+
# Next Item ID that is supposed to ship. This is calculated based upon the schedule associated with the original item id.
|
|
48
|
+
attr_accessor :next_item_id
|
|
49
|
+
|
|
47
50
|
# Next shipment date begin
|
|
48
51
|
attr_accessor :next_shipment_date_begin
|
|
49
52
|
|
|
50
53
|
# Next shipment date end
|
|
51
54
|
attr_accessor :next_shipment_date_end
|
|
52
55
|
|
|
56
|
+
# Original Item ID purchased on auto order.
|
|
57
|
+
attr_accessor :original_item_id
|
|
58
|
+
|
|
53
59
|
# Original order date begin
|
|
54
60
|
attr_accessor :original_order_date_begin
|
|
55
61
|
|
|
@@ -84,8 +90,10 @@ module UltracartClient
|
|
|
84
90
|
:'first_name' => :'first_name',
|
|
85
91
|
:'item_id' => :'item_id',
|
|
86
92
|
:'last_name' => :'last_name',
|
|
93
|
+
:'next_item_id' => :'next_item_id',
|
|
87
94
|
:'next_shipment_date_begin' => :'next_shipment_date_begin',
|
|
88
95
|
:'next_shipment_date_end' => :'next_shipment_date_end',
|
|
96
|
+
:'original_item_id' => :'original_item_id',
|
|
89
97
|
:'original_order_date_begin' => :'original_order_date_begin',
|
|
90
98
|
:'original_order_date_end' => :'original_order_date_end',
|
|
91
99
|
:'original_order_id' => :'original_order_id',
|
|
@@ -109,8 +117,10 @@ module UltracartClient
|
|
|
109
117
|
:'first_name' => :'String',
|
|
110
118
|
:'item_id' => :'String',
|
|
111
119
|
:'last_name' => :'String',
|
|
120
|
+
:'next_item_id' => :'String',
|
|
112
121
|
:'next_shipment_date_begin' => :'String',
|
|
113
122
|
:'next_shipment_date_end' => :'String',
|
|
123
|
+
:'original_item_id' => :'String',
|
|
114
124
|
:'original_order_date_begin' => :'String',
|
|
115
125
|
:'original_order_date_end' => :'String',
|
|
116
126
|
:'original_order_id' => :'String',
|
|
@@ -169,6 +179,10 @@ module UltracartClient
|
|
|
169
179
|
self.last_name = attributes[:'last_name']
|
|
170
180
|
end
|
|
171
181
|
|
|
182
|
+
if attributes.has_key?(:'next_item_id')
|
|
183
|
+
self.next_item_id = attributes[:'next_item_id']
|
|
184
|
+
end
|
|
185
|
+
|
|
172
186
|
if attributes.has_key?(:'next_shipment_date_begin')
|
|
173
187
|
self.next_shipment_date_begin = attributes[:'next_shipment_date_begin']
|
|
174
188
|
end
|
|
@@ -177,6 +191,10 @@ module UltracartClient
|
|
|
177
191
|
self.next_shipment_date_end = attributes[:'next_shipment_date_end']
|
|
178
192
|
end
|
|
179
193
|
|
|
194
|
+
if attributes.has_key?(:'original_item_id')
|
|
195
|
+
self.original_item_id = attributes[:'original_item_id']
|
|
196
|
+
end
|
|
197
|
+
|
|
180
198
|
if attributes.has_key?(:'original_order_date_begin')
|
|
181
199
|
self.original_order_date_begin = attributes[:'original_order_date_begin']
|
|
182
200
|
end
|
|
@@ -294,8 +312,10 @@ module UltracartClient
|
|
|
294
312
|
first_name == o.first_name &&
|
|
295
313
|
item_id == o.item_id &&
|
|
296
314
|
last_name == o.last_name &&
|
|
315
|
+
next_item_id == o.next_item_id &&
|
|
297
316
|
next_shipment_date_begin == o.next_shipment_date_begin &&
|
|
298
317
|
next_shipment_date_end == o.next_shipment_date_end &&
|
|
318
|
+
original_item_id == o.original_item_id &&
|
|
299
319
|
original_order_date_begin == o.original_order_date_begin &&
|
|
300
320
|
original_order_date_end == o.original_order_date_end &&
|
|
301
321
|
original_order_id == o.original_order_id &&
|
|
@@ -314,7 +334,7 @@ module UltracartClient
|
|
|
314
334
|
# Calculates hash code according to all attributes.
|
|
315
335
|
# @return [Fixnum] Hash code
|
|
316
336
|
def hash
|
|
317
|
-
[auto_order_code, card_type, city, company, country_code, customer_profile_oid, email, first_name, item_id, last_name, next_shipment_date_begin, next_shipment_date_end, original_order_date_begin, original_order_date_end, original_order_id, phone, postal_code, state, status].hash
|
|
337
|
+
[auto_order_code, card_type, city, company, country_code, customer_profile_oid, email, first_name, item_id, last_name, next_item_id, next_shipment_date_begin, next_shipment_date_end, original_item_id, original_order_date_begin, original_order_date_end, original_order_id, phone, postal_code, state, status].hash
|
|
318
338
|
end
|
|
319
339
|
|
|
320
340
|
# Builds the object from hash
|
|
@@ -25,6 +25,9 @@ module UltracartClient
|
|
|
25
25
|
# Allow COD
|
|
26
26
|
attr_accessor :allow_cod
|
|
27
27
|
|
|
28
|
+
# Allow Drop Shipping
|
|
29
|
+
attr_accessor :allow_drop_shipping
|
|
30
|
+
|
|
28
31
|
# Allow purchase orders by this customer
|
|
29
32
|
attr_accessor :allow_purchase_order
|
|
30
33
|
|
|
@@ -188,6 +191,7 @@ module UltracartClient
|
|
|
188
191
|
:'affiliate_oid' => :'affiliate_oid',
|
|
189
192
|
:'allow_3rd_party_billing' => :'allow_3rd_party_billing',
|
|
190
193
|
:'allow_cod' => :'allow_cod',
|
|
194
|
+
:'allow_drop_shipping' => :'allow_drop_shipping',
|
|
191
195
|
:'allow_purchase_order' => :'allow_purchase_order',
|
|
192
196
|
:'allow_quote_request' => :'allow_quote_request',
|
|
193
197
|
:'allow_selection_of_address_type' => :'allow_selection_of_address_type',
|
|
@@ -252,6 +256,7 @@ module UltracartClient
|
|
|
252
256
|
:'affiliate_oid' => :'Integer',
|
|
253
257
|
:'allow_3rd_party_billing' => :'BOOLEAN',
|
|
254
258
|
:'allow_cod' => :'BOOLEAN',
|
|
259
|
+
:'allow_drop_shipping' => :'BOOLEAN',
|
|
255
260
|
:'allow_purchase_order' => :'BOOLEAN',
|
|
256
261
|
:'allow_quote_request' => :'BOOLEAN',
|
|
257
262
|
:'allow_selection_of_address_type' => :'BOOLEAN',
|
|
@@ -333,6 +338,10 @@ module UltracartClient
|
|
|
333
338
|
self.allow_cod = attributes[:'allow_cod']
|
|
334
339
|
end
|
|
335
340
|
|
|
341
|
+
if attributes.has_key?(:'allow_drop_shipping')
|
|
342
|
+
self.allow_drop_shipping = attributes[:'allow_drop_shipping']
|
|
343
|
+
end
|
|
344
|
+
|
|
336
345
|
if attributes.has_key?(:'allow_purchase_order')
|
|
337
346
|
self.allow_purchase_order = attributes[:'allow_purchase_order']
|
|
338
347
|
end
|
|
@@ -757,6 +766,7 @@ module UltracartClient
|
|
|
757
766
|
affiliate_oid == o.affiliate_oid &&
|
|
758
767
|
allow_3rd_party_billing == o.allow_3rd_party_billing &&
|
|
759
768
|
allow_cod == o.allow_cod &&
|
|
769
|
+
allow_drop_shipping == o.allow_drop_shipping &&
|
|
760
770
|
allow_purchase_order == o.allow_purchase_order &&
|
|
761
771
|
allow_quote_request == o.allow_quote_request &&
|
|
762
772
|
allow_selection_of_address_type == o.allow_selection_of_address_type &&
|
|
@@ -822,7 +832,7 @@ module UltracartClient
|
|
|
822
832
|
# Calculates hash code according to all attributes.
|
|
823
833
|
# @return [Fixnum] Hash code
|
|
824
834
|
def hash
|
|
825
|
-
[activity, affiliate_oid, allow_3rd_party_billing, allow_cod, allow_purchase_order, allow_quote_request, allow_selection_of_address_type, attachments, auto_approve_cod, auto_approve_purchase_order, automatic_merchant_notes, billing, business_notes, cards, cc_emails, customer_profile_oid, dhl_account_number, dhl_duty_account_number, email, exempt_shipping_handling_charge, fedex_account_number, free_shipping, free_shipping_minimum, last_modified_by, last_modified_dts, loyalty, maximum_item_count, minimum_item_count, minimum_subtotal, no_coupons, no_free_shipping, no_realtime_charge, orders, orders_summary, password, pricing_tiers, privacy, qb_class, qb_code, quotes, quotes_summary, referral_source, reviewer, sales_rep_code, send_signup_notification, shipping, signup_dts, software_entitlements, suppress_buysafe, tags, tax_codes, tax_exempt, tax_id, terms, track_separately, unapproved, ups_account_number, website_url].hash
|
|
835
|
+
[activity, affiliate_oid, allow_3rd_party_billing, allow_cod, allow_drop_shipping, allow_purchase_order, allow_quote_request, allow_selection_of_address_type, attachments, auto_approve_cod, auto_approve_purchase_order, automatic_merchant_notes, billing, business_notes, cards, cc_emails, customer_profile_oid, dhl_account_number, dhl_duty_account_number, email, exempt_shipping_handling_charge, fedex_account_number, free_shipping, free_shipping_minimum, last_modified_by, last_modified_dts, loyalty, maximum_item_count, minimum_item_count, minimum_subtotal, no_coupons, no_free_shipping, no_realtime_charge, orders, orders_summary, password, pricing_tiers, privacy, qb_class, qb_code, quotes, quotes_summary, referral_source, reviewer, sales_rep_code, send_signup_notification, shipping, signup_dts, software_entitlements, suppress_buysafe, tags, tax_codes, tax_exempt, tax_id, terms, track_separately, unapproved, ups_account_number, website_url].hash
|
|
826
836
|
end
|
|
827
837
|
|
|
828
838
|
# Builds the object from hash
|
|
@@ -28,14 +28,19 @@ module UltracartClient
|
|
|
28
28
|
|
|
29
29
|
attr_accessor :item_ipn_oid
|
|
30
30
|
|
|
31
|
+
# Date/time the integration log was created
|
|
31
32
|
attr_accessor :log_dts
|
|
32
33
|
|
|
33
34
|
attr_accessor :log_type
|
|
34
35
|
|
|
35
36
|
attr_accessor :logger_id
|
|
36
37
|
|
|
38
|
+
attr_accessor :logger_name
|
|
39
|
+
|
|
37
40
|
attr_accessor :logs
|
|
38
41
|
|
|
42
|
+
attr_accessor :omit_log_map
|
|
43
|
+
|
|
39
44
|
attr_accessor :order_ids
|
|
40
45
|
|
|
41
46
|
attr_accessor :pk
|
|
@@ -44,6 +49,8 @@ module UltracartClient
|
|
|
44
49
|
|
|
45
50
|
attr_accessor :status
|
|
46
51
|
|
|
52
|
+
attr_accessor :status_code
|
|
53
|
+
|
|
47
54
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
48
55
|
def self.attribute_map
|
|
49
56
|
{
|
|
@@ -57,11 +64,14 @@ module UltracartClient
|
|
|
57
64
|
:'log_dts' => :'log_dts',
|
|
58
65
|
:'log_type' => :'log_type',
|
|
59
66
|
:'logger_id' => :'logger_id',
|
|
67
|
+
:'logger_name' => :'logger_name',
|
|
60
68
|
:'logs' => :'logs',
|
|
69
|
+
:'omit_log_map' => :'omit_log_map',
|
|
61
70
|
:'order_ids' => :'order_ids',
|
|
62
71
|
:'pk' => :'pk',
|
|
63
72
|
:'sk' => :'sk',
|
|
64
|
-
:'status' => :'status'
|
|
73
|
+
:'status' => :'status',
|
|
74
|
+
:'status_code' => :'status_code'
|
|
65
75
|
}
|
|
66
76
|
end
|
|
67
77
|
|
|
@@ -78,11 +88,14 @@ module UltracartClient
|
|
|
78
88
|
:'log_dts' => :'String',
|
|
79
89
|
:'log_type' => :'String',
|
|
80
90
|
:'logger_id' => :'String',
|
|
91
|
+
:'logger_name' => :'String',
|
|
81
92
|
:'logs' => :'Array<IntegrationLogLog>',
|
|
93
|
+
:'omit_log_map' => :'BOOLEAN',
|
|
82
94
|
:'order_ids' => :'Array<String>',
|
|
83
95
|
:'pk' => :'String',
|
|
84
96
|
:'sk' => :'String',
|
|
85
|
-
:'status' => :'String'
|
|
97
|
+
:'status' => :'String',
|
|
98
|
+
:'status_code' => :'Integer'
|
|
86
99
|
}
|
|
87
100
|
end
|
|
88
101
|
|
|
@@ -136,12 +149,20 @@ module UltracartClient
|
|
|
136
149
|
self.logger_id = attributes[:'logger_id']
|
|
137
150
|
end
|
|
138
151
|
|
|
152
|
+
if attributes.has_key?(:'logger_name')
|
|
153
|
+
self.logger_name = attributes[:'logger_name']
|
|
154
|
+
end
|
|
155
|
+
|
|
139
156
|
if attributes.has_key?(:'logs')
|
|
140
157
|
if (value = attributes[:'logs']).is_a?(Array)
|
|
141
158
|
self.logs = value
|
|
142
159
|
end
|
|
143
160
|
end
|
|
144
161
|
|
|
162
|
+
if attributes.has_key?(:'omit_log_map')
|
|
163
|
+
self.omit_log_map = attributes[:'omit_log_map']
|
|
164
|
+
end
|
|
165
|
+
|
|
145
166
|
if attributes.has_key?(:'order_ids')
|
|
146
167
|
if (value = attributes[:'order_ids']).is_a?(Array)
|
|
147
168
|
self.order_ids = value
|
|
@@ -159,6 +180,10 @@ module UltracartClient
|
|
|
159
180
|
if attributes.has_key?(:'status')
|
|
160
181
|
self.status = attributes[:'status']
|
|
161
182
|
end
|
|
183
|
+
|
|
184
|
+
if attributes.has_key?(:'status_code')
|
|
185
|
+
self.status_code = attributes[:'status_code']
|
|
186
|
+
end
|
|
162
187
|
end
|
|
163
188
|
|
|
164
189
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -189,11 +214,14 @@ module UltracartClient
|
|
|
189
214
|
log_dts == o.log_dts &&
|
|
190
215
|
log_type == o.log_type &&
|
|
191
216
|
logger_id == o.logger_id &&
|
|
217
|
+
logger_name == o.logger_name &&
|
|
192
218
|
logs == o.logs &&
|
|
219
|
+
omit_log_map == o.omit_log_map &&
|
|
193
220
|
order_ids == o.order_ids &&
|
|
194
221
|
pk == o.pk &&
|
|
195
222
|
sk == o.sk &&
|
|
196
|
-
status == o.status
|
|
223
|
+
status == o.status &&
|
|
224
|
+
status_code == o.status_code
|
|
197
225
|
end
|
|
198
226
|
|
|
199
227
|
# @see the `==` method
|
|
@@ -205,7 +233,7 @@ module UltracartClient
|
|
|
205
233
|
# Calculates hash code according to all attributes.
|
|
206
234
|
# @return [Fixnum] Hash code
|
|
207
235
|
def hash
|
|
208
|
-
[action, direction, email, files, integration_log_oid, item_id, item_ipn_oid, log_dts, log_type, logger_id, logs, order_ids, pk, sk, status].hash
|
|
236
|
+
[action, direction, email, files, integration_log_oid, item_id, item_ipn_oid, log_dts, log_type, logger_id, logger_name, logs, omit_log_map, order_ids, pk, sk, status, status_code].hash
|
|
209
237
|
end
|
|
210
238
|
|
|
211
239
|
# Builds the object from hash
|
|
@@ -26,8 +26,16 @@ module UltracartClient
|
|
|
26
26
|
|
|
27
27
|
attr_accessor :item_ipn_oids
|
|
28
28
|
|
|
29
|
+
# Maximum date/time log date/time
|
|
30
|
+
attr_accessor :log_dts_max
|
|
31
|
+
|
|
32
|
+
# Minimum date/time log date/time
|
|
33
|
+
attr_accessor :log_dts_min
|
|
34
|
+
|
|
29
35
|
attr_accessor :log_types
|
|
30
36
|
|
|
37
|
+
attr_accessor :logger_names
|
|
38
|
+
|
|
31
39
|
attr_accessor :order_ids
|
|
32
40
|
|
|
33
41
|
attr_accessor :statuses
|
|
@@ -41,7 +49,10 @@ module UltracartClient
|
|
|
41
49
|
:'file_names' => :'file_names',
|
|
42
50
|
:'item_ids' => :'item_ids',
|
|
43
51
|
:'item_ipn_oids' => :'item_ipn_oids',
|
|
52
|
+
:'log_dts_max' => :'log_dts_max',
|
|
53
|
+
:'log_dts_min' => :'log_dts_min',
|
|
44
54
|
:'log_types' => :'log_types',
|
|
55
|
+
:'logger_names' => :'logger_names',
|
|
45
56
|
:'order_ids' => :'order_ids',
|
|
46
57
|
:'statuses' => :'statuses'
|
|
47
58
|
}
|
|
@@ -56,7 +67,10 @@ module UltracartClient
|
|
|
56
67
|
:'file_names' => :'Array<String>',
|
|
57
68
|
:'item_ids' => :'Array<String>',
|
|
58
69
|
:'item_ipn_oids' => :'Array<Integer>',
|
|
70
|
+
:'log_dts_max' => :'String',
|
|
71
|
+
:'log_dts_min' => :'String',
|
|
59
72
|
:'log_types' => :'Array<String>',
|
|
73
|
+
:'logger_names' => :'Array<String>',
|
|
60
74
|
:'order_ids' => :'Array<String>',
|
|
61
75
|
:'statuses' => :'Array<String>'
|
|
62
76
|
}
|
|
@@ -106,12 +120,26 @@ module UltracartClient
|
|
|
106
120
|
end
|
|
107
121
|
end
|
|
108
122
|
|
|
123
|
+
if attributes.has_key?(:'log_dts_max')
|
|
124
|
+
self.log_dts_max = attributes[:'log_dts_max']
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
if attributes.has_key?(:'log_dts_min')
|
|
128
|
+
self.log_dts_min = attributes[:'log_dts_min']
|
|
129
|
+
end
|
|
130
|
+
|
|
109
131
|
if attributes.has_key?(:'log_types')
|
|
110
132
|
if (value = attributes[:'log_types']).is_a?(Array)
|
|
111
133
|
self.log_types = value
|
|
112
134
|
end
|
|
113
135
|
end
|
|
114
136
|
|
|
137
|
+
if attributes.has_key?(:'logger_names')
|
|
138
|
+
if (value = attributes[:'logger_names']).is_a?(Array)
|
|
139
|
+
self.logger_names = value
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
|
|
115
143
|
if attributes.has_key?(:'order_ids')
|
|
116
144
|
if (value = attributes[:'order_ids']).is_a?(Array)
|
|
117
145
|
self.order_ids = value
|
|
@@ -149,7 +177,10 @@ module UltracartClient
|
|
|
149
177
|
file_names == o.file_names &&
|
|
150
178
|
item_ids == o.item_ids &&
|
|
151
179
|
item_ipn_oids == o.item_ipn_oids &&
|
|
180
|
+
log_dts_max == o.log_dts_max &&
|
|
181
|
+
log_dts_min == o.log_dts_min &&
|
|
152
182
|
log_types == o.log_types &&
|
|
183
|
+
logger_names == o.logger_names &&
|
|
153
184
|
order_ids == o.order_ids &&
|
|
154
185
|
statuses == o.statuses
|
|
155
186
|
end
|
|
@@ -163,7 +194,7 @@ module UltracartClient
|
|
|
163
194
|
# Calculates hash code according to all attributes.
|
|
164
195
|
# @return [Fixnum] Hash code
|
|
165
196
|
def hash
|
|
166
|
-
[actions, directions, emails, file_names, item_ids, item_ipn_oids, log_types, order_ids, statuses].hash
|
|
197
|
+
[actions, directions, emails, file_names, item_ids, item_ipn_oids, log_dts_max, log_dts_min, log_types, logger_names, order_ids, statuses].hash
|
|
167
198
|
end
|
|
168
199
|
|
|
169
200
|
# Builds the object from hash
|
|
@@ -36,6 +36,8 @@ module UltracartClient
|
|
|
36
36
|
|
|
37
37
|
attr_accessor :logger_id
|
|
38
38
|
|
|
39
|
+
attr_accessor :logger_name
|
|
40
|
+
|
|
39
41
|
attr_accessor :order_ids
|
|
40
42
|
|
|
41
43
|
attr_accessor :status
|
|
@@ -53,6 +55,7 @@ module UltracartClient
|
|
|
53
55
|
:'log_dts_end' => :'log_dts_end',
|
|
54
56
|
:'log_type' => :'log_type',
|
|
55
57
|
:'logger_id' => :'logger_id',
|
|
58
|
+
:'logger_name' => :'logger_name',
|
|
56
59
|
:'order_ids' => :'order_ids',
|
|
57
60
|
:'status' => :'status'
|
|
58
61
|
}
|
|
@@ -71,6 +74,7 @@ module UltracartClient
|
|
|
71
74
|
:'log_dts_end' => :'String',
|
|
72
75
|
:'log_type' => :'String',
|
|
73
76
|
:'logger_id' => :'String',
|
|
77
|
+
:'logger_name' => :'String',
|
|
74
78
|
:'order_ids' => :'Array<String>',
|
|
75
79
|
:'status' => :'String'
|
|
76
80
|
}
|
|
@@ -126,6 +130,10 @@ module UltracartClient
|
|
|
126
130
|
self.logger_id = attributes[:'logger_id']
|
|
127
131
|
end
|
|
128
132
|
|
|
133
|
+
if attributes.has_key?(:'logger_name')
|
|
134
|
+
self.logger_name = attributes[:'logger_name']
|
|
135
|
+
end
|
|
136
|
+
|
|
129
137
|
if attributes.has_key?(:'order_ids')
|
|
130
138
|
if (value = attributes[:'order_ids']).is_a?(Array)
|
|
131
139
|
self.order_ids = value
|
|
@@ -165,6 +173,7 @@ module UltracartClient
|
|
|
165
173
|
log_dts_end == o.log_dts_end &&
|
|
166
174
|
log_type == o.log_type &&
|
|
167
175
|
logger_id == o.logger_id &&
|
|
176
|
+
logger_name == o.logger_name &&
|
|
168
177
|
order_ids == o.order_ids &&
|
|
169
178
|
status == o.status
|
|
170
179
|
end
|
|
@@ -178,7 +187,7 @@ module UltracartClient
|
|
|
178
187
|
# Calculates hash code according to all attributes.
|
|
179
188
|
# @return [Fixnum] Hash code
|
|
180
189
|
def hash
|
|
181
|
-
[action, direction, email, file_names, item_id, item_ipn_oid, log_dts_begin, log_dts_end, log_type, logger_id, order_ids, status].hash
|
|
190
|
+
[action, direction, email, file_names, item_id, item_ipn_oid, log_dts_begin, log_dts_end, log_type, logger_id, logger_name, order_ids, status].hash
|
|
182
191
|
end
|
|
183
192
|
|
|
184
193
|
# Builds the object from hash
|
|
@@ -14,8 +14,14 @@ require 'date'
|
|
|
14
14
|
|
|
15
15
|
module UltracartClient
|
|
16
16
|
class ScreenRecordingSettings
|
|
17
|
+
# Cost per one thousand sessions
|
|
18
|
+
attr_accessor :cost_per_thousand
|
|
19
|
+
|
|
17
20
|
attr_accessor :enabled
|
|
18
21
|
|
|
22
|
+
# How long screen recording data is retained
|
|
23
|
+
attr_accessor :retention_interval
|
|
24
|
+
|
|
19
25
|
attr_accessor :sessions_current_billing_period
|
|
20
26
|
|
|
21
27
|
attr_accessor :sessions_last_billing_period
|
|
@@ -29,7 +35,9 @@ module UltracartClient
|
|
|
29
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
30
36
|
def self.attribute_map
|
|
31
37
|
{
|
|
38
|
+
:'cost_per_thousand' => :'cost_per_thousand',
|
|
32
39
|
:'enabled' => :'enabled',
|
|
40
|
+
:'retention_interval' => :'retention_interval',
|
|
33
41
|
:'sessions_current_billing_period' => :'sessions_current_billing_period',
|
|
34
42
|
:'sessions_last_billing_period' => :'sessions_last_billing_period',
|
|
35
43
|
:'sessions_trial_billing_period' => :'sessions_trial_billing_period',
|
|
@@ -41,7 +49,9 @@ module UltracartClient
|
|
|
41
49
|
# Attribute type mapping.
|
|
42
50
|
def self.swagger_types
|
|
43
51
|
{
|
|
52
|
+
:'cost_per_thousand' => :'Float',
|
|
44
53
|
:'enabled' => :'BOOLEAN',
|
|
54
|
+
:'retention_interval' => :'String',
|
|
45
55
|
:'sessions_current_billing_period' => :'Integer',
|
|
46
56
|
:'sessions_last_billing_period' => :'Integer',
|
|
47
57
|
:'sessions_trial_billing_period' => :'Integer',
|
|
@@ -58,10 +68,18 @@ module UltracartClient
|
|
|
58
68
|
# convert string to symbol for hash key
|
|
59
69
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
60
70
|
|
|
71
|
+
if attributes.has_key?(:'cost_per_thousand')
|
|
72
|
+
self.cost_per_thousand = attributes[:'cost_per_thousand']
|
|
73
|
+
end
|
|
74
|
+
|
|
61
75
|
if attributes.has_key?(:'enabled')
|
|
62
76
|
self.enabled = attributes[:'enabled']
|
|
63
77
|
end
|
|
64
78
|
|
|
79
|
+
if attributes.has_key?(:'retention_interval')
|
|
80
|
+
self.retention_interval = attributes[:'retention_interval']
|
|
81
|
+
end
|
|
82
|
+
|
|
65
83
|
if attributes.has_key?(:'sessions_current_billing_period')
|
|
66
84
|
self.sessions_current_billing_period = attributes[:'sessions_current_billing_period']
|
|
67
85
|
end
|
|
@@ -101,7 +119,9 @@ module UltracartClient
|
|
|
101
119
|
def ==(o)
|
|
102
120
|
return true if self.equal?(o)
|
|
103
121
|
self.class == o.class &&
|
|
122
|
+
cost_per_thousand == o.cost_per_thousand &&
|
|
104
123
|
enabled == o.enabled &&
|
|
124
|
+
retention_interval == o.retention_interval &&
|
|
105
125
|
sessions_current_billing_period == o.sessions_current_billing_period &&
|
|
106
126
|
sessions_last_billing_period == o.sessions_last_billing_period &&
|
|
107
127
|
sessions_trial_billing_period == o.sessions_trial_billing_period &&
|
|
@@ -118,7 +138,7 @@ module UltracartClient
|
|
|
118
138
|
# Calculates hash code according to all attributes.
|
|
119
139
|
# @return [Fixnum] Hash code
|
|
120
140
|
def hash
|
|
121
|
-
[enabled, sessions_current_billing_period, sessions_last_billing_period, sessions_trial_billing_period, trial_expiration, trial_expired].hash
|
|
141
|
+
[cost_per_thousand, enabled, retention_interval, sessions_current_billing_period, sessions_last_billing_period, sessions_trial_billing_period, trial_expiration, trial_expired].hash
|
|
122
142
|
end
|
|
123
143
|
|
|
124
144
|
# 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.2.
|
|
4
|
+
version: 3.2.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-07-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|