purecloud-platform-client-v2 222.0.0 → 224.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 (93) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +1863 -540
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1863 -540
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +745 -410
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +745 -410
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +1681 -998
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +387 -0
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +3 -2
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +2 -2
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +4 -2
  18. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +52 -8
  22. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +327 -16
  27. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +89 -2
  40. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +176 -1
  44. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +2 -3
  52. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/RoutingApi.js +31 -1
  67. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +71 -8
  73. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +51 -1
  74. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TeamsApi.js +2 -2
  78. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +43 -2
  80. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UsersApi.js +31 -1
  86. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +2 -2
  88. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +524 -421
  93. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -5,7 +5,7 @@ class SettingsApi {
5
5
  /**
6
6
  * Settings service.
7
7
  * @module purecloud-platform-client-v2/api/SettingsApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SocialMediaApi {
5
5
  /**
6
6
  * SocialMedia service.
7
7
  * @module purecloud-platform-client-v2/api/SocialMediaApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -141,7 +141,6 @@ class SocialMediaApi {
141
141
  * @param {String} openId openId
142
142
  * @param {Object} opts Optional parameters
143
143
  * @param {Boolean} opts.hardDelete Determines whether a open data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
144
- * deleteSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
145
144
  */
146
145
  deleteSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
147
146
  opts = opts || {};
@@ -542,7 +541,6 @@ class SocialMediaApi {
542
541
  * @param {String} openId openId
543
542
  * @param {Object} opts Optional parameters
544
543
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
545
- * getSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
546
544
  */
547
545
  getSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
548
546
  opts = opts || {};
@@ -578,7 +576,6 @@ class SocialMediaApi {
578
576
  * @param {String} dataIngestionRuleVersion version
579
577
  * @param {Object} opts Optional parameters
580
578
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
581
- * getSocialmediaTopicDataingestionrulesOpenOpenIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
582
579
  */
583
580
  getSocialmediaTopicDataingestionrulesOpenOpenIdVersion(topicId, openId, dataIngestionRuleVersion, opts) {
584
581
  opts = opts || {};
@@ -619,7 +616,6 @@ class SocialMediaApi {
619
616
  * @param {Number} opts.pageNumber Page number (default to 1)
620
617
  * @param {Number} opts.pageSize Page size (default to 25)
621
618
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
622
- * getSocialmediaTopicDataingestionrulesOpenOpenIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
623
619
  */
624
620
  getSocialmediaTopicDataingestionrulesOpenOpenIdVersions(topicId, openId, opts) {
625
621
  opts = opts || {};
@@ -853,7 +849,6 @@ class SocialMediaApi {
853
849
  * @param {String} openId openId
854
850
  * @param {Object} opts Optional parameters
855
851
  * @param {Object} opts.body
856
- * patchSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
857
852
  */
858
853
  patchSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
859
854
  opts = opts || {};
@@ -1053,7 +1048,6 @@ class SocialMediaApi {
1053
1048
  * @param {String} topicId topicId
1054
1049
  * @param {Object} opts Optional parameters
1055
1050
  * @param {Object} opts.body
1056
- * postSocialmediaTopicDataingestionrulesOpen is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1057
1051
  */
1058
1052
  postSocialmediaTopicDataingestionrulesOpen(topicId, opts) {
1059
1053
  opts = opts || {};
@@ -1077,6 +1071,76 @@ class SocialMediaApi {
1077
1071
  );
1078
1072
  }
1079
1073
 
1074
+ /**
1075
+ * Ingest a list of Open Social Messages
1076
+ * Ingest a list of open social messages to an ingestion rule on a topic. This endpoint will ingest and enrich these messages. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least social scope.
1077
+ * @param {String} topicId Topic ID
1078
+ * @param {String} ruleId Data Ingestion Rule ID
1079
+ * @param {Array.<Object>} body NormalizedMessage
1080
+ */
1081
+ postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk(topicId, ruleId, body) {
1082
+ // verify the required parameter 'topicId' is set
1083
+ if (topicId === undefined || topicId === null) {
1084
+ throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';
1085
+ }
1086
+ // verify the required parameter 'ruleId' is set
1087
+ if (ruleId === undefined || ruleId === null) {
1088
+ throw 'Missing the required parameter "ruleId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';
1089
+ }
1090
+ // verify the required parameter 'body' is set
1091
+ if (body === undefined || body === null) {
1092
+ throw 'Missing the required parameter "body" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';
1093
+ }
1094
+
1095
+ return this.apiClient.callApi(
1096
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{ruleId}/messages/bulk',
1097
+ 'POST',
1098
+ { 'topicId': topicId,'ruleId': ruleId },
1099
+ { },
1100
+ { },
1101
+ { },
1102
+ body,
1103
+ ['PureCloud OAuth'],
1104
+ ['application/json'],
1105
+ ['application/json']
1106
+ );
1107
+ }
1108
+
1109
+ /**
1110
+ * Ingest a list of Open Social Reactions
1111
+ * Ingest a list of open social reactions to an ingestion rule on a topic. This endpoint will ingest these reactions. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least social scope.
1112
+ * @param {String} topicId Topic ID
1113
+ * @param {String} ruleId Data Ingestion Rule ID
1114
+ * @param {Object} body NormalizedEvent
1115
+ */
1116
+ postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk(topicId, ruleId, body) {
1117
+ // verify the required parameter 'topicId' is set
1118
+ if (topicId === undefined || topicId === null) {
1119
+ throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';
1120
+ }
1121
+ // verify the required parameter 'ruleId' is set
1122
+ if (ruleId === undefined || ruleId === null) {
1123
+ throw 'Missing the required parameter "ruleId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';
1124
+ }
1125
+ // verify the required parameter 'body' is set
1126
+ if (body === undefined || body === null) {
1127
+ throw 'Missing the required parameter "body" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';
1128
+ }
1129
+
1130
+ return this.apiClient.callApi(
1131
+ '/api/v2/socialmedia/topics/{topicId}/dataingestionrules/open/{ruleId}/reactions/bulk',
1132
+ 'POST',
1133
+ { 'topicId': topicId,'ruleId': ruleId },
1134
+ { },
1135
+ { },
1136
+ { },
1137
+ body,
1138
+ ['PureCloud OAuth'],
1139
+ ['application/json'],
1140
+ ['application/json']
1141
+ );
1142
+ }
1143
+
1080
1144
  /**
1081
1145
  * Create an twitter data ingestion rule.
1082
1146
  *
@@ -1225,7 +1289,6 @@ class SocialMediaApi {
1225
1289
  * @param {String} openId openId
1226
1290
  * @param {Object} opts Optional parameters
1227
1291
  * @param {Object} opts.body
1228
- * putSocialmediaTopicDataingestionrulesOpenOpenId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1229
1292
  */
1230
1293
  putSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
1231
1294
  opts = opts || {};
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
5
5
  /**
6
6
  * SpeechTextAnalytics service.
7
7
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -899,6 +899,31 @@ class SpeechTextAnalyticsApi {
899
899
  );
900
900
  }
901
901
 
902
+ /**
903
+ * Get a Speech and Text Analytics test topics phrase job by id
904
+ *
905
+ * @param {String} jobId the id of the test topic phrase job
906
+ */
907
+ getSpeechandtextanalyticsTopicsTestphraseJob(jobId) {
908
+ // verify the required parameter 'jobId' is set
909
+ if (jobId === undefined || jobId === null) {
910
+ throw 'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsTopicsTestphraseJob';
911
+ }
912
+
913
+ return this.apiClient.callApi(
914
+ '/api/v2/speechandtextanalytics/topics/testphrase/jobs/{jobId}',
915
+ 'GET',
916
+ { 'jobId': jobId },
917
+ { },
918
+ { },
919
+ { },
920
+ null,
921
+ ['PureCloud OAuth'],
922
+ ['application/json'],
923
+ ['application/json']
924
+ );
925
+ }
926
+
902
927
  /**
903
928
  * Translate a single interaction recording (or an email conversation)
904
929
  *
@@ -1179,6 +1204,31 @@ class SpeechTextAnalyticsApi {
1179
1204
  );
1180
1205
  }
1181
1206
 
1207
+ /**
1208
+ * Create new Speech and Text Analytics publish topics job
1209
+ *
1210
+ * @param {Object} body The publish test topic phrase job to create
1211
+ */
1212
+ postSpeechandtextanalyticsTopicsTestphraseJobs(body) {
1213
+ // verify the required parameter 'body' is set
1214
+ if (body === undefined || body === null) {
1215
+ throw 'Missing the required parameter "body" when calling postSpeechandtextanalyticsTopicsTestphraseJobs';
1216
+ }
1217
+
1218
+ return this.apiClient.callApi(
1219
+ '/api/v2/speechandtextanalytics/topics/testphrase/jobs',
1220
+ 'POST',
1221
+ { },
1222
+ { },
1223
+ { },
1224
+ { },
1225
+ body,
1226
+ ['PureCloud OAuth'],
1227
+ ['application/json'],
1228
+ ['application/json']
1229
+ );
1230
+ }
1231
+
1182
1232
  /**
1183
1233
  * Search resources.
1184
1234
  *
@@ -5,7 +5,7 @@ class StationsApi {
5
5
  /**
6
6
  * Stations service.
7
7
  * @module purecloud-platform-client-v2/api/StationsApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SuggestApi {
5
5
  /**
6
6
  * Suggest service.
7
7
  * @module purecloud-platform-client-v2/api/SuggestApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TaskManagementApi {
5
5
  /**
6
6
  * TaskManagement service.
7
7
  * @module purecloud-platform-client-v2/api/TaskManagementApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TeamsApi {
5
5
  /**
6
6
  * Teams service.
7
7
  * @module purecloud-platform-client-v2/api/TeamsApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -144,7 +144,7 @@ class TeamsApi {
144
144
  * @param {String} opts.name Return only teams whose names start with this value (case-insensitive matching)
145
145
  * @param {String} opts.after The cursor that points to the next item in the complete list of teams
146
146
  * @param {String} opts.before The cursor that points to the previous item in the complete list of teams
147
- * @param {Object} opts.expand Expand the name on each user
147
+ * @param {Object} opts.expand Expand the division on each team
148
148
  */
149
149
  getTeams(opts) {
150
150
  opts = opts || {};
@@ -5,7 +5,7 @@ class TelephonyApi {
5
5
  /**
6
6
  * Telephony service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
5
5
  /**
6
6
  * TelephonyProvidersEdge service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1209,7 +1209,7 @@ class TelephonyProvidersEdgeApi {
1209
1209
 
1210
1210
  /**
1211
1211
  * Get a pageable list of basic extension pool objects filterable by query parameters.
1212
- * This returns extension pools consisting of name and division. If one or more IDs are specified, the search will fetch flow outcomes that match the given ID(s) and not use any additional supplied query parameters in the search.
1212
+ * This returns extension pools consisting of name and division. If one or more IDs are specified, the search will fetch extension pools that match the given ID(s) and not use any additional supplied query parameters in the search.
1213
1213
  * @param {Object} opts Optional parameters
1214
1214
  * @param {Number} opts.pageNumber Page number (default to 1)
1215
1215
  * @param {Number} opts.pageSize Page size (default to 25)
@@ -2786,6 +2786,47 @@ class TelephonyProvidersEdgeApi {
2786
2786
  );
2787
2787
  }
2788
2788
 
2789
+ /**
2790
+ * Post media endpoint statistics event.
2791
+ *
2792
+ * @param {String} conversationId Identifier of the conversation
2793
+ * @param {String} communicationId Identifier of the media session
2794
+ * @param {String} mediaResourceId Identifier of the media resource of the endpoint
2795
+ * @param {Object} body MediaStatisticsPostRequest
2796
+ * postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2797
+ */
2798
+ postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource(conversationId, communicationId, mediaResourceId, body) {
2799
+ // verify the required parameter 'conversationId' is set
2800
+ if (conversationId === undefined || conversationId === null) {
2801
+ throw 'Missing the required parameter "conversationId" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
2802
+ }
2803
+ // verify the required parameter 'communicationId' is set
2804
+ if (communicationId === undefined || communicationId === null) {
2805
+ throw 'Missing the required parameter "communicationId" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
2806
+ }
2807
+ // verify the required parameter 'mediaResourceId' is set
2808
+ if (mediaResourceId === undefined || mediaResourceId === null) {
2809
+ throw 'Missing the required parameter "mediaResourceId" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
2810
+ }
2811
+ // verify the required parameter 'body' is set
2812
+ if (body === undefined || body === null) {
2813
+ throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
2814
+ }
2815
+
2816
+ return this.apiClient.callApi(
2817
+ '/api/v2/telephony/providers/edges/mediastatistics/conversations/{conversationId}/communications/{communicationId}/mediaresources/{mediaResourceId}',
2818
+ 'POST',
2819
+ { 'conversationId': conversationId,'communicationId': communicationId,'mediaResourceId': mediaResourceId },
2820
+ { },
2821
+ { },
2822
+ { },
2823
+ body,
2824
+ ['PureCloud OAuth'],
2825
+ ['application/json'],
2826
+ ['application/json']
2827
+ );
2828
+ }
2829
+
2789
2830
  /**
2790
2831
  * Reboot a Phone
2791
2832
  *
@@ -5,7 +5,7 @@ class TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TokensApi {
5
5
  /**
6
6
  * Tokens service.
7
7
  * @module purecloud-platform-client-v2/api/TokensApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UploadsApi {
5
5
  /**
6
6
  * Uploads service.
7
7
  * @module purecloud-platform-client-v2/api/UploadsApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsageApi {
5
5
  /**
6
6
  * Usage service.
7
7
  * @module purecloud-platform-client-v2/api/UsageApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UserRecordingsApi {
5
5
  /**
6
6
  * UserRecordings service.
7
7
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsersApi {
5
5
  /**
6
6
  * Users service.
7
7
  * @module purecloud-platform-client-v2/api/UsersApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1594,6 +1594,36 @@ class UsersApi {
1594
1594
  );
1595
1595
  }
1596
1596
 
1597
+ /**
1598
+ * Get list of available users, paged by cursor token, No division filtering available so directory:user:view permission for all divisions is required
1599
+ *
1600
+ * @param {Object} opts Optional parameters
1601
+ * @param {String} opts.cursor Cursor token to retrieve next page
1602
+ * @param {Number} opts.pageSize Page size (default to 25)
1603
+ * @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
1604
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand. Note, expand parameters are resolved with a best effort approach and not guaranteed to be returned. If requested expand information is absolutely required, it's recommended to use specific API requests instead.
1605
+ * @param {Object} opts.integrationPresenceSource Gets an integration presence for users instead of their defaults. This parameter will only be used when presence is provided as an expand. When using this parameter the maximum number of users that can be returned is 100.
1606
+ * @param {Object} opts.state Only list users of this state (default to active)
1607
+ * getUsersQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1608
+ */
1609
+ getUsersQuery(opts) {
1610
+ opts = opts || {};
1611
+
1612
+
1613
+ return this.apiClient.callApi(
1614
+ '/api/v2/users/query',
1615
+ 'GET',
1616
+ { },
1617
+ { 'cursor': opts['cursor'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'integrationPresenceSource': opts['integrationPresenceSource'],'state': opts['state'] },
1618
+ { },
1619
+ { },
1620
+ null,
1621
+ ['PureCloud OAuth'],
1622
+ ['application/json'],
1623
+ ['application/json']
1624
+ );
1625
+ }
1626
+
1597
1627
  /**
1598
1628
  * Search users using the q64 value returned from a previous search
1599
1629
  *
@@ -5,7 +5,7 @@ class UtilitiesApi {
5
5
  /**
6
6
  * Utilities service.
7
7
  * @module purecloud-platform-client-v2/api/UtilitiesApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class VoicemailApi {
5
5
  /**
6
6
  * Voicemail service.
7
7
  * @module purecloud-platform-client-v2/api/VoicemailApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -261,7 +261,7 @@ class VoicemailApi {
261
261
 
262
262
  /**
263
263
  * Get media playback URI for this voicemail message
264
- *
264
+ * API should migrate to use GET api/v2/voicemail/messages/{messageId}/downloads
265
265
  * @param {String} messageId Message ID
266
266
  * @param {Object} opts Optional parameters
267
267
  * @param {Object} opts.formatId The desired media format. (default to WEBM)
@@ -5,7 +5,7 @@ class WebChatApi {
5
5
  /**
6
6
  * WebChat service.
7
7
  * @module purecloud-platform-client-v2/api/WebChatApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebDeploymentsApi {
5
5
  /**
6
6
  * WebDeployments service.
7
7
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebMessagingApi {
5
5
  /**
6
6
  * WebMessaging service.
7
7
  * @module purecloud-platform-client-v2/api/WebMessagingApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WidgetsApi {
5
5
  /**
6
6
  * Widgets service.
7
7
  * @module purecloud-platform-client-v2/api/WidgetsApi
8
- * @version 222.0.0
8
+ * @version 224.0.0
9
9
  */
10
10
 
11
11
  /**