purecloud-platform-client-v2 171.0.0 → 173.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 (82) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +1056 -91
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1056 -91
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +1056 -91
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +1056 -91
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +631 -214
  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/AlertingApi.js +337 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +259 -9
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +70 -0
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +10 -4
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +3 -3
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/MessagingApi.js +204 -1
  45. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/SettingsApi.js +70 -0
  62. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +31 -1
  63. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +2 -2
  69. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +7 -7
  82. package/src/purecloud-platform-client-v2/index.js +13 -1
@@ -5,7 +5,7 @@ class KnowledgeApi {
5
5
  /**
6
6
  * Knowledge service.
7
7
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8
- * @version 171.0.0
8
+ * @version 173.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1271,6 +1271,8 @@ class KnowledgeApi {
1271
1271
  * @param {String} groupId The ID of the group to be retrieved.
1272
1272
  * @param {Object} opts Optional parameters
1273
1273
  * @param {Object} opts.app The app value to be used for filtering phrases.
1274
+ * @param {String} opts.dateStart The start date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
1275
+ * @param {String} opts.dateEnd The end date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
1274
1276
  */
1275
1277
  getKnowledgeKnowledgebaseUnansweredGroup(knowledgeBaseId, groupId, opts) {
1276
1278
  opts = opts || {};
@@ -1288,7 +1290,7 @@ class KnowledgeApi {
1288
1290
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/unanswered/groups/{groupId}',
1289
1291
  'GET',
1290
1292
  { 'knowledgeBaseId': knowledgeBaseId,'groupId': groupId },
1291
- { 'app': opts['app'] },
1293
+ { 'app': opts['app'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'] },
1292
1294
  { },
1293
1295
  { },
1294
1296
  null,
@@ -1306,6 +1308,8 @@ class KnowledgeApi {
1306
1308
  * @param {String} phraseGroupId The ID of the phraseGroup to be retrieved.
1307
1309
  * @param {Object} opts Optional parameters
1308
1310
  * @param {Object} opts.app The app value to be used for filtering phrases.
1311
+ * @param {String} opts.dateStart The start date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
1312
+ * @param {String} opts.dateEnd The end date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
1309
1313
  */
1310
1314
  getKnowledgeKnowledgebaseUnansweredGroupPhrasegroup(knowledgeBaseId, groupId, phraseGroupId, opts) {
1311
1315
  opts = opts || {};
@@ -1327,7 +1331,7 @@ class KnowledgeApi {
1327
1331
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/unanswered/groups/{groupId}/phrasegroups/{phraseGroupId}',
1328
1332
  'GET',
1329
1333
  { 'knowledgeBaseId': knowledgeBaseId,'groupId': groupId,'phraseGroupId': phraseGroupId },
1330
- { 'app': opts['app'] },
1334
+ { 'app': opts['app'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'] },
1331
1335
  { },
1332
1336
  { },
1333
1337
  null,
@@ -1343,6 +1347,8 @@ class KnowledgeApi {
1343
1347
  * @param {String} knowledgeBaseId Knowledge base ID
1344
1348
  * @param {Object} opts Optional parameters
1345
1349
  * @param {Object} opts.app The app value to be used for filtering phrases.
1350
+ * @param {String} opts.dateStart The start date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
1351
+ * @param {String} opts.dateEnd The end date to be used for filtering phrases. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
1346
1352
  */
1347
1353
  getKnowledgeKnowledgebaseUnansweredGroups(knowledgeBaseId, opts) {
1348
1354
  opts = opts || {};
@@ -1356,7 +1362,7 @@ class KnowledgeApi {
1356
1362
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/unanswered/groups',
1357
1363
  'GET',
1358
1364
  { 'knowledgeBaseId': knowledgeBaseId },
1359
- { 'app': opts['app'] },
1365
+ { 'app': opts['app'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'] },
1360
1366
  { },
1361
1367
  { },
1362
1368
  null,
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 171.0.0
8
+ * @version 173.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LanguagesApi {
5
5
  /**
6
6
  * Languages service.
7
7
  * @module purecloud-platform-client-v2/api/LanguagesApi
8
- * @version 171.0.0
8
+ * @version 173.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LearningApi {
5
5
  /**
6
6
  * Learning service.
7
7
  * @module purecloud-platform-client-v2/api/LearningApi
8
- * @version 171.0.0
8
+ * @version 173.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LicenseApi {
5
5
  /**
6
6
  * License service.
7
7
  * @module purecloud-platform-client-v2/api/LicenseApi
8
- * @version 171.0.0
8
+ * @version 173.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -66,7 +66,7 @@ class LicenseApi {
66
66
  }
67
67
 
68
68
  /**
69
- * Get PureCloud license feature toggle value.
69
+ * Deprecated - no alternative required. This operation will always return 'true' for requested toggles
70
70
  *
71
71
  * @param {String} featureName featureName
72
72
  */
@@ -189,7 +189,7 @@ class LicenseApi {
189
189
  }
190
190
 
191
191
  /**
192
- * Switch PureCloud license feature toggle value.
192
+ * Deprecated. No alternative required - this endpoint has no effect
193
193
  *
194
194
  * @param {String} featureName featureName
195
195
  */
@@ -5,7 +5,7 @@ class LocationsApi {
5
5
  /**
6
6
  * Locations service.
7
7
  * @module purecloud-platform-client-v2/api/LocationsApi
8
- * @version 171.0.0
8
+ * @version 173.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class MessagingApi {
5
5
  /**
6
6
  * Messaging service.
7
7
  * @module purecloud-platform-client-v2/api/MessagingApi
8
- * @version 171.0.0
8
+ * @version 173.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -20,6 +20,53 @@ class MessagingApi {
20
20
  }
21
21
 
22
22
 
23
+ /**
24
+ * Delete a messaging setting
25
+ *
26
+ * @param {String} messageSettingId Message Settings ID
27
+ * @deprecated
28
+ */
29
+ deleteMessagingSetting(messageSettingId) {
30
+ // verify the required parameter 'messageSettingId' is set
31
+ if (messageSettingId === undefined || messageSettingId === null) {
32
+ throw 'Missing the required parameter "messageSettingId" when calling deleteMessagingSetting';
33
+ }
34
+
35
+ return this.apiClient.callApi(
36
+ '/api/v2/messaging/settings/{messageSettingId}',
37
+ 'DELETE',
38
+ { 'messageSettingId': messageSettingId },
39
+ { },
40
+ { },
41
+ { },
42
+ null,
43
+ ['PureCloud OAuth'],
44
+ ['application/json'],
45
+ ['application/json']
46
+ );
47
+ }
48
+
49
+ /**
50
+ * Delete the organization's default setting, a global default will be applied to integrations without settings
51
+ * When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be applied to it.
52
+ * @deprecated
53
+ */
54
+ deleteMessagingSettingsDefault() {
55
+
56
+ return this.apiClient.callApi(
57
+ '/api/v2/messaging/settings/default',
58
+ 'DELETE',
59
+ { },
60
+ { },
61
+ { },
62
+ { },
63
+ null,
64
+ ['PureCloud OAuth'],
65
+ ['application/json'],
66
+ ['application/json']
67
+ );
68
+ }
69
+
23
70
  /**
24
71
  * Delete a supported content profile
25
72
  * Deprecated - use DELETE /api/v2/conversations/messaging/supportedcontent/{supportedContentId} as replacement
@@ -46,6 +93,79 @@ class MessagingApi {
46
93
  );
47
94
  }
48
95
 
96
+ /**
97
+ * Get a messaging setting
98
+ *
99
+ * @param {String} messageSettingId Message Settings ID
100
+ * @deprecated
101
+ */
102
+ getMessagingSetting(messageSettingId) {
103
+ // verify the required parameter 'messageSettingId' is set
104
+ if (messageSettingId === undefined || messageSettingId === null) {
105
+ throw 'Missing the required parameter "messageSettingId" when calling getMessagingSetting';
106
+ }
107
+
108
+ return this.apiClient.callApi(
109
+ '/api/v2/messaging/settings/{messageSettingId}',
110
+ 'GET',
111
+ { 'messageSettingId': messageSettingId },
112
+ { },
113
+ { },
114
+ { },
115
+ null,
116
+ ['PureCloud OAuth'],
117
+ ['application/json'],
118
+ ['application/json']
119
+ );
120
+ }
121
+
122
+ /**
123
+ * Get a list of messaging settings
124
+ *
125
+ * @param {Object} opts Optional parameters
126
+ * @param {Number} opts.pageSize Page size (default to 25)
127
+ * @param {Number} opts.pageNumber Page number (default to 1)
128
+ * @deprecated
129
+ */
130
+ getMessagingSettings(opts) {
131
+ opts = opts || {};
132
+
133
+
134
+ return this.apiClient.callApi(
135
+ '/api/v2/messaging/settings',
136
+ 'GET',
137
+ { },
138
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
139
+ { },
140
+ { },
141
+ null,
142
+ ['PureCloud OAuth'],
143
+ ['application/json'],
144
+ ['application/json']
145
+ );
146
+ }
147
+
148
+ /**
149
+ * Get the organization's default settings that will be used as the default when creating an integration.
150
+ * When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be applied to it.
151
+ * @deprecated
152
+ */
153
+ getMessagingSettingsDefault() {
154
+
155
+ return this.apiClient.callApi(
156
+ '/api/v2/messaging/settings/default',
157
+ 'GET',
158
+ { },
159
+ { },
160
+ { },
161
+ { },
162
+ null,
163
+ ['PureCloud OAuth'],
164
+ ['application/json'],
165
+ ['application/json']
166
+ );
167
+ }
168
+
49
169
  /**
50
170
  * Get a list of Supported Content profiles
51
171
  * Deprecated - use GET /api/v2/conversations/messaging/supportedcontent as replacement
@@ -98,6 +218,37 @@ class MessagingApi {
98
218
  );
99
219
  }
100
220
 
221
+ /**
222
+ * Update a messaging setting
223
+ *
224
+ * @param {String} messageSettingId Message Settings ID
225
+ * @param {Object} body MessagingSetting
226
+ * @deprecated
227
+ */
228
+ patchMessagingSetting(messageSettingId, body) {
229
+ // verify the required parameter 'messageSettingId' is set
230
+ if (messageSettingId === undefined || messageSettingId === null) {
231
+ throw 'Missing the required parameter "messageSettingId" when calling patchMessagingSetting';
232
+ }
233
+ // verify the required parameter 'body' is set
234
+ if (body === undefined || body === null) {
235
+ throw 'Missing the required parameter "body" when calling patchMessagingSetting';
236
+ }
237
+
238
+ return this.apiClient.callApi(
239
+ '/api/v2/messaging/settings/{messageSettingId}',
240
+ 'PATCH',
241
+ { 'messageSettingId': messageSettingId },
242
+ { },
243
+ { },
244
+ { },
245
+ body,
246
+ ['PureCloud OAuth'],
247
+ ['application/json'],
248
+ ['application/json']
249
+ );
250
+ }
251
+
101
252
  /**
102
253
  * Update a supported content profile
103
254
  * Deprecated - use PATCH /api/v2/conversations/messaging/supportedcontent/{supportedContentId} as replacement
@@ -129,6 +280,32 @@ class MessagingApi {
129
280
  );
130
281
  }
131
282
 
283
+ /**
284
+ * Create a messaging setting
285
+ *
286
+ * @param {Object} body MessagingSetting
287
+ * @deprecated
288
+ */
289
+ postMessagingSettings(body) {
290
+ // verify the required parameter 'body' is set
291
+ if (body === undefined || body === null) {
292
+ throw 'Missing the required parameter "body" when calling postMessagingSettings';
293
+ }
294
+
295
+ return this.apiClient.callApi(
296
+ '/api/v2/messaging/settings',
297
+ 'POST',
298
+ { },
299
+ { },
300
+ { },
301
+ { },
302
+ body,
303
+ ['PureCloud OAuth'],
304
+ ['application/json'],
305
+ ['application/json']
306
+ );
307
+ }
308
+
132
309
  /**
133
310
  * Create a Supported Content profile
134
311
  * Deprecated - use POST /api/v2/conversations/messaging/supportedcontent as replacement
@@ -155,6 +332,32 @@ class MessagingApi {
155
332
  );
156
333
  }
157
334
 
335
+ /**
336
+ * Set the organization's default settings that may be applied to an integration when it is created.
337
+ * When an integration is created a settings ID may be assigned to it. If the settings ID is not supplied, the default settings will be applied to it.
338
+ * @param {Object} body Messaging Setting ID
339
+ * @deprecated
340
+ */
341
+ putMessagingSettingsDefault(body) {
342
+ // verify the required parameter 'body' is set
343
+ if (body === undefined || body === null) {
344
+ throw 'Missing the required parameter "body" when calling putMessagingSettingsDefault';
345
+ }
346
+
347
+ return this.apiClient.callApi(
348
+ '/api/v2/messaging/settings/default',
349
+ 'PUT',
350
+ { },
351
+ { },
352
+ { },
353
+ { },
354
+ body,
355
+ ['PureCloud OAuth'],
356
+ ['application/json'],
357
+ ['application/json']
358
+ );
359
+ }
360
+
158
361
  }
159
362
 
160
363
 
@@ -5,7 +5,7 @@ class MobileDevicesApi {
5
5
  /**
6
6
  * MobileDevices service.
7
7
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
8
- * @version 171.0.0
8
+ * @version 173.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 171.0.0
8
+ * @version 173.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 171.0.0
8
+ * @version 173.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 171.0.0
8
+ * @version 173.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 171.0.0
8
+ * @version 173.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 171.0.0
8
+ * @version 173.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 171.0.0
8
+ * @version 173.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 171.0.0
8
+ * @version 173.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 171.0.0
8
+ * @version 173.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 171.0.0
8
+ * @version 173.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 171.0.0
8
+ * @version 173.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 171.0.0
8
+ * @version 173.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 171.0.0
8
+ * @version 173.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 171.0.0
8
+ * @version 173.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 171.0.0
8
+ * @version 173.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 171.0.0
8
+ * @version 173.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -0,0 +1,70 @@
1
+ import ApiClient from '../ApiClient.js';
2
+
3
+
4
+ class SettingsApi {
5
+ /**
6
+ * Settings service.
7
+ * @module purecloud-platform-client-v2/api/SettingsApi
8
+ * @version 173.0.0
9
+ */
10
+
11
+ /**
12
+ * Constructs a new SettingsApi.
13
+ * @alias module:purecloud-platform-client-v2/api/SettingsApi
14
+ * @class
15
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
16
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
17
+ */
18
+ constructor(apiClient) {
19
+ this.apiClient = apiClient || ApiClient.instance;
20
+ }
21
+
22
+
23
+ /**
24
+ * Get email Contact Center settings
25
+ *
26
+ */
27
+ getEmailsSettings() {
28
+
29
+ return this.apiClient.callApi(
30
+ '/api/v2/emails/settings',
31
+ 'GET',
32
+ { },
33
+ { },
34
+ { },
35
+ { },
36
+ null,
37
+ ['PureCloud OAuth'],
38
+ ['application/json'],
39
+ ['application/json']
40
+ );
41
+ }
42
+
43
+ /**
44
+ * Patch email Contact Center settings
45
+ *
46
+ * @param {Object} opts Optional parameters
47
+ * @param {Object} opts.body
48
+ */
49
+ patchEmailsSettings(opts) {
50
+ opts = opts || {};
51
+
52
+
53
+ return this.apiClient.callApi(
54
+ '/api/v2/emails/settings',
55
+ 'PATCH',
56
+ { },
57
+ { },
58
+ { },
59
+ { },
60
+ opts['body'],
61
+ ['PureCloud OAuth'],
62
+ ['application/json'],
63
+ ['application/json']
64
+ );
65
+ }
66
+
67
+ }
68
+
69
+
70
+ export default SettingsApi;
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
5
5
  /**
6
6
  * SpeechTextAnalytics service.
7
7
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
8
- * @version 171.0.0
8
+ * @version 173.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -174,6 +174,36 @@ class SpeechTextAnalyticsApi {
174
174
  );
175
175
  }
176
176
 
177
+ /**
178
+ * Get the list of pre-signed S3 URL for the transcripts of a specific communication of a conversation
179
+ *
180
+ * @param {String} conversationId Conversation ID
181
+ * @param {String} communicationId Communication ID
182
+ */
183
+ getSpeechandtextanalyticsConversationCommunicationTranscripturls(conversationId, communicationId) {
184
+ // verify the required parameter 'conversationId' is set
185
+ if (conversationId === undefined || conversationId === null) {
186
+ throw 'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationCommunicationTranscripturls';
187
+ }
188
+ // verify the required parameter 'communicationId' is set
189
+ if (communicationId === undefined || communicationId === null) {
190
+ throw 'Missing the required parameter "communicationId" when calling getSpeechandtextanalyticsConversationCommunicationTranscripturls';
191
+ }
192
+
193
+ return this.apiClient.callApi(
194
+ '/api/v2/speechandtextanalytics/conversations/{conversationId}/communications/{communicationId}/transcripturls',
195
+ 'GET',
196
+ { 'conversationId': conversationId,'communicationId': communicationId },
197
+ { },
198
+ { },
199
+ { },
200
+ null,
201
+ ['PureCloud OAuth'],
202
+ ['application/json'],
203
+ ['application/json']
204
+ );
205
+ }
206
+
177
207
  /**
178
208
  * Get a Speech and Text Analytics program by id
179
209
  *
@@ -5,7 +5,7 @@ class StationsApi {
5
5
  /**
6
6
  * Stations service.
7
7
  * @module purecloud-platform-client-v2/api/StationsApi
8
- * @version 171.0.0
8
+ * @version 173.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 171.0.0
8
+ * @version 173.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 171.0.0
8
+ * @version 173.0.0
9
9
  */
10
10
 
11
11
  /**