purecloud-platform-client-v2 151.0.0 → 153.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 +712 -150
- package/dist/web-amd/purecloud-platform-client-v2.js +712 -150
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +712 -150
- package/dist/web-cjs/purecloud-platform-client-v2.js +712 -150
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +579 -212
- 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 +30 -4
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +5 -4
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +46 -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 +16 -10
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.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 -65
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +3 -3
- 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 +1 -1
- 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 +226 -2
- 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 +1 -1
- 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 +325 -1
- package/src/purecloud-platform-client-v2/index.js +1 -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 153.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 153.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 153.0.0
|
|
1796
1796
|
*/
|
|
1797
1797
|
|
|
1798
1798
|
/**
|
|
@@ -1808,7 +1808,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1808
1808
|
|
|
1809
1809
|
|
|
1810
1810
|
/**
|
|
1811
|
-
* Delete/cancel an async
|
|
1811
|
+
* Delete/cancel an async details job
|
|
1812
1812
|
*
|
|
1813
1813
|
* @param {String} jobId jobId
|
|
1814
1814
|
*/
|
|
@@ -1891,6 +1891,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1891
1891
|
* @param {String} opts.pageSize Max number of entities to return. Maximum of 250 (default to 50)
|
|
1892
1892
|
* @param {String} opts.actionId Optional action ID to get the reporting turns associated to a particular flow action
|
|
1893
1893
|
* @param {String} opts.sessionId Optional session ID to get the reporting turns for a particular session
|
|
1894
|
+
* @param {String} opts.language Optional language code to get the reporting turns for a particular language
|
|
1894
1895
|
*/
|
|
1895
1896
|
getAnalyticsBotflowReportingturns(botFlowId, opts) {
|
|
1896
1897
|
opts = opts || {};
|
|
@@ -1904,7 +1905,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1904
1905
|
'/api/v2/analytics/botflows/{botFlowId}/reportingturns',
|
|
1905
1906
|
'GET',
|
|
1906
1907
|
{ 'botFlowId': botFlowId },
|
|
1907
|
-
{ 'after': opts['after'],'pageSize': opts['pageSize'],'actionId': opts['actionId'],'sessionId': opts['sessionId'] },
|
|
1908
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'actionId': opts['actionId'],'sessionId': opts['sessionId'],'language': opts['language'] },
|
|
1908
1909
|
{ },
|
|
1909
1910
|
{ },
|
|
1910
1911
|
null,
|
|
@@ -1989,7 +1990,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
1989
1990
|
}
|
|
1990
1991
|
|
|
1991
1992
|
/**
|
|
1992
|
-
* Fetch a page of results for an async
|
|
1993
|
+
* Fetch a page of results for an async details job
|
|
1993
1994
|
*
|
|
1994
1995
|
* @param {String} jobId jobId
|
|
1995
1996
|
* @param {Object} opts Optional parameters
|
|
@@ -2453,6 +2454,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
2453
2454
|
);
|
|
2454
2455
|
}
|
|
2455
2456
|
|
|
2457
|
+
/**
|
|
2458
|
+
* Query for action aggregates
|
|
2459
|
+
*
|
|
2460
|
+
* @param {Object} body query
|
|
2461
|
+
*/
|
|
2462
|
+
postAnalyticsActionsAggregatesQuery(body) {
|
|
2463
|
+
// verify the required parameter 'body' is set
|
|
2464
|
+
if (body === undefined || body === null) {
|
|
2465
|
+
throw 'Missing the required parameter "body" when calling postAnalyticsActionsAggregatesQuery';
|
|
2466
|
+
}
|
|
2467
|
+
|
|
2468
|
+
return this.apiClient.callApi(
|
|
2469
|
+
'/api/v2/analytics/actions/aggregates/query',
|
|
2470
|
+
'POST',
|
|
2471
|
+
{ },
|
|
2472
|
+
{ },
|
|
2473
|
+
{ },
|
|
2474
|
+
{ },
|
|
2475
|
+
body,
|
|
2476
|
+
['PureCloud OAuth'],
|
|
2477
|
+
['application/json'],
|
|
2478
|
+
['application/json']
|
|
2479
|
+
);
|
|
2480
|
+
}
|
|
2481
|
+
|
|
2456
2482
|
/**
|
|
2457
2483
|
* Query for bot aggregates
|
|
2458
2484
|
*
|
|
@@ -3019,7 +3045,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
3019
3045
|
/**
|
|
3020
3046
|
* Architect service.
|
|
3021
3047
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
3022
|
-
* @version
|
|
3048
|
+
* @version 153.0.0
|
|
3023
3049
|
*/
|
|
3024
3050
|
|
|
3025
3051
|
/**
|
|
@@ -4612,6 +4638,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
4612
4638
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
4613
4639
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
4614
4640
|
* @param {Boolean} opts.showbrief If true returns just the key value of the row (default to true)
|
|
4641
|
+
* @param {Object} opts.sortOrder Sort order (default to ascending)
|
|
4615
4642
|
*/
|
|
4616
4643
|
getFlowsDatatableRows(datatableId, opts) {
|
|
4617
4644
|
opts = opts || {};
|
|
@@ -4625,7 +4652,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
4625
4652
|
'/api/v2/flows/datatables/{datatableId}/rows',
|
|
4626
4653
|
'GET',
|
|
4627
4654
|
{ 'datatableId': datatableId },
|
|
4628
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'showbrief': opts['showbrief'] },
|
|
4655
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'showbrief': opts['showbrief'],'sortOrder': opts['sortOrder'] },
|
|
4629
4656
|
{ },
|
|
4630
4657
|
{ },
|
|
4631
4658
|
null,
|
|
@@ -4645,7 +4672,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
4645
4672
|
* @param {Object} opts.sortBy Sort by (default to id)
|
|
4646
4673
|
* @param {String} opts.sortOrder Sort order (default to ascending)
|
|
4647
4674
|
* @param {Array.<String>} opts.divisionId division ID(s)
|
|
4648
|
-
* @param {String} opts.name Name
|
|
4675
|
+
* @param {String} opts.name Filter by Name. The wildcard character * is supported within the filter. Matches are case-insensitive.
|
|
4649
4676
|
*/
|
|
4650
4677
|
getFlowsDatatables(opts) {
|
|
4651
4678
|
opts = opts || {};
|
|
@@ -4704,7 +4731,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
4704
4731
|
* @param {Object} opts.sortBy Sort by (default to id)
|
|
4705
4732
|
* @param {String} opts.sortOrder Sort order (default to ascending)
|
|
4706
4733
|
* @param {Array.<String>} opts.divisionId division ID(s)
|
|
4707
|
-
* @param {String} opts.name Name
|
|
4734
|
+
* @param {String} opts.name Filter by Name. The wildcard character * is supported within the filter. Matches are case-insensitive.
|
|
4708
4735
|
*/
|
|
4709
4736
|
getFlowsDatatablesDivisionviews(opts) {
|
|
4710
4737
|
opts = opts || {};
|
|
@@ -6065,7 +6092,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6065
6092
|
/**
|
|
6066
6093
|
* Audit service.
|
|
6067
6094
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
6068
|
-
* @version
|
|
6095
|
+
* @version 153.0.0
|
|
6069
6096
|
*/
|
|
6070
6097
|
|
|
6071
6098
|
/**
|
|
@@ -6236,7 +6263,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6236
6263
|
/**
|
|
6237
6264
|
* Authorization service.
|
|
6238
6265
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6239
|
-
* @version
|
|
6266
|
+
* @version 153.0.0
|
|
6240
6267
|
*/
|
|
6241
6268
|
|
|
6242
6269
|
/**
|
|
@@ -6769,6 +6796,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6769
6796
|
);
|
|
6770
6797
|
}
|
|
6771
6798
|
|
|
6799
|
+
/**
|
|
6800
|
+
* Get authorization settings
|
|
6801
|
+
*
|
|
6802
|
+
*/
|
|
6803
|
+
getAuthorizationSettings() {
|
|
6804
|
+
|
|
6805
|
+
return this.apiClient.callApi(
|
|
6806
|
+
'/api/v2/authorization/settings',
|
|
6807
|
+
'GET',
|
|
6808
|
+
{ },
|
|
6809
|
+
{ },
|
|
6810
|
+
{ },
|
|
6811
|
+
{ },
|
|
6812
|
+
null,
|
|
6813
|
+
['PureCloud OAuth'],
|
|
6814
|
+
['application/json'],
|
|
6815
|
+
['application/json']
|
|
6816
|
+
);
|
|
6817
|
+
}
|
|
6818
|
+
|
|
6772
6819
|
/**
|
|
6773
6820
|
* Returns a listing of roles and permissions for a user.
|
|
6774
6821
|
*
|
|
@@ -6893,6 +6940,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
6893
6940
|
);
|
|
6894
6941
|
}
|
|
6895
6942
|
|
|
6943
|
+
/**
|
|
6944
|
+
* Change authorization settings
|
|
6945
|
+
* Change authorization settings
|
|
6946
|
+
* @param {Object} body Authorization Settings
|
|
6947
|
+
*/
|
|
6948
|
+
patchAuthorizationSettings(body) {
|
|
6949
|
+
// verify the required parameter 'body' is set
|
|
6950
|
+
if (body === undefined || body === null) {
|
|
6951
|
+
throw 'Missing the required parameter "body" when calling patchAuthorizationSettings';
|
|
6952
|
+
}
|
|
6953
|
+
|
|
6954
|
+
return this.apiClient.callApi(
|
|
6955
|
+
'/api/v2/authorization/settings',
|
|
6956
|
+
'PATCH',
|
|
6957
|
+
{ },
|
|
6958
|
+
{ },
|
|
6959
|
+
{ },
|
|
6960
|
+
{ },
|
|
6961
|
+
body,
|
|
6962
|
+
['PureCloud OAuth'],
|
|
6963
|
+
['application/json'],
|
|
6964
|
+
['application/json']
|
|
6965
|
+
);
|
|
6966
|
+
}
|
|
6967
|
+
|
|
6896
6968
|
/**
|
|
6897
6969
|
* Assign a list of objects to a division
|
|
6898
6970
|
* Set the division of a specified list of objects. The objects must all be of the same type, one of: CAMPAIGN, MANAGEMENTUNIT, FLOW, QUEUE, DATATABLES or USER. The body of the request is a list of object IDs, which are expected to be GUIDs, e.g. ["206ce31f-61ec-40ed-a8b1-be6f06303998","250a754e-f5e4-4f51-800f-a92f09d3bf8c"]
|
|
@@ -7419,7 +7491,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7419
7491
|
/**
|
|
7420
7492
|
* Billing service.
|
|
7421
7493
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7422
|
-
* @version
|
|
7494
|
+
* @version 153.0.0
|
|
7423
7495
|
*/
|
|
7424
7496
|
|
|
7425
7497
|
/**
|
|
@@ -7499,7 +7571,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7499
7571
|
/**
|
|
7500
7572
|
* Chat service.
|
|
7501
7573
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7502
|
-
* @version
|
|
7574
|
+
* @version 153.0.0
|
|
7503
7575
|
*/
|
|
7504
7576
|
|
|
7505
7577
|
/**
|
|
@@ -7590,7 +7662,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
7590
7662
|
/**
|
|
7591
7663
|
* Coaching service.
|
|
7592
7664
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7593
|
-
* @version
|
|
7665
|
+
* @version 153.0.0
|
|
7594
7666
|
*/
|
|
7595
7667
|
|
|
7596
7668
|
/**
|
|
@@ -8167,7 +8239,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
8167
8239
|
/**
|
|
8168
8240
|
* ContentManagement service.
|
|
8169
8241
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8170
|
-
* @version
|
|
8242
|
+
* @version 153.0.0
|
|
8171
8243
|
*/
|
|
8172
8244
|
|
|
8173
8245
|
/**
|
|
@@ -9307,7 +9379,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
9307
9379
|
/**
|
|
9308
9380
|
* Conversations service.
|
|
9309
9381
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9310
|
-
* @version
|
|
9382
|
+
* @version 153.0.0
|
|
9311
9383
|
*/
|
|
9312
9384
|
|
|
9313
9385
|
/**
|
|
@@ -9323,7 +9395,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
9323
9395
|
|
|
9324
9396
|
|
|
9325
9397
|
/**
|
|
9326
|
-
* Delete/cancel an async
|
|
9398
|
+
* Delete/cancel an async details job
|
|
9327
9399
|
*
|
|
9328
9400
|
* @param {String} jobId jobId
|
|
9329
9401
|
*/
|
|
@@ -9697,7 +9769,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
9697
9769
|
}
|
|
9698
9770
|
|
|
9699
9771
|
/**
|
|
9700
|
-
* Fetch a page of results for an async
|
|
9772
|
+
* Fetch a page of results for an async details job
|
|
9701
9773
|
*
|
|
9702
9774
|
* @param {String} jobId jobId
|
|
9703
9775
|
* @param {Object} opts Optional parameters
|
|
@@ -10986,8 +11058,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
10986
11058
|
* @param {Object} opts Optional parameters
|
|
10987
11059
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
10988
11060
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
10989
|
-
* @param {
|
|
11061
|
+
* @param {Array.<String>} opts.expand Expand instructions for the return value.
|
|
10990
11062
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
11063
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
10991
11064
|
*/
|
|
10992
11065
|
getConversationsMessagingIntegrations(opts) {
|
|
10993
11066
|
opts = opts || {};
|
|
@@ -10997,7 +11070,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
10997
11070
|
'/api/v2/conversations/messaging/integrations',
|
|
10998
11071
|
'GET',
|
|
10999
11072
|
{ },
|
|
11000
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
11073
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
|
|
11001
11074
|
{ },
|
|
11002
11075
|
{ },
|
|
11003
11076
|
null,
|
|
@@ -11015,6 +11088,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11015
11088
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
11016
11089
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
11017
11090
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
11091
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
11018
11092
|
*/
|
|
11019
11093
|
getConversationsMessagingIntegrationsFacebook(opts) {
|
|
11020
11094
|
opts = opts || {};
|
|
@@ -11024,7 +11098,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11024
11098
|
'/api/v2/conversations/messaging/integrations/facebook',
|
|
11025
11099
|
'GET',
|
|
11026
11100
|
{ },
|
|
11027
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
11101
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
|
|
11028
11102
|
{ },
|
|
11029
11103
|
{ },
|
|
11030
11104
|
null,
|
|
@@ -11071,6 +11145,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11071
11145
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
11072
11146
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
11073
11147
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
11148
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
11074
11149
|
*/
|
|
11075
11150
|
getConversationsMessagingIntegrationsLine(opts) {
|
|
11076
11151
|
opts = opts || {};
|
|
@@ -11080,7 +11155,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11080
11155
|
'/api/v2/conversations/messaging/integrations/line',
|
|
11081
11156
|
'GET',
|
|
11082
11157
|
{ },
|
|
11083
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
11158
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
|
|
11084
11159
|
{ },
|
|
11085
11160
|
{ },
|
|
11086
11161
|
null,
|
|
@@ -11127,6 +11202,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11127
11202
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
11128
11203
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
11129
11204
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
11205
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
11130
11206
|
*/
|
|
11131
11207
|
getConversationsMessagingIntegrationsOpen(opts) {
|
|
11132
11208
|
opts = opts || {};
|
|
@@ -11136,7 +11212,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11136
11212
|
'/api/v2/conversations/messaging/integrations/open',
|
|
11137
11213
|
'GET',
|
|
11138
11214
|
{ },
|
|
11139
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
11215
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
|
|
11140
11216
|
{ },
|
|
11141
11217
|
{ },
|
|
11142
11218
|
null,
|
|
@@ -11183,6 +11259,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11183
11259
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
11184
11260
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
11185
11261
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
11262
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
11186
11263
|
*/
|
|
11187
11264
|
getConversationsMessagingIntegrationsTwitter(opts) {
|
|
11188
11265
|
opts = opts || {};
|
|
@@ -11192,7 +11269,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11192
11269
|
'/api/v2/conversations/messaging/integrations/twitter',
|
|
11193
11270
|
'GET',
|
|
11194
11271
|
{ },
|
|
11195
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
11272
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
|
|
11196
11273
|
{ },
|
|
11197
11274
|
{ },
|
|
11198
11275
|
null,
|
|
@@ -11239,6 +11316,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11239
11316
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
11240
11317
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
11241
11318
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
11319
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
11242
11320
|
*/
|
|
11243
11321
|
getConversationsMessagingIntegrationsWhatsapp(opts) {
|
|
11244
11322
|
opts = opts || {};
|
|
@@ -11248,7 +11326,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
11248
11326
|
'/api/v2/conversations/messaging/integrations/whatsapp',
|
|
11249
11327
|
'GET',
|
|
11250
11328
|
{ },
|
|
11251
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
11329
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
|
|
11252
11330
|
{ },
|
|
11253
11331
|
{ },
|
|
11254
11332
|
null,
|
|
@@ -14524,7 +14602,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14524
14602
|
/**
|
|
14525
14603
|
* DataExtensions service.
|
|
14526
14604
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
14527
|
-
* @version
|
|
14605
|
+
* @version 153.0.0
|
|
14528
14606
|
*/
|
|
14529
14607
|
|
|
14530
14608
|
/**
|
|
@@ -14610,7 +14688,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14610
14688
|
/**
|
|
14611
14689
|
* Downloads service.
|
|
14612
14690
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
14613
|
-
* @version
|
|
14691
|
+
* @version 153.0.0
|
|
14614
14692
|
*/
|
|
14615
14693
|
|
|
14616
14694
|
/**
|
|
@@ -14662,7 +14740,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14662
14740
|
/**
|
|
14663
14741
|
* Events service.
|
|
14664
14742
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
14665
|
-
* @version
|
|
14743
|
+
* @version 153.0.0
|
|
14666
14744
|
*/
|
|
14667
14745
|
|
|
14668
14746
|
/**
|
|
@@ -14758,7 +14836,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
14758
14836
|
/**
|
|
14759
14837
|
* ExternalContacts service.
|
|
14760
14838
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
14761
|
-
* @version
|
|
14839
|
+
* @version 153.0.0
|
|
14762
14840
|
*/
|
|
14763
14841
|
|
|
14764
14842
|
/**
|
|
@@ -16716,7 +16794,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16716
16794
|
/**
|
|
16717
16795
|
* Fax service.
|
|
16718
16796
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
16719
|
-
* @version
|
|
16797
|
+
* @version 153.0.0
|
|
16720
16798
|
*/
|
|
16721
16799
|
|
|
16722
16800
|
/**
|
|
@@ -16887,7 +16965,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16887
16965
|
/**
|
|
16888
16966
|
* Flows service.
|
|
16889
16967
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
16890
|
-
* @version
|
|
16968
|
+
* @version 153.0.0
|
|
16891
16969
|
*/
|
|
16892
16970
|
|
|
16893
16971
|
/**
|
|
@@ -16958,7 +17036,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
16958
17036
|
/**
|
|
16959
17037
|
* Gamification service.
|
|
16960
17038
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
16961
|
-
* @version
|
|
17039
|
+
* @version 153.0.0
|
|
16962
17040
|
*/
|
|
16963
17041
|
|
|
16964
17042
|
/**
|
|
@@ -17176,36 +17254,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
17176
17254
|
);
|
|
17177
17255
|
}
|
|
17178
17256
|
|
|
17179
|
-
/**
|
|
17180
|
-
* Gamified metric by id
|
|
17181
|
-
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics/{metricId} instead.
|
|
17182
|
-
* @param {String} metricId metric Id
|
|
17183
|
-
* @param {Object} opts Optional parameters
|
|
17184
|
-
* @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
|
|
17185
|
-
* @param {String} opts.performanceProfileId The profile id of the metrics you are trying to retrieve. The DEFAULT profile is used if nothing is given.
|
|
17186
|
-
*/
|
|
17187
|
-
getGamificationMetric(metricId, opts) {
|
|
17188
|
-
opts = opts || {};
|
|
17189
|
-
|
|
17190
|
-
// verify the required parameter 'metricId' is set
|
|
17191
|
-
if (metricId === undefined || metricId === null) {
|
|
17192
|
-
throw 'Missing the required parameter "metricId" when calling getGamificationMetric';
|
|
17193
|
-
}
|
|
17194
|
-
|
|
17195
|
-
return this.apiClient.callApi(
|
|
17196
|
-
'/api/v2/gamification/metrics/{metricId}',
|
|
17197
|
-
'GET',
|
|
17198
|
-
{ 'metricId': metricId },
|
|
17199
|
-
{ 'workday': opts['workday'],'performanceProfileId': opts['performanceProfileId'] },
|
|
17200
|
-
{ },
|
|
17201
|
-
{ },
|
|
17202
|
-
null,
|
|
17203
|
-
['PureCloud OAuth'],
|
|
17204
|
-
['application/json'],
|
|
17205
|
-
['application/json']
|
|
17206
|
-
);
|
|
17207
|
-
}
|
|
17208
|
-
|
|
17209
17257
|
/**
|
|
17210
17258
|
* Metric definition by id
|
|
17211
17259
|
*
|
|
@@ -18510,40 +18558,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18510
18558
|
);
|
|
18511
18559
|
}
|
|
18512
18560
|
|
|
18513
|
-
/**
|
|
18514
|
-
* Updates a metric
|
|
18515
|
-
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics/{metricId} instead.
|
|
18516
|
-
* @param {String} metricId metric Id
|
|
18517
|
-
* @param {Object} body Metric
|
|
18518
|
-
* @param {Object} opts Optional parameters
|
|
18519
|
-
* @param {String} opts.performanceProfileId The profile id of the metrics you are trying to retrieve. The DEFAULT profile is used if nothing is given.
|
|
18520
|
-
*/
|
|
18521
|
-
putGamificationMetric(metricId, body, opts) {
|
|
18522
|
-
opts = opts || {};
|
|
18523
|
-
|
|
18524
|
-
// verify the required parameter 'metricId' is set
|
|
18525
|
-
if (metricId === undefined || metricId === null) {
|
|
18526
|
-
throw 'Missing the required parameter "metricId" when calling putGamificationMetric';
|
|
18527
|
-
}
|
|
18528
|
-
// verify the required parameter 'body' is set
|
|
18529
|
-
if (body === undefined || body === null) {
|
|
18530
|
-
throw 'Missing the required parameter "body" when calling putGamificationMetric';
|
|
18531
|
-
}
|
|
18532
|
-
|
|
18533
|
-
return this.apiClient.callApi(
|
|
18534
|
-
'/api/v2/gamification/metrics/{metricId}',
|
|
18535
|
-
'PUT',
|
|
18536
|
-
{ 'metricId': metricId },
|
|
18537
|
-
{ 'performanceProfileId': opts['performanceProfileId'] },
|
|
18538
|
-
{ },
|
|
18539
|
-
{ },
|
|
18540
|
-
body,
|
|
18541
|
-
['PureCloud OAuth'],
|
|
18542
|
-
['application/json'],
|
|
18543
|
-
['application/json']
|
|
18544
|
-
);
|
|
18545
|
-
}
|
|
18546
|
-
|
|
18547
18561
|
/**
|
|
18548
18562
|
* Updates a performance profile
|
|
18549
18563
|
*
|
|
@@ -18639,7 +18653,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18639
18653
|
/**
|
|
18640
18654
|
* GeneralDataProtectionRegulation service.
|
|
18641
18655
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
18642
|
-
* @version
|
|
18656
|
+
* @version 153.0.0
|
|
18643
18657
|
*/
|
|
18644
18658
|
|
|
18645
18659
|
/**
|
|
@@ -18769,7 +18783,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18769
18783
|
/**
|
|
18770
18784
|
* Geolocation service.
|
|
18771
18785
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
18772
|
-
* @version
|
|
18786
|
+
* @version 153.0.0
|
|
18773
18787
|
*/
|
|
18774
18788
|
|
|
18775
18789
|
/**
|
|
@@ -18900,7 +18914,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
18900
18914
|
/**
|
|
18901
18915
|
* Greetings service.
|
|
18902
18916
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
18903
|
-
* @version
|
|
18917
|
+
* @version 153.0.0
|
|
18904
18918
|
*/
|
|
18905
18919
|
|
|
18906
18920
|
/**
|
|
@@ -19355,7 +19369,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19355
19369
|
/**
|
|
19356
19370
|
* Groups service.
|
|
19357
19371
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
19358
|
-
* @version
|
|
19372
|
+
* @version 153.0.0
|
|
19359
19373
|
*/
|
|
19360
19374
|
|
|
19361
19375
|
/**
|
|
@@ -19761,7 +19775,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
19761
19775
|
/**
|
|
19762
19776
|
* IdentityProvider service.
|
|
19763
19777
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
19764
|
-
* @version
|
|
19778
|
+
* @version 153.0.0
|
|
19765
19779
|
*/
|
|
19766
19780
|
|
|
19767
19781
|
/**
|
|
@@ -20517,7 +20531,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
20517
20531
|
/**
|
|
20518
20532
|
* Integrations service.
|
|
20519
20533
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
20520
|
-
* @version
|
|
20534
|
+
* @version 153.0.0
|
|
20521
20535
|
*/
|
|
20522
20536
|
|
|
20523
20537
|
/**
|
|
@@ -22117,7 +22131,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22117
22131
|
/**
|
|
22118
22132
|
* Journey service.
|
|
22119
22133
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
22120
|
-
* @version
|
|
22134
|
+
* @version 153.0.0
|
|
22121
22135
|
*/
|
|
22122
22136
|
|
|
22123
22137
|
/**
|
|
@@ -22903,7 +22917,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
22903
22917
|
/**
|
|
22904
22918
|
* Knowledge service.
|
|
22905
22919
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
22906
|
-
* @version
|
|
22920
|
+
* @version 153.0.0
|
|
22907
22921
|
*/
|
|
22908
22922
|
|
|
22909
22923
|
/**
|
|
@@ -23306,8 +23320,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
23306
23320
|
* @param {String} sessionId Knowledge guest session ID.
|
|
23307
23321
|
* @param {Object} opts Optional parameters
|
|
23308
23322
|
* @param {Array.<String>} opts.categoryId If specified, retrieves documents associated with category ids, comma separated values expected.
|
|
23309
|
-
* @param {Boolean} opts.includeSubcategories Works along with 'categoryId' query parameter. If specified, retrieves documents associated with category ids and its children categories.
|
|
23310
|
-
* @param {
|
|
23323
|
+
* @param {Boolean} opts.includeSubcategories Deprecated - Do Not Use. Works along with 'categoryId' query parameter. If specified, retrieves documents associated with category ids and its children categories.
|
|
23324
|
+
* @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 10)
|
|
23311
23325
|
*/
|
|
23312
23326
|
getKnowledgeGuestSessionDocuments(sessionId, opts) {
|
|
23313
23327
|
opts = opts || {};
|
|
@@ -25336,7 +25350,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
25336
25350
|
/**
|
|
25337
25351
|
* LanguageUnderstanding service.
|
|
25338
25352
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
25339
|
-
* @version
|
|
25353
|
+
* @version 153.0.0
|
|
25340
25354
|
*/
|
|
25341
25355
|
|
|
25342
25356
|
/**
|
|
@@ -26240,7 +26254,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26240
26254
|
/**
|
|
26241
26255
|
* Languages service.
|
|
26242
26256
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
26243
|
-
* @version
|
|
26257
|
+
* @version 153.0.0
|
|
26244
26258
|
*/
|
|
26245
26259
|
|
|
26246
26260
|
/**
|
|
@@ -26508,7 +26522,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
26508
26522
|
/**
|
|
26509
26523
|
* Learning service.
|
|
26510
26524
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
26511
|
-
* @version
|
|
26525
|
+
* @version 153.0.0
|
|
26512
26526
|
*/
|
|
26513
26527
|
|
|
26514
26528
|
/**
|
|
@@ -27268,7 +27282,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27268
27282
|
/**
|
|
27269
27283
|
* License service.
|
|
27270
27284
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
27271
|
-
* @version
|
|
27285
|
+
* @version 153.0.0
|
|
27272
27286
|
*/
|
|
27273
27287
|
|
|
27274
27288
|
/**
|
|
@@ -27506,7 +27520,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27506
27520
|
/**
|
|
27507
27521
|
* Locations service.
|
|
27508
27522
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
27509
|
-
* @version
|
|
27523
|
+
* @version 153.0.0
|
|
27510
27524
|
*/
|
|
27511
27525
|
|
|
27512
27526
|
/**
|
|
@@ -27742,7 +27756,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27742
27756
|
/**
|
|
27743
27757
|
* Messaging service.
|
|
27744
27758
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
27745
|
-
* @version
|
|
27759
|
+
* @version 153.0.0
|
|
27746
27760
|
*/
|
|
27747
27761
|
|
|
27748
27762
|
/**
|
|
@@ -27893,7 +27907,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
27893
27907
|
/**
|
|
27894
27908
|
* MobileDevices service.
|
|
27895
27909
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
27896
|
-
* @version
|
|
27910
|
+
* @version 153.0.0
|
|
27897
27911
|
*/
|
|
27898
27912
|
|
|
27899
27913
|
/**
|
|
@@ -28044,7 +28058,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28044
28058
|
/**
|
|
28045
28059
|
* Notifications service.
|
|
28046
28060
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
28047
|
-
* @version
|
|
28061
|
+
* @version 153.0.0
|
|
28048
28062
|
*/
|
|
28049
28063
|
|
|
28050
28064
|
/**
|
|
@@ -28269,7 +28283,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28269
28283
|
/**
|
|
28270
28284
|
* OAuth service.
|
|
28271
28285
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
28272
|
-
* @version
|
|
28286
|
+
* @version 153.0.0
|
|
28273
28287
|
*/
|
|
28274
28288
|
|
|
28275
28289
|
/**
|
|
@@ -28635,7 +28649,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28635
28649
|
/**
|
|
28636
28650
|
* Objects service.
|
|
28637
28651
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
28638
|
-
* @version
|
|
28652
|
+
* @version 153.0.0
|
|
28639
28653
|
*/
|
|
28640
28654
|
|
|
28641
28655
|
/**
|
|
@@ -28906,7 +28920,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
28906
28920
|
/**
|
|
28907
28921
|
* Organization service.
|
|
28908
28922
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
28909
|
-
* @version
|
|
28923
|
+
* @version 153.0.0
|
|
28910
28924
|
*/
|
|
28911
28925
|
|
|
28912
28926
|
/**
|
|
@@ -29309,7 +29323,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
29309
29323
|
/**
|
|
29310
29324
|
* OrganizationAuthorization service.
|
|
29311
29325
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
29312
|
-
* @version
|
|
29326
|
+
* @version 153.0.0
|
|
29313
29327
|
*/
|
|
29314
29328
|
|
|
29315
29329
|
/**
|
|
@@ -30234,7 +30248,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
30234
30248
|
/**
|
|
30235
30249
|
* Outbound service.
|
|
30236
30250
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
30237
|
-
* @version
|
|
30251
|
+
* @version 153.0.0
|
|
30238
30252
|
*/
|
|
30239
30253
|
|
|
30240
30254
|
/**
|
|
@@ -33623,7 +33637,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
33623
33637
|
/**
|
|
33624
33638
|
* Presence service.
|
|
33625
33639
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
33626
|
-
* @version
|
|
33640
|
+
* @version 153.0.0
|
|
33627
33641
|
*/
|
|
33628
33642
|
|
|
33629
33643
|
/**
|
|
@@ -34129,7 +34143,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34129
34143
|
/**
|
|
34130
34144
|
* ProcessAutomation service.
|
|
34131
34145
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
34132
|
-
* @version
|
|
34146
|
+
* @version 153.0.0
|
|
34133
34147
|
*/
|
|
34134
34148
|
|
|
34135
34149
|
/**
|
|
@@ -34367,7 +34381,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
34367
34381
|
/**
|
|
34368
34382
|
* Quality service.
|
|
34369
34383
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
34370
|
-
* @version
|
|
34384
|
+
* @version 153.0.0
|
|
34371
34385
|
*/
|
|
34372
34386
|
|
|
34373
34387
|
/**
|
|
@@ -35945,7 +35959,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
35945
35959
|
/**
|
|
35946
35960
|
* Recording service.
|
|
35947
35961
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
35948
|
-
* @version
|
|
35962
|
+
* @version 153.0.0
|
|
35949
35963
|
*/
|
|
35950
35964
|
|
|
35951
35965
|
/**
|
|
@@ -37632,7 +37646,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
37632
37646
|
/**
|
|
37633
37647
|
* ResponseManagement service.
|
|
37634
37648
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
37635
|
-
* @version
|
|
37649
|
+
* @version 153.0.0
|
|
37636
37650
|
*/
|
|
37637
37651
|
|
|
37638
37652
|
/**
|
|
@@ -38116,7 +38130,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38116
38130
|
/**
|
|
38117
38131
|
* Routing service.
|
|
38118
38132
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
38119
|
-
* @version
|
|
38133
|
+
* @version 153.0.0
|
|
38120
38134
|
*/
|
|
38121
38135
|
|
|
38122
38136
|
/**
|
|
@@ -38425,6 +38439,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38425
38439
|
);
|
|
38426
38440
|
}
|
|
38427
38441
|
|
|
38442
|
+
/**
|
|
38443
|
+
* Remove skill group definition
|
|
38444
|
+
*
|
|
38445
|
+
* @param {String} skillGroupId Skill Group ID
|
|
38446
|
+
*/
|
|
38447
|
+
deleteRoutingSkillgroup(skillGroupId) {
|
|
38448
|
+
// verify the required parameter 'skillGroupId' is set
|
|
38449
|
+
if (skillGroupId === undefined || skillGroupId === null) {
|
|
38450
|
+
throw 'Missing the required parameter "skillGroupId" when calling deleteRoutingSkillgroup';
|
|
38451
|
+
}
|
|
38452
|
+
|
|
38453
|
+
return this.apiClient.callApi(
|
|
38454
|
+
'/api/v2/routing/skillgroups/{skillGroupId}',
|
|
38455
|
+
'DELETE',
|
|
38456
|
+
{ 'skillGroupId': skillGroupId },
|
|
38457
|
+
{ },
|
|
38458
|
+
{ },
|
|
38459
|
+
{ },
|
|
38460
|
+
null,
|
|
38461
|
+
['PureCloud OAuth'],
|
|
38462
|
+
['application/json'],
|
|
38463
|
+
['application/json']
|
|
38464
|
+
);
|
|
38465
|
+
}
|
|
38466
|
+
|
|
38428
38467
|
/**
|
|
38429
38468
|
* Delete an Address by Id for SMS
|
|
38430
38469
|
*
|
|
@@ -38817,6 +38856,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38817
38856
|
* Get domains
|
|
38818
38857
|
*
|
|
38819
38858
|
* @param {Object} opts Optional parameters
|
|
38859
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
38860
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
38820
38861
|
* @param {Boolean} opts.excludeStatus Exclude MX record data (default to false)
|
|
38821
38862
|
*/
|
|
38822
38863
|
getRoutingEmailDomains(opts) {
|
|
@@ -38827,7 +38868,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
38827
38868
|
'/api/v2/routing/email/domains',
|
|
38828
38869
|
'GET',
|
|
38829
38870
|
{ },
|
|
38830
|
-
{ 'excludeStatus': opts['excludeStatus'] },
|
|
38871
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'excludeStatus': opts['excludeStatus'] },
|
|
38831
38872
|
{ },
|
|
38832
38873
|
{ },
|
|
38833
38874
|
null,
|
|
@@ -39610,6 +39651,119 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
39610
39651
|
);
|
|
39611
39652
|
}
|
|
39612
39653
|
|
|
39654
|
+
/**
|
|
39655
|
+
* Get skill group
|
|
39656
|
+
*
|
|
39657
|
+
* @param {String} skillGroupId Skill Group ID
|
|
39658
|
+
*/
|
|
39659
|
+
getRoutingSkillgroup(skillGroupId) {
|
|
39660
|
+
// verify the required parameter 'skillGroupId' is set
|
|
39661
|
+
if (skillGroupId === undefined || skillGroupId === null) {
|
|
39662
|
+
throw 'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroup';
|
|
39663
|
+
}
|
|
39664
|
+
|
|
39665
|
+
return this.apiClient.callApi(
|
|
39666
|
+
'/api/v2/routing/skillgroups/{skillGroupId}',
|
|
39667
|
+
'GET',
|
|
39668
|
+
{ 'skillGroupId': skillGroupId },
|
|
39669
|
+
{ },
|
|
39670
|
+
{ },
|
|
39671
|
+
{ },
|
|
39672
|
+
null,
|
|
39673
|
+
['PureCloud OAuth'],
|
|
39674
|
+
['application/json'],
|
|
39675
|
+
['application/json']
|
|
39676
|
+
);
|
|
39677
|
+
}
|
|
39678
|
+
|
|
39679
|
+
/**
|
|
39680
|
+
* Get skill group members
|
|
39681
|
+
*
|
|
39682
|
+
* @param {String} skillGroupId Skill Group ID
|
|
39683
|
+
* @param {Object} opts Optional parameters
|
|
39684
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
39685
|
+
* @param {String} opts.after The cursor that points to the next item
|
|
39686
|
+
* @param {String} opts.before The cursor that points to the previous item
|
|
39687
|
+
* @param {Object} opts.expand Expand the name on each user
|
|
39688
|
+
*/
|
|
39689
|
+
getRoutingSkillgroupMembers(skillGroupId, opts) {
|
|
39690
|
+
opts = opts || {};
|
|
39691
|
+
|
|
39692
|
+
// verify the required parameter 'skillGroupId' is set
|
|
39693
|
+
if (skillGroupId === undefined || skillGroupId === null) {
|
|
39694
|
+
throw 'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroupMembers';
|
|
39695
|
+
}
|
|
39696
|
+
|
|
39697
|
+
return this.apiClient.callApi(
|
|
39698
|
+
'/api/v2/routing/skillgroups/{skillGroupId}/members',
|
|
39699
|
+
'GET',
|
|
39700
|
+
{ 'skillGroupId': skillGroupId },
|
|
39701
|
+
{ 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'],'expand': opts['expand'] },
|
|
39702
|
+
{ },
|
|
39703
|
+
{ },
|
|
39704
|
+
null,
|
|
39705
|
+
['PureCloud OAuth'],
|
|
39706
|
+
['application/json'],
|
|
39707
|
+
['application/json']
|
|
39708
|
+
);
|
|
39709
|
+
}
|
|
39710
|
+
|
|
39711
|
+
/**
|
|
39712
|
+
* Get list of member divisions for this skill group.
|
|
39713
|
+
*
|
|
39714
|
+
* @param {String} skillGroupId Skill Group ID
|
|
39715
|
+
* @param {Object} opts Optional parameters
|
|
39716
|
+
* @param {Object} opts.expand Expand the name on each user
|
|
39717
|
+
*/
|
|
39718
|
+
getRoutingSkillgroupMembersDivisions(skillGroupId, opts) {
|
|
39719
|
+
opts = opts || {};
|
|
39720
|
+
|
|
39721
|
+
// verify the required parameter 'skillGroupId' is set
|
|
39722
|
+
if (skillGroupId === undefined || skillGroupId === null) {
|
|
39723
|
+
throw 'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroupMembersDivisions';
|
|
39724
|
+
}
|
|
39725
|
+
|
|
39726
|
+
return this.apiClient.callApi(
|
|
39727
|
+
'/api/v2/routing/skillgroups/{skillGroupId}/members/divisions',
|
|
39728
|
+
'GET',
|
|
39729
|
+
{ 'skillGroupId': skillGroupId },
|
|
39730
|
+
{ 'expand': opts['expand'] },
|
|
39731
|
+
{ },
|
|
39732
|
+
{ },
|
|
39733
|
+
null,
|
|
39734
|
+
['PureCloud OAuth'],
|
|
39735
|
+
['application/json'],
|
|
39736
|
+
['application/json']
|
|
39737
|
+
);
|
|
39738
|
+
}
|
|
39739
|
+
|
|
39740
|
+
/**
|
|
39741
|
+
* Get skill group listing
|
|
39742
|
+
*
|
|
39743
|
+
* @param {Object} opts Optional parameters
|
|
39744
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
39745
|
+
* @param {String} opts.name Return only skill group names whose names start with this value (case-insensitive matching)
|
|
39746
|
+
* @param {String} opts.after The cursor that points to the next item
|
|
39747
|
+
* @param {String} opts.before The cursor that points to the previous item
|
|
39748
|
+
*/
|
|
39749
|
+
getRoutingSkillgroups(opts) {
|
|
39750
|
+
opts = opts || {};
|
|
39751
|
+
|
|
39752
|
+
|
|
39753
|
+
return this.apiClient.callApi(
|
|
39754
|
+
'/api/v2/routing/skillgroups',
|
|
39755
|
+
'GET',
|
|
39756
|
+
{ },
|
|
39757
|
+
{ 'pageSize': opts['pageSize'],'name': opts['name'],'after': opts['after'],'before': opts['before'] },
|
|
39758
|
+
{ },
|
|
39759
|
+
{ },
|
|
39760
|
+
null,
|
|
39761
|
+
['PureCloud OAuth'],
|
|
39762
|
+
['application/json'],
|
|
39763
|
+
['application/json']
|
|
39764
|
+
);
|
|
39765
|
+
}
|
|
39766
|
+
|
|
39613
39767
|
/**
|
|
39614
39768
|
* Get the list of routing skills.
|
|
39615
39769
|
*
|
|
@@ -40248,6 +40402,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40248
40402
|
);
|
|
40249
40403
|
}
|
|
40250
40404
|
|
|
40405
|
+
/**
|
|
40406
|
+
* Update skill group definition
|
|
40407
|
+
*
|
|
40408
|
+
* @param {String} skillGroupId Skill Group ID
|
|
40409
|
+
* @param {Object} body Update skill groups
|
|
40410
|
+
*/
|
|
40411
|
+
patchRoutingSkillgroup(skillGroupId, body) {
|
|
40412
|
+
// verify the required parameter 'skillGroupId' is set
|
|
40413
|
+
if (skillGroupId === undefined || skillGroupId === null) {
|
|
40414
|
+
throw 'Missing the required parameter "skillGroupId" when calling patchRoutingSkillgroup';
|
|
40415
|
+
}
|
|
40416
|
+
// verify the required parameter 'body' is set
|
|
40417
|
+
if (body === undefined || body === null) {
|
|
40418
|
+
throw 'Missing the required parameter "body" when calling patchRoutingSkillgroup';
|
|
40419
|
+
}
|
|
40420
|
+
|
|
40421
|
+
return this.apiClient.callApi(
|
|
40422
|
+
'/api/v2/routing/skillgroups/{skillGroupId}',
|
|
40423
|
+
'PATCH',
|
|
40424
|
+
{ 'skillGroupId': skillGroupId },
|
|
40425
|
+
{ },
|
|
40426
|
+
{ },
|
|
40427
|
+
{ },
|
|
40428
|
+
body,
|
|
40429
|
+
['PureCloud OAuth'],
|
|
40430
|
+
['application/json'],
|
|
40431
|
+
['application/json']
|
|
40432
|
+
);
|
|
40433
|
+
}
|
|
40434
|
+
|
|
40251
40435
|
/**
|
|
40252
40436
|
* Join or unjoin a queue for a user
|
|
40253
40437
|
*
|
|
@@ -40791,6 +40975,60 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
40791
40975
|
);
|
|
40792
40976
|
}
|
|
40793
40977
|
|
|
40978
|
+
/**
|
|
40979
|
+
* Add or remove member divisions for this skill group.
|
|
40980
|
+
*
|
|
40981
|
+
* @param {String} skillGroupId Skill Group ID
|
|
40982
|
+
* @param {Object} opts Optional parameters
|
|
40983
|
+
* @param {Object} opts.body
|
|
40984
|
+
*/
|
|
40985
|
+
postRoutingSkillgroupMembersDivisions(skillGroupId, opts) {
|
|
40986
|
+
opts = opts || {};
|
|
40987
|
+
|
|
40988
|
+
// verify the required parameter 'skillGroupId' is set
|
|
40989
|
+
if (skillGroupId === undefined || skillGroupId === null) {
|
|
40990
|
+
throw 'Missing the required parameter "skillGroupId" when calling postRoutingSkillgroupMembersDivisions';
|
|
40991
|
+
}
|
|
40992
|
+
|
|
40993
|
+
return this.apiClient.callApi(
|
|
40994
|
+
'/api/v2/routing/skillgroups/{skillGroupId}/members/divisions',
|
|
40995
|
+
'POST',
|
|
40996
|
+
{ 'skillGroupId': skillGroupId },
|
|
40997
|
+
{ },
|
|
40998
|
+
{ },
|
|
40999
|
+
{ },
|
|
41000
|
+
opts['body'],
|
|
41001
|
+
['PureCloud OAuth'],
|
|
41002
|
+
['application/json'],
|
|
41003
|
+
['application/json']
|
|
41004
|
+
);
|
|
41005
|
+
}
|
|
41006
|
+
|
|
41007
|
+
/**
|
|
41008
|
+
* Create a skill group
|
|
41009
|
+
*
|
|
41010
|
+
* @param {Object} body Create skill group
|
|
41011
|
+
*/
|
|
41012
|
+
postRoutingSkillgroups(body) {
|
|
41013
|
+
// verify the required parameter 'body' is set
|
|
41014
|
+
if (body === undefined || body === null) {
|
|
41015
|
+
throw 'Missing the required parameter "body" when calling postRoutingSkillgroups';
|
|
41016
|
+
}
|
|
41017
|
+
|
|
41018
|
+
return this.apiClient.callApi(
|
|
41019
|
+
'/api/v2/routing/skillgroups',
|
|
41020
|
+
'POST',
|
|
41021
|
+
{ },
|
|
41022
|
+
{ },
|
|
41023
|
+
{ },
|
|
41024
|
+
{ },
|
|
41025
|
+
body,
|
|
41026
|
+
['PureCloud OAuth'],
|
|
41027
|
+
['application/json'],
|
|
41028
|
+
['application/json']
|
|
41029
|
+
);
|
|
41030
|
+
}
|
|
41031
|
+
|
|
40794
41032
|
/**
|
|
40795
41033
|
* Create Skill
|
|
40796
41034
|
*
|
|
@@ -41307,7 +41545,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
41307
41545
|
/**
|
|
41308
41546
|
* SCIM service.
|
|
41309
41547
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
41310
|
-
* @version
|
|
41548
|
+
* @version 153.0.0
|
|
41311
41549
|
*/
|
|
41312
41550
|
|
|
41313
41551
|
/**
|
|
@@ -42184,7 +42422,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42184
42422
|
/**
|
|
42185
42423
|
* Scripts service.
|
|
42186
42424
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
42187
|
-
* @version
|
|
42425
|
+
* @version 153.0.0
|
|
42188
42426
|
*/
|
|
42189
42427
|
|
|
42190
42428
|
/**
|
|
@@ -42603,7 +42841,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
42603
42841
|
/**
|
|
42604
42842
|
* Search service.
|
|
42605
42843
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
42606
|
-
* @version
|
|
42844
|
+
* @version 153.0.0
|
|
42607
42845
|
*/
|
|
42608
42846
|
|
|
42609
42847
|
/**
|
|
@@ -43188,7 +43426,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
43188
43426
|
/**
|
|
43189
43427
|
* SpeechTextAnalytics service.
|
|
43190
43428
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
43191
|
-
* @version
|
|
43429
|
+
* @version 153.0.0
|
|
43192
43430
|
*/
|
|
43193
43431
|
|
|
43194
43432
|
/**
|
|
@@ -44042,7 +44280,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44042
44280
|
/**
|
|
44043
44281
|
* Stations service.
|
|
44044
44282
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
44045
|
-
* @version
|
|
44283
|
+
* @version 153.0.0
|
|
44046
44284
|
*/
|
|
44047
44285
|
|
|
44048
44286
|
/**
|
|
@@ -44189,7 +44427,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44189
44427
|
/**
|
|
44190
44428
|
* Suggest service.
|
|
44191
44429
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
44192
|
-
* @version
|
|
44430
|
+
* @version 153.0.0
|
|
44193
44431
|
*/
|
|
44194
44432
|
|
|
44195
44433
|
/**
|
|
@@ -44328,7 +44566,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44328
44566
|
/**
|
|
44329
44567
|
* Teams service.
|
|
44330
44568
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
44331
|
-
* @version
|
|
44569
|
+
* @version 153.0.0
|
|
44332
44570
|
*/
|
|
44333
44571
|
|
|
44334
44572
|
/**
|
|
@@ -44599,7 +44837,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44599
44837
|
/**
|
|
44600
44838
|
* Telephony service.
|
|
44601
44839
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
44602
|
-
* @version
|
|
44840
|
+
* @version 153.0.0
|
|
44603
44841
|
*/
|
|
44604
44842
|
|
|
44605
44843
|
/**
|
|
@@ -44707,7 +44945,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
44707
44945
|
/**
|
|
44708
44946
|
* TelephonyProvidersEdge service.
|
|
44709
44947
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
44710
|
-
* @version
|
|
44948
|
+
* @version 153.0.0
|
|
44711
44949
|
*/
|
|
44712
44950
|
|
|
44713
44951
|
/**
|
|
@@ -48340,7 +48578,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48340
48578
|
/**
|
|
48341
48579
|
* Textbots service.
|
|
48342
48580
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
48343
|
-
* @version
|
|
48581
|
+
* @version 153.0.0
|
|
48344
48582
|
*/
|
|
48345
48583
|
|
|
48346
48584
|
/**
|
|
@@ -48468,7 +48706,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48468
48706
|
/**
|
|
48469
48707
|
* Tokens service.
|
|
48470
48708
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
48471
|
-
* @version
|
|
48709
|
+
* @version 153.0.0
|
|
48472
48710
|
*/
|
|
48473
48711
|
|
|
48474
48712
|
/**
|
|
@@ -48574,7 +48812,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48574
48812
|
/**
|
|
48575
48813
|
* Uploads service.
|
|
48576
48814
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
48577
|
-
* @version
|
|
48815
|
+
* @version 153.0.0
|
|
48578
48816
|
*/
|
|
48579
48817
|
|
|
48580
48818
|
/**
|
|
@@ -48750,7 +48988,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48750
48988
|
/**
|
|
48751
48989
|
* Usage service.
|
|
48752
48990
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
48753
|
-
* @version
|
|
48991
|
+
* @version 153.0.0
|
|
48754
48992
|
*/
|
|
48755
48993
|
|
|
48756
48994
|
/**
|
|
@@ -48821,7 +49059,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
48821
49059
|
/**
|
|
48822
49060
|
* UserRecordings service.
|
|
48823
49061
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
48824
|
-
* @version
|
|
49062
|
+
* @version 153.0.0
|
|
48825
49063
|
*/
|
|
48826
49064
|
|
|
48827
49065
|
/**
|
|
@@ -49006,7 +49244,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
49006
49244
|
/**
|
|
49007
49245
|
* Users service.
|
|
49008
49246
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
49009
|
-
* @version
|
|
49247
|
+
* @version 153.0.0
|
|
49010
49248
|
*/
|
|
49011
49249
|
|
|
49012
49250
|
/**
|
|
@@ -51363,7 +51601,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51363
51601
|
/**
|
|
51364
51602
|
* Utilities service.
|
|
51365
51603
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
51366
|
-
* @version
|
|
51604
|
+
* @version 153.0.0
|
|
51367
51605
|
*/
|
|
51368
51606
|
|
|
51369
51607
|
/**
|
|
@@ -51474,7 +51712,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
51474
51712
|
/**
|
|
51475
51713
|
* Voicemail service.
|
|
51476
51714
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
51477
|
-
* @version
|
|
51715
|
+
* @version 153.0.0
|
|
51478
51716
|
*/
|
|
51479
51717
|
|
|
51480
51718
|
/**
|
|
@@ -52141,7 +52379,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52141
52379
|
/**
|
|
52142
52380
|
* WebChat service.
|
|
52143
52381
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
52144
|
-
* @version
|
|
52382
|
+
* @version 153.0.0
|
|
52145
52383
|
*/
|
|
52146
52384
|
|
|
52147
52385
|
/**
|
|
@@ -52685,7 +52923,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
52685
52923
|
/**
|
|
52686
52924
|
* WebDeployments service.
|
|
52687
52925
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
52688
|
-
* @version
|
|
52926
|
+
* @version 153.0.0
|
|
52689
52927
|
*/
|
|
52690
52928
|
|
|
52691
52929
|
/**
|
|
@@ -53073,7 +53311,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
53073
53311
|
/**
|
|
53074
53312
|
* WebMessaging service.
|
|
53075
53313
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
53076
|
-
* @version
|
|
53314
|
+
* @version 153.0.0
|
|
53077
53315
|
*/
|
|
53078
53316
|
|
|
53079
53317
|
/**
|
|
@@ -53119,7 +53357,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
53119
53357
|
/**
|
|
53120
53358
|
* Widgets service.
|
|
53121
53359
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
53122
|
-
* @version
|
|
53360
|
+
* @version 153.0.0
|
|
53123
53361
|
*/
|
|
53124
53362
|
|
|
53125
53363
|
/**
|
|
@@ -53265,7 +53503,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
53265
53503
|
/**
|
|
53266
53504
|
* WorkforceManagement service.
|
|
53267
53505
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
53268
|
-
* @version
|
|
53506
|
+
* @version 153.0.0
|
|
53269
53507
|
*/
|
|
53270
53508
|
|
|
53271
53509
|
/**
|
|
@@ -53685,6 +53923,56 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
53685
53923
|
);
|
|
53686
53924
|
}
|
|
53687
53925
|
|
|
53926
|
+
/**
|
|
53927
|
+
* Get an adherence explanation for the current user
|
|
53928
|
+
*
|
|
53929
|
+
* @param {String} explanationId The ID of the explanation to update
|
|
53930
|
+
*/
|
|
53931
|
+
getWorkforcemanagementAdherenceExplanation(explanationId) {
|
|
53932
|
+
// verify the required parameter 'explanationId' is set
|
|
53933
|
+
if (explanationId === undefined || explanationId === null) {
|
|
53934
|
+
throw 'Missing the required parameter "explanationId" when calling getWorkforcemanagementAdherenceExplanation';
|
|
53935
|
+
}
|
|
53936
|
+
|
|
53937
|
+
return this.apiClient.callApi(
|
|
53938
|
+
'/api/v2/workforcemanagement/adherence/explanations/{explanationId}',
|
|
53939
|
+
'GET',
|
|
53940
|
+
{ 'explanationId': explanationId },
|
|
53941
|
+
{ },
|
|
53942
|
+
{ },
|
|
53943
|
+
{ },
|
|
53944
|
+
null,
|
|
53945
|
+
['PureCloud OAuth'],
|
|
53946
|
+
['application/json'],
|
|
53947
|
+
['application/json']
|
|
53948
|
+
);
|
|
53949
|
+
}
|
|
53950
|
+
|
|
53951
|
+
/**
|
|
53952
|
+
* Query the status of an adherence explanation operation. Only the user who started the operation can query the status
|
|
53953
|
+
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
53954
|
+
* @param {String} jobId The ID of the job
|
|
53955
|
+
*/
|
|
53956
|
+
getWorkforcemanagementAdherenceExplanationsJob(jobId) {
|
|
53957
|
+
// verify the required parameter 'jobId' is set
|
|
53958
|
+
if (jobId === undefined || jobId === null) {
|
|
53959
|
+
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceExplanationsJob';
|
|
53960
|
+
}
|
|
53961
|
+
|
|
53962
|
+
return this.apiClient.callApi(
|
|
53963
|
+
'/api/v2/workforcemanagement/adherence/explanations/jobs/{jobId}',
|
|
53964
|
+
'GET',
|
|
53965
|
+
{ 'jobId': jobId },
|
|
53966
|
+
{ },
|
|
53967
|
+
{ },
|
|
53968
|
+
{ },
|
|
53969
|
+
null,
|
|
53970
|
+
['PureCloud OAuth'],
|
|
53971
|
+
['application/json'],
|
|
53972
|
+
['application/json']
|
|
53973
|
+
);
|
|
53974
|
+
}
|
|
53975
|
+
|
|
53688
53976
|
/**
|
|
53689
53977
|
* Query the status of a historical adherence request operation. Only the user who started the operation can query the status
|
|
53690
53978
|
* Job details are only retained if the initial request returned a 202 ACCEPTED response
|
|
@@ -53735,6 +54023,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
53735
54023
|
);
|
|
53736
54024
|
}
|
|
53737
54025
|
|
|
54026
|
+
/**
|
|
54027
|
+
* Get an adherence explanation
|
|
54028
|
+
*
|
|
54029
|
+
* @param {String} agentId The ID of the agent to query
|
|
54030
|
+
* @param {String} explanationId The ID of the explanation to update
|
|
54031
|
+
*/
|
|
54032
|
+
getWorkforcemanagementAgentAdherenceExplanation(agentId, explanationId) {
|
|
54033
|
+
// verify the required parameter 'agentId' is set
|
|
54034
|
+
if (agentId === undefined || agentId === null) {
|
|
54035
|
+
throw 'Missing the required parameter "agentId" when calling getWorkforcemanagementAgentAdherenceExplanation';
|
|
54036
|
+
}
|
|
54037
|
+
// verify the required parameter 'explanationId' is set
|
|
54038
|
+
if (explanationId === undefined || explanationId === null) {
|
|
54039
|
+
throw 'Missing the required parameter "explanationId" when calling getWorkforcemanagementAgentAdherenceExplanation';
|
|
54040
|
+
}
|
|
54041
|
+
|
|
54042
|
+
return this.apiClient.callApi(
|
|
54043
|
+
'/api/v2/workforcemanagement/agents/{agentId}/adherence/explanations/{explanationId}',
|
|
54044
|
+
'GET',
|
|
54045
|
+
{ 'agentId': agentId,'explanationId': explanationId },
|
|
54046
|
+
{ },
|
|
54047
|
+
{ },
|
|
54048
|
+
{ },
|
|
54049
|
+
null,
|
|
54050
|
+
['PureCloud OAuth'],
|
|
54051
|
+
['application/json'],
|
|
54052
|
+
['application/json']
|
|
54053
|
+
);
|
|
54054
|
+
}
|
|
54055
|
+
|
|
53738
54056
|
/**
|
|
53739
54057
|
* Get the management unit to which the agent belongs
|
|
53740
54058
|
*
|
|
@@ -55454,6 +55772,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
55454
55772
|
);
|
|
55455
55773
|
}
|
|
55456
55774
|
|
|
55775
|
+
/**
|
|
55776
|
+
* Request to fetch the status of the historical shrinkage query
|
|
55777
|
+
*
|
|
55778
|
+
* @param {String} jobId jobId
|
|
55779
|
+
*/
|
|
55780
|
+
getWorkforcemanagementShrinkageJob(jobId) {
|
|
55781
|
+
// verify the required parameter 'jobId' is set
|
|
55782
|
+
if (jobId === undefined || jobId === null) {
|
|
55783
|
+
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementShrinkageJob';
|
|
55784
|
+
}
|
|
55785
|
+
|
|
55786
|
+
return this.apiClient.callApi(
|
|
55787
|
+
'/api/v2/workforcemanagement/shrinkage/jobs/{jobId}',
|
|
55788
|
+
'GET',
|
|
55789
|
+
{ 'jobId': jobId },
|
|
55790
|
+
{ },
|
|
55791
|
+
{ },
|
|
55792
|
+
{ },
|
|
55793
|
+
null,
|
|
55794
|
+
['PureCloud OAuth'],
|
|
55795
|
+
['application/json'],
|
|
55796
|
+
['application/json']
|
|
55797
|
+
);
|
|
55798
|
+
}
|
|
55799
|
+
|
|
55457
55800
|
/**
|
|
55458
55801
|
* Get a time off request for the current user
|
|
55459
55802
|
*
|
|
@@ -55528,6 +55871,41 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
55528
55871
|
);
|
|
55529
55872
|
}
|
|
55530
55873
|
|
|
55874
|
+
/**
|
|
55875
|
+
* Update an adherence explanation
|
|
55876
|
+
*
|
|
55877
|
+
* @param {String} agentId The ID of the agent to query
|
|
55878
|
+
* @param {String} explanationId The ID of the explanation to update
|
|
55879
|
+
* @param {Object} body The request body
|
|
55880
|
+
*/
|
|
55881
|
+
patchWorkforcemanagementAgentAdherenceExplanation(agentId, explanationId, body) {
|
|
55882
|
+
// verify the required parameter 'agentId' is set
|
|
55883
|
+
if (agentId === undefined || agentId === null) {
|
|
55884
|
+
throw 'Missing the required parameter "agentId" when calling patchWorkforcemanagementAgentAdherenceExplanation';
|
|
55885
|
+
}
|
|
55886
|
+
// verify the required parameter 'explanationId' is set
|
|
55887
|
+
if (explanationId === undefined || explanationId === null) {
|
|
55888
|
+
throw 'Missing the required parameter "explanationId" when calling patchWorkforcemanagementAgentAdherenceExplanation';
|
|
55889
|
+
}
|
|
55890
|
+
// verify the required parameter 'body' is set
|
|
55891
|
+
if (body === undefined || body === null) {
|
|
55892
|
+
throw 'Missing the required parameter "body" when calling patchWorkforcemanagementAgentAdherenceExplanation';
|
|
55893
|
+
}
|
|
55894
|
+
|
|
55895
|
+
return this.apiClient.callApi(
|
|
55896
|
+
'/api/v2/workforcemanagement/agents/{agentId}/adherence/explanations/{explanationId}',
|
|
55897
|
+
'PATCH',
|
|
55898
|
+
{ 'agentId': agentId,'explanationId': explanationId },
|
|
55899
|
+
{ },
|
|
55900
|
+
{ },
|
|
55901
|
+
{ },
|
|
55902
|
+
body,
|
|
55903
|
+
['PureCloud OAuth'],
|
|
55904
|
+
['application/json'],
|
|
55905
|
+
['application/json']
|
|
55906
|
+
);
|
|
55907
|
+
}
|
|
55908
|
+
|
|
55531
55909
|
/**
|
|
55532
55910
|
* Update business unit
|
|
55533
55911
|
*
|
|
@@ -55967,6 +56345,61 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
55967
56345
|
);
|
|
55968
56346
|
}
|
|
55969
56347
|
|
|
56348
|
+
/**
|
|
56349
|
+
* Submit an adherence explanation for the current user
|
|
56350
|
+
*
|
|
56351
|
+
* @param {Object} body The request body
|
|
56352
|
+
*/
|
|
56353
|
+
postWorkforcemanagementAdherenceExplanations(body) {
|
|
56354
|
+
// verify the required parameter 'body' is set
|
|
56355
|
+
if (body === undefined || body === null) {
|
|
56356
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAdherenceExplanations';
|
|
56357
|
+
}
|
|
56358
|
+
|
|
56359
|
+
return this.apiClient.callApi(
|
|
56360
|
+
'/api/v2/workforcemanagement/adherence/explanations',
|
|
56361
|
+
'POST',
|
|
56362
|
+
{ },
|
|
56363
|
+
{ },
|
|
56364
|
+
{ },
|
|
56365
|
+
{ },
|
|
56366
|
+
body,
|
|
56367
|
+
['PureCloud OAuth'],
|
|
56368
|
+
['application/json'],
|
|
56369
|
+
['application/json']
|
|
56370
|
+
);
|
|
56371
|
+
}
|
|
56372
|
+
|
|
56373
|
+
/**
|
|
56374
|
+
* Query adherence explanations for the current user
|
|
56375
|
+
*
|
|
56376
|
+
* @param {Object} body The request body
|
|
56377
|
+
* @param {Object} opts Optional parameters
|
|
56378
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
56379
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
56380
|
+
*/
|
|
56381
|
+
postWorkforcemanagementAdherenceExplanationsQuery(body, opts) {
|
|
56382
|
+
opts = opts || {};
|
|
56383
|
+
|
|
56384
|
+
// verify the required parameter 'body' is set
|
|
56385
|
+
if (body === undefined || body === null) {
|
|
56386
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAdherenceExplanationsQuery';
|
|
56387
|
+
}
|
|
56388
|
+
|
|
56389
|
+
return this.apiClient.callApi(
|
|
56390
|
+
'/api/v2/workforcemanagement/adherence/explanations/query',
|
|
56391
|
+
'POST',
|
|
56392
|
+
{ },
|
|
56393
|
+
{ 'forceAsync': opts['forceAsync'],'forceDownloadService': opts['forceDownloadService'] },
|
|
56394
|
+
{ },
|
|
56395
|
+
{ },
|
|
56396
|
+
body,
|
|
56397
|
+
['PureCloud OAuth'],
|
|
56398
|
+
['application/json'],
|
|
56399
|
+
['application/json']
|
|
56400
|
+
);
|
|
56401
|
+
}
|
|
56402
|
+
|
|
55970
56403
|
/**
|
|
55971
56404
|
* Request a historical adherence report for users across management units
|
|
55972
56405
|
*
|
|
@@ -55991,6 +56424,71 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
55991
56424
|
);
|
|
55992
56425
|
}
|
|
55993
56426
|
|
|
56427
|
+
/**
|
|
56428
|
+
* Add an adherence explanation for the requested user
|
|
56429
|
+
*
|
|
56430
|
+
* @param {String} agentId The ID of the agent to query
|
|
56431
|
+
* @param {Object} body The request body
|
|
56432
|
+
*/
|
|
56433
|
+
postWorkforcemanagementAgentAdherenceExplanations(agentId, body) {
|
|
56434
|
+
// verify the required parameter 'agentId' is set
|
|
56435
|
+
if (agentId === undefined || agentId === null) {
|
|
56436
|
+
throw 'Missing the required parameter "agentId" when calling postWorkforcemanagementAgentAdherenceExplanations';
|
|
56437
|
+
}
|
|
56438
|
+
// verify the required parameter 'body' is set
|
|
56439
|
+
if (body === undefined || body === null) {
|
|
56440
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgentAdherenceExplanations';
|
|
56441
|
+
}
|
|
56442
|
+
|
|
56443
|
+
return this.apiClient.callApi(
|
|
56444
|
+
'/api/v2/workforcemanagement/agents/{agentId}/adherence/explanations',
|
|
56445
|
+
'POST',
|
|
56446
|
+
{ 'agentId': agentId },
|
|
56447
|
+
{ },
|
|
56448
|
+
{ },
|
|
56449
|
+
{ },
|
|
56450
|
+
body,
|
|
56451
|
+
['PureCloud OAuth'],
|
|
56452
|
+
['application/json'],
|
|
56453
|
+
['application/json']
|
|
56454
|
+
);
|
|
56455
|
+
}
|
|
56456
|
+
|
|
56457
|
+
/**
|
|
56458
|
+
* Query adherence explanations for the given agent across a specified range
|
|
56459
|
+
*
|
|
56460
|
+
* @param {String} agentId The ID of the agent to query
|
|
56461
|
+
* @param {Object} body The request body
|
|
56462
|
+
* @param {Object} opts Optional parameters
|
|
56463
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
56464
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
56465
|
+
*/
|
|
56466
|
+
postWorkforcemanagementAgentAdherenceExplanationsQuery(agentId, body, opts) {
|
|
56467
|
+
opts = opts || {};
|
|
56468
|
+
|
|
56469
|
+
// verify the required parameter 'agentId' is set
|
|
56470
|
+
if (agentId === undefined || agentId === null) {
|
|
56471
|
+
throw 'Missing the required parameter "agentId" when calling postWorkforcemanagementAgentAdherenceExplanationsQuery';
|
|
56472
|
+
}
|
|
56473
|
+
// verify the required parameter 'body' is set
|
|
56474
|
+
if (body === undefined || body === null) {
|
|
56475
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgentAdherenceExplanationsQuery';
|
|
56476
|
+
}
|
|
56477
|
+
|
|
56478
|
+
return this.apiClient.callApi(
|
|
56479
|
+
'/api/v2/workforcemanagement/agents/{agentId}/adherence/explanations/query',
|
|
56480
|
+
'POST',
|
|
56481
|
+
{ 'agentId': agentId },
|
|
56482
|
+
{ 'forceAsync': opts['forceAsync'],'forceDownloadService': opts['forceDownloadService'] },
|
|
56483
|
+
{ },
|
|
56484
|
+
{ },
|
|
56485
|
+
body,
|
|
56486
|
+
['PureCloud OAuth'],
|
|
56487
|
+
['application/json'],
|
|
56488
|
+
['application/json']
|
|
56489
|
+
);
|
|
56490
|
+
}
|
|
56491
|
+
|
|
55994
56492
|
/**
|
|
55995
56493
|
* Get published schedule for the current user
|
|
55996
56494
|
*
|
|
@@ -56044,6 +56542,41 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
56044
56542
|
);
|
|
56045
56543
|
}
|
|
56046
56544
|
|
|
56545
|
+
/**
|
|
56546
|
+
* Query adherence explanations across an entire business unit for the requested period
|
|
56547
|
+
*
|
|
56548
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
56549
|
+
* @param {Object} body The request body
|
|
56550
|
+
* @param {Object} opts Optional parameters
|
|
56551
|
+
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
56552
|
+
* @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
|
|
56553
|
+
*/
|
|
56554
|
+
postWorkforcemanagementBusinessunitAdherenceExplanationsQuery(businessUnitId, body, opts) {
|
|
56555
|
+
opts = opts || {};
|
|
56556
|
+
|
|
56557
|
+
// verify the required parameter 'businessUnitId' is set
|
|
56558
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
56559
|
+
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAdherenceExplanationsQuery';
|
|
56560
|
+
}
|
|
56561
|
+
// verify the required parameter 'body' is set
|
|
56562
|
+
if (body === undefined || body === null) {
|
|
56563
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitAdherenceExplanationsQuery';
|
|
56564
|
+
}
|
|
56565
|
+
|
|
56566
|
+
return this.apiClient.callApi(
|
|
56567
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/adherence/explanations/query',
|
|
56568
|
+
'POST',
|
|
56569
|
+
{ 'businessUnitId': businessUnitId },
|
|
56570
|
+
{ 'forceAsync': opts['forceAsync'],'forceDownloadService': opts['forceDownloadService'] },
|
|
56571
|
+
{ },
|
|
56572
|
+
{ },
|
|
56573
|
+
body,
|
|
56574
|
+
['PureCloud OAuth'],
|
|
56575
|
+
['application/json'],
|
|
56576
|
+
['application/json']
|
|
56577
|
+
);
|
|
56578
|
+
}
|
|
56579
|
+
|
|
56047
56580
|
/**
|
|
56048
56581
|
* Search published schedules
|
|
56049
56582
|
*
|
|
@@ -56871,6 +57404,35 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
56871
57404
|
);
|
|
56872
57405
|
}
|
|
56873
57406
|
|
|
57407
|
+
/**
|
|
57408
|
+
* Request a historical shrinkage report
|
|
57409
|
+
* The maximum supported range for historical shrinkage queries is up to 32 days. Historical Shrinkage for a given date range can be queried in two modes - granular and aggregated. To see granular shrinkage information, provide granularity in the request body.
|
|
57410
|
+
* @param {String} managementUnitId The ID of the management unit
|
|
57411
|
+
* @param {Object} opts Optional parameters
|
|
57412
|
+
* @param {Object} opts.body body
|
|
57413
|
+
*/
|
|
57414
|
+
postWorkforcemanagementManagementunitShrinkageJobs(managementUnitId, opts) {
|
|
57415
|
+
opts = opts || {};
|
|
57416
|
+
|
|
57417
|
+
// verify the required parameter 'managementUnitId' is set
|
|
57418
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
57419
|
+
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitShrinkageJobs';
|
|
57420
|
+
}
|
|
57421
|
+
|
|
57422
|
+
return this.apiClient.callApi(
|
|
57423
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/shrinkage/jobs',
|
|
57424
|
+
'POST',
|
|
57425
|
+
{ 'managementUnitId': managementUnitId },
|
|
57426
|
+
{ },
|
|
57427
|
+
{ },
|
|
57428
|
+
{ },
|
|
57429
|
+
opts['body'],
|
|
57430
|
+
['PureCloud OAuth'],
|
|
57431
|
+
['application/json'],
|
|
57432
|
+
['application/json']
|
|
57433
|
+
);
|
|
57434
|
+
}
|
|
57435
|
+
|
|
56874
57436
|
/**
|
|
56875
57437
|
* Creates a new time off limit object under management unit.
|
|
56876
57438
|
* Only one limit object is allowed under management unit, so an attempt to create second object will fail.
|
|
@@ -57611,7 +58173,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
|
|
|
57611
58173
|
* </pre>
|
|
57612
58174
|
* </p>
|
|
57613
58175
|
* @module purecloud-platform-client-v2/index
|
|
57614
|
-
* @version
|
|
58176
|
+
* @version 153.0.0
|
|
57615
58177
|
*/
|
|
57616
58178
|
class platformClient {
|
|
57617
58179
|
constructor() {
|