ultracart_api 3.10.55 → 3.10.57
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 +1 -0
- data/docs/ConversationApi.md +2 -0
- data/docs/ConversationSummary.md +1 -0
- data/docs/Customer.md +1 -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 +3 -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: af59a14825e9bb12ef8dff390e8ae3cc6f73169cde7587a20ad2566b14492ad3
|
4
|
+
data.tar.gz: a9d0b89350fc2716d3a675bac927e59fe8632fde69de785452810f4501ce22c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '029781d44d7e3200e4d5438c9d4bb0f7a57d94604f73b58524da42a45d23817bfba8210d23d96757441feda049afe9869e2f03fe89cb65e08f1e75263906ccfe'
|
7
|
+
data.tar.gz: 0a89c401e44f64b12889388d078bc8822b28b2c86cffd267a881ab82ac685ce2bd48f563798854ecce88c0ea9833fe9f8051fd9be28e825d823a59159b79a781
|
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.57
|
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.57.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.57.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.57'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1209,6 +1209,8 @@ Not every change is committed to every SDK.
|
|
1209
1209
|
|
1210
1210
|
| Version | Date | Comments |
|
1211
1211
|
| --: | :-: | --- |
|
1212
|
+
| 3.10.57 | 10/17/2022 | conversations - add last_interactive_message_dts |
|
1213
|
+
| 3.10.56 | 10/07/2022 | bug fix for digital items response |
|
1212
1214
|
| 3.10.55 | 10/05/2022 | storefront rest file cdn icon urls |
|
1213
1215
|
| 3.10.54 | 10/04/2022 | bug fix for new storefront file mgr |
|
1214
1216
|
| 3.10.53 | 09/29/2022 | page_paths search category for search2 method |
|
data/docs/Conversation.md
CHANGED
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**last_conversation_message_body** | **String** | | [optional]
|
10
10
|
**last_conversation_participant_arn** | **String** | | [optional]
|
11
11
|
**last_conversation_participant_name** | **String** | | [optional]
|
12
|
+
**last_interactive_message_dts** | **String** | Last interactive message date/time | [optional]
|
12
13
|
**last_message_dts** | **String** | Last message date/time | [optional]
|
13
14
|
**medium** | **String** | The communication medium of the customer. | [optional]
|
14
15
|
**merchant_id** | **String** | | [optional]
|
data/docs/ConversationApi.md
CHANGED
@@ -331,6 +331,7 @@ api_instance = UltracartClient::ConversationApi.new_using_api_key(simple_key, fa
|
|
331
331
|
|
332
332
|
opts = {
|
333
333
|
medium: 'medium_example', # String |
|
334
|
+
before: 'before_example', # String |
|
334
335
|
_limit: 100, # Integer | The maximum number of records to return on this one API call. (Max 200)
|
335
336
|
_offset: 0 # Integer | Pagination of the record set. Offset is a zero based index.
|
336
337
|
}
|
@@ -349,6 +350,7 @@ end
|
|
349
350
|
Name | Type | Description | Notes
|
350
351
|
------------- | ------------- | ------------- | -------------
|
351
352
|
**medium** | **String**| | [optional]
|
353
|
+
**before** | **String**| | [optional]
|
352
354
|
**_limit** | **Integer**| The maximum number of records to return on this one API call. (Max 200) | [optional] [default to 100]
|
353
355
|
**_offset** | **Integer**| Pagination of the record set. Offset is a zero based index. | [optional] [default to 0]
|
354
356
|
|
data/docs/ConversationSummary.md
CHANGED
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**last_conversation_message_body** | **String** | | [optional]
|
10
10
|
**last_conversation_participant_arn** | **String** | | [optional]
|
11
11
|
**last_conversation_participant_name** | **String** | | [optional]
|
12
|
+
**last_interactive_message_dts** | **String** | Last interactive message date/time | [optional]
|
12
13
|
**last_message_dts** | **String** | Last message date/time | [optional]
|
13
14
|
**medium** | **String** | The communication medium of the customer. | [optional]
|
14
15
|
**merchant_id** | **String** | | [optional]
|
data/docs/Customer.md
CHANGED
@@ -31,6 +31,7 @@ Name | Type | Description | Notes
|
|
31
31
|
**last_modified_dts** | **String** | Last modified date | [optional]
|
32
32
|
**loyalty** | [**CustomerLoyalty**](CustomerLoyalty.md) | | [optional]
|
33
33
|
**maximum_item_count** | **Integer** | Maximum item count | [optional]
|
34
|
+
**merchant_id** | **String** | Merchant ID | [optional]
|
34
35
|
**minimum_item_count** | **Integer** | Minimum item count | [optional]
|
35
36
|
**minimum_subtotal** | **Float** | Minimum subtotal | [optional]
|
36
37
|
**no_coupons** | **BOOLEAN** | No coupons | [optional]
|
@@ -359,6 +359,7 @@ module UltracartClient
|
|
359
359
|
# Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
|
360
360
|
# @param [Hash] opts the optional parameters
|
361
361
|
# @option opts [String] :medium
|
362
|
+
# @option opts [String] :before
|
362
363
|
# @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Max 200) (default to 100)
|
363
364
|
# @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index. (default to 0)
|
364
365
|
# @return [ConversationsResponse]
|
@@ -371,6 +372,7 @@ module UltracartClient
|
|
371
372
|
# Retrieve a list of conversation summaries that are ordered newest to oldest, include the most recent message and whether its been read.
|
372
373
|
# @param [Hash] opts the optional parameters
|
373
374
|
# @option opts [String] :medium
|
375
|
+
# @option opts [String] :before
|
374
376
|
# @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Max 200)
|
375
377
|
# @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index.
|
376
378
|
# @return [Array<(ConversationsResponse, Fixnum, Hash)>] ConversationsResponse data, response status code and response headers
|
@@ -384,6 +386,7 @@ module UltracartClient
|
|
384
386
|
# query parameters
|
385
387
|
query_params = {}
|
386
388
|
query_params[:'medium'] = opts[:'medium'] if !opts[:'medium'].nil?
|
389
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
387
390
|
query_params[:'_limit'] = opts[:'_limit'] if !opts[:'_limit'].nil?
|
388
391
|
query_params[:'_offset'] = opts[:'_offset'] if !opts[:'_offset'].nil?
|
389
392
|
|
@@ -26,6 +26,9 @@ module UltracartClient
|
|
26
26
|
|
27
27
|
attr_accessor :last_conversation_participant_name
|
28
28
|
|
29
|
+
# Last interactive message date/time
|
30
|
+
attr_accessor :last_interactive_message_dts
|
31
|
+
|
29
32
|
# Last message date/time
|
30
33
|
attr_accessor :last_message_dts
|
31
34
|
|
@@ -78,6 +81,7 @@ module UltracartClient
|
|
78
81
|
:'last_conversation_message_body' => :'last_conversation_message_body',
|
79
82
|
:'last_conversation_participant_arn' => :'last_conversation_participant_arn',
|
80
83
|
:'last_conversation_participant_name' => :'last_conversation_participant_name',
|
84
|
+
:'last_interactive_message_dts' => :'last_interactive_message_dts',
|
81
85
|
:'last_message_dts' => :'last_message_dts',
|
82
86
|
:'medium' => :'medium',
|
83
87
|
:'merchant_id' => :'merchant_id',
|
@@ -99,6 +103,7 @@ module UltracartClient
|
|
99
103
|
:'last_conversation_message_body' => :'String',
|
100
104
|
:'last_conversation_participant_arn' => :'String',
|
101
105
|
:'last_conversation_participant_name' => :'String',
|
106
|
+
:'last_interactive_message_dts' => :'String',
|
102
107
|
:'last_message_dts' => :'String',
|
103
108
|
:'medium' => :'String',
|
104
109
|
:'merchant_id' => :'String',
|
@@ -143,6 +148,10 @@ module UltracartClient
|
|
143
148
|
self.last_conversation_participant_name = attributes[:'last_conversation_participant_name']
|
144
149
|
end
|
145
150
|
|
151
|
+
if attributes.has_key?(:'last_interactive_message_dts')
|
152
|
+
self.last_interactive_message_dts = attributes[:'last_interactive_message_dts']
|
153
|
+
end
|
154
|
+
|
146
155
|
if attributes.has_key?(:'last_message_dts')
|
147
156
|
self.last_message_dts = attributes[:'last_message_dts']
|
148
157
|
end
|
@@ -220,6 +229,7 @@ module UltracartClient
|
|
220
229
|
last_conversation_message_body == o.last_conversation_message_body &&
|
221
230
|
last_conversation_participant_arn == o.last_conversation_participant_arn &&
|
222
231
|
last_conversation_participant_name == o.last_conversation_participant_name &&
|
232
|
+
last_interactive_message_dts == o.last_interactive_message_dts &&
|
223
233
|
last_message_dts == o.last_message_dts &&
|
224
234
|
medium == o.medium &&
|
225
235
|
merchant_id == o.merchant_id &&
|
@@ -240,7 +250,7 @@ module UltracartClient
|
|
240
250
|
# Calculates hash code according to all attributes.
|
241
251
|
# @return [Fixnum] Hash code
|
242
252
|
def hash
|
243
|
-
[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
|
253
|
+
[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
|
244
254
|
end
|
245
255
|
|
246
256
|
# Builds the object from hash
|
@@ -26,6 +26,9 @@ module UltracartClient
|
|
26
26
|
|
27
27
|
attr_accessor :last_conversation_participant_name
|
28
28
|
|
29
|
+
# Last interactive message date/time
|
30
|
+
attr_accessor :last_interactive_message_dts
|
31
|
+
|
29
32
|
# Last message date/time
|
30
33
|
attr_accessor :last_message_dts
|
31
34
|
|
@@ -76,6 +79,7 @@ module UltracartClient
|
|
76
79
|
:'last_conversation_message_body' => :'last_conversation_message_body',
|
77
80
|
:'last_conversation_participant_arn' => :'last_conversation_participant_arn',
|
78
81
|
:'last_conversation_participant_name' => :'last_conversation_participant_name',
|
82
|
+
:'last_interactive_message_dts' => :'last_interactive_message_dts',
|
79
83
|
:'last_message_dts' => :'last_message_dts',
|
80
84
|
:'medium' => :'medium',
|
81
85
|
:'merchant_id' => :'merchant_id',
|
@@ -96,6 +100,7 @@ module UltracartClient
|
|
96
100
|
:'last_conversation_message_body' => :'String',
|
97
101
|
:'last_conversation_participant_arn' => :'String',
|
98
102
|
:'last_conversation_participant_name' => :'String',
|
103
|
+
:'last_interactive_message_dts' => :'String',
|
99
104
|
:'last_message_dts' => :'String',
|
100
105
|
:'medium' => :'String',
|
101
106
|
:'merchant_id' => :'String',
|
@@ -139,6 +144,10 @@ module UltracartClient
|
|
139
144
|
self.last_conversation_participant_name = attributes[:'last_conversation_participant_name']
|
140
145
|
end
|
141
146
|
|
147
|
+
if attributes.has_key?(:'last_interactive_message_dts')
|
148
|
+
self.last_interactive_message_dts = attributes[:'last_interactive_message_dts']
|
149
|
+
end
|
150
|
+
|
142
151
|
if attributes.has_key?(:'last_message_dts')
|
143
152
|
self.last_message_dts = attributes[:'last_message_dts']
|
144
153
|
end
|
@@ -210,6 +219,7 @@ module UltracartClient
|
|
210
219
|
last_conversation_message_body == o.last_conversation_message_body &&
|
211
220
|
last_conversation_participant_arn == o.last_conversation_participant_arn &&
|
212
221
|
last_conversation_participant_name == o.last_conversation_participant_name &&
|
222
|
+
last_interactive_message_dts == o.last_interactive_message_dts &&
|
213
223
|
last_message_dts == o.last_message_dts &&
|
214
224
|
medium == o.medium &&
|
215
225
|
merchant_id == o.merchant_id &&
|
@@ -229,7 +239,7 @@ module UltracartClient
|
|
229
239
|
# Calculates hash code according to all attributes.
|
230
240
|
# @return [Fixnum] Hash code
|
231
241
|
def hash
|
232
|
-
[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
|
242
|
+
[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
|
233
243
|
end
|
234
244
|
|
235
245
|
# Builds the object from hash
|
@@ -96,6 +96,9 @@ module UltracartClient
|
|
96
96
|
# Maximum item count
|
97
97
|
attr_accessor :maximum_item_count
|
98
98
|
|
99
|
+
# Merchant ID
|
100
|
+
attr_accessor :merchant_id
|
101
|
+
|
99
102
|
# Minimum item count
|
100
103
|
attr_accessor :minimum_item_count
|
101
104
|
|
@@ -215,6 +218,7 @@ module UltracartClient
|
|
215
218
|
:'last_modified_dts' => :'last_modified_dts',
|
216
219
|
:'loyalty' => :'loyalty',
|
217
220
|
:'maximum_item_count' => :'maximum_item_count',
|
221
|
+
:'merchant_id' => :'merchant_id',
|
218
222
|
:'minimum_item_count' => :'minimum_item_count',
|
219
223
|
:'minimum_subtotal' => :'minimum_subtotal',
|
220
224
|
:'no_coupons' => :'no_coupons',
|
@@ -280,6 +284,7 @@ module UltracartClient
|
|
280
284
|
:'last_modified_dts' => :'String',
|
281
285
|
:'loyalty' => :'CustomerLoyalty',
|
282
286
|
:'maximum_item_count' => :'Integer',
|
287
|
+
:'merchant_id' => :'String',
|
283
288
|
:'minimum_item_count' => :'Integer',
|
284
289
|
:'minimum_subtotal' => :'Float',
|
285
290
|
:'no_coupons' => :'BOOLEAN',
|
@@ -442,6 +447,10 @@ module UltracartClient
|
|
442
447
|
self.maximum_item_count = attributes[:'maximum_item_count']
|
443
448
|
end
|
444
449
|
|
450
|
+
if attributes.has_key?(:'merchant_id')
|
451
|
+
self.merchant_id = attributes[:'merchant_id']
|
452
|
+
end
|
453
|
+
|
445
454
|
if attributes.has_key?(:'minimum_item_count')
|
446
455
|
self.minimum_item_count = attributes[:'minimum_item_count']
|
447
456
|
end
|
@@ -790,6 +799,7 @@ module UltracartClient
|
|
790
799
|
last_modified_dts == o.last_modified_dts &&
|
791
800
|
loyalty == o.loyalty &&
|
792
801
|
maximum_item_count == o.maximum_item_count &&
|
802
|
+
merchant_id == o.merchant_id &&
|
793
803
|
minimum_item_count == o.minimum_item_count &&
|
794
804
|
minimum_subtotal == o.minimum_subtotal &&
|
795
805
|
no_coupons == o.no_coupons &&
|
@@ -832,7 +842,7 @@ module UltracartClient
|
|
832
842
|
# Calculates hash code according to all attributes.
|
833
843
|
# @return [Fixnum] Hash code
|
834
844
|
def 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
|
845
|
+
[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
|
836
846
|
end
|
837
847
|
|
838
848
|
# Builds the object from hash
|
@@ -29,7 +29,7 @@ module UltracartClient
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
30
|
def self.attribute_map
|
31
31
|
{
|
32
|
-
:'digital_items' => :'
|
32
|
+
:'digital_items' => :'digital_items',
|
33
33
|
:'error' => :'error',
|
34
34
|
:'metadata' => :'metadata',
|
35
35
|
:'success' => :'success',
|
@@ -56,8 +56,8 @@ module UltracartClient
|
|
56
56
|
# convert string to symbol for hash key
|
57
57
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
58
58
|
|
59
|
-
if attributes.has_key?(:'
|
60
|
-
if (value = attributes[:'
|
59
|
+
if attributes.has_key?(:'digital_items')
|
60
|
+
if (value = attributes[:'digital_items']).is_a?(Array)
|
61
61
|
self.digital_items = value
|
62
62
|
end
|
63
63
|
end
|
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.57
|
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
|