ultracart_api 4.0.63.rc → 4.0.65.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15484cd481220bf96f131fc0acecfeee27a83afa20836d4804198613d206d67b
4
- data.tar.gz: 8654390b05267c0e34e5dc43e9c9d49facfa49b5e298a88069a21a62e22cf462
3
+ metadata.gz: f94d77f310c53ac9af806f040781f34087f78b1a16540c1f2c9782b61c37fc89
4
+ data.tar.gz: 0132a21aeaaf1460ce49512cb4349c434035fdb49346b074e134e97cc664d62b
5
5
  SHA512:
6
- metadata.gz: 9d7cf627cbbca6e6a3b35f08fbaf70701185d9883dff012f3a62d95fa2520b2d5a0e9bfaff8bf1d2800fbf0f6f192399e800694b1225e9a0234cca6ba0ed6a44
7
- data.tar.gz: d27642bc84c9af9c1461615825fa390860755f513e69cf9640e43351780bc1d8671cbe94c269f51648c5deff54090ef5cb87efe156417c13edf0616f7250d92a
6
+ metadata.gz: 6472c8c04811613a4e5cc130ffdf910baae4718fc790f2136153714afc2076cc043a65a754096fac91f91098ab161a92773933080250e6971cef17da50e6b9a8
7
+ data.tar.gz: 4d962e9e90745e87e4f710c32b9d5f7a83588a5e35073270810e3580f030c7dd79fb39fa431094974ac0f9ef790e4f210f9f5780609d7ce996f365d28a978b1b
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.63.rc
10
+ - Package version: 4.0.65.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.63.rc.gem
27
+ gem install ./ultracart_api-4.0.65.rc.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.63.rc.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.65.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.63.rc'
36
+ gem 'ultracart_api', '~> 4.0.65.rc'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -131,8 +131,10 @@ Class | Method | HTTP request | Description
131
131
  *UltracartClient::CheckoutApi* | [**setup_browser_key**](docs/CheckoutApi.md#setup_browser_key) | **PUT** /checkout/browser_key | Setup Browser Application
132
132
  *UltracartClient::CheckoutApi* | [**update_cart**](docs/CheckoutApi.md#update_cart) | **PUT** /checkout/cart | Update cart
133
133
  *UltracartClient::CheckoutApi* | [**validate_cart**](docs/CheckoutApi.md#validate_cart) | **POST** /checkout/cart/validate | Validate
134
+ *UltracartClient::ConversationApi* | [**get_agent_keep_alive**](docs/ConversationApi.md#get_agent_keep_alive) | **GET** /conversation/agent/keepalive | Agent keep alive
134
135
  *UltracartClient::ConversationApi* | [**get_agent_websocket_authorization**](docs/ConversationApi.md#get_agent_websocket_authorization) | **PUT** /conversation/agent/auth | Get agent websocket authorization
135
136
  *UltracartClient::ConversationApi* | [**get_conversation**](docs/ConversationApi.md#get_conversation) | **GET** /conversation/conversations/{conversation_uuid} | Retrieve a conversation
137
+ *UltracartClient::ConversationApi* | [**get_conversation_messages**](docs/ConversationApi.md#get_conversation_messages) | **GET** /conversation/conversations/{conversation_uuid}/messages/{since} | Retrieve conversation messages
136
138
  *UltracartClient::ConversationApi* | [**get_conversation_multimedia_upload_url**](docs/ConversationApi.md#get_conversation_multimedia_upload_url) | **GET** /conversation/upload_url/{extension} | Get a presigned conersation multimedia upload URL
137
139
  *UltracartClient::ConversationApi* | [**get_conversation_webchat_queue_statuses**](docs/ConversationApi.md#get_conversation_webchat_queue_statuses) | **GET** /conversation/conversations/queues/statuses | Retrieve a conversation webchat queue statuses
138
140
  *UltracartClient::ConversationApi* | [**get_conversations**](docs/ConversationApi.md#get_conversations) | **GET** /conversation/conversations | Retrieve a list of conversation summaries newest to oldest
@@ -197,12 +199,17 @@ Class | Method | HTTP request | Description
197
199
  *UltracartClient::IntegrationLogApi* | [**get_integration_log_file_pdf**](docs/IntegrationLogApi.md#get_integration_log_file_pdf) | **GET** /integration_log/query/{pk}/{sk}/{uuid}/pdf | Retrieve an integration log file converted to PDF
198
200
  *UltracartClient::IntegrationLogApi* | [**get_integration_log_summaries_query**](docs/IntegrationLogApi.md#get_integration_log_summaries_query) | **POST** /integration_log/summary/query | Retrieve integration log summaries
199
201
  *UltracartClient::IntegrationLogApi* | [**get_integration_logs_query**](docs/IntegrationLogApi.md#get_integration_logs_query) | **POST** /integration_log/query | Retrieve integration logs
202
+ *UltracartClient::ItemApi* | [**delete_digital_item**](docs/ItemApi.md#delete_digital_item) | **DELETE** /item/digital_library/{digital_item_oid} | Delete a digital item, which is a file within the digital library, not an actual merchant item
200
203
  *UltracartClient::ItemApi* | [**delete_item**](docs/ItemApi.md#delete_item) | **DELETE** /item/items/{merchant_item_oid} | Delete an item
204
+ *UltracartClient::ItemApi* | [**get_digital_item**](docs/ItemApi.md#get_digital_item) | **GET** /item/digital_library/{digital_item_oid} | Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
205
+ *UltracartClient::ItemApi* | [**get_digital_items**](docs/ItemApi.md#get_digital_items) | **GET** /item/digital_library | Retrieve digital items from the digital library which are digital files that may be attached to normal items
201
206
  *UltracartClient::ItemApi* | [**get_item**](docs/ItemApi.md#get_item) | **GET** /item/items/{merchant_item_oid} | Retrieve an item
202
207
  *UltracartClient::ItemApi* | [**get_item_by_merchant_item_id**](docs/ItemApi.md#get_item_by_merchant_item_id) | **GET** /item/items/merchant_item_id/{merchant_item_id} | Retrieve an item by item id
203
208
  *UltracartClient::ItemApi* | [**get_items**](docs/ItemApi.md#get_items) | **GET** /item/items | Retrieve items
204
209
  *UltracartClient::ItemApi* | [**get_pricing_tiers**](docs/ItemApi.md#get_pricing_tiers) | **GET** /item/pricing_tiers | Retrieve pricing tiers
210
+ *UltracartClient::ItemApi* | [**insert_digital_item**](docs/ItemApi.md#insert_digital_item) | **POST** /item/digital_library | Create a file within the digital library
205
211
  *UltracartClient::ItemApi* | [**insert_item**](docs/ItemApi.md#insert_item) | **POST** /item/items | Create an item
212
+ *UltracartClient::ItemApi* | [**update_digital_item**](docs/ItemApi.md#update_digital_item) | **PUT** /item/digital_library/{digital_item_oid} | Updates a file within the digital library
206
213
  *UltracartClient::ItemApi* | [**update_item**](docs/ItemApi.md#update_item) | **PUT** /item/items/{merchant_item_oid} | Update an item
207
214
  *UltracartClient::ItemApi* | [**update_items**](docs/ItemApi.md#update_items) | **PUT** /item/items/batch | Update multiple items
208
215
  *UltracartClient::ItemApi* | [**upload_temporary_multimedia**](docs/ItemApi.md#upload_temporary_multimedia) | **POST** /item/temp_multimedia | Upload an image to the temporary multimedia.
@@ -578,6 +585,7 @@ Class | Method | HTTP request | Description
578
585
  - [UltracartClient::ConversationEventTyping](docs/ConversationEventTyping.md)
579
586
  - [UltracartClient::ConversationMessage](docs/ConversationMessage.md)
580
587
  - [UltracartClient::ConversationMessageTransportStatus](docs/ConversationMessageTransportStatus.md)
588
+ - [UltracartClient::ConversationMessagesResponse](docs/ConversationMessagesResponse.md)
581
589
  - [UltracartClient::ConversationMultimediaUploadUrl](docs/ConversationMultimediaUploadUrl.md)
582
590
  - [UltracartClient::ConversationMultimediaUploadUrlResponse](docs/ConversationMultimediaUploadUrlResponse.md)
583
591
  - [UltracartClient::ConversationParticipant](docs/ConversationParticipant.md)
@@ -859,6 +867,9 @@ Class | Method | HTTP request | Description
859
867
  - [UltracartClient::ItemContentMultimediaThumbnail](docs/ItemContentMultimediaThumbnail.md)
860
868
  - [UltracartClient::ItemDigitalDelivery](docs/ItemDigitalDelivery.md)
861
869
  - [UltracartClient::ItemDigitalItem](docs/ItemDigitalItem.md)
870
+ - [UltracartClient::ItemDigitalItemPdfMeta](docs/ItemDigitalItemPdfMeta.md)
871
+ - [UltracartClient::ItemDigitalItemResponse](docs/ItemDigitalItemResponse.md)
872
+ - [UltracartClient::ItemDigitalItemsResponse](docs/ItemDigitalItemsResponse.md)
862
873
  - [UltracartClient::ItemEbay](docs/ItemEbay.md)
863
874
  - [UltracartClient::ItemEbayCategorySpecific](docs/ItemEbayCategorySpecific.md)
864
875
  - [UltracartClient::ItemEbayMarketListing](docs/ItemEbayMarketListing.md)
@@ -1194,6 +1205,8 @@ Not every change is committed to every SDK.
1194
1205
 
1195
1206
  | Version | Date | Comments |
1196
1207
  | --: | :-: | --- |
1208
+ | 4.0.65-RC | 09/22/2022 | testing digital file mgmt calls |
1209
+ | 4.0.64-RC | 09/19/2022 | conversations pagination |
1197
1210
  | 4.0.63-RC | 09/13/2022 | storefront comms - postcard tracking |
1198
1211
  | 4.0.62-RC | 09/12/2022 | storefront comm - send back reviews.io configured flag on getEmailSettings |
1199
1212
  | 4.0.61-RC | 09/07/2022 | sf comms - using aws event ruler for bigquery segmentation validation |
@@ -4,8 +4,10 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
+ | [**get_agent_keep_alive**](ConversationApi.md#get_agent_keep_alive) | **GET** /conversation/agent/keepalive | Agent keep alive |
7
8
  | [**get_agent_websocket_authorization**](ConversationApi.md#get_agent_websocket_authorization) | **PUT** /conversation/agent/auth | Get agent websocket authorization |
8
9
  | [**get_conversation**](ConversationApi.md#get_conversation) | **GET** /conversation/conversations/{conversation_uuid} | Retrieve a conversation |
10
+ | [**get_conversation_messages**](ConversationApi.md#get_conversation_messages) | **GET** /conversation/conversations/{conversation_uuid}/messages/{since} | Retrieve conversation messages |
9
11
  | [**get_conversation_multimedia_upload_url**](ConversationApi.md#get_conversation_multimedia_upload_url) | **GET** /conversation/upload_url/{extension} | Get a presigned conersation multimedia upload URL |
10
12
  | [**get_conversation_webchat_queue_statuses**](ConversationApi.md#get_conversation_webchat_queue_statuses) | **GET** /conversation/conversations/queues/statuses | Retrieve a conversation webchat queue statuses |
11
13
  | [**get_conversations**](ConversationApi.md#get_conversations) | **GET** /conversation/conversations | Retrieve a list of conversation summaries newest to oldest |
@@ -15,6 +17,73 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
15
17
  | [**update_conversation_webchat_queue_status**](ConversationApi.md#update_conversation_webchat_queue_status) | **PUT** /conversation/conversations/queues/{queue_name}/status | Update status within the queue |
16
18
 
17
19
 
20
+ ## get_agent_keep_alive
21
+
22
+ > get_agent_keep_alive
23
+
24
+ Agent keep alive
25
+
26
+ Called periodically by the conversation API to keep the session alive.
27
+
28
+ ### Examples
29
+
30
+ ```ruby
31
+ require 'time'
32
+ require 'ultracart_api'
33
+ require 'json'
34
+ require 'yaml'
35
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
36
+
37
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
38
+ # As such, this might not be the best way to use this object.
39
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
40
+
41
+ api = UltracartClient::ConversationApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
42
+
43
+ begin
44
+ # Agent keep alive
45
+ api_instance.get_agent_keep_alive
46
+ rescue UltracartClient::ApiError => e
47
+ puts "Error when calling ConversationApi->get_agent_keep_alive: #{e}"
48
+ end
49
+ ```
50
+
51
+ #### Using the get_agent_keep_alive_with_http_info variant
52
+
53
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
54
+
55
+ > <Array(nil, Integer, Hash)> get_agent_keep_alive_with_http_info
56
+
57
+ ```ruby
58
+ begin
59
+ # Agent keep alive
60
+ data, status_code, headers = api_instance.get_agent_keep_alive_with_http_info
61
+ p status_code # => 2xx
62
+ p headers # => { ... }
63
+ p data # => nil
64
+ rescue UltracartClient::ApiError => e
65
+ puts "Error when calling ConversationApi->get_agent_keep_alive_with_http_info: #{e}"
66
+ end
67
+ ```
68
+
69
+ ### Parameters
70
+
71
+ This endpoint does not need any parameter.
72
+
73
+ ### Return type
74
+
75
+ nil (empty response body)
76
+
77
+ ### Authorization
78
+
79
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
80
+
81
+ ### HTTP request headers
82
+
83
+ - **Content-Type**: Not defined
84
+ - **Accept**: application/json
85
+
86
+
18
87
  ## get_agent_websocket_authorization
19
88
 
20
89
  > <ConversationAgentAuthResponse> get_agent_websocket_authorization
@@ -85,7 +154,7 @@ This endpoint does not need any parameter.
85
154
 
86
155
  ## get_conversation
87
156
 
88
- > <ConversationResponse> get_conversation(conversation_uuid)
157
+ > <ConversationResponse> get_conversation(conversation_uuid, opts)
89
158
 
90
159
  Retrieve a conversation
91
160
 
@@ -106,10 +175,13 @@ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/
106
175
 
107
176
  api = UltracartClient::ConversationApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
108
177
  conversation_uuid = 'conversation_uuid_example' # String |
178
+ opts = {
179
+ limit: 56 # Integer |
180
+ }
109
181
 
110
182
  begin
111
183
  # Retrieve a conversation
112
- result = api_instance.get_conversation(conversation_uuid)
184
+ result = api_instance.get_conversation(conversation_uuid, opts)
113
185
  p result
114
186
  rescue UltracartClient::ApiError => e
115
187
  puts "Error when calling ConversationApi->get_conversation: #{e}"
@@ -120,12 +192,12 @@ end
120
192
 
121
193
  This returns an Array which contains the response data, status code and headers.
122
194
 
123
- > <Array(<ConversationResponse>, Integer, Hash)> get_conversation_with_http_info(conversation_uuid)
195
+ > <Array(<ConversationResponse>, Integer, Hash)> get_conversation_with_http_info(conversation_uuid, opts)
124
196
 
125
197
  ```ruby
126
198
  begin
127
199
  # Retrieve a conversation
128
- data, status_code, headers = api_instance.get_conversation_with_http_info(conversation_uuid)
200
+ data, status_code, headers = api_instance.get_conversation_with_http_info(conversation_uuid, opts)
129
201
  p status_code # => 2xx
130
202
  p headers # => { ... }
131
203
  p data # => <ConversationResponse>
@@ -139,6 +211,7 @@ end
139
211
  | Name | Type | Description | Notes |
140
212
  | ---- | ---- | ----------- | ----- |
141
213
  | **conversation_uuid** | **String** | | |
214
+ | **limit** | **Integer** | | [optional] |
142
215
 
143
216
  ### Return type
144
217
 
@@ -154,6 +227,83 @@ end
154
227
  - **Accept**: application/json
155
228
 
156
229
 
230
+ ## get_conversation_messages
231
+
232
+ > <ConversationMessagesResponse> get_conversation_messages(conversation_uuid, since, opts)
233
+
234
+ Retrieve conversation messages
235
+
236
+ Retrieve conversation messages since a particular time
237
+
238
+ ### Examples
239
+
240
+ ```ruby
241
+ require 'time'
242
+ require 'ultracart_api'
243
+ require 'json'
244
+ require 'yaml'
245
+ require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
246
+
247
+ # This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
248
+ # As such, this might not be the best way to use this object.
249
+ # Please see https://github.com/UltraCart/sdk_samples for working examples.
250
+
251
+ api = UltracartClient::ConversationApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
252
+ conversation_uuid = 'conversation_uuid_example' # String |
253
+ since = 789 # Integer |
254
+ opts = {
255
+ limit: 56 # Integer |
256
+ }
257
+
258
+ begin
259
+ # Retrieve conversation messages
260
+ result = api_instance.get_conversation_messages(conversation_uuid, since, opts)
261
+ p result
262
+ rescue UltracartClient::ApiError => e
263
+ puts "Error when calling ConversationApi->get_conversation_messages: #{e}"
264
+ end
265
+ ```
266
+
267
+ #### Using the get_conversation_messages_with_http_info variant
268
+
269
+ This returns an Array which contains the response data, status code and headers.
270
+
271
+ > <Array(<ConversationMessagesResponse>, Integer, Hash)> get_conversation_messages_with_http_info(conversation_uuid, since, opts)
272
+
273
+ ```ruby
274
+ begin
275
+ # Retrieve conversation messages
276
+ data, status_code, headers = api_instance.get_conversation_messages_with_http_info(conversation_uuid, since, opts)
277
+ p status_code # => 2xx
278
+ p headers # => { ... }
279
+ p data # => <ConversationMessagesResponse>
280
+ rescue UltracartClient::ApiError => e
281
+ puts "Error when calling ConversationApi->get_conversation_messages_with_http_info: #{e}"
282
+ end
283
+ ```
284
+
285
+ ### Parameters
286
+
287
+ | Name | Type | Description | Notes |
288
+ | ---- | ---- | ----------- | ----- |
289
+ | **conversation_uuid** | **String** | | |
290
+ | **since** | **Integer** | | |
291
+ | **limit** | **Integer** | | [optional] |
292
+
293
+ ### Return type
294
+
295
+ [**ConversationMessagesResponse**](ConversationMessagesResponse.md)
296
+
297
+ ### Authorization
298
+
299
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
300
+
301
+ ### HTTP request headers
302
+
303
+ - **Content-Type**: Not defined
304
+ - **Accept**: application/json
305
+
306
+
157
307
  ## get_conversation_multimedia_upload_url
158
308
 
159
309
  > <ConversationMultimediaUploadUrlResponse> get_conversation_multimedia_upload_url(extension)
@@ -0,0 +1,26 @@
1
+ # UltracartClient::ConversationMessagesResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **conversation_messages** | [**Array&lt;ConversationMessage&gt;**](ConversationMessage.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::ConversationMessagesResponse.new(
19
+ conversation_messages: null,
20
+ error: null,
21
+ metadata: null,
22
+ success: null,
23
+ warning: null
24
+ )
25
+ ```
26
+