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.
Files changed (179) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/docs/ActivityCode.md +1 -1
  4. data/docs/AnalyticsApi.md +66 -2
  5. data/docs/AnalyticsConversationAsyncQueryResponse.md +1 -1
  6. data/docs/AnalyticsConversationQueryResponse.md +1 -1
  7. data/docs/AnalyticsParticipant.md +1 -0
  8. data/docs/AnalyticsParticipantWithoutAttributes.md +1 -0
  9. data/docs/ArchitectApi.md +345 -0
  10. data/docs/AuditApi.md +3 -1
  11. data/docs/AuditLogMessage.md +1 -1
  12. data/docs/AuthorizationApi.md +154 -9
  13. data/docs/AvailableTopic.md +3 -1
  14. data/docs/BuAgentScheduleActivity.md +18 -0
  15. data/docs/BuAgentSchedulePublishedScheduleReference.md +16 -0
  16. data/docs/BuAgentScheduleSearchResponse.md +15 -0
  17. data/docs/BuAgentScheduleShift.md +18 -0
  18. data/docs/BuAgentSchedulesSearchResponse.md +15 -0
  19. data/docs/BuAsyncAgentSchedulesSearchResponse.md +17 -0
  20. data/docs/BuFullDayTimeOffMarker.md +18 -0
  21. data/docs/BuScheduleReference.md +15 -0
  22. data/docs/Call.md +1 -1
  23. data/docs/CallBasic.md +1 -1
  24. data/docs/CallMediaParticipant.md +1 -1
  25. data/docs/CallbackMediaParticipant.md +1 -1
  26. data/docs/CampaignProgress.md +2 -1
  27. data/docs/ChatMediaParticipant.md +1 -1
  28. data/docs/CobrowseMediaParticipant.md +1 -1
  29. data/docs/ConversationsApi.md +71 -1
  30. data/docs/CopyAttachmentsRequest.md +14 -0
  31. data/docs/CreateManagementUnitApiRequest.md +3 -2
  32. data/docs/CreateManagementUnitSettingsRequest.md +1 -1
  33. data/docs/CreateWorkPlanShift.md +1 -1
  34. data/docs/DataTableExportJob.md +22 -0
  35. data/docs/DataTableImportJob.md +25 -0
  36. data/docs/DivsPermittedEntityListing.md +23 -0
  37. data/docs/EmailMediaParticipant.md +1 -1
  38. data/docs/EntityListing.md +17 -0
  39. data/docs/ErrorBody.md +2 -2
  40. data/docs/ErrorInfo.md +14 -0
  41. data/docs/Evaluation.md +1 -0
  42. data/docs/EvaluationQuestionGroupScore.md +4 -0
  43. data/docs/EvaluationScoringSet.md +1 -0
  44. data/docs/FacebookIntegrationRequest.md +2 -2
  45. data/docs/GDPRJourneyCustomer.md +2 -2
  46. data/docs/InboundDomain.md +2 -0
  47. data/docs/Library.md +4 -3
  48. data/docs/LicenseApi.md +66 -0
  49. data/docs/MailFromResult.md +15 -0
  50. data/docs/ManagementUnit.md +2 -2
  51. data/docs/ManagementUnitSettingsRequest.md +1 -1
  52. data/docs/MessageMediaParticipant.md +1 -1
  53. data/docs/MessagingApi.md +0 -936
  54. data/docs/MessagingTemplate.md +15 -0
  55. data/docs/Organization.md +1 -0
  56. data/docs/QualityApi.md +5 -6
  57. data/docs/Record.md +15 -0
  58. data/docs/ReportingExportMetadataJobListing.md +22 -0
  59. data/docs/ReportingExportMetadataJobResponse.md +22 -0
  60. data/docs/Response.md +2 -0
  61. data/docs/RoutingApi.md +385 -0
  62. data/docs/RoutingSettings.md +13 -0
  63. data/docs/SCIMApi.md +397 -23
  64. data/docs/ScimUserExtensions.md +14 -0
  65. data/docs/ScimUserRole.md +13 -0
  66. data/docs/ScimUserRoutingLanguage.md +14 -0
  67. data/docs/ScimUserRoutingSkill.md +14 -0
  68. data/docs/ScimV2CreateUser.md +2 -1
  69. data/docs/ScimV2SchemaAttribute.md +24 -0
  70. data/docs/ScimV2SchemaDefinition.md +17 -0
  71. data/docs/ScimV2SchemaListResponse.md +17 -0
  72. data/docs/ScimV2User.md +2 -1
  73. data/docs/ShortTermForecast.md +2 -2
  74. data/docs/ShortTermForecastListItemResponse.md +2 -2
  75. data/docs/ShortTermForecastReference.md +2 -2
  76. data/docs/TimeOffRequestLookup.md +3 -3
  77. data/docs/TimeOffRequestResponse.md +3 -3
  78. data/docs/UserScheduleAdherence.md +1 -1
  79. data/docs/UsersApi.md +358 -10
  80. data/docs/ViewFilter.md +4 -10
  81. data/docs/WeekSchedule.md +1 -1
  82. data/docs/WeekScheduleListItemResponse.md +1 -1
  83. data/docs/WeekScheduleReference.md +1 -1
  84. data/docs/WorkPlanShift.md +1 -1
  85. data/docs/WorkforceManagementApi.md +40 -41
  86. data/lib/purecloudplatformclientv2.rb +27 -0
  87. data/lib/purecloudplatformclientv2/api/analytics_api.rb +73 -0
  88. data/lib/purecloudplatformclientv2/api/architect_api.rb +373 -0
  89. data/lib/purecloudplatformclientv2/api/audit_api.rb +9 -0
  90. data/lib/purecloudplatformclientv2/api/authorization_api.rb +185 -7
  91. data/lib/purecloudplatformclientv2/api/conversations_api.rb +84 -0
  92. data/lib/purecloudplatformclientv2/api/license_api.rb +63 -0
  93. data/lib/purecloudplatformclientv2/api/messaging_api.rb +0 -949
  94. data/lib/purecloudplatformclientv2/api/quality_api.rb +8 -6
  95. data/lib/purecloudplatformclientv2/api/routing_api.rb +378 -0
  96. data/lib/purecloudplatformclientv2/api/scim_api.rb +366 -26
  97. data/lib/purecloudplatformclientv2/api/users_api.rb +398 -7
  98. data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +3 -3
  99. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  100. data/lib/purecloudplatformclientv2/models/activity_code.rb +30 -30
  101. data/lib/purecloudplatformclientv2/models/analytics_conversation_async_query_response.rb +15 -15
  102. data/lib/purecloudplatformclientv2/models/analytics_conversation_query_response.rb +15 -15
  103. data/lib/purecloudplatformclientv2/models/analytics_participant.rb +27 -1
  104. data/lib/purecloudplatformclientv2/models/analytics_participant_without_attributes.rb +27 -1
  105. data/lib/purecloudplatformclientv2/models/audit_log_message.rb +5 -5
  106. data/lib/purecloudplatformclientv2/models/available_topic.rb +57 -4
  107. data/lib/purecloudplatformclientv2/models/bu_agent_schedule_activity.rb +332 -0
  108. data/lib/purecloudplatformclientv2/models/bu_agent_schedule_published_schedule_reference.rb +280 -0
  109. data/lib/purecloudplatformclientv2/models/bu_agent_schedule_search_response.rb +258 -0
  110. data/lib/purecloudplatformclientv2/models/bu_agent_schedule_shift.rb +334 -0
  111. data/lib/purecloudplatformclientv2/models/bu_agent_schedules_search_response.rb +258 -0
  112. data/lib/purecloudplatformclientv2/models/bu_async_agent_schedules_search_response.rb +320 -0
  113. data/lib/purecloudplatformclientv2/models/bu_full_day_time_off_marker.rb +332 -0
  114. data/lib/purecloudplatformclientv2/models/bu_schedule_reference.rb +254 -0
  115. data/lib/purecloudplatformclientv2/models/call.rb +1 -1
  116. data/lib/purecloudplatformclientv2/models/call_basic.rb +1 -1
  117. data/lib/purecloudplatformclientv2/models/call_media_participant.rb +1 -1
  118. data/lib/purecloudplatformclientv2/models/callback_media_participant.rb +1 -1
  119. data/lib/purecloudplatformclientv2/models/campaign_progress.rb +28 -2
  120. data/lib/purecloudplatformclientv2/models/chat_media_participant.rb +1 -1
  121. data/lib/purecloudplatformclientv2/models/cobrowse_media_participant.rb +1 -1
  122. data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
  123. data/lib/purecloudplatformclientv2/models/copy_attachments_request.rb +240 -0
  124. data/lib/purecloudplatformclientv2/models/create_management_unit_api_request.rb +37 -16
  125. data/lib/purecloudplatformclientv2/models/create_management_unit_settings_request.rb +1 -1
  126. data/lib/purecloudplatformclientv2/models/create_work_plan_shift.rb +1 -1
  127. data/lib/purecloudplatformclientv2/models/data_table_export_job.rb +455 -0
  128. data/lib/purecloudplatformclientv2/models/data_table_import_job.rb +547 -0
  129. data/lib/purecloudplatformclientv2/models/divs_permitted_entity_listing.rb +453 -0
  130. data/lib/purecloudplatformclientv2/models/email_media_participant.rb +1 -1
  131. data/lib/purecloudplatformclientv2/models/entity_listing.rb +303 -0
  132. data/lib/purecloudplatformclientv2/models/error_body.rb +20 -20
  133. data/lib/purecloudplatformclientv2/models/error_info.rb +226 -0
  134. data/lib/purecloudplatformclientv2/models/evaluation.rb +27 -1
  135. data/lib/purecloudplatformclientv2/models/evaluation_question_group_score.rb +101 -1
  136. data/lib/purecloudplatformclientv2/models/evaluation_scoring_set.rb +26 -1
  137. data/lib/purecloudplatformclientv2/models/facebook_integration_request.rb +2 -7
  138. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
  139. data/lib/purecloudplatformclientv2/models/gdpr_journey_customer.rb +2 -12
  140. data/lib/purecloudplatformclientv2/models/inbound_domain.rb +53 -1
  141. data/lib/purecloudplatformclientv2/models/library.rb +44 -2
  142. data/lib/purecloudplatformclientv2/models/mail_from_result.rb +275 -0
  143. data/lib/purecloudplatformclientv2/models/management_unit.rb +2 -2
  144. data/lib/purecloudplatformclientv2/models/management_unit_settings_request.rb +1 -1
  145. data/lib/purecloudplatformclientv2/models/message_media_participant.rb +1 -1
  146. data/lib/purecloudplatformclientv2/models/messaging_template.rb +270 -0
  147. data/lib/purecloudplatformclientv2/models/organization.rb +41 -1
  148. data/lib/purecloudplatformclientv2/models/record.rb +269 -0
  149. data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +2 -2
  150. data/lib/purecloudplatformclientv2/models/reporting_export_metadata_job_listing.rb +428 -0
  151. data/lib/purecloudplatformclientv2/models/reporting_export_metadata_job_response.rb +459 -0
  152. data/lib/purecloudplatformclientv2/models/response.rb +67 -1
  153. data/lib/purecloudplatformclientv2/models/routing_settings.rb +202 -0
  154. data/lib/purecloudplatformclientv2/models/scim_metadata.rb +2 -2
  155. data/lib/purecloudplatformclientv2/models/scim_user_extensions.rb +233 -0
  156. data/lib/purecloudplatformclientv2/models/scim_user_role.rb +203 -0
  157. data/lib/purecloudplatformclientv2/models/scim_user_routing_language.rb +234 -0
  158. data/lib/purecloudplatformclientv2/models/scim_user_routing_skill.rb +234 -0
  159. data/lib/purecloudplatformclientv2/models/scim_v2_create_user.rb +30 -5
  160. data/lib/purecloudplatformclientv2/models/scim_v2_group_reference.rb +2 -2
  161. data/lib/purecloudplatformclientv2/models/scim_v2_member_reference.rb +2 -2
  162. data/lib/purecloudplatformclientv2/models/scim_v2_schema_attribute.rb +551 -0
  163. data/lib/purecloudplatformclientv2/models/scim_v2_schema_definition.rb +309 -0
  164. data/lib/purecloudplatformclientv2/models/scim_v2_schema_list_response.rb +311 -0
  165. data/lib/purecloudplatformclientv2/models/scim_v2_user.rb +27 -2
  166. data/lib/purecloudplatformclientv2/models/segment_detail_query_predicate.rb +2 -2
  167. data/lib/purecloudplatformclientv2/models/short_term_forecast.rb +30 -35
  168. data/lib/purecloudplatformclientv2/models/short_term_forecast_list_item_response.rb +30 -35
  169. data/lib/purecloudplatformclientv2/models/short_term_forecast_reference.rb +22 -27
  170. data/lib/purecloudplatformclientv2/models/time_off_request_lookup.rb +3 -3
  171. data/lib/purecloudplatformclientv2/models/time_off_request_response.rb +3 -3
  172. data/lib/purecloudplatformclientv2/models/user_schedule_adherence.rb +1 -1
  173. data/lib/purecloudplatformclientv2/models/view_filter.rb +53 -255
  174. data/lib/purecloudplatformclientv2/models/week_schedule.rb +21 -21
  175. data/lib/purecloudplatformclientv2/models/week_schedule_list_item_response.rb +21 -21
  176. data/lib/purecloudplatformclientv2/models/week_schedule_reference.rb +14 -14
  177. data/lib/purecloudplatformclientv2/models/work_plan_shift.rb +1 -1
  178. data/lib/purecloudplatformclientv2/version.rb +1 -1
  179. metadata +56 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6efd666e0730badebec1987c177e559ecd8d4291
4
- data.tar.gz: ccb492dc1ea2661854469712bf83025be4304c1a
3
+ metadata.gz: 2fb7ad6b87905946dfc74db0074de53b61f551e6
4
+ data.tar.gz: 6f6596a2d8a487e68467d888aedbc0cfc98dca6b
5
5
  SHA512:
6
- metadata.gz: 59e17b5de762bb169dabc5cac286a98b2592b873396bb148a63695f8386aab530cab810d4b1c9c8b794f91e4302ac63fea39658bf326744d9861f89adb45ae3d
7
- data.tar.gz: 2b6fcd69ae8d9169842b61d4b5fd880e92ee21ad9c5c1788bc2680120b73e8e13a6d7c1e3b08cd871a3552292e0e8e9d200e3de4bfeac2e8307ba0b37657f218
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
- ![](http://ruby-gem-downloads-badge.herokuapp.com/purecloudplatformclientv2?label=75.1.0)
4
+ ![](http://ruby-gem-downloads-badge.herokuapp.com/purecloudplatformclientv2?label=79.0.0)
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', '~> 75.1.0'
13
+ gem install 'purecloudplatformclientv2', '~> 79.0.0'
14
14
  ```
15
15
 
16
16
  ### Install from Git
@@ -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
 
@@ -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&lt;AnalyticsConversation&gt;**](AnalyticsConversation.html) | | [optional] |
11
10
  | **cursor** | **String** | Optional cursor to indicate where to resume the results | [optional] |
11
+ | **conversations** | [**Array&lt;AnalyticsConversation&gt;**](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&lt;AnalyticsConversation&gt;**](AnalyticsConversation.html) | | [optional] |
11
10
  | **aggregations** | [**Array&lt;AggregationResult&gt;**](AggregationResult.html) | | [optional] |
11
+ | **conversations** | [**Array&lt;AnalyticsConversationWithoutAttributes&gt;**](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&lt;AnalyticsSession&gt;**](AnalyticsSession.html) | List of sessions associated to this participant | [optional] |
18
19
  | **attributes** | **Hash&lt;String, String&gt;** | 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&lt;AnalyticsSession&gt;**](AnalyticsSession.html) | List of sessions associated to this participant | [optional] |
18
19
  {: class="table table-striped"}
19
20
 
@@ -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&lt;String, Object&gt;** 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&lt;String, Object&gt;** post_flows_datatable_rows(datatable_id, data_table_row)