purecloud-platform-client-v2 147.0.0 → 148.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +387 -194
- package/dist/web-amd/purecloud-platform-client-v2.js +387 -194
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +387 -194
- package/dist/web-cjs/purecloud-platform-client-v2.js +388 -195
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +432 -302
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -51
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -78
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +76 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +243 -0
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.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 148.0.0
|
|
35142
35329
|
*/
|
|
35143
35330
|
|
|
35144
35331
|
/**
|
|
@@ -36821,7 +37008,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
36821
37008
|
/**
|
|
36822
37009
|
* ResponseManagement service.
|
|
36823
37010
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
36824
|
-
* @version
|
|
37011
|
+
* @version 148.0.0
|
|
36825
37012
|
*/
|
|
36826
37013
|
|
|
36827
37014
|
/**
|
|
@@ -37305,7 +37492,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37305
37492
|
/**
|
|
37306
37493
|
* Routing service.
|
|
37307
37494
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
37308
|
-
* @version
|
|
37495
|
+
* @version 148.0.0
|
|
37309
37496
|
*/
|
|
37310
37497
|
|
|
37311
37498
|
/**
|
|
@@ -40246,7 +40433,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40246
40433
|
/**
|
|
40247
40434
|
* SCIM service.
|
|
40248
40435
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
40249
|
-
* @version
|
|
40436
|
+
* @version 148.0.0
|
|
40250
40437
|
*/
|
|
40251
40438
|
|
|
40252
40439
|
/**
|
|
@@ -41123,7 +41310,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41123
41310
|
/**
|
|
41124
41311
|
* Scripts service.
|
|
41125
41312
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
41126
|
-
* @version
|
|
41313
|
+
* @version 148.0.0
|
|
41127
41314
|
*/
|
|
41128
41315
|
|
|
41129
41316
|
/**
|
|
@@ -41542,7 +41729,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41542
41729
|
/**
|
|
41543
41730
|
* Search service.
|
|
41544
41731
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
41545
|
-
* @version
|
|
41732
|
+
* @version 148.0.0
|
|
41546
41733
|
*/
|
|
41547
41734
|
|
|
41548
41735
|
/**
|
|
@@ -42102,7 +42289,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42102
42289
|
/**
|
|
42103
42290
|
* SpeechTextAnalytics service.
|
|
42104
42291
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
42105
|
-
* @version
|
|
42292
|
+
* @version 148.0.0
|
|
42106
42293
|
*/
|
|
42107
42294
|
|
|
42108
42295
|
/**
|
|
@@ -42956,7 +43143,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42956
43143
|
/**
|
|
42957
43144
|
* Stations service.
|
|
42958
43145
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
42959
|
-
* @version
|
|
43146
|
+
* @version 148.0.0
|
|
42960
43147
|
*/
|
|
42961
43148
|
|
|
42962
43149
|
/**
|
|
@@ -43103,7 +43290,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43103
43290
|
/**
|
|
43104
43291
|
* Suggest service.
|
|
43105
43292
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
43106
|
-
* @version
|
|
43293
|
+
* @version 148.0.0
|
|
43107
43294
|
*/
|
|
43108
43295
|
|
|
43109
43296
|
/**
|
|
@@ -43242,7 +43429,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43242
43429
|
/**
|
|
43243
43430
|
* Teams service.
|
|
43244
43431
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
43245
|
-
* @version
|
|
43432
|
+
* @version 148.0.0
|
|
43246
43433
|
*/
|
|
43247
43434
|
|
|
43248
43435
|
/**
|
|
@@ -43421,7 +43608,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43421
43608
|
/**
|
|
43422
43609
|
* Telephony service.
|
|
43423
43610
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
43424
|
-
* @version
|
|
43611
|
+
* @version 148.0.0
|
|
43425
43612
|
*/
|
|
43426
43613
|
|
|
43427
43614
|
/**
|
|
@@ -43529,7 +43716,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43529
43716
|
/**
|
|
43530
43717
|
* TelephonyProvidersEdge service.
|
|
43531
43718
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
43532
|
-
* @version
|
|
43719
|
+
* @version 148.0.0
|
|
43533
43720
|
*/
|
|
43534
43721
|
|
|
43535
43722
|
/**
|
|
@@ -47162,7 +47349,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47162
47349
|
/**
|
|
47163
47350
|
* Textbots service.
|
|
47164
47351
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
47165
|
-
* @version
|
|
47352
|
+
* @version 148.0.0
|
|
47166
47353
|
*/
|
|
47167
47354
|
|
|
47168
47355
|
/**
|
|
@@ -47290,7 +47477,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47290
47477
|
/**
|
|
47291
47478
|
* Tokens service.
|
|
47292
47479
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
47293
|
-
* @version
|
|
47480
|
+
* @version 148.0.0
|
|
47294
47481
|
*/
|
|
47295
47482
|
|
|
47296
47483
|
/**
|
|
@@ -47396,7 +47583,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47396
47583
|
/**
|
|
47397
47584
|
* Uploads service.
|
|
47398
47585
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
47399
|
-
* @version
|
|
47586
|
+
* @version 148.0.0
|
|
47400
47587
|
*/
|
|
47401
47588
|
|
|
47402
47589
|
/**
|
|
@@ -47572,7 +47759,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47572
47759
|
/**
|
|
47573
47760
|
* Usage service.
|
|
47574
47761
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
47575
|
-
* @version
|
|
47762
|
+
* @version 148.0.0
|
|
47576
47763
|
*/
|
|
47577
47764
|
|
|
47578
47765
|
/**
|
|
@@ -47643,7 +47830,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47643
47830
|
/**
|
|
47644
47831
|
* UserRecordings service.
|
|
47645
47832
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
47646
|
-
* @version
|
|
47833
|
+
* @version 148.0.0
|
|
47647
47834
|
*/
|
|
47648
47835
|
|
|
47649
47836
|
/**
|
|
@@ -47718,6 +47905,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47718
47905
|
* @param {String} recordingId User Recording ID
|
|
47719
47906
|
* @param {Object} opts Optional parameters
|
|
47720
47907
|
* @param {Object} opts.formatId The desired media format. (default to WEBM)
|
|
47908
|
+
* @param {Boolean} opts.async When set to true, api will return 202 response until the recording is ready for download
|
|
47721
47909
|
*/
|
|
47722
47910
|
getUserrecordingMedia(recordingId, opts) {
|
|
47723
47911
|
opts = opts || {};
|
|
@@ -47731,7 +47919,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47731
47919
|
'/api/v2/userrecordings/{recordingId}/media',
|
|
47732
47920
|
'GET',
|
|
47733
47921
|
{ 'recordingId': recordingId },
|
|
47734
|
-
{ 'formatId': opts['formatId'] },
|
|
47922
|
+
{ 'formatId': opts['formatId'],'async': opts['async'] },
|
|
47735
47923
|
{ },
|
|
47736
47924
|
{ },
|
|
47737
47925
|
null,
|
|
@@ -47827,7 +48015,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
47827
48015
|
/**
|
|
47828
48016
|
* Users service.
|
|
47829
48017
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
47830
|
-
* @version
|
|
48018
|
+
* @version 148.0.0
|
|
47831
48019
|
*/
|
|
47832
48020
|
|
|
47833
48021
|
/**
|
|
@@ -50159,7 +50347,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50159
50347
|
/**
|
|
50160
50348
|
* Utilities service.
|
|
50161
50349
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
50162
|
-
* @version
|
|
50350
|
+
* @version 148.0.0
|
|
50163
50351
|
*/
|
|
50164
50352
|
|
|
50165
50353
|
/**
|
|
@@ -50270,7 +50458,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50270
50458
|
/**
|
|
50271
50459
|
* Voicemail service.
|
|
50272
50460
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
50273
|
-
* @version
|
|
50461
|
+
* @version 148.0.0
|
|
50274
50462
|
*/
|
|
50275
50463
|
|
|
50276
50464
|
/**
|
|
@@ -50937,7 +51125,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
50937
51125
|
/**
|
|
50938
51126
|
* WebChat service.
|
|
50939
51127
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
50940
|
-
* @version
|
|
51128
|
+
* @version 148.0.0
|
|
50941
51129
|
*/
|
|
50942
51130
|
|
|
50943
51131
|
/**
|
|
@@ -51481,7 +51669,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51481
51669
|
/**
|
|
51482
51670
|
* WebDeployments service.
|
|
51483
51671
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
51484
|
-
* @version
|
|
51672
|
+
* @version 148.0.0
|
|
51485
51673
|
*/
|
|
51486
51674
|
|
|
51487
51675
|
/**
|
|
@@ -51865,7 +52053,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51865
52053
|
/**
|
|
51866
52054
|
* WebMessaging service.
|
|
51867
52055
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
51868
|
-
* @version
|
|
52056
|
+
* @version 148.0.0
|
|
51869
52057
|
*/
|
|
51870
52058
|
|
|
51871
52059
|
/**
|
|
@@ -51911,7 +52099,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51911
52099
|
/**
|
|
51912
52100
|
* Widgets service.
|
|
51913
52101
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
51914
|
-
* @version
|
|
52102
|
+
* @version 148.0.0
|
|
51915
52103
|
*/
|
|
51916
52104
|
|
|
51917
52105
|
/**
|
|
@@ -52057,7 +52245,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52057
52245
|
/**
|
|
52058
52246
|
* WorkforceManagement service.
|
|
52059
52247
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
52060
|
-
* @version
|
|
52248
|
+
* @version 148.0.0
|
|
52061
52249
|
*/
|
|
52062
52250
|
|
|
52063
52251
|
/**
|
|
@@ -56333,7 +56521,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
56333
56521
|
* </pre>
|
|
56334
56522
|
* </p>
|
|
56335
56523
|
* @module purecloud-platform-client-v2/index
|
|
56336
|
-
* @version
|
|
56524
|
+
* @version 148.0.0
|
|
56337
56525
|
*/
|
|
56338
56526
|
class platformClient {
|
|
56339
56527
|
constructor() {
|
|
@@ -56532,6 +56720,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
56532
56720
|
* @property {module:purecloud-platform-client-v2/api/PresenceApi}
|
|
56533
56721
|
*/
|
|
56534
56722
|
this.PresenceApi = PresenceApi;
|
|
56723
|
+
/**
|
|
56724
|
+
* The ProcessAutomationApi service constructor.
|
|
56725
|
+
* @property {module:purecloud-platform-client-v2/api/ProcessAutomationApi}
|
|
56726
|
+
*/
|
|
56727
|
+
this.ProcessAutomationApi = ProcessAutomationApi;
|
|
56535
56728
|
/**
|
|
56536
56729
|
* The QualityApi service constructor.
|
|
56537
56730
|
* @property {module:purecloud-platform-client-v2/api/QualityApi}
|