purecloud-platform-client-v2 188.0.1 → 189.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 -2
- package/dist/node/purecloud-platform-client-v2.js +1059 -113
- package/dist/web-amd/purecloud-platform-client-v2.js +1059 -113
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +340 -115
- package/dist/web-cjs/purecloud-platform-client-v2.js +359 -122
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +727 -7
- 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 -2
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +298 -6
- 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 +13 -9
- 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/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +5 -5
- 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 +240 -11
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +187 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +161 -1
- 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/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- 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/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +7 -3
- 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 +4 -4
- 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/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +48 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -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/TaskManagementApi.js +27 -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 -3
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -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 +4 -3
- 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 189.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -2154,6 +2154,40 @@ class KnowledgeApi {
|
|
|
2154
2154
|
);
|
|
2155
2155
|
}
|
|
2156
2156
|
|
|
2157
|
+
/**
|
|
2158
|
+
* Indicate that the document was copied by the user.
|
|
2159
|
+
*
|
|
2160
|
+
* @param {String} sessionId Knowledge guest session ID.
|
|
2161
|
+
* @param {String} documentId Document ID
|
|
2162
|
+
* @param {Object} opts Optional parameters
|
|
2163
|
+
* @param {Object} opts.body
|
|
2164
|
+
*/
|
|
2165
|
+
postKnowledgeGuestSessionDocumentCopies(sessionId, documentId, opts) {
|
|
2166
|
+
opts = opts || {};
|
|
2167
|
+
|
|
2168
|
+
// verify the required parameter 'sessionId' is set
|
|
2169
|
+
if (sessionId === undefined || sessionId === null) {
|
|
2170
|
+
throw 'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentCopies';
|
|
2171
|
+
}
|
|
2172
|
+
// verify the required parameter 'documentId' is set
|
|
2173
|
+
if (documentId === undefined || documentId === null) {
|
|
2174
|
+
throw 'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentCopies';
|
|
2175
|
+
}
|
|
2176
|
+
|
|
2177
|
+
return this.apiClient.callApi(
|
|
2178
|
+
'/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/copies',
|
|
2179
|
+
'POST',
|
|
2180
|
+
{ 'sessionId': sessionId,'documentId': documentId },
|
|
2181
|
+
{ },
|
|
2182
|
+
{ },
|
|
2183
|
+
{ },
|
|
2184
|
+
opts['body'],
|
|
2185
|
+
['PureCloud OAuth'],
|
|
2186
|
+
['application/json'],
|
|
2187
|
+
['application/json']
|
|
2188
|
+
);
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2157
2191
|
/**
|
|
2158
2192
|
* Give feedback on a document
|
|
2159
2193
|
*
|
|
@@ -2188,6 +2222,69 @@ class KnowledgeApi {
|
|
|
2188
2222
|
);
|
|
2189
2223
|
}
|
|
2190
2224
|
|
|
2225
|
+
/**
|
|
2226
|
+
* Create view event for a document.
|
|
2227
|
+
*
|
|
2228
|
+
* @param {String} sessionId Knowledge guest session ID.
|
|
2229
|
+
* @param {String} documentId Document ID
|
|
2230
|
+
* @param {Object} opts Optional parameters
|
|
2231
|
+
* @param {Object} opts.body
|
|
2232
|
+
*/
|
|
2233
|
+
postKnowledgeGuestSessionDocumentViews(sessionId, documentId, opts) {
|
|
2234
|
+
opts = opts || {};
|
|
2235
|
+
|
|
2236
|
+
// verify the required parameter 'sessionId' is set
|
|
2237
|
+
if (sessionId === undefined || sessionId === null) {
|
|
2238
|
+
throw 'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentViews';
|
|
2239
|
+
}
|
|
2240
|
+
// verify the required parameter 'documentId' is set
|
|
2241
|
+
if (documentId === undefined || documentId === null) {
|
|
2242
|
+
throw 'Missing the required parameter "documentId" when calling postKnowledgeGuestSessionDocumentViews';
|
|
2243
|
+
}
|
|
2244
|
+
|
|
2245
|
+
return this.apiClient.callApi(
|
|
2246
|
+
'/api/v2/knowledge/guest/sessions/{sessionId}/documents/{documentId}/views',
|
|
2247
|
+
'POST',
|
|
2248
|
+
{ 'sessionId': sessionId,'documentId': documentId },
|
|
2249
|
+
{ },
|
|
2250
|
+
{ },
|
|
2251
|
+
{ },
|
|
2252
|
+
opts['body'],
|
|
2253
|
+
['PureCloud OAuth'],
|
|
2254
|
+
['application/json'],
|
|
2255
|
+
['application/json']
|
|
2256
|
+
);
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2259
|
+
/**
|
|
2260
|
+
* Indicate that documents were presented to the user.
|
|
2261
|
+
*
|
|
2262
|
+
* @param {String} sessionId Knowledge guest session ID.
|
|
2263
|
+
* @param {Object} opts Optional parameters
|
|
2264
|
+
* @param {Object} opts.body
|
|
2265
|
+
*/
|
|
2266
|
+
postKnowledgeGuestSessionDocumentsPresentations(sessionId, opts) {
|
|
2267
|
+
opts = opts || {};
|
|
2268
|
+
|
|
2269
|
+
// verify the required parameter 'sessionId' is set
|
|
2270
|
+
if (sessionId === undefined || sessionId === null) {
|
|
2271
|
+
throw 'Missing the required parameter "sessionId" when calling postKnowledgeGuestSessionDocumentsPresentations';
|
|
2272
|
+
}
|
|
2273
|
+
|
|
2274
|
+
return this.apiClient.callApi(
|
|
2275
|
+
'/api/v2/knowledge/guest/sessions/{sessionId}/documents/presentations',
|
|
2276
|
+
'POST',
|
|
2277
|
+
{ 'sessionId': sessionId },
|
|
2278
|
+
{ },
|
|
2279
|
+
{ },
|
|
2280
|
+
{ },
|
|
2281
|
+
opts['body'],
|
|
2282
|
+
['PureCloud OAuth'],
|
|
2283
|
+
['application/json'],
|
|
2284
|
+
['application/json']
|
|
2285
|
+
);
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2191
2288
|
/**
|
|
2192
2289
|
* Search the documents in a guest session.
|
|
2193
2290
|
*
|
|
@@ -2302,6 +2399,40 @@ class KnowledgeApi {
|
|
|
2302
2399
|
);
|
|
2303
2400
|
}
|
|
2304
2401
|
|
|
2402
|
+
/**
|
|
2403
|
+
* Indicate that the document was copied by the user.
|
|
2404
|
+
*
|
|
2405
|
+
* @param {String} knowledgeBaseId Knowledge base ID.
|
|
2406
|
+
* @param {String} documentId Document ID.
|
|
2407
|
+
* @param {Object} opts Optional parameters
|
|
2408
|
+
* @param {Object} opts.body
|
|
2409
|
+
*/
|
|
2410
|
+
postKnowledgeKnowledgebaseDocumentCopies(knowledgeBaseId, documentId, opts) {
|
|
2411
|
+
opts = opts || {};
|
|
2412
|
+
|
|
2413
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
2414
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
2415
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentCopies';
|
|
2416
|
+
}
|
|
2417
|
+
// verify the required parameter 'documentId' is set
|
|
2418
|
+
if (documentId === undefined || documentId === null) {
|
|
2419
|
+
throw 'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseDocumentCopies';
|
|
2420
|
+
}
|
|
2421
|
+
|
|
2422
|
+
return this.apiClient.callApi(
|
|
2423
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/copies',
|
|
2424
|
+
'POST',
|
|
2425
|
+
{ 'knowledgeBaseId': knowledgeBaseId,'documentId': documentId },
|
|
2426
|
+
{ },
|
|
2427
|
+
{ },
|
|
2428
|
+
{ },
|
|
2429
|
+
opts['body'],
|
|
2430
|
+
['PureCloud OAuth'],
|
|
2431
|
+
['application/json'],
|
|
2432
|
+
['application/json']
|
|
2433
|
+
);
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2305
2436
|
/**
|
|
2306
2437
|
* Give feedback on a document
|
|
2307
2438
|
*
|
|
@@ -2532,6 +2663,35 @@ class KnowledgeApi {
|
|
|
2532
2663
|
);
|
|
2533
2664
|
}
|
|
2534
2665
|
|
|
2666
|
+
/**
|
|
2667
|
+
* Indicate that documents were presented to the user.
|
|
2668
|
+
*
|
|
2669
|
+
* @param {String} knowledgeBaseId Knowledge base ID.
|
|
2670
|
+
* @param {Object} opts Optional parameters
|
|
2671
|
+
* @param {Object} opts.body
|
|
2672
|
+
*/
|
|
2673
|
+
postKnowledgeKnowledgebaseDocumentsPresentations(knowledgeBaseId, opts) {
|
|
2674
|
+
opts = opts || {};
|
|
2675
|
+
|
|
2676
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
2677
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
|
|
2678
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsPresentations';
|
|
2679
|
+
}
|
|
2680
|
+
|
|
2681
|
+
return this.apiClient.callApi(
|
|
2682
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/presentations',
|
|
2683
|
+
'POST',
|
|
2684
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
2685
|
+
{ },
|
|
2686
|
+
{ },
|
|
2687
|
+
{ },
|
|
2688
|
+
opts['body'],
|
|
2689
|
+
['PureCloud OAuth'],
|
|
2690
|
+
['application/json'],
|
|
2691
|
+
['application/json']
|
|
2692
|
+
);
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2535
2695
|
/**
|
|
2536
2696
|
* Search the documents in a knowledge base.
|
|
2537
2697
|
*
|
|
@@ -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 189.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -3036,8 +3036,12 @@ class OutboundApi {
|
|
|
3036
3036
|
* Initiate the export of a contact list.
|
|
3037
3037
|
* Returns 200 if received OK.
|
|
3038
3038
|
* @param {String} contactListId ContactList ID
|
|
3039
|
+
* @param {Object} opts Optional parameters
|
|
3040
|
+
* @param {Object} opts.body Export information to get
|
|
3039
3041
|
*/
|
|
3040
|
-
postOutboundContactlistExport(contactListId) {
|
|
3042
|
+
postOutboundContactlistExport(contactListId, opts) {
|
|
3043
|
+
opts = opts || {};
|
|
3044
|
+
|
|
3041
3045
|
// verify the required parameter 'contactListId' is set
|
|
3042
3046
|
if (contactListId === undefined || contactListId === null) {
|
|
3043
3047
|
throw 'Missing the required parameter "contactListId" when calling postOutboundContactlistExport';
|
|
@@ -3050,7 +3054,7 @@ class OutboundApi {
|
|
|
3050
3054
|
{ },
|
|
3051
3055
|
{ },
|
|
3052
3056
|
{ },
|
|
3053
|
-
|
|
3057
|
+
opts['body'],
|
|
3054
3058
|
['PureCloud OAuth'],
|
|
3055
3059
|
['application/json'],
|
|
3056
3060
|
['application/json']
|
|
@@ -5,7 +5,7 @@ class QualityApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Quality service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 189.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -628,7 +628,7 @@ class QualityApi {
|
|
|
628
628
|
}
|
|
629
629
|
|
|
630
630
|
/**
|
|
631
|
-
* Get the list of evaluation forms
|
|
631
|
+
* Get the list of evaluation forms. If you set expand=publishHistory, then you will be able to get published versions for each corresponding evaluation form.
|
|
632
632
|
*
|
|
633
633
|
* @param {Object} opts Optional parameters
|
|
634
634
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
@@ -717,7 +717,7 @@ class QualityApi {
|
|
|
717
717
|
|
|
718
718
|
/**
|
|
719
719
|
* Get the list of evaluation forms
|
|
720
|
-
* By default, "published" field is always returned as false for all evaluation forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding evaluation form. In addition, "questionGroups", the detailed information about evaluation form, is not returned
|
|
720
|
+
* By default, "published" field is always returned as false for all evaluation forms. If you set "expand=publishHistory", then you will be able to get published versions for each corresponding evaluation form. In addition, "questionGroups", the detailed information about evaluation form, is not returned. We will enhance this field in a future release.
|
|
721
721
|
* @param {Object} opts Optional parameters
|
|
722
722
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
723
723
|
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
@@ -827,7 +827,7 @@ class QualityApi {
|
|
|
827
827
|
}
|
|
828
828
|
|
|
829
829
|
/**
|
|
830
|
-
* Get the list of survey forms
|
|
830
|
+
* Get the list of survey forms. If you set expand=publishHistory, then you will be able to get published versions for each corresponding survey form.
|
|
831
831
|
*
|
|
832
832
|
* @param {Object} opts Optional parameters
|
|
833
833
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
@@ -5,7 +5,7 @@ class SettingsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Settings service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 189.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -40,6 +40,27 @@ class SettingsApi {
|
|
|
40
40
|
);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
/**
|
|
44
|
+
* Get the execution history enabled setting.
|
|
45
|
+
* Get the execution history enabled setting.
|
|
46
|
+
* getSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
47
|
+
*/
|
|
48
|
+
getSettingsExecutiondata() {
|
|
49
|
+
|
|
50
|
+
return this.apiClient.callApi(
|
|
51
|
+
'/api/v2/settings/executiondata',
|
|
52
|
+
'GET',
|
|
53
|
+
{ },
|
|
54
|
+
{ },
|
|
55
|
+
{ },
|
|
56
|
+
{ },
|
|
57
|
+
null,
|
|
58
|
+
['PureCloud OAuth'],
|
|
59
|
+
['application/json'],
|
|
60
|
+
['application/json']
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
|
|
43
64
|
/**
|
|
44
65
|
* Patch email Contact Center settings
|
|
45
66
|
*
|
|
@@ -64,6 +85,32 @@ class SettingsApi {
|
|
|
64
85
|
);
|
|
65
86
|
}
|
|
66
87
|
|
|
88
|
+
/**
|
|
89
|
+
* Edit the execution history on off setting.
|
|
90
|
+
* Edit the execution history on off setting.
|
|
91
|
+
* @param {Object} body New Execution Data Setting
|
|
92
|
+
* patchSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
93
|
+
*/
|
|
94
|
+
patchSettingsExecutiondata(body) {
|
|
95
|
+
// verify the required parameter 'body' is set
|
|
96
|
+
if (body === undefined || body === null) {
|
|
97
|
+
throw 'Missing the required parameter "body" when calling patchSettingsExecutiondata';
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
return this.apiClient.callApi(
|
|
101
|
+
'/api/v2/settings/executiondata',
|
|
102
|
+
'PATCH',
|
|
103
|
+
{ },
|
|
104
|
+
{ },
|
|
105
|
+
{ },
|
|
106
|
+
{ },
|
|
107
|
+
body,
|
|
108
|
+
['PureCloud OAuth'],
|
|
109
|
+
['application/json'],
|
|
110
|
+
['application/json']
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
|
|
67
114
|
}
|
|
68
115
|
|
|
69
116
|
|
|
@@ -5,7 +5,7 @@ class TaskManagementApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* TaskManagement service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 189.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -669,6 +669,32 @@ class TaskManagementApi {
|
|
|
669
669
|
);
|
|
670
670
|
}
|
|
671
671
|
|
|
672
|
+
/**
|
|
673
|
+
* Get list of statuses for this worktype.
|
|
674
|
+
*
|
|
675
|
+
* @param {String} worktypeId Worktype id
|
|
676
|
+
* getTaskmanagementWorktypeStatuses is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
677
|
+
*/
|
|
678
|
+
getTaskmanagementWorktypeStatuses(worktypeId) {
|
|
679
|
+
// verify the required parameter 'worktypeId' is set
|
|
680
|
+
if (worktypeId === undefined || worktypeId === null) {
|
|
681
|
+
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatuses';
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
return this.apiClient.callApi(
|
|
685
|
+
'/api/v2/taskmanagement/worktypes/{worktypeId}/statuses',
|
|
686
|
+
'GET',
|
|
687
|
+
{ 'worktypeId': worktypeId },
|
|
688
|
+
{ },
|
|
689
|
+
{ },
|
|
690
|
+
{ },
|
|
691
|
+
null,
|
|
692
|
+
['PureCloud OAuth'],
|
|
693
|
+
['application/json'],
|
|
694
|
+
['application/json']
|
|
695
|
+
);
|
|
696
|
+
}
|
|
697
|
+
|
|
672
698
|
/**
|
|
673
699
|
* Get a version of a worktype
|
|
674
700
|
*
|