purecloudplatformclientv2 75.1.0 → 79.0.0
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 +2 -2
- data/docs/ActivityCode.md +1 -1
- data/docs/AnalyticsApi.md +66 -2
- data/docs/AnalyticsConversationAsyncQueryResponse.md +1 -1
- data/docs/AnalyticsConversationQueryResponse.md +1 -1
- data/docs/AnalyticsParticipant.md +1 -0
- data/docs/AnalyticsParticipantWithoutAttributes.md +1 -0
- data/docs/ArchitectApi.md +345 -0
- data/docs/AuditApi.md +3 -1
- data/docs/AuditLogMessage.md +1 -1
- data/docs/AuthorizationApi.md +154 -9
- data/docs/AvailableTopic.md +3 -1
- data/docs/BuAgentScheduleActivity.md +18 -0
- data/docs/BuAgentSchedulePublishedScheduleReference.md +16 -0
- data/docs/BuAgentScheduleSearchResponse.md +15 -0
- data/docs/BuAgentScheduleShift.md +18 -0
- data/docs/BuAgentSchedulesSearchResponse.md +15 -0
- data/docs/BuAsyncAgentSchedulesSearchResponse.md +17 -0
- data/docs/BuFullDayTimeOffMarker.md +18 -0
- data/docs/BuScheduleReference.md +15 -0
- data/docs/Call.md +1 -1
- data/docs/CallBasic.md +1 -1
- data/docs/CallMediaParticipant.md +1 -1
- data/docs/CallbackMediaParticipant.md +1 -1
- data/docs/CampaignProgress.md +2 -1
- data/docs/ChatMediaParticipant.md +1 -1
- data/docs/CobrowseMediaParticipant.md +1 -1
- data/docs/ConversationsApi.md +71 -1
- data/docs/CopyAttachmentsRequest.md +14 -0
- data/docs/CreateManagementUnitApiRequest.md +3 -2
- data/docs/CreateManagementUnitSettingsRequest.md +1 -1
- data/docs/CreateWorkPlanShift.md +1 -1
- data/docs/DataTableExportJob.md +22 -0
- data/docs/DataTableImportJob.md +25 -0
- data/docs/DivsPermittedEntityListing.md +23 -0
- data/docs/EmailMediaParticipant.md +1 -1
- data/docs/EntityListing.md +17 -0
- data/docs/ErrorBody.md +2 -2
- data/docs/ErrorInfo.md +14 -0
- data/docs/Evaluation.md +1 -0
- data/docs/EvaluationQuestionGroupScore.md +4 -0
- data/docs/EvaluationScoringSet.md +1 -0
- data/docs/FacebookIntegrationRequest.md +2 -2
- data/docs/GDPRJourneyCustomer.md +2 -2
- data/docs/InboundDomain.md +2 -0
- data/docs/Library.md +4 -3
- data/docs/LicenseApi.md +66 -0
- data/docs/MailFromResult.md +15 -0
- data/docs/ManagementUnit.md +2 -2
- data/docs/ManagementUnitSettingsRequest.md +1 -1
- data/docs/MessageMediaParticipant.md +1 -1
- data/docs/MessagingApi.md +0 -936
- data/docs/MessagingTemplate.md +15 -0
- data/docs/Organization.md +1 -0
- data/docs/QualityApi.md +5 -6
- data/docs/Record.md +15 -0
- data/docs/ReportingExportMetadataJobListing.md +22 -0
- data/docs/ReportingExportMetadataJobResponse.md +22 -0
- data/docs/Response.md +2 -0
- data/docs/RoutingApi.md +385 -0
- data/docs/RoutingSettings.md +13 -0
- data/docs/SCIMApi.md +397 -23
- data/docs/ScimUserExtensions.md +14 -0
- data/docs/ScimUserRole.md +13 -0
- data/docs/ScimUserRoutingLanguage.md +14 -0
- data/docs/ScimUserRoutingSkill.md +14 -0
- data/docs/ScimV2CreateUser.md +2 -1
- data/docs/ScimV2SchemaAttribute.md +24 -0
- data/docs/ScimV2SchemaDefinition.md +17 -0
- data/docs/ScimV2SchemaListResponse.md +17 -0
- data/docs/ScimV2User.md +2 -1
- data/docs/ShortTermForecast.md +2 -2
- data/docs/ShortTermForecastListItemResponse.md +2 -2
- data/docs/ShortTermForecastReference.md +2 -2
- data/docs/TimeOffRequestLookup.md +3 -3
- data/docs/TimeOffRequestResponse.md +3 -3
- data/docs/UserScheduleAdherence.md +1 -1
- data/docs/UsersApi.md +358 -10
- data/docs/ViewFilter.md +4 -10
- data/docs/WeekSchedule.md +1 -1
- data/docs/WeekScheduleListItemResponse.md +1 -1
- data/docs/WeekScheduleReference.md +1 -1
- data/docs/WorkPlanShift.md +1 -1
- data/docs/WorkforceManagementApi.md +40 -41
- data/lib/purecloudplatformclientv2.rb +27 -0
- data/lib/purecloudplatformclientv2/api/analytics_api.rb +73 -0
- data/lib/purecloudplatformclientv2/api/architect_api.rb +373 -0
- data/lib/purecloudplatformclientv2/api/audit_api.rb +9 -0
- data/lib/purecloudplatformclientv2/api/authorization_api.rb +185 -7
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +84 -0
- data/lib/purecloudplatformclientv2/api/license_api.rb +63 -0
- data/lib/purecloudplatformclientv2/api/messaging_api.rb +0 -949
- data/lib/purecloudplatformclientv2/api/quality_api.rb +8 -6
- data/lib/purecloudplatformclientv2/api/routing_api.rb +378 -0
- data/lib/purecloudplatformclientv2/api/scim_api.rb +366 -26
- data/lib/purecloudplatformclientv2/api/users_api.rb +398 -7
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +3 -3
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/activity_code.rb +30 -30
- data/lib/purecloudplatformclientv2/models/analytics_conversation_async_query_response.rb +15 -15
- data/lib/purecloudplatformclientv2/models/analytics_conversation_query_response.rb +15 -15
- data/lib/purecloudplatformclientv2/models/analytics_participant.rb +27 -1
- data/lib/purecloudplatformclientv2/models/analytics_participant_without_attributes.rb +27 -1
- data/lib/purecloudplatformclientv2/models/audit_log_message.rb +5 -5
- data/lib/purecloudplatformclientv2/models/available_topic.rb +57 -4
- data/lib/purecloudplatformclientv2/models/bu_agent_schedule_activity.rb +332 -0
- data/lib/purecloudplatformclientv2/models/bu_agent_schedule_published_schedule_reference.rb +280 -0
- data/lib/purecloudplatformclientv2/models/bu_agent_schedule_search_response.rb +258 -0
- data/lib/purecloudplatformclientv2/models/bu_agent_schedule_shift.rb +334 -0
- data/lib/purecloudplatformclientv2/models/bu_agent_schedules_search_response.rb +258 -0
- data/lib/purecloudplatformclientv2/models/bu_async_agent_schedules_search_response.rb +320 -0
- data/lib/purecloudplatformclientv2/models/bu_full_day_time_off_marker.rb +332 -0
- data/lib/purecloudplatformclientv2/models/bu_schedule_reference.rb +254 -0
- data/lib/purecloudplatformclientv2/models/call.rb +1 -1
- data/lib/purecloudplatformclientv2/models/call_basic.rb +1 -1
- data/lib/purecloudplatformclientv2/models/call_media_participant.rb +1 -1
- data/lib/purecloudplatformclientv2/models/callback_media_participant.rb +1 -1
- data/lib/purecloudplatformclientv2/models/campaign_progress.rb +28 -2
- data/lib/purecloudplatformclientv2/models/chat_media_participant.rb +1 -1
- data/lib/purecloudplatformclientv2/models/cobrowse_media_participant.rb +1 -1
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/copy_attachments_request.rb +240 -0
- data/lib/purecloudplatformclientv2/models/create_management_unit_api_request.rb +37 -16
- data/lib/purecloudplatformclientv2/models/create_management_unit_settings_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/create_work_plan_shift.rb +1 -1
- data/lib/purecloudplatformclientv2/models/data_table_export_job.rb +455 -0
- data/lib/purecloudplatformclientv2/models/data_table_import_job.rb +547 -0
- data/lib/purecloudplatformclientv2/models/divs_permitted_entity_listing.rb +453 -0
- data/lib/purecloudplatformclientv2/models/email_media_participant.rb +1 -1
- data/lib/purecloudplatformclientv2/models/entity_listing.rb +303 -0
- data/lib/purecloudplatformclientv2/models/error_body.rb +20 -20
- data/lib/purecloudplatformclientv2/models/error_info.rb +226 -0
- data/lib/purecloudplatformclientv2/models/evaluation.rb +27 -1
- data/lib/purecloudplatformclientv2/models/evaluation_question_group_score.rb +101 -1
- data/lib/purecloudplatformclientv2/models/evaluation_scoring_set.rb +26 -1
- data/lib/purecloudplatformclientv2/models/facebook_integration_request.rb +2 -7
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/gdpr_journey_customer.rb +2 -12
- data/lib/purecloudplatformclientv2/models/inbound_domain.rb +53 -1
- data/lib/purecloudplatformclientv2/models/library.rb +44 -2
- data/lib/purecloudplatformclientv2/models/mail_from_result.rb +275 -0
- data/lib/purecloudplatformclientv2/models/management_unit.rb +2 -2
- data/lib/purecloudplatformclientv2/models/management_unit_settings_request.rb +1 -1
- data/lib/purecloudplatformclientv2/models/message_media_participant.rb +1 -1
- data/lib/purecloudplatformclientv2/models/messaging_template.rb +270 -0
- data/lib/purecloudplatformclientv2/models/organization.rb +41 -1
- data/lib/purecloudplatformclientv2/models/record.rb +269 -0
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/reporting_export_metadata_job_listing.rb +428 -0
- data/lib/purecloudplatformclientv2/models/reporting_export_metadata_job_response.rb +459 -0
- data/lib/purecloudplatformclientv2/models/response.rb +67 -1
- data/lib/purecloudplatformclientv2/models/routing_settings.rb +202 -0
- data/lib/purecloudplatformclientv2/models/scim_metadata.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_user_extensions.rb +233 -0
- data/lib/purecloudplatformclientv2/models/scim_user_role.rb +203 -0
- data/lib/purecloudplatformclientv2/models/scim_user_routing_language.rb +234 -0
- data/lib/purecloudplatformclientv2/models/scim_user_routing_skill.rb +234 -0
- data/lib/purecloudplatformclientv2/models/scim_v2_create_user.rb +30 -5
- data/lib/purecloudplatformclientv2/models/scim_v2_group_reference.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_v2_member_reference.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_v2_schema_attribute.rb +551 -0
- data/lib/purecloudplatformclientv2/models/scim_v2_schema_definition.rb +309 -0
- data/lib/purecloudplatformclientv2/models/scim_v2_schema_list_response.rb +311 -0
- data/lib/purecloudplatformclientv2/models/scim_v2_user.rb +27 -2
- data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
- data/lib/purecloudplatformclientv2/models/short_term_forecast.rb +30 -35
- data/lib/purecloudplatformclientv2/models/short_term_forecast_list_item_response.rb +30 -35
- data/lib/purecloudplatformclientv2/models/short_term_forecast_reference.rb +22 -27
- data/lib/purecloudplatformclientv2/models/time_off_request_lookup.rb +3 -3
- data/lib/purecloudplatformclientv2/models/time_off_request_response.rb +3 -3
- data/lib/purecloudplatformclientv2/models/user_schedule_adherence.rb +1 -1
- data/lib/purecloudplatformclientv2/models/view_filter.rb +53 -255
- data/lib/purecloudplatformclientv2/models/week_schedule.rb +21 -21
- data/lib/purecloudplatformclientv2/models/week_schedule_list_item_response.rb +21 -21
- data/lib/purecloudplatformclientv2/models/week_schedule_reference.rb +14 -14
- data/lib/purecloudplatformclientv2/models/work_plan_shift.rb +1 -1
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +56 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fb7ad6b87905946dfc74db0074de53b61f551e6
|
4
|
+
data.tar.gz: 6f6596a2d8a487e68467d888aedbc0cfc98dca6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c11fc677709bf7299ebc3245733d791db6f363f4d1775c3497f8126c230d391db0594bc8eba9085e4721faedfb605e9ae536b0f77340ee5bdde76dca683a833
|
7
|
+
data.tar.gz: 60f5105b91dc8cfbf71977085f83822c7e2164ef26f33040bdcb8c6c1f067661ab3a2c259fd205eb39647d05d9976b6ee9adbe9532e186456cc3ab1ff40ebb28
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
title: PureCloud Ruby Gem
|
3
3
|
---
|
4
|
-

|
5
5
|
|
6
6
|
Documentation can be found at [https://developer.mypurecloud.com/api/rest/client-libraries/ruby/](https://developer.mypurecloud.com/api/rest/client-libraries/ruby/)
|
7
7
|
|
@@ -10,7 +10,7 @@ Documentation can be found at [https://developer.mypurecloud.com/api/rest/client
|
|
10
10
|
### from rubygems.org
|
11
11
|
|
12
12
|
```{"language":"ruby"}
|
13
|
-
gem install 'purecloudplatformclientv2', '~>
|
13
|
+
gem install 'purecloudplatformclientv2', '~> 79.0.0'
|
14
14
|
```
|
15
15
|
|
16
16
|
### Install from Git
|
data/docs/ActivityCode.md
CHANGED
@@ -8,6 +8,7 @@ title: ActivityCode
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
10
|
| **id** | **String** | The globally unique identifier for the object. | [optional] |
|
11
|
+
| **self_uri** | **String** | The URI for this object | [optional] |
|
11
12
|
| **name** | **String** | The name of the activity code. Default activity codes will be created with an empty name | [optional] |
|
12
13
|
| **is_active** | **BOOLEAN** | Whether this activity code is active or has been deleted | [optional] |
|
13
14
|
| **is_default** | **BOOLEAN** | Whether this is a default activity code | [optional] |
|
@@ -17,7 +18,6 @@ title: ActivityCode
|
|
17
18
|
| **counts_as_work_time** | **BOOLEAN** | Indicates whether or not the activity should be counted as contiguous work time for calculating daily constraints | [optional] |
|
18
19
|
| **agent_time_off_selectable** | **BOOLEAN** | Whether an agent can select this activity code when creating or editing a time off request. Null if the activity's category is not time off. | [optional] |
|
19
20
|
| **metadata** | [**WfmVersionedEntityMetadata**](WfmVersionedEntityMetadata.html) | Version metadata for the associated management unit's list of activity codes | |
|
20
|
-
| **self_uri** | **String** | The URI for this object | [optional] |
|
21
21
|
{: class="table table-striped"}
|
22
22
|
|
23
23
|
|
data/docs/AnalyticsApi.md
CHANGED
@@ -16,6 +16,7 @@ Method | Description
|
|
16
16
|
[**get_analytics_conversations_details_job**](AnalyticsApi.html#get_analytics_conversations_details_job) | Get status for async query for conversation details
|
17
17
|
[**get_analytics_conversations_details_job_results**](AnalyticsApi.html#get_analytics_conversations_details_job_results) | Fetch a page of results for an async query
|
18
18
|
[**get_analytics_reporting_exports**](AnalyticsApi.html#get_analytics_reporting_exports) | Get all view export requests for a user
|
19
|
+
[**get_analytics_reporting_exports_metadata**](AnalyticsApi.html#get_analytics_reporting_exports_metadata) | Get all export metadata
|
19
20
|
[**get_analytics_reporting_metadata**](AnalyticsApi.html#get_analytics_reporting_metadata) | Get list of reporting metadata.
|
20
21
|
[**get_analytics_reporting_report_id_metadata**](AnalyticsApi.html#get_analytics_reporting_report_id_metadata) | Get a reporting metadata.
|
21
22
|
[**get_analytics_reporting_reportformats**](AnalyticsApi.html#get_analytics_reporting_reportformats) | Get a list of report formats
|
@@ -470,7 +471,8 @@ api_instance = PureCloud::AnalyticsApi.new
|
|
470
471
|
job_id = "job_id_example" # String | jobId
|
471
472
|
|
472
473
|
opts = {
|
473
|
-
cursor: "cursor_example" # String | Indicates where to resume query results (not required for first page)
|
474
|
+
cursor: "cursor_example", # String | Indicates where to resume query results (not required for first page)
|
475
|
+
page_size: 56 # Integer | The desired maximum number of results
|
474
476
|
}
|
475
477
|
|
476
478
|
begin
|
@@ -488,6 +490,7 @@ Name | Type | Description | Notes
|
|
488
490
|
------------- | ------------- | ------------- | -------------
|
489
491
|
**job_id** | **String**| jobId | |
|
490
492
|
**cursor** | **String**| Indicates where to resume query results (not required for first page) | [optional] |
|
493
|
+
**page_size** | **Integer**| The desired maximum number of results | [optional] |
|
491
494
|
{: class="table table-striped"}
|
492
495
|
|
493
496
|
|
@@ -561,6 +564,65 @@ This endpoint does not need any parameter.
|
|
561
564
|
|
562
565
|
|
563
566
|
|
567
|
+
<a name="get_analytics_reporting_exports_metadata"></a>
|
568
|
+
|
569
|
+
## [**ReportingExportMetadataJobListing**](ReportingExportMetadataJobListing.html) get_analytics_reporting_exports_metadata
|
570
|
+
|
571
|
+
|
572
|
+
|
573
|
+
Get all export metadata
|
574
|
+
|
575
|
+
|
576
|
+
|
577
|
+
Wraps GET /api/v2/analytics/reporting/exports/metadata
|
578
|
+
|
579
|
+
Requires ANY permissions:
|
580
|
+
|
581
|
+
* analytics:dataExport:view
|
582
|
+
|
583
|
+
|
584
|
+
### Example
|
585
|
+
```{"language":"ruby"}
|
586
|
+
# load the gem
|
587
|
+
require 'purecloudplatformclientv2'
|
588
|
+
# setup authorization
|
589
|
+
@secret = ENV['PURECLOUD_SECRET']
|
590
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
591
|
+
environment = "mypurecloud.com"
|
592
|
+
|
593
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
594
|
+
|
595
|
+
PureCloud.configure do |config|
|
596
|
+
config.access_token = @authToken
|
597
|
+
end
|
598
|
+
|
599
|
+
api_instance = PureCloud::AnalyticsApi.new
|
600
|
+
|
601
|
+
begin
|
602
|
+
#Get all export metadata
|
603
|
+
result = api_instance.get_analytics_reporting_exports_metadata
|
604
|
+
p result
|
605
|
+
rescue PureCloud::ApiError => e
|
606
|
+
puts "Exception when calling AnalyticsApi->get_analytics_reporting_exports_metadata: #{e}"
|
607
|
+
end
|
608
|
+
```
|
609
|
+
|
610
|
+
### Parameters
|
611
|
+
This endpoint does not need any parameter.
|
612
|
+
{: class="table table-striped"}
|
613
|
+
|
614
|
+
|
615
|
+
### Return type
|
616
|
+
|
617
|
+
[**ReportingExportMetadataJobListing**](ReportingExportMetadataJobListing.html)
|
618
|
+
|
619
|
+
### HTTP request headers
|
620
|
+
|
621
|
+
- **Content-Type**: application/json
|
622
|
+
- **Accept**: application/json
|
623
|
+
|
624
|
+
|
625
|
+
|
564
626
|
<a name="get_analytics_reporting_metadata"></a>
|
565
627
|
|
566
628
|
## [**ReportMetaDataEntityListing**](ReportMetaDataEntityListing.html) get_analytics_reporting_metadata(opts)
|
@@ -1250,7 +1312,8 @@ api_instance = PureCloud::AnalyticsApi.new
|
|
1250
1312
|
job_id = "job_id_example" # String | jobId
|
1251
1313
|
|
1252
1314
|
opts = {
|
1253
|
-
cursor: "cursor_example" # String | Indicates where to resume query results (not required for first page)
|
1315
|
+
cursor: "cursor_example", # String | Indicates where to resume query results (not required for first page)
|
1316
|
+
page_size: 56 # Integer | The desired maximum number of results
|
1254
1317
|
}
|
1255
1318
|
|
1256
1319
|
begin
|
@@ -1268,6 +1331,7 @@ Name | Type | Description | Notes
|
|
1268
1331
|
------------- | ------------- | ------------- | -------------
|
1269
1332
|
**job_id** | **String**| jobId | |
|
1270
1333
|
**cursor** | **String**| Indicates where to resume query results (not required for first page) | [optional] |
|
1334
|
+
**page_size** | **Integer**| The desired maximum number of results | [optional] |
|
1271
1335
|
{: class="table table-striped"}
|
1272
1336
|
|
1273
1337
|
|
@@ -7,8 +7,8 @@ title: AnalyticsConversationAsyncQueryResponse
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **conversations** | [**Array<AnalyticsConversation>**](AnalyticsConversation.html) | | [optional] |
|
11
10
|
| **cursor** | **String** | Optional cursor to indicate where to resume the results | [optional] |
|
11
|
+
| **conversations** | [**Array<AnalyticsConversation>**](AnalyticsConversation.html) | | [optional] |
|
12
12
|
{: class="table table-striped"}
|
13
13
|
|
14
14
|
|
@@ -7,8 +7,8 @@ title: AnalyticsConversationQueryResponse
|
|
7
7
|
|
8
8
|
|Name | Type | Description | Notes|
|
9
9
|
|------------ | ------------- | ------------- | -------------|
|
10
|
-
| **conversations** | [**Array<AnalyticsConversation>**](AnalyticsConversation.html) | | [optional] |
|
11
10
|
| **aggregations** | [**Array<AggregationResult>**](AggregationResult.html) | | [optional] |
|
11
|
+
| **conversations** | [**Array<AnalyticsConversationWithoutAttributes>**](AnalyticsConversationWithoutAttributes.html) | | [optional] |
|
12
12
|
{: class="table table-striped"}
|
13
13
|
|
14
14
|
|
@@ -14,6 +14,7 @@ title: AnalyticsParticipant
|
|
14
14
|
| **external_contact_id** | **String** | External Contact Identifier | [optional] |
|
15
15
|
| **external_organization_id** | **String** | External Organization Identifier | [optional] |
|
16
16
|
| **flagged_reason** | **String** | Reason for which participant flagged conversation | [optional] |
|
17
|
+
| **team_id** | **String** | The team id the user is a member of | [optional] |
|
17
18
|
| **sessions** | [**Array<AnalyticsSession>**](AnalyticsSession.html) | List of sessions associated to this participant | [optional] |
|
18
19
|
| **attributes** | **Hash<String, String>** | List of attributes associated to this participant | [optional] |
|
19
20
|
{: class="table table-striped"}
|
@@ -14,6 +14,7 @@ title: AnalyticsParticipantWithoutAttributes
|
|
14
14
|
| **external_contact_id** | **String** | External Contact Identifier | [optional] |
|
15
15
|
| **external_organization_id** | **String** | External Organization Identifier | [optional] |
|
16
16
|
| **flagged_reason** | **String** | Reason for which participant flagged conversation | [optional] |
|
17
|
+
| **team_id** | **String** | The team id the user is a member of | [optional] |
|
17
18
|
| **sessions** | [**Array<AnalyticsSession>**](AnalyticsSession.html) | List of sessions associated to this participant | [optional] |
|
18
19
|
{: class="table table-striped"}
|
19
20
|
|
data/docs/ArchitectApi.md
CHANGED
@@ -56,6 +56,9 @@ Method | Description
|
|
56
56
|
[**get_flow_versions**](ArchitectApi.html#get_flow_versions) | Get flow version list
|
57
57
|
[**get_flows**](ArchitectApi.html#get_flows) | Get a pageable list of flows, filtered by query parameters
|
58
58
|
[**get_flows_datatable**](ArchitectApi.html#get_flows_datatable) | Returns a specific datatable by id
|
59
|
+
[**get_flows_datatable_export_job**](ArchitectApi.html#get_flows_datatable_export_job) | Returns the state information about an export job
|
60
|
+
[**get_flows_datatable_import_job**](ArchitectApi.html#get_flows_datatable_import_job) | Returns the state information about an import job
|
61
|
+
[**get_flows_datatable_import_jobs**](ArchitectApi.html#get_flows_datatable_import_jobs) | Get all recent import jobs
|
59
62
|
[**get_flows_datatable_row**](ArchitectApi.html#get_flows_datatable_row) | Returns a specific row for the datatable
|
60
63
|
[**get_flows_datatable_rows**](ArchitectApi.html#get_flows_datatable_rows) | Returns the rows for the datatable with the given id
|
61
64
|
[**get_flows_datatables**](ArchitectApi.html#get_flows_datatables) | Retrieve a list of datatables for the org
|
@@ -80,6 +83,8 @@ Method | Description
|
|
80
83
|
[**post_flows_actions_publish**](ArchitectApi.html#post_flows_actions_publish) | Publish flow
|
81
84
|
[**post_flows_actions_revert**](ArchitectApi.html#post_flows_actions_revert) | Revert flow
|
82
85
|
[**post_flows_actions_unlock**](ArchitectApi.html#post_flows_actions_unlock) | Unlock flow
|
86
|
+
[**post_flows_datatable_export_jobs**](ArchitectApi.html#post_flows_datatable_export_jobs) | Begin an export process for exporting all rows from a datatable
|
87
|
+
[**post_flows_datatable_import_jobs**](ArchitectApi.html#post_flows_datatable_import_jobs) | Begin an import process for importing rows into a datatable
|
83
88
|
[**post_flows_datatable_rows**](ArchitectApi.html#post_flows_datatable_rows) | Create a new row entry for the datatable.
|
84
89
|
[**post_flows_datatables**](ArchitectApi.html#post_flows_datatables) | Create a new datatable with the specified json-schema definition
|
85
90
|
[**post_flows_outcomes**](ArchitectApi.html#post_flows_outcomes) | Create a flow outcome
|
@@ -3503,6 +3508,213 @@ Name | Type | Description | Notes
|
|
3503
3508
|
|
3504
3509
|
|
3505
3510
|
|
3511
|
+
<a name="get_flows_datatable_export_job"></a>
|
3512
|
+
|
3513
|
+
## [**DataTableExportJob**](DataTableExportJob.html) get_flows_datatable_export_job(datatable_id, export_job_id)
|
3514
|
+
|
3515
|
+
|
3516
|
+
|
3517
|
+
Returns the state information about an export job
|
3518
|
+
|
3519
|
+
Returns the state information about an export job.
|
3520
|
+
|
3521
|
+
Wraps GET /api/v2/flows/datatables/{datatableId}/export/jobs/{exportJobId}
|
3522
|
+
|
3523
|
+
Requires ANY permissions:
|
3524
|
+
|
3525
|
+
* architect:datatable:view
|
3526
|
+
|
3527
|
+
|
3528
|
+
### Example
|
3529
|
+
```{"language":"ruby"}
|
3530
|
+
# load the gem
|
3531
|
+
require 'purecloudplatformclientv2'
|
3532
|
+
# setup authorization
|
3533
|
+
@secret = ENV['PURECLOUD_SECRET']
|
3534
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
3535
|
+
environment = "mypurecloud.com"
|
3536
|
+
|
3537
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
3538
|
+
|
3539
|
+
PureCloud.configure do |config|
|
3540
|
+
config.access_token = @authToken
|
3541
|
+
end
|
3542
|
+
|
3543
|
+
api_instance = PureCloud::ArchitectApi.new
|
3544
|
+
|
3545
|
+
datatable_id = "datatable_id_example" # String | id of datatable
|
3546
|
+
|
3547
|
+
export_job_id = "export_job_id_example" # String | id of export job
|
3548
|
+
|
3549
|
+
|
3550
|
+
begin
|
3551
|
+
#Returns the state information about an export job
|
3552
|
+
result = api_instance.get_flows_datatable_export_job(datatable_id, export_job_id)
|
3553
|
+
p result
|
3554
|
+
rescue PureCloud::ApiError => e
|
3555
|
+
puts "Exception when calling ArchitectApi->get_flows_datatable_export_job: #{e}"
|
3556
|
+
end
|
3557
|
+
```
|
3558
|
+
|
3559
|
+
### Parameters
|
3560
|
+
|
3561
|
+
Name | Type | Description | Notes
|
3562
|
+
------------- | ------------- | ------------- | -------------
|
3563
|
+
**datatable_id** | **String**| id of datatable | |
|
3564
|
+
**export_job_id** | **String**| id of export job | |
|
3565
|
+
{: class="table table-striped"}
|
3566
|
+
|
3567
|
+
|
3568
|
+
### Return type
|
3569
|
+
|
3570
|
+
[**DataTableExportJob**](DataTableExportJob.html)
|
3571
|
+
|
3572
|
+
### HTTP request headers
|
3573
|
+
|
3574
|
+
- **Content-Type**: application/json
|
3575
|
+
- **Accept**: application/json
|
3576
|
+
|
3577
|
+
|
3578
|
+
|
3579
|
+
<a name="get_flows_datatable_import_job"></a>
|
3580
|
+
|
3581
|
+
## [**DataTableImportJob**](DataTableImportJob.html) get_flows_datatable_import_job(datatable_id, import_job_id)
|
3582
|
+
|
3583
|
+
|
3584
|
+
|
3585
|
+
Returns the state information about an import job
|
3586
|
+
|
3587
|
+
Returns the state information about an import job.
|
3588
|
+
|
3589
|
+
Wraps GET /api/v2/flows/datatables/{datatableId}/import/jobs/{importJobId}
|
3590
|
+
|
3591
|
+
Requires ANY permissions:
|
3592
|
+
|
3593
|
+
* architect:datatable:view
|
3594
|
+
|
3595
|
+
|
3596
|
+
### Example
|
3597
|
+
```{"language":"ruby"}
|
3598
|
+
# load the gem
|
3599
|
+
require 'purecloudplatformclientv2'
|
3600
|
+
# setup authorization
|
3601
|
+
@secret = ENV['PURECLOUD_SECRET']
|
3602
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
3603
|
+
environment = "mypurecloud.com"
|
3604
|
+
|
3605
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
3606
|
+
|
3607
|
+
PureCloud.configure do |config|
|
3608
|
+
config.access_token = @authToken
|
3609
|
+
end
|
3610
|
+
|
3611
|
+
api_instance = PureCloud::ArchitectApi.new
|
3612
|
+
|
3613
|
+
datatable_id = "datatable_id_example" # String | id of datatable
|
3614
|
+
|
3615
|
+
import_job_id = "import_job_id_example" # String | id of import job
|
3616
|
+
|
3617
|
+
|
3618
|
+
begin
|
3619
|
+
#Returns the state information about an import job
|
3620
|
+
result = api_instance.get_flows_datatable_import_job(datatable_id, import_job_id)
|
3621
|
+
p result
|
3622
|
+
rescue PureCloud::ApiError => e
|
3623
|
+
puts "Exception when calling ArchitectApi->get_flows_datatable_import_job: #{e}"
|
3624
|
+
end
|
3625
|
+
```
|
3626
|
+
|
3627
|
+
### Parameters
|
3628
|
+
|
3629
|
+
Name | Type | Description | Notes
|
3630
|
+
------------- | ------------- | ------------- | -------------
|
3631
|
+
**datatable_id** | **String**| id of datatable | |
|
3632
|
+
**import_job_id** | **String**| id of import job | |
|
3633
|
+
{: class="table table-striped"}
|
3634
|
+
|
3635
|
+
|
3636
|
+
### Return type
|
3637
|
+
|
3638
|
+
[**DataTableImportJob**](DataTableImportJob.html)
|
3639
|
+
|
3640
|
+
### HTTP request headers
|
3641
|
+
|
3642
|
+
- **Content-Type**: application/json
|
3643
|
+
- **Accept**: application/json
|
3644
|
+
|
3645
|
+
|
3646
|
+
|
3647
|
+
<a name="get_flows_datatable_import_jobs"></a>
|
3648
|
+
|
3649
|
+
## [**EntityListing**](EntityListing.html) get_flows_datatable_import_jobs(datatable_id, opts)
|
3650
|
+
|
3651
|
+
|
3652
|
+
|
3653
|
+
Get all recent import jobs
|
3654
|
+
|
3655
|
+
Get all recent import jobs
|
3656
|
+
|
3657
|
+
Wraps GET /api/v2/flows/datatables/{datatableId}/import/jobs
|
3658
|
+
|
3659
|
+
Requires ANY permissions:
|
3660
|
+
|
3661
|
+
* architect:datatable:edit
|
3662
|
+
|
3663
|
+
|
3664
|
+
### Example
|
3665
|
+
```{"language":"ruby"}
|
3666
|
+
# load the gem
|
3667
|
+
require 'purecloudplatformclientv2'
|
3668
|
+
# setup authorization
|
3669
|
+
@secret = ENV['PURECLOUD_SECRET']
|
3670
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
3671
|
+
environment = "mypurecloud.com"
|
3672
|
+
|
3673
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
3674
|
+
|
3675
|
+
PureCloud.configure do |config|
|
3676
|
+
config.access_token = @authToken
|
3677
|
+
end
|
3678
|
+
|
3679
|
+
api_instance = PureCloud::ArchitectApi.new
|
3680
|
+
|
3681
|
+
datatable_id = "datatable_id_example" # String | id of datatable
|
3682
|
+
|
3683
|
+
opts = {
|
3684
|
+
page_number: 1, # Integer | Page number
|
3685
|
+
page_size: 25 # Integer | Page size
|
3686
|
+
}
|
3687
|
+
|
3688
|
+
begin
|
3689
|
+
#Get all recent import jobs
|
3690
|
+
result = api_instance.get_flows_datatable_import_jobs(datatable_id, opts)
|
3691
|
+
p result
|
3692
|
+
rescue PureCloud::ApiError => e
|
3693
|
+
puts "Exception when calling ArchitectApi->get_flows_datatable_import_jobs: #{e}"
|
3694
|
+
end
|
3695
|
+
```
|
3696
|
+
|
3697
|
+
### Parameters
|
3698
|
+
|
3699
|
+
Name | Type | Description | Notes
|
3700
|
+
------------- | ------------- | ------------- | -------------
|
3701
|
+
**datatable_id** | **String**| id of datatable | |
|
3702
|
+
**page_number** | **Integer**| Page number | [optional] [default to 1] |
|
3703
|
+
**page_size** | **Integer**| Page size | [optional] [default to 25] |
|
3704
|
+
{: class="table table-striped"}
|
3705
|
+
|
3706
|
+
|
3707
|
+
### Return type
|
3708
|
+
|
3709
|
+
[**EntityListing**](EntityListing.html)
|
3710
|
+
|
3711
|
+
### HTTP request headers
|
3712
|
+
|
3713
|
+
- **Content-Type**: application/json
|
3714
|
+
- **Accept**: application/json
|
3715
|
+
|
3716
|
+
|
3717
|
+
|
3506
3718
|
<a name="get_flows_datatable_row"></a>
|
3507
3719
|
|
3508
3720
|
## Hash<String, Object>** get_flows_datatable_row(datatable_id, row_id, opts)
|
@@ -5133,6 +5345,139 @@ Name | Type | Description | Notes
|
|
5133
5345
|
|
5134
5346
|
|
5135
5347
|
|
5348
|
+
<a name="post_flows_datatable_export_jobs"></a>
|
5349
|
+
|
5350
|
+
## [**DataTableExportJob**](DataTableExportJob.html) post_flows_datatable_export_jobs(datatable_id)
|
5351
|
+
|
5352
|
+
|
5353
|
+
|
5354
|
+
Begin an export process for exporting all rows from a datatable
|
5355
|
+
|
5356
|
+
Create an export job for exporting rows. The caller can then poll for status of the export using the token returned in the response
|
5357
|
+
|
5358
|
+
Wraps POST /api/v2/flows/datatables/{datatableId}/export/jobs
|
5359
|
+
|
5360
|
+
Requires ANY permissions:
|
5361
|
+
|
5362
|
+
* architect:datatable:view
|
5363
|
+
|
5364
|
+
|
5365
|
+
### Example
|
5366
|
+
```{"language":"ruby"}
|
5367
|
+
# load the gem
|
5368
|
+
require 'purecloudplatformclientv2'
|
5369
|
+
# setup authorization
|
5370
|
+
@secret = ENV['PURECLOUD_SECRET']
|
5371
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
5372
|
+
environment = "mypurecloud.com"
|
5373
|
+
|
5374
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
5375
|
+
|
5376
|
+
PureCloud.configure do |config|
|
5377
|
+
config.access_token = @authToken
|
5378
|
+
end
|
5379
|
+
|
5380
|
+
api_instance = PureCloud::ArchitectApi.new
|
5381
|
+
|
5382
|
+
datatable_id = "datatable_id_example" # String | id of datatable
|
5383
|
+
|
5384
|
+
|
5385
|
+
begin
|
5386
|
+
#Begin an export process for exporting all rows from a datatable
|
5387
|
+
result = api_instance.post_flows_datatable_export_jobs(datatable_id)
|
5388
|
+
p result
|
5389
|
+
rescue PureCloud::ApiError => e
|
5390
|
+
puts "Exception when calling ArchitectApi->post_flows_datatable_export_jobs: #{e}"
|
5391
|
+
end
|
5392
|
+
```
|
5393
|
+
|
5394
|
+
### Parameters
|
5395
|
+
|
5396
|
+
Name | Type | Description | Notes
|
5397
|
+
------------- | ------------- | ------------- | -------------
|
5398
|
+
**datatable_id** | **String**| id of datatable | |
|
5399
|
+
{: class="table table-striped"}
|
5400
|
+
|
5401
|
+
|
5402
|
+
### Return type
|
5403
|
+
|
5404
|
+
[**DataTableExportJob**](DataTableExportJob.html)
|
5405
|
+
|
5406
|
+
### HTTP request headers
|
5407
|
+
|
5408
|
+
- **Content-Type**: application/json
|
5409
|
+
- **Accept**: application/json
|
5410
|
+
|
5411
|
+
|
5412
|
+
|
5413
|
+
<a name="post_flows_datatable_import_jobs"></a>
|
5414
|
+
|
5415
|
+
## [**DataTableImportJob**](DataTableImportJob.html) post_flows_datatable_import_jobs(datatable_id, body)
|
5416
|
+
|
5417
|
+
|
5418
|
+
|
5419
|
+
Begin an import process for importing rows into a datatable
|
5420
|
+
|
5421
|
+
Create an import job for importing rows. The caller can then poll for status of the import using the token returned in the response
|
5422
|
+
|
5423
|
+
Wraps POST /api/v2/flows/datatables/{datatableId}/import/jobs
|
5424
|
+
|
5425
|
+
Requires ANY permissions:
|
5426
|
+
|
5427
|
+
* architect:datatable:edit
|
5428
|
+
|
5429
|
+
|
5430
|
+
### Example
|
5431
|
+
```{"language":"ruby"}
|
5432
|
+
# load the gem
|
5433
|
+
require 'purecloudplatformclientv2'
|
5434
|
+
# setup authorization
|
5435
|
+
@secret = ENV['PURECLOUD_SECRET']
|
5436
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
5437
|
+
environment = "mypurecloud.com"
|
5438
|
+
|
5439
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
5440
|
+
|
5441
|
+
PureCloud.configure do |config|
|
5442
|
+
config.access_token = @authToken
|
5443
|
+
end
|
5444
|
+
|
5445
|
+
api_instance = PureCloud::ArchitectApi.new
|
5446
|
+
|
5447
|
+
datatable_id = "datatable_id_example" # String | id of datatable
|
5448
|
+
|
5449
|
+
body = PureCloud::DataTableImportJob.new # DataTableImportJob | import job information
|
5450
|
+
|
5451
|
+
|
5452
|
+
begin
|
5453
|
+
#Begin an import process for importing rows into a datatable
|
5454
|
+
result = api_instance.post_flows_datatable_import_jobs(datatable_id, body)
|
5455
|
+
p result
|
5456
|
+
rescue PureCloud::ApiError => e
|
5457
|
+
puts "Exception when calling ArchitectApi->post_flows_datatable_import_jobs: #{e}"
|
5458
|
+
end
|
5459
|
+
```
|
5460
|
+
|
5461
|
+
### Parameters
|
5462
|
+
|
5463
|
+
Name | Type | Description | Notes
|
5464
|
+
------------- | ------------- | ------------- | -------------
|
5465
|
+
**datatable_id** | **String**| id of datatable | |
|
5466
|
+
**body** | [**DataTableImportJob**](DataTableImportJob.html)| import job information | |
|
5467
|
+
{: class="table table-striped"}
|
5468
|
+
|
5469
|
+
|
5470
|
+
### Return type
|
5471
|
+
|
5472
|
+
[**DataTableImportJob**](DataTableImportJob.html)
|
5473
|
+
|
5474
|
+
### HTTP request headers
|
5475
|
+
|
5476
|
+
- **Content-Type**: application/json
|
5477
|
+
- **Accept**: application/json
|
5478
|
+
|
5479
|
+
|
5480
|
+
|
5136
5481
|
<a name="post_flows_datatable_rows"></a>
|
5137
5482
|
|
5138
5483
|
## Hash<String, Object>** post_flows_datatable_rows(datatable_id, data_table_row)
|