purecloud-platform-client-v2 147.0.0 → 149.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 +454 -198
- package/dist/web-amd/purecloud-platform-client-v2.js +454 -198
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +454 -198
- package/dist/web-cjs/purecloud-platform-client-v2.js +455 -199
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +526 -312
- 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/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 +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.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 -51
- 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 +3 -2
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -78
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +76 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -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/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/OrganizationApi.js +1 -1
- 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 +243 -0
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +7 -3
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +56 -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 +1 -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/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 +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +3 -2
- 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 +7 -3
- 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 +7 -1
|
@@ -5358,7 +5358,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
5358
5358
|
throw new $TypeError('"allowMissing" argument must be a boolean');
|
|
5359
5359
|
}
|
|
5360
5360
|
|
|
5361
|
-
if ($exec(/^%?[^%]
|
|
5361
|
+
if ($exec(/^%?[^%]*%?$/, name) === null) {
|
|
5362
5362
|
throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');
|
|
5363
5363
|
}
|
|
5364
5364
|
var parts = stringToPath(name);
|
|
@@ -9307,7 +9307,7 @@ class Configuration {
|
|
|
9307
9307
|
|
|
9308
9308
|
/**
|
|
9309
9309
|
* @module purecloud-platform-client-v2/ApiClient
|
|
9310
|
-
* @version
|
|
9310
|
+
* @version 149.0.0
|
|
9311
9311
|
*/
|
|
9312
9312
|
class ApiClient {
|
|
9313
9313
|
/**
|
|
@@ -10379,7 +10379,7 @@ class AlertingApi {
|
|
|
10379
10379
|
/**
|
|
10380
10380
|
* Alerting service.
|
|
10381
10381
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
10382
|
-
* @version
|
|
10382
|
+
* @version 149.0.0
|
|
10383
10383
|
*/
|
|
10384
10384
|
|
|
10385
10385
|
/**
|
|
@@ -10693,7 +10693,7 @@ class AnalyticsApi {
|
|
|
10693
10693
|
/**
|
|
10694
10694
|
* Analytics service.
|
|
10695
10695
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
10696
|
-
* @version
|
|
10696
|
+
* @version 149.0.0
|
|
10697
10697
|
*/
|
|
10698
10698
|
|
|
10699
10699
|
/**
|
|
@@ -11920,7 +11920,7 @@ class ArchitectApi {
|
|
|
11920
11920
|
/**
|
|
11921
11921
|
* Architect service.
|
|
11922
11922
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
11923
|
-
* @version
|
|
11923
|
+
* @version 149.0.0
|
|
11924
11924
|
*/
|
|
11925
11925
|
|
|
11926
11926
|
/**
|
|
@@ -14966,7 +14966,7 @@ class AuditApi {
|
|
|
14966
14966
|
/**
|
|
14967
14967
|
* Audit service.
|
|
14968
14968
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
14969
|
-
* @version
|
|
14969
|
+
* @version 149.0.0
|
|
14970
14970
|
*/
|
|
14971
14971
|
|
|
14972
14972
|
/**
|
|
@@ -15137,7 +15137,7 @@ class AuthorizationApi {
|
|
|
15137
15137
|
/**
|
|
15138
15138
|
* Authorization service.
|
|
15139
15139
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
15140
|
-
* @version
|
|
15140
|
+
* @version 149.0.0
|
|
15141
15141
|
*/
|
|
15142
15142
|
|
|
15143
15143
|
/**
|
|
@@ -16320,7 +16320,7 @@ class BillingApi {
|
|
|
16320
16320
|
/**
|
|
16321
16321
|
* Billing service.
|
|
16322
16322
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
16323
|
-
* @version
|
|
16323
|
+
* @version 149.0.0
|
|
16324
16324
|
*/
|
|
16325
16325
|
|
|
16326
16326
|
/**
|
|
@@ -16400,7 +16400,7 @@ class ChatApi {
|
|
|
16400
16400
|
/**
|
|
16401
16401
|
* Chat service.
|
|
16402
16402
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
16403
|
-
* @version
|
|
16403
|
+
* @version 149.0.0
|
|
16404
16404
|
*/
|
|
16405
16405
|
|
|
16406
16406
|
/**
|
|
@@ -16491,7 +16491,7 @@ class CoachingApi {
|
|
|
16491
16491
|
/**
|
|
16492
16492
|
* Coaching service.
|
|
16493
16493
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
16494
|
-
* @version
|
|
16494
|
+
* @version 149.0.0
|
|
16495
16495
|
*/
|
|
16496
16496
|
|
|
16497
16497
|
/**
|
|
@@ -17068,7 +17068,7 @@ class ContentManagementApi {
|
|
|
17068
17068
|
/**
|
|
17069
17069
|
* ContentManagement service.
|
|
17070
17070
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
17071
|
-
* @version
|
|
17071
|
+
* @version 149.0.0
|
|
17072
17072
|
*/
|
|
17073
17073
|
|
|
17074
17074
|
/**
|
|
@@ -18208,7 +18208,7 @@ class ConversationsApi {
|
|
|
18208
18208
|
/**
|
|
18209
18209
|
* Conversations service.
|
|
18210
18210
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
18211
|
-
* @version
|
|
18211
|
+
* @version 149.0.0
|
|
18212
18212
|
*/
|
|
18213
18213
|
|
|
18214
18214
|
/**
|
|
@@ -23352,7 +23352,7 @@ class DataExtensionsApi {
|
|
|
23352
23352
|
/**
|
|
23353
23353
|
* DataExtensions service.
|
|
23354
23354
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
23355
|
-
* @version
|
|
23355
|
+
* @version 149.0.0
|
|
23356
23356
|
*/
|
|
23357
23357
|
|
|
23358
23358
|
/**
|
|
@@ -23438,7 +23438,7 @@ class ExternalContactsApi {
|
|
|
23438
23438
|
/**
|
|
23439
23439
|
* ExternalContacts service.
|
|
23440
23440
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
23441
|
-
* @version
|
|
23441
|
+
* @version 149.0.0
|
|
23442
23442
|
*/
|
|
23443
23443
|
|
|
23444
23444
|
/**
|
|
@@ -25181,7 +25181,7 @@ class FaxApi {
|
|
|
25181
25181
|
/**
|
|
25182
25182
|
* Fax service.
|
|
25183
25183
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
25184
|
-
* @version
|
|
25184
|
+
* @version 149.0.0
|
|
25185
25185
|
*/
|
|
25186
25186
|
|
|
25187
25187
|
/**
|
|
@@ -25352,7 +25352,7 @@ class FlowsApi {
|
|
|
25352
25352
|
/**
|
|
25353
25353
|
* Flows service.
|
|
25354
25354
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
25355
|
-
* @version
|
|
25355
|
+
* @version 149.0.0
|
|
25356
25356
|
*/
|
|
25357
25357
|
|
|
25358
25358
|
/**
|
|
@@ -25423,7 +25423,7 @@ class GamificationApi {
|
|
|
25423
25423
|
/**
|
|
25424
25424
|
* Gamification service.
|
|
25425
25425
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
25426
|
-
* @version
|
|
25426
|
+
* @version 149.0.0
|
|
25427
25427
|
*/
|
|
25428
25428
|
|
|
25429
25429
|
/**
|
|
@@ -25716,31 +25716,6 @@ class GamificationApi {
|
|
|
25716
25716
|
);
|
|
25717
25717
|
}
|
|
25718
25718
|
|
|
25719
|
-
/**
|
|
25720
|
-
* All gamified metrics for a given profile
|
|
25721
|
-
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
|
|
25722
|
-
* @param {Object} opts Optional parameters
|
|
25723
|
-
* @param {String} opts.performanceProfileId The profile id of the metrics you are trying to retrieve. The DEFAULT profile is used if nothing is given.
|
|
25724
|
-
* @param {String} opts.workday The objective query workday. If not specified, then it retrieves the current objective. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
25725
|
-
*/
|
|
25726
|
-
getGamificationMetrics(opts) {
|
|
25727
|
-
opts = opts || {};
|
|
25728
|
-
|
|
25729
|
-
|
|
25730
|
-
return this.apiClient.callApi(
|
|
25731
|
-
'/api/v2/gamification/metrics',
|
|
25732
|
-
'GET',
|
|
25733
|
-
{ },
|
|
25734
|
-
{ 'performanceProfileId': opts['performanceProfileId'],'workday': opts['workday'] },
|
|
25735
|
-
{ },
|
|
25736
|
-
{ },
|
|
25737
|
-
null,
|
|
25738
|
-
['PureCloud OAuth'],
|
|
25739
|
-
['application/json'],
|
|
25740
|
-
['application/json']
|
|
25741
|
-
);
|
|
25742
|
-
}
|
|
25743
|
-
|
|
25744
25719
|
/**
|
|
25745
25720
|
* Performance profile by id
|
|
25746
25721
|
*
|
|
@@ -26796,31 +26771,6 @@ class GamificationApi {
|
|
|
26796
26771
|
);
|
|
26797
26772
|
}
|
|
26798
26773
|
|
|
26799
|
-
/**
|
|
26800
|
-
* Creates a gamified metric with a given metric definition and metric objective
|
|
26801
|
-
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
|
|
26802
|
-
* @param {Object} body Metric
|
|
26803
|
-
*/
|
|
26804
|
-
postGamificationMetrics(body) {
|
|
26805
|
-
// verify the required parameter 'body' is set
|
|
26806
|
-
if (body === undefined || body === null) {
|
|
26807
|
-
throw 'Missing the required parameter "body" when calling postGamificationMetrics';
|
|
26808
|
-
}
|
|
26809
|
-
|
|
26810
|
-
return this.apiClient.callApi(
|
|
26811
|
-
'/api/v2/gamification/metrics',
|
|
26812
|
-
'POST',
|
|
26813
|
-
{ },
|
|
26814
|
-
{ },
|
|
26815
|
-
{ },
|
|
26816
|
-
{ },
|
|
26817
|
-
body,
|
|
26818
|
-
['PureCloud OAuth'],
|
|
26819
|
-
['application/json'],
|
|
26820
|
-
['application/json']
|
|
26821
|
-
);
|
|
26822
|
-
}
|
|
26823
|
-
|
|
26824
26774
|
/**
|
|
26825
26775
|
* Activate a performance profile
|
|
26826
26776
|
*
|
|
@@ -27154,7 +27104,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
27154
27104
|
/**
|
|
27155
27105
|
* GeneralDataProtectionRegulation service.
|
|
27156
27106
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
27157
|
-
* @version
|
|
27107
|
+
* @version 149.0.0
|
|
27158
27108
|
*/
|
|
27159
27109
|
|
|
27160
27110
|
/**
|
|
@@ -27284,7 +27234,7 @@ class GeolocationApi {
|
|
|
27284
27234
|
/**
|
|
27285
27235
|
* Geolocation service.
|
|
27286
27236
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
27287
|
-
* @version
|
|
27237
|
+
* @version 149.0.0
|
|
27288
27238
|
*/
|
|
27289
27239
|
|
|
27290
27240
|
/**
|
|
@@ -27415,7 +27365,7 @@ class GreetingsApi {
|
|
|
27415
27365
|
/**
|
|
27416
27366
|
* Greetings service.
|
|
27417
27367
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
27418
|
-
* @version
|
|
27368
|
+
* @version 149.0.0
|
|
27419
27369
|
*/
|
|
27420
27370
|
|
|
27421
27371
|
/**
|
|
@@ -27870,7 +27820,7 @@ class GroupsApi {
|
|
|
27870
27820
|
/**
|
|
27871
27821
|
* Groups service.
|
|
27872
27822
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
27873
|
-
* @version
|
|
27823
|
+
* @version 149.0.0
|
|
27874
27824
|
*/
|
|
27875
27825
|
|
|
27876
27826
|
/**
|
|
@@ -28140,6 +28090,7 @@ class GroupsApi {
|
|
|
28140
28090
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
28141
28091
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
28142
28092
|
* @param {Array.<String>} opts.id id
|
|
28093
|
+
* @param {Array.<String>} opts.jabberId A list of jabberIds to fetch by bulk (cannot be used with the id parameter)
|
|
28143
28094
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
|
|
28144
28095
|
*/
|
|
28145
28096
|
getProfilesGroups(opts) {
|
|
@@ -28150,7 +28101,7 @@ class GroupsApi {
|
|
|
28150
28101
|
'/api/v2/profiles/groups',
|
|
28151
28102
|
'GET',
|
|
28152
28103
|
{ },
|
|
28153
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'sortOrder': opts['sortOrder'] },
|
|
28104
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'jabberId': this.apiClient.buildCollectionParam(opts['jabberId'], 'multi'),'sortOrder': opts['sortOrder'] },
|
|
28154
28105
|
{ },
|
|
28155
28106
|
{ },
|
|
28156
28107
|
null,
|
|
@@ -28275,7 +28226,7 @@ class IdentityProviderApi {
|
|
|
28275
28226
|
/**
|
|
28276
28227
|
* IdentityProvider service.
|
|
28277
28228
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
28278
|
-
* @version
|
|
28229
|
+
* @version 149.0.0
|
|
28279
28230
|
*/
|
|
28280
28231
|
|
|
28281
28232
|
/**
|
|
@@ -29031,7 +28982,7 @@ class IntegrationsApi {
|
|
|
29031
28982
|
/**
|
|
29032
28983
|
* Integrations service.
|
|
29033
28984
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
29034
|
-
* @version
|
|
28985
|
+
* @version 149.0.0
|
|
29035
28986
|
*/
|
|
29036
28987
|
|
|
29037
28988
|
/**
|
|
@@ -29789,59 +29740,6 @@ class IntegrationsApi {
|
|
|
29789
29740
|
);
|
|
29790
29741
|
}
|
|
29791
29742
|
|
|
29792
|
-
/**
|
|
29793
|
-
* List all events
|
|
29794
|
-
*
|
|
29795
|
-
* @param {Object} opts Optional parameters
|
|
29796
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
29797
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
29798
|
-
* @param {String} opts.sortBy Sort by (default to timestamp)
|
|
29799
|
-
* @param {String} opts.sortOrder Order by (default to descending)
|
|
29800
|
-
* @param {String} opts.entityId Include only events with this entity ID
|
|
29801
|
-
*/
|
|
29802
|
-
getIntegrationsEventlog(opts) {
|
|
29803
|
-
opts = opts || {};
|
|
29804
|
-
|
|
29805
|
-
|
|
29806
|
-
return this.apiClient.callApi(
|
|
29807
|
-
'/api/v2/integrations/eventlog',
|
|
29808
|
-
'GET',
|
|
29809
|
-
{ },
|
|
29810
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'entityId': opts['entityId'] },
|
|
29811
|
-
{ },
|
|
29812
|
-
{ },
|
|
29813
|
-
null,
|
|
29814
|
-
['PureCloud OAuth'],
|
|
29815
|
-
['application/json'],
|
|
29816
|
-
['application/json']
|
|
29817
|
-
);
|
|
29818
|
-
}
|
|
29819
|
-
|
|
29820
|
-
/**
|
|
29821
|
-
* Get a single event
|
|
29822
|
-
*
|
|
29823
|
-
* @param {String} eventId Event Id
|
|
29824
|
-
*/
|
|
29825
|
-
getIntegrationsEventlogEventId(eventId) {
|
|
29826
|
-
// verify the required parameter 'eventId' is set
|
|
29827
|
-
if (eventId === undefined || eventId === null) {
|
|
29828
|
-
throw 'Missing the required parameter "eventId" when calling getIntegrationsEventlogEventId';
|
|
29829
|
-
}
|
|
29830
|
-
|
|
29831
|
-
return this.apiClient.callApi(
|
|
29832
|
-
'/api/v2/integrations/eventlog/{eventId}',
|
|
29833
|
-
'GET',
|
|
29834
|
-
{ 'eventId': eventId },
|
|
29835
|
-
{ },
|
|
29836
|
-
{ },
|
|
29837
|
-
{ },
|
|
29838
|
-
null,
|
|
29839
|
-
['PureCloud OAuth'],
|
|
29840
|
-
['application/json'],
|
|
29841
|
-
['application/json']
|
|
29842
|
-
);
|
|
29843
|
-
}
|
|
29844
|
-
|
|
29845
29743
|
/**
|
|
29846
29744
|
* Get details about a Dialogflow agent
|
|
29847
29745
|
*
|
|
@@ -30565,30 +30463,6 @@ class IntegrationsApi {
|
|
|
30565
30463
|
);
|
|
30566
30464
|
}
|
|
30567
30465
|
|
|
30568
|
-
/**
|
|
30569
|
-
* Add a vendor connection
|
|
30570
|
-
*
|
|
30571
|
-
* @param {Object} opts Optional parameters
|
|
30572
|
-
* @param {Object} opts.body
|
|
30573
|
-
*/
|
|
30574
|
-
postIntegrationsWorkforcemanagementVendorconnection(opts) {
|
|
30575
|
-
opts = opts || {};
|
|
30576
|
-
|
|
30577
|
-
|
|
30578
|
-
return this.apiClient.callApi(
|
|
30579
|
-
'/api/v2/integrations/workforcemanagement/vendorconnection',
|
|
30580
|
-
'POST',
|
|
30581
|
-
{ },
|
|
30582
|
-
{ },
|
|
30583
|
-
{ },
|
|
30584
|
-
{ },
|
|
30585
|
-
opts['body'],
|
|
30586
|
-
['PureCloud OAuth'],
|
|
30587
|
-
['application/json'],
|
|
30588
|
-
['application/json']
|
|
30589
|
-
);
|
|
30590
|
-
}
|
|
30591
|
-
|
|
30592
30466
|
/**
|
|
30593
30467
|
* Update integration configuration.
|
|
30594
30468
|
*
|
|
@@ -30708,7 +30582,7 @@ class JourneyApi {
|
|
|
30708
30582
|
/**
|
|
30709
30583
|
* Journey service.
|
|
30710
30584
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
30711
|
-
* @version
|
|
30585
|
+
* @version 149.0.0
|
|
30712
30586
|
*/
|
|
30713
30587
|
|
|
30714
30588
|
/**
|
|
@@ -30883,6 +30757,56 @@ class JourneyApi {
|
|
|
30883
30757
|
);
|
|
30884
30758
|
}
|
|
30885
30759
|
|
|
30760
|
+
/**
|
|
30761
|
+
* Get status of job.
|
|
30762
|
+
*
|
|
30763
|
+
* @param {String} jobId ID of the job.
|
|
30764
|
+
*/
|
|
30765
|
+
getJourneyActionmapsEstimatesJob(jobId) {
|
|
30766
|
+
// verify the required parameter 'jobId' is set
|
|
30767
|
+
if (jobId === undefined || jobId === null) {
|
|
30768
|
+
throw 'Missing the required parameter "jobId" when calling getJourneyActionmapsEstimatesJob';
|
|
30769
|
+
}
|
|
30770
|
+
|
|
30771
|
+
return this.apiClient.callApi(
|
|
30772
|
+
'/api/v2/journey/actionmaps/estimates/jobs/{jobId}',
|
|
30773
|
+
'GET',
|
|
30774
|
+
{ 'jobId': jobId },
|
|
30775
|
+
{ },
|
|
30776
|
+
{ },
|
|
30777
|
+
{ },
|
|
30778
|
+
null,
|
|
30779
|
+
['PureCloud OAuth'],
|
|
30780
|
+
['application/json'],
|
|
30781
|
+
['application/json']
|
|
30782
|
+
);
|
|
30783
|
+
}
|
|
30784
|
+
|
|
30785
|
+
/**
|
|
30786
|
+
* Get estimates from completed job.
|
|
30787
|
+
*
|
|
30788
|
+
* @param {String} jobId ID of the job.
|
|
30789
|
+
*/
|
|
30790
|
+
getJourneyActionmapsEstimatesJobResults(jobId) {
|
|
30791
|
+
// verify the required parameter 'jobId' is set
|
|
30792
|
+
if (jobId === undefined || jobId === null) {
|
|
30793
|
+
throw 'Missing the required parameter "jobId" when calling getJourneyActionmapsEstimatesJobResults';
|
|
30794
|
+
}
|
|
30795
|
+
|
|
30796
|
+
return this.apiClient.callApi(
|
|
30797
|
+
'/api/v2/journey/actionmaps/estimates/jobs/{jobId}/results',
|
|
30798
|
+
'GET',
|
|
30799
|
+
{ 'jobId': jobId },
|
|
30800
|
+
{ },
|
|
30801
|
+
{ },
|
|
30802
|
+
{ },
|
|
30803
|
+
null,
|
|
30804
|
+
['PureCloud OAuth'],
|
|
30805
|
+
['application/json'],
|
|
30806
|
+
['application/json']
|
|
30807
|
+
);
|
|
30808
|
+
}
|
|
30809
|
+
|
|
30886
30810
|
/**
|
|
30887
30811
|
* Retrieve a single action target.
|
|
30888
30812
|
*
|
|
@@ -31341,6 +31265,31 @@ class JourneyApi {
|
|
|
31341
31265
|
);
|
|
31342
31266
|
}
|
|
31343
31267
|
|
|
31268
|
+
/**
|
|
31269
|
+
* Query for estimates
|
|
31270
|
+
*
|
|
31271
|
+
* @param {Object} body audience estimator request
|
|
31272
|
+
*/
|
|
31273
|
+
postJourneyActionmapsEstimatesJobs(body) {
|
|
31274
|
+
// verify the required parameter 'body' is set
|
|
31275
|
+
if (body === undefined || body === null) {
|
|
31276
|
+
throw 'Missing the required parameter "body" when calling postJourneyActionmapsEstimatesJobs';
|
|
31277
|
+
}
|
|
31278
|
+
|
|
31279
|
+
return this.apiClient.callApi(
|
|
31280
|
+
'/api/v2/journey/actionmaps/estimates/jobs',
|
|
31281
|
+
'POST',
|
|
31282
|
+
{ },
|
|
31283
|
+
{ },
|
|
31284
|
+
{ },
|
|
31285
|
+
{ },
|
|
31286
|
+
body,
|
|
31287
|
+
['PureCloud OAuth'],
|
|
31288
|
+
['application/json'],
|
|
31289
|
+
['application/json']
|
|
31290
|
+
);
|
|
31291
|
+
}
|
|
31292
|
+
|
|
31344
31293
|
/**
|
|
31345
31294
|
* Create a single action template.
|
|
31346
31295
|
*
|
|
@@ -31419,7 +31368,7 @@ class KnowledgeApi {
|
|
|
31419
31368
|
/**
|
|
31420
31369
|
* Knowledge service.
|
|
31421
31370
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
31422
|
-
* @version
|
|
31371
|
+
* @version 149.0.0
|
|
31423
31372
|
*/
|
|
31424
31373
|
|
|
31425
31374
|
/**
|
|
@@ -33852,7 +33801,7 @@ class LanguageUnderstandingApi {
|
|
|
33852
33801
|
/**
|
|
33853
33802
|
* LanguageUnderstanding service.
|
|
33854
33803
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
33855
|
-
* @version
|
|
33804
|
+
* @version 149.0.0
|
|
33856
33805
|
*/
|
|
33857
33806
|
|
|
33858
33807
|
/**
|
|
@@ -34756,7 +34705,7 @@ class LanguagesApi {
|
|
|
34756
34705
|
/**
|
|
34757
34706
|
* Languages service.
|
|
34758
34707
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
34759
|
-
* @version
|
|
34708
|
+
* @version 149.0.0
|
|
34760
34709
|
*/
|
|
34761
34710
|
|
|
34762
34711
|
/**
|
|
@@ -35024,7 +34973,7 @@ class LearningApi {
|
|
|
35024
34973
|
/**
|
|
35025
34974
|
* Learning service.
|
|
35026
34975
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
35027
|
-
* @version
|
|
34976
|
+
* @version 149.0.0
|
|
35028
34977
|
*/
|
|
35029
34978
|
|
|
35030
34979
|
/**
|
|
@@ -35784,7 +35733,7 @@ class LicenseApi {
|
|
|
35784
35733
|
/**
|
|
35785
35734
|
* License service.
|
|
35786
35735
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
35787
|
-
* @version
|
|
35736
|
+
* @version 149.0.0
|
|
35788
35737
|
*/
|
|
35789
35738
|
|
|
35790
35739
|
/**
|
|
@@ -36022,7 +35971,7 @@ class LocationsApi {
|
|
|
36022
35971
|
/**
|
|
36023
35972
|
* Locations service.
|
|
36024
35973
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
36025
|
-
* @version
|
|
35974
|
+
* @version 149.0.0
|
|
36026
35975
|
*/
|
|
36027
35976
|
|
|
36028
35977
|
/**
|
|
@@ -36258,7 +36207,7 @@ class MessagingApi {
|
|
|
36258
36207
|
/**
|
|
36259
36208
|
* Messaging service.
|
|
36260
36209
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
36261
|
-
* @version
|
|
36210
|
+
* @version 149.0.0
|
|
36262
36211
|
*/
|
|
36263
36212
|
|
|
36264
36213
|
/**
|
|
@@ -36409,7 +36358,7 @@ class MobileDevicesApi {
|
|
|
36409
36358
|
/**
|
|
36410
36359
|
* MobileDevices service.
|
|
36411
36360
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
36412
|
-
* @version
|
|
36361
|
+
* @version 149.0.0
|
|
36413
36362
|
*/
|
|
36414
36363
|
|
|
36415
36364
|
/**
|
|
@@ -36560,7 +36509,7 @@ class NotificationsApi {
|
|
|
36560
36509
|
/**
|
|
36561
36510
|
* Notifications service.
|
|
36562
36511
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
36563
|
-
* @version
|
|
36512
|
+
* @version 149.0.0
|
|
36564
36513
|
*/
|
|
36565
36514
|
|
|
36566
36515
|
/**
|
|
@@ -36785,7 +36734,7 @@ class OAuthApi {
|
|
|
36785
36734
|
/**
|
|
36786
36735
|
* OAuth service.
|
|
36787
36736
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
36788
|
-
* @version
|
|
36737
|
+
* @version 149.0.0
|
|
36789
36738
|
*/
|
|
36790
36739
|
|
|
36791
36740
|
/**
|
|
@@ -37151,7 +37100,7 @@ class ObjectsApi {
|
|
|
37151
37100
|
/**
|
|
37152
37101
|
* Objects service.
|
|
37153
37102
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
37154
|
-
* @version
|
|
37103
|
+
* @version 149.0.0
|
|
37155
37104
|
*/
|
|
37156
37105
|
|
|
37157
37106
|
/**
|
|
@@ -37422,7 +37371,7 @@ class OrganizationApi {
|
|
|
37422
37371
|
/**
|
|
37423
37372
|
* Organization service.
|
|
37424
37373
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
37425
|
-
* @version
|
|
37374
|
+
* @version 149.0.0
|
|
37426
37375
|
*/
|
|
37427
37376
|
|
|
37428
37377
|
/**
|
|
@@ -37825,7 +37774,7 @@ class OrganizationAuthorizationApi {
|
|
|
37825
37774
|
/**
|
|
37826
37775
|
* OrganizationAuthorization service.
|
|
37827
37776
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
37828
|
-
* @version
|
|
37777
|
+
* @version 149.0.0
|
|
37829
37778
|
*/
|
|
37830
37779
|
|
|
37831
37780
|
/**
|
|
@@ -38750,7 +38699,7 @@ class OutboundApi {
|
|
|
38750
38699
|
/**
|
|
38751
38700
|
* Outbound service.
|
|
38752
38701
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
38753
|
-
* @version
|
|
38702
|
+
* @version 149.0.0
|
|
38754
38703
|
*/
|
|
38755
38704
|
|
|
38756
38705
|
/**
|
|
@@ -42139,7 +42088,7 @@ class PresenceApi {
|
|
|
42139
42088
|
/**
|
|
42140
42089
|
* Presence service.
|
|
42141
42090
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
42142
|
-
* @version
|
|
42091
|
+
* @version 149.0.0
|
|
42143
42092
|
*/
|
|
42144
42093
|
|
|
42145
42094
|
/**
|
|
@@ -42457,11 +42406,249 @@ class PresenceApi {
|
|
|
42457
42406
|
|
|
42458
42407
|
}
|
|
42459
42408
|
|
|
42409
|
+
class ProcessAutomationApi {
|
|
42410
|
+
/**
|
|
42411
|
+
* ProcessAutomation service.
|
|
42412
|
+
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
42413
|
+
* @version 149.0.0
|
|
42414
|
+
*/
|
|
42415
|
+
|
|
42416
|
+
/**
|
|
42417
|
+
* Constructs a new ProcessAutomationApi.
|
|
42418
|
+
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
42419
|
+
* @class
|
|
42420
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
42421
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
42422
|
+
*/
|
|
42423
|
+
constructor(apiClient) {
|
|
42424
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
42425
|
+
}
|
|
42426
|
+
|
|
42427
|
+
|
|
42428
|
+
/**
|
|
42429
|
+
* Delete a Trigger
|
|
42430
|
+
*
|
|
42431
|
+
* @param {String} triggerId triggerId
|
|
42432
|
+
*/
|
|
42433
|
+
deleteProcessautomationTrigger(triggerId) {
|
|
42434
|
+
// verify the required parameter 'triggerId' is set
|
|
42435
|
+
if (triggerId === undefined || triggerId === null) {
|
|
42436
|
+
throw 'Missing the required parameter "triggerId" when calling deleteProcessautomationTrigger';
|
|
42437
|
+
}
|
|
42438
|
+
|
|
42439
|
+
return this.apiClient.callApi(
|
|
42440
|
+
'/api/v2/processautomation/triggers/{triggerId}',
|
|
42441
|
+
'DELETE',
|
|
42442
|
+
{ 'triggerId': triggerId },
|
|
42443
|
+
{ },
|
|
42444
|
+
{ },
|
|
42445
|
+
{ },
|
|
42446
|
+
null,
|
|
42447
|
+
['PureCloud OAuth'],
|
|
42448
|
+
['application/json'],
|
|
42449
|
+
['application/json']
|
|
42450
|
+
);
|
|
42451
|
+
}
|
|
42452
|
+
|
|
42453
|
+
/**
|
|
42454
|
+
* Retrieve a single Trigger matching id.
|
|
42455
|
+
*
|
|
42456
|
+
* @param {String} triggerId triggerId
|
|
42457
|
+
*/
|
|
42458
|
+
getProcessautomationTrigger(triggerId) {
|
|
42459
|
+
// verify the required parameter 'triggerId' is set
|
|
42460
|
+
if (triggerId === undefined || triggerId === null) {
|
|
42461
|
+
throw 'Missing the required parameter "triggerId" when calling getProcessautomationTrigger';
|
|
42462
|
+
}
|
|
42463
|
+
|
|
42464
|
+
return this.apiClient.callApi(
|
|
42465
|
+
'/api/v2/processautomation/triggers/{triggerId}',
|
|
42466
|
+
'GET',
|
|
42467
|
+
{ 'triggerId': triggerId },
|
|
42468
|
+
{ },
|
|
42469
|
+
{ },
|
|
42470
|
+
{ },
|
|
42471
|
+
null,
|
|
42472
|
+
['PureCloud OAuth'],
|
|
42473
|
+
['application/json'],
|
|
42474
|
+
['application/json']
|
|
42475
|
+
);
|
|
42476
|
+
}
|
|
42477
|
+
|
|
42478
|
+
/**
|
|
42479
|
+
* Retrieves all triggers
|
|
42480
|
+
*
|
|
42481
|
+
* @param {Object} opts Optional parameters
|
|
42482
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
42483
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
42484
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
42485
|
+
* @param {String} opts.topicName Topic name
|
|
42486
|
+
* @param {Boolean} opts.enabled Boolean indicating desired enabled state of triggers
|
|
42487
|
+
*/
|
|
42488
|
+
getProcessautomationTriggers(opts) {
|
|
42489
|
+
opts = opts || {};
|
|
42490
|
+
|
|
42491
|
+
|
|
42492
|
+
return this.apiClient.callApi(
|
|
42493
|
+
'/api/v2/processautomation/triggers',
|
|
42494
|
+
'GET',
|
|
42495
|
+
{ },
|
|
42496
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'topicName': opts['topicName'],'enabled': opts['enabled'] },
|
|
42497
|
+
{ },
|
|
42498
|
+
{ },
|
|
42499
|
+
null,
|
|
42500
|
+
['PureCloud OAuth'],
|
|
42501
|
+
['application/json'],
|
|
42502
|
+
['application/json']
|
|
42503
|
+
);
|
|
42504
|
+
}
|
|
42505
|
+
|
|
42506
|
+
/**
|
|
42507
|
+
* Get topics available for organization
|
|
42508
|
+
*
|
|
42509
|
+
* @param {Object} opts Optional parameters
|
|
42510
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
42511
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
42512
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
42513
|
+
*/
|
|
42514
|
+
getProcessautomationTriggersTopics(opts) {
|
|
42515
|
+
opts = opts || {};
|
|
42516
|
+
|
|
42517
|
+
|
|
42518
|
+
return this.apiClient.callApi(
|
|
42519
|
+
'/api/v2/processautomation/triggers/topics',
|
|
42520
|
+
'GET',
|
|
42521
|
+
{ },
|
|
42522
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
42523
|
+
{ },
|
|
42524
|
+
{ },
|
|
42525
|
+
null,
|
|
42526
|
+
['PureCloud OAuth'],
|
|
42527
|
+
['application/json'],
|
|
42528
|
+
['application/json']
|
|
42529
|
+
);
|
|
42530
|
+
}
|
|
42531
|
+
|
|
42532
|
+
/**
|
|
42533
|
+
* Test the matching of a Trigger based on provided event body
|
|
42534
|
+
*
|
|
42535
|
+
* @param {String} triggerId triggerId
|
|
42536
|
+
* @param {Object} opts Optional parameters
|
|
42537
|
+
* @param {String} opts.body eventBody
|
|
42538
|
+
*/
|
|
42539
|
+
postProcessautomationTriggerTest(triggerId, opts) {
|
|
42540
|
+
opts = opts || {};
|
|
42541
|
+
|
|
42542
|
+
// verify the required parameter 'triggerId' is set
|
|
42543
|
+
if (triggerId === undefined || triggerId === null) {
|
|
42544
|
+
throw 'Missing the required parameter "triggerId" when calling postProcessautomationTriggerTest';
|
|
42545
|
+
}
|
|
42546
|
+
|
|
42547
|
+
return this.apiClient.callApi(
|
|
42548
|
+
'/api/v2/processautomation/triggers/{triggerId}/test',
|
|
42549
|
+
'POST',
|
|
42550
|
+
{ 'triggerId': triggerId },
|
|
42551
|
+
{ },
|
|
42552
|
+
{ },
|
|
42553
|
+
{ },
|
|
42554
|
+
opts['body'],
|
|
42555
|
+
['PureCloud OAuth'],
|
|
42556
|
+
['application/json'],
|
|
42557
|
+
['application/json']
|
|
42558
|
+
);
|
|
42559
|
+
}
|
|
42560
|
+
|
|
42561
|
+
/**
|
|
42562
|
+
* Create a Trigger
|
|
42563
|
+
*
|
|
42564
|
+
* @param {Object} body Input used to create a Trigger.
|
|
42565
|
+
*/
|
|
42566
|
+
postProcessautomationTriggers(body) {
|
|
42567
|
+
// verify the required parameter 'body' is set
|
|
42568
|
+
if (body === undefined || body === null) {
|
|
42569
|
+
throw 'Missing the required parameter "body" when calling postProcessautomationTriggers';
|
|
42570
|
+
}
|
|
42571
|
+
|
|
42572
|
+
return this.apiClient.callApi(
|
|
42573
|
+
'/api/v2/processautomation/triggers',
|
|
42574
|
+
'POST',
|
|
42575
|
+
{ },
|
|
42576
|
+
{ },
|
|
42577
|
+
{ },
|
|
42578
|
+
{ },
|
|
42579
|
+
body,
|
|
42580
|
+
['PureCloud OAuth'],
|
|
42581
|
+
['application/json'],
|
|
42582
|
+
['application/json']
|
|
42583
|
+
);
|
|
42584
|
+
}
|
|
42585
|
+
|
|
42586
|
+
/**
|
|
42587
|
+
* Test the matching of all organization Triggers on given topic using provided event body
|
|
42588
|
+
*
|
|
42589
|
+
* @param {String} topicName topicName
|
|
42590
|
+
* @param {Object} opts Optional parameters
|
|
42591
|
+
* @param {String} opts.body eventBody
|
|
42592
|
+
*/
|
|
42593
|
+
postProcessautomationTriggersTopicTest(topicName, opts) {
|
|
42594
|
+
opts = opts || {};
|
|
42595
|
+
|
|
42596
|
+
// verify the required parameter 'topicName' is set
|
|
42597
|
+
if (topicName === undefined || topicName === null) {
|
|
42598
|
+
throw 'Missing the required parameter "topicName" when calling postProcessautomationTriggersTopicTest';
|
|
42599
|
+
}
|
|
42600
|
+
|
|
42601
|
+
return this.apiClient.callApi(
|
|
42602
|
+
'/api/v2/processautomation/triggers/topics/{topicName}/test',
|
|
42603
|
+
'POST',
|
|
42604
|
+
{ 'topicName': topicName },
|
|
42605
|
+
{ },
|
|
42606
|
+
{ },
|
|
42607
|
+
{ },
|
|
42608
|
+
opts['body'],
|
|
42609
|
+
['PureCloud OAuth'],
|
|
42610
|
+
['application/json'],
|
|
42611
|
+
['application/json']
|
|
42612
|
+
);
|
|
42613
|
+
}
|
|
42614
|
+
|
|
42615
|
+
/**
|
|
42616
|
+
* Update a Trigger
|
|
42617
|
+
*
|
|
42618
|
+
* @param {String} triggerId triggerId
|
|
42619
|
+
* @param {Object} body Input to update Trigger. (topicName cannot be updated, a new trigger must be created to use a new topicName)
|
|
42620
|
+
*/
|
|
42621
|
+
putProcessautomationTrigger(triggerId, body) {
|
|
42622
|
+
// verify the required parameter 'triggerId' is set
|
|
42623
|
+
if (triggerId === undefined || triggerId === null) {
|
|
42624
|
+
throw 'Missing the required parameter "triggerId" when calling putProcessautomationTrigger';
|
|
42625
|
+
}
|
|
42626
|
+
// verify the required parameter 'body' is set
|
|
42627
|
+
if (body === undefined || body === null) {
|
|
42628
|
+
throw 'Missing the required parameter "body" when calling putProcessautomationTrigger';
|
|
42629
|
+
}
|
|
42630
|
+
|
|
42631
|
+
return this.apiClient.callApi(
|
|
42632
|
+
'/api/v2/processautomation/triggers/{triggerId}',
|
|
42633
|
+
'PUT',
|
|
42634
|
+
{ 'triggerId': triggerId },
|
|
42635
|
+
{ },
|
|
42636
|
+
{ },
|
|
42637
|
+
{ },
|
|
42638
|
+
body,
|
|
42639
|
+
['PureCloud OAuth'],
|
|
42640
|
+
['application/json'],
|
|
42641
|
+
['application/json']
|
|
42642
|
+
);
|
|
42643
|
+
}
|
|
42644
|
+
|
|
42645
|
+
}
|
|
42646
|
+
|
|
42460
42647
|
class QualityApi {
|
|
42461
42648
|
/**
|
|
42462
42649
|
* Quality service.
|
|
42463
42650
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
42464
|
-
* @version
|
|
42651
|
+
* @version 149.0.0
|
|
42465
42652
|
*/
|
|
42466
42653
|
|
|
42467
42654
|
/**
|
|
@@ -44039,7 +44226,7 @@ class RecordingApi {
|
|
|
44039
44226
|
/**
|
|
44040
44227
|
* Recording service.
|
|
44041
44228
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
44042
|
-
* @version
|
|
44229
|
+
* @version 149.0.0
|
|
44043
44230
|
*/
|
|
44044
44231
|
|
|
44045
44232
|
/**
|
|
@@ -45393,8 +45580,12 @@ class RecordingApi {
|
|
|
45393
45580
|
* @param {String} conversationId Conversation ID
|
|
45394
45581
|
* @param {String} recordingId Recording ID
|
|
45395
45582
|
* @param {Object} body recording
|
|
45583
|
+
* @param {Object} opts Optional parameters
|
|
45584
|
+
* @param {Boolean} opts.clearExport Whether to clear the pending export for the recording
|
|
45396
45585
|
*/
|
|
45397
|
-
putConversationRecording(conversationId, recordingId, body) {
|
|
45586
|
+
putConversationRecording(conversationId, recordingId, body, opts) {
|
|
45587
|
+
opts = opts || {};
|
|
45588
|
+
|
|
45398
45589
|
// verify the required parameter 'conversationId' is set
|
|
45399
45590
|
if (conversationId === undefined || conversationId === null) {
|
|
45400
45591
|
throw 'Missing the required parameter "conversationId" when calling putConversationRecording';
|
|
@@ -45412,7 +45603,7 @@ class RecordingApi {
|
|
|
45412
45603
|
'/api/v2/conversations/{conversationId}/recordings/{recordingId}',
|
|
45413
45604
|
'PUT',
|
|
45414
45605
|
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
45415
|
-
{
|
|
45606
|
+
{ 'clearExport': opts['clearExport'] },
|
|
45416
45607
|
{ },
|
|
45417
45608
|
{ },
|
|
45418
45609
|
body,
|
|
@@ -45722,7 +45913,7 @@ class ResponseManagementApi {
|
|
|
45722
45913
|
/**
|
|
45723
45914
|
* ResponseManagement service.
|
|
45724
45915
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
45725
|
-
* @version
|
|
45916
|
+
* @version 149.0.0
|
|
45726
45917
|
*/
|
|
45727
45918
|
|
|
45728
45919
|
/**
|
|
@@ -46206,7 +46397,7 @@ class RoutingApi {
|
|
|
46206
46397
|
/**
|
|
46207
46398
|
* Routing service.
|
|
46208
46399
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
46209
|
-
* @version
|
|
46400
|
+
* @version 149.0.0
|
|
46210
46401
|
*/
|
|
46211
46402
|
|
|
46212
46403
|
/**
|
|
@@ -47026,6 +47217,61 @@ class RoutingApi {
|
|
|
47026
47217
|
);
|
|
47027
47218
|
}
|
|
47028
47219
|
|
|
47220
|
+
/**
|
|
47221
|
+
* Retrieve Predictor Model Features.
|
|
47222
|
+
*
|
|
47223
|
+
* @param {String} predictorId Predictor ID
|
|
47224
|
+
* @param {String} modelId Model ID
|
|
47225
|
+
*/
|
|
47226
|
+
getRoutingPredictorModelFeatures(predictorId, modelId) {
|
|
47227
|
+
// verify the required parameter 'predictorId' is set
|
|
47228
|
+
if (predictorId === undefined || predictorId === null) {
|
|
47229
|
+
throw 'Missing the required parameter "predictorId" when calling getRoutingPredictorModelFeatures';
|
|
47230
|
+
}
|
|
47231
|
+
// verify the required parameter 'modelId' is set
|
|
47232
|
+
if (modelId === undefined || modelId === null) {
|
|
47233
|
+
throw 'Missing the required parameter "modelId" when calling getRoutingPredictorModelFeatures';
|
|
47234
|
+
}
|
|
47235
|
+
|
|
47236
|
+
return this.apiClient.callApi(
|
|
47237
|
+
'/api/v2/routing/predictors/{predictorId}/models/{modelId}/features',
|
|
47238
|
+
'GET',
|
|
47239
|
+
{ 'predictorId': predictorId,'modelId': modelId },
|
|
47240
|
+
{ },
|
|
47241
|
+
{ },
|
|
47242
|
+
{ },
|
|
47243
|
+
null,
|
|
47244
|
+
['PureCloud OAuth'],
|
|
47245
|
+
['application/json'],
|
|
47246
|
+
['application/json']
|
|
47247
|
+
);
|
|
47248
|
+
}
|
|
47249
|
+
|
|
47250
|
+
/**
|
|
47251
|
+
* Retrieve Predictor Models and Top Features.
|
|
47252
|
+
*
|
|
47253
|
+
* @param {String} predictorId Predictor ID
|
|
47254
|
+
*/
|
|
47255
|
+
getRoutingPredictorModels(predictorId) {
|
|
47256
|
+
// verify the required parameter 'predictorId' is set
|
|
47257
|
+
if (predictorId === undefined || predictorId === null) {
|
|
47258
|
+
throw 'Missing the required parameter "predictorId" when calling getRoutingPredictorModels';
|
|
47259
|
+
}
|
|
47260
|
+
|
|
47261
|
+
return this.apiClient.callApi(
|
|
47262
|
+
'/api/v2/routing/predictors/{predictorId}/models',
|
|
47263
|
+
'GET',
|
|
47264
|
+
{ 'predictorId': predictorId },
|
|
47265
|
+
{ },
|
|
47266
|
+
{ },
|
|
47267
|
+
{ },
|
|
47268
|
+
null,
|
|
47269
|
+
['PureCloud OAuth'],
|
|
47270
|
+
['application/json'],
|
|
47271
|
+
['application/json']
|
|
47272
|
+
);
|
|
47273
|
+
}
|
|
47274
|
+
|
|
47029
47275
|
/**
|
|
47030
47276
|
* Retrieve all predictors.
|
|
47031
47277
|
*
|
|
@@ -49147,7 +49393,7 @@ class SCIMApi {
|
|
|
49147
49393
|
/**
|
|
49148
49394
|
* SCIM service.
|
|
49149
49395
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
49150
|
-
* @version
|
|
49396
|
+
* @version 149.0.0
|
|
49151
49397
|
*/
|
|
49152
49398
|
|
|
49153
49399
|
/**
|
|
@@ -50024,7 +50270,7 @@ class ScriptsApi {
|
|
|
50024
50270
|
/**
|
|
50025
50271
|
* Scripts service.
|
|
50026
50272
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
50027
|
-
* @version
|
|
50273
|
+
* @version 149.0.0
|
|
50028
50274
|
*/
|
|
50029
50275
|
|
|
50030
50276
|
/**
|
|
@@ -50443,7 +50689,7 @@ class SearchApi {
|
|
|
50443
50689
|
/**
|
|
50444
50690
|
* Search service.
|
|
50445
50691
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
50446
|
-
* @version
|
|
50692
|
+
* @version 149.0.0
|
|
50447
50693
|
*/
|
|
50448
50694
|
|
|
50449
50695
|
/**
|
|
@@ -51003,7 +51249,7 @@ class SpeechTextAnalyticsApi {
|
|
|
51003
51249
|
/**
|
|
51004
51250
|
* SpeechTextAnalytics service.
|
|
51005
51251
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
51006
|
-
* @version
|
|
51252
|
+
* @version 149.0.0
|
|
51007
51253
|
*/
|
|
51008
51254
|
|
|
51009
51255
|
/**
|
|
@@ -51857,7 +52103,7 @@ class StationsApi {
|
|
|
51857
52103
|
/**
|
|
51858
52104
|
* Stations service.
|
|
51859
52105
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
51860
|
-
* @version
|
|
52106
|
+
* @version 149.0.0
|
|
51861
52107
|
*/
|
|
51862
52108
|
|
|
51863
52109
|
/**
|
|
@@ -52004,7 +52250,7 @@ class SuggestApi {
|
|
|
52004
52250
|
/**
|
|
52005
52251
|
* Suggest service.
|
|
52006
52252
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
52007
|
-
* @version
|
|
52253
|
+
* @version 149.0.0
|
|
52008
52254
|
*/
|
|
52009
52255
|
|
|
52010
52256
|
/**
|
|
@@ -52143,7 +52389,7 @@ class TeamsApi {
|
|
|
52143
52389
|
/**
|
|
52144
52390
|
* Teams service.
|
|
52145
52391
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
52146
|
-
* @version
|
|
52392
|
+
* @version 149.0.0
|
|
52147
52393
|
*/
|
|
52148
52394
|
|
|
52149
52395
|
/**
|
|
@@ -52322,7 +52568,7 @@ class TelephonyApi {
|
|
|
52322
52568
|
/**
|
|
52323
52569
|
* Telephony service.
|
|
52324
52570
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
52325
|
-
* @version
|
|
52571
|
+
* @version 149.0.0
|
|
52326
52572
|
*/
|
|
52327
52573
|
|
|
52328
52574
|
/**
|
|
@@ -52430,7 +52676,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
52430
52676
|
/**
|
|
52431
52677
|
* TelephonyProvidersEdge service.
|
|
52432
52678
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
52433
|
-
* @version
|
|
52679
|
+
* @version 149.0.0
|
|
52434
52680
|
*/
|
|
52435
52681
|
|
|
52436
52682
|
/**
|
|
@@ -56063,7 +56309,7 @@ class TextbotsApi {
|
|
|
56063
56309
|
/**
|
|
56064
56310
|
* Textbots service.
|
|
56065
56311
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
56066
|
-
* @version
|
|
56312
|
+
* @version 149.0.0
|
|
56067
56313
|
*/
|
|
56068
56314
|
|
|
56069
56315
|
/**
|
|
@@ -56191,7 +56437,7 @@ class TokensApi {
|
|
|
56191
56437
|
/**
|
|
56192
56438
|
* Tokens service.
|
|
56193
56439
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
56194
|
-
* @version
|
|
56440
|
+
* @version 149.0.0
|
|
56195
56441
|
*/
|
|
56196
56442
|
|
|
56197
56443
|
/**
|
|
@@ -56297,7 +56543,7 @@ class UploadsApi {
|
|
|
56297
56543
|
/**
|
|
56298
56544
|
* Uploads service.
|
|
56299
56545
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
56300
|
-
* @version
|
|
56546
|
+
* @version 149.0.0
|
|
56301
56547
|
*/
|
|
56302
56548
|
|
|
56303
56549
|
/**
|
|
@@ -56473,7 +56719,7 @@ class UsageApi {
|
|
|
56473
56719
|
/**
|
|
56474
56720
|
* Usage service.
|
|
56475
56721
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
56476
|
-
* @version
|
|
56722
|
+
* @version 149.0.0
|
|
56477
56723
|
*/
|
|
56478
56724
|
|
|
56479
56725
|
/**
|
|
@@ -56544,7 +56790,7 @@ class UserRecordingsApi {
|
|
|
56544
56790
|
/**
|
|
56545
56791
|
* UserRecordings service.
|
|
56546
56792
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
56547
|
-
* @version
|
|
56793
|
+
* @version 149.0.0
|
|
56548
56794
|
*/
|
|
56549
56795
|
|
|
56550
56796
|
/**
|
|
@@ -56619,6 +56865,7 @@ class UserRecordingsApi {
|
|
|
56619
56865
|
* @param {String} recordingId User Recording ID
|
|
56620
56866
|
* @param {Object} opts Optional parameters
|
|
56621
56867
|
* @param {Object} opts.formatId The desired media format. (default to WEBM)
|
|
56868
|
+
* @param {Boolean} opts.async When set to true, api will return 202 response until the recording is ready for download
|
|
56622
56869
|
*/
|
|
56623
56870
|
getUserrecordingMedia(recordingId, opts) {
|
|
56624
56871
|
opts = opts || {};
|
|
@@ -56632,7 +56879,7 @@ class UserRecordingsApi {
|
|
|
56632
56879
|
'/api/v2/userrecordings/{recordingId}/media',
|
|
56633
56880
|
'GET',
|
|
56634
56881
|
{ 'recordingId': recordingId },
|
|
56635
|
-
{ 'formatId': opts['formatId'] },
|
|
56882
|
+
{ 'formatId': opts['formatId'],'async': opts['async'] },
|
|
56636
56883
|
{ },
|
|
56637
56884
|
{ },
|
|
56638
56885
|
null,
|
|
@@ -56728,7 +56975,7 @@ class UsersApi {
|
|
|
56728
56975
|
/**
|
|
56729
56976
|
* Users service.
|
|
56730
56977
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
56731
|
-
* @version
|
|
56978
|
+
* @version 149.0.0
|
|
56732
56979
|
*/
|
|
56733
56980
|
|
|
56734
56981
|
/**
|
|
@@ -59060,7 +59307,7 @@ class UtilitiesApi {
|
|
|
59060
59307
|
/**
|
|
59061
59308
|
* Utilities service.
|
|
59062
59309
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
59063
|
-
* @version
|
|
59310
|
+
* @version 149.0.0
|
|
59064
59311
|
*/
|
|
59065
59312
|
|
|
59066
59313
|
/**
|
|
@@ -59171,7 +59418,7 @@ class VoicemailApi {
|
|
|
59171
59418
|
/**
|
|
59172
59419
|
* Voicemail service.
|
|
59173
59420
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
59174
|
-
* @version
|
|
59421
|
+
* @version 149.0.0
|
|
59175
59422
|
*/
|
|
59176
59423
|
|
|
59177
59424
|
/**
|
|
@@ -59838,7 +60085,7 @@ class WebChatApi {
|
|
|
59838
60085
|
/**
|
|
59839
60086
|
* WebChat service.
|
|
59840
60087
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
59841
|
-
* @version
|
|
60088
|
+
* @version 149.0.0
|
|
59842
60089
|
*/
|
|
59843
60090
|
|
|
59844
60091
|
/**
|
|
@@ -60382,7 +60629,7 @@ class WebDeploymentsApi {
|
|
|
60382
60629
|
/**
|
|
60383
60630
|
* WebDeployments service.
|
|
60384
60631
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
60385
|
-
* @version
|
|
60632
|
+
* @version 149.0.0
|
|
60386
60633
|
*/
|
|
60387
60634
|
|
|
60388
60635
|
/**
|
|
@@ -60608,14 +60855,18 @@ class WebDeploymentsApi {
|
|
|
60608
60855
|
/**
|
|
60609
60856
|
* Get deployments
|
|
60610
60857
|
*
|
|
60858
|
+
* @param {Object} opts Optional parameters
|
|
60859
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected. Valid values:
|
|
60611
60860
|
*/
|
|
60612
|
-
getWebdeploymentsDeployments() {
|
|
60861
|
+
getWebdeploymentsDeployments(opts) {
|
|
60862
|
+
opts = opts || {};
|
|
60863
|
+
|
|
60613
60864
|
|
|
60614
60865
|
return this.apiClient.callApi(
|
|
60615
60866
|
'/api/v2/webdeployments/deployments',
|
|
60616
60867
|
'GET',
|
|
60617
60868
|
{ },
|
|
60618
|
-
{
|
|
60869
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
60619
60870
|
{ },
|
|
60620
60871
|
{ },
|
|
60621
60872
|
null,
|
|
@@ -60766,7 +61017,7 @@ class WebMessagingApi {
|
|
|
60766
61017
|
/**
|
|
60767
61018
|
* WebMessaging service.
|
|
60768
61019
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
60769
|
-
* @version
|
|
61020
|
+
* @version 149.0.0
|
|
60770
61021
|
*/
|
|
60771
61022
|
|
|
60772
61023
|
/**
|
|
@@ -60812,7 +61063,7 @@ class WidgetsApi {
|
|
|
60812
61063
|
/**
|
|
60813
61064
|
* Widgets service.
|
|
60814
61065
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
60815
|
-
* @version
|
|
61066
|
+
* @version 149.0.0
|
|
60816
61067
|
*/
|
|
60817
61068
|
|
|
60818
61069
|
/**
|
|
@@ -60958,7 +61209,7 @@ class WorkforceManagementApi {
|
|
|
60958
61209
|
/**
|
|
60959
61210
|
* WorkforceManagement service.
|
|
60960
61211
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
60961
|
-
* @version
|
|
61212
|
+
* @version 149.0.0
|
|
60962
61213
|
*/
|
|
60963
61214
|
|
|
60964
61215
|
/**
|
|
@@ -65234,7 +65485,7 @@ class WorkforceManagementApi {
|
|
|
65234
65485
|
* </pre>
|
|
65235
65486
|
* </p>
|
|
65236
65487
|
* @module purecloud-platform-client-v2/index
|
|
65237
|
-
* @version
|
|
65488
|
+
* @version 149.0.0
|
|
65238
65489
|
*/
|
|
65239
65490
|
class platformClient {
|
|
65240
65491
|
constructor() {
|
|
@@ -65433,6 +65684,11 @@ class platformClient {
|
|
|
65433
65684
|
* @property {module:purecloud-platform-client-v2/api/PresenceApi}
|
|
65434
65685
|
*/
|
|
65435
65686
|
this.PresenceApi = PresenceApi;
|
|
65687
|
+
/**
|
|
65688
|
+
* The ProcessAutomationApi service constructor.
|
|
65689
|
+
* @property {module:purecloud-platform-client-v2/api/ProcessAutomationApi}
|
|
65690
|
+
*/
|
|
65691
|
+
this.ProcessAutomationApi = ProcessAutomationApi;
|
|
65436
65692
|
/**
|
|
65437
65693
|
* The QualityApi service constructor.
|
|
65438
65694
|
* @property {module:purecloud-platform-client-v2/api/QualityApi}
|