purecloudplatformclientv2 87.0.0 → 92.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/AmazonLexRequest.md +14 -0
  4. data/docs/AnalyticsEvaluation.md +1 -1
  5. data/docs/ApiUsageQuery.md +16 -0
  6. data/docs/ApiUsageQueryResult.md +14 -0
  7. data/docs/ApiUsageRow.md +25 -0
  8. data/docs/ArchitectApi.md +132 -0
  9. data/docs/AuditApi.md +130 -0
  10. data/docs/AuditQueryEntity.md +14 -0
  11. data/docs/AuditQueryExecutionStatusResponse.md +1 -0
  12. data/docs/AuditQueryRequest.md +1 -0
  13. data/docs/AuditQueryService.md +14 -0
  14. data/docs/AuditQueryServiceMapping.md +13 -0
  15. data/docs/AuditQuerySort.md +14 -0
  16. data/docs/AuditRealtimeQueryRequest.md +18 -0
  17. data/docs/AuditRealtimeQueryResultsResponse.md +17 -0
  18. data/docs/BuAgentScheduleActivity.md +2 -0
  19. data/docs/BuRescheduleRequest.md +2 -2
  20. data/docs/ButtonComponent.md +16 -0
  21. data/docs/CoachingApi.md +1 -1
  22. data/docs/ContentActions.md +17 -0
  23. data/docs/ContentAttachment.md +19 -0
  24. data/docs/ContentGeneric.md +19 -0
  25. data/docs/ContentList.md +19 -0
  26. data/docs/ContentLocation.md +17 -0
  27. data/docs/ContentNotificationTemplate.md +17 -0
  28. data/docs/ContentQuickReply.md +16 -0
  29. data/docs/ConversationAggregationQuery.md +1 -1
  30. data/docs/CreateQueueRequest.md +1 -0
  31. data/docs/EdgeGroup.md +1 -0
  32. data/docs/EntityListing.md +1 -5
  33. data/docs/EvaluationAggregationQuery.md +1 -1
  34. data/docs/ExternalContact.md +2 -0
  35. data/docs/ExternalOrganization.md +2 -0
  36. data/docs/FlowAggregationQuery.md +1 -1
  37. data/docs/FlowExecutionLaunchRequest.md +16 -0
  38. data/docs/FlowExecutionLaunchResponse.md +16 -0
  39. data/docs/FlowRuntimeExecution.md +23 -0
  40. data/docs/GenericSAML.md +22 -0
  41. data/docs/GoogleDialogflowCustomSettings.md +13 -0
  42. data/docs/GroupsApi.md +4 -4
  43. data/docs/IdentityProviderApi.md +187 -0
  44. data/docs/IpAddressAuthentication.md +13 -0
  45. data/docs/KnowledgeSearchResponse.md +1 -1
  46. data/docs/LanguageUnderstandingApi.md +164 -30
  47. data/docs/ListItemComponent.md +19 -0
  48. data/docs/MessageContent.md +19 -0
  49. data/docs/NluDomainVersion.md +3 -1
  50. data/docs/NotificationTemplateBody.md +14 -0
  51. data/docs/NotificationTemplateFooter.md +13 -0
  52. data/docs/NotificationTemplateHeader.md +16 -0
  53. data/docs/NotificationTemplateParameter.md +14 -0
  54. data/docs/OAuthApi.md +208 -0
  55. data/docs/OrganizationApi.md +126 -0
  56. data/docs/PostTextMessage.md +15 -0
  57. data/docs/PostTextRequest.md +23 -0
  58. data/docs/PostTextResponse.md +20 -0
  59. data/docs/Prompt.md +2 -2
  60. data/docs/Queue.md +1 -0
  61. data/docs/QueueRequest.md +1 -0
  62. data/docs/RecordingApi.md +12 -0
  63. data/docs/ReportingDataExportTopicDataExportNotification.md +1 -0
  64. data/docs/ScimEmail.md +1 -1
  65. data/docs/SurveyAggregationQuery.md +1 -1
  66. data/docs/SurveyForm.md +0 -2
  67. data/docs/TextbotsApi.md +78 -0
  68. data/docs/UploadUrlRequest.md +1 -0
  69. data/docs/UsageApi.md +144 -0
  70. data/docs/UsageExecutionResult.md +14 -0
  71. data/docs/UserAggregationQuery.md +1 -1
  72. data/docs/UserQueue.md +1 -0
  73. data/docs/UsersApi.md +5 -5
  74. data/docs/ViewFilter.md +2 -0
  75. data/docs/VoicemailMessagesTopicOwner.md +13 -0
  76. data/docs/VoicemailMessagesTopicVoicemailCopyRecord.md +14 -0
  77. data/docs/VoicemailMessagesTopicVoicemailMessage.md +2 -0
  78. data/docs/WfmBuShortTermForecastImportCompleteTopicBuForecastModification.md +23 -0
  79. data/docs/WfmBuShortTermForecastImportCompleteTopicBuShortTermForecast.md +24 -0
  80. data/docs/WfmBuShortTermForecastImportCompleteTopicBuShortTermForecastNotification.md +15 -0
  81. data/docs/WfmBuShortTermForecastImportCompleteTopicForecastSourceDayPointer.md +17 -0
  82. data/docs/WfmBuShortTermForecastImportCompleteTopicModificationIntervalOffsetValue.md +14 -0
  83. data/docs/WfmBuShortTermForecastImportCompleteTopicUserReference.md +13 -0
  84. data/docs/WfmBuShortTermForecastImportCompleteTopicWfmVersionedEntityMetadata.md +15 -0
  85. data/docs/WorkforceManagementApi.md +3 -3
  86. data/lib/purecloudplatformclientv2.rb +45 -0
  87. data/lib/purecloudplatformclientv2/api/architect_api.rb +130 -0
  88. data/lib/purecloudplatformclientv2/api/audit_api.rb +129 -0
  89. data/lib/purecloudplatformclientv2/api/groups_api.rb +4 -4
  90. data/lib/purecloudplatformclientv2/api/identity_provider_api.rb +175 -0
  91. data/lib/purecloudplatformclientv2/api/language_understanding_api.rb +189 -30
  92. data/lib/purecloudplatformclientv2/api/o_auth_api.rb +224 -0
  93. data/lib/purecloudplatformclientv2/api/organization_api.rb +120 -0
  94. data/lib/purecloudplatformclientv2/api/recording_api.rb +78 -0
  95. data/lib/purecloudplatformclientv2/api/textbots_api.rb +92 -0
  96. data/lib/purecloudplatformclientv2/api/usage_api.rb +157 -0
  97. data/lib/purecloudplatformclientv2/api/users_api.rb +4 -4
  98. data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +6 -6
  99. data/lib/purecloudplatformclientv2/api_client.rb +1 -1
  100. data/lib/purecloudplatformclientv2/models/amazon_lex_request.rb +232 -0
  101. data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +13 -13
  102. data/lib/purecloudplatformclientv2/models/api_usage_query.rb +303 -0
  103. data/lib/purecloudplatformclientv2/models/api_usage_query_result.rb +244 -0
  104. data/lib/purecloudplatformclientv2/models/api_usage_row.rb +514 -0
  105. data/lib/purecloudplatformclientv2/models/audit_log_message.rb +6 -6
  106. data/lib/purecloudplatformclientv2/models/audit_query_entity.rb +244 -0
  107. data/lib/purecloudplatformclientv2/models/audit_query_execution_status_response.rb +34 -6
  108. data/lib/purecloudplatformclientv2/models/audit_query_request.rb +34 -6
  109. data/lib/purecloudplatformclientv2/models/audit_query_service.rb +244 -0
  110. data/lib/purecloudplatformclientv2/models/audit_query_service_mapping.rb +204 -0
  111. data/lib/purecloudplatformclientv2/models/audit_query_sort.rb +266 -0
  112. data/lib/purecloudplatformclientv2/models/audit_realtime_query_request.rb +360 -0
  113. data/lib/purecloudplatformclientv2/models/audit_realtime_query_results_response.rb +303 -0
  114. data/lib/purecloudplatformclientv2/models/bu_agent_schedule_activity.rb +70 -4
  115. data/lib/purecloudplatformclientv2/models/bu_reschedule_request.rb +2 -12
  116. data/lib/purecloudplatformclientv2/models/button_component.rb +281 -0
  117. data/lib/purecloudplatformclientv2/models/coaching_appointment_response.rb +2 -2
  118. data/lib/purecloudplatformclientv2/models/coaching_notification.rb +2 -2
  119. data/lib/purecloudplatformclientv2/models/content_actions.rb +309 -0
  120. data/lib/purecloudplatformclientv2/models/content_attachment.rb +378 -0
  121. data/lib/purecloudplatformclientv2/models/content_generic.rb +361 -0
  122. data/lib/purecloudplatformclientv2/models/content_list.rb +375 -0
  123. data/lib/purecloudplatformclientv2/models/content_location.rb +307 -0
  124. data/lib/purecloudplatformclientv2/models/content_notification_template.rb +312 -0
  125. data/lib/purecloudplatformclientv2/models/content_quick_reply.rb +300 -0
  126. data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +2 -2
  127. data/lib/purecloudplatformclientv2/models/conversation_aggregation_query.rb +1 -1
  128. data/lib/purecloudplatformclientv2/models/create_queue_request.rb +29 -1
  129. data/lib/purecloudplatformclientv2/models/edge_group.rb +27 -1
  130. data/lib/purecloudplatformclientv2/models/entity_listing.rb +4 -104
  131. data/lib/purecloudplatformclientv2/models/evaluation_aggregation_query.rb +1 -1
  132. data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
  133. data/lib/purecloudplatformclientv2/models/external_contact.rb +55 -1
  134. data/lib/purecloudplatformclientv2/models/external_organization.rb +55 -1
  135. data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +2 -2
  136. data/lib/purecloudplatformclientv2/models/flow_aggregation_query.rb +1 -1
  137. data/lib/purecloudplatformclientv2/models/flow_execution_launch_request.rb +288 -0
  138. data/lib/purecloudplatformclientv2/models/flow_execution_launch_response.rb +281 -0
  139. data/lib/purecloudplatformclientv2/models/flow_runtime_execution.rb +494 -0
  140. data/lib/purecloudplatformclientv2/models/generic_saml.rb +428 -0
  141. data/lib/purecloudplatformclientv2/models/google_dialogflow_custom_settings.rb +202 -0
  142. data/lib/purecloudplatformclientv2/models/ip_address_authentication.rb +203 -0
  143. data/lib/purecloudplatformclientv2/models/knowledge_search_response.rb +18 -18
  144. data/lib/purecloudplatformclientv2/models/list_item_component.rb +373 -0
  145. data/lib/purecloudplatformclientv2/models/message_content.rb +378 -0
  146. data/lib/purecloudplatformclientv2/models/nlu_domain_version.rb +72 -1
  147. data/lib/purecloudplatformclientv2/models/notification_template_body.rb +236 -0
  148. data/lib/purecloudplatformclientv2/models/notification_template_footer.rb +203 -0
  149. data/lib/purecloudplatformclientv2/models/notification_template_header.rb +302 -0
  150. data/lib/purecloudplatformclientv2/models/notification_template_parameter.rb +234 -0
  151. data/lib/purecloudplatformclientv2/models/post_text_message.rb +275 -0
  152. data/lib/purecloudplatformclientv2/models/post_text_request.rb +482 -0
  153. data/lib/purecloudplatformclientv2/models/post_text_response.rb +413 -0
  154. data/lib/purecloudplatformclientv2/models/prompt.rb +2 -0
  155. data/lib/purecloudplatformclientv2/models/prompt_asset.rb +15 -1
  156. data/lib/purecloudplatformclientv2/models/prompt_asset_create.rb +15 -1
  157. data/lib/purecloudplatformclientv2/models/queue.rb +29 -1
  158. data/lib/purecloudplatformclientv2/models/queue_request.rb +29 -1
  159. data/lib/purecloudplatformclientv2/models/reporting_data_export_topic_data_export_notification.rb +31 -4
  160. data/lib/purecloudplatformclientv2/models/scim_email.rb +1 -1
  161. data/lib/purecloudplatformclientv2/models/survey_aggregation_query.rb +1 -1
  162. data/lib/purecloudplatformclientv2/models/survey_form.rb +1 -53
  163. data/lib/purecloudplatformclientv2/models/upload_url_request.rb +43 -4
  164. data/lib/purecloudplatformclientv2/models/usage_execution_result.rb +228 -0
  165. data/lib/purecloudplatformclientv2/models/user_aggregation_query.rb +1 -1
  166. data/lib/purecloudplatformclientv2/models/user_queue.rb +29 -1
  167. data/lib/purecloudplatformclientv2/models/view_filter.rb +58 -4
  168. data/lib/purecloudplatformclientv2/models/voicemail_messages_topic_owner.rb +201 -0
  169. data/lib/purecloudplatformclientv2/models/voicemail_messages_topic_voicemail_copy_record.rb +226 -0
  170. data/lib/purecloudplatformclientv2/models/voicemail_messages_topic_voicemail_message.rb +56 -4
  171. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_bu_forecast_modification.rb +497 -0
  172. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_bu_short_term_forecast.rb +494 -0
  173. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_bu_short_term_forecast_notification.rb +265 -0
  174. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_forecast_source_day_pointer.rb +315 -0
  175. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_modification_interval_offset_value.rb +226 -0
  176. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_user_reference.rb +201 -0
  177. data/lib/purecloudplatformclientv2/models/wfm_bu_short_term_forecast_import_complete_topic_wfm_versioned_entity_metadata.rb +251 -0
  178. data/lib/purecloudplatformclientv2/version.rb +1 -1
  179. metadata +92 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cce9512dc39d496d6cdaa3525d5c72c7d3090757
4
- data.tar.gz: a273910322ded4e284f142c84571166467aaa164
3
+ metadata.gz: de5b34b200b5833072135f588c7cb1c5f5bbe4b5
4
+ data.tar.gz: eaee9307038e485bd8bd4cceb89b103cb68e03af
5
5
  SHA512:
6
- metadata.gz: 6f11945a94ef34efaa258bc7afd0f7587efbb54adb6544966ea6251cf65ab30520863d0887f114f7736396c902c9a1b73ae0502d495736251ebe7d68d0e9567a
7
- data.tar.gz: 6e9d8c5bc7cfb9ea14b63be8333f20cbbbbf6e04a84aa2d30d8dc25426576dfb2a40bf99837faeedc738f9659722794210abf92c64a2c35c00942f368c32c647
6
+ metadata.gz: eb4d0ac120ede979ec0a76dfdefbcb139915c0d31581e5778f2fee6f0593e3f080235c9dfa7f7972ac8e8fe37bbb06a4b95b960f5d463d431f10cc456d36d726
7
+ data.tar.gz: 5cfc3bb03f0ca0dc0de84d344c7b83f1735c1fde75daaf45ac0a32835782d3de6507fa79296315b548ddce15f92305c8d825757ebe53f595d97225e5b714a9f7
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- title: PureCloud Ruby Gem
2
+ title: Platform API Client SDK - Ruby
3
3
  ---
4
- ![](http://ruby-gem-downloads-badge.herokuapp.com/purecloudplatformclientv2?label=87.0.0)
4
+ ![](http://ruby-gem-downloads-badge.herokuapp.com/purecloudplatformclientv2?label=92.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', '~> 87.0.0'
13
+ gem install 'purecloudplatformclientv2', '~> 92.0.0'
14
14
  ```
15
15
 
16
16
  ### Install from Git
@@ -59,6 +59,6 @@ The SDK's version is incremented according to the [Semantic Versioning Specifica
59
59
 
60
60
  ## Support
61
61
 
62
- This package is intended to be forwards compatible with v2 of PureCloud's Platform API. While the general policy for the API is not to introduce breaking changes, there are certain additions and changes to the API that cause breaking changes for the SDK, often due to the way the API is expressed in its swagger definition. Because of this, the SDK can have a major version bump while the API remains at major version 2. While the SDK is intended to be forward compatible, patches will only be released to the latest version. For these reasons, it is strongly recommended that all applications using this SDK are kept up to date and use the latest version of the SDK.
62
+ This package is intended to be forwards compatible with v2 of Genesys Cloud's Platform API. While the general policy for the API is not to introduce breaking changes, there are certain additions and changes to the API that cause breaking changes for the SDK, often due to the way the API is expressed in its swagger definition. Because of this, the SDK can have a major version bump while the API remains at major version 2. While the SDK is intended to be forward compatible, patches will only be released to the latest version. For these reasons, it is strongly recommended that all applications using this SDK are kept up to date and use the latest version of the SDK.
63
63
 
64
- For any issues, questions, or suggestions for the SDK, visit the [PureCloud Developer Forum](https://developer.mypurecloud.com/forum/).
64
+ For any issues, questions, or suggestions for the SDK, visit the [Genesys Cloud Developer Forum](https://developer.mypurecloud.com/forum/).
@@ -0,0 +1,14 @@
1
+ ---
2
+ title: AmazonLexRequest
3
+ ---
4
+ ## PureCloud::AmazonLexRequest
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **request_attributes** | **Hash<String, String>** | AttributeName/AttributeValue pairs of User Defined Request Attributes to be sent to the amazon bot See - https://docs.aws.amazon.com/lex/latest/dg/context-mgmt.html#context-mgmt-request-attribs | [optional] |
11
+ | **session_attributes** | **Hash<String, String>** | AttributeName/AttributeValue pairs of Session Attributes to be sent to the amazon bot. See - https://docs.aws.amazon.com/lex/latest/dg/context-mgmt.html#context-mgmt-session-attribs | [optional] |
12
+ {: class="table table-striped"}
13
+
14
+
@@ -18,8 +18,8 @@ title: AnalyticsEvaluation
18
18
  | **calibration_id** | **String** | The calibration id used for the purpose of training evaluators | [optional] |
19
19
  | **rescored** | **BOOLEAN** | Whether this evaluation has ever been rescored | [optional] |
20
20
  | **deleted** | **BOOLEAN** | Whether this evaluation has been deleted | [optional] |
21
- | **o_total_score** | **Integer** | | [optional] |
22
21
  | **o_total_critical_score** | **Integer** | | [optional] |
22
+ | **o_total_score** | **Integer** | | [optional] |
23
23
  {: class="table table-striped"}
24
24
 
25
25
 
@@ -0,0 +1,16 @@
1
+ ---
2
+ title: ApiUsageQuery
3
+ ---
4
+ ## PureCloud::ApiUsageQuery
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **interval** | **String** | Behaves like one clause in a SQL WHERE. Specifies the date and time range of data being queried. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss | |
11
+ | **granularity** | **String** | Date granularity of the results | [optional] |
12
+ | **group_by** | **Array<String>** | Behaves like a SQL GROUPBY. Allows for multiple levels of grouping as a list of dimensions. Partitions resulting aggregate computations into distinct named subgroups rather than across the entire result set as if it were one group. | [optional] |
13
+ | **metrics** | **Array<String>** | Behaves like a SQL SELECT clause. Enables retrieving only named metrics. If omitted, all metrics that are available will be returned (like SELECT *). | [optional] |
14
+ {: class="table table-striped"}
15
+
16
+
@@ -0,0 +1,14 @@
1
+ ---
2
+ title: ApiUsageQueryResult
3
+ ---
4
+ ## PureCloud::ApiUsageQueryResult
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **results** | [**Array<ApiUsageRow>**](ApiUsageRow.html) | Query results | [optional] |
11
+ | **query_status** | **String** | Query status | [optional] |
12
+ {: class="table table-striped"}
13
+
14
+
@@ -0,0 +1,25 @@
1
+ ---
2
+ title: ApiUsageRow
3
+ ---
4
+ ## PureCloud::ApiUsageRow
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **client_id** | **String** | Client Id associated with this query result | [optional] |
11
+ | **client_name** | **String** | Client Name associated with this query result | [optional] |
12
+ | **organization_id** | **String** | Organization Id associated with this query result | [optional] |
13
+ | **user_id** | **String** | User Id associated with this query result | [optional] |
14
+ | **template_uri** | **String** | Template Uri associated with this query result | [optional] |
15
+ | **http_method** | **String** | HTTP Method associated with this query result | [optional] |
16
+ | **status200** | **Integer** | Number of requests resulting in a 2xx HTTP status code | [optional] |
17
+ | **status300** | **Integer** | Number of requests resulting in a 3xx HTTP status code | [optional] |
18
+ | **status400** | **Integer** | Number of requests resulting in a 4xx HTTP status code | [optional] |
19
+ | **status500** | **Integer** | Number of requests resulting in a 5xx HTTP status code | [optional] |
20
+ | **status429** | **Integer** | Number of requests resulting in a 429 HTTP status code, this is a subset of the count returned with status400 | [optional] |
21
+ | **requests** | **Integer** | Total number of requests | [optional] |
22
+ | **date** | **DateTime** | Date of requests, based on granularity. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
23
+ {: class="table table-striped"}
24
+
25
+
@@ -63,6 +63,7 @@ Method | Description
63
63
  [**get_flows_datatable_rows**](ArchitectApi.html#get_flows_datatable_rows) | Returns the rows for the datatable with the given id
64
64
  [**get_flows_datatables**](ArchitectApi.html#get_flows_datatables) | Retrieve a list of datatables for the org
65
65
  [**get_flows_divisionviews**](ArchitectApi.html#get_flows_divisionviews) | Get a pageable list of basic flow information objects filterable by query parameters.
66
+ [**get_flows_execution**](ArchitectApi.html#get_flows_execution) | Get a flow execution's details. Flow execution details are available for several days after the flow is started.
66
67
  [**get_flows_outcome**](ArchitectApi.html#get_flows_outcome) | Get a flow outcome
67
68
  [**get_flows_outcomes**](ArchitectApi.html#get_flows_outcomes) | Get a pageable list of flow outcomes, filtered by query parameters
68
69
  [**post_architect_dependencytracking_build**](ArchitectApi.html#post_architect_dependencytracking_build) | Rebuild Dependency Tracking data for an organization
@@ -87,6 +88,7 @@ Method | Description
87
88
  [**post_flows_datatable_import_jobs**](ArchitectApi.html#post_flows_datatable_import_jobs) | Begin an import process for importing rows into a datatable
88
89
  [**post_flows_datatable_rows**](ArchitectApi.html#post_flows_datatable_rows) | Create a new row entry for the datatable.
89
90
  [**post_flows_datatables**](ArchitectApi.html#post_flows_datatables) | Create a new datatable with the specified json-schema definition
91
+ [**post_flows_executions**](ArchitectApi.html#post_flows_executions) | Launch an instance of a flow definition, for flow types that support it such as the 'workflow' type.
90
92
  [**post_flows_outcomes**](ArchitectApi.html#post_flows_outcomes) | Create a flow outcome
91
93
  [**put_architect_emergencygroup**](ArchitectApi.html#put_architect_emergencygroup) | Updates a emergency group by ID
92
94
  [**put_architect_ivr**](ArchitectApi.html#put_architect_ivr) | Update an IVR Config.
@@ -4026,6 +4028,71 @@ Name | Type | Description | Notes
4026
4028
 
4027
4029
 
4028
4030
 
4031
+ <a name="get_flows_execution"></a>
4032
+
4033
+ ## [**FlowRuntimeExecution**](FlowRuntimeExecution.html) get_flows_execution(flow_execution_id)
4034
+
4035
+
4036
+
4037
+ Get a flow execution's details. Flow execution details are available for several days after the flow is started.
4038
+
4039
+
4040
+
4041
+ Wraps GET /api/v2/flows/executions/{flowExecutionId}
4042
+
4043
+ Requires ANY permissions:
4044
+
4045
+ * architect:flowExecution:view
4046
+
4047
+
4048
+ ### Example
4049
+ ```{"language":"ruby"}
4050
+ # load the gem
4051
+ require 'purecloudplatformclientv2'
4052
+ # setup authorization
4053
+ @secret = ENV['PURECLOUD_SECRET']
4054
+ @id = ENV['PURECLOUD_CLIENT_ID']
4055
+ environment = "mypurecloud.com"
4056
+
4057
+ @authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
4058
+
4059
+ PureCloud.configure do |config|
4060
+ config.access_token = @authToken
4061
+ end
4062
+
4063
+ api_instance = PureCloud::ArchitectApi.new
4064
+
4065
+ flow_execution_id = "flow_execution_id_example" # String | flow execution ID
4066
+
4067
+
4068
+ begin
4069
+ #Get a flow execution's details. Flow execution details are available for several days after the flow is started.
4070
+ result = api_instance.get_flows_execution(flow_execution_id)
4071
+ p result
4072
+ rescue PureCloud::ApiError => e
4073
+ puts "Exception when calling ArchitectApi->get_flows_execution: #{e}"
4074
+ end
4075
+ ```
4076
+
4077
+ ### Parameters
4078
+
4079
+ Name | Type | Description | Notes
4080
+ ------------- | ------------- | ------------- | -------------
4081
+ **flow_execution_id** | **String**| flow execution ID | |
4082
+ {: class="table table-striped"}
4083
+
4084
+
4085
+ ### Return type
4086
+
4087
+ [**FlowRuntimeExecution**](FlowRuntimeExecution.html)
4088
+
4089
+ ### HTTP request headers
4090
+
4091
+ - **Content-Type**: application/json
4092
+ - **Accept**: application/json
4093
+
4094
+
4095
+
4029
4096
  <a name="get_flows_outcome"></a>
4030
4097
 
4031
4098
  ## [**FlowOutcome**](FlowOutcome.html) get_flows_outcome(flow_outcome_id)
@@ -5615,6 +5682,71 @@ Name | Type | Description | Notes
5615
5682
 
5616
5683
 
5617
5684
 
5685
+ <a name="post_flows_executions"></a>
5686
+
5687
+ ## [**FlowExecutionLaunchResponse**](FlowExecutionLaunchResponse.html) post_flows_executions(flow_launch_request)
5688
+
5689
+
5690
+
5691
+ Launch an instance of a flow definition, for flow types that support it such as the 'workflow' type.
5692
+
5693
+ The launch is asynchronous, it returns as soon as the flow starts. You can use the returned ID to query its status if you need.
5694
+
5695
+ Wraps POST /api/v2/flows/executions
5696
+
5697
+ Requires ANY permissions:
5698
+
5699
+ * architect:flow:launch
5700
+
5701
+
5702
+ ### Example
5703
+ ```{"language":"ruby"}
5704
+ # load the gem
5705
+ require 'purecloudplatformclientv2'
5706
+ # setup authorization
5707
+ @secret = ENV['PURECLOUD_SECRET']
5708
+ @id = ENV['PURECLOUD_CLIENT_ID']
5709
+ environment = "mypurecloud.com"
5710
+
5711
+ @authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
5712
+
5713
+ PureCloud.configure do |config|
5714
+ config.access_token = @authToken
5715
+ end
5716
+
5717
+ api_instance = PureCloud::ArchitectApi.new
5718
+
5719
+ flow_launch_request = PureCloud::FlowExecutionLaunchRequest.new # FlowExecutionLaunchRequest |
5720
+
5721
+
5722
+ begin
5723
+ #Launch an instance of a flow definition, for flow types that support it such as the 'workflow' type.
5724
+ result = api_instance.post_flows_executions(flow_launch_request)
5725
+ p result
5726
+ rescue PureCloud::ApiError => e
5727
+ puts "Exception when calling ArchitectApi->post_flows_executions: #{e}"
5728
+ end
5729
+ ```
5730
+
5731
+ ### Parameters
5732
+
5733
+ Name | Type | Description | Notes
5734
+ ------------- | ------------- | ------------- | -------------
5735
+ **flow_launch_request** | [**FlowExecutionLaunchRequest**](FlowExecutionLaunchRequest.html)| | |
5736
+ {: class="table table-striped"}
5737
+
5738
+
5739
+ ### Return type
5740
+
5741
+ [**FlowExecutionLaunchResponse**](FlowExecutionLaunchResponse.html)
5742
+
5743
+ ### HTTP request headers
5744
+
5745
+ - **Content-Type**: application/json
5746
+ - **Accept**: application/json
5747
+
5748
+
5749
+
5618
5750
  <a name="post_flows_outcomes"></a>
5619
5751
 
5620
5752
  ## [**FlowOutcome**](FlowOutcome.html) post_flows_outcomes(opts)
@@ -8,11 +8,72 @@ All URIs are relative to *https://api.mypurecloud.com*
8
8
 
9
9
  Method | Description
10
10
  ------------- | ------------- | -------------
11
+ [**get_audits_query_servicemapping**](AuditApi.html#get_audits_query_servicemapping) | Get service mapping information used in audits.
11
12
  [**get_audits_query_transaction_id**](AuditApi.html#get_audits_query_transaction_id) | Get status of audit query execution
12
13
  [**get_audits_query_transaction_id_results**](AuditApi.html#get_audits_query_transaction_id_results) | Get results of audit query
13
14
  [**post_audits_query**](AuditApi.html#post_audits_query) | Create audit query execution
15
+ [**post_audits_query_realtime**](AuditApi.html#post_audits_query_realtime) | This endpoint will only retrieve 7 days worth of audits for certain services. Please use /query to get a full list and older audits.
14
16
  {: class="table table-striped"}
15
17
 
18
+ <a name="get_audits_query_servicemapping"></a>
19
+
20
+ ## [**AuditQueryServiceMapping**](AuditQueryServiceMapping.html) get_audits_query_servicemapping
21
+
22
+
23
+
24
+ Get service mapping information used in audits.
25
+
26
+
27
+
28
+ Wraps GET /api/v2/audits/query/servicemapping
29
+
30
+ Requires ALL permissions:
31
+
32
+ * audits:audit:view
33
+
34
+
35
+ ### Example
36
+ ```{"language":"ruby"}
37
+ # load the gem
38
+ require 'purecloudplatformclientv2'
39
+ # setup authorization
40
+ @secret = ENV['PURECLOUD_SECRET']
41
+ @id = ENV['PURECLOUD_CLIENT_ID']
42
+ environment = "mypurecloud.com"
43
+
44
+ @authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
45
+
46
+ PureCloud.configure do |config|
47
+ config.access_token = @authToken
48
+ end
49
+
50
+ api_instance = PureCloud::AuditApi.new
51
+
52
+ begin
53
+ #Get service mapping information used in audits.
54
+ result = api_instance.get_audits_query_servicemapping
55
+ p result
56
+ rescue PureCloud::ApiError => e
57
+ puts "Exception when calling AuditApi->get_audits_query_servicemapping: #{e}"
58
+ end
59
+ ```
60
+
61
+ ### Parameters
62
+ This endpoint does not need any parameter.
63
+ {: class="table table-striped"}
64
+
65
+
66
+ ### Return type
67
+
68
+ [**AuditQueryServiceMapping**](AuditQueryServiceMapping.html)
69
+
70
+ ### HTTP request headers
71
+
72
+ - **Content-Type**: application/json
73
+ - **Accept**: application/json
74
+
75
+
76
+
16
77
  <a name="get_audits_query_transaction_id"></a>
17
78
 
18
79
  ## [**AuditQueryExecutionStatusResponse**](AuditQueryExecutionStatusResponse.html) get_audits_query_transaction_id(transaction_id)
@@ -216,3 +277,72 @@ Name | Type | Description | Notes
216
277
 
217
278
 
218
279
 
280
+ <a name="post_audits_query_realtime"></a>
281
+
282
+ ## [**AuditRealtimeQueryResultsResponse**](AuditRealtimeQueryResultsResponse.html) post_audits_query_realtime(body, opts)
283
+
284
+
285
+
286
+ This endpoint will only retrieve 7 days worth of audits for certain services. Please use /query to get a full list and older audits.
287
+
288
+
289
+
290
+ Wraps POST /api/v2/audits/query/realtime
291
+
292
+ Requires ALL permissions:
293
+
294
+ * audits:audit:view
295
+
296
+
297
+ ### Example
298
+ ```{"language":"ruby"}
299
+ # load the gem
300
+ require 'purecloudplatformclientv2'
301
+ # setup authorization
302
+ @secret = ENV['PURECLOUD_SECRET']
303
+ @id = ENV['PURECLOUD_CLIENT_ID']
304
+ environment = "mypurecloud.com"
305
+
306
+ @authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
307
+
308
+ PureCloud.configure do |config|
309
+ config.access_token = @authToken
310
+ end
311
+
312
+ api_instance = PureCloud::AuditApi.new
313
+
314
+ body = PureCloud::AuditRealtimeQueryRequest.new # AuditRealtimeQueryRequest | query
315
+
316
+ opts = {
317
+ expand: ["expand_example"] # Array<String> | Which fields, if any, to expand
318
+ }
319
+
320
+ begin
321
+ #This endpoint will only retrieve 7 days worth of audits for certain services. Please use /query to get a full list and older audits.
322
+ result = api_instance.post_audits_query_realtime(body, opts)
323
+ p result
324
+ rescue PureCloud::ApiError => e
325
+ puts "Exception when calling AuditApi->post_audits_query_realtime: #{e}"
326
+ end
327
+ ```
328
+
329
+ ### Parameters
330
+
331
+ Name | Type | Description | Notes
332
+ ------------- | ------------- | ------------- | -------------
333
+ **body** | [**AuditRealtimeQueryRequest**](AuditRealtimeQueryRequest.html)| query | |
334
+ **expand** | [**Array&lt;String&gt;**](String.html)| Which fields, if any, to expand | [optional] <br />**Values**: user |
335
+ {: class="table table-striped"}
336
+
337
+
338
+ ### Return type
339
+
340
+ [**AuditRealtimeQueryResultsResponse**](AuditRealtimeQueryResultsResponse.html)
341
+
342
+ ### HTTP request headers
343
+
344
+ - **Content-Type**: application/json
345
+ - **Accept**: application/json
346
+
347
+
348
+
@@ -0,0 +1,14 @@
1
+ ---
2
+ title: AuditQueryEntity
3
+ ---
4
+ ## PureCloud::AuditQueryEntity
5
+
6
+ ## Properties
7
+
8
+ |Name | Type | Description | Notes|
9
+ |------------ | ------------- | ------------- | -------------|
10
+ | **name** | **String** | Name of the Entity | [optional] |
11
+ | **actions** | **Array&lt;String&gt;** | List of Actions | [optional] |
12
+ {: class="table table-striped"}
13
+
14
+
@@ -13,6 +13,7 @@ title: AuditQueryExecutionStatusResponse
13
13
  | **interval** | **String** | Interval for the audit query. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss | [optional] |
14
14
  | **service_name** | **String** | Service name for the audit query. | [optional] |
15
15
  | **filters** | [**Array&lt;AuditQueryFilter&gt;**](AuditQueryFilter.html) | Filters for the audit query. | [optional] |
16
+ | **sort** | [**Array&lt;AuditQuerySort&gt;**](AuditQuerySort.html) | Sort parameter for the audit query. | [optional] |
16
17
  {: class="table table-striped"}
17
18
 
18
19