purecloud-platform-client-v2 168.2.0 → 169.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.
- package/README.md +2 -35
- package/dist/node/purecloud-platform-client-v2.js +233 -84
- package/dist/web-amd/purecloud-platform-client-v2.js +233 -84
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +233 -84
- package/dist/web-cjs/purecloud-platform-client-v2.js +233 -84
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +143 -14
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +23 -3
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +11 -6
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +56 -7
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +2 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +25 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +51 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class KnowledgeApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Knowledge service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 169.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -236,6 +236,7 @@ class KnowledgeApi {
|
|
|
236
236
|
* @param {String} categoryId Category ID
|
|
237
237
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
238
238
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
239
|
+
* @deprecated
|
|
239
240
|
*/
|
|
240
241
|
deleteKnowledgeKnowledgebaseLanguageCategory(categoryId, knowledgeBaseId, languageCode) {
|
|
241
242
|
// verify the required parameter 'categoryId' is set
|
|
@@ -271,6 +272,7 @@ class KnowledgeApi {
|
|
|
271
272
|
* @param {String} documentId Document ID
|
|
272
273
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
273
274
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
275
|
+
* @deprecated
|
|
274
276
|
*/
|
|
275
277
|
deleteKnowledgeKnowledgebaseLanguageDocument(documentId, knowledgeBaseId, languageCode) {
|
|
276
278
|
// verify the required parameter 'documentId' is set
|
|
@@ -306,6 +308,7 @@ class KnowledgeApi {
|
|
|
306
308
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
307
309
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
308
310
|
* @param {String} importId Import ID
|
|
311
|
+
* @deprecated
|
|
309
312
|
*/
|
|
310
313
|
deleteKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId, languageCode, importId) {
|
|
311
314
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -964,6 +967,7 @@ class KnowledgeApi {
|
|
|
964
967
|
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
965
968
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
966
969
|
* @param {String} opts.name Filter to return the categories that starts with the given category name.
|
|
970
|
+
* @deprecated
|
|
967
971
|
*/
|
|
968
972
|
getKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId, languageCode, opts) {
|
|
969
973
|
opts = opts || {};
|
|
@@ -997,6 +1001,7 @@ class KnowledgeApi {
|
|
|
997
1001
|
* @param {String} categoryId Category ID
|
|
998
1002
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
999
1003
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
1004
|
+
* @deprecated
|
|
1000
1005
|
*/
|
|
1001
1006
|
getKnowledgeKnowledgebaseLanguageCategory(categoryId, knowledgeBaseId, languageCode) {
|
|
1002
1007
|
// verify the required parameter 'categoryId' is set
|
|
@@ -1032,6 +1037,7 @@ class KnowledgeApi {
|
|
|
1032
1037
|
* @param {String} documentId Document ID
|
|
1033
1038
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
1034
1039
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
1040
|
+
* @deprecated
|
|
1035
1041
|
*/
|
|
1036
1042
|
getKnowledgeKnowledgebaseLanguageDocument(documentId, knowledgeBaseId, languageCode) {
|
|
1037
1043
|
// verify the required parameter 'documentId' is set
|
|
@@ -1076,6 +1082,7 @@ class KnowledgeApi {
|
|
|
1076
1082
|
* @param {Object} opts.sortBy Sort by.
|
|
1077
1083
|
* @param {Object} opts.sortOrder Sort Order.
|
|
1078
1084
|
* @param {Array.<String>} opts.documentIds Comma-separated list of document identifiers to fetch by.
|
|
1085
|
+
* @deprecated
|
|
1079
1086
|
*/
|
|
1080
1087
|
getKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, opts) {
|
|
1081
1088
|
opts = opts || {};
|
|
@@ -1109,6 +1116,7 @@ class KnowledgeApi {
|
|
|
1109
1116
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
1110
1117
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
1111
1118
|
* @param {String} importId Import ID
|
|
1119
|
+
* @deprecated
|
|
1112
1120
|
*/
|
|
1113
1121
|
getKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId, languageCode, importId) {
|
|
1114
1122
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -1144,6 +1152,7 @@ class KnowledgeApi {
|
|
|
1144
1152
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
1145
1153
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
1146
1154
|
* @param {String} trainingId Training ID
|
|
1155
|
+
* @deprecated
|
|
1147
1156
|
*/
|
|
1148
1157
|
getKnowledgeKnowledgebaseLanguageTraining(knowledgeBaseId, languageCode, trainingId) {
|
|
1149
1158
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -1184,6 +1193,7 @@ class KnowledgeApi {
|
|
|
1184
1193
|
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
1185
1194
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
1186
1195
|
* @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
|
|
1196
|
+
* @deprecated
|
|
1187
1197
|
*/
|
|
1188
1198
|
getKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId, languageCode, opts) {
|
|
1189
1199
|
opts = opts || {};
|
|
@@ -1319,8 +1329,8 @@ class KnowledgeApi {
|
|
|
1319
1329
|
* @param {Object} opts Optional parameters
|
|
1320
1330
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
1321
1331
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
1322
|
-
* @param {String} opts.limit Number of entities to return. Maximum of
|
|
1323
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of
|
|
1332
|
+
* @param {String} opts.limit Number of entities to return. Maximum of 100. Deprecated in favour of pageSize
|
|
1333
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
1324
1334
|
* @param {String} opts.name Filter by Name.
|
|
1325
1335
|
* @param {Object} opts.coreLanguage Filter by core language.
|
|
1326
1336
|
* @param {Boolean} opts.published Filter by published status.
|
|
@@ -1631,6 +1641,7 @@ class KnowledgeApi {
|
|
|
1631
1641
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
1632
1642
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
1633
1643
|
* @param {Object} body
|
|
1644
|
+
* @deprecated
|
|
1634
1645
|
*/
|
|
1635
1646
|
patchKnowledgeKnowledgebaseLanguageCategory(categoryId, knowledgeBaseId, languageCode, body) {
|
|
1636
1647
|
// verify the required parameter 'categoryId' is set
|
|
@@ -1671,6 +1682,7 @@ class KnowledgeApi {
|
|
|
1671
1682
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
1672
1683
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
1673
1684
|
* @param {Object} body
|
|
1685
|
+
* @deprecated
|
|
1674
1686
|
*/
|
|
1675
1687
|
patchKnowledgeKnowledgebaseLanguageDocument(documentId, knowledgeBaseId, languageCode, body) {
|
|
1676
1688
|
// verify the required parameter 'documentId' is set
|
|
@@ -1710,6 +1722,7 @@ class KnowledgeApi {
|
|
|
1710
1722
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
1711
1723
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
1712
1724
|
* @param {Array.<Object>} body
|
|
1725
|
+
* @deprecated
|
|
1713
1726
|
*/
|
|
1714
1727
|
patchKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, body) {
|
|
1715
1728
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -1746,6 +1759,7 @@ class KnowledgeApi {
|
|
|
1746
1759
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
1747
1760
|
* @param {String} importId Import ID
|
|
1748
1761
|
* @param {Object} body
|
|
1762
|
+
* @deprecated
|
|
1749
1763
|
*/
|
|
1750
1764
|
patchKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId, languageCode, importId, body) {
|
|
1751
1765
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -2213,6 +2227,7 @@ class KnowledgeApi {
|
|
|
2213
2227
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
2214
2228
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
2215
2229
|
* @param {Object} body
|
|
2230
|
+
* @deprecated
|
|
2216
2231
|
*/
|
|
2217
2232
|
postKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId, languageCode, body) {
|
|
2218
2233
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -2248,6 +2263,7 @@ class KnowledgeApi {
|
|
|
2248
2263
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
2249
2264
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
2250
2265
|
* @param {Object} body
|
|
2266
|
+
* @deprecated
|
|
2251
2267
|
*/
|
|
2252
2268
|
postKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, body) {
|
|
2253
2269
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -2283,6 +2299,7 @@ class KnowledgeApi {
|
|
|
2283
2299
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
2284
2300
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
2285
2301
|
* @param {Object} body
|
|
2302
|
+
* @deprecated
|
|
2286
2303
|
*/
|
|
2287
2304
|
postKnowledgeKnowledgebaseLanguageDocumentsImports(knowledgeBaseId, languageCode, body) {
|
|
2288
2305
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -2318,6 +2335,7 @@ class KnowledgeApi {
|
|
|
2318
2335
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
2319
2336
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
2320
2337
|
* @param {String} trainingId Training ID
|
|
2338
|
+
* @deprecated
|
|
2321
2339
|
*/
|
|
2322
2340
|
postKnowledgeKnowledgebaseLanguageTrainingPromote(knowledgeBaseId, languageCode, trainingId) {
|
|
2323
2341
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -2352,6 +2370,7 @@ class KnowledgeApi {
|
|
|
2352
2370
|
*
|
|
2353
2371
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
2354
2372
|
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
2373
|
+
* @deprecated
|
|
2355
2374
|
*/
|
|
2356
2375
|
postKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId, languageCode) {
|
|
2357
2376
|
// verify the required parameter 'knowledgeBaseId' is set
|
|
@@ -2383,6 +2402,7 @@ class KnowledgeApi {
|
|
|
2383
2402
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
2384
2403
|
* @param {Object} opts Optional parameters
|
|
2385
2404
|
* @param {Object} opts.body
|
|
2405
|
+
* @deprecated
|
|
2386
2406
|
*/
|
|
2387
2407
|
postKnowledgeKnowledgebaseSearch(knowledgeBaseId, opts) {
|
|
2388
2408
|
opts = opts || {};
|
|
@@ -5,7 +5,7 @@ class MessagingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Messaging service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 169.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -22,8 +22,9 @@ class MessagingApi {
|
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Delete a supported content profile
|
|
25
|
-
*
|
|
25
|
+
* Deprecated - use DELETE /api/v2/conversations/messaging/supportedcontent/{supportedContentId} as replacement
|
|
26
26
|
* @param {String} supportedContentId Supported Content ID
|
|
27
|
+
* @deprecated
|
|
27
28
|
*/
|
|
28
29
|
deleteMessagingSupportedcontentSupportedContentId(supportedContentId) {
|
|
29
30
|
// verify the required parameter 'supportedContentId' is set
|
|
@@ -47,10 +48,11 @@ class MessagingApi {
|
|
|
47
48
|
|
|
48
49
|
/**
|
|
49
50
|
* Get a list of Supported Content profiles
|
|
50
|
-
*
|
|
51
|
+
* Deprecated - use GET /api/v2/conversations/messaging/supportedcontent as replacement
|
|
51
52
|
* @param {Object} opts Optional parameters
|
|
52
53
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
53
54
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
55
|
+
* @deprecated
|
|
54
56
|
*/
|
|
55
57
|
getMessagingSupportedcontent(opts) {
|
|
56
58
|
opts = opts || {};
|
|
@@ -72,8 +74,9 @@ class MessagingApi {
|
|
|
72
74
|
|
|
73
75
|
/**
|
|
74
76
|
* Get a supported content profile
|
|
75
|
-
*
|
|
77
|
+
* Deprecated - use GET /api/v2/conversations/messaging/supportedcontent/{supportedContentId} as replacement
|
|
76
78
|
* @param {String} supportedContentId Supported Content ID
|
|
79
|
+
* @deprecated
|
|
77
80
|
*/
|
|
78
81
|
getMessagingSupportedcontentSupportedContentId(supportedContentId) {
|
|
79
82
|
// verify the required parameter 'supportedContentId' is set
|
|
@@ -97,9 +100,10 @@ class MessagingApi {
|
|
|
97
100
|
|
|
98
101
|
/**
|
|
99
102
|
* Update a supported content profile
|
|
100
|
-
*
|
|
103
|
+
* Deprecated - use PATCH /api/v2/conversations/messaging/supportedcontent/{supportedContentId} as replacement
|
|
101
104
|
* @param {String} supportedContentId Supported Content ID
|
|
102
105
|
* @param {Object} body SupportedContent
|
|
106
|
+
* @deprecated
|
|
103
107
|
*/
|
|
104
108
|
patchMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
|
|
105
109
|
// verify the required parameter 'supportedContentId' is set
|
|
@@ -127,8 +131,9 @@ class MessagingApi {
|
|
|
127
131
|
|
|
128
132
|
/**
|
|
129
133
|
* Create a Supported Content profile
|
|
130
|
-
*
|
|
134
|
+
* Deprecated - use POST /api/v2/conversations/messaging/supportedcontent as replacement
|
|
131
135
|
* @param {Object} body SupportedContent
|
|
136
|
+
* @deprecated
|
|
132
137
|
*/
|
|
133
138
|
postMessagingSupportedcontent(body) {
|
|
134
139
|
// verify the required parameter 'body' is set
|
|
@@ -5,7 +5,7 @@ class OrganizationApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Organization service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 169.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -47,9 +47,30 @@ class OrganizationApi {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Gets the organization's settings
|
|
51
51
|
*
|
|
52
52
|
*/
|
|
53
|
+
getOrganizationsAuthenticationSettings() {
|
|
54
|
+
|
|
55
|
+
return this.apiClient.callApi(
|
|
56
|
+
'/api/v2/organizations/authentication/settings',
|
|
57
|
+
'GET',
|
|
58
|
+
{ },
|
|
59
|
+
{ },
|
|
60
|
+
{ },
|
|
61
|
+
{ },
|
|
62
|
+
null,
|
|
63
|
+
['PureCloud OAuth'],
|
|
64
|
+
['application/json'],
|
|
65
|
+
['application/json']
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Get the list of domains that will be allowed to embed PureCloud applications
|
|
71
|
+
* This route is deprecated, please use /api/v2/organizations/authentication/settings instead
|
|
72
|
+
* @deprecated
|
|
73
|
+
*/
|
|
53
74
|
getOrganizationsEmbeddedintegration() {
|
|
54
75
|
|
|
55
76
|
return this.apiClient.callApi(
|
|
@@ -68,7 +89,8 @@ class OrganizationApi {
|
|
|
68
89
|
|
|
69
90
|
/**
|
|
70
91
|
* Get organization IP address whitelist settings
|
|
71
|
-
*
|
|
92
|
+
* This route is deprecated, please use /api/v2/organizations/authentication/settings instead
|
|
93
|
+
* @deprecated
|
|
72
94
|
*/
|
|
73
95
|
getOrganizationsIpaddressauthentication() {
|
|
74
96
|
|
|
@@ -255,7 +277,7 @@ class OrganizationApi {
|
|
|
255
277
|
}
|
|
256
278
|
|
|
257
279
|
/**
|
|
258
|
-
*
|
|
280
|
+
* This route is deprecated, please use /api/v2/organizations/authentication/settings instead
|
|
259
281
|
*
|
|
260
282
|
* @deprecated
|
|
261
283
|
*/
|
|
@@ -275,6 +297,31 @@ class OrganizationApi {
|
|
|
275
297
|
);
|
|
276
298
|
}
|
|
277
299
|
|
|
300
|
+
/**
|
|
301
|
+
* Update the organization's settings
|
|
302
|
+
*
|
|
303
|
+
* @param {Object} body Org settings
|
|
304
|
+
*/
|
|
305
|
+
patchOrganizationsAuthenticationSettings(body) {
|
|
306
|
+
// verify the required parameter 'body' is set
|
|
307
|
+
if (body === undefined || body === null) {
|
|
308
|
+
throw 'Missing the required parameter "body" when calling patchOrganizationsAuthenticationSettings';
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
return this.apiClient.callApi(
|
|
312
|
+
'/api/v2/organizations/authentication/settings',
|
|
313
|
+
'PATCH',
|
|
314
|
+
{ },
|
|
315
|
+
{ },
|
|
316
|
+
{ },
|
|
317
|
+
{ },
|
|
318
|
+
body,
|
|
319
|
+
['PureCloud OAuth'],
|
|
320
|
+
['application/json'],
|
|
321
|
+
['application/json']
|
|
322
|
+
);
|
|
323
|
+
}
|
|
324
|
+
|
|
278
325
|
/**
|
|
279
326
|
* Update organization
|
|
280
327
|
*
|
|
@@ -307,8 +354,9 @@ class OrganizationApi {
|
|
|
307
354
|
|
|
308
355
|
/**
|
|
309
356
|
* Update the list of domains that will be allowed to embed PureCloud applications
|
|
310
|
-
*
|
|
357
|
+
* This route is deprecated, please use /api/v2/organizations/authentication/settings instead
|
|
311
358
|
* @param {Object} body Whitelist settings
|
|
359
|
+
* @deprecated
|
|
312
360
|
*/
|
|
313
361
|
putOrganizationsEmbeddedintegration(body) {
|
|
314
362
|
// verify the required parameter 'body' is set
|
|
@@ -332,8 +380,9 @@ class OrganizationApi {
|
|
|
332
380
|
|
|
333
381
|
/**
|
|
334
382
|
* Update organization IP address whitelist settings
|
|
335
|
-
*
|
|
383
|
+
* This route is deprecated, please use /api/v2/organizations/authentication/settings instead
|
|
336
384
|
* @param {Object} body IP address Whitelist settings
|
|
385
|
+
* @deprecated
|
|
337
386
|
*/
|
|
338
387
|
putOrganizationsIpaddressauthentication(body) {
|
|
339
388
|
// verify the required parameter 'body' is set
|
|
@@ -380,7 +429,7 @@ class OrganizationApi {
|
|
|
380
429
|
}
|
|
381
430
|
|
|
382
431
|
/**
|
|
383
|
-
*
|
|
432
|
+
* This route is deprecated, please use /api/v2/organizations/authentication/settings instead
|
|
384
433
|
*
|
|
385
434
|
* @param {Object} body Whitelist settings
|
|
386
435
|
* @deprecated
|
|
@@ -5,7 +5,7 @@ class SearchApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Search service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 169.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -378,6 +378,7 @@ class SearchApi {
|
|
|
378
378
|
* @param {String} knowledgeBaseId Knowledge base ID
|
|
379
379
|
* @param {Object} opts Optional parameters
|
|
380
380
|
* @param {Object} opts.body
|
|
381
|
+
* @deprecated
|
|
381
382
|
*/
|
|
382
383
|
postKnowledgeKnowledgebaseSearch(knowledgeBaseId, opts) {
|
|
383
384
|
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
|
|
8
|
+
* @version 169.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -558,6 +558,30 @@ class SpeechTextAnalyticsApi {
|
|
|
558
558
|
);
|
|
559
559
|
}
|
|
560
560
|
|
|
561
|
+
/**
|
|
562
|
+
* Get the list of general topics from the org and the system with their current status
|
|
563
|
+
*
|
|
564
|
+
* @param {Object} opts Optional parameters
|
|
565
|
+
* @param {Object} opts.dialect The dialect of the general topics, dialect format is {language}-{country} where language follows ISO 639-1 standard and country follows ISO 3166-1 alpha 2 standard
|
|
566
|
+
*/
|
|
567
|
+
getSpeechandtextanalyticsTopicsGeneralStatus(opts) {
|
|
568
|
+
opts = opts || {};
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
return this.apiClient.callApi(
|
|
572
|
+
'/api/v2/speechandtextanalytics/topics/general/status',
|
|
573
|
+
'GET',
|
|
574
|
+
{ },
|
|
575
|
+
{ 'dialect': opts['dialect'] },
|
|
576
|
+
{ },
|
|
577
|
+
{ },
|
|
578
|
+
null,
|
|
579
|
+
['PureCloud OAuth'],
|
|
580
|
+
['application/json'],
|
|
581
|
+
['application/json']
|
|
582
|
+
);
|
|
583
|
+
}
|
|
584
|
+
|
|
561
585
|
/**
|
|
562
586
|
* Get a Speech and Text Analytics publish topics job by id
|
|
563
587
|
*
|