ultracart_api 3.10.56 → 3.10.57
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 +5 -4
- data/docs/Conversation.md +1 -0
- data/docs/ConversationApi.md +2 -0
- data/docs/ConversationSummary.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/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,7 @@ 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 |
|
1212
1213
|
| 3.10.56 | 10/07/2022 | bug fix for digital items response |
|
1213
1214
|
| 3.10.55 | 10/05/2022 | storefront rest file cdn icon urls |
|
1214
1215
|
| 3.10.54 | 10/04/2022 | bug fix for new storefront file mgr |
|
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]
|
@@ -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
|
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
|