purecloud-platform-client-v2 168.1.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 +281 -84
- package/dist/web-amd/purecloud-platform-client-v2.js +281 -84
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +281 -84
- package/dist/web-cjs/purecloud-platform-client-v2.js +329 -111
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +230 -77
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/AuditApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +4 -2
- package/src/purecloud-platform-client-v2/api/BillingApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ChatApi.js +5 -2
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/EventsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/FaxApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +5 -2
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +24 -4
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +6 -2
- package/src/purecloud-platform-client-v2/api/LearningApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +12 -7
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +60 -8
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/QualityApi.js +11 -2
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +7 -2
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/SearchApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +26 -2
- package/src/purecloud-platform-client-v2/api/StationsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/TokensApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/UsageApi.js +52 -2
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/UsersApi.js +8 -2
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +7 -2
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +7 -2
- 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 || {};
|
|
@@ -2434,4 +2454,4 @@ class KnowledgeApi {
|
|
|
2434
2454
|
}
|
|
2435
2455
|
|
|
2436
2456
|
|
|
2437
|
-
export default KnowledgeApi;
|
|
2457
|
+
export default KnowledgeApi;
|
|
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* LanguageUnderstanding service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 169.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1015,4 +1015,4 @@ class LanguageUnderstandingApi {
|
|
|
1015
1015
|
}
|
|
1016
1016
|
|
|
1017
1017
|
|
|
1018
|
-
export default LanguageUnderstandingApi;
|
|
1018
|
+
export default LanguageUnderstandingApi;
|
|
@@ -5,7 +5,7 @@ class LanguagesApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Languages service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 169.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -24,6 +24,7 @@ class LanguagesApi {
|
|
|
24
24
|
* Delete Language (Deprecated)
|
|
25
25
|
* This endpoint is deprecated. Please see the Routing API (DELETE /api/v2/routing/languages/{languageId})
|
|
26
26
|
* @param {String} languageId Language ID
|
|
27
|
+
* @deprecated
|
|
27
28
|
*/
|
|
28
29
|
deleteLanguage(languageId) {
|
|
29
30
|
// verify the required parameter 'languageId' is set
|
|
@@ -49,6 +50,7 @@ class LanguagesApi {
|
|
|
49
50
|
* Get Language (Deprecated)
|
|
50
51
|
* This endpoint is deprecated. Please see the Routing API (GET /api/v2/routing/languages/{languageId})
|
|
51
52
|
* @param {String} languageId Language ID
|
|
53
|
+
* @deprecated
|
|
52
54
|
*/
|
|
53
55
|
getLanguage(languageId) {
|
|
54
56
|
// verify the required parameter 'languageId' is set
|
|
@@ -78,6 +80,7 @@ class LanguagesApi {
|
|
|
78
80
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
79
81
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
|
|
80
82
|
* @param {String} opts.name Name
|
|
83
|
+
* @deprecated
|
|
81
84
|
*/
|
|
82
85
|
getLanguages(opts) {
|
|
83
86
|
opts = opts || {};
|
|
@@ -196,6 +199,7 @@ class LanguagesApi {
|
|
|
196
199
|
* Create Language (Deprecated)
|
|
197
200
|
* This endpoint is deprecated. Please see the Routing API. (POST /api/v2/routing/languages
|
|
198
201
|
* @param {Object} body Language
|
|
202
|
+
* @deprecated
|
|
199
203
|
*/
|
|
200
204
|
postLanguages(body) {
|
|
201
205
|
// verify the required parameter 'body' is set
|
|
@@ -220,4 +224,4 @@ class LanguagesApi {
|
|
|
220
224
|
}
|
|
221
225
|
|
|
222
226
|
|
|
223
|
-
export default LanguagesApi;
|
|
227
|
+
export default LanguagesApi;
|
|
@@ -5,7 +5,7 @@ class LearningApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Learning service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 169.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -817,4 +817,4 @@ class LearningApi {
|
|
|
817
817
|
}
|
|
818
818
|
|
|
819
819
|
|
|
820
|
-
export default LearningApi;
|
|
820
|
+
export default LearningApi;
|
|
@@ -5,7 +5,7 @@ class LicenseApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* License service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 169.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -240,4 +240,4 @@ class LicenseApi {
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
|
|
243
|
-
export default LicenseApi;
|
|
243
|
+
export default LicenseApi;
|
|
@@ -5,7 +5,7 @@ class LocationsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Locations service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 169.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -238,4 +238,4 @@ class LocationsApi {
|
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
|
|
241
|
-
export default LocationsApi;
|
|
241
|
+
export default LocationsApi;
|
|
@@ -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
|
|
@@ -153,4 +158,4 @@ class MessagingApi {
|
|
|
153
158
|
}
|
|
154
159
|
|
|
155
160
|
|
|
156
|
-
export default MessagingApi;
|
|
161
|
+
export default MessagingApi;
|
|
@@ -5,7 +5,7 @@ class MobileDevicesApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* MobileDevices service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 169.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -153,4 +153,4 @@ class MobileDevicesApi {
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
|
|
156
|
-
export default MobileDevicesApi;
|
|
156
|
+
export default MobileDevicesApi;
|
|
@@ -5,7 +5,7 @@ class NotificationsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Notifications service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 169.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -235,4 +235,4 @@ class NotificationsApi {
|
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
|
|
238
|
-
export default NotificationsApi;
|
|
238
|
+
export default NotificationsApi;
|
|
@@ -5,7 +5,7 @@ class OAuthApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* OAuth service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 169.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -368,4 +368,4 @@ class OAuthApi {
|
|
|
368
368
|
}
|
|
369
369
|
|
|
370
370
|
|
|
371
|
-
export default OAuthApi;
|
|
371
|
+
export default OAuthApi;
|
|
@@ -5,7 +5,7 @@ class ObjectsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Objects service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 169.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -273,4 +273,4 @@ class ObjectsApi {
|
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
|
|
276
|
-
export default ObjectsApi;
|
|
276
|
+
export default ObjectsApi;
|
|
@@ -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
|
/**
|
|
@@ -24,6 +24,7 @@ class OrganizationApi {
|
|
|
24
24
|
* Fetch field config for an entity type
|
|
25
25
|
*
|
|
26
26
|
* @param {Object} type Field type
|
|
27
|
+
* @deprecated
|
|
27
28
|
*/
|
|
28
29
|
getFieldconfig(type) {
|
|
29
30
|
// verify the required parameter 'type' is set
|
|
@@ -46,9 +47,30 @@ class OrganizationApi {
|
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
/**
|
|
49
|
-
*
|
|
50
|
+
* Gets the organization's settings
|
|
50
51
|
*
|
|
51
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
|
+
*/
|
|
52
74
|
getOrganizationsEmbeddedintegration() {
|
|
53
75
|
|
|
54
76
|
return this.apiClient.callApi(
|
|
@@ -67,7 +89,8 @@ class OrganizationApi {
|
|
|
67
89
|
|
|
68
90
|
/**
|
|
69
91
|
* Get organization IP address whitelist settings
|
|
70
|
-
*
|
|
92
|
+
* This route is deprecated, please use /api/v2/organizations/authentication/settings instead
|
|
93
|
+
* @deprecated
|
|
71
94
|
*/
|
|
72
95
|
getOrganizationsIpaddressauthentication() {
|
|
73
96
|
|
|
@@ -254,8 +277,9 @@ class OrganizationApi {
|
|
|
254
277
|
}
|
|
255
278
|
|
|
256
279
|
/**
|
|
257
|
-
*
|
|
280
|
+
* This route is deprecated, please use /api/v2/organizations/authentication/settings instead
|
|
258
281
|
*
|
|
282
|
+
* @deprecated
|
|
259
283
|
*/
|
|
260
284
|
getOrganizationsWhitelist() {
|
|
261
285
|
|
|
@@ -273,6 +297,31 @@ class OrganizationApi {
|
|
|
273
297
|
);
|
|
274
298
|
}
|
|
275
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
|
+
|
|
276
325
|
/**
|
|
277
326
|
* Update organization
|
|
278
327
|
*
|
|
@@ -305,8 +354,9 @@ class OrganizationApi {
|
|
|
305
354
|
|
|
306
355
|
/**
|
|
307
356
|
* Update the list of domains that will be allowed to embed PureCloud applications
|
|
308
|
-
*
|
|
357
|
+
* This route is deprecated, please use /api/v2/organizations/authentication/settings instead
|
|
309
358
|
* @param {Object} body Whitelist settings
|
|
359
|
+
* @deprecated
|
|
310
360
|
*/
|
|
311
361
|
putOrganizationsEmbeddedintegration(body) {
|
|
312
362
|
// verify the required parameter 'body' is set
|
|
@@ -330,8 +380,9 @@ class OrganizationApi {
|
|
|
330
380
|
|
|
331
381
|
/**
|
|
332
382
|
* Update organization IP address whitelist settings
|
|
333
|
-
*
|
|
383
|
+
* This route is deprecated, please use /api/v2/organizations/authentication/settings instead
|
|
334
384
|
* @param {Object} body IP address Whitelist settings
|
|
385
|
+
* @deprecated
|
|
335
386
|
*/
|
|
336
387
|
putOrganizationsIpaddressauthentication(body) {
|
|
337
388
|
// verify the required parameter 'body' is set
|
|
@@ -378,9 +429,10 @@ class OrganizationApi {
|
|
|
378
429
|
}
|
|
379
430
|
|
|
380
431
|
/**
|
|
381
|
-
*
|
|
432
|
+
* This route is deprecated, please use /api/v2/organizations/authentication/settings instead
|
|
382
433
|
*
|
|
383
434
|
* @param {Object} body Whitelist settings
|
|
435
|
+
* @deprecated
|
|
384
436
|
*/
|
|
385
437
|
putOrganizationsWhitelist(body) {
|
|
386
438
|
// verify the required parameter 'body' is set
|
|
@@ -405,4 +457,4 @@ class OrganizationApi {
|
|
|
405
457
|
}
|
|
406
458
|
|
|
407
459
|
|
|
408
|
-
export default OrganizationApi;
|
|
460
|
+
export default OrganizationApi;
|
|
@@ -5,7 +5,7 @@ class OrganizationAuthorizationApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* OrganizationAuthorization service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 169.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1297,4 +1297,4 @@ class OrganizationAuthorizationApi {
|
|
|
1297
1297
|
}
|
|
1298
1298
|
|
|
1299
1299
|
|
|
1300
|
-
export default OrganizationAuthorizationApi;
|
|
1300
|
+
export default OrganizationAuthorizationApi;
|
|
@@ -5,7 +5,7 @@ class OutboundApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Outbound service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 169.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -2490,6 +2490,7 @@ class OutboundApi {
|
|
|
2490
2490
|
* This endpoint is deprecated and may have unexpected results. Please use "/conversations/{conversationId}/participants/{participantId}/callbacks instead."
|
|
2491
2491
|
* @param {String} campaignId Campaign ID
|
|
2492
2492
|
* @param {Object} body ContactCallbackRequest
|
|
2493
|
+
* @deprecated
|
|
2493
2494
|
*/
|
|
2494
2495
|
postOutboundCampaignCallbackSchedule(campaignId, body) {
|
|
2495
2496
|
// verify the required parameter 'campaignId' is set
|
|
@@ -3623,4 +3624,4 @@ class OutboundApi {
|
|
|
3623
3624
|
}
|
|
3624
3625
|
|
|
3625
3626
|
|
|
3626
|
-
export default OutboundApi;
|
|
3627
|
+
export default OutboundApi;
|
|
@@ -5,7 +5,7 @@ class PresenceApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Presence service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 169.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -553,4 +553,4 @@ class PresenceApi {
|
|
|
553
553
|
}
|
|
554
554
|
|
|
555
555
|
|
|
556
|
-
export default PresenceApi;
|
|
556
|
+
export default PresenceApi;
|
|
@@ -5,7 +5,7 @@ class ProcessAutomationApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* ProcessAutomation service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 169.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -241,4 +241,4 @@ class ProcessAutomationApi {
|
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
|
|
244
|
-
export default ProcessAutomationApi;
|
|
244
|
+
export default ProcessAutomationApi;
|