purecloud-platform-client-v2 166.0.0 → 168.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 +747 -205
- package/dist/web-amd/purecloud-platform-client-v2.js +747 -205
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +747 -205
- package/dist/web-cjs/purecloud-platform-client-v2.js +747 -205
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +885 -413
- package/package.json +7 -7
- 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 +3 -3
- 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/CarrierServicesApi.js +75 -0
- 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 +32 -1
- 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 +2 -2
- 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 +470 -1
- 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/InfrastructureAsCodeApi.js +69 -4
- 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 +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 +26 -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 +2 -2
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -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 -46
- 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 -81
- 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 +2 -2
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -402,7 +402,7 @@ class Configuration {
|
|
|
402
402
|
|
|
403
403
|
/**
|
|
404
404
|
* @module purecloud-platform-client-v2/ApiClient
|
|
405
|
-
* @version
|
|
405
|
+
* @version 168.0.0
|
|
406
406
|
*/
|
|
407
407
|
class ApiClient {
|
|
408
408
|
/**
|
|
@@ -1488,7 +1488,7 @@ class AlertingApi {
|
|
|
1488
1488
|
/**
|
|
1489
1489
|
* Alerting service.
|
|
1490
1490
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
1491
|
-
* @version
|
|
1491
|
+
* @version 168.0.0
|
|
1492
1492
|
*/
|
|
1493
1493
|
|
|
1494
1494
|
/**
|
|
@@ -1802,7 +1802,7 @@ class AnalyticsApi {
|
|
|
1802
1802
|
/**
|
|
1803
1803
|
* Analytics service.
|
|
1804
1804
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
1805
|
-
* @version
|
|
1805
|
+
* @version 168.0.0
|
|
1806
1806
|
*/
|
|
1807
1807
|
|
|
1808
1808
|
/**
|
|
@@ -3056,7 +3056,7 @@ class ArchitectApi {
|
|
|
3056
3056
|
/**
|
|
3057
3057
|
* Architect service.
|
|
3058
3058
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
3059
|
-
* @version
|
|
3059
|
+
* @version 168.0.0
|
|
3060
3060
|
*/
|
|
3061
3061
|
|
|
3062
3062
|
/**
|
|
@@ -6104,7 +6104,7 @@ class AuditApi {
|
|
|
6104
6104
|
/**
|
|
6105
6105
|
* Audit service.
|
|
6106
6106
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
6107
|
-
* @version
|
|
6107
|
+
* @version 168.0.0
|
|
6108
6108
|
*/
|
|
6109
6109
|
|
|
6110
6110
|
/**
|
|
@@ -6217,7 +6217,7 @@ class AuditApi {
|
|
|
6217
6217
|
|
|
6218
6218
|
/**
|
|
6219
6219
|
* Create audit query execution
|
|
6220
|
-
*
|
|
6220
|
+
* Use /api/v2/audits/query/servicemapping endpoint for a list of valid values
|
|
6221
6221
|
* @param {Object} body query
|
|
6222
6222
|
*/
|
|
6223
6223
|
postAuditsQuery(body) {
|
|
@@ -6242,7 +6242,7 @@ class AuditApi {
|
|
|
6242
6242
|
|
|
6243
6243
|
/**
|
|
6244
6244
|
* This endpoint will only retrieve 14 days worth of audits for certain services. Please use /query to get a full list and older audits.
|
|
6245
|
-
*
|
|
6245
|
+
* Use /api/v2/audits/query/realtime/servicemapping endpoint for a list of valid values
|
|
6246
6246
|
* @param {Object} body query
|
|
6247
6247
|
* @param {Object} opts Optional parameters
|
|
6248
6248
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
@@ -6275,7 +6275,7 @@ class AuthorizationApi {
|
|
|
6275
6275
|
/**
|
|
6276
6276
|
* Authorization service.
|
|
6277
6277
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
6278
|
-
* @version
|
|
6278
|
+
* @version 168.0.0
|
|
6279
6279
|
*/
|
|
6280
6280
|
|
|
6281
6281
|
/**
|
|
@@ -7504,7 +7504,7 @@ class BillingApi {
|
|
|
7504
7504
|
/**
|
|
7505
7505
|
* Billing service.
|
|
7506
7506
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
7507
|
-
* @version
|
|
7507
|
+
* @version 168.0.0
|
|
7508
7508
|
*/
|
|
7509
7509
|
|
|
7510
7510
|
/**
|
|
@@ -7580,11 +7580,81 @@ class BillingApi {
|
|
|
7580
7580
|
|
|
7581
7581
|
}
|
|
7582
7582
|
|
|
7583
|
+
class CarrierServicesApi {
|
|
7584
|
+
/**
|
|
7585
|
+
* CarrierServices service.
|
|
7586
|
+
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
7587
|
+
* @version 168.0.0
|
|
7588
|
+
*/
|
|
7589
|
+
|
|
7590
|
+
/**
|
|
7591
|
+
* Constructs a new CarrierServicesApi.
|
|
7592
|
+
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
7593
|
+
* @class
|
|
7594
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
7595
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
7596
|
+
*/
|
|
7597
|
+
constructor(apiClient) {
|
|
7598
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
7599
|
+
}
|
|
7600
|
+
|
|
7601
|
+
|
|
7602
|
+
/**
|
|
7603
|
+
* Get location for the logged in user
|
|
7604
|
+
*
|
|
7605
|
+
* @param {String} phoneNumber Phone number in E164 format
|
|
7606
|
+
*/
|
|
7607
|
+
getCarrierservicesIntegrationsEmergencylocationsMe(phoneNumber) {
|
|
7608
|
+
// verify the required parameter 'phoneNumber' is set
|
|
7609
|
+
if (phoneNumber === undefined || phoneNumber === null) {
|
|
7610
|
+
throw 'Missing the required parameter "phoneNumber" when calling getCarrierservicesIntegrationsEmergencylocationsMe';
|
|
7611
|
+
}
|
|
7612
|
+
|
|
7613
|
+
return this.apiClient.callApi(
|
|
7614
|
+
'/api/v2/carrierservices/integrations/emergencylocations/me',
|
|
7615
|
+
'GET',
|
|
7616
|
+
{ },
|
|
7617
|
+
{ 'phoneNumber': phoneNumber },
|
|
7618
|
+
{ },
|
|
7619
|
+
{ },
|
|
7620
|
+
null,
|
|
7621
|
+
['PureCloud OAuth'],
|
|
7622
|
+
['application/json'],
|
|
7623
|
+
['application/json']
|
|
7624
|
+
);
|
|
7625
|
+
}
|
|
7626
|
+
|
|
7627
|
+
/**
|
|
7628
|
+
* Set current location for the logged in user
|
|
7629
|
+
*
|
|
7630
|
+
* @param {Object} opts Optional parameters
|
|
7631
|
+
* @param {Object} opts.body
|
|
7632
|
+
*/
|
|
7633
|
+
postCarrierservicesIntegrationsEmergencylocationsMe(opts) {
|
|
7634
|
+
opts = opts || {};
|
|
7635
|
+
|
|
7636
|
+
|
|
7637
|
+
return this.apiClient.callApi(
|
|
7638
|
+
'/api/v2/carrierservices/integrations/emergencylocations/me',
|
|
7639
|
+
'POST',
|
|
7640
|
+
{ },
|
|
7641
|
+
{ },
|
|
7642
|
+
{ },
|
|
7643
|
+
{ },
|
|
7644
|
+
opts['body'],
|
|
7645
|
+
['PureCloud OAuth'],
|
|
7646
|
+
['application/json'],
|
|
7647
|
+
['application/json']
|
|
7648
|
+
);
|
|
7649
|
+
}
|
|
7650
|
+
|
|
7651
|
+
}
|
|
7652
|
+
|
|
7583
7653
|
class ChatApi {
|
|
7584
7654
|
/**
|
|
7585
7655
|
* Chat service.
|
|
7586
7656
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
7587
|
-
* @version
|
|
7657
|
+
* @version 168.0.0
|
|
7588
7658
|
*/
|
|
7589
7659
|
|
|
7590
7660
|
/**
|
|
@@ -7745,7 +7815,7 @@ class CoachingApi {
|
|
|
7745
7815
|
/**
|
|
7746
7816
|
* Coaching service.
|
|
7747
7817
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
7748
|
-
* @version
|
|
7818
|
+
* @version 168.0.0
|
|
7749
7819
|
*/
|
|
7750
7820
|
|
|
7751
7821
|
/**
|
|
@@ -8322,7 +8392,7 @@ class ContentManagementApi {
|
|
|
8322
8392
|
/**
|
|
8323
8393
|
* ContentManagement service.
|
|
8324
8394
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
8325
|
-
* @version
|
|
8395
|
+
* @version 168.0.0
|
|
8326
8396
|
*/
|
|
8327
8397
|
|
|
8328
8398
|
/**
|
|
@@ -9462,7 +9532,7 @@ class ConversationsApi {
|
|
|
9462
9532
|
/**
|
|
9463
9533
|
* Conversations service.
|
|
9464
9534
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
9465
|
-
* @version
|
|
9535
|
+
* @version 168.0.0
|
|
9466
9536
|
*/
|
|
9467
9537
|
|
|
9468
9538
|
/**
|
|
@@ -12727,6 +12797,37 @@ class ConversationsApi {
|
|
|
12727
12797
|
);
|
|
12728
12798
|
}
|
|
12729
12799
|
|
|
12800
|
+
/**
|
|
12801
|
+
* Reset conversation draft to its initial state and/or auto-fill draft content
|
|
12802
|
+
*
|
|
12803
|
+
* @param {String} conversationId conversationId
|
|
12804
|
+
* @param {Object} opts Optional parameters
|
|
12805
|
+
* @param {Boolean} opts.autoFill autoFill
|
|
12806
|
+
* @param {Boolean} opts.discard discard
|
|
12807
|
+
* @param {Object} opts.body Draft Manipulation Request
|
|
12808
|
+
*/
|
|
12809
|
+
patchConversationsEmailMessagesDraft(conversationId, opts) {
|
|
12810
|
+
opts = opts || {};
|
|
12811
|
+
|
|
12812
|
+
// verify the required parameter 'conversationId' is set
|
|
12813
|
+
if (conversationId === undefined || conversationId === null) {
|
|
12814
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationsEmailMessagesDraft';
|
|
12815
|
+
}
|
|
12816
|
+
|
|
12817
|
+
return this.apiClient.callApi(
|
|
12818
|
+
'/api/v2/conversations/emails/{conversationId}/messages/draft',
|
|
12819
|
+
'PATCH',
|
|
12820
|
+
{ 'conversationId': conversationId },
|
|
12821
|
+
{ 'autoFill': opts['autoFill'],'discard': opts['discard'] },
|
|
12822
|
+
{ },
|
|
12823
|
+
{ },
|
|
12824
|
+
opts['body'],
|
|
12825
|
+
['PureCloud OAuth'],
|
|
12826
|
+
['application/json'],
|
|
12827
|
+
['application/json']
|
|
12828
|
+
);
|
|
12829
|
+
}
|
|
12830
|
+
|
|
12730
12831
|
/**
|
|
12731
12832
|
* Update conversation participant
|
|
12732
12833
|
*
|
|
@@ -15522,7 +15623,7 @@ class DataExtensionsApi {
|
|
|
15522
15623
|
/**
|
|
15523
15624
|
* DataExtensions service.
|
|
15524
15625
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
15525
|
-
* @version
|
|
15626
|
+
* @version 168.0.0
|
|
15526
15627
|
*/
|
|
15527
15628
|
|
|
15528
15629
|
/**
|
|
@@ -15608,7 +15709,7 @@ class DownloadsApi {
|
|
|
15608
15709
|
/**
|
|
15609
15710
|
* Downloads service.
|
|
15610
15711
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
15611
|
-
* @version
|
|
15712
|
+
* @version 168.0.0
|
|
15612
15713
|
*/
|
|
15613
15714
|
|
|
15614
15715
|
/**
|
|
@@ -15660,7 +15761,7 @@ class EventsApi {
|
|
|
15660
15761
|
/**
|
|
15661
15762
|
* Events service.
|
|
15662
15763
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
15663
|
-
* @version
|
|
15764
|
+
* @version 168.0.0
|
|
15664
15765
|
*/
|
|
15665
15766
|
|
|
15666
15767
|
/**
|
|
@@ -15756,7 +15857,7 @@ class ExternalContactsApi {
|
|
|
15756
15857
|
/**
|
|
15757
15858
|
* ExternalContacts service.
|
|
15758
15859
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
15759
|
-
* @version
|
|
15860
|
+
* @version 168.0.0
|
|
15760
15861
|
*/
|
|
15761
15862
|
|
|
15762
15863
|
/**
|
|
@@ -17300,7 +17401,7 @@ class ExternalContactsApi {
|
|
|
17300
17401
|
|
|
17301
17402
|
/**
|
|
17302
17403
|
* Merge two contacts into a new contact record
|
|
17303
|
-
*
|
|
17404
|
+
* Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
|
|
17304
17405
|
* @param {Object} body MergeRequest
|
|
17305
17406
|
*/
|
|
17306
17407
|
postExternalcontactsMergeContacts(body) {
|
|
@@ -17714,7 +17815,7 @@ class FaxApi {
|
|
|
17714
17815
|
/**
|
|
17715
17816
|
* Fax service.
|
|
17716
17817
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
17717
|
-
* @version
|
|
17818
|
+
* @version 168.0.0
|
|
17718
17819
|
*/
|
|
17719
17820
|
|
|
17720
17821
|
/**
|
|
@@ -17885,7 +17986,7 @@ class FlowsApi {
|
|
|
17885
17986
|
/**
|
|
17886
17987
|
* Flows service.
|
|
17887
17988
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
17888
|
-
* @version
|
|
17989
|
+
* @version 168.0.0
|
|
17889
17990
|
*/
|
|
17890
17991
|
|
|
17891
17992
|
/**
|
|
@@ -17956,7 +18057,7 @@ class GamificationApi {
|
|
|
17956
18057
|
/**
|
|
17957
18058
|
* Gamification service.
|
|
17958
18059
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
17959
|
-
* @version
|
|
18060
|
+
* @version 168.0.0
|
|
17960
18061
|
*/
|
|
17961
18062
|
|
|
17962
18063
|
/**
|
|
@@ -18046,6 +18147,420 @@ class GamificationApi {
|
|
|
18046
18147
|
);
|
|
18047
18148
|
}
|
|
18048
18149
|
|
|
18150
|
+
/**
|
|
18151
|
+
* Get insights summary
|
|
18152
|
+
*
|
|
18153
|
+
* @param {Object} filterType Filter type for the query request.
|
|
18154
|
+
* @param {String} filterId ID for the filter type.
|
|
18155
|
+
* @param {Object} granularity Granularity
|
|
18156
|
+
* @param {String} comparativePeriodStartWorkday The start work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18157
|
+
* @param {String} primaryPeriodStartWorkday The start work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18158
|
+
* @param {Object} opts Optional parameters
|
|
18159
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
18160
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
18161
|
+
* @param {Object} opts.sortKey Sort key
|
|
18162
|
+
* @param {String} opts.sortMetricId Sort Metric Id
|
|
18163
|
+
* @param {Object} opts.sortOrder Sort order (default to asc)
|
|
18164
|
+
* @param {String} opts.userIds A list of up to 100 comma-separated user Ids
|
|
18165
|
+
*/
|
|
18166
|
+
getGamificationInsights(filterType, filterId, granularity, comparativePeriodStartWorkday, primaryPeriodStartWorkday, opts) {
|
|
18167
|
+
opts = opts || {};
|
|
18168
|
+
|
|
18169
|
+
// verify the required parameter 'filterType' is set
|
|
18170
|
+
if (filterType === undefined || filterType === null) {
|
|
18171
|
+
throw 'Missing the required parameter "filterType" when calling getGamificationInsights';
|
|
18172
|
+
}
|
|
18173
|
+
// verify the required parameter 'filterId' is set
|
|
18174
|
+
if (filterId === undefined || filterId === null) {
|
|
18175
|
+
throw 'Missing the required parameter "filterId" when calling getGamificationInsights';
|
|
18176
|
+
}
|
|
18177
|
+
// verify the required parameter 'granularity' is set
|
|
18178
|
+
if (granularity === undefined || granularity === null) {
|
|
18179
|
+
throw 'Missing the required parameter "granularity" when calling getGamificationInsights';
|
|
18180
|
+
}
|
|
18181
|
+
// verify the required parameter 'comparativePeriodStartWorkday' is set
|
|
18182
|
+
if (comparativePeriodStartWorkday === undefined || comparativePeriodStartWorkday === null) {
|
|
18183
|
+
throw 'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsights';
|
|
18184
|
+
}
|
|
18185
|
+
// verify the required parameter 'primaryPeriodStartWorkday' is set
|
|
18186
|
+
if (primaryPeriodStartWorkday === undefined || primaryPeriodStartWorkday === null) {
|
|
18187
|
+
throw 'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsights';
|
|
18188
|
+
}
|
|
18189
|
+
|
|
18190
|
+
return this.apiClient.callApi(
|
|
18191
|
+
'/api/v2/gamification/insights',
|
|
18192
|
+
'GET',
|
|
18193
|
+
{ },
|
|
18194
|
+
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday,'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortKey': opts['sortKey'],'sortMetricId': opts['sortMetricId'],'sortOrder': opts['sortOrder'],'userIds': opts['userIds'] },
|
|
18195
|
+
{ },
|
|
18196
|
+
{ },
|
|
18197
|
+
null,
|
|
18198
|
+
['PureCloud OAuth'],
|
|
18199
|
+
['application/json'],
|
|
18200
|
+
['application/json']
|
|
18201
|
+
);
|
|
18202
|
+
}
|
|
18203
|
+
|
|
18204
|
+
/**
|
|
18205
|
+
* Get insights details for the current user
|
|
18206
|
+
*
|
|
18207
|
+
* @param {Object} filterType Filter type for the query request.
|
|
18208
|
+
* @param {String} filterId ID for the filter type.
|
|
18209
|
+
* @param {Object} granularity Granularity
|
|
18210
|
+
* @param {String} comparativePeriodStartWorkday The start work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18211
|
+
* @param {String} primaryPeriodStartWorkday The start work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18212
|
+
*/
|
|
18213
|
+
getGamificationInsightsDetails(filterType, filterId, granularity, comparativePeriodStartWorkday, primaryPeriodStartWorkday) {
|
|
18214
|
+
// verify the required parameter 'filterType' is set
|
|
18215
|
+
if (filterType === undefined || filterType === null) {
|
|
18216
|
+
throw 'Missing the required parameter "filterType" when calling getGamificationInsightsDetails';
|
|
18217
|
+
}
|
|
18218
|
+
// verify the required parameter 'filterId' is set
|
|
18219
|
+
if (filterId === undefined || filterId === null) {
|
|
18220
|
+
throw 'Missing the required parameter "filterId" when calling getGamificationInsightsDetails';
|
|
18221
|
+
}
|
|
18222
|
+
// verify the required parameter 'granularity' is set
|
|
18223
|
+
if (granularity === undefined || granularity === null) {
|
|
18224
|
+
throw 'Missing the required parameter "granularity" when calling getGamificationInsightsDetails';
|
|
18225
|
+
}
|
|
18226
|
+
// verify the required parameter 'comparativePeriodStartWorkday' is set
|
|
18227
|
+
if (comparativePeriodStartWorkday === undefined || comparativePeriodStartWorkday === null) {
|
|
18228
|
+
throw 'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsDetails';
|
|
18229
|
+
}
|
|
18230
|
+
// verify the required parameter 'primaryPeriodStartWorkday' is set
|
|
18231
|
+
if (primaryPeriodStartWorkday === undefined || primaryPeriodStartWorkday === null) {
|
|
18232
|
+
throw 'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsDetails';
|
|
18233
|
+
}
|
|
18234
|
+
|
|
18235
|
+
return this.apiClient.callApi(
|
|
18236
|
+
'/api/v2/gamification/insights/details',
|
|
18237
|
+
'GET',
|
|
18238
|
+
{ },
|
|
18239
|
+
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday },
|
|
18240
|
+
{ },
|
|
18241
|
+
{ },
|
|
18242
|
+
null,
|
|
18243
|
+
['PureCloud OAuth'],
|
|
18244
|
+
['application/json'],
|
|
18245
|
+
['application/json']
|
|
18246
|
+
);
|
|
18247
|
+
}
|
|
18248
|
+
|
|
18249
|
+
/**
|
|
18250
|
+
* Get insights overall trend for the current user
|
|
18251
|
+
*
|
|
18252
|
+
* @param {Object} filterType Filter type for the query request.
|
|
18253
|
+
* @param {String} filterId ID for the filter type.
|
|
18254
|
+
* @param {Object} granularity Granularity
|
|
18255
|
+
* @param {String} comparativePeriodStartWorkday The start work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18256
|
+
* @param {String} comparativePeriodEndWorkday The end work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18257
|
+
* @param {String} primaryPeriodStartWorkday The start work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18258
|
+
* @param {String} primaryPeriodEndWorkday The end work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18259
|
+
*/
|
|
18260
|
+
getGamificationInsightsGroupsTrends(filterType, filterId, granularity, comparativePeriodStartWorkday, comparativePeriodEndWorkday, primaryPeriodStartWorkday, primaryPeriodEndWorkday) {
|
|
18261
|
+
// verify the required parameter 'filterType' is set
|
|
18262
|
+
if (filterType === undefined || filterType === null) {
|
|
18263
|
+
throw 'Missing the required parameter "filterType" when calling getGamificationInsightsGroupsTrends';
|
|
18264
|
+
}
|
|
18265
|
+
// verify the required parameter 'filterId' is set
|
|
18266
|
+
if (filterId === undefined || filterId === null) {
|
|
18267
|
+
throw 'Missing the required parameter "filterId" when calling getGamificationInsightsGroupsTrends';
|
|
18268
|
+
}
|
|
18269
|
+
// verify the required parameter 'granularity' is set
|
|
18270
|
+
if (granularity === undefined || granularity === null) {
|
|
18271
|
+
throw 'Missing the required parameter "granularity" when calling getGamificationInsightsGroupsTrends';
|
|
18272
|
+
}
|
|
18273
|
+
// verify the required parameter 'comparativePeriodStartWorkday' is set
|
|
18274
|
+
if (comparativePeriodStartWorkday === undefined || comparativePeriodStartWorkday === null) {
|
|
18275
|
+
throw 'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsGroupsTrends';
|
|
18276
|
+
}
|
|
18277
|
+
// verify the required parameter 'comparativePeriodEndWorkday' is set
|
|
18278
|
+
if (comparativePeriodEndWorkday === undefined || comparativePeriodEndWorkday === null) {
|
|
18279
|
+
throw 'Missing the required parameter "comparativePeriodEndWorkday" when calling getGamificationInsightsGroupsTrends';
|
|
18280
|
+
}
|
|
18281
|
+
// verify the required parameter 'primaryPeriodStartWorkday' is set
|
|
18282
|
+
if (primaryPeriodStartWorkday === undefined || primaryPeriodStartWorkday === null) {
|
|
18283
|
+
throw 'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsGroupsTrends';
|
|
18284
|
+
}
|
|
18285
|
+
// verify the required parameter 'primaryPeriodEndWorkday' is set
|
|
18286
|
+
if (primaryPeriodEndWorkday === undefined || primaryPeriodEndWorkday === null) {
|
|
18287
|
+
throw 'Missing the required parameter "primaryPeriodEndWorkday" when calling getGamificationInsightsGroupsTrends';
|
|
18288
|
+
}
|
|
18289
|
+
|
|
18290
|
+
return this.apiClient.callApi(
|
|
18291
|
+
'/api/v2/gamification/insights/groups/trends',
|
|
18292
|
+
'GET',
|
|
18293
|
+
{ },
|
|
18294
|
+
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'comparativePeriodEndWorkday': comparativePeriodEndWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday,'primaryPeriodEndWorkday': primaryPeriodEndWorkday },
|
|
18295
|
+
{ },
|
|
18296
|
+
{ },
|
|
18297
|
+
null,
|
|
18298
|
+
['PureCloud OAuth'],
|
|
18299
|
+
['application/json'],
|
|
18300
|
+
['application/json']
|
|
18301
|
+
);
|
|
18302
|
+
}
|
|
18303
|
+
|
|
18304
|
+
/**
|
|
18305
|
+
* Get insights overall trend
|
|
18306
|
+
*
|
|
18307
|
+
* @param {Object} filterType Filter type for the query request.
|
|
18308
|
+
* @param {String} filterId ID for the filter type.
|
|
18309
|
+
* @param {Object} granularity Granularity
|
|
18310
|
+
* @param {String} comparativePeriodStartWorkday The start work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18311
|
+
* @param {String} comparativePeriodEndWorkday The end work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18312
|
+
* @param {String} primaryPeriodStartWorkday The start work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18313
|
+
* @param {String} primaryPeriodEndWorkday The end work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18314
|
+
*/
|
|
18315
|
+
getGamificationInsightsGroupsTrendsAll(filterType, filterId, granularity, comparativePeriodStartWorkday, comparativePeriodEndWorkday, primaryPeriodStartWorkday, primaryPeriodEndWorkday) {
|
|
18316
|
+
// verify the required parameter 'filterType' is set
|
|
18317
|
+
if (filterType === undefined || filterType === null) {
|
|
18318
|
+
throw 'Missing the required parameter "filterType" when calling getGamificationInsightsGroupsTrendsAll';
|
|
18319
|
+
}
|
|
18320
|
+
// verify the required parameter 'filterId' is set
|
|
18321
|
+
if (filterId === undefined || filterId === null) {
|
|
18322
|
+
throw 'Missing the required parameter "filterId" when calling getGamificationInsightsGroupsTrendsAll';
|
|
18323
|
+
}
|
|
18324
|
+
// verify the required parameter 'granularity' is set
|
|
18325
|
+
if (granularity === undefined || granularity === null) {
|
|
18326
|
+
throw 'Missing the required parameter "granularity" when calling getGamificationInsightsGroupsTrendsAll';
|
|
18327
|
+
}
|
|
18328
|
+
// verify the required parameter 'comparativePeriodStartWorkday' is set
|
|
18329
|
+
if (comparativePeriodStartWorkday === undefined || comparativePeriodStartWorkday === null) {
|
|
18330
|
+
throw 'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsGroupsTrendsAll';
|
|
18331
|
+
}
|
|
18332
|
+
// verify the required parameter 'comparativePeriodEndWorkday' is set
|
|
18333
|
+
if (comparativePeriodEndWorkday === undefined || comparativePeriodEndWorkday === null) {
|
|
18334
|
+
throw 'Missing the required parameter "comparativePeriodEndWorkday" when calling getGamificationInsightsGroupsTrendsAll';
|
|
18335
|
+
}
|
|
18336
|
+
// verify the required parameter 'primaryPeriodStartWorkday' is set
|
|
18337
|
+
if (primaryPeriodStartWorkday === undefined || primaryPeriodStartWorkday === null) {
|
|
18338
|
+
throw 'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsGroupsTrendsAll';
|
|
18339
|
+
}
|
|
18340
|
+
// verify the required parameter 'primaryPeriodEndWorkday' is set
|
|
18341
|
+
if (primaryPeriodEndWorkday === undefined || primaryPeriodEndWorkday === null) {
|
|
18342
|
+
throw 'Missing the required parameter "primaryPeriodEndWorkday" when calling getGamificationInsightsGroupsTrendsAll';
|
|
18343
|
+
}
|
|
18344
|
+
|
|
18345
|
+
return this.apiClient.callApi(
|
|
18346
|
+
'/api/v2/gamification/insights/groups/trends/all',
|
|
18347
|
+
'GET',
|
|
18348
|
+
{ },
|
|
18349
|
+
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'comparativePeriodEndWorkday': comparativePeriodEndWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday,'primaryPeriodEndWorkday': primaryPeriodEndWorkday },
|
|
18350
|
+
{ },
|
|
18351
|
+
{ },
|
|
18352
|
+
null,
|
|
18353
|
+
['PureCloud OAuth'],
|
|
18354
|
+
['application/json'],
|
|
18355
|
+
['application/json']
|
|
18356
|
+
);
|
|
18357
|
+
}
|
|
18358
|
+
|
|
18359
|
+
/**
|
|
18360
|
+
* Query users in a profile during a period of time
|
|
18361
|
+
*
|
|
18362
|
+
* @param {Object} filterType Filter type for the query request.
|
|
18363
|
+
* @param {String} filterId ID for the filter type.
|
|
18364
|
+
* @param {Object} granularity Granularity
|
|
18365
|
+
* @param {String} startWorkday The start work day. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18366
|
+
*/
|
|
18367
|
+
getGamificationInsightsMembers(filterType, filterId, granularity, startWorkday) {
|
|
18368
|
+
// verify the required parameter 'filterType' is set
|
|
18369
|
+
if (filterType === undefined || filterType === null) {
|
|
18370
|
+
throw 'Missing the required parameter "filterType" when calling getGamificationInsightsMembers';
|
|
18371
|
+
}
|
|
18372
|
+
// verify the required parameter 'filterId' is set
|
|
18373
|
+
if (filterId === undefined || filterId === null) {
|
|
18374
|
+
throw 'Missing the required parameter "filterId" when calling getGamificationInsightsMembers';
|
|
18375
|
+
}
|
|
18376
|
+
// verify the required parameter 'granularity' is set
|
|
18377
|
+
if (granularity === undefined || granularity === null) {
|
|
18378
|
+
throw 'Missing the required parameter "granularity" when calling getGamificationInsightsMembers';
|
|
18379
|
+
}
|
|
18380
|
+
// verify the required parameter 'startWorkday' is set
|
|
18381
|
+
if (startWorkday === undefined || startWorkday === null) {
|
|
18382
|
+
throw 'Missing the required parameter "startWorkday" when calling getGamificationInsightsMembers';
|
|
18383
|
+
}
|
|
18384
|
+
|
|
18385
|
+
return this.apiClient.callApi(
|
|
18386
|
+
'/api/v2/gamification/insights/members',
|
|
18387
|
+
'GET',
|
|
18388
|
+
{ },
|
|
18389
|
+
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'startWorkday': startWorkday },
|
|
18390
|
+
{ },
|
|
18391
|
+
{ },
|
|
18392
|
+
null,
|
|
18393
|
+
['PureCloud OAuth'],
|
|
18394
|
+
['application/json'],
|
|
18395
|
+
['application/json']
|
|
18396
|
+
);
|
|
18397
|
+
}
|
|
18398
|
+
|
|
18399
|
+
/**
|
|
18400
|
+
* Get insights user trend for the current user
|
|
18401
|
+
*
|
|
18402
|
+
* @param {Object} filterType Filter type for the query request.
|
|
18403
|
+
* @param {String} filterId ID for the filter type.
|
|
18404
|
+
* @param {Object} granularity Granularity
|
|
18405
|
+
* @param {String} comparativePeriodStartWorkday The start work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18406
|
+
* @param {String} comparativePeriodEndWorkday The end work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18407
|
+
* @param {String} primaryPeriodStartWorkday The start work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18408
|
+
* @param {String} primaryPeriodEndWorkday The end work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18409
|
+
*/
|
|
18410
|
+
getGamificationInsightsTrends(filterType, filterId, granularity, comparativePeriodStartWorkday, comparativePeriodEndWorkday, primaryPeriodStartWorkday, primaryPeriodEndWorkday) {
|
|
18411
|
+
// verify the required parameter 'filterType' is set
|
|
18412
|
+
if (filterType === undefined || filterType === null) {
|
|
18413
|
+
throw 'Missing the required parameter "filterType" when calling getGamificationInsightsTrends';
|
|
18414
|
+
}
|
|
18415
|
+
// verify the required parameter 'filterId' is set
|
|
18416
|
+
if (filterId === undefined || filterId === null) {
|
|
18417
|
+
throw 'Missing the required parameter "filterId" when calling getGamificationInsightsTrends';
|
|
18418
|
+
}
|
|
18419
|
+
// verify the required parameter 'granularity' is set
|
|
18420
|
+
if (granularity === undefined || granularity === null) {
|
|
18421
|
+
throw 'Missing the required parameter "granularity" when calling getGamificationInsightsTrends';
|
|
18422
|
+
}
|
|
18423
|
+
// verify the required parameter 'comparativePeriodStartWorkday' is set
|
|
18424
|
+
if (comparativePeriodStartWorkday === undefined || comparativePeriodStartWorkday === null) {
|
|
18425
|
+
throw 'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsTrends';
|
|
18426
|
+
}
|
|
18427
|
+
// verify the required parameter 'comparativePeriodEndWorkday' is set
|
|
18428
|
+
if (comparativePeriodEndWorkday === undefined || comparativePeriodEndWorkday === null) {
|
|
18429
|
+
throw 'Missing the required parameter "comparativePeriodEndWorkday" when calling getGamificationInsightsTrends';
|
|
18430
|
+
}
|
|
18431
|
+
// verify the required parameter 'primaryPeriodStartWorkday' is set
|
|
18432
|
+
if (primaryPeriodStartWorkday === undefined || primaryPeriodStartWorkday === null) {
|
|
18433
|
+
throw 'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsTrends';
|
|
18434
|
+
}
|
|
18435
|
+
// verify the required parameter 'primaryPeriodEndWorkday' is set
|
|
18436
|
+
if (primaryPeriodEndWorkday === undefined || primaryPeriodEndWorkday === null) {
|
|
18437
|
+
throw 'Missing the required parameter "primaryPeriodEndWorkday" when calling getGamificationInsightsTrends';
|
|
18438
|
+
}
|
|
18439
|
+
|
|
18440
|
+
return this.apiClient.callApi(
|
|
18441
|
+
'/api/v2/gamification/insights/trends',
|
|
18442
|
+
'GET',
|
|
18443
|
+
{ },
|
|
18444
|
+
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'comparativePeriodEndWorkday': comparativePeriodEndWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday,'primaryPeriodEndWorkday': primaryPeriodEndWorkday },
|
|
18445
|
+
{ },
|
|
18446
|
+
{ },
|
|
18447
|
+
null,
|
|
18448
|
+
['PureCloud OAuth'],
|
|
18449
|
+
['application/json'],
|
|
18450
|
+
['application/json']
|
|
18451
|
+
);
|
|
18452
|
+
}
|
|
18453
|
+
|
|
18454
|
+
/**
|
|
18455
|
+
* Get insights details for the user
|
|
18456
|
+
*
|
|
18457
|
+
* @param {String} userId The ID of a user.
|
|
18458
|
+
* @param {Object} filterType Filter type for the query request.
|
|
18459
|
+
* @param {String} filterId ID for the filter type.
|
|
18460
|
+
* @param {Object} granularity Granularity
|
|
18461
|
+
* @param {String} comparativePeriodStartWorkday The start work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18462
|
+
* @param {String} primaryPeriodStartWorkday The start work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18463
|
+
*/
|
|
18464
|
+
getGamificationInsightsUserDetails(userId, filterType, filterId, granularity, comparativePeriodStartWorkday, primaryPeriodStartWorkday) {
|
|
18465
|
+
// verify the required parameter 'userId' is set
|
|
18466
|
+
if (userId === undefined || userId === null) {
|
|
18467
|
+
throw 'Missing the required parameter "userId" when calling getGamificationInsightsUserDetails';
|
|
18468
|
+
}
|
|
18469
|
+
// verify the required parameter 'filterType' is set
|
|
18470
|
+
if (filterType === undefined || filterType === null) {
|
|
18471
|
+
throw 'Missing the required parameter "filterType" when calling getGamificationInsightsUserDetails';
|
|
18472
|
+
}
|
|
18473
|
+
// verify the required parameter 'filterId' is set
|
|
18474
|
+
if (filterId === undefined || filterId === null) {
|
|
18475
|
+
throw 'Missing the required parameter "filterId" when calling getGamificationInsightsUserDetails';
|
|
18476
|
+
}
|
|
18477
|
+
// verify the required parameter 'granularity' is set
|
|
18478
|
+
if (granularity === undefined || granularity === null) {
|
|
18479
|
+
throw 'Missing the required parameter "granularity" when calling getGamificationInsightsUserDetails';
|
|
18480
|
+
}
|
|
18481
|
+
// verify the required parameter 'comparativePeriodStartWorkday' is set
|
|
18482
|
+
if (comparativePeriodStartWorkday === undefined || comparativePeriodStartWorkday === null) {
|
|
18483
|
+
throw 'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsUserDetails';
|
|
18484
|
+
}
|
|
18485
|
+
// verify the required parameter 'primaryPeriodStartWorkday' is set
|
|
18486
|
+
if (primaryPeriodStartWorkday === undefined || primaryPeriodStartWorkday === null) {
|
|
18487
|
+
throw 'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsUserDetails';
|
|
18488
|
+
}
|
|
18489
|
+
|
|
18490
|
+
return this.apiClient.callApi(
|
|
18491
|
+
'/api/v2/gamification/insights/users/{userId}/details',
|
|
18492
|
+
'GET',
|
|
18493
|
+
{ 'userId': userId },
|
|
18494
|
+
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday },
|
|
18495
|
+
{ },
|
|
18496
|
+
{ },
|
|
18497
|
+
null,
|
|
18498
|
+
['PureCloud OAuth'],
|
|
18499
|
+
['application/json'],
|
|
18500
|
+
['application/json']
|
|
18501
|
+
);
|
|
18502
|
+
}
|
|
18503
|
+
|
|
18504
|
+
/**
|
|
18505
|
+
* Get insights user trend for the user
|
|
18506
|
+
*
|
|
18507
|
+
* @param {String} userId The ID of a user.
|
|
18508
|
+
* @param {Object} filterType Filter type for the query request.
|
|
18509
|
+
* @param {String} filterId ID for the filter type.
|
|
18510
|
+
* @param {Object} granularity Granularity
|
|
18511
|
+
* @param {String} comparativePeriodStartWorkday The start work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18512
|
+
* @param {String} comparativePeriodEndWorkday The end work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18513
|
+
* @param {String} primaryPeriodStartWorkday The start work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18514
|
+
* @param {String} primaryPeriodEndWorkday The end work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
18515
|
+
*/
|
|
18516
|
+
getGamificationInsightsUserTrends(userId, filterType, filterId, granularity, comparativePeriodStartWorkday, comparativePeriodEndWorkday, primaryPeriodStartWorkday, primaryPeriodEndWorkday) {
|
|
18517
|
+
// verify the required parameter 'userId' is set
|
|
18518
|
+
if (userId === undefined || userId === null) {
|
|
18519
|
+
throw 'Missing the required parameter "userId" when calling getGamificationInsightsUserTrends';
|
|
18520
|
+
}
|
|
18521
|
+
// verify the required parameter 'filterType' is set
|
|
18522
|
+
if (filterType === undefined || filterType === null) {
|
|
18523
|
+
throw 'Missing the required parameter "filterType" when calling getGamificationInsightsUserTrends';
|
|
18524
|
+
}
|
|
18525
|
+
// verify the required parameter 'filterId' is set
|
|
18526
|
+
if (filterId === undefined || filterId === null) {
|
|
18527
|
+
throw 'Missing the required parameter "filterId" when calling getGamificationInsightsUserTrends';
|
|
18528
|
+
}
|
|
18529
|
+
// verify the required parameter 'granularity' is set
|
|
18530
|
+
if (granularity === undefined || granularity === null) {
|
|
18531
|
+
throw 'Missing the required parameter "granularity" when calling getGamificationInsightsUserTrends';
|
|
18532
|
+
}
|
|
18533
|
+
// verify the required parameter 'comparativePeriodStartWorkday' is set
|
|
18534
|
+
if (comparativePeriodStartWorkday === undefined || comparativePeriodStartWorkday === null) {
|
|
18535
|
+
throw 'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsUserTrends';
|
|
18536
|
+
}
|
|
18537
|
+
// verify the required parameter 'comparativePeriodEndWorkday' is set
|
|
18538
|
+
if (comparativePeriodEndWorkday === undefined || comparativePeriodEndWorkday === null) {
|
|
18539
|
+
throw 'Missing the required parameter "comparativePeriodEndWorkday" when calling getGamificationInsightsUserTrends';
|
|
18540
|
+
}
|
|
18541
|
+
// verify the required parameter 'primaryPeriodStartWorkday' is set
|
|
18542
|
+
if (primaryPeriodStartWorkday === undefined || primaryPeriodStartWorkday === null) {
|
|
18543
|
+
throw 'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsUserTrends';
|
|
18544
|
+
}
|
|
18545
|
+
// verify the required parameter 'primaryPeriodEndWorkday' is set
|
|
18546
|
+
if (primaryPeriodEndWorkday === undefined || primaryPeriodEndWorkday === null) {
|
|
18547
|
+
throw 'Missing the required parameter "primaryPeriodEndWorkday" when calling getGamificationInsightsUserTrends';
|
|
18548
|
+
}
|
|
18549
|
+
|
|
18550
|
+
return this.apiClient.callApi(
|
|
18551
|
+
'/api/v2/gamification/insights/users/{userId}/trends',
|
|
18552
|
+
'GET',
|
|
18553
|
+
{ 'userId': userId },
|
|
18554
|
+
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'comparativePeriodEndWorkday': comparativePeriodEndWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday,'primaryPeriodEndWorkday': primaryPeriodEndWorkday },
|
|
18555
|
+
{ },
|
|
18556
|
+
{ },
|
|
18557
|
+
null,
|
|
18558
|
+
['PureCloud OAuth'],
|
|
18559
|
+
['application/json'],
|
|
18560
|
+
['application/json']
|
|
18561
|
+
);
|
|
18562
|
+
}
|
|
18563
|
+
|
|
18049
18564
|
/**
|
|
18050
18565
|
* Leaderboard of the requesting user's division or performance profile
|
|
18051
18566
|
*
|
|
@@ -19478,6 +19993,61 @@ class GamificationApi {
|
|
|
19478
19993
|
);
|
|
19479
19994
|
}
|
|
19480
19995
|
|
|
19996
|
+
/**
|
|
19997
|
+
* Query performance profiles in date range for a user
|
|
19998
|
+
*
|
|
19999
|
+
* @param {String} userId The ID of a user.
|
|
20000
|
+
* @param {Object} body The date range of work day.
|
|
20001
|
+
*/
|
|
20002
|
+
postGamificationProfilesUserQuery(userId, body) {
|
|
20003
|
+
// verify the required parameter 'userId' is set
|
|
20004
|
+
if (userId === undefined || userId === null) {
|
|
20005
|
+
throw 'Missing the required parameter "userId" when calling postGamificationProfilesUserQuery';
|
|
20006
|
+
}
|
|
20007
|
+
// verify the required parameter 'body' is set
|
|
20008
|
+
if (body === undefined || body === null) {
|
|
20009
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfilesUserQuery';
|
|
20010
|
+
}
|
|
20011
|
+
|
|
20012
|
+
return this.apiClient.callApi(
|
|
20013
|
+
'/api/v2/gamification/profiles/users/{userId}/query',
|
|
20014
|
+
'POST',
|
|
20015
|
+
{ 'userId': userId },
|
|
20016
|
+
{ },
|
|
20017
|
+
{ },
|
|
20018
|
+
{ },
|
|
20019
|
+
body,
|
|
20020
|
+
['PureCloud OAuth'],
|
|
20021
|
+
['application/json'],
|
|
20022
|
+
['application/json']
|
|
20023
|
+
);
|
|
20024
|
+
}
|
|
20025
|
+
|
|
20026
|
+
/**
|
|
20027
|
+
* Query performance profiles in date range for the current user
|
|
20028
|
+
*
|
|
20029
|
+
* @param {Object} body The date range of work day.
|
|
20030
|
+
*/
|
|
20031
|
+
postGamificationProfilesUsersMeQuery(body) {
|
|
20032
|
+
// verify the required parameter 'body' is set
|
|
20033
|
+
if (body === undefined || body === null) {
|
|
20034
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfilesUsersMeQuery';
|
|
20035
|
+
}
|
|
20036
|
+
|
|
20037
|
+
return this.apiClient.callApi(
|
|
20038
|
+
'/api/v2/gamification/profiles/users/me/query',
|
|
20039
|
+
'POST',
|
|
20040
|
+
{ },
|
|
20041
|
+
{ },
|
|
20042
|
+
{ },
|
|
20043
|
+
{ },
|
|
20044
|
+
body,
|
|
20045
|
+
['PureCloud OAuth'],
|
|
20046
|
+
['application/json'],
|
|
20047
|
+
['application/json']
|
|
20048
|
+
);
|
|
20049
|
+
}
|
|
20050
|
+
|
|
19481
20051
|
/**
|
|
19482
20052
|
* Updates a performance profile
|
|
19483
20053
|
*
|
|
@@ -19573,7 +20143,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
19573
20143
|
/**
|
|
19574
20144
|
* GeneralDataProtectionRegulation service.
|
|
19575
20145
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
19576
|
-
* @version
|
|
20146
|
+
* @version 168.0.0
|
|
19577
20147
|
*/
|
|
19578
20148
|
|
|
19579
20149
|
/**
|
|
@@ -19703,7 +20273,7 @@ class GeolocationApi {
|
|
|
19703
20273
|
/**
|
|
19704
20274
|
* Geolocation service.
|
|
19705
20275
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
19706
|
-
* @version
|
|
20276
|
+
* @version 168.0.0
|
|
19707
20277
|
*/
|
|
19708
20278
|
|
|
19709
20279
|
/**
|
|
@@ -19834,7 +20404,7 @@ class GreetingsApi {
|
|
|
19834
20404
|
/**
|
|
19835
20405
|
* Greetings service.
|
|
19836
20406
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
19837
|
-
* @version
|
|
20407
|
+
* @version 168.0.0
|
|
19838
20408
|
*/
|
|
19839
20409
|
|
|
19840
20410
|
/**
|
|
@@ -20289,7 +20859,7 @@ class GroupsApi {
|
|
|
20289
20859
|
/**
|
|
20290
20860
|
* Groups service.
|
|
20291
20861
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
20292
|
-
* @version
|
|
20862
|
+
* @version 168.0.0
|
|
20293
20863
|
*/
|
|
20294
20864
|
|
|
20295
20865
|
/**
|
|
@@ -20695,7 +21265,7 @@ class IdentityProviderApi {
|
|
|
20695
21265
|
/**
|
|
20696
21266
|
* IdentityProvider service.
|
|
20697
21267
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
20698
|
-
* @version
|
|
21268
|
+
* @version 168.0.0
|
|
20699
21269
|
*/
|
|
20700
21270
|
|
|
20701
21271
|
/**
|
|
@@ -21451,7 +22021,7 @@ class InfrastructureAsCodeApi {
|
|
|
21451
22021
|
/**
|
|
21452
22022
|
* InfrastructureAsCode service.
|
|
21453
22023
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
21454
|
-
* @version
|
|
22024
|
+
* @version 168.0.0
|
|
21455
22025
|
*/
|
|
21456
22026
|
|
|
21457
22027
|
/**
|
|
@@ -21466,6 +22036,68 @@ class InfrastructureAsCodeApi {
|
|
|
21466
22036
|
}
|
|
21467
22037
|
|
|
21468
22038
|
|
|
22039
|
+
/**
|
|
22040
|
+
* Get information about an accelerator
|
|
22041
|
+
* Get the complete metadata specification for an accelerator, including requirements and parameters.
|
|
22042
|
+
* @param {String} acceleratorId Accelerator ID
|
|
22043
|
+
* @param {Object} opts Optional parameters
|
|
22044
|
+
* @param {Object} opts.preferredLanguage Preferred Language (default to en-US)
|
|
22045
|
+
*/
|
|
22046
|
+
getInfrastructureascodeAccelerator(acceleratorId, opts) {
|
|
22047
|
+
opts = opts || {};
|
|
22048
|
+
|
|
22049
|
+
// verify the required parameter 'acceleratorId' is set
|
|
22050
|
+
if (acceleratorId === undefined || acceleratorId === null) {
|
|
22051
|
+
throw 'Missing the required parameter "acceleratorId" when calling getInfrastructureascodeAccelerator';
|
|
22052
|
+
}
|
|
22053
|
+
|
|
22054
|
+
return this.apiClient.callApi(
|
|
22055
|
+
'/api/v2/infrastructureascode/accelerators/{acceleratorId}',
|
|
22056
|
+
'GET',
|
|
22057
|
+
{ 'acceleratorId': acceleratorId },
|
|
22058
|
+
{ 'preferredLanguage': opts['preferredLanguage'] },
|
|
22059
|
+
{ },
|
|
22060
|
+
{ },
|
|
22061
|
+
null,
|
|
22062
|
+
['PureCloud OAuth'],
|
|
22063
|
+
['application/json'],
|
|
22064
|
+
['application/json']
|
|
22065
|
+
);
|
|
22066
|
+
}
|
|
22067
|
+
|
|
22068
|
+
/**
|
|
22069
|
+
* Get a list of available accelerators
|
|
22070
|
+
* Search for accelerators that can be run.
|
|
22071
|
+
* @param {Object} opts Optional parameters
|
|
22072
|
+
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
22073
|
+
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
22074
|
+
* @param {String} opts.sortBy variable name requested to sort by
|
|
22075
|
+
* @param {Object} opts.sortOrder Sort order (default to asc)
|
|
22076
|
+
* @param {String} opts.name Filter by name
|
|
22077
|
+
* @param {String} opts.description Filter by description
|
|
22078
|
+
* @param {Object} opts.origin Filter by origin
|
|
22079
|
+
* @param {Object} opts.type Filter by type
|
|
22080
|
+
* @param {String} opts.classification Filter by classification
|
|
22081
|
+
* @param {String} opts.tags Filter by tags
|
|
22082
|
+
*/
|
|
22083
|
+
getInfrastructureascodeAccelerators(opts) {
|
|
22084
|
+
opts = opts || {};
|
|
22085
|
+
|
|
22086
|
+
|
|
22087
|
+
return this.apiClient.callApi(
|
|
22088
|
+
'/api/v2/infrastructureascode/accelerators',
|
|
22089
|
+
'GET',
|
|
22090
|
+
{ },
|
|
22091
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'description': opts['description'],'origin': opts['origin'],'type': opts['type'],'classification': opts['classification'],'tags': opts['tags'] },
|
|
22092
|
+
{ },
|
|
22093
|
+
{ },
|
|
22094
|
+
null,
|
|
22095
|
+
['PureCloud OAuth'],
|
|
22096
|
+
['application/json'],
|
|
22097
|
+
['application/json']
|
|
22098
|
+
);
|
|
22099
|
+
}
|
|
22100
|
+
|
|
21469
22101
|
/**
|
|
21470
22102
|
* Get job status and results
|
|
21471
22103
|
* Get the execution status of a submitted job, optionally including results and error details.
|
|
@@ -21501,8 +22133,11 @@ class InfrastructureAsCodeApi {
|
|
|
21501
22133
|
* @param {Object} opts Optional parameters
|
|
21502
22134
|
* @param {Number} opts.maxResults Number of jobs to show (default to 1)
|
|
21503
22135
|
* @param {Boolean} opts.includeErrors Include error messages (default to false)
|
|
21504
|
-
* @param {Object} opts.sortBy Sort by (default to
|
|
21505
|
-
* @param {Object} opts.sortOrder Sort order (default to
|
|
22136
|
+
* @param {Object} opts.sortBy Sort by (default to dateSubmitted)
|
|
22137
|
+
* @param {Object} opts.sortOrder Sort order (default to desc)
|
|
22138
|
+
* @param {String} opts.acceleratorId Find only jobs associated with this accelerator
|
|
22139
|
+
* @param {String} opts.submittedBy Find only jobs submitted by this user
|
|
22140
|
+
* @param {Object} opts.status Find only jobs in this state
|
|
21506
22141
|
*/
|
|
21507
22142
|
getInfrastructureascodeJobs(opts) {
|
|
21508
22143
|
opts = opts || {};
|
|
@@ -21512,7 +22147,7 @@ class InfrastructureAsCodeApi {
|
|
|
21512
22147
|
'/api/v2/infrastructureascode/jobs',
|
|
21513
22148
|
'GET',
|
|
21514
22149
|
{ },
|
|
21515
|
-
{ 'maxResults': opts['maxResults'],'includeErrors': opts['includeErrors'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
22150
|
+
{ 'maxResults': opts['maxResults'],'includeErrors': opts['includeErrors'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'acceleratorId': opts['acceleratorId'],'submittedBy': opts['submittedBy'],'status': opts['status'] },
|
|
21516
22151
|
{ },
|
|
21517
22152
|
{ },
|
|
21518
22153
|
null,
|
|
@@ -21553,7 +22188,7 @@ class IntegrationsApi {
|
|
|
21553
22188
|
/**
|
|
21554
22189
|
* Integrations service.
|
|
21555
22190
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
21556
|
-
* @version
|
|
22191
|
+
* @version 168.0.0
|
|
21557
22192
|
*/
|
|
21558
22193
|
|
|
21559
22194
|
/**
|
|
@@ -23153,7 +23788,7 @@ class JourneyApi {
|
|
|
23153
23788
|
/**
|
|
23154
23789
|
* Journey service.
|
|
23155
23790
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
23156
|
-
* @version
|
|
23791
|
+
* @version 168.0.0
|
|
23157
23792
|
*/
|
|
23158
23793
|
|
|
23159
23794
|
/**
|
|
@@ -24033,7 +24668,7 @@ class KnowledgeApi {
|
|
|
24033
24668
|
/**
|
|
24034
24669
|
* Knowledge service.
|
|
24035
24670
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
24036
|
-
* @version
|
|
24671
|
+
* @version 168.0.0
|
|
24037
24672
|
*/
|
|
24038
24673
|
|
|
24039
24674
|
/**
|
|
@@ -26465,7 +27100,7 @@ class LanguageUnderstandingApi {
|
|
|
26465
27100
|
/**
|
|
26466
27101
|
* LanguageUnderstanding service.
|
|
26467
27102
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
26468
|
-
* @version
|
|
27103
|
+
* @version 168.0.0
|
|
26469
27104
|
*/
|
|
26470
27105
|
|
|
26471
27106
|
/**
|
|
@@ -27478,7 +28113,7 @@ class LanguagesApi {
|
|
|
27478
28113
|
/**
|
|
27479
28114
|
* Languages service.
|
|
27480
28115
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
27481
|
-
* @version
|
|
28116
|
+
* @version 168.0.0
|
|
27482
28117
|
*/
|
|
27483
28118
|
|
|
27484
28119
|
/**
|
|
@@ -27696,7 +28331,7 @@ class LearningApi {
|
|
|
27696
28331
|
/**
|
|
27697
28332
|
* Learning service.
|
|
27698
28333
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
27699
|
-
* @version
|
|
28334
|
+
* @version 168.0.0
|
|
27700
28335
|
*/
|
|
27701
28336
|
|
|
27702
28337
|
/**
|
|
@@ -28511,7 +29146,7 @@ class LicenseApi {
|
|
|
28511
29146
|
/**
|
|
28512
29147
|
* License service.
|
|
28513
29148
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
28514
|
-
* @version
|
|
29149
|
+
* @version 168.0.0
|
|
28515
29150
|
*/
|
|
28516
29151
|
|
|
28517
29152
|
/**
|
|
@@ -28749,7 +29384,7 @@ class LocationsApi {
|
|
|
28749
29384
|
/**
|
|
28750
29385
|
* Locations service.
|
|
28751
29386
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
28752
|
-
* @version
|
|
29387
|
+
* @version 168.0.0
|
|
28753
29388
|
*/
|
|
28754
29389
|
|
|
28755
29390
|
/**
|
|
@@ -28985,7 +29620,7 @@ class MessagingApi {
|
|
|
28985
29620
|
/**
|
|
28986
29621
|
* Messaging service.
|
|
28987
29622
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
28988
|
-
* @version
|
|
29623
|
+
* @version 168.0.0
|
|
28989
29624
|
*/
|
|
28990
29625
|
|
|
28991
29626
|
/**
|
|
@@ -29136,7 +29771,7 @@ class MobileDevicesApi {
|
|
|
29136
29771
|
/**
|
|
29137
29772
|
* MobileDevices service.
|
|
29138
29773
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
29139
|
-
* @version
|
|
29774
|
+
* @version 168.0.0
|
|
29140
29775
|
*/
|
|
29141
29776
|
|
|
29142
29777
|
/**
|
|
@@ -29287,7 +29922,7 @@ class NotificationsApi {
|
|
|
29287
29922
|
/**
|
|
29288
29923
|
* Notifications service.
|
|
29289
29924
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
29290
|
-
* @version
|
|
29925
|
+
* @version 168.0.0
|
|
29291
29926
|
*/
|
|
29292
29927
|
|
|
29293
29928
|
/**
|
|
@@ -29520,7 +30155,7 @@ class OAuthApi {
|
|
|
29520
30155
|
/**
|
|
29521
30156
|
* OAuth service.
|
|
29522
30157
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
29523
|
-
* @version
|
|
30158
|
+
* @version 168.0.0
|
|
29524
30159
|
*/
|
|
29525
30160
|
|
|
29526
30161
|
/**
|
|
@@ -29886,7 +30521,7 @@ class ObjectsApi {
|
|
|
29886
30521
|
/**
|
|
29887
30522
|
* Objects service.
|
|
29888
30523
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
29889
|
-
* @version
|
|
30524
|
+
* @version 168.0.0
|
|
29890
30525
|
*/
|
|
29891
30526
|
|
|
29892
30527
|
/**
|
|
@@ -30157,7 +30792,7 @@ class OrganizationApi {
|
|
|
30157
30792
|
/**
|
|
30158
30793
|
* Organization service.
|
|
30159
30794
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
30160
|
-
* @version
|
|
30795
|
+
* @version 168.0.0
|
|
30161
30796
|
*/
|
|
30162
30797
|
|
|
30163
30798
|
/**
|
|
@@ -30560,7 +31195,7 @@ class OrganizationAuthorizationApi {
|
|
|
30560
31195
|
/**
|
|
30561
31196
|
* OrganizationAuthorization service.
|
|
30562
31197
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
30563
|
-
* @version
|
|
31198
|
+
* @version 168.0.0
|
|
30564
31199
|
*/
|
|
30565
31200
|
|
|
30566
31201
|
/**
|
|
@@ -31855,7 +32490,7 @@ class OutboundApi {
|
|
|
31855
32490
|
/**
|
|
31856
32491
|
* Outbound service.
|
|
31857
32492
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
31858
|
-
* @version
|
|
32493
|
+
* @version 168.0.0
|
|
31859
32494
|
*/
|
|
31860
32495
|
|
|
31861
32496
|
/**
|
|
@@ -33619,6 +34254,31 @@ class OutboundApi {
|
|
|
33619
34254
|
);
|
|
33620
34255
|
}
|
|
33621
34256
|
|
|
34257
|
+
/**
|
|
34258
|
+
* Get messaging campaign diagnostics
|
|
34259
|
+
*
|
|
34260
|
+
* @param {String} messagingCampaignId The Messaging Campaign ID
|
|
34261
|
+
*/
|
|
34262
|
+
getOutboundMessagingcampaignDiagnostics(messagingCampaignId) {
|
|
34263
|
+
// verify the required parameter 'messagingCampaignId' is set
|
|
34264
|
+
if (messagingCampaignId === undefined || messagingCampaignId === null) {
|
|
34265
|
+
throw 'Missing the required parameter "messagingCampaignId" when calling getOutboundMessagingcampaignDiagnostics';
|
|
34266
|
+
}
|
|
34267
|
+
|
|
34268
|
+
return this.apiClient.callApi(
|
|
34269
|
+
'/api/v2/outbound/messagingcampaigns/{messagingCampaignId}/diagnostics',
|
|
34270
|
+
'GET',
|
|
34271
|
+
{ 'messagingCampaignId': messagingCampaignId },
|
|
34272
|
+
{ },
|
|
34273
|
+
{ },
|
|
34274
|
+
{ },
|
|
34275
|
+
null,
|
|
34276
|
+
['PureCloud OAuth'],
|
|
34277
|
+
['application/json'],
|
|
34278
|
+
['application/json']
|
|
34279
|
+
);
|
|
34280
|
+
}
|
|
34281
|
+
|
|
33622
34282
|
/**
|
|
33623
34283
|
* Get messaging campaign's progress
|
|
33624
34284
|
*
|
|
@@ -35451,7 +36111,7 @@ class PresenceApi {
|
|
|
35451
36111
|
/**
|
|
35452
36112
|
* Presence service.
|
|
35453
36113
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
35454
|
-
* @version
|
|
36114
|
+
* @version 168.0.0
|
|
35455
36115
|
*/
|
|
35456
36116
|
|
|
35457
36117
|
/**
|
|
@@ -36002,7 +36662,7 @@ class ProcessAutomationApi {
|
|
|
36002
36662
|
/**
|
|
36003
36663
|
* ProcessAutomation service.
|
|
36004
36664
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
36005
|
-
* @version
|
|
36665
|
+
* @version 168.0.0
|
|
36006
36666
|
*/
|
|
36007
36667
|
|
|
36008
36668
|
/**
|
|
@@ -36241,7 +36901,7 @@ class QualityApi {
|
|
|
36241
36901
|
/**
|
|
36242
36902
|
* Quality service.
|
|
36243
36903
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
36244
|
-
* @version
|
|
36904
|
+
* @version 168.0.0
|
|
36245
36905
|
*/
|
|
36246
36906
|
|
|
36247
36907
|
/**
|
|
@@ -37662,7 +38322,7 @@ class QualityApi {
|
|
|
37662
38322
|
* @param {String} evaluationId evaluationId
|
|
37663
38323
|
* @param {Object} body evaluation
|
|
37664
38324
|
* @param {Object} opts Optional parameters
|
|
37665
|
-
* @param {String} opts.expand evaluatorId, evaluationForm
|
|
38325
|
+
* @param {String} opts.expand evaluatorId, evaluationForm, assignee
|
|
37666
38326
|
*/
|
|
37667
38327
|
putQualityConversationEvaluation(conversationId, evaluationId, body, opts) {
|
|
37668
38328
|
opts = opts || {};
|
|
@@ -37820,7 +38480,7 @@ class RecordingApi {
|
|
|
37820
38480
|
/**
|
|
37821
38481
|
* Recording service.
|
|
37822
38482
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
37823
|
-
* @version
|
|
38483
|
+
* @version 168.0.0
|
|
37824
38484
|
*/
|
|
37825
38485
|
|
|
37826
38486
|
/**
|
|
@@ -38127,7 +38787,7 @@ class RecordingApi {
|
|
|
38127
38787
|
}
|
|
38128
38788
|
|
|
38129
38789
|
/**
|
|
38130
|
-
* Get recording metadata for a conversation. Does not return playable media. Annotations won't be included in the response if recording:recording:view permission is missing.
|
|
38790
|
+
* Get recording metadata for a conversation. Does not return playable media. Annotations won't be included in the response if either recording:recording:view or recording:annotation:view permission is missing.
|
|
38131
38791
|
*
|
|
38132
38792
|
* @param {String} conversationId Conversation ID
|
|
38133
38793
|
*/
|
|
@@ -39457,7 +40117,7 @@ class ResponseManagementApi {
|
|
|
39457
40117
|
/**
|
|
39458
40118
|
* ResponseManagement service.
|
|
39459
40119
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
39460
|
-
* @version
|
|
40120
|
+
* @version 168.0.0
|
|
39461
40121
|
*/
|
|
39462
40122
|
|
|
39463
40123
|
/**
|
|
@@ -39554,6 +40214,7 @@ class ResponseManagementApi {
|
|
|
39554
40214
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
39555
40215
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
39556
40216
|
* @param {Object} opts.messagingTemplateFilter Returns a list of libraries that contain responses with at least one messaging template defined for a specific message channel
|
|
40217
|
+
* @param {String} opts.libraryPrefix Returns a list of libraries that contain the prefix provided
|
|
39557
40218
|
*/
|
|
39558
40219
|
getResponsemanagementLibraries(opts) {
|
|
39559
40220
|
opts = opts || {};
|
|
@@ -39563,7 +40224,7 @@ class ResponseManagementApi {
|
|
|
39563
40224
|
'/api/v2/responsemanagement/libraries',
|
|
39564
40225
|
'GET',
|
|
39565
40226
|
{ },
|
|
39566
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'messagingTemplateFilter': opts['messagingTemplateFilter'] },
|
|
40227
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'messagingTemplateFilter': opts['messagingTemplateFilter'],'libraryPrefix': opts['libraryPrefix'] },
|
|
39567
40228
|
{ },
|
|
39568
40229
|
{ },
|
|
39569
40230
|
null,
|
|
@@ -39941,7 +40602,7 @@ class RoutingApi {
|
|
|
39941
40602
|
/**
|
|
39942
40603
|
* Routing service.
|
|
39943
40604
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
39944
|
-
* @version
|
|
40605
|
+
* @version 168.0.0
|
|
39945
40606
|
*/
|
|
39946
40607
|
|
|
39947
40608
|
/**
|
|
@@ -41051,6 +41712,7 @@ class RoutingApi {
|
|
|
41051
41712
|
*
|
|
41052
41713
|
* @param {Object} opts Optional parameters
|
|
41053
41714
|
* @param {Object} opts.kpiGroup The Group of Key Performance Indicators to return
|
|
41715
|
+
* @param {Array.<String>} opts.expand Parameter to request additional data to return in KPI payload
|
|
41054
41716
|
*/
|
|
41055
41717
|
getRoutingPredictorsKeyperformanceindicators(opts) {
|
|
41056
41718
|
opts = opts || {};
|
|
@@ -41060,7 +41722,7 @@ class RoutingApi {
|
|
|
41060
41722
|
'/api/v2/routing/predictors/keyperformanceindicators',
|
|
41061
41723
|
'GET',
|
|
41062
41724
|
{ },
|
|
41063
|
-
{ 'kpiGroup': opts['kpiGroup'] },
|
|
41725
|
+
{ 'kpiGroup': opts['kpiGroup'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
41064
41726
|
{ },
|
|
41065
41727
|
{ },
|
|
41066
41728
|
null,
|
|
@@ -43449,7 +44111,7 @@ class SCIMApi {
|
|
|
43449
44111
|
/**
|
|
43450
44112
|
* SCIM service.
|
|
43451
44113
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
43452
|
-
* @version
|
|
44114
|
+
* @version 168.0.0
|
|
43453
44115
|
*/
|
|
43454
44116
|
|
|
43455
44117
|
/**
|
|
@@ -44326,7 +44988,7 @@ class ScriptsApi {
|
|
|
44326
44988
|
/**
|
|
44327
44989
|
* Scripts service.
|
|
44328
44990
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
44329
|
-
* @version
|
|
44991
|
+
* @version 168.0.0
|
|
44330
44992
|
*/
|
|
44331
44993
|
|
|
44332
44994
|
/**
|
|
@@ -44745,7 +45407,7 @@ class SearchApi {
|
|
|
44745
45407
|
/**
|
|
44746
45408
|
* Search service.
|
|
44747
45409
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
44748
|
-
* @version
|
|
45410
|
+
* @version 168.0.0
|
|
44749
45411
|
*/
|
|
44750
45412
|
|
|
44751
45413
|
/**
|
|
@@ -45355,7 +46017,7 @@ class SpeechTextAnalyticsApi {
|
|
|
45355
46017
|
/**
|
|
45356
46018
|
* SpeechTextAnalytics service.
|
|
45357
46019
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
45358
|
-
* @version
|
|
46020
|
+
* @version 168.0.0
|
|
45359
46021
|
*/
|
|
45360
46022
|
|
|
45361
46023
|
/**
|
|
@@ -46284,7 +46946,7 @@ class StationsApi {
|
|
|
46284
46946
|
/**
|
|
46285
46947
|
* Stations service.
|
|
46286
46948
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
46287
|
-
* @version
|
|
46949
|
+
* @version 168.0.0
|
|
46288
46950
|
*/
|
|
46289
46951
|
|
|
46290
46952
|
/**
|
|
@@ -46380,58 +47042,13 @@ class StationsApi {
|
|
|
46380
47042
|
);
|
|
46381
47043
|
}
|
|
46382
47044
|
|
|
46383
|
-
/**
|
|
46384
|
-
* Get an organization's StationSettings
|
|
46385
|
-
* This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
|
|
46386
|
-
*/
|
|
46387
|
-
getStationsSettings() {
|
|
46388
|
-
|
|
46389
|
-
return this.apiClient.callApi(
|
|
46390
|
-
'/api/v2/stations/settings',
|
|
46391
|
-
'GET',
|
|
46392
|
-
{ },
|
|
46393
|
-
{ },
|
|
46394
|
-
{ },
|
|
46395
|
-
{ },
|
|
46396
|
-
null,
|
|
46397
|
-
['PureCloud OAuth'],
|
|
46398
|
-
['application/json'],
|
|
46399
|
-
['application/json']
|
|
46400
|
-
);
|
|
46401
|
-
}
|
|
46402
|
-
|
|
46403
|
-
/**
|
|
46404
|
-
* Patch an organization's StationSettings
|
|
46405
|
-
* This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
|
|
46406
|
-
* @param {Object} body Station settings
|
|
46407
|
-
*/
|
|
46408
|
-
patchStationsSettings(body) {
|
|
46409
|
-
// verify the required parameter 'body' is set
|
|
46410
|
-
if (body === undefined || body === null) {
|
|
46411
|
-
throw 'Missing the required parameter "body" when calling patchStationsSettings';
|
|
46412
|
-
}
|
|
46413
|
-
|
|
46414
|
-
return this.apiClient.callApi(
|
|
46415
|
-
'/api/v2/stations/settings',
|
|
46416
|
-
'PATCH',
|
|
46417
|
-
{ },
|
|
46418
|
-
{ },
|
|
46419
|
-
{ },
|
|
46420
|
-
{ },
|
|
46421
|
-
body,
|
|
46422
|
-
['PureCloud OAuth'],
|
|
46423
|
-
['application/json'],
|
|
46424
|
-
['application/json']
|
|
46425
|
-
);
|
|
46426
|
-
}
|
|
46427
|
-
|
|
46428
47045
|
}
|
|
46429
47046
|
|
|
46430
47047
|
class SuggestApi {
|
|
46431
47048
|
/**
|
|
46432
47049
|
* Suggest service.
|
|
46433
47050
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
46434
|
-
* @version
|
|
47051
|
+
* @version 168.0.0
|
|
46435
47052
|
*/
|
|
46436
47053
|
|
|
46437
47054
|
/**
|
|
@@ -46570,7 +47187,7 @@ class TeamsApi {
|
|
|
46570
47187
|
/**
|
|
46571
47188
|
* Teams service.
|
|
46572
47189
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
46573
|
-
* @version
|
|
47190
|
+
* @version 168.0.0
|
|
46574
47191
|
*/
|
|
46575
47192
|
|
|
46576
47193
|
/**
|
|
@@ -46841,7 +47458,7 @@ class TelephonyApi {
|
|
|
46841
47458
|
/**
|
|
46842
47459
|
* Telephony service.
|
|
46843
47460
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
46844
|
-
* @version
|
|
47461
|
+
* @version 168.0.0
|
|
46845
47462
|
*/
|
|
46846
47463
|
|
|
46847
47464
|
/**
|
|
@@ -46969,7 +47586,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
46969
47586
|
/**
|
|
46970
47587
|
* TelephonyProvidersEdge service.
|
|
46971
47588
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
46972
|
-
* @version
|
|
47589
|
+
* @version 168.0.0
|
|
46973
47590
|
*/
|
|
46974
47591
|
|
|
46975
47592
|
/**
|
|
@@ -47164,31 +47781,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
47164
47781
|
);
|
|
47165
47782
|
}
|
|
47166
47783
|
|
|
47167
|
-
/**
|
|
47168
|
-
* Delete Outbound Route
|
|
47169
|
-
* This route is deprecated, use /telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId} instead.
|
|
47170
|
-
* @param {String} outboundRouteId Outbound route ID
|
|
47171
|
-
*/
|
|
47172
|
-
deleteTelephonyProvidersEdgesOutboundroute(outboundRouteId) {
|
|
47173
|
-
// verify the required parameter 'outboundRouteId' is set
|
|
47174
|
-
if (outboundRouteId === undefined || outboundRouteId === null) {
|
|
47175
|
-
throw 'Missing the required parameter "outboundRouteId" when calling deleteTelephonyProvidersEdgesOutboundroute';
|
|
47176
|
-
}
|
|
47177
|
-
|
|
47178
|
-
return this.apiClient.callApi(
|
|
47179
|
-
'/api/v2/telephony/providers/edges/outboundroutes/{outboundRouteId}',
|
|
47180
|
-
'DELETE',
|
|
47181
|
-
{ 'outboundRouteId': outboundRouteId },
|
|
47182
|
-
{ },
|
|
47183
|
-
{ },
|
|
47184
|
-
{ },
|
|
47185
|
-
null,
|
|
47186
|
-
['PureCloud OAuth'],
|
|
47187
|
-
['application/json'],
|
|
47188
|
-
['application/json']
|
|
47189
|
-
);
|
|
47190
|
-
}
|
|
47191
|
-
|
|
47192
47784
|
/**
|
|
47193
47785
|
* Delete a Phone by ID
|
|
47194
47786
|
*
|
|
@@ -49603,31 +50195,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
49603
50195
|
);
|
|
49604
50196
|
}
|
|
49605
50197
|
|
|
49606
|
-
/**
|
|
49607
|
-
* Create outbound rule
|
|
49608
|
-
* This route is deprecated, use /telephony/providers/edges/sites/{siteId}/outboundroutes instead.
|
|
49609
|
-
* @param {Object} body OutboundRoute
|
|
49610
|
-
*/
|
|
49611
|
-
postTelephonyProvidersEdgesOutboundroutes(body) {
|
|
49612
|
-
// verify the required parameter 'body' is set
|
|
49613
|
-
if (body === undefined || body === null) {
|
|
49614
|
-
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesOutboundroutes';
|
|
49615
|
-
}
|
|
49616
|
-
|
|
49617
|
-
return this.apiClient.callApi(
|
|
49618
|
-
'/api/v2/telephony/providers/edges/outboundroutes',
|
|
49619
|
-
'POST',
|
|
49620
|
-
{ },
|
|
49621
|
-
{ },
|
|
49622
|
-
{ },
|
|
49623
|
-
{ },
|
|
49624
|
-
body,
|
|
49625
|
-
['PureCloud OAuth'],
|
|
49626
|
-
['application/json'],
|
|
49627
|
-
['application/json']
|
|
49628
|
-
);
|
|
49629
|
-
}
|
|
49630
|
-
|
|
49631
50198
|
/**
|
|
49632
50199
|
* Reboot a Phone
|
|
49633
50200
|
*
|
|
@@ -50028,36 +50595,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
50028
50595
|
);
|
|
50029
50596
|
}
|
|
50030
50597
|
|
|
50031
|
-
/**
|
|
50032
|
-
* Update outbound route
|
|
50033
|
-
* This route is deprecated, use /telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId} instead.
|
|
50034
|
-
* @param {String} outboundRouteId Outbound route ID
|
|
50035
|
-
* @param {Object} body OutboundRoute
|
|
50036
|
-
*/
|
|
50037
|
-
putTelephonyProvidersEdgesOutboundroute(outboundRouteId, body) {
|
|
50038
|
-
// verify the required parameter 'outboundRouteId' is set
|
|
50039
|
-
if (outboundRouteId === undefined || outboundRouteId === null) {
|
|
50040
|
-
throw 'Missing the required parameter "outboundRouteId" when calling putTelephonyProvidersEdgesOutboundroute';
|
|
50041
|
-
}
|
|
50042
|
-
// verify the required parameter 'body' is set
|
|
50043
|
-
if (body === undefined || body === null) {
|
|
50044
|
-
throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgesOutboundroute';
|
|
50045
|
-
}
|
|
50046
|
-
|
|
50047
|
-
return this.apiClient.callApi(
|
|
50048
|
-
'/api/v2/telephony/providers/edges/outboundroutes/{outboundRouteId}',
|
|
50049
|
-
'PUT',
|
|
50050
|
-
{ 'outboundRouteId': outboundRouteId },
|
|
50051
|
-
{ },
|
|
50052
|
-
{ },
|
|
50053
|
-
{ },
|
|
50054
|
-
body,
|
|
50055
|
-
['PureCloud OAuth'],
|
|
50056
|
-
['application/json'],
|
|
50057
|
-
['application/json']
|
|
50058
|
-
);
|
|
50059
|
-
}
|
|
50060
|
-
|
|
50061
50598
|
/**
|
|
50062
50599
|
* Update a Phone by ID
|
|
50063
50600
|
*
|
|
@@ -50249,7 +50786,7 @@ class TextbotsApi {
|
|
|
50249
50786
|
/**
|
|
50250
50787
|
* Textbots service.
|
|
50251
50788
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
50252
|
-
* @version
|
|
50789
|
+
* @version 168.0.0
|
|
50253
50790
|
*/
|
|
50254
50791
|
|
|
50255
50792
|
/**
|
|
@@ -50377,7 +50914,7 @@ class TokensApi {
|
|
|
50377
50914
|
/**
|
|
50378
50915
|
* Tokens service.
|
|
50379
50916
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
50380
|
-
* @version
|
|
50917
|
+
* @version 168.0.0
|
|
50381
50918
|
*/
|
|
50382
50919
|
|
|
50383
50920
|
/**
|
|
@@ -50483,7 +51020,7 @@ class UploadsApi {
|
|
|
50483
51020
|
/**
|
|
50484
51021
|
* Uploads service.
|
|
50485
51022
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
50486
|
-
* @version
|
|
51023
|
+
* @version 168.0.0
|
|
50487
51024
|
*/
|
|
50488
51025
|
|
|
50489
51026
|
/**
|
|
@@ -50659,7 +51196,7 @@ class UsageApi {
|
|
|
50659
51196
|
/**
|
|
50660
51197
|
* Usage service.
|
|
50661
51198
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
50662
|
-
* @version
|
|
51199
|
+
* @version 168.0.0
|
|
50663
51200
|
*/
|
|
50664
51201
|
|
|
50665
51202
|
/**
|
|
@@ -50819,7 +51356,7 @@ class UserRecordingsApi {
|
|
|
50819
51356
|
/**
|
|
50820
51357
|
* UserRecordings service.
|
|
50821
51358
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
50822
|
-
* @version
|
|
51359
|
+
* @version 168.0.0
|
|
50823
51360
|
*/
|
|
50824
51361
|
|
|
50825
51362
|
/**
|
|
@@ -51004,7 +51541,7 @@ class UsersApi {
|
|
|
51004
51541
|
/**
|
|
51005
51542
|
* Users service.
|
|
51006
51543
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
51007
|
-
* @version
|
|
51544
|
+
* @version 168.0.0
|
|
51008
51545
|
*/
|
|
51009
51546
|
|
|
51010
51547
|
/**
|
|
@@ -53394,7 +53931,7 @@ class UtilitiesApi {
|
|
|
53394
53931
|
/**
|
|
53395
53932
|
* Utilities service.
|
|
53396
53933
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
53397
|
-
* @version
|
|
53934
|
+
* @version 168.0.0
|
|
53398
53935
|
*/
|
|
53399
53936
|
|
|
53400
53937
|
/**
|
|
@@ -53505,7 +54042,7 @@ class VoicemailApi {
|
|
|
53505
54042
|
/**
|
|
53506
54043
|
* Voicemail service.
|
|
53507
54044
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
53508
|
-
* @version
|
|
54045
|
+
* @version 168.0.0
|
|
53509
54046
|
*/
|
|
53510
54047
|
|
|
53511
54048
|
/**
|
|
@@ -54172,7 +54709,7 @@ class WebChatApi {
|
|
|
54172
54709
|
/**
|
|
54173
54710
|
* WebChat service.
|
|
54174
54711
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
54175
|
-
* @version
|
|
54712
|
+
* @version 168.0.0
|
|
54176
54713
|
*/
|
|
54177
54714
|
|
|
54178
54715
|
/**
|
|
@@ -54716,7 +55253,7 @@ class WebDeploymentsApi {
|
|
|
54716
55253
|
/**
|
|
54717
55254
|
* WebDeployments service.
|
|
54718
55255
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
54719
|
-
* @version
|
|
55256
|
+
* @version 168.0.0
|
|
54720
55257
|
*/
|
|
54721
55258
|
|
|
54722
55259
|
/**
|
|
@@ -55238,7 +55775,7 @@ class WebMessagingApi {
|
|
|
55238
55775
|
/**
|
|
55239
55776
|
* WebMessaging service.
|
|
55240
55777
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
55241
|
-
* @version
|
|
55778
|
+
* @version 168.0.0
|
|
55242
55779
|
*/
|
|
55243
55780
|
|
|
55244
55781
|
/**
|
|
@@ -55284,7 +55821,7 @@ class WidgetsApi {
|
|
|
55284
55821
|
/**
|
|
55285
55822
|
* Widgets service.
|
|
55286
55823
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
55287
|
-
* @version
|
|
55824
|
+
* @version 168.0.0
|
|
55288
55825
|
*/
|
|
55289
55826
|
|
|
55290
55827
|
/**
|
|
@@ -55430,7 +55967,7 @@ class WorkforceManagementApi {
|
|
|
55430
55967
|
/**
|
|
55431
55968
|
* WorkforceManagement service.
|
|
55432
55969
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
55433
|
-
* @version
|
|
55970
|
+
* @version 168.0.0
|
|
55434
55971
|
*/
|
|
55435
55972
|
|
|
55436
55973
|
/**
|
|
@@ -58353,7 +58890,7 @@ class WorkforceManagementApi {
|
|
|
58353
58890
|
}
|
|
58354
58891
|
|
|
58355
58892
|
/**
|
|
58356
|
-
*
|
|
58893
|
+
* Deprecated. Use bulk routes instead (/adherence/historical/bulk)
|
|
58357
58894
|
*
|
|
58358
58895
|
* @param {Object} opts Optional parameters
|
|
58359
58896
|
* @param {Object} opts.body body
|
|
@@ -60174,7 +60711,7 @@ class WorkforceManagementApi {
|
|
|
60174
60711
|
* </pre>
|
|
60175
60712
|
* </p>
|
|
60176
60713
|
* @module purecloud-platform-client-v2/index
|
|
60177
|
-
* @version
|
|
60714
|
+
* @version 168.0.0
|
|
60178
60715
|
*/
|
|
60179
60716
|
class platformClient {
|
|
60180
60717
|
constructor() {
|
|
@@ -60218,6 +60755,11 @@ class platformClient {
|
|
|
60218
60755
|
* @property {module:purecloud-platform-client-v2/api/BillingApi}
|
|
60219
60756
|
*/
|
|
60220
60757
|
this.BillingApi = BillingApi;
|
|
60758
|
+
/**
|
|
60759
|
+
* The CarrierServicesApi service constructor.
|
|
60760
|
+
* @property {module:purecloud-platform-client-v2/api/CarrierServicesApi}
|
|
60761
|
+
*/
|
|
60762
|
+
this.CarrierServicesApi = CarrierServicesApi;
|
|
60221
60763
|
/**
|
|
60222
60764
|
* The ChatApi service constructor.
|
|
60223
60765
|
* @property {module:purecloud-platform-client-v2/api/ChatApi}
|