purecloud-platform-client-v2 147.0.0 → 148.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 +387 -194
- package/dist/web-amd/purecloud-platform-client-v2.js +387 -194
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +387 -194
- package/dist/web-cjs/purecloud-platform-client-v2.js +388 -195
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +432 -302
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +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 +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.0.0
|
|
44043
44230
|
*/
|
|
44044
44231
|
|
|
44045
44232
|
/**
|
|
@@ -45722,7 +45909,7 @@ class ResponseManagementApi {
|
|
|
45722
45909
|
/**
|
|
45723
45910
|
* ResponseManagement service.
|
|
45724
45911
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
45725
|
-
* @version
|
|
45912
|
+
* @version 148.0.0
|
|
45726
45913
|
*/
|
|
45727
45914
|
|
|
45728
45915
|
/**
|
|
@@ -46206,7 +46393,7 @@ class RoutingApi {
|
|
|
46206
46393
|
/**
|
|
46207
46394
|
* Routing service.
|
|
46208
46395
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
46209
|
-
* @version
|
|
46396
|
+
* @version 148.0.0
|
|
46210
46397
|
*/
|
|
46211
46398
|
|
|
46212
46399
|
/**
|
|
@@ -49147,7 +49334,7 @@ class SCIMApi {
|
|
|
49147
49334
|
/**
|
|
49148
49335
|
* SCIM service.
|
|
49149
49336
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
49150
|
-
* @version
|
|
49337
|
+
* @version 148.0.0
|
|
49151
49338
|
*/
|
|
49152
49339
|
|
|
49153
49340
|
/**
|
|
@@ -50024,7 +50211,7 @@ class ScriptsApi {
|
|
|
50024
50211
|
/**
|
|
50025
50212
|
* Scripts service.
|
|
50026
50213
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
50027
|
-
* @version
|
|
50214
|
+
* @version 148.0.0
|
|
50028
50215
|
*/
|
|
50029
50216
|
|
|
50030
50217
|
/**
|
|
@@ -50443,7 +50630,7 @@ class SearchApi {
|
|
|
50443
50630
|
/**
|
|
50444
50631
|
* Search service.
|
|
50445
50632
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
50446
|
-
* @version
|
|
50633
|
+
* @version 148.0.0
|
|
50447
50634
|
*/
|
|
50448
50635
|
|
|
50449
50636
|
/**
|
|
@@ -51003,7 +51190,7 @@ class SpeechTextAnalyticsApi {
|
|
|
51003
51190
|
/**
|
|
51004
51191
|
* SpeechTextAnalytics service.
|
|
51005
51192
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
51006
|
-
* @version
|
|
51193
|
+
* @version 148.0.0
|
|
51007
51194
|
*/
|
|
51008
51195
|
|
|
51009
51196
|
/**
|
|
@@ -51857,7 +52044,7 @@ class StationsApi {
|
|
|
51857
52044
|
/**
|
|
51858
52045
|
* Stations service.
|
|
51859
52046
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
51860
|
-
* @version
|
|
52047
|
+
* @version 148.0.0
|
|
51861
52048
|
*/
|
|
51862
52049
|
|
|
51863
52050
|
/**
|
|
@@ -52004,7 +52191,7 @@ class SuggestApi {
|
|
|
52004
52191
|
/**
|
|
52005
52192
|
* Suggest service.
|
|
52006
52193
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
52007
|
-
* @version
|
|
52194
|
+
* @version 148.0.0
|
|
52008
52195
|
*/
|
|
52009
52196
|
|
|
52010
52197
|
/**
|
|
@@ -52143,7 +52330,7 @@ class TeamsApi {
|
|
|
52143
52330
|
/**
|
|
52144
52331
|
* Teams service.
|
|
52145
52332
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
52146
|
-
* @version
|
|
52333
|
+
* @version 148.0.0
|
|
52147
52334
|
*/
|
|
52148
52335
|
|
|
52149
52336
|
/**
|
|
@@ -52322,7 +52509,7 @@ class TelephonyApi {
|
|
|
52322
52509
|
/**
|
|
52323
52510
|
* Telephony service.
|
|
52324
52511
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
52325
|
-
* @version
|
|
52512
|
+
* @version 148.0.0
|
|
52326
52513
|
*/
|
|
52327
52514
|
|
|
52328
52515
|
/**
|
|
@@ -52430,7 +52617,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
52430
52617
|
/**
|
|
52431
52618
|
* TelephonyProvidersEdge service.
|
|
52432
52619
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
52433
|
-
* @version
|
|
52620
|
+
* @version 148.0.0
|
|
52434
52621
|
*/
|
|
52435
52622
|
|
|
52436
52623
|
/**
|
|
@@ -56063,7 +56250,7 @@ class TextbotsApi {
|
|
|
56063
56250
|
/**
|
|
56064
56251
|
* Textbots service.
|
|
56065
56252
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
56066
|
-
* @version
|
|
56253
|
+
* @version 148.0.0
|
|
56067
56254
|
*/
|
|
56068
56255
|
|
|
56069
56256
|
/**
|
|
@@ -56191,7 +56378,7 @@ class TokensApi {
|
|
|
56191
56378
|
/**
|
|
56192
56379
|
* Tokens service.
|
|
56193
56380
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
56194
|
-
* @version
|
|
56381
|
+
* @version 148.0.0
|
|
56195
56382
|
*/
|
|
56196
56383
|
|
|
56197
56384
|
/**
|
|
@@ -56297,7 +56484,7 @@ class UploadsApi {
|
|
|
56297
56484
|
/**
|
|
56298
56485
|
* Uploads service.
|
|
56299
56486
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
56300
|
-
* @version
|
|
56487
|
+
* @version 148.0.0
|
|
56301
56488
|
*/
|
|
56302
56489
|
|
|
56303
56490
|
/**
|
|
@@ -56473,7 +56660,7 @@ class UsageApi {
|
|
|
56473
56660
|
/**
|
|
56474
56661
|
* Usage service.
|
|
56475
56662
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
56476
|
-
* @version
|
|
56663
|
+
* @version 148.0.0
|
|
56477
56664
|
*/
|
|
56478
56665
|
|
|
56479
56666
|
/**
|
|
@@ -56544,7 +56731,7 @@ class UserRecordingsApi {
|
|
|
56544
56731
|
/**
|
|
56545
56732
|
* UserRecordings service.
|
|
56546
56733
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
56547
|
-
* @version
|
|
56734
|
+
* @version 148.0.0
|
|
56548
56735
|
*/
|
|
56549
56736
|
|
|
56550
56737
|
/**
|
|
@@ -56619,6 +56806,7 @@ class UserRecordingsApi {
|
|
|
56619
56806
|
* @param {String} recordingId User Recording ID
|
|
56620
56807
|
* @param {Object} opts Optional parameters
|
|
56621
56808
|
* @param {Object} opts.formatId The desired media format. (default to WEBM)
|
|
56809
|
+
* @param {Boolean} opts.async When set to true, api will return 202 response until the recording is ready for download
|
|
56622
56810
|
*/
|
|
56623
56811
|
getUserrecordingMedia(recordingId, opts) {
|
|
56624
56812
|
opts = opts || {};
|
|
@@ -56632,7 +56820,7 @@ class UserRecordingsApi {
|
|
|
56632
56820
|
'/api/v2/userrecordings/{recordingId}/media',
|
|
56633
56821
|
'GET',
|
|
56634
56822
|
{ 'recordingId': recordingId },
|
|
56635
|
-
{ 'formatId': opts['formatId'] },
|
|
56823
|
+
{ 'formatId': opts['formatId'],'async': opts['async'] },
|
|
56636
56824
|
{ },
|
|
56637
56825
|
{ },
|
|
56638
56826
|
null,
|
|
@@ -56728,7 +56916,7 @@ class UsersApi {
|
|
|
56728
56916
|
/**
|
|
56729
56917
|
* Users service.
|
|
56730
56918
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
56731
|
-
* @version
|
|
56919
|
+
* @version 148.0.0
|
|
56732
56920
|
*/
|
|
56733
56921
|
|
|
56734
56922
|
/**
|
|
@@ -59060,7 +59248,7 @@ class UtilitiesApi {
|
|
|
59060
59248
|
/**
|
|
59061
59249
|
* Utilities service.
|
|
59062
59250
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
59063
|
-
* @version
|
|
59251
|
+
* @version 148.0.0
|
|
59064
59252
|
*/
|
|
59065
59253
|
|
|
59066
59254
|
/**
|
|
@@ -59171,7 +59359,7 @@ class VoicemailApi {
|
|
|
59171
59359
|
/**
|
|
59172
59360
|
* Voicemail service.
|
|
59173
59361
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
59174
|
-
* @version
|
|
59362
|
+
* @version 148.0.0
|
|
59175
59363
|
*/
|
|
59176
59364
|
|
|
59177
59365
|
/**
|
|
@@ -59838,7 +60026,7 @@ class WebChatApi {
|
|
|
59838
60026
|
/**
|
|
59839
60027
|
* WebChat service.
|
|
59840
60028
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
59841
|
-
* @version
|
|
60029
|
+
* @version 148.0.0
|
|
59842
60030
|
*/
|
|
59843
60031
|
|
|
59844
60032
|
/**
|
|
@@ -60382,7 +60570,7 @@ class WebDeploymentsApi {
|
|
|
60382
60570
|
/**
|
|
60383
60571
|
* WebDeployments service.
|
|
60384
60572
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
60385
|
-
* @version
|
|
60573
|
+
* @version 148.0.0
|
|
60386
60574
|
*/
|
|
60387
60575
|
|
|
60388
60576
|
/**
|
|
@@ -60766,7 +60954,7 @@ class WebMessagingApi {
|
|
|
60766
60954
|
/**
|
|
60767
60955
|
* WebMessaging service.
|
|
60768
60956
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
60769
|
-
* @version
|
|
60957
|
+
* @version 148.0.0
|
|
60770
60958
|
*/
|
|
60771
60959
|
|
|
60772
60960
|
/**
|
|
@@ -60812,7 +61000,7 @@ class WidgetsApi {
|
|
|
60812
61000
|
/**
|
|
60813
61001
|
* Widgets service.
|
|
60814
61002
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
60815
|
-
* @version
|
|
61003
|
+
* @version 148.0.0
|
|
60816
61004
|
*/
|
|
60817
61005
|
|
|
60818
61006
|
/**
|
|
@@ -60958,7 +61146,7 @@ class WorkforceManagementApi {
|
|
|
60958
61146
|
/**
|
|
60959
61147
|
* WorkforceManagement service.
|
|
60960
61148
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
60961
|
-
* @version
|
|
61149
|
+
* @version 148.0.0
|
|
60962
61150
|
*/
|
|
60963
61151
|
|
|
60964
61152
|
/**
|
|
@@ -65234,7 +65422,7 @@ class WorkforceManagementApi {
|
|
|
65234
65422
|
* </pre>
|
|
65235
65423
|
* </p>
|
|
65236
65424
|
* @module purecloud-platform-client-v2/index
|
|
65237
|
-
* @version
|
|
65425
|
+
* @version 148.0.0
|
|
65238
65426
|
*/
|
|
65239
65427
|
class platformClient {
|
|
65240
65428
|
constructor() {
|
|
@@ -65433,6 +65621,11 @@ class platformClient {
|
|
|
65433
65621
|
* @property {module:purecloud-platform-client-v2/api/PresenceApi}
|
|
65434
65622
|
*/
|
|
65435
65623
|
this.PresenceApi = PresenceApi;
|
|
65624
|
+
/**
|
|
65625
|
+
* The ProcessAutomationApi service constructor.
|
|
65626
|
+
* @property {module:purecloud-platform-client-v2/api/ProcessAutomationApi}
|
|
65627
|
+
*/
|
|
65628
|
+
this.ProcessAutomationApi = ProcessAutomationApi;
|
|
65436
65629
|
/**
|
|
65437
65630
|
* The QualityApi service constructor.
|
|
65438
65631
|
* @property {module:purecloud-platform-client-v2/api/QualityApi}
|