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
|
@@ -399,7 +399,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
399
399
|
|
|
400
400
|
/**
|
|
401
401
|
* @module purecloud-platform-client-v2/ApiClient
|
|
402
|
-
* @version
|
|
402
|
+
* @version 149.0.0
|
|
403
403
|
*/
|
|
404
404
|
class ApiClient {
|
|
405
405
|
/**
|
|
@@ -1478,7 +1478,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1478
1478
|
/**
|
|
1479
1479
|
* Alerting service.
|
|
1480
1480
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1481
|
-
* @version
|
|
1481
|
+
* @version 149.0.0
|
|
1482
1482
|
*/
|
|
1483
1483
|
|
|
1484
1484
|
/**
|
|
@@ -1792,7 +1792,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1792
1792
|
/**
|
|
1793
1793
|
* Analytics service.
|
|
1794
1794
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1795
|
-
* @version
|
|
1795
|
+
* @version 149.0.0
|
|
1796
1796
|
*/
|
|
1797
1797
|
|
|
1798
1798
|
/**
|
|
@@ -3019,7 +3019,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
3019
3019
|
/**
|
|
3020
3020
|
* Architect service.
|
|
3021
3021
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
3022
|
-
* @version
|
|
3022
|
+
* @version 149.0.0
|
|
3023
3023
|
*/
|
|
3024
3024
|
|
|
3025
3025
|
/**
|
|
@@ -6065,7 +6065,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6065
6065
|
/**
|
|
6066
6066
|
* Audit service.
|
|
6067
6067
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
6068
|
-
* @version
|
|
6068
|
+
* @version 149.0.0
|
|
6069
6069
|
*/
|
|
6070
6070
|
|
|
6071
6071
|
/**
|
|
@@ -6236,7 +6236,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6236
6236
|
/**
|
|
6237
6237
|
* Authorization service.
|
|
6238
6238
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6239
|
-
* @version
|
|
6239
|
+
* @version 149.0.0
|
|
6240
6240
|
*/
|
|
6241
6241
|
|
|
6242
6242
|
/**
|
|
@@ -7419,7 +7419,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7419
7419
|
/**
|
|
7420
7420
|
* Billing service.
|
|
7421
7421
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7422
|
-
* @version
|
|
7422
|
+
* @version 149.0.0
|
|
7423
7423
|
*/
|
|
7424
7424
|
|
|
7425
7425
|
/**
|
|
@@ -7499,7 +7499,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7499
7499
|
/**
|
|
7500
7500
|
* Chat service.
|
|
7501
7501
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7502
|
-
* @version
|
|
7502
|
+
* @version 149.0.0
|
|
7503
7503
|
*/
|
|
7504
7504
|
|
|
7505
7505
|
/**
|
|
@@ -7590,7 +7590,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7590
7590
|
/**
|
|
7591
7591
|
* Coaching service.
|
|
7592
7592
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7593
|
-
* @version
|
|
7593
|
+
* @version 149.0.0
|
|
7594
7594
|
*/
|
|
7595
7595
|
|
|
7596
7596
|
/**
|
|
@@ -8167,7 +8167,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
8167
8167
|
/**
|
|
8168
8168
|
* ContentManagement service.
|
|
8169
8169
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8170
|
-
* @version
|
|
8170
|
+
* @version 149.0.0
|
|
8171
8171
|
*/
|
|
8172
8172
|
|
|
8173
8173
|
/**
|
|
@@ -9307,7 +9307,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
9307
9307
|
/**
|
|
9308
9308
|
* Conversations service.
|
|
9309
9309
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9310
|
-
* @version
|
|
9310
|
+
* @version 149.0.0
|
|
9311
9311
|
*/
|
|
9312
9312
|
|
|
9313
9313
|
/**
|
|
@@ -14451,7 +14451,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14451
14451
|
/**
|
|
14452
14452
|
* DataExtensions service.
|
|
14453
14453
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
14454
|
-
* @version
|
|
14454
|
+
* @version 149.0.0
|
|
14455
14455
|
*/
|
|
14456
14456
|
|
|
14457
14457
|
/**
|
|
@@ -14537,7 +14537,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14537
14537
|
/**
|
|
14538
14538
|
* ExternalContacts service.
|
|
14539
14539
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
14540
|
-
* @version
|
|
14540
|
+
* @version 149.0.0
|
|
14541
14541
|
*/
|
|
14542
14542
|
|
|
14543
14543
|
/**
|
|
@@ -16280,7 +16280,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16280
16280
|
/**
|
|
16281
16281
|
* Fax service.
|
|
16282
16282
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
16283
|
-
* @version
|
|
16283
|
+
* @version 149.0.0
|
|
16284
16284
|
*/
|
|
16285
16285
|
|
|
16286
16286
|
/**
|
|
@@ -16451,7 +16451,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16451
16451
|
/**
|
|
16452
16452
|
* Flows service.
|
|
16453
16453
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
16454
|
-
* @version
|
|
16454
|
+
* @version 149.0.0
|
|
16455
16455
|
*/
|
|
16456
16456
|
|
|
16457
16457
|
/**
|
|
@@ -16522,7 +16522,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16522
16522
|
/**
|
|
16523
16523
|
* Gamification service.
|
|
16524
16524
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
16525
|
-
* @version
|
|
16525
|
+
* @version 149.0.0
|
|
16526
16526
|
*/
|
|
16527
16527
|
|
|
16528
16528
|
/**
|
|
@@ -16815,31 +16815,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16815
16815
|
);
|
|
16816
16816
|
}
|
|
16817
16817
|
|
|
16818
|
-
/**
|
|
16819
|
-
* All gamified metrics for a given profile
|
|
16820
|
-
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
|
|
16821
|
-
* @param {Object} opts Optional parameters
|
|
16822
|
-
* @param {String} opts.performanceProfileId The profile id of the metrics you are trying to retrieve. The DEFAULT profile is used if nothing is given.
|
|
16823
|
-
* @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
|
|
16824
|
-
*/
|
|
16825
|
-
getGamificationMetrics(opts) {
|
|
16826
|
-
opts = opts || {};
|
|
16827
|
-
|
|
16828
|
-
|
|
16829
|
-
return this.apiClient.callApi(
|
|
16830
|
-
'/api/v2/gamification/metrics',
|
|
16831
|
-
'GET',
|
|
16832
|
-
{ },
|
|
16833
|
-
{ 'performanceProfileId': opts['performanceProfileId'],'workday': opts['workday'] },
|
|
16834
|
-
{ },
|
|
16835
|
-
{ },
|
|
16836
|
-
null,
|
|
16837
|
-
['PureCloud OAuth'],
|
|
16838
|
-
['application/json'],
|
|
16839
|
-
['application/json']
|
|
16840
|
-
);
|
|
16841
|
-
}
|
|
16842
|
-
|
|
16843
16818
|
/**
|
|
16844
16819
|
* Performance profile by id
|
|
16845
16820
|
*
|
|
@@ -17895,31 +17870,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17895
17870
|
);
|
|
17896
17871
|
}
|
|
17897
17872
|
|
|
17898
|
-
/**
|
|
17899
|
-
* Creates a gamified metric with a given metric definition and metric objective
|
|
17900
|
-
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics instead.
|
|
17901
|
-
* @param {Object} body Metric
|
|
17902
|
-
*/
|
|
17903
|
-
postGamificationMetrics(body) {
|
|
17904
|
-
// verify the required parameter 'body' is set
|
|
17905
|
-
if (body === undefined || body === null) {
|
|
17906
|
-
throw 'Missing the required parameter "body" when calling postGamificationMetrics';
|
|
17907
|
-
}
|
|
17908
|
-
|
|
17909
|
-
return this.apiClient.callApi(
|
|
17910
|
-
'/api/v2/gamification/metrics',
|
|
17911
|
-
'POST',
|
|
17912
|
-
{ },
|
|
17913
|
-
{ },
|
|
17914
|
-
{ },
|
|
17915
|
-
{ },
|
|
17916
|
-
body,
|
|
17917
|
-
['PureCloud OAuth'],
|
|
17918
|
-
['application/json'],
|
|
17919
|
-
['application/json']
|
|
17920
|
-
);
|
|
17921
|
-
}
|
|
17922
|
-
|
|
17923
17873
|
/**
|
|
17924
17874
|
* Activate a performance profile
|
|
17925
17875
|
*
|
|
@@ -18253,7 +18203,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18253
18203
|
/**
|
|
18254
18204
|
* GeneralDataProtectionRegulation service.
|
|
18255
18205
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
18256
|
-
* @version
|
|
18206
|
+
* @version 149.0.0
|
|
18257
18207
|
*/
|
|
18258
18208
|
|
|
18259
18209
|
/**
|
|
@@ -18383,7 +18333,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18383
18333
|
/**
|
|
18384
18334
|
* Geolocation service.
|
|
18385
18335
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
18386
|
-
* @version
|
|
18336
|
+
* @version 149.0.0
|
|
18387
18337
|
*/
|
|
18388
18338
|
|
|
18389
18339
|
/**
|
|
@@ -18514,7 +18464,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18514
18464
|
/**
|
|
18515
18465
|
* Greetings service.
|
|
18516
18466
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
18517
|
-
* @version
|
|
18467
|
+
* @version 149.0.0
|
|
18518
18468
|
*/
|
|
18519
18469
|
|
|
18520
18470
|
/**
|
|
@@ -18969,7 +18919,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18969
18919
|
/**
|
|
18970
18920
|
* Groups service.
|
|
18971
18921
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
18972
|
-
* @version
|
|
18922
|
+
* @version 149.0.0
|
|
18973
18923
|
*/
|
|
18974
18924
|
|
|
18975
18925
|
/**
|
|
@@ -19239,6 +19189,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19239
19189
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
19240
19190
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
19241
19191
|
* @param {Array.<String>} opts.id id
|
|
19192
|
+
* @param {Array.<String>} opts.jabberId A list of jabberIds to fetch by bulk (cannot be used with the id parameter)
|
|
19242
19193
|
* @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
|
|
19243
19194
|
*/
|
|
19244
19195
|
getProfilesGroups(opts) {
|
|
@@ -19249,7 +19200,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19249
19200
|
'/api/v2/profiles/groups',
|
|
19250
19201
|
'GET',
|
|
19251
19202
|
{ },
|
|
19252
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'sortOrder': opts['sortOrder'] },
|
|
19203
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'jabberId': this.apiClient.buildCollectionParam(opts['jabberId'], 'multi'),'sortOrder': opts['sortOrder'] },
|
|
19253
19204
|
{ },
|
|
19254
19205
|
{ },
|
|
19255
19206
|
null,
|
|
@@ -19374,7 +19325,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19374
19325
|
/**
|
|
19375
19326
|
* IdentityProvider service.
|
|
19376
19327
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
19377
|
-
* @version
|
|
19328
|
+
* @version 149.0.0
|
|
19378
19329
|
*/
|
|
19379
19330
|
|
|
19380
19331
|
/**
|
|
@@ -20130,7 +20081,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
20130
20081
|
/**
|
|
20131
20082
|
* Integrations service.
|
|
20132
20083
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
20133
|
-
* @version
|
|
20084
|
+
* @version 149.0.0
|
|
20134
20085
|
*/
|
|
20135
20086
|
|
|
20136
20087
|
/**
|
|
@@ -20888,59 +20839,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
20888
20839
|
);
|
|
20889
20840
|
}
|
|
20890
20841
|
|
|
20891
|
-
/**
|
|
20892
|
-
* List all events
|
|
20893
|
-
*
|
|
20894
|
-
* @param {Object} opts Optional parameters
|
|
20895
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
20896
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
20897
|
-
* @param {String} opts.sortBy Sort by (default to timestamp)
|
|
20898
|
-
* @param {String} opts.sortOrder Order by (default to descending)
|
|
20899
|
-
* @param {String} opts.entityId Include only events with this entity ID
|
|
20900
|
-
*/
|
|
20901
|
-
getIntegrationsEventlog(opts) {
|
|
20902
|
-
opts = opts || {};
|
|
20903
|
-
|
|
20904
|
-
|
|
20905
|
-
return this.apiClient.callApi(
|
|
20906
|
-
'/api/v2/integrations/eventlog',
|
|
20907
|
-
'GET',
|
|
20908
|
-
{ },
|
|
20909
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'entityId': opts['entityId'] },
|
|
20910
|
-
{ },
|
|
20911
|
-
{ },
|
|
20912
|
-
null,
|
|
20913
|
-
['PureCloud OAuth'],
|
|
20914
|
-
['application/json'],
|
|
20915
|
-
['application/json']
|
|
20916
|
-
);
|
|
20917
|
-
}
|
|
20918
|
-
|
|
20919
|
-
/**
|
|
20920
|
-
* Get a single event
|
|
20921
|
-
*
|
|
20922
|
-
* @param {String} eventId Event Id
|
|
20923
|
-
*/
|
|
20924
|
-
getIntegrationsEventlogEventId(eventId) {
|
|
20925
|
-
// verify the required parameter 'eventId' is set
|
|
20926
|
-
if (eventId === undefined || eventId === null) {
|
|
20927
|
-
throw 'Missing the required parameter "eventId" when calling getIntegrationsEventlogEventId';
|
|
20928
|
-
}
|
|
20929
|
-
|
|
20930
|
-
return this.apiClient.callApi(
|
|
20931
|
-
'/api/v2/integrations/eventlog/{eventId}',
|
|
20932
|
-
'GET',
|
|
20933
|
-
{ 'eventId': eventId },
|
|
20934
|
-
{ },
|
|
20935
|
-
{ },
|
|
20936
|
-
{ },
|
|
20937
|
-
null,
|
|
20938
|
-
['PureCloud OAuth'],
|
|
20939
|
-
['application/json'],
|
|
20940
|
-
['application/json']
|
|
20941
|
-
);
|
|
20942
|
-
}
|
|
20943
|
-
|
|
20944
20842
|
/**
|
|
20945
20843
|
* Get details about a Dialogflow agent
|
|
20946
20844
|
*
|
|
@@ -21664,30 +21562,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21664
21562
|
);
|
|
21665
21563
|
}
|
|
21666
21564
|
|
|
21667
|
-
/**
|
|
21668
|
-
* Add a vendor connection
|
|
21669
|
-
*
|
|
21670
|
-
* @param {Object} opts Optional parameters
|
|
21671
|
-
* @param {Object} opts.body
|
|
21672
|
-
*/
|
|
21673
|
-
postIntegrationsWorkforcemanagementVendorconnection(opts) {
|
|
21674
|
-
opts = opts || {};
|
|
21675
|
-
|
|
21676
|
-
|
|
21677
|
-
return this.apiClient.callApi(
|
|
21678
|
-
'/api/v2/integrations/workforcemanagement/vendorconnection',
|
|
21679
|
-
'POST',
|
|
21680
|
-
{ },
|
|
21681
|
-
{ },
|
|
21682
|
-
{ },
|
|
21683
|
-
{ },
|
|
21684
|
-
opts['body'],
|
|
21685
|
-
['PureCloud OAuth'],
|
|
21686
|
-
['application/json'],
|
|
21687
|
-
['application/json']
|
|
21688
|
-
);
|
|
21689
|
-
}
|
|
21690
|
-
|
|
21691
21565
|
/**
|
|
21692
21566
|
* Update integration configuration.
|
|
21693
21567
|
*
|
|
@@ -21807,7 +21681,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21807
21681
|
/**
|
|
21808
21682
|
* Journey service.
|
|
21809
21683
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
21810
|
-
* @version
|
|
21684
|
+
* @version 149.0.0
|
|
21811
21685
|
*/
|
|
21812
21686
|
|
|
21813
21687
|
/**
|
|
@@ -21982,6 +21856,56 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
21982
21856
|
);
|
|
21983
21857
|
}
|
|
21984
21858
|
|
|
21859
|
+
/**
|
|
21860
|
+
* Get status of job.
|
|
21861
|
+
*
|
|
21862
|
+
* @param {String} jobId ID of the job.
|
|
21863
|
+
*/
|
|
21864
|
+
getJourneyActionmapsEstimatesJob(jobId) {
|
|
21865
|
+
// verify the required parameter 'jobId' is set
|
|
21866
|
+
if (jobId === undefined || jobId === null) {
|
|
21867
|
+
throw 'Missing the required parameter "jobId" when calling getJourneyActionmapsEstimatesJob';
|
|
21868
|
+
}
|
|
21869
|
+
|
|
21870
|
+
return this.apiClient.callApi(
|
|
21871
|
+
'/api/v2/journey/actionmaps/estimates/jobs/{jobId}',
|
|
21872
|
+
'GET',
|
|
21873
|
+
{ 'jobId': jobId },
|
|
21874
|
+
{ },
|
|
21875
|
+
{ },
|
|
21876
|
+
{ },
|
|
21877
|
+
null,
|
|
21878
|
+
['PureCloud OAuth'],
|
|
21879
|
+
['application/json'],
|
|
21880
|
+
['application/json']
|
|
21881
|
+
);
|
|
21882
|
+
}
|
|
21883
|
+
|
|
21884
|
+
/**
|
|
21885
|
+
* Get estimates from completed job.
|
|
21886
|
+
*
|
|
21887
|
+
* @param {String} jobId ID of the job.
|
|
21888
|
+
*/
|
|
21889
|
+
getJourneyActionmapsEstimatesJobResults(jobId) {
|
|
21890
|
+
// verify the required parameter 'jobId' is set
|
|
21891
|
+
if (jobId === undefined || jobId === null) {
|
|
21892
|
+
throw 'Missing the required parameter "jobId" when calling getJourneyActionmapsEstimatesJobResults';
|
|
21893
|
+
}
|
|
21894
|
+
|
|
21895
|
+
return this.apiClient.callApi(
|
|
21896
|
+
'/api/v2/journey/actionmaps/estimates/jobs/{jobId}/results',
|
|
21897
|
+
'GET',
|
|
21898
|
+
{ 'jobId': jobId },
|
|
21899
|
+
{ },
|
|
21900
|
+
{ },
|
|
21901
|
+
{ },
|
|
21902
|
+
null,
|
|
21903
|
+
['PureCloud OAuth'],
|
|
21904
|
+
['application/json'],
|
|
21905
|
+
['application/json']
|
|
21906
|
+
);
|
|
21907
|
+
}
|
|
21908
|
+
|
|
21985
21909
|
/**
|
|
21986
21910
|
* Retrieve a single action target.
|
|
21987
21911
|
*
|
|
@@ -22440,6 +22364,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22440
22364
|
);
|
|
22441
22365
|
}
|
|
22442
22366
|
|
|
22367
|
+
/**
|
|
22368
|
+
* Query for estimates
|
|
22369
|
+
*
|
|
22370
|
+
* @param {Object} body audience estimator request
|
|
22371
|
+
*/
|
|
22372
|
+
postJourneyActionmapsEstimatesJobs(body) {
|
|
22373
|
+
// verify the required parameter 'body' is set
|
|
22374
|
+
if (body === undefined || body === null) {
|
|
22375
|
+
throw 'Missing the required parameter "body" when calling postJourneyActionmapsEstimatesJobs';
|
|
22376
|
+
}
|
|
22377
|
+
|
|
22378
|
+
return this.apiClient.callApi(
|
|
22379
|
+
'/api/v2/journey/actionmaps/estimates/jobs',
|
|
22380
|
+
'POST',
|
|
22381
|
+
{ },
|
|
22382
|
+
{ },
|
|
22383
|
+
{ },
|
|
22384
|
+
{ },
|
|
22385
|
+
body,
|
|
22386
|
+
['PureCloud OAuth'],
|
|
22387
|
+
['application/json'],
|
|
22388
|
+
['application/json']
|
|
22389
|
+
);
|
|
22390
|
+
}
|
|
22391
|
+
|
|
22443
22392
|
/**
|
|
22444
22393
|
* Create a single action template.
|
|
22445
22394
|
*
|
|
@@ -22518,7 +22467,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22518
22467
|
/**
|
|
22519
22468
|
* Knowledge service.
|
|
22520
22469
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
22521
|
-
* @version
|
|
22470
|
+
* @version 149.0.0
|
|
22522
22471
|
*/
|
|
22523
22472
|
|
|
22524
22473
|
/**
|
|
@@ -24951,7 +24900,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
24951
24900
|
/**
|
|
24952
24901
|
* LanguageUnderstanding service.
|
|
24953
24902
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
24954
|
-
* @version
|
|
24903
|
+
* @version 149.0.0
|
|
24955
24904
|
*/
|
|
24956
24905
|
|
|
24957
24906
|
/**
|
|
@@ -25855,7 +25804,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25855
25804
|
/**
|
|
25856
25805
|
* Languages service.
|
|
25857
25806
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
25858
|
-
* @version
|
|
25807
|
+
* @version 149.0.0
|
|
25859
25808
|
*/
|
|
25860
25809
|
|
|
25861
25810
|
/**
|
|
@@ -26123,7 +26072,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26123
26072
|
/**
|
|
26124
26073
|
* Learning service.
|
|
26125
26074
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
26126
|
-
* @version
|
|
26075
|
+
* @version 149.0.0
|
|
26127
26076
|
*/
|
|
26128
26077
|
|
|
26129
26078
|
/**
|
|
@@ -26883,7 +26832,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26883
26832
|
/**
|
|
26884
26833
|
* License service.
|
|
26885
26834
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
26886
|
-
* @version
|
|
26835
|
+
* @version 149.0.0
|
|
26887
26836
|
*/
|
|
26888
26837
|
|
|
26889
26838
|
/**
|
|
@@ -27121,7 +27070,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27121
27070
|
/**
|
|
27122
27071
|
* Locations service.
|
|
27123
27072
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
27124
|
-
* @version
|
|
27073
|
+
* @version 149.0.0
|
|
27125
27074
|
*/
|
|
27126
27075
|
|
|
27127
27076
|
/**
|
|
@@ -27357,7 +27306,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27357
27306
|
/**
|
|
27358
27307
|
* Messaging service.
|
|
27359
27308
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
27360
|
-
* @version
|
|
27309
|
+
* @version 149.0.0
|
|
27361
27310
|
*/
|
|
27362
27311
|
|
|
27363
27312
|
/**
|
|
@@ -27508,7 +27457,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27508
27457
|
/**
|
|
27509
27458
|
* MobileDevices service.
|
|
27510
27459
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
27511
|
-
* @version
|
|
27460
|
+
* @version 149.0.0
|
|
27512
27461
|
*/
|
|
27513
27462
|
|
|
27514
27463
|
/**
|
|
@@ -27659,7 +27608,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27659
27608
|
/**
|
|
27660
27609
|
* Notifications service.
|
|
27661
27610
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
27662
|
-
* @version
|
|
27611
|
+
* @version 149.0.0
|
|
27663
27612
|
*/
|
|
27664
27613
|
|
|
27665
27614
|
/**
|
|
@@ -27884,7 +27833,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27884
27833
|
/**
|
|
27885
27834
|
* OAuth service.
|
|
27886
27835
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
27887
|
-
* @version
|
|
27836
|
+
* @version 149.0.0
|
|
27888
27837
|
*/
|
|
27889
27838
|
|
|
27890
27839
|
/**
|
|
@@ -28250,7 +28199,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28250
28199
|
/**
|
|
28251
28200
|
* Objects service.
|
|
28252
28201
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
28253
|
-
* @version
|
|
28202
|
+
* @version 149.0.0
|
|
28254
28203
|
*/
|
|
28255
28204
|
|
|
28256
28205
|
/**
|
|
@@ -28521,7 +28470,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28521
28470
|
/**
|
|
28522
28471
|
* Organization service.
|
|
28523
28472
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
28524
|
-
* @version
|
|
28473
|
+
* @version 149.0.0
|
|
28525
28474
|
*/
|
|
28526
28475
|
|
|
28527
28476
|
/**
|
|
@@ -28924,7 +28873,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28924
28873
|
/**
|
|
28925
28874
|
* OrganizationAuthorization service.
|
|
28926
28875
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
28927
|
-
* @version
|
|
28876
|
+
* @version 149.0.0
|
|
28928
28877
|
*/
|
|
28929
28878
|
|
|
28930
28879
|
/**
|
|
@@ -29849,7 +29798,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29849
29798
|
/**
|
|
29850
29799
|
* Outbound service.
|
|
29851
29800
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
29852
|
-
* @version
|
|
29801
|
+
* @version 149.0.0
|
|
29853
29802
|
*/
|
|
29854
29803
|
|
|
29855
29804
|
/**
|
|
@@ -33238,7 +33187,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33238
33187
|
/**
|
|
33239
33188
|
* Presence service.
|
|
33240
33189
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
33241
|
-
* @version
|
|
33190
|
+
* @version 149.0.0
|
|
33242
33191
|
*/
|
|
33243
33192
|
|
|
33244
33193
|
/**
|
|
@@ -33556,11 +33505,249 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33556
33505
|
|
|
33557
33506
|
}
|
|
33558
33507
|
|
|
33508
|
+
class ProcessAutomationApi {
|
|
33509
|
+
/**
|
|
33510
|
+
* ProcessAutomation service.
|
|
33511
|
+
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
33512
|
+
* @version 149.0.0
|
|
33513
|
+
*/
|
|
33514
|
+
|
|
33515
|
+
/**
|
|
33516
|
+
* Constructs a new ProcessAutomationApi.
|
|
33517
|
+
* @alias module:purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
33518
|
+
* @class
|
|
33519
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
33520
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
33521
|
+
*/
|
|
33522
|
+
constructor(apiClient) {
|
|
33523
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
33524
|
+
}
|
|
33525
|
+
|
|
33526
|
+
|
|
33527
|
+
/**
|
|
33528
|
+
* Delete a Trigger
|
|
33529
|
+
*
|
|
33530
|
+
* @param {String} triggerId triggerId
|
|
33531
|
+
*/
|
|
33532
|
+
deleteProcessautomationTrigger(triggerId) {
|
|
33533
|
+
// verify the required parameter 'triggerId' is set
|
|
33534
|
+
if (triggerId === undefined || triggerId === null) {
|
|
33535
|
+
throw 'Missing the required parameter "triggerId" when calling deleteProcessautomationTrigger';
|
|
33536
|
+
}
|
|
33537
|
+
|
|
33538
|
+
return this.apiClient.callApi(
|
|
33539
|
+
'/api/v2/processautomation/triggers/{triggerId}',
|
|
33540
|
+
'DELETE',
|
|
33541
|
+
{ 'triggerId': triggerId },
|
|
33542
|
+
{ },
|
|
33543
|
+
{ },
|
|
33544
|
+
{ },
|
|
33545
|
+
null,
|
|
33546
|
+
['PureCloud OAuth'],
|
|
33547
|
+
['application/json'],
|
|
33548
|
+
['application/json']
|
|
33549
|
+
);
|
|
33550
|
+
}
|
|
33551
|
+
|
|
33552
|
+
/**
|
|
33553
|
+
* Retrieve a single Trigger matching id.
|
|
33554
|
+
*
|
|
33555
|
+
* @param {String} triggerId triggerId
|
|
33556
|
+
*/
|
|
33557
|
+
getProcessautomationTrigger(triggerId) {
|
|
33558
|
+
// verify the required parameter 'triggerId' is set
|
|
33559
|
+
if (triggerId === undefined || triggerId === null) {
|
|
33560
|
+
throw 'Missing the required parameter "triggerId" when calling getProcessautomationTrigger';
|
|
33561
|
+
}
|
|
33562
|
+
|
|
33563
|
+
return this.apiClient.callApi(
|
|
33564
|
+
'/api/v2/processautomation/triggers/{triggerId}',
|
|
33565
|
+
'GET',
|
|
33566
|
+
{ 'triggerId': triggerId },
|
|
33567
|
+
{ },
|
|
33568
|
+
{ },
|
|
33569
|
+
{ },
|
|
33570
|
+
null,
|
|
33571
|
+
['PureCloud OAuth'],
|
|
33572
|
+
['application/json'],
|
|
33573
|
+
['application/json']
|
|
33574
|
+
);
|
|
33575
|
+
}
|
|
33576
|
+
|
|
33577
|
+
/**
|
|
33578
|
+
* Retrieves all triggers
|
|
33579
|
+
*
|
|
33580
|
+
* @param {Object} opts Optional parameters
|
|
33581
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
33582
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
33583
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
33584
|
+
* @param {String} opts.topicName Topic name
|
|
33585
|
+
* @param {Boolean} opts.enabled Boolean indicating desired enabled state of triggers
|
|
33586
|
+
*/
|
|
33587
|
+
getProcessautomationTriggers(opts) {
|
|
33588
|
+
opts = opts || {};
|
|
33589
|
+
|
|
33590
|
+
|
|
33591
|
+
return this.apiClient.callApi(
|
|
33592
|
+
'/api/v2/processautomation/triggers',
|
|
33593
|
+
'GET',
|
|
33594
|
+
{ },
|
|
33595
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'topicName': opts['topicName'],'enabled': opts['enabled'] },
|
|
33596
|
+
{ },
|
|
33597
|
+
{ },
|
|
33598
|
+
null,
|
|
33599
|
+
['PureCloud OAuth'],
|
|
33600
|
+
['application/json'],
|
|
33601
|
+
['application/json']
|
|
33602
|
+
);
|
|
33603
|
+
}
|
|
33604
|
+
|
|
33605
|
+
/**
|
|
33606
|
+
* Get topics available for organization
|
|
33607
|
+
*
|
|
33608
|
+
* @param {Object} opts Optional parameters
|
|
33609
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
33610
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
33611
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
33612
|
+
*/
|
|
33613
|
+
getProcessautomationTriggersTopics(opts) {
|
|
33614
|
+
opts = opts || {};
|
|
33615
|
+
|
|
33616
|
+
|
|
33617
|
+
return this.apiClient.callApi(
|
|
33618
|
+
'/api/v2/processautomation/triggers/topics',
|
|
33619
|
+
'GET',
|
|
33620
|
+
{ },
|
|
33621
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'] },
|
|
33622
|
+
{ },
|
|
33623
|
+
{ },
|
|
33624
|
+
null,
|
|
33625
|
+
['PureCloud OAuth'],
|
|
33626
|
+
['application/json'],
|
|
33627
|
+
['application/json']
|
|
33628
|
+
);
|
|
33629
|
+
}
|
|
33630
|
+
|
|
33631
|
+
/**
|
|
33632
|
+
* Test the matching of a Trigger based on provided event body
|
|
33633
|
+
*
|
|
33634
|
+
* @param {String} triggerId triggerId
|
|
33635
|
+
* @param {Object} opts Optional parameters
|
|
33636
|
+
* @param {String} opts.body eventBody
|
|
33637
|
+
*/
|
|
33638
|
+
postProcessautomationTriggerTest(triggerId, opts) {
|
|
33639
|
+
opts = opts || {};
|
|
33640
|
+
|
|
33641
|
+
// verify the required parameter 'triggerId' is set
|
|
33642
|
+
if (triggerId === undefined || triggerId === null) {
|
|
33643
|
+
throw 'Missing the required parameter "triggerId" when calling postProcessautomationTriggerTest';
|
|
33644
|
+
}
|
|
33645
|
+
|
|
33646
|
+
return this.apiClient.callApi(
|
|
33647
|
+
'/api/v2/processautomation/triggers/{triggerId}/test',
|
|
33648
|
+
'POST',
|
|
33649
|
+
{ 'triggerId': triggerId },
|
|
33650
|
+
{ },
|
|
33651
|
+
{ },
|
|
33652
|
+
{ },
|
|
33653
|
+
opts['body'],
|
|
33654
|
+
['PureCloud OAuth'],
|
|
33655
|
+
['application/json'],
|
|
33656
|
+
['application/json']
|
|
33657
|
+
);
|
|
33658
|
+
}
|
|
33659
|
+
|
|
33660
|
+
/**
|
|
33661
|
+
* Create a Trigger
|
|
33662
|
+
*
|
|
33663
|
+
* @param {Object} body Input used to create a Trigger.
|
|
33664
|
+
*/
|
|
33665
|
+
postProcessautomationTriggers(body) {
|
|
33666
|
+
// verify the required parameter 'body' is set
|
|
33667
|
+
if (body === undefined || body === null) {
|
|
33668
|
+
throw 'Missing the required parameter "body" when calling postProcessautomationTriggers';
|
|
33669
|
+
}
|
|
33670
|
+
|
|
33671
|
+
return this.apiClient.callApi(
|
|
33672
|
+
'/api/v2/processautomation/triggers',
|
|
33673
|
+
'POST',
|
|
33674
|
+
{ },
|
|
33675
|
+
{ },
|
|
33676
|
+
{ },
|
|
33677
|
+
{ },
|
|
33678
|
+
body,
|
|
33679
|
+
['PureCloud OAuth'],
|
|
33680
|
+
['application/json'],
|
|
33681
|
+
['application/json']
|
|
33682
|
+
);
|
|
33683
|
+
}
|
|
33684
|
+
|
|
33685
|
+
/**
|
|
33686
|
+
* Test the matching of all organization Triggers on given topic using provided event body
|
|
33687
|
+
*
|
|
33688
|
+
* @param {String} topicName topicName
|
|
33689
|
+
* @param {Object} opts Optional parameters
|
|
33690
|
+
* @param {String} opts.body eventBody
|
|
33691
|
+
*/
|
|
33692
|
+
postProcessautomationTriggersTopicTest(topicName, opts) {
|
|
33693
|
+
opts = opts || {};
|
|
33694
|
+
|
|
33695
|
+
// verify the required parameter 'topicName' is set
|
|
33696
|
+
if (topicName === undefined || topicName === null) {
|
|
33697
|
+
throw 'Missing the required parameter "topicName" when calling postProcessautomationTriggersTopicTest';
|
|
33698
|
+
}
|
|
33699
|
+
|
|
33700
|
+
return this.apiClient.callApi(
|
|
33701
|
+
'/api/v2/processautomation/triggers/topics/{topicName}/test',
|
|
33702
|
+
'POST',
|
|
33703
|
+
{ 'topicName': topicName },
|
|
33704
|
+
{ },
|
|
33705
|
+
{ },
|
|
33706
|
+
{ },
|
|
33707
|
+
opts['body'],
|
|
33708
|
+
['PureCloud OAuth'],
|
|
33709
|
+
['application/json'],
|
|
33710
|
+
['application/json']
|
|
33711
|
+
);
|
|
33712
|
+
}
|
|
33713
|
+
|
|
33714
|
+
/**
|
|
33715
|
+
* Update a Trigger
|
|
33716
|
+
*
|
|
33717
|
+
* @param {String} triggerId triggerId
|
|
33718
|
+
* @param {Object} body Input to update Trigger. (topicName cannot be updated, a new trigger must be created to use a new topicName)
|
|
33719
|
+
*/
|
|
33720
|
+
putProcessautomationTrigger(triggerId, body) {
|
|
33721
|
+
// verify the required parameter 'triggerId' is set
|
|
33722
|
+
if (triggerId === undefined || triggerId === null) {
|
|
33723
|
+
throw 'Missing the required parameter "triggerId" when calling putProcessautomationTrigger';
|
|
33724
|
+
}
|
|
33725
|
+
// verify the required parameter 'body' is set
|
|
33726
|
+
if (body === undefined || body === null) {
|
|
33727
|
+
throw 'Missing the required parameter "body" when calling putProcessautomationTrigger';
|
|
33728
|
+
}
|
|
33729
|
+
|
|
33730
|
+
return this.apiClient.callApi(
|
|
33731
|
+
'/api/v2/processautomation/triggers/{triggerId}',
|
|
33732
|
+
'PUT',
|
|
33733
|
+
{ 'triggerId': triggerId },
|
|
33734
|
+
{ },
|
|
33735
|
+
{ },
|
|
33736
|
+
{ },
|
|
33737
|
+
body,
|
|
33738
|
+
['PureCloud OAuth'],
|
|
33739
|
+
['application/json'],
|
|
33740
|
+
['application/json']
|
|
33741
|
+
);
|
|
33742
|
+
}
|
|
33743
|
+
|
|
33744
|
+
}
|
|
33745
|
+
|
|
33559
33746
|
class QualityApi {
|
|
33560
33747
|
/**
|
|
33561
33748
|
* Quality service.
|
|
33562
33749
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
33563
|
-
* @version
|
|
33750
|
+
* @version 149.0.0
|
|
33564
33751
|
*/
|
|
33565
33752
|
|
|
33566
33753
|
/**
|
|
@@ -35138,7 +35325,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
35138
35325
|
/**
|
|
35139
35326
|
* Recording service.
|
|
35140
35327
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
35141
|
-
* @version
|
|
35328
|
+
* @version 149.0.0
|
|
35142
35329
|
*/
|
|
35143
35330
|
|
|
35144
35331
|
/**
|
|
@@ -36492,8 +36679,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36492
36679
|
* @param {String} conversationId Conversation ID
|
|
36493
36680
|
* @param {String} recordingId Recording ID
|
|
36494
36681
|
* @param {Object} body recording
|
|
36682
|
+
* @param {Object} opts Optional parameters
|
|
36683
|
+
* @param {Boolean} opts.clearExport Whether to clear the pending export for the recording
|
|
36495
36684
|
*/
|
|
36496
|
-
putConversationRecording(conversationId, recordingId, body) {
|
|
36685
|
+
putConversationRecording(conversationId, recordingId, body, opts) {
|
|
36686
|
+
opts = opts || {};
|
|
36687
|
+
|
|
36497
36688
|
// verify the required parameter 'conversationId' is set
|
|
36498
36689
|
if (conversationId === undefined || conversationId === null) {
|
|
36499
36690
|
throw 'Missing the required parameter "conversationId" when calling putConversationRecording';
|
|
@@ -36511,7 +36702,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36511
36702
|
'/api/v2/conversations/{conversationId}/recordings/{recordingId}',
|
|
36512
36703
|
'PUT',
|
|
36513
36704
|
{ 'conversationId': conversationId,'recordingId': recordingId },
|
|
36514
|
-
{
|
|
36705
|
+
{ 'clearExport': opts['clearExport'] },
|
|
36515
36706
|
{ },
|
|
36516
36707
|
{ },
|
|
36517
36708
|
body,
|
|
@@ -36821,7 +37012,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36821
37012
|
/**
|
|
36822
37013
|
* ResponseManagement service.
|
|
36823
37014
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
36824
|
-
* @version
|
|
37015
|
+
* @version 149.0.0
|
|
36825
37016
|
*/
|
|
36826
37017
|
|
|
36827
37018
|
/**
|
|
@@ -37305,7 +37496,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37305
37496
|
/**
|
|
37306
37497
|
* Routing service.
|
|
37307
37498
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
37308
|
-
* @version
|
|
37499
|
+
* @version 149.0.0
|
|
37309
37500
|
*/
|
|
37310
37501
|
|
|
37311
37502
|
/**
|
|
@@ -38125,6 +38316,61 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38125
38316
|
);
|
|
38126
38317
|
}
|
|
38127
38318
|
|
|
38319
|
+
/**
|
|
38320
|
+
* Retrieve Predictor Model Features.
|
|
38321
|
+
*
|
|
38322
|
+
* @param {String} predictorId Predictor ID
|
|
38323
|
+
* @param {String} modelId Model ID
|
|
38324
|
+
*/
|
|
38325
|
+
getRoutingPredictorModelFeatures(predictorId, modelId) {
|
|
38326
|
+
// verify the required parameter 'predictorId' is set
|
|
38327
|
+
if (predictorId === undefined || predictorId === null) {
|
|
38328
|
+
throw 'Missing the required parameter "predictorId" when calling getRoutingPredictorModelFeatures';
|
|
38329
|
+
}
|
|
38330
|
+
// verify the required parameter 'modelId' is set
|
|
38331
|
+
if (modelId === undefined || modelId === null) {
|
|
38332
|
+
throw 'Missing the required parameter "modelId" when calling getRoutingPredictorModelFeatures';
|
|
38333
|
+
}
|
|
38334
|
+
|
|
38335
|
+
return this.apiClient.callApi(
|
|
38336
|
+
'/api/v2/routing/predictors/{predictorId}/models/{modelId}/features',
|
|
38337
|
+
'GET',
|
|
38338
|
+
{ 'predictorId': predictorId,'modelId': modelId },
|
|
38339
|
+
{ },
|
|
38340
|
+
{ },
|
|
38341
|
+
{ },
|
|
38342
|
+
null,
|
|
38343
|
+
['PureCloud OAuth'],
|
|
38344
|
+
['application/json'],
|
|
38345
|
+
['application/json']
|
|
38346
|
+
);
|
|
38347
|
+
}
|
|
38348
|
+
|
|
38349
|
+
/**
|
|
38350
|
+
* Retrieve Predictor Models and Top Features.
|
|
38351
|
+
*
|
|
38352
|
+
* @param {String} predictorId Predictor ID
|
|
38353
|
+
*/
|
|
38354
|
+
getRoutingPredictorModels(predictorId) {
|
|
38355
|
+
// verify the required parameter 'predictorId' is set
|
|
38356
|
+
if (predictorId === undefined || predictorId === null) {
|
|
38357
|
+
throw 'Missing the required parameter "predictorId" when calling getRoutingPredictorModels';
|
|
38358
|
+
}
|
|
38359
|
+
|
|
38360
|
+
return this.apiClient.callApi(
|
|
38361
|
+
'/api/v2/routing/predictors/{predictorId}/models',
|
|
38362
|
+
'GET',
|
|
38363
|
+
{ 'predictorId': predictorId },
|
|
38364
|
+
{ },
|
|
38365
|
+
{ },
|
|
38366
|
+
{ },
|
|
38367
|
+
null,
|
|
38368
|
+
['PureCloud OAuth'],
|
|
38369
|
+
['application/json'],
|
|
38370
|
+
['application/json']
|
|
38371
|
+
);
|
|
38372
|
+
}
|
|
38373
|
+
|
|
38128
38374
|
/**
|
|
38129
38375
|
* Retrieve all predictors.
|
|
38130
38376
|
*
|
|
@@ -40246,7 +40492,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40246
40492
|
/**
|
|
40247
40493
|
* SCIM service.
|
|
40248
40494
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
40249
|
-
* @version
|
|
40495
|
+
* @version 149.0.0
|
|
40250
40496
|
*/
|
|
40251
40497
|
|
|
40252
40498
|
/**
|
|
@@ -41123,7 +41369,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41123
41369
|
/**
|
|
41124
41370
|
* Scripts service.
|
|
41125
41371
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
41126
|
-
* @version
|
|
41372
|
+
* @version 149.0.0
|
|
41127
41373
|
*/
|
|
41128
41374
|
|
|
41129
41375
|
/**
|
|
@@ -41542,7 +41788,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41542
41788
|
/**
|
|
41543
41789
|
* Search service.
|
|
41544
41790
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
41545
|
-
* @version
|
|
41791
|
+
* @version 149.0.0
|
|
41546
41792
|
*/
|
|
41547
41793
|
|
|
41548
41794
|
/**
|
|
@@ -42102,7 +42348,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42102
42348
|
/**
|
|
42103
42349
|
* SpeechTextAnalytics service.
|
|
42104
42350
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
42105
|
-
* @version
|
|
42351
|
+
* @version 149.0.0
|
|
42106
42352
|
*/
|
|
42107
42353
|
|
|
42108
42354
|
/**
|
|
@@ -42956,7 +43202,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42956
43202
|
/**
|
|
42957
43203
|
* Stations service.
|
|
42958
43204
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
42959
|
-
* @version
|
|
43205
|
+
* @version 149.0.0
|
|
42960
43206
|
*/
|
|
42961
43207
|
|
|
42962
43208
|
/**
|
|
@@ -43103,7 +43349,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43103
43349
|
/**
|
|
43104
43350
|
* Suggest service.
|
|
43105
43351
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
43106
|
-
* @version
|
|
43352
|
+
* @version 149.0.0
|
|
43107
43353
|
*/
|
|
43108
43354
|
|
|
43109
43355
|
/**
|
|
@@ -43242,7 +43488,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43242
43488
|
/**
|
|
43243
43489
|
* Teams service.
|
|
43244
43490
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
43245
|
-
* @version
|
|
43491
|
+
* @version 149.0.0
|
|
43246
43492
|
*/
|
|
43247
43493
|
|
|
43248
43494
|
/**
|
|
@@ -43421,7 +43667,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43421
43667
|
/**
|
|
43422
43668
|
* Telephony service.
|
|
43423
43669
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
43424
|
-
* @version
|
|
43670
|
+
* @version 149.0.0
|
|
43425
43671
|
*/
|
|
43426
43672
|
|
|
43427
43673
|
/**
|
|
@@ -43529,7 +43775,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43529
43775
|
/**
|
|
43530
43776
|
* TelephonyProvidersEdge service.
|
|
43531
43777
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
43532
|
-
* @version
|
|
43778
|
+
* @version 149.0.0
|
|
43533
43779
|
*/
|
|
43534
43780
|
|
|
43535
43781
|
/**
|
|
@@ -47162,7 +47408,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47162
47408
|
/**
|
|
47163
47409
|
* Textbots service.
|
|
47164
47410
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
47165
|
-
* @version
|
|
47411
|
+
* @version 149.0.0
|
|
47166
47412
|
*/
|
|
47167
47413
|
|
|
47168
47414
|
/**
|
|
@@ -47290,7 +47536,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47290
47536
|
/**
|
|
47291
47537
|
* Tokens service.
|
|
47292
47538
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
47293
|
-
* @version
|
|
47539
|
+
* @version 149.0.0
|
|
47294
47540
|
*/
|
|
47295
47541
|
|
|
47296
47542
|
/**
|
|
@@ -47396,7 +47642,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47396
47642
|
/**
|
|
47397
47643
|
* Uploads service.
|
|
47398
47644
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
47399
|
-
* @version
|
|
47645
|
+
* @version 149.0.0
|
|
47400
47646
|
*/
|
|
47401
47647
|
|
|
47402
47648
|
/**
|
|
@@ -47572,7 +47818,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47572
47818
|
/**
|
|
47573
47819
|
* Usage service.
|
|
47574
47820
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
47575
|
-
* @version
|
|
47821
|
+
* @version 149.0.0
|
|
47576
47822
|
*/
|
|
47577
47823
|
|
|
47578
47824
|
/**
|
|
@@ -47643,7 +47889,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47643
47889
|
/**
|
|
47644
47890
|
* UserRecordings service.
|
|
47645
47891
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
47646
|
-
* @version
|
|
47892
|
+
* @version 149.0.0
|
|
47647
47893
|
*/
|
|
47648
47894
|
|
|
47649
47895
|
/**
|
|
@@ -47718,6 +47964,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47718
47964
|
* @param {String} recordingId User Recording ID
|
|
47719
47965
|
* @param {Object} opts Optional parameters
|
|
47720
47966
|
* @param {Object} opts.formatId The desired media format. (default to WEBM)
|
|
47967
|
+
* @param {Boolean} opts.async When set to true, api will return 202 response until the recording is ready for download
|
|
47721
47968
|
*/
|
|
47722
47969
|
getUserrecordingMedia(recordingId, opts) {
|
|
47723
47970
|
opts = opts || {};
|
|
@@ -47731,7 +47978,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47731
47978
|
'/api/v2/userrecordings/{recordingId}/media',
|
|
47732
47979
|
'GET',
|
|
47733
47980
|
{ 'recordingId': recordingId },
|
|
47734
|
-
{ 'formatId': opts['formatId'] },
|
|
47981
|
+
{ 'formatId': opts['formatId'],'async': opts['async'] },
|
|
47735
47982
|
{ },
|
|
47736
47983
|
{ },
|
|
47737
47984
|
null,
|
|
@@ -47827,7 +48074,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47827
48074
|
/**
|
|
47828
48075
|
* Users service.
|
|
47829
48076
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
47830
|
-
* @version
|
|
48077
|
+
* @version 149.0.0
|
|
47831
48078
|
*/
|
|
47832
48079
|
|
|
47833
48080
|
/**
|
|
@@ -50159,7 +50406,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50159
50406
|
/**
|
|
50160
50407
|
* Utilities service.
|
|
50161
50408
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
50162
|
-
* @version
|
|
50409
|
+
* @version 149.0.0
|
|
50163
50410
|
*/
|
|
50164
50411
|
|
|
50165
50412
|
/**
|
|
@@ -50270,7 +50517,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50270
50517
|
/**
|
|
50271
50518
|
* Voicemail service.
|
|
50272
50519
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
50273
|
-
* @version
|
|
50520
|
+
* @version 149.0.0
|
|
50274
50521
|
*/
|
|
50275
50522
|
|
|
50276
50523
|
/**
|
|
@@ -50937,7 +51184,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50937
51184
|
/**
|
|
50938
51185
|
* WebChat service.
|
|
50939
51186
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
50940
|
-
* @version
|
|
51187
|
+
* @version 149.0.0
|
|
50941
51188
|
*/
|
|
50942
51189
|
|
|
50943
51190
|
/**
|
|
@@ -51481,7 +51728,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51481
51728
|
/**
|
|
51482
51729
|
* WebDeployments service.
|
|
51483
51730
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
51484
|
-
* @version
|
|
51731
|
+
* @version 149.0.0
|
|
51485
51732
|
*/
|
|
51486
51733
|
|
|
51487
51734
|
/**
|
|
@@ -51707,14 +51954,18 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51707
51954
|
/**
|
|
51708
51955
|
* Get deployments
|
|
51709
51956
|
*
|
|
51957
|
+
* @param {Object} opts Optional parameters
|
|
51958
|
+
* @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected. Valid values:
|
|
51710
51959
|
*/
|
|
51711
|
-
getWebdeploymentsDeployments() {
|
|
51960
|
+
getWebdeploymentsDeployments(opts) {
|
|
51961
|
+
opts = opts || {};
|
|
51962
|
+
|
|
51712
51963
|
|
|
51713
51964
|
return this.apiClient.callApi(
|
|
51714
51965
|
'/api/v2/webdeployments/deployments',
|
|
51715
51966
|
'GET',
|
|
51716
51967
|
{ },
|
|
51717
|
-
{
|
|
51968
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
51718
51969
|
{ },
|
|
51719
51970
|
{ },
|
|
51720
51971
|
null,
|
|
@@ -51865,7 +52116,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51865
52116
|
/**
|
|
51866
52117
|
* WebMessaging service.
|
|
51867
52118
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
51868
|
-
* @version
|
|
52119
|
+
* @version 149.0.0
|
|
51869
52120
|
*/
|
|
51870
52121
|
|
|
51871
52122
|
/**
|
|
@@ -51911,7 +52162,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51911
52162
|
/**
|
|
51912
52163
|
* Widgets service.
|
|
51913
52164
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
51914
|
-
* @version
|
|
52165
|
+
* @version 149.0.0
|
|
51915
52166
|
*/
|
|
51916
52167
|
|
|
51917
52168
|
/**
|
|
@@ -52057,7 +52308,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52057
52308
|
/**
|
|
52058
52309
|
* WorkforceManagement service.
|
|
52059
52310
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
52060
|
-
* @version
|
|
52311
|
+
* @version 149.0.0
|
|
52061
52312
|
*/
|
|
52062
52313
|
|
|
52063
52314
|
/**
|
|
@@ -56333,7 +56584,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
56333
56584
|
* </pre>
|
|
56334
56585
|
* </p>
|
|
56335
56586
|
* @module purecloud-platform-client-v2/index
|
|
56336
|
-
* @version
|
|
56587
|
+
* @version 149.0.0
|
|
56337
56588
|
*/
|
|
56338
56589
|
class platformClient {
|
|
56339
56590
|
constructor() {
|
|
@@ -56532,6 +56783,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
56532
56783
|
* @property {module:purecloud-platform-client-v2/api/PresenceApi}
|
|
56533
56784
|
*/
|
|
56534
56785
|
this.PresenceApi = PresenceApi;
|
|
56786
|
+
/**
|
|
56787
|
+
* The ProcessAutomationApi service constructor.
|
|
56788
|
+
* @property {module:purecloud-platform-client-v2/api/ProcessAutomationApi}
|
|
56789
|
+
*/
|
|
56790
|
+
this.ProcessAutomationApi = ProcessAutomationApi;
|
|
56535
56791
|
/**
|
|
56536
56792
|
* The QualityApi service constructor.
|
|
56537
56793
|
* @property {module:purecloud-platform-client-v2/api/QualityApi}
|