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
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -2279,7 +2279,7 @@ class Configuration {
|
|
|
2279
2279
|
|
|
2280
2280
|
/**
|
|
2281
2281
|
* @module purecloud-platform-client-v2/ApiClient
|
|
2282
|
-
* @version
|
|
2282
|
+
* @version 149.0.0
|
|
2283
2283
|
*/
|
|
2284
2284
|
class ApiClient {
|
|
2285
2285
|
/**
|
|
@@ -3351,7 +3351,7 @@ class AlertingApi {
|
|
|
3351
3351
|
/**
|
|
3352
3352
|
* Alerting service.
|
|
3353
3353
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
3354
|
-
* @version
|
|
3354
|
+
* @version 149.0.0
|
|
3355
3355
|
*/
|
|
3356
3356
|
|
|
3357
3357
|
/**
|
|
@@ -3665,7 +3665,7 @@ class AnalyticsApi {
|
|
|
3665
3665
|
/**
|
|
3666
3666
|
* Analytics service.
|
|
3667
3667
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3668
|
-
* @version
|
|
3668
|
+
* @version 149.0.0
|
|
3669
3669
|
*/
|
|
3670
3670
|
|
|
3671
3671
|
/**
|
|
@@ -4892,7 +4892,7 @@ class ArchitectApi {
|
|
|
4892
4892
|
/**
|
|
4893
4893
|
* Architect service.
|
|
4894
4894
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
4895
|
-
* @version
|
|
4895
|
+
* @version 149.0.0
|
|
4896
4896
|
*/
|
|
4897
4897
|
|
|
4898
4898
|
/**
|
|
@@ -7938,7 +7938,7 @@ class AuditApi {
|
|
|
7938
7938
|
/**
|
|
7939
7939
|
* Audit service.
|
|
7940
7940
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
7941
|
-
* @version
|
|
7941
|
+
* @version 149.0.0
|
|
7942
7942
|
*/
|
|
7943
7943
|
|
|
7944
7944
|
/**
|
|
@@ -8109,7 +8109,7 @@ class AuthorizationApi {
|
|
|
8109
8109
|
/**
|
|
8110
8110
|
* Authorization service.
|
|
8111
8111
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8112
|
-
* @version
|
|
8112
|
+
* @version 149.0.0
|
|
8113
8113
|
*/
|
|
8114
8114
|
|
|
8115
8115
|
/**
|
|
@@ -9292,7 +9292,7 @@ class BillingApi {
|
|
|
9292
9292
|
/**
|
|
9293
9293
|
* Billing service.
|
|
9294
9294
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9295
|
-
* @version
|
|
9295
|
+
* @version 149.0.0
|
|
9296
9296
|
*/
|
|
9297
9297
|
|
|
9298
9298
|
/**
|
|
@@ -9372,7 +9372,7 @@ class ChatApi {
|
|
|
9372
9372
|
/**
|
|
9373
9373
|
* Chat service.
|
|
9374
9374
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9375
|
-
* @version
|
|
9375
|
+
* @version 149.0.0
|
|
9376
9376
|
*/
|
|
9377
9377
|
|
|
9378
9378
|
/**
|
|
@@ -9463,7 +9463,7 @@ class CoachingApi {
|
|
|
9463
9463
|
/**
|
|
9464
9464
|
* Coaching service.
|
|
9465
9465
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9466
|
-
* @version
|
|
9466
|
+
* @version 149.0.0
|
|
9467
9467
|
*/
|
|
9468
9468
|
|
|
9469
9469
|
/**
|
|
@@ -10040,7 +10040,7 @@ class ContentManagementApi {
|
|
|
10040
10040
|
/**
|
|
10041
10041
|
* ContentManagement service.
|
|
10042
10042
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
10043
|
-
* @version
|
|
10043
|
+
* @version 149.0.0
|
|
10044
10044
|
*/
|
|
10045
10045
|
|
|
10046
10046
|
/**
|
|
@@ -11180,7 +11180,7 @@ class ConversationsApi {
|
|
|
11180
11180
|
/**
|
|
11181
11181
|
* Conversations service.
|
|
11182
11182
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
11183
|
-
* @version
|
|
11183
|
+
* @version 149.0.0
|
|
11184
11184
|
*/
|
|
11185
11185
|
|
|
11186
11186
|
/**
|
|
@@ -16324,7 +16324,7 @@ class DataExtensionsApi {
|
|
|
16324
16324
|
/**
|
|
16325
16325
|
* DataExtensions service.
|
|
16326
16326
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
16327
|
-
* @version
|
|
16327
|
+
* @version 149.0.0
|
|
16328
16328
|
*/
|
|
16329
16329
|
|
|
16330
16330
|
/**
|
|
@@ -16410,7 +16410,7 @@ class ExternalContactsApi {
|
|
|
16410
16410
|
/**
|
|
16411
16411
|
* ExternalContacts service.
|
|
16412
16412
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
16413
|
-
* @version
|
|
16413
|
+
* @version 149.0.0
|
|
16414
16414
|
*/
|
|
16415
16415
|
|
|
16416
16416
|
/**
|
|
@@ -18153,7 +18153,7 @@ class FaxApi {
|
|
|
18153
18153
|
/**
|
|
18154
18154
|
* Fax service.
|
|
18155
18155
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
18156
|
-
* @version
|
|
18156
|
+
* @version 149.0.0
|
|
18157
18157
|
*/
|
|
18158
18158
|
|
|
18159
18159
|
/**
|
|
@@ -18324,7 +18324,7 @@ class FlowsApi {
|
|
|
18324
18324
|
/**
|
|
18325
18325
|
* Flows service.
|
|
18326
18326
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
18327
|
-
* @version
|
|
18327
|
+
* @version 149.0.0
|
|
18328
18328
|
*/
|
|
18329
18329
|
|
|
18330
18330
|
/**
|
|
@@ -18395,7 +18395,7 @@ class GamificationApi {
|
|
|
18395
18395
|
/**
|
|
18396
18396
|
* Gamification service.
|
|
18397
18397
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
18398
|
-
* @version
|
|
18398
|
+
* @version 149.0.0
|
|
18399
18399
|
*/
|
|
18400
18400
|
|
|
18401
18401
|
/**
|
|
@@ -18688,31 +18688,6 @@ class GamificationApi {
|
|
|
18688
18688
|
);
|
|
18689
18689
|
}
|
|
18690
18690
|
|
|
18691
|
-
/**
|
|
18692
|
-
* All gamified metrics for a given profile
|
|
18693
|
-
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
|
|
18694
|
-
* @param {Object} opts Optional parameters
|
|
18695
|
-
* @param {String} opts.performanceProfileId The profile id of the metrics you are trying to retrieve. The DEFAULT profile is used if nothing is given.
|
|
18696
|
-
* @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
|
|
18697
|
-
*/
|
|
18698
|
-
getGamificationMetrics(opts) {
|
|
18699
|
-
opts = opts || {};
|
|
18700
|
-
|
|
18701
|
-
|
|
18702
|
-
return this.apiClient.callApi(
|
|
18703
|
-
'/api/v2/gamification/metrics',
|
|
18704
|
-
'GET',
|
|
18705
|
-
{ },
|
|
18706
|
-
{ 'performanceProfileId': opts['performanceProfileId'],'workday': opts['workday'] },
|
|
18707
|
-
{ },
|
|
18708
|
-
{ },
|
|
18709
|
-
null,
|
|
18710
|
-
['PureCloud OAuth'],
|
|
18711
|
-
['application/json'],
|
|
18712
|
-
['application/json']
|
|
18713
|
-
);
|
|
18714
|
-
}
|
|
18715
|
-
|
|
18716
18691
|
/**
|
|
18717
18692
|
* Performance profile by id
|
|
18718
18693
|
*
|
|
@@ -19768,31 +19743,6 @@ class GamificationApi {
|
|
|
19768
19743
|
);
|
|
19769
19744
|
}
|
|
19770
19745
|
|
|
19771
|
-
/**
|
|
19772
|
-
* Creates a gamified metric with a given metric definition and metric objective
|
|
19773
|
-
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
|
|
19774
|
-
* @param {Object} body Metric
|
|
19775
|
-
*/
|
|
19776
|
-
postGamificationMetrics(body) {
|
|
19777
|
-
// verify the required parameter 'body' is set
|
|
19778
|
-
if (body === undefined || body === null) {
|
|
19779
|
-
throw 'Missing the required parameter "body" when calling postGamificationMetrics';
|
|
19780
|
-
}
|
|
19781
|
-
|
|
19782
|
-
return this.apiClient.callApi(
|
|
19783
|
-
'/api/v2/gamification/metrics',
|
|
19784
|
-
'POST',
|
|
19785
|
-
{ },
|
|
19786
|
-
{ },
|
|
19787
|
-
{ },
|
|
19788
|
-
{ },
|
|
19789
|
-
body,
|
|
19790
|
-
['PureCloud OAuth'],
|
|
19791
|
-
['application/json'],
|
|
19792
|
-
['application/json']
|
|
19793
|
-
);
|
|
19794
|
-
}
|
|
19795
|
-
|
|
19796
19746
|
/**
|
|
19797
19747
|
* Activate a performance profile
|
|
19798
19748
|
*
|
|
@@ -20126,7 +20076,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
20126
20076
|
/**
|
|
20127
20077
|
* GeneralDataProtectionRegulation service.
|
|
20128
20078
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
20129
|
-
* @version
|
|
20079
|
+
* @version 149.0.0
|
|
20130
20080
|
*/
|
|
20131
20081
|
|
|
20132
20082
|
/**
|
|
@@ -20256,7 +20206,7 @@ class GeolocationApi {
|
|
|
20256
20206
|
/**
|
|
20257
20207
|
* Geolocation service.
|
|
20258
20208
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
20259
|
-
* @version
|
|
20209
|
+
* @version 149.0.0
|
|
20260
20210
|
*/
|
|
20261
20211
|
|
|
20262
20212
|
/**
|
|
@@ -20387,7 +20337,7 @@ class GreetingsApi {
|
|
|
20387
20337
|
/**
|
|
20388
20338
|
* Greetings service.
|
|
20389
20339
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
20390
|
-
* @version
|
|
20340
|
+
* @version 149.0.0
|
|
20391
20341
|
*/
|
|
20392
20342
|
|
|
20393
20343
|
/**
|
|
@@ -20842,7 +20792,7 @@ class GroupsApi {
|
|
|
20842
20792
|
/**
|
|
20843
20793
|
* Groups service.
|
|
20844
20794
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
20845
|
-
* @version
|
|
20795
|
+
* @version 149.0.0
|
|
20846
20796
|
*/
|
|
20847
20797
|
|
|
20848
20798
|
/**
|
|
@@ -21112,6 +21062,7 @@ class GroupsApi {
|
|
|
21112
21062
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
21113
21063
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
21114
21064
|
* @param {Array.<String>} opts.id id
|
|
21065
|
+
* @param {Array.<String>} opts.jabberId A list of jabberIds to fetch by bulk (cannot be used with the id parameter)
|
|
21115
21066
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
|
|
21116
21067
|
*/
|
|
21117
21068
|
getProfilesGroups(opts) {
|
|
@@ -21122,7 +21073,7 @@ class GroupsApi {
|
|
|
21122
21073
|
'/api/v2/profiles/groups',
|
|
21123
21074
|
'GET',
|
|
21124
21075
|
{ },
|
|
21125
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'sortOrder': opts['sortOrder'] },
|
|
21076
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'jabberId': this.apiClient.buildCollectionParam(opts['jabberId'], 'multi'),'sortOrder': opts['sortOrder'] },
|
|
21126
21077
|
{ },
|
|
21127
21078
|
{ },
|
|
21128
21079
|
null,
|
|
@@ -21247,7 +21198,7 @@ class IdentityProviderApi {
|
|
|
21247
21198
|
/**
|
|
21248
21199
|
* IdentityProvider service.
|
|
21249
21200
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
21250
|
-
* @version
|
|
21201
|
+
* @version 149.0.0
|
|
21251
21202
|
*/
|
|
21252
21203
|
|
|
21253
21204
|
/**
|
|
@@ -22003,7 +21954,7 @@ class IntegrationsApi {
|
|
|
22003
21954
|
/**
|
|
22004
21955
|
* Integrations service.
|
|
22005
21956
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
22006
|
-
* @version
|
|
21957
|
+
* @version 149.0.0
|
|
22007
21958
|
*/
|
|
22008
21959
|
|
|
22009
21960
|
/**
|
|
@@ -22761,59 +22712,6 @@ class IntegrationsApi {
|
|
|
22761
22712
|
);
|
|
22762
22713
|
}
|
|
22763
22714
|
|
|
22764
|
-
/**
|
|
22765
|
-
* List all events
|
|
22766
|
-
*
|
|
22767
|
-
* @param {Object} opts Optional parameters
|
|
22768
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
22769
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
22770
|
-
* @param {String} opts.sortBy Sort by (default to timestamp)
|
|
22771
|
-
* @param {String} opts.sortOrder Order by (default to descending)
|
|
22772
|
-
* @param {String} opts.entityId Include only events with this entity ID
|
|
22773
|
-
*/
|
|
22774
|
-
getIntegrationsEventlog(opts) {
|
|
22775
|
-
opts = opts || {};
|
|
22776
|
-
|
|
22777
|
-
|
|
22778
|
-
return this.apiClient.callApi(
|
|
22779
|
-
'/api/v2/integrations/eventlog',
|
|
22780
|
-
'GET',
|
|
22781
|
-
{ },
|
|
22782
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'entityId': opts['entityId'] },
|
|
22783
|
-
{ },
|
|
22784
|
-
{ },
|
|
22785
|
-
null,
|
|
22786
|
-
['PureCloud OAuth'],
|
|
22787
|
-
['application/json'],
|
|
22788
|
-
['application/json']
|
|
22789
|
-
);
|
|
22790
|
-
}
|
|
22791
|
-
|
|
22792
|
-
/**
|
|
22793
|
-
* Get a single event
|
|
22794
|
-
*
|
|
22795
|
-
* @param {String} eventId Event Id
|
|
22796
|
-
*/
|
|
22797
|
-
getIntegrationsEventlogEventId(eventId) {
|
|
22798
|
-
// verify the required parameter 'eventId' is set
|
|
22799
|
-
if (eventId === undefined || eventId === null) {
|
|
22800
|
-
throw 'Missing the required parameter "eventId" when calling getIntegrationsEventlogEventId';
|
|
22801
|
-
}
|
|
22802
|
-
|
|
22803
|
-
return this.apiClient.callApi(
|
|
22804
|
-
'/api/v2/integrations/eventlog/{eventId}',
|
|
22805
|
-
'GET',
|
|
22806
|
-
{ 'eventId': eventId },
|
|
22807
|
-
{ },
|
|
22808
|
-
{ },
|
|
22809
|
-
{ },
|
|
22810
|
-
null,
|
|
22811
|
-
['PureCloud OAuth'],
|
|
22812
|
-
['application/json'],
|
|
22813
|
-
['application/json']
|
|
22814
|
-
);
|
|
22815
|
-
}
|
|
22816
|
-
|
|
22817
22715
|
/**
|
|
22818
22716
|
* Get details about a Dialogflow agent
|
|
22819
22717
|
*
|
|
@@ -23537,30 +23435,6 @@ class IntegrationsApi {
|
|
|
23537
23435
|
);
|
|
23538
23436
|
}
|
|
23539
23437
|
|
|
23540
|
-
/**
|
|
23541
|
-
* Add a vendor connection
|
|
23542
|
-
*
|
|
23543
|
-
* @param {Object} opts Optional parameters
|
|
23544
|
-
* @param {Object} opts.body
|
|
23545
|
-
*/
|
|
23546
|
-
postIntegrationsWorkforcemanagementVendorconnection(opts) {
|
|
23547
|
-
opts = opts || {};
|
|
23548
|
-
|
|
23549
|
-
|
|
23550
|
-
return this.apiClient.callApi(
|
|
23551
|
-
'/api/v2/integrations/workforcemanagement/vendorconnection',
|
|
23552
|
-
'POST',
|
|
23553
|
-
{ },
|
|
23554
|
-
{ },
|
|
23555
|
-
{ },
|
|
23556
|
-
{ },
|
|
23557
|
-
opts['body'],
|
|
23558
|
-
['PureCloud OAuth'],
|
|
23559
|
-
['application/json'],
|
|
23560
|
-
['application/json']
|
|
23561
|
-
);
|
|
23562
|
-
}
|
|
23563
|
-
|
|
23564
23438
|
/**
|
|
23565
23439
|
* Update integration configuration.
|
|
23566
23440
|
*
|
|
@@ -23680,7 +23554,7 @@ class JourneyApi {
|
|
|
23680
23554
|
/**
|
|
23681
23555
|
* Journey service.
|
|
23682
23556
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
23683
|
-
* @version
|
|
23557
|
+
* @version 149.0.0
|
|
23684
23558
|
*/
|
|
23685
23559
|
|
|
23686
23560
|
/**
|
|
@@ -23855,6 +23729,56 @@ class JourneyApi {
|
|
|
23855
23729
|
);
|
|
23856
23730
|
}
|
|
23857
23731
|
|
|
23732
|
+
/**
|
|
23733
|
+
* Get status of job.
|
|
23734
|
+
*
|
|
23735
|
+
* @param {String} jobId ID of the job.
|
|
23736
|
+
*/
|
|
23737
|
+
getJourneyActionmapsEstimatesJob(jobId) {
|
|
23738
|
+
// verify the required parameter 'jobId' is set
|
|
23739
|
+
if (jobId === undefined || jobId === null) {
|
|
23740
|
+
throw 'Missing the required parameter "jobId" when calling getJourneyActionmapsEstimatesJob';
|
|
23741
|
+
}
|
|
23742
|
+
|
|
23743
|
+
return this.apiClient.callApi(
|
|
23744
|
+
'/api/v2/journey/actionmaps/estimates/jobs/{jobId}',
|
|
23745
|
+
'GET',
|
|
23746
|
+
{ 'jobId': jobId },
|
|
23747
|
+
{ },
|
|
23748
|
+
{ },
|
|
23749
|
+
{ },
|
|
23750
|
+
null,
|
|
23751
|
+
['PureCloud OAuth'],
|
|
23752
|
+
['application/json'],
|
|
23753
|
+
['application/json']
|
|
23754
|
+
);
|
|
23755
|
+
}
|
|
23756
|
+
|
|
23757
|
+
/**
|
|
23758
|
+
* Get estimates from completed job.
|
|
23759
|
+
*
|
|
23760
|
+
* @param {String} jobId ID of the job.
|
|
23761
|
+
*/
|
|
23762
|
+
getJourneyActionmapsEstimatesJobResults(jobId) {
|
|
23763
|
+
// verify the required parameter 'jobId' is set
|
|
23764
|
+
if (jobId === undefined || jobId === null) {
|
|
23765
|
+
throw 'Missing the required parameter "jobId" when calling getJourneyActionmapsEstimatesJobResults';
|
|
23766
|
+
}
|
|
23767
|
+
|
|
23768
|
+
return this.apiClient.callApi(
|
|
23769
|
+
'/api/v2/journey/actionmaps/estimates/jobs/{jobId}/results',
|
|
23770
|
+
'GET',
|
|
23771
|
+
{ 'jobId': jobId },
|
|
23772
|
+
{ },
|
|
23773
|
+
{ },
|
|
23774
|
+
{ },
|
|
23775
|
+
null,
|
|
23776
|
+
['PureCloud OAuth'],
|
|
23777
|
+
['application/json'],
|
|
23778
|
+
['application/json']
|
|
23779
|
+
);
|
|
23780
|
+
}
|
|
23781
|
+
|
|
23858
23782
|
/**
|
|
23859
23783
|
* Retrieve a single action target.
|
|
23860
23784
|
*
|
|
@@ -24313,6 +24237,31 @@ class JourneyApi {
|
|
|
24313
24237
|
);
|
|
24314
24238
|
}
|
|
24315
24239
|
|
|
24240
|
+
/**
|
|
24241
|
+
* Query for estimates
|
|
24242
|
+
*
|
|
24243
|
+
* @param {Object} body audience estimator request
|
|
24244
|
+
*/
|
|
24245
|
+
postJourneyActionmapsEstimatesJobs(body) {
|
|
24246
|
+
// verify the required parameter 'body' is set
|
|
24247
|
+
if (body === undefined || body === null) {
|
|
24248
|
+
throw 'Missing the required parameter "body" when calling postJourneyActionmapsEstimatesJobs';
|
|
24249
|
+
}
|
|
24250
|
+
|
|
24251
|
+
return this.apiClient.callApi(
|
|
24252
|
+
'/api/v2/journey/actionmaps/estimates/jobs',
|
|
24253
|
+
'POST',
|
|
24254
|
+
{ },
|
|
24255
|
+
{ },
|
|
24256
|
+
{ },
|
|
24257
|
+
{ },
|
|
24258
|
+
body,
|
|
24259
|
+
['PureCloud OAuth'],
|
|
24260
|
+
['application/json'],
|
|
24261
|
+
['application/json']
|
|
24262
|
+
);
|
|
24263
|
+
}
|
|
24264
|
+
|
|
24316
24265
|
/**
|
|
24317
24266
|
* Create a single action template.
|
|
24318
24267
|
*
|
|
@@ -24391,7 +24340,7 @@ class KnowledgeApi {
|
|
|
24391
24340
|
/**
|
|
24392
24341
|
* Knowledge service.
|
|
24393
24342
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
24394
|
-
* @version
|
|
24343
|
+
* @version 149.0.0
|
|
24395
24344
|
*/
|
|
24396
24345
|
|
|
24397
24346
|
/**
|
|
@@ -26824,7 +26773,7 @@ class LanguageUnderstandingApi {
|
|
|
26824
26773
|
/**
|
|
26825
26774
|
* LanguageUnderstanding service.
|
|
26826
26775
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
26827
|
-
* @version
|
|
26776
|
+
* @version 149.0.0
|
|
26828
26777
|
*/
|
|
26829
26778
|
|
|
26830
26779
|
/**
|
|
@@ -27728,7 +27677,7 @@ class LanguagesApi {
|
|
|
27728
27677
|
/**
|
|
27729
27678
|
* Languages service.
|
|
27730
27679
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
27731
|
-
* @version
|
|
27680
|
+
* @version 149.0.0
|
|
27732
27681
|
*/
|
|
27733
27682
|
|
|
27734
27683
|
/**
|
|
@@ -27996,7 +27945,7 @@ class LearningApi {
|
|
|
27996
27945
|
/**
|
|
27997
27946
|
* Learning service.
|
|
27998
27947
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
27999
|
-
* @version
|
|
27948
|
+
* @version 149.0.0
|
|
28000
27949
|
*/
|
|
28001
27950
|
|
|
28002
27951
|
/**
|
|
@@ -28756,7 +28705,7 @@ class LicenseApi {
|
|
|
28756
28705
|
/**
|
|
28757
28706
|
* License service.
|
|
28758
28707
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
28759
|
-
* @version
|
|
28708
|
+
* @version 149.0.0
|
|
28760
28709
|
*/
|
|
28761
28710
|
|
|
28762
28711
|
/**
|
|
@@ -28994,7 +28943,7 @@ class LocationsApi {
|
|
|
28994
28943
|
/**
|
|
28995
28944
|
* Locations service.
|
|
28996
28945
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
28997
|
-
* @version
|
|
28946
|
+
* @version 149.0.0
|
|
28998
28947
|
*/
|
|
28999
28948
|
|
|
29000
28949
|
/**
|
|
@@ -29230,7 +29179,7 @@ class MessagingApi {
|
|
|
29230
29179
|
/**
|
|
29231
29180
|
* Messaging service.
|
|
29232
29181
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
29233
|
-
* @version
|
|
29182
|
+
* @version 149.0.0
|
|
29234
29183
|
*/
|
|
29235
29184
|
|
|
29236
29185
|
/**
|
|
@@ -29381,7 +29330,7 @@ class MobileDevicesApi {
|
|
|
29381
29330
|
/**
|
|
29382
29331
|
* MobileDevices service.
|
|
29383
29332
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
29384
|
-
* @version
|
|
29333
|
+
* @version 149.0.0
|
|
29385
29334
|
*/
|
|
29386
29335
|
|
|
29387
29336
|
/**
|
|
@@ -29532,7 +29481,7 @@ class NotificationsApi {
|
|
|
29532
29481
|
/**
|
|
29533
29482
|
* Notifications service.
|
|
29534
29483
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
29535
|
-
* @version
|
|
29484
|
+
* @version 149.0.0
|
|
29536
29485
|
*/
|
|
29537
29486
|
|
|
29538
29487
|
/**
|
|
@@ -29757,7 +29706,7 @@ class OAuthApi {
|
|
|
29757
29706
|
/**
|
|
29758
29707
|
* OAuth service.
|
|
29759
29708
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
29760
|
-
* @version
|
|
29709
|
+
* @version 149.0.0
|
|
29761
29710
|
*/
|
|
29762
29711
|
|
|
29763
29712
|
/**
|
|
@@ -30123,7 +30072,7 @@ class ObjectsApi {
|
|
|
30123
30072
|
/**
|
|
30124
30073
|
* Objects service.
|
|
30125
30074
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
30126
|
-
* @version
|
|
30075
|
+
* @version 149.0.0
|
|
30127
30076
|
*/
|
|
30128
30077
|
|
|
30129
30078
|
/**
|
|
@@ -30394,7 +30343,7 @@ class OrganizationApi {
|
|
|
30394
30343
|
/**
|
|
30395
30344
|
* Organization service.
|
|
30396
30345
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
30397
|
-
* @version
|
|
30346
|
+
* @version 149.0.0
|
|
30398
30347
|
*/
|
|
30399
30348
|
|
|
30400
30349
|
/**
|
|
@@ -30797,7 +30746,7 @@ class OrganizationAuthorizationApi {
|
|
|
30797
30746
|
/**
|
|
30798
30747
|
* OrganizationAuthorization service.
|
|
30799
30748
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
30800
|
-
* @version
|
|
30749
|
+
* @version 149.0.0
|
|
30801
30750
|
*/
|
|
30802
30751
|
|
|
30803
30752
|
/**
|
|
@@ -31722,7 +31671,7 @@ class OutboundApi {
|
|
|
31722
31671
|
/**
|
|
31723
31672
|
* Outbound service.
|
|
31724
31673
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
31725
|
-
* @version
|
|
31674
|
+
* @version 149.0.0
|
|
31726
31675
|
*/
|
|
31727
31676
|
|
|
31728
31677
|
/**
|
|
@@ -35111,7 +35060,7 @@ class PresenceApi {
|
|
|
35111
35060
|
/**
|
|
35112
35061
|
* Presence service.
|
|
35113
35062
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
35114
|
-
* @version
|
|
35063
|
+
* @version 149.0.0
|
|
35115
35064
|
*/
|
|
35116
35065
|
|
|
35117
35066
|
/**
|
|
@@ -35429,11 +35378,249 @@ class PresenceApi {
|
|
|
35429
35378
|
|
|
35430
35379
|
}
|
|
35431
35380
|
|
|
35381
|
+
class ProcessAutomationApi {
|
|
35382
|
+
/**
|
|
35383
|
+
* ProcessAutomation service.
|
|
35384
|
+
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
35385
|
+
* @version 149.0.0
|
|
35386
|
+
*/
|
|
35387
|
+
|
|
35388
|
+
/**
|
|
35389
|
+
* Constructs a new ProcessAutomationApi.
|
|
35390
|
+
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
35391
|
+
* @class
|
|
35392
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
35393
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
35394
|
+
*/
|
|
35395
|
+
constructor(apiClient) {
|
|
35396
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
35397
|
+
}
|
|
35398
|
+
|
|
35399
|
+
|
|
35400
|
+
/**
|
|
35401
|
+
* Delete a Trigger
|
|
35402
|
+
*
|
|
35403
|
+
* @param {String} triggerId triggerId
|
|
35404
|
+
*/
|
|
35405
|
+
deleteProcessautomationTrigger(triggerId) {
|
|
35406
|
+
// verify the required parameter 'triggerId' is set
|
|
35407
|
+
if (triggerId === undefined || triggerId === null) {
|
|
35408
|
+
throw 'Missing the required parameter "triggerId" when calling deleteProcessautomationTrigger';
|
|
35409
|
+
}
|
|
35410
|
+
|
|
35411
|
+
return this.apiClient.callApi(
|
|
35412
|
+
'/api/v2/processautomation/triggers/{triggerId}',
|
|
35413
|
+
'DELETE',
|
|
35414
|
+
{ 'triggerId': triggerId },
|
|
35415
|
+
{ },
|
|
35416
|
+
{ },
|
|
35417
|
+
{ },
|
|
35418
|
+
null,
|
|
35419
|
+
['PureCloud OAuth'],
|
|
35420
|
+
['application/json'],
|
|
35421
|
+
['application/json']
|
|
35422
|
+
);
|
|
35423
|
+
}
|
|
35424
|
+
|
|
35425
|
+
/**
|
|
35426
|
+
* Retrieve a single Trigger matching id.
|
|
35427
|
+
*
|
|
35428
|
+
* @param {String} triggerId triggerId
|
|
35429
|
+
*/
|
|
35430
|
+
getProcessautomationTrigger(triggerId) {
|
|
35431
|
+
// verify the required parameter 'triggerId' is set
|
|
35432
|
+
if (triggerId === undefined || triggerId === null) {
|
|
35433
|
+
throw 'Missing the required parameter "triggerId" when calling getProcessautomationTrigger';
|
|
35434
|
+
}
|
|
35435
|
+
|
|
35436
|
+
return this.apiClient.callApi(
|
|
35437
|
+
'/api/v2/processautomation/triggers/{triggerId}',
|
|
35438
|
+
'GET',
|
|
35439
|
+
{ 'triggerId': triggerId },
|
|
35440
|
+
{ },
|
|
35441
|
+
{ },
|
|
35442
|
+
{ },
|
|
35443
|
+
null,
|
|
35444
|
+
['PureCloud OAuth'],
|
|
35445
|
+
['application/json'],
|
|
35446
|
+
['application/json']
|
|
35447
|
+
);
|
|
35448
|
+
}
|
|
35449
|
+
|
|
35450
|
+
/**
|
|
35451
|
+
* Retrieves all triggers
|
|
35452
|
+
*
|
|
35453
|
+
* @param {Object} opts Optional parameters
|
|
35454
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
35455
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
35456
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
35457
|
+
* @param {String} opts.topicName Topic name
|
|
35458
|
+
* @param {Boolean} opts.enabled Boolean indicating desired enabled state of triggers
|
|
35459
|
+
*/
|
|
35460
|
+
getProcessautomationTriggers(opts) {
|
|
35461
|
+
opts = opts || {};
|
|
35462
|
+
|
|
35463
|
+
|
|
35464
|
+
return this.apiClient.callApi(
|
|
35465
|
+
'/api/v2/processautomation/triggers',
|
|
35466
|
+
'GET',
|
|
35467
|
+
{ },
|
|
35468
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'topicName': opts['topicName'],'enabled': opts['enabled'] },
|
|
35469
|
+
{ },
|
|
35470
|
+
{ },
|
|
35471
|
+
null,
|
|
35472
|
+
['PureCloud OAuth'],
|
|
35473
|
+
['application/json'],
|
|
35474
|
+
['application/json']
|
|
35475
|
+
);
|
|
35476
|
+
}
|
|
35477
|
+
|
|
35478
|
+
/**
|
|
35479
|
+
* Get topics available for organization
|
|
35480
|
+
*
|
|
35481
|
+
* @param {Object} opts Optional parameters
|
|
35482
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
35483
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
35484
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
35485
|
+
*/
|
|
35486
|
+
getProcessautomationTriggersTopics(opts) {
|
|
35487
|
+
opts = opts || {};
|
|
35488
|
+
|
|
35489
|
+
|
|
35490
|
+
return this.apiClient.callApi(
|
|
35491
|
+
'/api/v2/processautomation/triggers/topics',
|
|
35492
|
+
'GET',
|
|
35493
|
+
{ },
|
|
35494
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
35495
|
+
{ },
|
|
35496
|
+
{ },
|
|
35497
|
+
null,
|
|
35498
|
+
['PureCloud OAuth'],
|
|
35499
|
+
['application/json'],
|
|
35500
|
+
['application/json']
|
|
35501
|
+
);
|
|
35502
|
+
}
|
|
35503
|
+
|
|
35504
|
+
/**
|
|
35505
|
+
* Test the matching of a Trigger based on provided event body
|
|
35506
|
+
*
|
|
35507
|
+
* @param {String} triggerId triggerId
|
|
35508
|
+
* @param {Object} opts Optional parameters
|
|
35509
|
+
* @param {String} opts.body eventBody
|
|
35510
|
+
*/
|
|
35511
|
+
postProcessautomationTriggerTest(triggerId, opts) {
|
|
35512
|
+
opts = opts || {};
|
|
35513
|
+
|
|
35514
|
+
// verify the required parameter 'triggerId' is set
|
|
35515
|
+
if (triggerId === undefined || triggerId === null) {
|
|
35516
|
+
throw 'Missing the required parameter "triggerId" when calling postProcessautomationTriggerTest';
|
|
35517
|
+
}
|
|
35518
|
+
|
|
35519
|
+
return this.apiClient.callApi(
|
|
35520
|
+
'/api/v2/processautomation/triggers/{triggerId}/test',
|
|
35521
|
+
'POST',
|
|
35522
|
+
{ 'triggerId': triggerId },
|
|
35523
|
+
{ },
|
|
35524
|
+
{ },
|
|
35525
|
+
{ },
|
|
35526
|
+
opts['body'],
|
|
35527
|
+
['PureCloud OAuth'],
|
|
35528
|
+
['application/json'],
|
|
35529
|
+
['application/json']
|
|
35530
|
+
);
|
|
35531
|
+
}
|
|
35532
|
+
|
|
35533
|
+
/**
|
|
35534
|
+
* Create a Trigger
|
|
35535
|
+
*
|
|
35536
|
+
* @param {Object} body Input used to create a Trigger.
|
|
35537
|
+
*/
|
|
35538
|
+
postProcessautomationTriggers(body) {
|
|
35539
|
+
// verify the required parameter 'body' is set
|
|
35540
|
+
if (body === undefined || body === null) {
|
|
35541
|
+
throw 'Missing the required parameter "body" when calling postProcessautomationTriggers';
|
|
35542
|
+
}
|
|
35543
|
+
|
|
35544
|
+
return this.apiClient.callApi(
|
|
35545
|
+
'/api/v2/processautomation/triggers',
|
|
35546
|
+
'POST',
|
|
35547
|
+
{ },
|
|
35548
|
+
{ },
|
|
35549
|
+
{ },
|
|
35550
|
+
{ },
|
|
35551
|
+
body,
|
|
35552
|
+
['PureCloud OAuth'],
|
|
35553
|
+
['application/json'],
|
|
35554
|
+
['application/json']
|
|
35555
|
+
);
|
|
35556
|
+
}
|
|
35557
|
+
|
|
35558
|
+
/**
|
|
35559
|
+
* Test the matching of all organization Triggers on given topic using provided event body
|
|
35560
|
+
*
|
|
35561
|
+
* @param {String} topicName topicName
|
|
35562
|
+
* @param {Object} opts Optional parameters
|
|
35563
|
+
* @param {String} opts.body eventBody
|
|
35564
|
+
*/
|
|
35565
|
+
postProcessautomationTriggersTopicTest(topicName, opts) {
|
|
35566
|
+
opts = opts || {};
|
|
35567
|
+
|
|
35568
|
+
// verify the required parameter 'topicName' is set
|
|
35569
|
+
if (topicName === undefined || topicName === null) {
|
|
35570
|
+
throw 'Missing the required parameter "topicName" when calling postProcessautomationTriggersTopicTest';
|
|
35571
|
+
}
|
|
35572
|
+
|
|
35573
|
+
return this.apiClient.callApi(
|
|
35574
|
+
'/api/v2/processautomation/triggers/topics/{topicName}/test',
|
|
35575
|
+
'POST',
|
|
35576
|
+
{ 'topicName': topicName },
|
|
35577
|
+
{ },
|
|
35578
|
+
{ },
|
|
35579
|
+
{ },
|
|
35580
|
+
opts['body'],
|
|
35581
|
+
['PureCloud OAuth'],
|
|
35582
|
+
['application/json'],
|
|
35583
|
+
['application/json']
|
|
35584
|
+
);
|
|
35585
|
+
}
|
|
35586
|
+
|
|
35587
|
+
/**
|
|
35588
|
+
* Update a Trigger
|
|
35589
|
+
*
|
|
35590
|
+
* @param {String} triggerId triggerId
|
|
35591
|
+
* @param {Object} body Input to update Trigger. (topicName cannot be updated, a new trigger must be created to use a new topicName)
|
|
35592
|
+
*/
|
|
35593
|
+
putProcessautomationTrigger(triggerId, body) {
|
|
35594
|
+
// verify the required parameter 'triggerId' is set
|
|
35595
|
+
if (triggerId === undefined || triggerId === null) {
|
|
35596
|
+
throw 'Missing the required parameter "triggerId" when calling putProcessautomationTrigger';
|
|
35597
|
+
}
|
|
35598
|
+
// verify the required parameter 'body' is set
|
|
35599
|
+
if (body === undefined || body === null) {
|
|
35600
|
+
throw 'Missing the required parameter "body" when calling putProcessautomationTrigger';
|
|
35601
|
+
}
|
|
35602
|
+
|
|
35603
|
+
return this.apiClient.callApi(
|
|
35604
|
+
'/api/v2/processautomation/triggers/{triggerId}',
|
|
35605
|
+
'PUT',
|
|
35606
|
+
{ 'triggerId': triggerId },
|
|
35607
|
+
{ },
|
|
35608
|
+
{ },
|
|
35609
|
+
{ },
|
|
35610
|
+
body,
|
|
35611
|
+
['PureCloud OAuth'],
|
|
35612
|
+
['application/json'],
|
|
35613
|
+
['application/json']
|
|
35614
|
+
);
|
|
35615
|
+
}
|
|
35616
|
+
|
|
35617
|
+
}
|
|
35618
|
+
|
|
35432
35619
|
class QualityApi {
|
|
35433
35620
|
/**
|
|
35434
35621
|
* Quality service.
|
|
35435
35622
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
35436
|
-
* @version
|
|
35623
|
+
* @version 149.0.0
|
|
35437
35624
|
*/
|
|
35438
35625
|
|
|
35439
35626
|
/**
|
|
@@ -37011,7 +37198,7 @@ class RecordingApi {
|
|
|
37011
37198
|
/**
|
|
37012
37199
|
* Recording service.
|
|
37013
37200
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
37014
|
-
* @version
|
|
37201
|
+
* @version 149.0.0
|
|
37015
37202
|
*/
|
|
37016
37203
|
|
|
37017
37204
|
/**
|
|
@@ -38365,8 +38552,12 @@ class RecordingApi {
|
|
|
38365
38552
|
* @param {String} conversationId Conversation ID
|
|
38366
38553
|
* @param {String} recordingId Recording ID
|
|
38367
38554
|
* @param {Object} body recording
|
|
38555
|
+
* @param {Object} opts Optional parameters
|
|
38556
|
+
* @param {Boolean} opts.clearExport Whether to clear the pending export for the recording
|
|
38368
38557
|
*/
|
|
38369
|
-
putConversationRecording(conversationId, recordingId, body) {
|
|
38558
|
+
putConversationRecording(conversationId, recordingId, body, opts) {
|
|
38559
|
+
opts = opts || {};
|
|
38560
|
+
|
|
38370
38561
|
// verify the required parameter 'conversationId' is set
|
|
38371
38562
|
if (conversationId === undefined || conversationId === null) {
|
|
38372
38563
|
throw 'Missing the required parameter "conversationId" when calling putConversationRecording';
|
|
@@ -38384,7 +38575,7 @@ class RecordingApi {
|
|
|
38384
38575
|
'/api/v2/conversations/{conversationId}/recordings/{recordingId}',
|
|
38385
38576
|
'PUT',
|
|
38386
38577
|
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
38387
|
-
{
|
|
38578
|
+
{ 'clearExport': opts['clearExport'] },
|
|
38388
38579
|
{ },
|
|
38389
38580
|
{ },
|
|
38390
38581
|
body,
|
|
@@ -38694,7 +38885,7 @@ class ResponseManagementApi {
|
|
|
38694
38885
|
/**
|
|
38695
38886
|
* ResponseManagement service.
|
|
38696
38887
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
38697
|
-
* @version
|
|
38888
|
+
* @version 149.0.0
|
|
38698
38889
|
*/
|
|
38699
38890
|
|
|
38700
38891
|
/**
|
|
@@ -39178,7 +39369,7 @@ class RoutingApi {
|
|
|
39178
39369
|
/**
|
|
39179
39370
|
* Routing service.
|
|
39180
39371
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
39181
|
-
* @version
|
|
39372
|
+
* @version 149.0.0
|
|
39182
39373
|
*/
|
|
39183
39374
|
|
|
39184
39375
|
/**
|
|
@@ -39998,6 +40189,61 @@ class RoutingApi {
|
|
|
39998
40189
|
);
|
|
39999
40190
|
}
|
|
40000
40191
|
|
|
40192
|
+
/**
|
|
40193
|
+
* Retrieve Predictor Model Features.
|
|
40194
|
+
*
|
|
40195
|
+
* @param {String} predictorId Predictor ID
|
|
40196
|
+
* @param {String} modelId Model ID
|
|
40197
|
+
*/
|
|
40198
|
+
getRoutingPredictorModelFeatures(predictorId, modelId) {
|
|
40199
|
+
// verify the required parameter 'predictorId' is set
|
|
40200
|
+
if (predictorId === undefined || predictorId === null) {
|
|
40201
|
+
throw 'Missing the required parameter "predictorId" when calling getRoutingPredictorModelFeatures';
|
|
40202
|
+
}
|
|
40203
|
+
// verify the required parameter 'modelId' is set
|
|
40204
|
+
if (modelId === undefined || modelId === null) {
|
|
40205
|
+
throw 'Missing the required parameter "modelId" when calling getRoutingPredictorModelFeatures';
|
|
40206
|
+
}
|
|
40207
|
+
|
|
40208
|
+
return this.apiClient.callApi(
|
|
40209
|
+
'/api/v2/routing/predictors/{predictorId}/models/{modelId}/features',
|
|
40210
|
+
'GET',
|
|
40211
|
+
{ 'predictorId': predictorId,'modelId': modelId },
|
|
40212
|
+
{ },
|
|
40213
|
+
{ },
|
|
40214
|
+
{ },
|
|
40215
|
+
null,
|
|
40216
|
+
['PureCloud OAuth'],
|
|
40217
|
+
['application/json'],
|
|
40218
|
+
['application/json']
|
|
40219
|
+
);
|
|
40220
|
+
}
|
|
40221
|
+
|
|
40222
|
+
/**
|
|
40223
|
+
* Retrieve Predictor Models and Top Features.
|
|
40224
|
+
*
|
|
40225
|
+
* @param {String} predictorId Predictor ID
|
|
40226
|
+
*/
|
|
40227
|
+
getRoutingPredictorModels(predictorId) {
|
|
40228
|
+
// verify the required parameter 'predictorId' is set
|
|
40229
|
+
if (predictorId === undefined || predictorId === null) {
|
|
40230
|
+
throw 'Missing the required parameter "predictorId" when calling getRoutingPredictorModels';
|
|
40231
|
+
}
|
|
40232
|
+
|
|
40233
|
+
return this.apiClient.callApi(
|
|
40234
|
+
'/api/v2/routing/predictors/{predictorId}/models',
|
|
40235
|
+
'GET',
|
|
40236
|
+
{ 'predictorId': predictorId },
|
|
40237
|
+
{ },
|
|
40238
|
+
{ },
|
|
40239
|
+
{ },
|
|
40240
|
+
null,
|
|
40241
|
+
['PureCloud OAuth'],
|
|
40242
|
+
['application/json'],
|
|
40243
|
+
['application/json']
|
|
40244
|
+
);
|
|
40245
|
+
}
|
|
40246
|
+
|
|
40001
40247
|
/**
|
|
40002
40248
|
* Retrieve all predictors.
|
|
40003
40249
|
*
|
|
@@ -42119,7 +42365,7 @@ class SCIMApi {
|
|
|
42119
42365
|
/**
|
|
42120
42366
|
* SCIM service.
|
|
42121
42367
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
42122
|
-
* @version
|
|
42368
|
+
* @version 149.0.0
|
|
42123
42369
|
*/
|
|
42124
42370
|
|
|
42125
42371
|
/**
|
|
@@ -42996,7 +43242,7 @@ class ScriptsApi {
|
|
|
42996
43242
|
/**
|
|
42997
43243
|
* Scripts service.
|
|
42998
43244
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
42999
|
-
* @version
|
|
43245
|
+
* @version 149.0.0
|
|
43000
43246
|
*/
|
|
43001
43247
|
|
|
43002
43248
|
/**
|
|
@@ -43415,7 +43661,7 @@ class SearchApi {
|
|
|
43415
43661
|
/**
|
|
43416
43662
|
* Search service.
|
|
43417
43663
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
43418
|
-
* @version
|
|
43664
|
+
* @version 149.0.0
|
|
43419
43665
|
*/
|
|
43420
43666
|
|
|
43421
43667
|
/**
|
|
@@ -43975,7 +44221,7 @@ class SpeechTextAnalyticsApi {
|
|
|
43975
44221
|
/**
|
|
43976
44222
|
* SpeechTextAnalytics service.
|
|
43977
44223
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
43978
|
-
* @version
|
|
44224
|
+
* @version 149.0.0
|
|
43979
44225
|
*/
|
|
43980
44226
|
|
|
43981
44227
|
/**
|
|
@@ -44829,7 +45075,7 @@ class StationsApi {
|
|
|
44829
45075
|
/**
|
|
44830
45076
|
* Stations service.
|
|
44831
45077
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
44832
|
-
* @version
|
|
45078
|
+
* @version 149.0.0
|
|
44833
45079
|
*/
|
|
44834
45080
|
|
|
44835
45081
|
/**
|
|
@@ -44976,7 +45222,7 @@ class SuggestApi {
|
|
|
44976
45222
|
/**
|
|
44977
45223
|
* Suggest service.
|
|
44978
45224
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
44979
|
-
* @version
|
|
45225
|
+
* @version 149.0.0
|
|
44980
45226
|
*/
|
|
44981
45227
|
|
|
44982
45228
|
/**
|
|
@@ -45115,7 +45361,7 @@ class TeamsApi {
|
|
|
45115
45361
|
/**
|
|
45116
45362
|
* Teams service.
|
|
45117
45363
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
45118
|
-
* @version
|
|
45364
|
+
* @version 149.0.0
|
|
45119
45365
|
*/
|
|
45120
45366
|
|
|
45121
45367
|
/**
|
|
@@ -45294,7 +45540,7 @@ class TelephonyApi {
|
|
|
45294
45540
|
/**
|
|
45295
45541
|
* Telephony service.
|
|
45296
45542
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
45297
|
-
* @version
|
|
45543
|
+
* @version 149.0.0
|
|
45298
45544
|
*/
|
|
45299
45545
|
|
|
45300
45546
|
/**
|
|
@@ -45402,7 +45648,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
45402
45648
|
/**
|
|
45403
45649
|
* TelephonyProvidersEdge service.
|
|
45404
45650
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
45405
|
-
* @version
|
|
45651
|
+
* @version 149.0.0
|
|
45406
45652
|
*/
|
|
45407
45653
|
|
|
45408
45654
|
/**
|
|
@@ -49035,7 +49281,7 @@ class TextbotsApi {
|
|
|
49035
49281
|
/**
|
|
49036
49282
|
* Textbots service.
|
|
49037
49283
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
49038
|
-
* @version
|
|
49284
|
+
* @version 149.0.0
|
|
49039
49285
|
*/
|
|
49040
49286
|
|
|
49041
49287
|
/**
|
|
@@ -49163,7 +49409,7 @@ class TokensApi {
|
|
|
49163
49409
|
/**
|
|
49164
49410
|
* Tokens service.
|
|
49165
49411
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
49166
|
-
* @version
|
|
49412
|
+
* @version 149.0.0
|
|
49167
49413
|
*/
|
|
49168
49414
|
|
|
49169
49415
|
/**
|
|
@@ -49269,7 +49515,7 @@ class UploadsApi {
|
|
|
49269
49515
|
/**
|
|
49270
49516
|
* Uploads service.
|
|
49271
49517
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
49272
|
-
* @version
|
|
49518
|
+
* @version 149.0.0
|
|
49273
49519
|
*/
|
|
49274
49520
|
|
|
49275
49521
|
/**
|
|
@@ -49445,7 +49691,7 @@ class UsageApi {
|
|
|
49445
49691
|
/**
|
|
49446
49692
|
* Usage service.
|
|
49447
49693
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
49448
|
-
* @version
|
|
49694
|
+
* @version 149.0.0
|
|
49449
49695
|
*/
|
|
49450
49696
|
|
|
49451
49697
|
/**
|
|
@@ -49516,7 +49762,7 @@ class UserRecordingsApi {
|
|
|
49516
49762
|
/**
|
|
49517
49763
|
* UserRecordings service.
|
|
49518
49764
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
49519
|
-
* @version
|
|
49765
|
+
* @version 149.0.0
|
|
49520
49766
|
*/
|
|
49521
49767
|
|
|
49522
49768
|
/**
|
|
@@ -49591,6 +49837,7 @@ class UserRecordingsApi {
|
|
|
49591
49837
|
* @param {String} recordingId User Recording ID
|
|
49592
49838
|
* @param {Object} opts Optional parameters
|
|
49593
49839
|
* @param {Object} opts.formatId The desired media format. (default to WEBM)
|
|
49840
|
+
* @param {Boolean} opts.async When set to true, api will return 202 response until the recording is ready for download
|
|
49594
49841
|
*/
|
|
49595
49842
|
getUserrecordingMedia(recordingId, opts) {
|
|
49596
49843
|
opts = opts || {};
|
|
@@ -49604,7 +49851,7 @@ class UserRecordingsApi {
|
|
|
49604
49851
|
'/api/v2/userrecordings/{recordingId}/media',
|
|
49605
49852
|
'GET',
|
|
49606
49853
|
{ 'recordingId': recordingId },
|
|
49607
|
-
{ 'formatId': opts['formatId'] },
|
|
49854
|
+
{ 'formatId': opts['formatId'],'async': opts['async'] },
|
|
49608
49855
|
{ },
|
|
49609
49856
|
{ },
|
|
49610
49857
|
null,
|
|
@@ -49700,7 +49947,7 @@ class UsersApi {
|
|
|
49700
49947
|
/**
|
|
49701
49948
|
* Users service.
|
|
49702
49949
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
49703
|
-
* @version
|
|
49950
|
+
* @version 149.0.0
|
|
49704
49951
|
*/
|
|
49705
49952
|
|
|
49706
49953
|
/**
|
|
@@ -52032,7 +52279,7 @@ class UtilitiesApi {
|
|
|
52032
52279
|
/**
|
|
52033
52280
|
* Utilities service.
|
|
52034
52281
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
52035
|
-
* @version
|
|
52282
|
+
* @version 149.0.0
|
|
52036
52283
|
*/
|
|
52037
52284
|
|
|
52038
52285
|
/**
|
|
@@ -52143,7 +52390,7 @@ class VoicemailApi {
|
|
|
52143
52390
|
/**
|
|
52144
52391
|
* Voicemail service.
|
|
52145
52392
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
52146
|
-
* @version
|
|
52393
|
+
* @version 149.0.0
|
|
52147
52394
|
*/
|
|
52148
52395
|
|
|
52149
52396
|
/**
|
|
@@ -52810,7 +53057,7 @@ class WebChatApi {
|
|
|
52810
53057
|
/**
|
|
52811
53058
|
* WebChat service.
|
|
52812
53059
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
52813
|
-
* @version
|
|
53060
|
+
* @version 149.0.0
|
|
52814
53061
|
*/
|
|
52815
53062
|
|
|
52816
53063
|
/**
|
|
@@ -53354,7 +53601,7 @@ class WebDeploymentsApi {
|
|
|
53354
53601
|
/**
|
|
53355
53602
|
* WebDeployments service.
|
|
53356
53603
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
53357
|
-
* @version
|
|
53604
|
+
* @version 149.0.0
|
|
53358
53605
|
*/
|
|
53359
53606
|
|
|
53360
53607
|
/**
|
|
@@ -53580,14 +53827,18 @@ class WebDeploymentsApi {
|
|
|
53580
53827
|
/**
|
|
53581
53828
|
* Get deployments
|
|
53582
53829
|
*
|
|
53830
|
+
* @param {Object} opts Optional parameters
|
|
53831
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected. Valid values:
|
|
53583
53832
|
*/
|
|
53584
|
-
getWebdeploymentsDeployments() {
|
|
53833
|
+
getWebdeploymentsDeployments(opts) {
|
|
53834
|
+
opts = opts || {};
|
|
53835
|
+
|
|
53585
53836
|
|
|
53586
53837
|
return this.apiClient.callApi(
|
|
53587
53838
|
'/api/v2/webdeployments/deployments',
|
|
53588
53839
|
'GET',
|
|
53589
53840
|
{ },
|
|
53590
|
-
{
|
|
53841
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
53591
53842
|
{ },
|
|
53592
53843
|
{ },
|
|
53593
53844
|
null,
|
|
@@ -53738,7 +53989,7 @@ class WebMessagingApi {
|
|
|
53738
53989
|
/**
|
|
53739
53990
|
* WebMessaging service.
|
|
53740
53991
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
53741
|
-
* @version
|
|
53992
|
+
* @version 149.0.0
|
|
53742
53993
|
*/
|
|
53743
53994
|
|
|
53744
53995
|
/**
|
|
@@ -53784,7 +54035,7 @@ class WidgetsApi {
|
|
|
53784
54035
|
/**
|
|
53785
54036
|
* Widgets service.
|
|
53786
54037
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
53787
|
-
* @version
|
|
54038
|
+
* @version 149.0.0
|
|
53788
54039
|
*/
|
|
53789
54040
|
|
|
53790
54041
|
/**
|
|
@@ -53930,7 +54181,7 @@ class WorkforceManagementApi {
|
|
|
53930
54181
|
/**
|
|
53931
54182
|
* WorkforceManagement service.
|
|
53932
54183
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
53933
|
-
* @version
|
|
54184
|
+
* @version 149.0.0
|
|
53934
54185
|
*/
|
|
53935
54186
|
|
|
53936
54187
|
/**
|
|
@@ -58206,7 +58457,7 @@ class WorkforceManagementApi {
|
|
|
58206
58457
|
* </pre>
|
|
58207
58458
|
* </p>
|
|
58208
58459
|
* @module purecloud-platform-client-v2/index
|
|
58209
|
-
* @version
|
|
58460
|
+
* @version 149.0.0
|
|
58210
58461
|
*/
|
|
58211
58462
|
class platformClient {
|
|
58212
58463
|
constructor() {
|
|
@@ -58405,6 +58656,11 @@ class platformClient {
|
|
|
58405
58656
|
* @property {module:purecloud-platform-client-v2/api/PresenceApi}
|
|
58406
58657
|
*/
|
|
58407
58658
|
this.PresenceApi = PresenceApi;
|
|
58659
|
+
/**
|
|
58660
|
+
* The ProcessAutomationApi service constructor.
|
|
58661
|
+
* @property {module:purecloud-platform-client-v2/api/ProcessAutomationApi}
|
|
58662
|
+
*/
|
|
58663
|
+
this.ProcessAutomationApi = ProcessAutomationApi;
|
|
58408
58664
|
/**
|
|
58409
58665
|
* The QualityApi service constructor.
|
|
58410
58666
|
* @property {module:purecloud-platform-client-v2/api/QualityApi}
|