ultracart_api 4.0.37.rc → 4.0.40.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 +13 -4
- data/docs/AutoOrder.md +2 -0
- data/docs/AutoOrderManagement.md +18 -0
- data/docs/ConversationAgentAuth.md +28 -0
- data/docs/ConversationAgentAuthResponse.md +10 -12
- data/docs/ConversationApi.md +11 -10
- data/docs/ConversationMultimediaUploadUrl.md +20 -0
- data/docs/ConversationMultimediaUploadUrlResponse.md +26 -0
- data/docs/ConversationResponse.md +26 -0
- data/docs/ConversationStartRequest.md +3 -1
- data/docs/ConversationStartResponse.md +2 -4
- data/docs/ConversationWebsocketMessage.md +34 -0
- data/lib/ultracart_api/api/conversation_api.rb +8 -8
- data/lib/ultracart_api/models/auto_order.rb +10 -1
- data/lib/ultracart_api/models/auto_order_management.rb +220 -0
- data/lib/ultracart_api/models/conversation_agent_auth.rb +266 -0
- data/lib/ultracart_api/models/conversation_agent_auth_response.rb +32 -42
- data/lib/ultracart_api/models/conversation_multimedia_upload_url.rb +228 -0
- data/lib/ultracart_api/models/conversation_multimedia_upload_url_response.rb +256 -0
- data/lib/ultracart_api/models/conversation_response.rb +256 -0
- data/lib/ultracart_api/models/conversation_start_request.rb +13 -4
- data/lib/ultracart_api/models/conversation_start_response.rb +7 -16
- data/lib/ultracart_api/models/conversation_websocket_message.rb +340 -0
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +6 -0
- metadata +14 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76013e5a63e089f1e40ed70b618beb58c0ecfb27836590c30970a63081b50541
|
4
|
+
data.tar.gz: b976780adb3bb8a80f81f0d5a73d07532edd764997e66b944488ea56c0ca6cf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19040f00897b6b9b015f78a3ae05f5894367f688cb2f1ab38c4a388edd46959c2172a494c254ef2fc5008999b523fe7f8dffe90a9fa92c8fd262529634dd536c
|
7
|
+
data.tar.gz: 1c694c816b9df21260ca6b9267b81d0bf2f3b39311025ac3cf89a56212e7345bead4799eabcbc465b505f8d1e0163c13cc64dd365740f7fa57b1f2b3e19b5532
|
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.40.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.40.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.40.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.40.rc'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -472,6 +472,7 @@ Class | Method | HTTP request | Description
|
|
472
472
|
- [UltracartClient::AutoOrderItemOption](docs/AutoOrderItemOption.md)
|
473
473
|
- [UltracartClient::AutoOrderItemSimpleSchedule](docs/AutoOrderItemSimpleSchedule.md)
|
474
474
|
- [UltracartClient::AutoOrderLog](docs/AutoOrderLog.md)
|
475
|
+
- [UltracartClient::AutoOrderManagement](docs/AutoOrderManagement.md)
|
475
476
|
- [UltracartClient::AutoOrderQuery](docs/AutoOrderQuery.md)
|
476
477
|
- [UltracartClient::AutoOrderQueryBatch](docs/AutoOrderQueryBatch.md)
|
477
478
|
- [UltracartClient::AutoOrderResponse](docs/AutoOrderResponse.md)
|
@@ -562,13 +563,18 @@ Class | Method | HTTP request | Description
|
|
562
563
|
- [UltracartClient::CheckoutStateProvinceResponse](docs/CheckoutStateProvinceResponse.md)
|
563
564
|
- [UltracartClient::CityStateZip](docs/CityStateZip.md)
|
564
565
|
- [UltracartClient::Conversation](docs/Conversation.md)
|
566
|
+
- [UltracartClient::ConversationAgentAuth](docs/ConversationAgentAuth.md)
|
565
567
|
- [UltracartClient::ConversationAgentAuthResponse](docs/ConversationAgentAuthResponse.md)
|
566
568
|
- [UltracartClient::ConversationMessage](docs/ConversationMessage.md)
|
567
569
|
- [UltracartClient::ConversationMessageTransportStatus](docs/ConversationMessageTransportStatus.md)
|
570
|
+
- [UltracartClient::ConversationMultimediaUploadUrl](docs/ConversationMultimediaUploadUrl.md)
|
571
|
+
- [UltracartClient::ConversationMultimediaUploadUrlResponse](docs/ConversationMultimediaUploadUrlResponse.md)
|
568
572
|
- [UltracartClient::ConversationParticipant](docs/ConversationParticipant.md)
|
573
|
+
- [UltracartClient::ConversationResponse](docs/ConversationResponse.md)
|
569
574
|
- [UltracartClient::ConversationStartRequest](docs/ConversationStartRequest.md)
|
570
575
|
- [UltracartClient::ConversationStartResponse](docs/ConversationStartResponse.md)
|
571
576
|
- [UltracartClient::ConversationSummary](docs/ConversationSummary.md)
|
577
|
+
- [UltracartClient::ConversationWebsocketMessage](docs/ConversationWebsocketMessage.md)
|
572
578
|
- [UltracartClient::ConversationsResponse](docs/ConversationsResponse.md)
|
573
579
|
- [UltracartClient::CountriesResponse](docs/CountriesResponse.md)
|
574
580
|
- [UltracartClient::Country](docs/Country.md)
|
@@ -1160,6 +1166,9 @@ Not every change is committed to every SDK.
|
|
1160
1166
|
|
1161
1167
|
| Version | Date | Comments |
|
1162
1168
|
| --: | :-: | --- |
|
1169
|
+
| 4.0.40-RC | 07/25/2022 | conversations - add a websocket message model |
|
1170
|
+
| 4.0.39-RC | 07/21/2022 | conversation response types improvements |
|
1171
|
+
| 4.0.38-RC | 07/21/2022 | conversation bugfix for poor response objects |
|
1163
1172
|
| 4.0.37-RC | 07/20/2022 | conversation participant name added |
|
1164
1173
|
| 4.0.36-RC | 07/18/2022 | twilio dev |
|
1165
1174
|
| 4.0.35-RC | 07/14/2022 | Add channel storefront_oid to the customer activity record |
|
data/docs/AutoOrder.md
CHANGED
@@ -19,6 +19,7 @@
|
|
19
19
|
| **failure_reason** | **String** | The reason this auto order failed during the last rebill attempt | [optional] |
|
20
20
|
| **items** | [**Array<AutoOrderItem>**](AutoOrderItem.md) | The items that are setup to rebill | [optional] |
|
21
21
|
| **logs** | [**Array<AutoOrderLog>**](AutoOrderLog.md) | Logs associated with this auto order | [optional] |
|
22
|
+
| **management** | [**AutoOrderManagement**](AutoOrderManagement.md) | | [optional] |
|
22
23
|
| **next_attempt** | **String** | The next time that the auto order will be attempted for processing | [optional] |
|
23
24
|
| **original_order** | [**Order**](Order.md) | | [optional] |
|
24
25
|
| **original_order_id** | **String** | The original order id that this auto order is associated with. | [optional] |
|
@@ -48,6 +49,7 @@ instance = UltracartClient::AutoOrder.new(
|
|
48
49
|
failure_reason: null,
|
49
50
|
items: null,
|
50
51
|
logs: null,
|
52
|
+
management: null,
|
51
53
|
next_attempt: null,
|
52
54
|
original_order: null,
|
53
55
|
original_order_id: null,
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# UltracartClient::AutoOrderManagement
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **update_billing_url** | **String** | URL where the customer can go to update their billing information. | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'ultracart_api'
|
13
|
+
|
14
|
+
instance = UltracartClient::AutoOrderManagement.new(
|
15
|
+
update_billing_url: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# UltracartClient::ConversationAgentAuth
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **conversation_participant_arn** | **String** | | [optional] |
|
8
|
+
| **conversation_participant_name** | **String** | | [optional] |
|
9
|
+
| **jwt** | **String** | | [optional] |
|
10
|
+
| **merchant_id** | **String** | | [optional] |
|
11
|
+
| **twilio_phone_numbers** | **Array<String>** | | [optional] |
|
12
|
+
| **websocket_url** | **String** | | [optional] |
|
13
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'ultracart_api'
|
18
|
+
|
19
|
+
instance = UltracartClient::ConversationAgentAuth.new(
|
20
|
+
conversation_participant_arn: null,
|
21
|
+
conversation_participant_name: null,
|
22
|
+
jwt: null,
|
23
|
+
merchant_id: null,
|
24
|
+
twilio_phone_numbers: null,
|
25
|
+
websocket_url: null
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
@@ -4,12 +4,11 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
8
|
-
| **
|
9
|
-
| **
|
10
|
-
| **
|
11
|
-
| **
|
12
|
-
| **websocket_url** | **String** | | [optional] |
|
7
|
+
| **agent_auth** | [**ConversationAgentAuth**](ConversationAgentAuth.md) | | [optional] |
|
8
|
+
| **error** | [**Error**](Error.md) | | [optional] |
|
9
|
+
| **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional] |
|
10
|
+
| **success** | **Boolean** | Indicates if API call was successful | [optional] |
|
11
|
+
| **warning** | [**Warning**](Warning.md) | | [optional] |
|
13
12
|
|
14
13
|
## Example
|
15
14
|
|
@@ -17,12 +16,11 @@
|
|
17
16
|
require 'ultracart_api'
|
18
17
|
|
19
18
|
instance = UltracartClient::ConversationAgentAuthResponse.new(
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
websocket_url: null
|
19
|
+
agent_auth: null,
|
20
|
+
error: null,
|
21
|
+
metadata: null,
|
22
|
+
success: null,
|
23
|
+
warning: null
|
26
24
|
)
|
27
25
|
```
|
28
26
|
|
data/docs/ConversationApi.md
CHANGED
@@ -83,7 +83,7 @@ This endpoint does not need any parameter.
|
|
83
83
|
|
84
84
|
## get_conversation
|
85
85
|
|
86
|
-
> <
|
86
|
+
> <ConversationResponse> get_conversation(conversation_uuid)
|
87
87
|
|
88
88
|
Retrieve a conversation
|
89
89
|
|
@@ -118,7 +118,7 @@ end
|
|
118
118
|
|
119
119
|
This returns an Array which contains the response data, status code and headers.
|
120
120
|
|
121
|
-
> <Array(<
|
121
|
+
> <Array(<ConversationResponse>, Integer, Hash)> get_conversation_with_http_info(conversation_uuid)
|
122
122
|
|
123
123
|
```ruby
|
124
124
|
begin
|
@@ -126,7 +126,7 @@ begin
|
|
126
126
|
data, status_code, headers = api_instance.get_conversation_with_http_info(conversation_uuid)
|
127
127
|
p status_code # => 2xx
|
128
128
|
p headers # => { ... }
|
129
|
-
p data # => <
|
129
|
+
p data # => <ConversationResponse>
|
130
130
|
rescue UltracartClient::ApiError => e
|
131
131
|
puts "Error when calling ConversationApi->get_conversation_with_http_info: #{e}"
|
132
132
|
end
|
@@ -140,7 +140,7 @@ end
|
|
140
140
|
|
141
141
|
### Return type
|
142
142
|
|
143
|
-
[**
|
143
|
+
[**ConversationResponse**](ConversationResponse.md)
|
144
144
|
|
145
145
|
### Authorization
|
146
146
|
|
@@ -154,7 +154,7 @@ end
|
|
154
154
|
|
155
155
|
## get_conversation_multimedia_upload_url
|
156
156
|
|
157
|
-
> get_conversation_multimedia_upload_url(extension)
|
157
|
+
> <ConversationMultimediaUploadUrlResponse> get_conversation_multimedia_upload_url(extension)
|
158
158
|
|
159
159
|
Get a presigned conersation multimedia upload URL
|
160
160
|
|
@@ -178,7 +178,8 @@ extension = 'extension_example' # String |
|
|
178
178
|
|
179
179
|
begin
|
180
180
|
# Get a presigned conersation multimedia upload URL
|
181
|
-
api_instance.get_conversation_multimedia_upload_url(extension)
|
181
|
+
result = api_instance.get_conversation_multimedia_upload_url(extension)
|
182
|
+
p result
|
182
183
|
rescue UltracartClient::ApiError => e
|
183
184
|
puts "Error when calling ConversationApi->get_conversation_multimedia_upload_url: #{e}"
|
184
185
|
end
|
@@ -186,9 +187,9 @@ end
|
|
186
187
|
|
187
188
|
#### Using the get_conversation_multimedia_upload_url_with_http_info variant
|
188
189
|
|
189
|
-
This returns an Array which contains the response data
|
190
|
+
This returns an Array which contains the response data, status code and headers.
|
190
191
|
|
191
|
-
> <Array(
|
192
|
+
> <Array(<ConversationMultimediaUploadUrlResponse>, Integer, Hash)> get_conversation_multimedia_upload_url_with_http_info(extension)
|
192
193
|
|
193
194
|
```ruby
|
194
195
|
begin
|
@@ -196,7 +197,7 @@ begin
|
|
196
197
|
data, status_code, headers = api_instance.get_conversation_multimedia_upload_url_with_http_info(extension)
|
197
198
|
p status_code # => 2xx
|
198
199
|
p headers # => { ... }
|
199
|
-
p data # =>
|
200
|
+
p data # => <ConversationMultimediaUploadUrlResponse>
|
200
201
|
rescue UltracartClient::ApiError => e
|
201
202
|
puts "Error when calling ConversationApi->get_conversation_multimedia_upload_url_with_http_info: #{e}"
|
202
203
|
end
|
@@ -210,7 +211,7 @@ end
|
|
210
211
|
|
211
212
|
### Return type
|
212
213
|
|
213
|
-
|
214
|
+
[**ConversationMultimediaUploadUrlResponse**](ConversationMultimediaUploadUrlResponse.md)
|
214
215
|
|
215
216
|
### Authorization
|
216
217
|
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# UltracartClient::ConversationMultimediaUploadUrl
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **key** | **String** | | [optional] |
|
8
|
+
| **url** | **String** | | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'ultracart_api'
|
14
|
+
|
15
|
+
instance = UltracartClient::ConversationMultimediaUploadUrl.new(
|
16
|
+
key: null,
|
17
|
+
url: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# UltracartClient::ConversationMultimediaUploadUrlResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **conversation_multimedia_upload_url** | [**ConversationMultimediaUploadUrl**](ConversationMultimediaUploadUrl.md) | | [optional] |
|
8
|
+
| **error** | [**Error**](Error.md) | | [optional] |
|
9
|
+
| **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional] |
|
10
|
+
| **success** | **Boolean** | Indicates if API call was successful | [optional] |
|
11
|
+
| **warning** | [**Warning**](Warning.md) | | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'ultracart_api'
|
17
|
+
|
18
|
+
instance = UltracartClient::ConversationMultimediaUploadUrlResponse.new(
|
19
|
+
conversation_multimedia_upload_url: null,
|
20
|
+
error: null,
|
21
|
+
metadata: null,
|
22
|
+
success: null,
|
23
|
+
warning: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# UltracartClient::ConversationResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **conversation** | [**Conversation**](Conversation.md) | | [optional] |
|
8
|
+
| **error** | [**Error**](Error.md) | | [optional] |
|
9
|
+
| **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional] |
|
10
|
+
| **success** | **Boolean** | Indicates if API call was successful | [optional] |
|
11
|
+
| **warning** | [**Warning**](Warning.md) | | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'ultracart_api'
|
17
|
+
|
18
|
+
instance = UltracartClient::ConversationResponse.new(
|
19
|
+
conversation: null,
|
20
|
+
error: null,
|
21
|
+
metadata: null,
|
22
|
+
success: null,
|
23
|
+
warning: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **add_conversation_participant_arns** | **Array<String>** | | [optional] |
|
8
8
|
| **conversation_arn** | **String** | | [optional] |
|
9
|
+
| **conversation_webchat_queue_uuid** | **String** | | [optional] |
|
9
10
|
|
10
11
|
## Example
|
11
12
|
|
@@ -14,7 +15,8 @@ require 'ultracart_api'
|
|
14
15
|
|
15
16
|
instance = UltracartClient::ConversationStartRequest.new(
|
16
17
|
add_conversation_participant_arns: null,
|
17
|
-
conversation_arn: null
|
18
|
+
conversation_arn: null,
|
19
|
+
conversation_webchat_queue_uuid: null
|
18
20
|
)
|
19
21
|
```
|
20
22
|
|
@@ -4,8 +4,7 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
8
|
-
| **conversation_uuid** | **String** | | [optional] |
|
7
|
+
| **conversation** | [**Conversation**](Conversation.md) | | [optional] |
|
9
8
|
|
10
9
|
## Example
|
11
10
|
|
@@ -13,8 +12,7 @@
|
|
13
12
|
require 'ultracart_api'
|
14
13
|
|
15
14
|
instance = UltracartClient::ConversationStartResponse.new(
|
16
|
-
|
17
|
-
conversation_uuid: null
|
15
|
+
conversation: null
|
18
16
|
)
|
19
17
|
```
|
20
18
|
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# UltracartClient::ConversationWebsocketMessage
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **conversation_uuid** | **String** | Conversation UUID if the websocket message is tied to a specific conversation | [optional] |
|
8
|
+
| **event_conversation_closed** | [**Conversation**](Conversation.md) | | [optional] |
|
9
|
+
| **event_new_conversation** | [**Conversation**](Conversation.md) | | [optional] |
|
10
|
+
| **event_new_message** | [**ConversationMessage**](ConversationMessage.md) | | [optional] |
|
11
|
+
| **event_queue_position** | **Object** | | [optional] |
|
12
|
+
| **event_type** | **String** | Type of event | [optional] |
|
13
|
+
| **event_updated_message** | [**ConversationMessage**](ConversationMessage.md) | | [optional] |
|
14
|
+
| **message** | [**ConversationMessage**](ConversationMessage.md) | | [optional] |
|
15
|
+
| **type** | **String** | Type of message | [optional] |
|
16
|
+
|
17
|
+
## Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'ultracart_api'
|
21
|
+
|
22
|
+
instance = UltracartClient::ConversationWebsocketMessage.new(
|
23
|
+
conversation_uuid: null,
|
24
|
+
event_conversation_closed: null,
|
25
|
+
event_new_conversation: null,
|
26
|
+
event_new_message: null,
|
27
|
+
event_queue_position: null,
|
28
|
+
event_type: null,
|
29
|
+
event_updated_message: null,
|
30
|
+
message: null,
|
31
|
+
type: null
|
32
|
+
)
|
33
|
+
```
|
34
|
+
|
@@ -94,7 +94,7 @@ module UltracartClient
|
|
94
94
|
# Retrieve a conversation including the participants and messages
|
95
95
|
# @param conversation_uuid [String]
|
96
96
|
# @param [Hash] opts the optional parameters
|
97
|
-
# @return [
|
97
|
+
# @return [ConversationResponse]
|
98
98
|
def get_conversation(conversation_uuid, opts = {})
|
99
99
|
data, _status_code, _headers = get_conversation_with_http_info(conversation_uuid, opts)
|
100
100
|
data
|
@@ -104,7 +104,7 @@ module UltracartClient
|
|
104
104
|
# Retrieve a conversation including the participants and messages
|
105
105
|
# @param conversation_uuid [String]
|
106
106
|
# @param [Hash] opts the optional parameters
|
107
|
-
# @return [Array<(
|
107
|
+
# @return [Array<(ConversationResponse, Integer, Hash)>] ConversationResponse data, response status code and response headers
|
108
108
|
def get_conversation_with_http_info(conversation_uuid, opts = {})
|
109
109
|
if @api_client.config.debugging
|
110
110
|
@api_client.config.logger.debug 'Calling API: ConversationApi.get_conversation ...'
|
@@ -132,7 +132,7 @@ module UltracartClient
|
|
132
132
|
post_body = opts[:debug_body]
|
133
133
|
|
134
134
|
# return_type
|
135
|
-
return_type = opts[:debug_return_type] || '
|
135
|
+
return_type = opts[:debug_return_type] || 'ConversationResponse'
|
136
136
|
|
137
137
|
# auth_names
|
138
138
|
auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
@@ -158,17 +158,17 @@ module UltracartClient
|
|
158
158
|
# Get a presigned conersation multimedia upload URL
|
159
159
|
# @param extension [String]
|
160
160
|
# @param [Hash] opts the optional parameters
|
161
|
-
# @return [
|
161
|
+
# @return [ConversationMultimediaUploadUrlResponse]
|
162
162
|
def get_conversation_multimedia_upload_url(extension, opts = {})
|
163
|
-
get_conversation_multimedia_upload_url_with_http_info(extension, opts)
|
164
|
-
|
163
|
+
data, _status_code, _headers = get_conversation_multimedia_upload_url_with_http_info(extension, opts)
|
164
|
+
data
|
165
165
|
end
|
166
166
|
|
167
167
|
# Get a presigned conersation multimedia upload URL
|
168
168
|
# Get a presigned conersation multimedia upload URL
|
169
169
|
# @param extension [String]
|
170
170
|
# @param [Hash] opts the optional parameters
|
171
|
-
# @return [Array<(
|
171
|
+
# @return [Array<(ConversationMultimediaUploadUrlResponse, Integer, Hash)>] ConversationMultimediaUploadUrlResponse data, response status code and response headers
|
172
172
|
def get_conversation_multimedia_upload_url_with_http_info(extension, opts = {})
|
173
173
|
if @api_client.config.debugging
|
174
174
|
@api_client.config.logger.debug 'Calling API: ConversationApi.get_conversation_multimedia_upload_url ...'
|
@@ -196,7 +196,7 @@ module UltracartClient
|
|
196
196
|
post_body = opts[:debug_body]
|
197
197
|
|
198
198
|
# return_type
|
199
|
-
return_type = opts[:debug_return_type]
|
199
|
+
return_type = opts[:debug_return_type] || 'ConversationMultimediaUploadUrlResponse'
|
200
200
|
|
201
201
|
# auth_names
|
202
202
|
auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
@@ -60,6 +60,8 @@ module UltracartClient
|
|
60
60
|
# Logs associated with this auto order
|
61
61
|
attr_accessor :logs
|
62
62
|
|
63
|
+
attr_accessor :management
|
64
|
+
|
63
65
|
# The next time that the auto order will be attempted for processing
|
64
66
|
attr_accessor :next_attempt
|
65
67
|
|
@@ -120,6 +122,7 @@ module UltracartClient
|
|
120
122
|
:'failure_reason' => :'failure_reason',
|
121
123
|
:'items' => :'items',
|
122
124
|
:'logs' => :'logs',
|
125
|
+
:'management' => :'management',
|
123
126
|
:'next_attempt' => :'next_attempt',
|
124
127
|
:'original_order' => :'original_order',
|
125
128
|
:'original_order_id' => :'original_order_id',
|
@@ -153,6 +156,7 @@ module UltracartClient
|
|
153
156
|
:'failure_reason' => :'String',
|
154
157
|
:'items' => :'Array<AutoOrderItem>',
|
155
158
|
:'logs' => :'Array<AutoOrderLog>',
|
159
|
+
:'management' => :'AutoOrderManagement',
|
156
160
|
:'next_attempt' => :'String',
|
157
161
|
:'original_order' => :'Order',
|
158
162
|
:'original_order_id' => :'String',
|
@@ -248,6 +252,10 @@ module UltracartClient
|
|
248
252
|
end
|
249
253
|
end
|
250
254
|
|
255
|
+
if attributes.key?(:'management')
|
256
|
+
self.management = attributes[:'management']
|
257
|
+
end
|
258
|
+
|
251
259
|
if attributes.key?(:'next_attempt')
|
252
260
|
self.next_attempt = attributes[:'next_attempt']
|
253
261
|
end
|
@@ -324,6 +332,7 @@ module UltracartClient
|
|
324
332
|
failure_reason == o.failure_reason &&
|
325
333
|
items == o.items &&
|
326
334
|
logs == o.logs &&
|
335
|
+
management == o.management &&
|
327
336
|
next_attempt == o.next_attempt &&
|
328
337
|
original_order == o.original_order &&
|
329
338
|
original_order_id == o.original_order_id &&
|
@@ -342,7 +351,7 @@ module UltracartClient
|
|
342
351
|
# Calculates hash code according to all attributes.
|
343
352
|
# @return [Integer] Hash code
|
344
353
|
def hash
|
345
|
-
[auto_order_code, auto_order_oid, cancel_after_next_x_orders, cancel_downgrade, cancel_reason, cancel_upgrade, canceled_by_user, canceled_dts, completed, credit_card_attempt, disabled_dts, enabled, failure_reason, items, logs, next_attempt, original_order, original_order_id, override_affiliate_id, rebill_orders, rotating_transaction_gateway_code, status].hash
|
354
|
+
[auto_order_code, auto_order_oid, cancel_after_next_x_orders, cancel_downgrade, cancel_reason, cancel_upgrade, canceled_by_user, canceled_dts, completed, credit_card_attempt, disabled_dts, enabled, failure_reason, items, logs, management, next_attempt, original_order, original_order_id, override_affiliate_id, rebill_orders, rotating_transaction_gateway_code, status].hash
|
346
355
|
end
|
347
356
|
|
348
357
|
# Builds the object from hash
|