ultracart_api 4.0.73.rc → 4.0.74.rc
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 +2 -0
- data/docs/ConversationApi.md +2 -0
- data/docs/ConversationSummary.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/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,7 @@ 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 |
|
|
1221
1222
|
| 4.0.73-RC | 10/07/2022 | bug fix for digital items response |
|
|
1222
1223
|
| 4.0.72-RC | 10/05/2022 | storefront rest file cdn icon urls |
|
|
1223
1224
|
| 4.0.71-RC | 10/04/2022 | bug fix for new storefront file mgr |
|
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,
|
|
@@ -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
|
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
|