purecloud-platform-client-v2 222.0.0 → 223.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 (92) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +905 -512
  3. package/dist/web-amd/purecloud-platform-client-v2.js +905 -512
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +457 -380
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +457 -380
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +1194 -992
  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/AgentAssistantsApi.js +3 -2
  12. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +5 -6
  21. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +36 -1
  26. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +150 -1
  43. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +2 -3
  51. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +71 -8
  72. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +51 -1
  73. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +512 -415
  92. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class LocationsApi {
5
5
  /**
6
6
  * Locations service.
7
7
  * @module purecloud-platform-client-v2/api/LocationsApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LogCaptureApi {
5
5
  /**
6
6
  * LogCapture service.
7
7
  * @module purecloud-platform-client-v2/api/LogCaptureApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -147,7 +147,6 @@ class LogCaptureApi {
147
147
  * Query collected log entries. It returns a limited amount of records, to get all records use download endpoint.
148
148
  *
149
149
  * @param {Object} opts Optional parameters
150
- * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
151
150
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
152
151
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
153
152
  * @param {Object} opts.body
@@ -160,7 +159,7 @@ class LogCaptureApi {
160
159
  '/api/v2/diagnostics/logcapture/browser/entries/query',
161
160
  'POST',
162
161
  { },
163
- { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'] },
162
+ { 'after': opts['after'],'pageSize': opts['pageSize'] },
164
163
  { },
165
164
  { },
166
165
  opts['body'],
@@ -5,7 +5,7 @@ class MessagingApi {
5
5
  /**
6
6
  * Messaging service.
7
7
  * @module purecloud-platform-client-v2/api/MessagingApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class MobileDevicesApi {
5
5
  /**
6
6
  * MobileDevices service.
7
7
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class NotificationsApi {
5
5
  /**
6
6
  * Notifications service.
7
7
  * @module purecloud-platform-client-v2/api/NotificationsApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OAuthApi {
5
5
  /**
6
6
  * OAuth service.
7
7
  * @module purecloud-platform-client-v2/api/OAuthApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ObjectsApi {
5
5
  /**
6
6
  * Objects service.
7
7
  * @module purecloud-platform-client-v2/api/ObjectsApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OperationalEventsApi {
5
5
  /**
6
6
  * OperationalEvents service.
7
7
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationApi {
5
5
  /**
6
6
  * Organization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationAuthorizationApi {
5
5
  /**
6
6
  * OrganizationAuthorization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OutboundApi {
5
5
  /**
6
6
  * Outbound service.
7
7
  * @module purecloud-platform-client-v2/api/OutboundApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class PresenceApi {
5
5
  /**
6
6
  * Presence service.
7
7
  * @module purecloud-platform-client-v2/api/PresenceApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ProcessAutomationApi {
5
5
  /**
6
6
  * ProcessAutomation service.
7
7
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class QualityApi {
5
5
  /**
6
6
  * Quality service.
7
7
  * @module purecloud-platform-client-v2/api/QualityApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ResponseManagementApi {
5
5
  /**
6
6
  * ResponseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class RoutingApi {
5
5
  /**
6
6
  * Routing service.
7
7
  * @module purecloud-platform-client-v2/api/RoutingApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SCIMApi {
5
5
  /**
6
6
  * SCIM service.
7
7
  * @module purecloud-platform-client-v2/api/SCIMApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScreenRecordingApi {
5
5
  /**
6
6
  * ScreenRecording service.
7
7
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScriptsApi {
5
5
  /**
6
6
  * Scripts service.
7
7
  * @module purecloud-platform-client-v2/api/ScriptsApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SearchApi {
5
5
  /**
6
6
  * Search service.
7
7
  * @module purecloud-platform-client-v2/api/SearchApi
8
- * @version 222.0.0
8
+ * @version 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -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 223.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 223.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 223.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 223.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 223.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 223.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 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -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 223.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 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -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 223.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 223.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 223.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 223.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 223.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 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -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 223.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 223.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -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 223.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 223.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 223.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 223.0.0
9
9
  */
10
10
 
11
11
  /**