ultracart_api 3.10.183 → 3.10.185
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +88 -4
- data/docs/ConversationApi.md +2466 -340
- data/docs/ConversationPbxAgent.md +16 -0
- data/docs/ConversationPbxAgentResponse.md +12 -0
- data/docs/ConversationPbxAgentsResponse.md +12 -0
- data/docs/ConversationPbxAudio.md +16 -0
- data/docs/ConversationPbxAudioResponse.md +12 -0
- data/docs/ConversationPbxAudiosResponse.md +12 -0
- data/docs/ConversationPbxCustomerSnapshotRequest.md +15 -0
- data/docs/ConversationPbxCustomerSnapshotResponse.md +14 -0
- data/docs/ConversationPbxMenu.md +17 -0
- data/docs/ConversationPbxMenuMapping.md +11 -0
- data/docs/ConversationPbxMenuResponse.md +12 -0
- data/docs/ConversationPbxMenusResponse.md +12 -0
- data/docs/ConversationPbxPhoneNumber.md +12 -0
- data/docs/ConversationPbxPhoneNumberResponse.md +12 -0
- data/docs/ConversationPbxPhoneNumbersResponse.md +12 -0
- data/docs/ConversationPbxQueue.md +25 -0
- data/docs/ConversationPbxQueueMembers.md +9 -0
- data/docs/ConversationPbxQueueResponse.md +12 -0
- data/docs/ConversationPbxQueuesResponse.md +12 -0
- data/docs/ConversationPbxTimeBased.md +11 -0
- data/docs/ConversationPbxTimeBasedMapping.md +11 -0
- data/docs/ConversationPbxTimeBasedMappingConfig.md +9 -0
- data/docs/ConversationPbxTimeBasedResponse.md +12 -0
- data/docs/ConversationPbxTimeBasedsResponse.md +12 -0
- data/docs/ConversationPbxTimeRange.md +12 -0
- data/docs/ConversationPbxTimeRangeConfig.md +13 -0
- data/docs/ConversationPbxTimeRangeResponse.md +12 -0
- data/docs/ConversationPbxTimeRangesResponse.md +12 -0
- data/docs/ConversationPbxVoicemailMailbox.md +18 -0
- data/docs/ConversationPbxVoicemailMailboxResponse.md +12 -0
- data/docs/ConversationPbxVoicemailMailboxesResponse.md +12 -0
- data/docs/EmailSmsOrder.md +11 -0
- data/docs/EmailSmsOrdersResponse.md +12 -0
- data/docs/EmailSmsStat.md +37 -0
- data/docs/EmailStatSmsSummaryRequest.md +9 -0
- data/docs/EmailStatSmsSummaryResponse.md +12 -0
- data/docs/PricingTier.md +1 -0
- data/docs/StorefrontApi.md +114 -0
- data/docs/WorkflowApi.md +46 -0
- data/docs/WorkflowTaskTagsResponse.md +12 -0
- data/lib/ultracart_api/api/conversation_api.rb +2919 -609
- data/lib/ultracart_api/api/storefront_api.rb +133 -0
- data/lib/ultracart_api/api/workflow_api.rb +49 -0
- data/lib/ultracart_api/models/conversation_pbx_agent.rb +325 -0
- data/lib/ultracart_api/models/conversation_pbx_agent_response.rb +221 -0
- data/lib/ultracart_api/models/conversation_pbx_agents_response.rb +223 -0
- data/lib/ultracart_api/models/conversation_pbx_audio.rb +355 -0
- data/lib/ultracart_api/models/conversation_pbx_audio_response.rb +221 -0
- data/lib/ultracart_api/models/conversation_pbx_audios_response.rb +223 -0
- data/lib/ultracart_api/models/conversation_pbx_customer_snapshot_request.rb +248 -0
- data/lib/ultracart_api/models/conversation_pbx_customer_snapshot_response.rb +243 -0
- data/lib/ultracart_api/models/conversation_pbx_menu.rb +367 -0
- data/lib/ultracart_api/models/conversation_pbx_menu_mapping.rb +215 -0
- data/lib/ultracart_api/models/conversation_pbx_menu_response.rb +221 -0
- data/lib/ultracart_api/models/conversation_pbx_menus_response.rb +223 -0
- data/lib/ultracart_api/models/conversation_pbx_phone_number.rb +300 -0
- data/lib/ultracart_api/models/conversation_pbx_phone_number_response.rb +221 -0
- data/lib/ultracart_api/models/conversation_pbx_phone_numbers_response.rb +223 -0
- data/lib/ultracart_api/models/conversation_pbx_queue.rb +504 -0
- data/lib/ultracart_api/models/conversation_pbx_queue_members.rb +197 -0
- data/lib/ultracart_api/models/conversation_pbx_queue_response.rb +221 -0
- data/lib/ultracart_api/models/conversation_pbx_queues_response.rb +223 -0
- data/lib/ultracart_api/models/conversation_pbx_time_based.rb +211 -0
- data/lib/ultracart_api/models/conversation_pbx_time_based_mapping.rb +275 -0
- data/lib/ultracart_api/models/conversation_pbx_time_based_mapping_config.rb +196 -0
- data/lib/ultracart_api/models/conversation_pbx_time_based_response.rb +221 -0
- data/lib/ultracart_api/models/conversation_pbx_time_baseds_response.rb +223 -0
- data/lib/ultracart_api/models/conversation_pbx_time_range.rb +287 -0
- data/lib/ultracart_api/models/conversation_pbx_time_range_config.rb +235 -0
- data/lib/ultracart_api/models/conversation_pbx_time_range_response.rb +221 -0
- data/lib/ultracart_api/models/conversation_pbx_time_ranges_response.rb +223 -0
- data/lib/ultracart_api/models/conversation_pbx_voicemail_mailbox.rb +405 -0
- data/lib/ultracart_api/models/conversation_pbx_voicemail_mailbox_response.rb +221 -0
- data/lib/ultracart_api/models/conversation_pbx_voicemail_mailboxes_response.rb +223 -0
- data/lib/ultracart_api/models/email_sms_order.rb +214 -0
- data/lib/ultracart_api/models/email_sms_orders_response.rb +223 -0
- data/lib/ultracart_api/models/email_sms_stat.rb +476 -0
- data/lib/ultracart_api/models/email_stat_sms_summary_request.rb +195 -0
- data/lib/ultracart_api/models/email_stat_sms_summary_response.rb +223 -0
- data/lib/ultracart_api/models/pricing_tier.rb +11 -1
- data/lib/ultracart_api/models/workflow_task_tags_response.rb +224 -0
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +37 -0
- metadata +76 -2
data/docs/StorefrontApi.md
CHANGED
@@ -47,6 +47,7 @@ Method | HTTP request | Description
|
|
47
47
|
[**get_email_commseq_email_stats**](StorefrontApi.md#get_email_commseq_email_stats) | **POST** /storefront/{storefront_oid}/email/commseqs/{commseq_uuid}/emailStats | Get email communication sequence emails stats
|
48
48
|
[**get_email_commseq_postcard_stats**](StorefrontApi.md#get_email_commseq_postcard_stats) | **POST** /storefront/{storefront_oid}/email/commseqs/{commseq_uuid}/postcardStats | Get email communication sequence postcard stats
|
49
49
|
[**get_email_commseq_postcard_tracking**](StorefrontApi.md#get_email_commseq_postcard_tracking) | **GET** /storefront/{storefront_oid}/email/postcards/{commseq_postcard_uuid}/tracking | Get email communication postcard tracking
|
50
|
+
[**get_email_commseq_sms_stats**](StorefrontApi.md#get_email_commseq_sms_stats) | **POST** /storefront/{storefront_oid}/email/commseqs/{commseq_uuid}/smsStats | Get email communication sequence sms stats
|
50
51
|
[**get_email_commseq_stat_overall**](StorefrontApi.md#get_email_commseq_stat_overall) | **GET** /storefront/{storefront_oid}/email/commseqs/{commseq_uuid}/stat | Get communication sequence stats overall
|
51
52
|
[**get_email_commseq_step_stats**](StorefrontApi.md#get_email_commseq_step_stats) | **POST** /storefront/{storefront_oid}/email/commseqs/{commseq_uuid}/stepStats | Get email communication sequence step stats
|
52
53
|
[**get_email_commseq_step_waiting**](StorefrontApi.md#get_email_commseq_step_waiting) | **POST** /storefront/{storefront_oid}/email/commseqs/{commseq_uuid}/waiting | Get email communication sequence customers waiting at each requested step
|
@@ -88,6 +89,7 @@ Method | HTTP request | Description
|
|
88
89
|
[**get_email_sending_domain_status**](StorefrontApi.md#get_email_sending_domain_status) | **POST** /storefront/email/sending_domains/{domain}/status | Get email sending domain status
|
89
90
|
[**get_email_sending_domains**](StorefrontApi.md#get_email_sending_domains) | **GET** /storefront/email/sending_domains | Get email sending domains
|
90
91
|
[**get_email_settings**](StorefrontApi.md#get_email_settings) | **GET** /storefront/{storefront_oid}/email/settings | Get email settings
|
92
|
+
[**get_email_sms_orders**](StorefrontApi.md#get_email_sms_orders) | **GET** /storefront/{storefront_oid}/email/commseqs/{commseq_uuid}/steps/{commseq_step_uuid}/sms/orders | Get email sms orders
|
91
93
|
[**get_email_template**](StorefrontApi.md#get_email_template) | **GET** /storefront/{storefront_oid}/email/templates/{email_template_oid} | Get email template
|
92
94
|
[**get_email_templates**](StorefrontApi.md#get_email_templates) | **GET** /storefront/{storefront_oid}/email/templates | Get email templates
|
93
95
|
[**get_email_third_party_providers**](StorefrontApi.md#get_email_third_party_providers) | **GET** /storefront/{storefront_oid}/email/third_party_providers | Get a list of third party email providers
|
@@ -2356,6 +2358,60 @@ Name | Type | Description | Notes
|
|
2356
2358
|
|
2357
2359
|
|
2358
2360
|
|
2361
|
+
# **get_email_commseq_sms_stats**
|
2362
|
+
> EmailStatSmsSummaryResponse get_email_commseq_sms_stats(storefront_oid, commseq_uuid, stats_request)
|
2363
|
+
|
2364
|
+
Get email communication sequence sms stats
|
2365
|
+
|
2366
|
+
### Example
|
2367
|
+
```ruby
|
2368
|
+
# load the gem
|
2369
|
+
require 'ultracart_api'
|
2370
|
+
|
2371
|
+
# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
|
2372
|
+
simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
|
2373
|
+
api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
|
2374
|
+
|
2375
|
+
|
2376
|
+
storefront_oid = 56 # Integer |
|
2377
|
+
|
2378
|
+
commseq_uuid = 'commseq_uuid_example' # String |
|
2379
|
+
|
2380
|
+
stats_request = UltracartClient::EmailStatSmsSummaryRequest.new # EmailStatSmsSummaryRequest | StatsRequest
|
2381
|
+
|
2382
|
+
|
2383
|
+
begin
|
2384
|
+
#Get email communication sequence sms stats
|
2385
|
+
result = api_instance.get_email_commseq_sms_stats(storefront_oid, commseq_uuid, stats_request)
|
2386
|
+
p result
|
2387
|
+
rescue UltracartClient::ApiError => e
|
2388
|
+
puts "Exception when calling StorefrontApi->get_email_commseq_sms_stats: #{e}"
|
2389
|
+
end
|
2390
|
+
```
|
2391
|
+
|
2392
|
+
### Parameters
|
2393
|
+
|
2394
|
+
Name | Type | Description | Notes
|
2395
|
+
------------- | ------------- | ------------- | -------------
|
2396
|
+
**storefront_oid** | **Integer**| |
|
2397
|
+
**commseq_uuid** | **String**| |
|
2398
|
+
**stats_request** | [**EmailStatSmsSummaryRequest**](EmailStatSmsSummaryRequest.md)| StatsRequest |
|
2399
|
+
|
2400
|
+
### Return type
|
2401
|
+
|
2402
|
+
[**EmailStatSmsSummaryResponse**](EmailStatSmsSummaryResponse.md)
|
2403
|
+
|
2404
|
+
### Authorization
|
2405
|
+
|
2406
|
+
[ultraCartBrowserApiKey](../README.md#ultraCartBrowserApiKey), [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
2407
|
+
|
2408
|
+
### HTTP request headers
|
2409
|
+
|
2410
|
+
- **Content-Type**: application/json
|
2411
|
+
- **Accept**: application/json
|
2412
|
+
|
2413
|
+
|
2414
|
+
|
2359
2415
|
# **get_email_commseq_stat_overall**
|
2360
2416
|
> EmailCommseqStatResponse get_email_commseq_stat_overall(storefront_oid, commseq_uuid)
|
2361
2417
|
|
@@ -4449,6 +4505,64 @@ Name | Type | Description | Notes
|
|
4449
4505
|
|
4450
4506
|
|
4451
4507
|
|
4508
|
+
# **get_email_sms_orders**
|
4509
|
+
> EmailSmsOrdersResponse get_email_sms_orders(storefront_oid, commseq_uuid, commseq_step_uuid, opts)
|
4510
|
+
|
4511
|
+
Get email sms orders
|
4512
|
+
|
4513
|
+
### Example
|
4514
|
+
```ruby
|
4515
|
+
# load the gem
|
4516
|
+
require 'ultracart_api'
|
4517
|
+
|
4518
|
+
# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
|
4519
|
+
simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
|
4520
|
+
api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
|
4521
|
+
|
4522
|
+
|
4523
|
+
storefront_oid = 56 # Integer |
|
4524
|
+
|
4525
|
+
commseq_uuid = 'commseq_uuid_example' # String |
|
4526
|
+
|
4527
|
+
commseq_step_uuid = 'commseq_step_uuid_example' # String |
|
4528
|
+
|
4529
|
+
opts = {
|
4530
|
+
days: 56 # Integer |
|
4531
|
+
}
|
4532
|
+
|
4533
|
+
begin
|
4534
|
+
#Get email sms orders
|
4535
|
+
result = api_instance.get_email_sms_orders(storefront_oid, commseq_uuid, commseq_step_uuid, opts)
|
4536
|
+
p result
|
4537
|
+
rescue UltracartClient::ApiError => e
|
4538
|
+
puts "Exception when calling StorefrontApi->get_email_sms_orders: #{e}"
|
4539
|
+
end
|
4540
|
+
```
|
4541
|
+
|
4542
|
+
### Parameters
|
4543
|
+
|
4544
|
+
Name | Type | Description | Notes
|
4545
|
+
------------- | ------------- | ------------- | -------------
|
4546
|
+
**storefront_oid** | **Integer**| |
|
4547
|
+
**commseq_uuid** | **String**| |
|
4548
|
+
**commseq_step_uuid** | **String**| |
|
4549
|
+
**days** | **Integer**| | [optional]
|
4550
|
+
|
4551
|
+
### Return type
|
4552
|
+
|
4553
|
+
[**EmailSmsOrdersResponse**](EmailSmsOrdersResponse.md)
|
4554
|
+
|
4555
|
+
### Authorization
|
4556
|
+
|
4557
|
+
[ultraCartBrowserApiKey](../README.md#ultraCartBrowserApiKey), [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
4558
|
+
|
4559
|
+
### HTTP request headers
|
4560
|
+
|
4561
|
+
- **Content-Type**: application/json
|
4562
|
+
- **Accept**: application/json
|
4563
|
+
|
4564
|
+
|
4565
|
+
|
4452
4566
|
# **get_email_template**
|
4453
4567
|
> EmailTemplate get_email_template(storefront_oid, email_template_oid)
|
4454
4568
|
|
data/docs/WorkflowApi.md
CHANGED
@@ -10,6 +10,7 @@ Method | HTTP request | Description
|
|
10
10
|
[**get_workflow_task**](WorkflowApi.md#get_workflow_task) | **GET** /workflow/tasks/{task_uuid} | Retrieve a workflow task
|
11
11
|
[**get_workflow_task_attachment_upload_url**](WorkflowApi.md#get_workflow_task_attachment_upload_url) | **GET** /workflow/tasks/attachments/{extension} | Get a presigned workflow task attachment upload URL
|
12
12
|
[**get_workflow_task_by_object_type**](WorkflowApi.md#get_workflow_task_by_object_type) | **GET** /workflow/tasks/by/{object_type}/{object_id} | Retrieve a workflow task by object type and id
|
13
|
+
[**get_workflow_task_tags**](WorkflowApi.md#get_workflow_task_tags) | **GET** /workflow/tasks/tags | Get a list of existing workflow task tags
|
13
14
|
[**get_workflow_tasks**](WorkflowApi.md#get_workflow_tasks) | **POST** /workflow/tasks/search | Search workflow tasks
|
14
15
|
[**insert_workflow_task**](WorkflowApi.md#insert_workflow_task) | **POST** /workflow/tasks | Insert a workflow task
|
15
16
|
[**update_workflow_task**](WorkflowApi.md#update_workflow_task) | **PUT** /workflow/tasks/{task_uuid} | Update a workflow task
|
@@ -319,6 +320,51 @@ Name | Type | Description | Notes
|
|
319
320
|
|
320
321
|
|
321
322
|
|
323
|
+
# **get_workflow_task_tags**
|
324
|
+
> WorkflowTaskTagsResponse get_workflow_task_tags
|
325
|
+
|
326
|
+
Get a list of existing workflow task tags
|
327
|
+
|
328
|
+
Retrieves a unique list of all the existing workflow task tags.
|
329
|
+
|
330
|
+
### Example
|
331
|
+
```ruby
|
332
|
+
# load the gem
|
333
|
+
require 'ultracart_api'
|
334
|
+
|
335
|
+
# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
|
336
|
+
simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
|
337
|
+
api_instance = UltracartClient::WorkflowApi.new_using_api_key(simple_key, false, false)
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
begin
|
342
|
+
#Get a list of existing workflow task tags
|
343
|
+
result = api_instance.get_workflow_task_tags
|
344
|
+
p result
|
345
|
+
rescue UltracartClient::ApiError => e
|
346
|
+
puts "Exception when calling WorkflowApi->get_workflow_task_tags: #{e}"
|
347
|
+
end
|
348
|
+
```
|
349
|
+
|
350
|
+
### Parameters
|
351
|
+
This endpoint does not need any parameter.
|
352
|
+
|
353
|
+
### Return type
|
354
|
+
|
355
|
+
[**WorkflowTaskTagsResponse**](WorkflowTaskTagsResponse.md)
|
356
|
+
|
357
|
+
### Authorization
|
358
|
+
|
359
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
360
|
+
|
361
|
+
### HTTP request headers
|
362
|
+
|
363
|
+
- **Content-Type**: application/json
|
364
|
+
- **Accept**: application/json
|
365
|
+
|
366
|
+
|
367
|
+
|
322
368
|
# **get_workflow_tasks**
|
323
369
|
> WorkflowTasksResponse get_workflow_tasks(workflow_tasks_query, opts)
|
324
370
|
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# UltracartClient::WorkflowTaskTagsResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**error** | [**Error**](Error.md) | | [optional]
|
7
|
+
**metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
|
8
|
+
**success** | **BOOLEAN** | Indicates if API call was successful | [optional]
|
9
|
+
**tags** | **Array<String>** | Tags | [optional]
|
10
|
+
**warning** | [**Warning**](Warning.md) | | [optional]
|
11
|
+
|
12
|
+
|