ultracart_api 4.0.72.rc → 4.0.74.rc
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/docs/Conversation.md +2 -0
- data/docs/ConversationApi.md +2 -0
- data/docs/ConversationSummary.md +2 -0
- data/docs/Customer.md +2 -0
- data/lib/ultracart_api/api/conversation_api.rb +3 -0
- data/lib/ultracart_api/models/conversation.rb +11 -1
- data/lib/ultracart_api/models/conversation_summary.rb +11 -1
- data/lib/ultracart_api/models/customer.rb +11 -1
- data/lib/ultracart_api/models/item_digital_items_response.rb +1 -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: 82475120b5829769fc2de1dc207d78975ed310298f964e450a7cbe6563ecd7e9
|
4
|
+
data.tar.gz: 827afb2ad083ac0b24e13790f4f926ac6566ce0048d121a5ed19f21a4de7e561
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: caa99eae3c5b9b513f79e5a9e4d9170fc296a5121622cec339801f1549355c094e6476eb82c8898640e0b9614a23eacf2d808c0cad343658ad81ed91bb9f6b7b
|
7
|
+
data.tar.gz: c6be27f638ab8919cab10193fad35c7ab0cb5e062c6de5960262411fd6c8a25a5796a2cff84fb9e870e4da92332daac34515ca4c52fbf3ebd7cf9737d453b076
|
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.74.rc
|
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.74.rc.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.74.rc.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.74.rc'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1218,6 +1218,8 @@ Not every change is committed to every SDK.
|
|
1218
1218
|
|
1219
1219
|
| Version | Date | Comments |
|
1220
1220
|
| --: | :-: | --- |
|
1221
|
+
| 4.0.74-RC | 10/17/2022 | conversations - add last_interactive_message_dts |
|
1222
|
+
| 4.0.73-RC | 10/07/2022 | bug fix for digital items response |
|
1221
1223
|
| 4.0.72-RC | 10/05/2022 | storefront rest file cdn icon urls |
|
1222
1224
|
| 4.0.71-RC | 10/04/2022 | bug fix for new storefront file mgr |
|
1223
1225
|
| 4.0.70-RC | 09/29/2022 | page_paths search category for search2 method |
|
data/docs/Conversation.md
CHANGED
@@ -10,6 +10,7 @@
|
|
10
10
|
| **last_conversation_message_body** | **String** | | [optional] |
|
11
11
|
| **last_conversation_participant_arn** | **String** | | [optional] |
|
12
12
|
| **last_conversation_participant_name** | **String** | | [optional] |
|
13
|
+
| **last_interactive_message_dts** | **String** | Last interactive message date/time | [optional] |
|
13
14
|
| **last_message_dts** | **String** | Last message date/time | [optional] |
|
14
15
|
| **medium** | **String** | The communication medium of the customer. | [optional] |
|
15
16
|
| **merchant_id** | **String** | | [optional] |
|
@@ -32,6 +33,7 @@ instance = UltracartClient::Conversation.new(
|
|
32
33
|
last_conversation_message_body: null,
|
33
34
|
last_conversation_participant_arn: null,
|
34
35
|
last_conversation_participant_name: null,
|
36
|
+
last_interactive_message_dts: null,
|
35
37
|
last_message_dts: null,
|
36
38
|
medium: null,
|
37
39
|
merchant_id: null,
|
data/docs/ConversationApi.md
CHANGED
@@ -467,6 +467,7 @@ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/
|
|
467
467
|
api = UltracartClient::ConversationApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
|
468
468
|
opts = {
|
469
469
|
medium: 'medium_example', # String |
|
470
|
+
before: 'before_example', # String |
|
470
471
|
_limit: 56, # Integer | The maximum number of records to return on this one API call. (Max 200)
|
471
472
|
_offset: 56 # Integer | Pagination of the record set. Offset is a zero based index.
|
472
473
|
}
|
@@ -503,6 +504,7 @@ end
|
|
503
504
|
| Name | Type | Description | Notes |
|
504
505
|
| ---- | ---- | ----------- | ----- |
|
505
506
|
| **medium** | **String** | | [optional] |
|
507
|
+
| **before** | **String** | | [optional] |
|
506
508
|
| **_limit** | **Integer** | The maximum number of records to return on this one API call. (Max 200) | [optional][default to 100] |
|
507
509
|
| **_offset** | **Integer** | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
|
508
510
|
|
data/docs/ConversationSummary.md
CHANGED
@@ -10,6 +10,7 @@
|
|
10
10
|
| **last_conversation_message_body** | **String** | | [optional] |
|
11
11
|
| **last_conversation_participant_arn** | **String** | | [optional] |
|
12
12
|
| **last_conversation_participant_name** | **String** | | [optional] |
|
13
|
+
| **last_interactive_message_dts** | **String** | Last interactive message date/time | [optional] |
|
13
14
|
| **last_message_dts** | **String** | Last message date/time | [optional] |
|
14
15
|
| **medium** | **String** | The communication medium of the customer. | [optional] |
|
15
16
|
| **merchant_id** | **String** | | [optional] |
|
@@ -31,6 +32,7 @@ instance = UltracartClient::ConversationSummary.new(
|
|
31
32
|
last_conversation_message_body: null,
|
32
33
|
last_conversation_participant_arn: null,
|
33
34
|
last_conversation_participant_name: null,
|
35
|
+
last_interactive_message_dts: null,
|
34
36
|
last_message_dts: null,
|
35
37
|
medium: null,
|
36
38
|
merchant_id: null,
|
data/docs/Customer.md
CHANGED
@@ -32,6 +32,7 @@
|
|
32
32
|
| **last_modified_dts** | **String** | Last modified date | [optional] |
|
33
33
|
| **loyalty** | [**CustomerLoyalty**](CustomerLoyalty.md) | | [optional] |
|
34
34
|
| **maximum_item_count** | **Integer** | Maximum item count | [optional] |
|
35
|
+
| **merchant_id** | **String** | Merchant ID | [optional] |
|
35
36
|
| **minimum_item_count** | **Integer** | Minimum item count | [optional] |
|
36
37
|
| **minimum_subtotal** | **Float** | Minimum subtotal | [optional] |
|
37
38
|
| **no_coupons** | **Boolean** | No coupons | [optional] |
|
@@ -98,6 +99,7 @@ instance = UltracartClient::Customer.new(
|
|
98
99
|
last_modified_dts: null,
|
99
100
|
loyalty: null,
|
100
101
|
maximum_item_count: null,
|
102
|
+
merchant_id: null,
|
101
103
|
minimum_item_count: null,
|
102
104
|
minimum_subtotal: null,
|
103
105
|
no_coupons: null,
|
@@ -414,6 +414,7 @@ module UltracartClient
|
|
414
414
|
# Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
|
415
415
|
# @param [Hash] opts the optional parameters
|
416
416
|
# @option opts [String] :medium
|
417
|
+
# @option opts [String] :before
|
417
418
|
# @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Max 200) (default to 100)
|
418
419
|
# @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index. (default to 0)
|
419
420
|
# @return [ConversationsResponse]
|
@@ -426,6 +427,7 @@ module UltracartClient
|
|
426
427
|
# Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
|
427
428
|
# @param [Hash] opts the optional parameters
|
428
429
|
# @option opts [String] :medium
|
430
|
+
# @option opts [String] :before
|
429
431
|
# @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Max 200) (default to 100)
|
430
432
|
# @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index. (default to 0)
|
431
433
|
# @return [Array<(ConversationsResponse, Integer, Hash)>] ConversationsResponse data, response status code and response headers
|
@@ -439,6 +441,7 @@ module UltracartClient
|
|
439
441
|
# query parameters
|
440
442
|
query_params = opts[:query_params] || {}
|
441
443
|
query_params[:'medium'] = opts[:'medium'] if !opts[:'medium'].nil?
|
444
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
442
445
|
query_params[:'_limit'] = opts[:'_limit'] if !opts[:'_limit'].nil?
|
443
446
|
query_params[:'_offset'] = opts[:'_offset'] if !opts[:'_offset'].nil?
|
444
447
|
|
@@ -27,6 +27,9 @@ module UltracartClient
|
|
27
27
|
|
28
28
|
attr_accessor :last_conversation_participant_name
|
29
29
|
|
30
|
+
# Last interactive message date/time
|
31
|
+
attr_accessor :last_interactive_message_dts
|
32
|
+
|
30
33
|
# Last message date/time
|
31
34
|
attr_accessor :last_message_dts
|
32
35
|
|
@@ -79,6 +82,7 @@ module UltracartClient
|
|
79
82
|
:'last_conversation_message_body' => :'last_conversation_message_body',
|
80
83
|
:'last_conversation_participant_arn' => :'last_conversation_participant_arn',
|
81
84
|
:'last_conversation_participant_name' => :'last_conversation_participant_name',
|
85
|
+
:'last_interactive_message_dts' => :'last_interactive_message_dts',
|
82
86
|
:'last_message_dts' => :'last_message_dts',
|
83
87
|
:'medium' => :'medium',
|
84
88
|
:'merchant_id' => :'merchant_id',
|
@@ -105,6 +109,7 @@ module UltracartClient
|
|
105
109
|
:'last_conversation_message_body' => :'String',
|
106
110
|
:'last_conversation_participant_arn' => :'String',
|
107
111
|
:'last_conversation_participant_name' => :'String',
|
112
|
+
:'last_interactive_message_dts' => :'String',
|
108
113
|
:'last_message_dts' => :'String',
|
109
114
|
:'medium' => :'String',
|
110
115
|
:'merchant_id' => :'String',
|
@@ -162,6 +167,10 @@ module UltracartClient
|
|
162
167
|
self.last_conversation_participant_name = attributes[:'last_conversation_participant_name']
|
163
168
|
end
|
164
169
|
|
170
|
+
if attributes.key?(:'last_interactive_message_dts')
|
171
|
+
self.last_interactive_message_dts = attributes[:'last_interactive_message_dts']
|
172
|
+
end
|
173
|
+
|
165
174
|
if attributes.key?(:'last_message_dts')
|
166
175
|
self.last_message_dts = attributes[:'last_message_dts']
|
167
176
|
end
|
@@ -239,6 +248,7 @@ module UltracartClient
|
|
239
248
|
last_conversation_message_body == o.last_conversation_message_body &&
|
240
249
|
last_conversation_participant_arn == o.last_conversation_participant_arn &&
|
241
250
|
last_conversation_participant_name == o.last_conversation_participant_name &&
|
251
|
+
last_interactive_message_dts == o.last_interactive_message_dts &&
|
242
252
|
last_message_dts == o.last_message_dts &&
|
243
253
|
medium == o.medium &&
|
244
254
|
merchant_id == o.merchant_id &&
|
@@ -259,7 +269,7 @@ module UltracartClient
|
|
259
269
|
# Calculates hash code according to all attributes.
|
260
270
|
# @return [Integer] Hash code
|
261
271
|
def hash
|
262
|
-
[closed, conversation_arn, conversation_uuid, last_conversation_message_body, last_conversation_participant_arn, last_conversation_participant_name, last_message_dts, medium, merchant_id, message_count, messages, participants, start_dts, unread_messages, visible].hash
|
272
|
+
[closed, conversation_arn, conversation_uuid, last_conversation_message_body, last_conversation_participant_arn, last_conversation_participant_name, last_interactive_message_dts, last_message_dts, medium, merchant_id, message_count, messages, participants, start_dts, unread_messages, visible].hash
|
263
273
|
end
|
264
274
|
|
265
275
|
# Builds the object from hash
|
@@ -27,6 +27,9 @@ module UltracartClient
|
|
27
27
|
|
28
28
|
attr_accessor :last_conversation_participant_name
|
29
29
|
|
30
|
+
# Last interactive message date/time
|
31
|
+
attr_accessor :last_interactive_message_dts
|
32
|
+
|
30
33
|
# Last message date/time
|
31
34
|
attr_accessor :last_message_dts
|
32
35
|
|
@@ -77,6 +80,7 @@ module UltracartClient
|
|
77
80
|
:'last_conversation_message_body' => :'last_conversation_message_body',
|
78
81
|
:'last_conversation_participant_arn' => :'last_conversation_participant_arn',
|
79
82
|
:'last_conversation_participant_name' => :'last_conversation_participant_name',
|
83
|
+
:'last_interactive_message_dts' => :'last_interactive_message_dts',
|
80
84
|
:'last_message_dts' => :'last_message_dts',
|
81
85
|
:'medium' => :'medium',
|
82
86
|
:'merchant_id' => :'merchant_id',
|
@@ -102,6 +106,7 @@ module UltracartClient
|
|
102
106
|
:'last_conversation_message_body' => :'String',
|
103
107
|
:'last_conversation_participant_arn' => :'String',
|
104
108
|
:'last_conversation_participant_name' => :'String',
|
109
|
+
:'last_interactive_message_dts' => :'String',
|
105
110
|
:'last_message_dts' => :'String',
|
106
111
|
:'medium' => :'String',
|
107
112
|
:'merchant_id' => :'String',
|
@@ -158,6 +163,10 @@ module UltracartClient
|
|
158
163
|
self.last_conversation_participant_name = attributes[:'last_conversation_participant_name']
|
159
164
|
end
|
160
165
|
|
166
|
+
if attributes.key?(:'last_interactive_message_dts')
|
167
|
+
self.last_interactive_message_dts = attributes[:'last_interactive_message_dts']
|
168
|
+
end
|
169
|
+
|
161
170
|
if attributes.key?(:'last_message_dts')
|
162
171
|
self.last_message_dts = attributes[:'last_message_dts']
|
163
172
|
end
|
@@ -229,6 +238,7 @@ module UltracartClient
|
|
229
238
|
last_conversation_message_body == o.last_conversation_message_body &&
|
230
239
|
last_conversation_participant_arn == o.last_conversation_participant_arn &&
|
231
240
|
last_conversation_participant_name == o.last_conversation_participant_name &&
|
241
|
+
last_interactive_message_dts == o.last_interactive_message_dts &&
|
232
242
|
last_message_dts == o.last_message_dts &&
|
233
243
|
medium == o.medium &&
|
234
244
|
merchant_id == o.merchant_id &&
|
@@ -248,7 +258,7 @@ module UltracartClient
|
|
248
258
|
# Calculates hash code according to all attributes.
|
249
259
|
# @return [Integer] Hash code
|
250
260
|
def hash
|
251
|
-
[closed, conversation_arn, conversation_uuid, last_conversation_message_body, last_conversation_participant_arn, last_conversation_participant_name, last_message_dts, medium, merchant_id, message_count, participants, start_dts, unread_messages, visible].hash
|
261
|
+
[closed, conversation_arn, conversation_uuid, last_conversation_message_body, last_conversation_participant_arn, last_conversation_participant_name, last_interactive_message_dts, last_message_dts, medium, merchant_id, message_count, participants, start_dts, unread_messages, visible].hash
|
252
262
|
end
|
253
263
|
|
254
264
|
# Builds the object from hash
|
@@ -97,6 +97,9 @@ module UltracartClient
|
|
97
97
|
# Maximum item count
|
98
98
|
attr_accessor :maximum_item_count
|
99
99
|
|
100
|
+
# Merchant ID
|
101
|
+
attr_accessor :merchant_id
|
102
|
+
|
100
103
|
# Minimum item count
|
101
104
|
attr_accessor :minimum_item_count
|
102
105
|
|
@@ -216,6 +219,7 @@ module UltracartClient
|
|
216
219
|
:'last_modified_dts' => :'last_modified_dts',
|
217
220
|
:'loyalty' => :'loyalty',
|
218
221
|
:'maximum_item_count' => :'maximum_item_count',
|
222
|
+
:'merchant_id' => :'merchant_id',
|
219
223
|
:'minimum_item_count' => :'minimum_item_count',
|
220
224
|
:'minimum_subtotal' => :'minimum_subtotal',
|
221
225
|
:'no_coupons' => :'no_coupons',
|
@@ -286,6 +290,7 @@ module UltracartClient
|
|
286
290
|
:'last_modified_dts' => :'String',
|
287
291
|
:'loyalty' => :'CustomerLoyalty',
|
288
292
|
:'maximum_item_count' => :'Integer',
|
293
|
+
:'merchant_id' => :'String',
|
289
294
|
:'minimum_item_count' => :'Integer',
|
290
295
|
:'minimum_subtotal' => :'Float',
|
291
296
|
:'no_coupons' => :'Boolean',
|
@@ -461,6 +466,10 @@ module UltracartClient
|
|
461
466
|
self.maximum_item_count = attributes[:'maximum_item_count']
|
462
467
|
end
|
463
468
|
|
469
|
+
if attributes.key?(:'merchant_id')
|
470
|
+
self.merchant_id = attributes[:'merchant_id']
|
471
|
+
end
|
472
|
+
|
464
473
|
if attributes.key?(:'minimum_item_count')
|
465
474
|
self.minimum_item_count = attributes[:'minimum_item_count']
|
466
475
|
end
|
@@ -809,6 +818,7 @@ module UltracartClient
|
|
809
818
|
last_modified_dts == o.last_modified_dts &&
|
810
819
|
loyalty == o.loyalty &&
|
811
820
|
maximum_item_count == o.maximum_item_count &&
|
821
|
+
merchant_id == o.merchant_id &&
|
812
822
|
minimum_item_count == o.minimum_item_count &&
|
813
823
|
minimum_subtotal == o.minimum_subtotal &&
|
814
824
|
no_coupons == o.no_coupons &&
|
@@ -851,7 +861,7 @@ module UltracartClient
|
|
851
861
|
# Calculates hash code according to all attributes.
|
852
862
|
# @return [Integer] Hash code
|
853
863
|
def hash
|
854
|
-
[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
|
864
|
+
[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, merchant_id, 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
|
855
865
|
end
|
856
866
|
|
857
867
|
# Builds the object from hash
|
@@ -30,7 +30,7 @@ module UltracartClient
|
|
30
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
31
31
|
def self.attribute_map
|
32
32
|
{
|
33
|
-
:'digital_items' => :'
|
33
|
+
:'digital_items' => :'digital_items',
|
34
34
|
:'error' => :'error',
|
35
35
|
:'metadata' => :'metadata',
|
36
36
|
:'success' => :'success',
|
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.74.rc
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|