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
|
@@ -9315,7 +9315,7 @@ class Configuration {
|
|
|
9315
9315
|
|
|
9316
9316
|
/**
|
|
9317
9317
|
* @module purecloud-platform-client-v2/ApiClient
|
|
9318
|
-
* @version
|
|
9318
|
+
* @version 168.0.0
|
|
9319
9319
|
*/
|
|
9320
9320
|
class ApiClient {
|
|
9321
9321
|
/**
|
|
@@ -10394,7 +10394,7 @@ class AlertingApi {
|
|
|
10394
10394
|
/**
|
|
10395
10395
|
* Alerting service.
|
|
10396
10396
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
10397
|
-
* @version
|
|
10397
|
+
* @version 168.0.0
|
|
10398
10398
|
*/
|
|
10399
10399
|
|
|
10400
10400
|
/**
|
|
@@ -10708,7 +10708,7 @@ class AnalyticsApi {
|
|
|
10708
10708
|
/**
|
|
10709
10709
|
* Analytics service.
|
|
10710
10710
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
10711
|
-
* @version
|
|
10711
|
+
* @version 168.0.0
|
|
10712
10712
|
*/
|
|
10713
10713
|
|
|
10714
10714
|
/**
|
|
@@ -11962,7 +11962,7 @@ class ArchitectApi {
|
|
|
11962
11962
|
/**
|
|
11963
11963
|
* Architect service.
|
|
11964
11964
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
11965
|
-
* @version
|
|
11965
|
+
* @version 168.0.0
|
|
11966
11966
|
*/
|
|
11967
11967
|
|
|
11968
11968
|
/**
|
|
@@ -15010,7 +15010,7 @@ class AuditApi {
|
|
|
15010
15010
|
/**
|
|
15011
15011
|
* Audit service.
|
|
15012
15012
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
15013
|
-
* @version
|
|
15013
|
+
* @version 168.0.0
|
|
15014
15014
|
*/
|
|
15015
15015
|
|
|
15016
15016
|
/**
|
|
@@ -15123,7 +15123,7 @@ class AuditApi {
|
|
|
15123
15123
|
|
|
15124
15124
|
/**
|
|
15125
15125
|
* Create audit query execution
|
|
15126
|
-
*
|
|
15126
|
+
* Use /api/v2/audits/query/servicemapping endpoint for a list of valid values
|
|
15127
15127
|
* @param {Object} body query
|
|
15128
15128
|
*/
|
|
15129
15129
|
postAuditsQuery(body) {
|
|
@@ -15148,7 +15148,7 @@ class AuditApi {
|
|
|
15148
15148
|
|
|
15149
15149
|
/**
|
|
15150
15150
|
* This endpoint will only retrieve 14 days worth of audits for certain services. Please use /query to get a full list and older audits.
|
|
15151
|
-
*
|
|
15151
|
+
* Use /api/v2/audits/query/realtime/servicemapping endpoint for a list of valid values
|
|
15152
15152
|
* @param {Object} body query
|
|
15153
15153
|
* @param {Object} opts Optional parameters
|
|
15154
15154
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
@@ -15181,7 +15181,7 @@ class AuthorizationApi {
|
|
|
15181
15181
|
/**
|
|
15182
15182
|
* Authorization service.
|
|
15183
15183
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
15184
|
-
* @version
|
|
15184
|
+
* @version 168.0.0
|
|
15185
15185
|
*/
|
|
15186
15186
|
|
|
15187
15187
|
/**
|
|
@@ -16410,7 +16410,7 @@ class BillingApi {
|
|
|
16410
16410
|
/**
|
|
16411
16411
|
* Billing service.
|
|
16412
16412
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
16413
|
-
* @version
|
|
16413
|
+
* @version 168.0.0
|
|
16414
16414
|
*/
|
|
16415
16415
|
|
|
16416
16416
|
/**
|
|
@@ -16486,11 +16486,81 @@ class BillingApi {
|
|
|
16486
16486
|
|
|
16487
16487
|
}
|
|
16488
16488
|
|
|
16489
|
+
class CarrierServicesApi {
|
|
16490
|
+
/**
|
|
16491
|
+
* CarrierServices service.
|
|
16492
|
+
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
16493
|
+
* @version 168.0.0
|
|
16494
|
+
*/
|
|
16495
|
+
|
|
16496
|
+
/**
|
|
16497
|
+
* Constructs a new CarrierServicesApi.
|
|
16498
|
+
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
16499
|
+
* @class
|
|
16500
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
16501
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
16502
|
+
*/
|
|
16503
|
+
constructor(apiClient) {
|
|
16504
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
16505
|
+
}
|
|
16506
|
+
|
|
16507
|
+
|
|
16508
|
+
/**
|
|
16509
|
+
* Get location for the logged in user
|
|
16510
|
+
*
|
|
16511
|
+
* @param {String} phoneNumber Phone number in E164 format
|
|
16512
|
+
*/
|
|
16513
|
+
getCarrierservicesIntegrationsEmergencylocationsMe(phoneNumber) {
|
|
16514
|
+
// verify the required parameter 'phoneNumber' is set
|
|
16515
|
+
if (phoneNumber === undefined || phoneNumber === null) {
|
|
16516
|
+
throw 'Missing the required parameter "phoneNumber" when calling getCarrierservicesIntegrationsEmergencylocationsMe';
|
|
16517
|
+
}
|
|
16518
|
+
|
|
16519
|
+
return this.apiClient.callApi(
|
|
16520
|
+
'/api/v2/carrierservices/integrations/emergencylocations/me',
|
|
16521
|
+
'GET',
|
|
16522
|
+
{ },
|
|
16523
|
+
{ 'phoneNumber': phoneNumber },
|
|
16524
|
+
{ },
|
|
16525
|
+
{ },
|
|
16526
|
+
null,
|
|
16527
|
+
['PureCloud OAuth'],
|
|
16528
|
+
['application/json'],
|
|
16529
|
+
['application/json']
|
|
16530
|
+
);
|
|
16531
|
+
}
|
|
16532
|
+
|
|
16533
|
+
/**
|
|
16534
|
+
* Set current location for the logged in user
|
|
16535
|
+
*
|
|
16536
|
+
* @param {Object} opts Optional parameters
|
|
16537
|
+
* @param {Object} opts.body
|
|
16538
|
+
*/
|
|
16539
|
+
postCarrierservicesIntegrationsEmergencylocationsMe(opts) {
|
|
16540
|
+
opts = opts || {};
|
|
16541
|
+
|
|
16542
|
+
|
|
16543
|
+
return this.apiClient.callApi(
|
|
16544
|
+
'/api/v2/carrierservices/integrations/emergencylocations/me',
|
|
16545
|
+
'POST',
|
|
16546
|
+
{ },
|
|
16547
|
+
{ },
|
|
16548
|
+
{ },
|
|
16549
|
+
{ },
|
|
16550
|
+
opts['body'],
|
|
16551
|
+
['PureCloud OAuth'],
|
|
16552
|
+
['application/json'],
|
|
16553
|
+
['application/json']
|
|
16554
|
+
);
|
|
16555
|
+
}
|
|
16556
|
+
|
|
16557
|
+
}
|
|
16558
|
+
|
|
16489
16559
|
class ChatApi {
|
|
16490
16560
|
/**
|
|
16491
16561
|
* Chat service.
|
|
16492
16562
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
16493
|
-
* @version
|
|
16563
|
+
* @version 168.0.0
|
|
16494
16564
|
*/
|
|
16495
16565
|
|
|
16496
16566
|
/**
|
|
@@ -16651,7 +16721,7 @@ class CoachingApi {
|
|
|
16651
16721
|
/**
|
|
16652
16722
|
* Coaching service.
|
|
16653
16723
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
16654
|
-
* @version
|
|
16724
|
+
* @version 168.0.0
|
|
16655
16725
|
*/
|
|
16656
16726
|
|
|
16657
16727
|
/**
|
|
@@ -17228,7 +17298,7 @@ class ContentManagementApi {
|
|
|
17228
17298
|
/**
|
|
17229
17299
|
* ContentManagement service.
|
|
17230
17300
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
17231
|
-
* @version
|
|
17301
|
+
* @version 168.0.0
|
|
17232
17302
|
*/
|
|
17233
17303
|
|
|
17234
17304
|
/**
|
|
@@ -18368,7 +18438,7 @@ class ConversationsApi {
|
|
|
18368
18438
|
/**
|
|
18369
18439
|
* Conversations service.
|
|
18370
18440
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
18371
|
-
* @version
|
|
18441
|
+
* @version 168.0.0
|
|
18372
18442
|
*/
|
|
18373
18443
|
|
|
18374
18444
|
/**
|
|
@@ -21633,6 +21703,37 @@ class ConversationsApi {
|
|
|
21633
21703
|
);
|
|
21634
21704
|
}
|
|
21635
21705
|
|
|
21706
|
+
/**
|
|
21707
|
+
* Reset conversation draft to its initial state and/or auto-fill draft content
|
|
21708
|
+
*
|
|
21709
|
+
* @param {String} conversationId conversationId
|
|
21710
|
+
* @param {Object} opts Optional parameters
|
|
21711
|
+
* @param {Boolean} opts.autoFill autoFill
|
|
21712
|
+
* @param {Boolean} opts.discard discard
|
|
21713
|
+
* @param {Object} opts.body Draft Manipulation Request
|
|
21714
|
+
*/
|
|
21715
|
+
patchConversationsEmailMessagesDraft(conversationId, opts) {
|
|
21716
|
+
opts = opts || {};
|
|
21717
|
+
|
|
21718
|
+
// verify the required parameter 'conversationId' is set
|
|
21719
|
+
if (conversationId === undefined || conversationId === null) {
|
|
21720
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationsEmailMessagesDraft';
|
|
21721
|
+
}
|
|
21722
|
+
|
|
21723
|
+
return this.apiClient.callApi(
|
|
21724
|
+
'/api/v2/conversations/emails/{conversationId}/messages/draft',
|
|
21725
|
+
'PATCH',
|
|
21726
|
+
{ 'conversationId': conversationId },
|
|
21727
|
+
{ 'autoFill': opts['autoFill'],'discard': opts['discard'] },
|
|
21728
|
+
{ },
|
|
21729
|
+
{ },
|
|
21730
|
+
opts['body'],
|
|
21731
|
+
['PureCloud OAuth'],
|
|
21732
|
+
['application/json'],
|
|
21733
|
+
['application/json']
|
|
21734
|
+
);
|
|
21735
|
+
}
|
|
21736
|
+
|
|
21636
21737
|
/**
|
|
21637
21738
|
* Update conversation participant
|
|
21638
21739
|
*
|
|
@@ -24428,7 +24529,7 @@ class DataExtensionsApi {
|
|
|
24428
24529
|
/**
|
|
24429
24530
|
* DataExtensions service.
|
|
24430
24531
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
24431
|
-
* @version
|
|
24532
|
+
* @version 168.0.0
|
|
24432
24533
|
*/
|
|
24433
24534
|
|
|
24434
24535
|
/**
|
|
@@ -24514,7 +24615,7 @@ class DownloadsApi {
|
|
|
24514
24615
|
/**
|
|
24515
24616
|
* Downloads service.
|
|
24516
24617
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
24517
|
-
* @version
|
|
24618
|
+
* @version 168.0.0
|
|
24518
24619
|
*/
|
|
24519
24620
|
|
|
24520
24621
|
/**
|
|
@@ -24566,7 +24667,7 @@ class EventsApi {
|
|
|
24566
24667
|
/**
|
|
24567
24668
|
* Events service.
|
|
24568
24669
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
24569
|
-
* @version
|
|
24670
|
+
* @version 168.0.0
|
|
24570
24671
|
*/
|
|
24571
24672
|
|
|
24572
24673
|
/**
|
|
@@ -24662,7 +24763,7 @@ class ExternalContactsApi {
|
|
|
24662
24763
|
/**
|
|
24663
24764
|
* ExternalContacts service.
|
|
24664
24765
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
24665
|
-
* @version
|
|
24766
|
+
* @version 168.0.0
|
|
24666
24767
|
*/
|
|
24667
24768
|
|
|
24668
24769
|
/**
|
|
@@ -26206,7 +26307,7 @@ class ExternalContactsApi {
|
|
|
26206
26307
|
|
|
26207
26308
|
/**
|
|
26208
26309
|
* Merge two contacts into a new contact record
|
|
26209
|
-
*
|
|
26310
|
+
* Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
|
|
26210
26311
|
* @param {Object} body MergeRequest
|
|
26211
26312
|
*/
|
|
26212
26313
|
postExternalcontactsMergeContacts(body) {
|
|
@@ -26620,7 +26721,7 @@ class FaxApi {
|
|
|
26620
26721
|
/**
|
|
26621
26722
|
* Fax service.
|
|
26622
26723
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
26623
|
-
* @version
|
|
26724
|
+
* @version 168.0.0
|
|
26624
26725
|
*/
|
|
26625
26726
|
|
|
26626
26727
|
/**
|
|
@@ -26791,7 +26892,7 @@ class FlowsApi {
|
|
|
26791
26892
|
/**
|
|
26792
26893
|
* Flows service.
|
|
26793
26894
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
26794
|
-
* @version
|
|
26895
|
+
* @version 168.0.0
|
|
26795
26896
|
*/
|
|
26796
26897
|
|
|
26797
26898
|
/**
|
|
@@ -26862,7 +26963,7 @@ class GamificationApi {
|
|
|
26862
26963
|
/**
|
|
26863
26964
|
* Gamification service.
|
|
26864
26965
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
26865
|
-
* @version
|
|
26966
|
+
* @version 168.0.0
|
|
26866
26967
|
*/
|
|
26867
26968
|
|
|
26868
26969
|
/**
|
|
@@ -26952,6 +27053,420 @@ class GamificationApi {
|
|
|
26952
27053
|
);
|
|
26953
27054
|
}
|
|
26954
27055
|
|
|
27056
|
+
/**
|
|
27057
|
+
* Get insights summary
|
|
27058
|
+
*
|
|
27059
|
+
* @param {Object} filterType Filter type for the query request.
|
|
27060
|
+
* @param {String} filterId ID for the filter type.
|
|
27061
|
+
* @param {Object} granularity Granularity
|
|
27062
|
+
* @param {String} comparativePeriodStartWorkday The start work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27063
|
+
* @param {String} primaryPeriodStartWorkday The start work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27064
|
+
* @param {Object} opts Optional parameters
|
|
27065
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
27066
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
27067
|
+
* @param {Object} opts.sortKey Sort key
|
|
27068
|
+
* @param {String} opts.sortMetricId Sort Metric Id
|
|
27069
|
+
* @param {Object} opts.sortOrder Sort order (default to asc)
|
|
27070
|
+
* @param {String} opts.userIds A list of up to 100 comma-separated user Ids
|
|
27071
|
+
*/
|
|
27072
|
+
getGamificationInsights(filterType, filterId, granularity, comparativePeriodStartWorkday, primaryPeriodStartWorkday, opts) {
|
|
27073
|
+
opts = opts || {};
|
|
27074
|
+
|
|
27075
|
+
// verify the required parameter 'filterType' is set
|
|
27076
|
+
if (filterType === undefined || filterType === null) {
|
|
27077
|
+
throw 'Missing the required parameter "filterType" when calling getGamificationInsights';
|
|
27078
|
+
}
|
|
27079
|
+
// verify the required parameter 'filterId' is set
|
|
27080
|
+
if (filterId === undefined || filterId === null) {
|
|
27081
|
+
throw 'Missing the required parameter "filterId" when calling getGamificationInsights';
|
|
27082
|
+
}
|
|
27083
|
+
// verify the required parameter 'granularity' is set
|
|
27084
|
+
if (granularity === undefined || granularity === null) {
|
|
27085
|
+
throw 'Missing the required parameter "granularity" when calling getGamificationInsights';
|
|
27086
|
+
}
|
|
27087
|
+
// verify the required parameter 'comparativePeriodStartWorkday' is set
|
|
27088
|
+
if (comparativePeriodStartWorkday === undefined || comparativePeriodStartWorkday === null) {
|
|
27089
|
+
throw 'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsights';
|
|
27090
|
+
}
|
|
27091
|
+
// verify the required parameter 'primaryPeriodStartWorkday' is set
|
|
27092
|
+
if (primaryPeriodStartWorkday === undefined || primaryPeriodStartWorkday === null) {
|
|
27093
|
+
throw 'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsights';
|
|
27094
|
+
}
|
|
27095
|
+
|
|
27096
|
+
return this.apiClient.callApi(
|
|
27097
|
+
'/api/v2/gamification/insights',
|
|
27098
|
+
'GET',
|
|
27099
|
+
{ },
|
|
27100
|
+
{ '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'] },
|
|
27101
|
+
{ },
|
|
27102
|
+
{ },
|
|
27103
|
+
null,
|
|
27104
|
+
['PureCloud OAuth'],
|
|
27105
|
+
['application/json'],
|
|
27106
|
+
['application/json']
|
|
27107
|
+
);
|
|
27108
|
+
}
|
|
27109
|
+
|
|
27110
|
+
/**
|
|
27111
|
+
* Get insights details for the current user
|
|
27112
|
+
*
|
|
27113
|
+
* @param {Object} filterType Filter type for the query request.
|
|
27114
|
+
* @param {String} filterId ID for the filter type.
|
|
27115
|
+
* @param {Object} granularity Granularity
|
|
27116
|
+
* @param {String} comparativePeriodStartWorkday The start work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27117
|
+
* @param {String} primaryPeriodStartWorkday The start work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27118
|
+
*/
|
|
27119
|
+
getGamificationInsightsDetails(filterType, filterId, granularity, comparativePeriodStartWorkday, primaryPeriodStartWorkday) {
|
|
27120
|
+
// verify the required parameter 'filterType' is set
|
|
27121
|
+
if (filterType === undefined || filterType === null) {
|
|
27122
|
+
throw 'Missing the required parameter "filterType" when calling getGamificationInsightsDetails';
|
|
27123
|
+
}
|
|
27124
|
+
// verify the required parameter 'filterId' is set
|
|
27125
|
+
if (filterId === undefined || filterId === null) {
|
|
27126
|
+
throw 'Missing the required parameter "filterId" when calling getGamificationInsightsDetails';
|
|
27127
|
+
}
|
|
27128
|
+
// verify the required parameter 'granularity' is set
|
|
27129
|
+
if (granularity === undefined || granularity === null) {
|
|
27130
|
+
throw 'Missing the required parameter "granularity" when calling getGamificationInsightsDetails';
|
|
27131
|
+
}
|
|
27132
|
+
// verify the required parameter 'comparativePeriodStartWorkday' is set
|
|
27133
|
+
if (comparativePeriodStartWorkday === undefined || comparativePeriodStartWorkday === null) {
|
|
27134
|
+
throw 'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsDetails';
|
|
27135
|
+
}
|
|
27136
|
+
// verify the required parameter 'primaryPeriodStartWorkday' is set
|
|
27137
|
+
if (primaryPeriodStartWorkday === undefined || primaryPeriodStartWorkday === null) {
|
|
27138
|
+
throw 'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsDetails';
|
|
27139
|
+
}
|
|
27140
|
+
|
|
27141
|
+
return this.apiClient.callApi(
|
|
27142
|
+
'/api/v2/gamification/insights/details',
|
|
27143
|
+
'GET',
|
|
27144
|
+
{ },
|
|
27145
|
+
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday },
|
|
27146
|
+
{ },
|
|
27147
|
+
{ },
|
|
27148
|
+
null,
|
|
27149
|
+
['PureCloud OAuth'],
|
|
27150
|
+
['application/json'],
|
|
27151
|
+
['application/json']
|
|
27152
|
+
);
|
|
27153
|
+
}
|
|
27154
|
+
|
|
27155
|
+
/**
|
|
27156
|
+
* Get insights overall trend for the current user
|
|
27157
|
+
*
|
|
27158
|
+
* @param {Object} filterType Filter type for the query request.
|
|
27159
|
+
* @param {String} filterId ID for the filter type.
|
|
27160
|
+
* @param {Object} granularity Granularity
|
|
27161
|
+
* @param {String} comparativePeriodStartWorkday The start work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27162
|
+
* @param {String} comparativePeriodEndWorkday The end work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27163
|
+
* @param {String} primaryPeriodStartWorkday The start work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27164
|
+
* @param {String} primaryPeriodEndWorkday The end work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27165
|
+
*/
|
|
27166
|
+
getGamificationInsightsGroupsTrends(filterType, filterId, granularity, comparativePeriodStartWorkday, comparativePeriodEndWorkday, primaryPeriodStartWorkday, primaryPeriodEndWorkday) {
|
|
27167
|
+
// verify the required parameter 'filterType' is set
|
|
27168
|
+
if (filterType === undefined || filterType === null) {
|
|
27169
|
+
throw 'Missing the required parameter "filterType" when calling getGamificationInsightsGroupsTrends';
|
|
27170
|
+
}
|
|
27171
|
+
// verify the required parameter 'filterId' is set
|
|
27172
|
+
if (filterId === undefined || filterId === null) {
|
|
27173
|
+
throw 'Missing the required parameter "filterId" when calling getGamificationInsightsGroupsTrends';
|
|
27174
|
+
}
|
|
27175
|
+
// verify the required parameter 'granularity' is set
|
|
27176
|
+
if (granularity === undefined || granularity === null) {
|
|
27177
|
+
throw 'Missing the required parameter "granularity" when calling getGamificationInsightsGroupsTrends';
|
|
27178
|
+
}
|
|
27179
|
+
// verify the required parameter 'comparativePeriodStartWorkday' is set
|
|
27180
|
+
if (comparativePeriodStartWorkday === undefined || comparativePeriodStartWorkday === null) {
|
|
27181
|
+
throw 'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsGroupsTrends';
|
|
27182
|
+
}
|
|
27183
|
+
// verify the required parameter 'comparativePeriodEndWorkday' is set
|
|
27184
|
+
if (comparativePeriodEndWorkday === undefined || comparativePeriodEndWorkday === null) {
|
|
27185
|
+
throw 'Missing the required parameter "comparativePeriodEndWorkday" when calling getGamificationInsightsGroupsTrends';
|
|
27186
|
+
}
|
|
27187
|
+
// verify the required parameter 'primaryPeriodStartWorkday' is set
|
|
27188
|
+
if (primaryPeriodStartWorkday === undefined || primaryPeriodStartWorkday === null) {
|
|
27189
|
+
throw 'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsGroupsTrends';
|
|
27190
|
+
}
|
|
27191
|
+
// verify the required parameter 'primaryPeriodEndWorkday' is set
|
|
27192
|
+
if (primaryPeriodEndWorkday === undefined || primaryPeriodEndWorkday === null) {
|
|
27193
|
+
throw 'Missing the required parameter "primaryPeriodEndWorkday" when calling getGamificationInsightsGroupsTrends';
|
|
27194
|
+
}
|
|
27195
|
+
|
|
27196
|
+
return this.apiClient.callApi(
|
|
27197
|
+
'/api/v2/gamification/insights/groups/trends',
|
|
27198
|
+
'GET',
|
|
27199
|
+
{ },
|
|
27200
|
+
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'comparativePeriodEndWorkday': comparativePeriodEndWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday,'primaryPeriodEndWorkday': primaryPeriodEndWorkday },
|
|
27201
|
+
{ },
|
|
27202
|
+
{ },
|
|
27203
|
+
null,
|
|
27204
|
+
['PureCloud OAuth'],
|
|
27205
|
+
['application/json'],
|
|
27206
|
+
['application/json']
|
|
27207
|
+
);
|
|
27208
|
+
}
|
|
27209
|
+
|
|
27210
|
+
/**
|
|
27211
|
+
* Get insights overall trend
|
|
27212
|
+
*
|
|
27213
|
+
* @param {Object} filterType Filter type for the query request.
|
|
27214
|
+
* @param {String} filterId ID for the filter type.
|
|
27215
|
+
* @param {Object} granularity Granularity
|
|
27216
|
+
* @param {String} comparativePeriodStartWorkday The start work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27217
|
+
* @param {String} comparativePeriodEndWorkday The end work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27218
|
+
* @param {String} primaryPeriodStartWorkday The start work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27219
|
+
* @param {String} primaryPeriodEndWorkday The end work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27220
|
+
*/
|
|
27221
|
+
getGamificationInsightsGroupsTrendsAll(filterType, filterId, granularity, comparativePeriodStartWorkday, comparativePeriodEndWorkday, primaryPeriodStartWorkday, primaryPeriodEndWorkday) {
|
|
27222
|
+
// verify the required parameter 'filterType' is set
|
|
27223
|
+
if (filterType === undefined || filterType === null) {
|
|
27224
|
+
throw 'Missing the required parameter "filterType" when calling getGamificationInsightsGroupsTrendsAll';
|
|
27225
|
+
}
|
|
27226
|
+
// verify the required parameter 'filterId' is set
|
|
27227
|
+
if (filterId === undefined || filterId === null) {
|
|
27228
|
+
throw 'Missing the required parameter "filterId" when calling getGamificationInsightsGroupsTrendsAll';
|
|
27229
|
+
}
|
|
27230
|
+
// verify the required parameter 'granularity' is set
|
|
27231
|
+
if (granularity === undefined || granularity === null) {
|
|
27232
|
+
throw 'Missing the required parameter "granularity" when calling getGamificationInsightsGroupsTrendsAll';
|
|
27233
|
+
}
|
|
27234
|
+
// verify the required parameter 'comparativePeriodStartWorkday' is set
|
|
27235
|
+
if (comparativePeriodStartWorkday === undefined || comparativePeriodStartWorkday === null) {
|
|
27236
|
+
throw 'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsGroupsTrendsAll';
|
|
27237
|
+
}
|
|
27238
|
+
// verify the required parameter 'comparativePeriodEndWorkday' is set
|
|
27239
|
+
if (comparativePeriodEndWorkday === undefined || comparativePeriodEndWorkday === null) {
|
|
27240
|
+
throw 'Missing the required parameter "comparativePeriodEndWorkday" when calling getGamificationInsightsGroupsTrendsAll';
|
|
27241
|
+
}
|
|
27242
|
+
// verify the required parameter 'primaryPeriodStartWorkday' is set
|
|
27243
|
+
if (primaryPeriodStartWorkday === undefined || primaryPeriodStartWorkday === null) {
|
|
27244
|
+
throw 'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsGroupsTrendsAll';
|
|
27245
|
+
}
|
|
27246
|
+
// verify the required parameter 'primaryPeriodEndWorkday' is set
|
|
27247
|
+
if (primaryPeriodEndWorkday === undefined || primaryPeriodEndWorkday === null) {
|
|
27248
|
+
throw 'Missing the required parameter "primaryPeriodEndWorkday" when calling getGamificationInsightsGroupsTrendsAll';
|
|
27249
|
+
}
|
|
27250
|
+
|
|
27251
|
+
return this.apiClient.callApi(
|
|
27252
|
+
'/api/v2/gamification/insights/groups/trends/all',
|
|
27253
|
+
'GET',
|
|
27254
|
+
{ },
|
|
27255
|
+
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'comparativePeriodEndWorkday': comparativePeriodEndWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday,'primaryPeriodEndWorkday': primaryPeriodEndWorkday },
|
|
27256
|
+
{ },
|
|
27257
|
+
{ },
|
|
27258
|
+
null,
|
|
27259
|
+
['PureCloud OAuth'],
|
|
27260
|
+
['application/json'],
|
|
27261
|
+
['application/json']
|
|
27262
|
+
);
|
|
27263
|
+
}
|
|
27264
|
+
|
|
27265
|
+
/**
|
|
27266
|
+
* Query users in a profile during a period of time
|
|
27267
|
+
*
|
|
27268
|
+
* @param {Object} filterType Filter type for the query request.
|
|
27269
|
+
* @param {String} filterId ID for the filter type.
|
|
27270
|
+
* @param {Object} granularity Granularity
|
|
27271
|
+
* @param {String} startWorkday The start work day. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27272
|
+
*/
|
|
27273
|
+
getGamificationInsightsMembers(filterType, filterId, granularity, startWorkday) {
|
|
27274
|
+
// verify the required parameter 'filterType' is set
|
|
27275
|
+
if (filterType === undefined || filterType === null) {
|
|
27276
|
+
throw 'Missing the required parameter "filterType" when calling getGamificationInsightsMembers';
|
|
27277
|
+
}
|
|
27278
|
+
// verify the required parameter 'filterId' is set
|
|
27279
|
+
if (filterId === undefined || filterId === null) {
|
|
27280
|
+
throw 'Missing the required parameter "filterId" when calling getGamificationInsightsMembers';
|
|
27281
|
+
}
|
|
27282
|
+
// verify the required parameter 'granularity' is set
|
|
27283
|
+
if (granularity === undefined || granularity === null) {
|
|
27284
|
+
throw 'Missing the required parameter "granularity" when calling getGamificationInsightsMembers';
|
|
27285
|
+
}
|
|
27286
|
+
// verify the required parameter 'startWorkday' is set
|
|
27287
|
+
if (startWorkday === undefined || startWorkday === null) {
|
|
27288
|
+
throw 'Missing the required parameter "startWorkday" when calling getGamificationInsightsMembers';
|
|
27289
|
+
}
|
|
27290
|
+
|
|
27291
|
+
return this.apiClient.callApi(
|
|
27292
|
+
'/api/v2/gamification/insights/members',
|
|
27293
|
+
'GET',
|
|
27294
|
+
{ },
|
|
27295
|
+
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'startWorkday': startWorkday },
|
|
27296
|
+
{ },
|
|
27297
|
+
{ },
|
|
27298
|
+
null,
|
|
27299
|
+
['PureCloud OAuth'],
|
|
27300
|
+
['application/json'],
|
|
27301
|
+
['application/json']
|
|
27302
|
+
);
|
|
27303
|
+
}
|
|
27304
|
+
|
|
27305
|
+
/**
|
|
27306
|
+
* Get insights user trend for the current user
|
|
27307
|
+
*
|
|
27308
|
+
* @param {Object} filterType Filter type for the query request.
|
|
27309
|
+
* @param {String} filterId ID for the filter type.
|
|
27310
|
+
* @param {Object} granularity Granularity
|
|
27311
|
+
* @param {String} comparativePeriodStartWorkday The start work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27312
|
+
* @param {String} comparativePeriodEndWorkday The end work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27313
|
+
* @param {String} primaryPeriodStartWorkday The start work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27314
|
+
* @param {String} primaryPeriodEndWorkday The end work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27315
|
+
*/
|
|
27316
|
+
getGamificationInsightsTrends(filterType, filterId, granularity, comparativePeriodStartWorkday, comparativePeriodEndWorkday, primaryPeriodStartWorkday, primaryPeriodEndWorkday) {
|
|
27317
|
+
// verify the required parameter 'filterType' is set
|
|
27318
|
+
if (filterType === undefined || filterType === null) {
|
|
27319
|
+
throw 'Missing the required parameter "filterType" when calling getGamificationInsightsTrends';
|
|
27320
|
+
}
|
|
27321
|
+
// verify the required parameter 'filterId' is set
|
|
27322
|
+
if (filterId === undefined || filterId === null) {
|
|
27323
|
+
throw 'Missing the required parameter "filterId" when calling getGamificationInsightsTrends';
|
|
27324
|
+
}
|
|
27325
|
+
// verify the required parameter 'granularity' is set
|
|
27326
|
+
if (granularity === undefined || granularity === null) {
|
|
27327
|
+
throw 'Missing the required parameter "granularity" when calling getGamificationInsightsTrends';
|
|
27328
|
+
}
|
|
27329
|
+
// verify the required parameter 'comparativePeriodStartWorkday' is set
|
|
27330
|
+
if (comparativePeriodStartWorkday === undefined || comparativePeriodStartWorkday === null) {
|
|
27331
|
+
throw 'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsTrends';
|
|
27332
|
+
}
|
|
27333
|
+
// verify the required parameter 'comparativePeriodEndWorkday' is set
|
|
27334
|
+
if (comparativePeriodEndWorkday === undefined || comparativePeriodEndWorkday === null) {
|
|
27335
|
+
throw 'Missing the required parameter "comparativePeriodEndWorkday" when calling getGamificationInsightsTrends';
|
|
27336
|
+
}
|
|
27337
|
+
// verify the required parameter 'primaryPeriodStartWorkday' is set
|
|
27338
|
+
if (primaryPeriodStartWorkday === undefined || primaryPeriodStartWorkday === null) {
|
|
27339
|
+
throw 'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsTrends';
|
|
27340
|
+
}
|
|
27341
|
+
// verify the required parameter 'primaryPeriodEndWorkday' is set
|
|
27342
|
+
if (primaryPeriodEndWorkday === undefined || primaryPeriodEndWorkday === null) {
|
|
27343
|
+
throw 'Missing the required parameter "primaryPeriodEndWorkday" when calling getGamificationInsightsTrends';
|
|
27344
|
+
}
|
|
27345
|
+
|
|
27346
|
+
return this.apiClient.callApi(
|
|
27347
|
+
'/api/v2/gamification/insights/trends',
|
|
27348
|
+
'GET',
|
|
27349
|
+
{ },
|
|
27350
|
+
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'comparativePeriodEndWorkday': comparativePeriodEndWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday,'primaryPeriodEndWorkday': primaryPeriodEndWorkday },
|
|
27351
|
+
{ },
|
|
27352
|
+
{ },
|
|
27353
|
+
null,
|
|
27354
|
+
['PureCloud OAuth'],
|
|
27355
|
+
['application/json'],
|
|
27356
|
+
['application/json']
|
|
27357
|
+
);
|
|
27358
|
+
}
|
|
27359
|
+
|
|
27360
|
+
/**
|
|
27361
|
+
* Get insights details for the user
|
|
27362
|
+
*
|
|
27363
|
+
* @param {String} userId The ID of a user.
|
|
27364
|
+
* @param {Object} filterType Filter type for the query request.
|
|
27365
|
+
* @param {String} filterId ID for the filter type.
|
|
27366
|
+
* @param {Object} granularity Granularity
|
|
27367
|
+
* @param {String} comparativePeriodStartWorkday The start work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27368
|
+
* @param {String} primaryPeriodStartWorkday The start work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27369
|
+
*/
|
|
27370
|
+
getGamificationInsightsUserDetails(userId, filterType, filterId, granularity, comparativePeriodStartWorkday, primaryPeriodStartWorkday) {
|
|
27371
|
+
// verify the required parameter 'userId' is set
|
|
27372
|
+
if (userId === undefined || userId === null) {
|
|
27373
|
+
throw 'Missing the required parameter "userId" when calling getGamificationInsightsUserDetails';
|
|
27374
|
+
}
|
|
27375
|
+
// verify the required parameter 'filterType' is set
|
|
27376
|
+
if (filterType === undefined || filterType === null) {
|
|
27377
|
+
throw 'Missing the required parameter "filterType" when calling getGamificationInsightsUserDetails';
|
|
27378
|
+
}
|
|
27379
|
+
// verify the required parameter 'filterId' is set
|
|
27380
|
+
if (filterId === undefined || filterId === null) {
|
|
27381
|
+
throw 'Missing the required parameter "filterId" when calling getGamificationInsightsUserDetails';
|
|
27382
|
+
}
|
|
27383
|
+
// verify the required parameter 'granularity' is set
|
|
27384
|
+
if (granularity === undefined || granularity === null) {
|
|
27385
|
+
throw 'Missing the required parameter "granularity" when calling getGamificationInsightsUserDetails';
|
|
27386
|
+
}
|
|
27387
|
+
// verify the required parameter 'comparativePeriodStartWorkday' is set
|
|
27388
|
+
if (comparativePeriodStartWorkday === undefined || comparativePeriodStartWorkday === null) {
|
|
27389
|
+
throw 'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsUserDetails';
|
|
27390
|
+
}
|
|
27391
|
+
// verify the required parameter 'primaryPeriodStartWorkday' is set
|
|
27392
|
+
if (primaryPeriodStartWorkday === undefined || primaryPeriodStartWorkday === null) {
|
|
27393
|
+
throw 'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsUserDetails';
|
|
27394
|
+
}
|
|
27395
|
+
|
|
27396
|
+
return this.apiClient.callApi(
|
|
27397
|
+
'/api/v2/gamification/insights/users/{userId}/details',
|
|
27398
|
+
'GET',
|
|
27399
|
+
{ 'userId': userId },
|
|
27400
|
+
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday },
|
|
27401
|
+
{ },
|
|
27402
|
+
{ },
|
|
27403
|
+
null,
|
|
27404
|
+
['PureCloud OAuth'],
|
|
27405
|
+
['application/json'],
|
|
27406
|
+
['application/json']
|
|
27407
|
+
);
|
|
27408
|
+
}
|
|
27409
|
+
|
|
27410
|
+
/**
|
|
27411
|
+
* Get insights user trend for the user
|
|
27412
|
+
*
|
|
27413
|
+
* @param {String} userId The ID of a user.
|
|
27414
|
+
* @param {Object} filterType Filter type for the query request.
|
|
27415
|
+
* @param {String} filterId ID for the filter type.
|
|
27416
|
+
* @param {Object} granularity Granularity
|
|
27417
|
+
* @param {String} comparativePeriodStartWorkday The start work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27418
|
+
* @param {String} comparativePeriodEndWorkday The end work day of comparative period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27419
|
+
* @param {String} primaryPeriodStartWorkday The start work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27420
|
+
* @param {String} primaryPeriodEndWorkday The end work day of primary period. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
27421
|
+
*/
|
|
27422
|
+
getGamificationInsightsUserTrends(userId, filterType, filterId, granularity, comparativePeriodStartWorkday, comparativePeriodEndWorkday, primaryPeriodStartWorkday, primaryPeriodEndWorkday) {
|
|
27423
|
+
// verify the required parameter 'userId' is set
|
|
27424
|
+
if (userId === undefined || userId === null) {
|
|
27425
|
+
throw 'Missing the required parameter "userId" when calling getGamificationInsightsUserTrends';
|
|
27426
|
+
}
|
|
27427
|
+
// verify the required parameter 'filterType' is set
|
|
27428
|
+
if (filterType === undefined || filterType === null) {
|
|
27429
|
+
throw 'Missing the required parameter "filterType" when calling getGamificationInsightsUserTrends';
|
|
27430
|
+
}
|
|
27431
|
+
// verify the required parameter 'filterId' is set
|
|
27432
|
+
if (filterId === undefined || filterId === null) {
|
|
27433
|
+
throw 'Missing the required parameter "filterId" when calling getGamificationInsightsUserTrends';
|
|
27434
|
+
}
|
|
27435
|
+
// verify the required parameter 'granularity' is set
|
|
27436
|
+
if (granularity === undefined || granularity === null) {
|
|
27437
|
+
throw 'Missing the required parameter "granularity" when calling getGamificationInsightsUserTrends';
|
|
27438
|
+
}
|
|
27439
|
+
// verify the required parameter 'comparativePeriodStartWorkday' is set
|
|
27440
|
+
if (comparativePeriodStartWorkday === undefined || comparativePeriodStartWorkday === null) {
|
|
27441
|
+
throw 'Missing the required parameter "comparativePeriodStartWorkday" when calling getGamificationInsightsUserTrends';
|
|
27442
|
+
}
|
|
27443
|
+
// verify the required parameter 'comparativePeriodEndWorkday' is set
|
|
27444
|
+
if (comparativePeriodEndWorkday === undefined || comparativePeriodEndWorkday === null) {
|
|
27445
|
+
throw 'Missing the required parameter "comparativePeriodEndWorkday" when calling getGamificationInsightsUserTrends';
|
|
27446
|
+
}
|
|
27447
|
+
// verify the required parameter 'primaryPeriodStartWorkday' is set
|
|
27448
|
+
if (primaryPeriodStartWorkday === undefined || primaryPeriodStartWorkday === null) {
|
|
27449
|
+
throw 'Missing the required parameter "primaryPeriodStartWorkday" when calling getGamificationInsightsUserTrends';
|
|
27450
|
+
}
|
|
27451
|
+
// verify the required parameter 'primaryPeriodEndWorkday' is set
|
|
27452
|
+
if (primaryPeriodEndWorkday === undefined || primaryPeriodEndWorkday === null) {
|
|
27453
|
+
throw 'Missing the required parameter "primaryPeriodEndWorkday" when calling getGamificationInsightsUserTrends';
|
|
27454
|
+
}
|
|
27455
|
+
|
|
27456
|
+
return this.apiClient.callApi(
|
|
27457
|
+
'/api/v2/gamification/insights/users/{userId}/trends',
|
|
27458
|
+
'GET',
|
|
27459
|
+
{ 'userId': userId },
|
|
27460
|
+
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'comparativePeriodEndWorkday': comparativePeriodEndWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday,'primaryPeriodEndWorkday': primaryPeriodEndWorkday },
|
|
27461
|
+
{ },
|
|
27462
|
+
{ },
|
|
27463
|
+
null,
|
|
27464
|
+
['PureCloud OAuth'],
|
|
27465
|
+
['application/json'],
|
|
27466
|
+
['application/json']
|
|
27467
|
+
);
|
|
27468
|
+
}
|
|
27469
|
+
|
|
26955
27470
|
/**
|
|
26956
27471
|
* Leaderboard of the requesting user's division or performance profile
|
|
26957
27472
|
*
|
|
@@ -28384,6 +28899,61 @@ class GamificationApi {
|
|
|
28384
28899
|
);
|
|
28385
28900
|
}
|
|
28386
28901
|
|
|
28902
|
+
/**
|
|
28903
|
+
* Query performance profiles in date range for a user
|
|
28904
|
+
*
|
|
28905
|
+
* @param {String} userId The ID of a user.
|
|
28906
|
+
* @param {Object} body The date range of work day.
|
|
28907
|
+
*/
|
|
28908
|
+
postGamificationProfilesUserQuery(userId, body) {
|
|
28909
|
+
// verify the required parameter 'userId' is set
|
|
28910
|
+
if (userId === undefined || userId === null) {
|
|
28911
|
+
throw 'Missing the required parameter "userId" when calling postGamificationProfilesUserQuery';
|
|
28912
|
+
}
|
|
28913
|
+
// verify the required parameter 'body' is set
|
|
28914
|
+
if (body === undefined || body === null) {
|
|
28915
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfilesUserQuery';
|
|
28916
|
+
}
|
|
28917
|
+
|
|
28918
|
+
return this.apiClient.callApi(
|
|
28919
|
+
'/api/v2/gamification/profiles/users/{userId}/query',
|
|
28920
|
+
'POST',
|
|
28921
|
+
{ 'userId': userId },
|
|
28922
|
+
{ },
|
|
28923
|
+
{ },
|
|
28924
|
+
{ },
|
|
28925
|
+
body,
|
|
28926
|
+
['PureCloud OAuth'],
|
|
28927
|
+
['application/json'],
|
|
28928
|
+
['application/json']
|
|
28929
|
+
);
|
|
28930
|
+
}
|
|
28931
|
+
|
|
28932
|
+
/**
|
|
28933
|
+
* Query performance profiles in date range for the current user
|
|
28934
|
+
*
|
|
28935
|
+
* @param {Object} body The date range of work day.
|
|
28936
|
+
*/
|
|
28937
|
+
postGamificationProfilesUsersMeQuery(body) {
|
|
28938
|
+
// verify the required parameter 'body' is set
|
|
28939
|
+
if (body === undefined || body === null) {
|
|
28940
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfilesUsersMeQuery';
|
|
28941
|
+
}
|
|
28942
|
+
|
|
28943
|
+
return this.apiClient.callApi(
|
|
28944
|
+
'/api/v2/gamification/profiles/users/me/query',
|
|
28945
|
+
'POST',
|
|
28946
|
+
{ },
|
|
28947
|
+
{ },
|
|
28948
|
+
{ },
|
|
28949
|
+
{ },
|
|
28950
|
+
body,
|
|
28951
|
+
['PureCloud OAuth'],
|
|
28952
|
+
['application/json'],
|
|
28953
|
+
['application/json']
|
|
28954
|
+
);
|
|
28955
|
+
}
|
|
28956
|
+
|
|
28387
28957
|
/**
|
|
28388
28958
|
* Updates a performance profile
|
|
28389
28959
|
*
|
|
@@ -28479,7 +29049,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
28479
29049
|
/**
|
|
28480
29050
|
* GeneralDataProtectionRegulation service.
|
|
28481
29051
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
28482
|
-
* @version
|
|
29052
|
+
* @version 168.0.0
|
|
28483
29053
|
*/
|
|
28484
29054
|
|
|
28485
29055
|
/**
|
|
@@ -28609,7 +29179,7 @@ class GeolocationApi {
|
|
|
28609
29179
|
/**
|
|
28610
29180
|
* Geolocation service.
|
|
28611
29181
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
28612
|
-
* @version
|
|
29182
|
+
* @version 168.0.0
|
|
28613
29183
|
*/
|
|
28614
29184
|
|
|
28615
29185
|
/**
|
|
@@ -28740,7 +29310,7 @@ class GreetingsApi {
|
|
|
28740
29310
|
/**
|
|
28741
29311
|
* Greetings service.
|
|
28742
29312
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
28743
|
-
* @version
|
|
29313
|
+
* @version 168.0.0
|
|
28744
29314
|
*/
|
|
28745
29315
|
|
|
28746
29316
|
/**
|
|
@@ -29195,7 +29765,7 @@ class GroupsApi {
|
|
|
29195
29765
|
/**
|
|
29196
29766
|
* Groups service.
|
|
29197
29767
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
29198
|
-
* @version
|
|
29768
|
+
* @version 168.0.0
|
|
29199
29769
|
*/
|
|
29200
29770
|
|
|
29201
29771
|
/**
|
|
@@ -29601,7 +30171,7 @@ class IdentityProviderApi {
|
|
|
29601
30171
|
/**
|
|
29602
30172
|
* IdentityProvider service.
|
|
29603
30173
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
29604
|
-
* @version
|
|
30174
|
+
* @version 168.0.0
|
|
29605
30175
|
*/
|
|
29606
30176
|
|
|
29607
30177
|
/**
|
|
@@ -30357,7 +30927,7 @@ class InfrastructureAsCodeApi {
|
|
|
30357
30927
|
/**
|
|
30358
30928
|
* InfrastructureAsCode service.
|
|
30359
30929
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
30360
|
-
* @version
|
|
30930
|
+
* @version 168.0.0
|
|
30361
30931
|
*/
|
|
30362
30932
|
|
|
30363
30933
|
/**
|
|
@@ -30372,6 +30942,68 @@ class InfrastructureAsCodeApi {
|
|
|
30372
30942
|
}
|
|
30373
30943
|
|
|
30374
30944
|
|
|
30945
|
+
/**
|
|
30946
|
+
* Get information about an accelerator
|
|
30947
|
+
* Get the complete metadata specification for an accelerator, including requirements and parameters.
|
|
30948
|
+
* @param {String} acceleratorId Accelerator ID
|
|
30949
|
+
* @param {Object} opts Optional parameters
|
|
30950
|
+
* @param {Object} opts.preferredLanguage Preferred Language (default to en-US)
|
|
30951
|
+
*/
|
|
30952
|
+
getInfrastructureascodeAccelerator(acceleratorId, opts) {
|
|
30953
|
+
opts = opts || {};
|
|
30954
|
+
|
|
30955
|
+
// verify the required parameter 'acceleratorId' is set
|
|
30956
|
+
if (acceleratorId === undefined || acceleratorId === null) {
|
|
30957
|
+
throw 'Missing the required parameter "acceleratorId" when calling getInfrastructureascodeAccelerator';
|
|
30958
|
+
}
|
|
30959
|
+
|
|
30960
|
+
return this.apiClient.callApi(
|
|
30961
|
+
'/api/v2/infrastructureascode/accelerators/{acceleratorId}',
|
|
30962
|
+
'GET',
|
|
30963
|
+
{ 'acceleratorId': acceleratorId },
|
|
30964
|
+
{ 'preferredLanguage': opts['preferredLanguage'] },
|
|
30965
|
+
{ },
|
|
30966
|
+
{ },
|
|
30967
|
+
null,
|
|
30968
|
+
['PureCloud OAuth'],
|
|
30969
|
+
['application/json'],
|
|
30970
|
+
['application/json']
|
|
30971
|
+
);
|
|
30972
|
+
}
|
|
30973
|
+
|
|
30974
|
+
/**
|
|
30975
|
+
* Get a list of available accelerators
|
|
30976
|
+
* Search for accelerators that can be run.
|
|
30977
|
+
* @param {Object} opts Optional parameters
|
|
30978
|
+
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
30979
|
+
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
30980
|
+
* @param {String} opts.sortBy variable name requested to sort by
|
|
30981
|
+
* @param {Object} opts.sortOrder Sort order (default to asc)
|
|
30982
|
+
* @param {String} opts.name Filter by name
|
|
30983
|
+
* @param {String} opts.description Filter by description
|
|
30984
|
+
* @param {Object} opts.origin Filter by origin
|
|
30985
|
+
* @param {Object} opts.type Filter by type
|
|
30986
|
+
* @param {String} opts.classification Filter by classification
|
|
30987
|
+
* @param {String} opts.tags Filter by tags
|
|
30988
|
+
*/
|
|
30989
|
+
getInfrastructureascodeAccelerators(opts) {
|
|
30990
|
+
opts = opts || {};
|
|
30991
|
+
|
|
30992
|
+
|
|
30993
|
+
return this.apiClient.callApi(
|
|
30994
|
+
'/api/v2/infrastructureascode/accelerators',
|
|
30995
|
+
'GET',
|
|
30996
|
+
{ },
|
|
30997
|
+
{ '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'] },
|
|
30998
|
+
{ },
|
|
30999
|
+
{ },
|
|
31000
|
+
null,
|
|
31001
|
+
['PureCloud OAuth'],
|
|
31002
|
+
['application/json'],
|
|
31003
|
+
['application/json']
|
|
31004
|
+
);
|
|
31005
|
+
}
|
|
31006
|
+
|
|
30375
31007
|
/**
|
|
30376
31008
|
* Get job status and results
|
|
30377
31009
|
* Get the execution status of a submitted job, optionally including results and error details.
|
|
@@ -30407,8 +31039,11 @@ class InfrastructureAsCodeApi {
|
|
|
30407
31039
|
* @param {Object} opts Optional parameters
|
|
30408
31040
|
* @param {Number} opts.maxResults Number of jobs to show (default to 1)
|
|
30409
31041
|
* @param {Boolean} opts.includeErrors Include error messages (default to false)
|
|
30410
|
-
* @param {Object} opts.sortBy Sort by (default to
|
|
30411
|
-
* @param {Object} opts.sortOrder Sort order (default to
|
|
31042
|
+
* @param {Object} opts.sortBy Sort by (default to dateSubmitted)
|
|
31043
|
+
* @param {Object} opts.sortOrder Sort order (default to desc)
|
|
31044
|
+
* @param {String} opts.acceleratorId Find only jobs associated with this accelerator
|
|
31045
|
+
* @param {String} opts.submittedBy Find only jobs submitted by this user
|
|
31046
|
+
* @param {Object} opts.status Find only jobs in this state
|
|
30412
31047
|
*/
|
|
30413
31048
|
getInfrastructureascodeJobs(opts) {
|
|
30414
31049
|
opts = opts || {};
|
|
@@ -30418,7 +31053,7 @@ class InfrastructureAsCodeApi {
|
|
|
30418
31053
|
'/api/v2/infrastructureascode/jobs',
|
|
30419
31054
|
'GET',
|
|
30420
31055
|
{ },
|
|
30421
|
-
{ 'maxResults': opts['maxResults'],'includeErrors': opts['includeErrors'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
31056
|
+
{ 'maxResults': opts['maxResults'],'includeErrors': opts['includeErrors'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'acceleratorId': opts['acceleratorId'],'submittedBy': opts['submittedBy'],'status': opts['status'] },
|
|
30422
31057
|
{ },
|
|
30423
31058
|
{ },
|
|
30424
31059
|
null,
|
|
@@ -30459,7 +31094,7 @@ class IntegrationsApi {
|
|
|
30459
31094
|
/**
|
|
30460
31095
|
* Integrations service.
|
|
30461
31096
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
30462
|
-
* @version
|
|
31097
|
+
* @version 168.0.0
|
|
30463
31098
|
*/
|
|
30464
31099
|
|
|
30465
31100
|
/**
|
|
@@ -32059,7 +32694,7 @@ class JourneyApi {
|
|
|
32059
32694
|
/**
|
|
32060
32695
|
* Journey service.
|
|
32061
32696
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
32062
|
-
* @version
|
|
32697
|
+
* @version 168.0.0
|
|
32063
32698
|
*/
|
|
32064
32699
|
|
|
32065
32700
|
/**
|
|
@@ -32939,7 +33574,7 @@ class KnowledgeApi {
|
|
|
32939
33574
|
/**
|
|
32940
33575
|
* Knowledge service.
|
|
32941
33576
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
32942
|
-
* @version
|
|
33577
|
+
* @version 168.0.0
|
|
32943
33578
|
*/
|
|
32944
33579
|
|
|
32945
33580
|
/**
|
|
@@ -35371,7 +36006,7 @@ class LanguageUnderstandingApi {
|
|
|
35371
36006
|
/**
|
|
35372
36007
|
* LanguageUnderstanding service.
|
|
35373
36008
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
35374
|
-
* @version
|
|
36009
|
+
* @version 168.0.0
|
|
35375
36010
|
*/
|
|
35376
36011
|
|
|
35377
36012
|
/**
|
|
@@ -36384,7 +37019,7 @@ class LanguagesApi {
|
|
|
36384
37019
|
/**
|
|
36385
37020
|
* Languages service.
|
|
36386
37021
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
36387
|
-
* @version
|
|
37022
|
+
* @version 168.0.0
|
|
36388
37023
|
*/
|
|
36389
37024
|
|
|
36390
37025
|
/**
|
|
@@ -36602,7 +37237,7 @@ class LearningApi {
|
|
|
36602
37237
|
/**
|
|
36603
37238
|
* Learning service.
|
|
36604
37239
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
36605
|
-
* @version
|
|
37240
|
+
* @version 168.0.0
|
|
36606
37241
|
*/
|
|
36607
37242
|
|
|
36608
37243
|
/**
|
|
@@ -37417,7 +38052,7 @@ class LicenseApi {
|
|
|
37417
38052
|
/**
|
|
37418
38053
|
* License service.
|
|
37419
38054
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
37420
|
-
* @version
|
|
38055
|
+
* @version 168.0.0
|
|
37421
38056
|
*/
|
|
37422
38057
|
|
|
37423
38058
|
/**
|
|
@@ -37655,7 +38290,7 @@ class LocationsApi {
|
|
|
37655
38290
|
/**
|
|
37656
38291
|
* Locations service.
|
|
37657
38292
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
37658
|
-
* @version
|
|
38293
|
+
* @version 168.0.0
|
|
37659
38294
|
*/
|
|
37660
38295
|
|
|
37661
38296
|
/**
|
|
@@ -37891,7 +38526,7 @@ class MessagingApi {
|
|
|
37891
38526
|
/**
|
|
37892
38527
|
* Messaging service.
|
|
37893
38528
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
37894
|
-
* @version
|
|
38529
|
+
* @version 168.0.0
|
|
37895
38530
|
*/
|
|
37896
38531
|
|
|
37897
38532
|
/**
|
|
@@ -38042,7 +38677,7 @@ class MobileDevicesApi {
|
|
|
38042
38677
|
/**
|
|
38043
38678
|
* MobileDevices service.
|
|
38044
38679
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
38045
|
-
* @version
|
|
38680
|
+
* @version 168.0.0
|
|
38046
38681
|
*/
|
|
38047
38682
|
|
|
38048
38683
|
/**
|
|
@@ -38193,7 +38828,7 @@ class NotificationsApi {
|
|
|
38193
38828
|
/**
|
|
38194
38829
|
* Notifications service.
|
|
38195
38830
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
38196
|
-
* @version
|
|
38831
|
+
* @version 168.0.0
|
|
38197
38832
|
*/
|
|
38198
38833
|
|
|
38199
38834
|
/**
|
|
@@ -38426,7 +39061,7 @@ class OAuthApi {
|
|
|
38426
39061
|
/**
|
|
38427
39062
|
* OAuth service.
|
|
38428
39063
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
38429
|
-
* @version
|
|
39064
|
+
* @version 168.0.0
|
|
38430
39065
|
*/
|
|
38431
39066
|
|
|
38432
39067
|
/**
|
|
@@ -38792,7 +39427,7 @@ class ObjectsApi {
|
|
|
38792
39427
|
/**
|
|
38793
39428
|
* Objects service.
|
|
38794
39429
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
38795
|
-
* @version
|
|
39430
|
+
* @version 168.0.0
|
|
38796
39431
|
*/
|
|
38797
39432
|
|
|
38798
39433
|
/**
|
|
@@ -39063,7 +39698,7 @@ class OrganizationApi {
|
|
|
39063
39698
|
/**
|
|
39064
39699
|
* Organization service.
|
|
39065
39700
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
39066
|
-
* @version
|
|
39701
|
+
* @version 168.0.0
|
|
39067
39702
|
*/
|
|
39068
39703
|
|
|
39069
39704
|
/**
|
|
@@ -39466,7 +40101,7 @@ class OrganizationAuthorizationApi {
|
|
|
39466
40101
|
/**
|
|
39467
40102
|
* OrganizationAuthorization service.
|
|
39468
40103
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
39469
|
-
* @version
|
|
40104
|
+
* @version 168.0.0
|
|
39470
40105
|
*/
|
|
39471
40106
|
|
|
39472
40107
|
/**
|
|
@@ -40761,7 +41396,7 @@ class OutboundApi {
|
|
|
40761
41396
|
/**
|
|
40762
41397
|
* Outbound service.
|
|
40763
41398
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
40764
|
-
* @version
|
|
41399
|
+
* @version 168.0.0
|
|
40765
41400
|
*/
|
|
40766
41401
|
|
|
40767
41402
|
/**
|
|
@@ -42525,6 +43160,31 @@ class OutboundApi {
|
|
|
42525
43160
|
);
|
|
42526
43161
|
}
|
|
42527
43162
|
|
|
43163
|
+
/**
|
|
43164
|
+
* Get messaging campaign diagnostics
|
|
43165
|
+
*
|
|
43166
|
+
* @param {String} messagingCampaignId The Messaging Campaign ID
|
|
43167
|
+
*/
|
|
43168
|
+
getOutboundMessagingcampaignDiagnostics(messagingCampaignId) {
|
|
43169
|
+
// verify the required parameter 'messagingCampaignId' is set
|
|
43170
|
+
if (messagingCampaignId === undefined || messagingCampaignId === null) {
|
|
43171
|
+
throw 'Missing the required parameter "messagingCampaignId" when calling getOutboundMessagingcampaignDiagnostics';
|
|
43172
|
+
}
|
|
43173
|
+
|
|
43174
|
+
return this.apiClient.callApi(
|
|
43175
|
+
'/api/v2/outbound/messagingcampaigns/{messagingCampaignId}/diagnostics',
|
|
43176
|
+
'GET',
|
|
43177
|
+
{ 'messagingCampaignId': messagingCampaignId },
|
|
43178
|
+
{ },
|
|
43179
|
+
{ },
|
|
43180
|
+
{ },
|
|
43181
|
+
null,
|
|
43182
|
+
['PureCloud OAuth'],
|
|
43183
|
+
['application/json'],
|
|
43184
|
+
['application/json']
|
|
43185
|
+
);
|
|
43186
|
+
}
|
|
43187
|
+
|
|
42528
43188
|
/**
|
|
42529
43189
|
* Get messaging campaign's progress
|
|
42530
43190
|
*
|
|
@@ -44357,7 +45017,7 @@ class PresenceApi {
|
|
|
44357
45017
|
/**
|
|
44358
45018
|
* Presence service.
|
|
44359
45019
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
44360
|
-
* @version
|
|
45020
|
+
* @version 168.0.0
|
|
44361
45021
|
*/
|
|
44362
45022
|
|
|
44363
45023
|
/**
|
|
@@ -44908,7 +45568,7 @@ class ProcessAutomationApi {
|
|
|
44908
45568
|
/**
|
|
44909
45569
|
* ProcessAutomation service.
|
|
44910
45570
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
44911
|
-
* @version
|
|
45571
|
+
* @version 168.0.0
|
|
44912
45572
|
*/
|
|
44913
45573
|
|
|
44914
45574
|
/**
|
|
@@ -45147,7 +45807,7 @@ class QualityApi {
|
|
|
45147
45807
|
/**
|
|
45148
45808
|
* Quality service.
|
|
45149
45809
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
45150
|
-
* @version
|
|
45810
|
+
* @version 168.0.0
|
|
45151
45811
|
*/
|
|
45152
45812
|
|
|
45153
45813
|
/**
|
|
@@ -46568,7 +47228,7 @@ class QualityApi {
|
|
|
46568
47228
|
* @param {String} evaluationId evaluationId
|
|
46569
47229
|
* @param {Object} body evaluation
|
|
46570
47230
|
* @param {Object} opts Optional parameters
|
|
46571
|
-
* @param {String} opts.expand evaluatorId, evaluationForm
|
|
47231
|
+
* @param {String} opts.expand evaluatorId, evaluationForm, assignee
|
|
46572
47232
|
*/
|
|
46573
47233
|
putQualityConversationEvaluation(conversationId, evaluationId, body, opts) {
|
|
46574
47234
|
opts = opts || {};
|
|
@@ -46726,7 +47386,7 @@ class RecordingApi {
|
|
|
46726
47386
|
/**
|
|
46727
47387
|
* Recording service.
|
|
46728
47388
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
46729
|
-
* @version
|
|
47389
|
+
* @version 168.0.0
|
|
46730
47390
|
*/
|
|
46731
47391
|
|
|
46732
47392
|
/**
|
|
@@ -47033,7 +47693,7 @@ class RecordingApi {
|
|
|
47033
47693
|
}
|
|
47034
47694
|
|
|
47035
47695
|
/**
|
|
47036
|
-
* 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.
|
|
47696
|
+
* 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.
|
|
47037
47697
|
*
|
|
47038
47698
|
* @param {String} conversationId Conversation ID
|
|
47039
47699
|
*/
|
|
@@ -48363,7 +49023,7 @@ class ResponseManagementApi {
|
|
|
48363
49023
|
/**
|
|
48364
49024
|
* ResponseManagement service.
|
|
48365
49025
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
48366
|
-
* @version
|
|
49026
|
+
* @version 168.0.0
|
|
48367
49027
|
*/
|
|
48368
49028
|
|
|
48369
49029
|
/**
|
|
@@ -48460,6 +49120,7 @@ class ResponseManagementApi {
|
|
|
48460
49120
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
48461
49121
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
48462
49122
|
* @param {Object} opts.messagingTemplateFilter Returns a list of libraries that contain responses with at least one messaging template defined for a specific message channel
|
|
49123
|
+
* @param {String} opts.libraryPrefix Returns a list of libraries that contain the prefix provided
|
|
48463
49124
|
*/
|
|
48464
49125
|
getResponsemanagementLibraries(opts) {
|
|
48465
49126
|
opts = opts || {};
|
|
@@ -48469,7 +49130,7 @@ class ResponseManagementApi {
|
|
|
48469
49130
|
'/api/v2/responsemanagement/libraries',
|
|
48470
49131
|
'GET',
|
|
48471
49132
|
{ },
|
|
48472
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'messagingTemplateFilter': opts['messagingTemplateFilter'] },
|
|
49133
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'messagingTemplateFilter': opts['messagingTemplateFilter'],'libraryPrefix': opts['libraryPrefix'] },
|
|
48473
49134
|
{ },
|
|
48474
49135
|
{ },
|
|
48475
49136
|
null,
|
|
@@ -48847,7 +49508,7 @@ class RoutingApi {
|
|
|
48847
49508
|
/**
|
|
48848
49509
|
* Routing service.
|
|
48849
49510
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
48850
|
-
* @version
|
|
49511
|
+
* @version 168.0.0
|
|
48851
49512
|
*/
|
|
48852
49513
|
|
|
48853
49514
|
/**
|
|
@@ -49957,6 +50618,7 @@ class RoutingApi {
|
|
|
49957
50618
|
*
|
|
49958
50619
|
* @param {Object} opts Optional parameters
|
|
49959
50620
|
* @param {Object} opts.kpiGroup The Group of Key Performance Indicators to return
|
|
50621
|
+
* @param {Array.<String>} opts.expand Parameter to request additional data to return in KPI payload
|
|
49960
50622
|
*/
|
|
49961
50623
|
getRoutingPredictorsKeyperformanceindicators(opts) {
|
|
49962
50624
|
opts = opts || {};
|
|
@@ -49966,7 +50628,7 @@ class RoutingApi {
|
|
|
49966
50628
|
'/api/v2/routing/predictors/keyperformanceindicators',
|
|
49967
50629
|
'GET',
|
|
49968
50630
|
{ },
|
|
49969
|
-
{ 'kpiGroup': opts['kpiGroup'] },
|
|
50631
|
+
{ 'kpiGroup': opts['kpiGroup'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
49970
50632
|
{ },
|
|
49971
50633
|
{ },
|
|
49972
50634
|
null,
|
|
@@ -52355,7 +53017,7 @@ class SCIMApi {
|
|
|
52355
53017
|
/**
|
|
52356
53018
|
* SCIM service.
|
|
52357
53019
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
52358
|
-
* @version
|
|
53020
|
+
* @version 168.0.0
|
|
52359
53021
|
*/
|
|
52360
53022
|
|
|
52361
53023
|
/**
|
|
@@ -53232,7 +53894,7 @@ class ScriptsApi {
|
|
|
53232
53894
|
/**
|
|
53233
53895
|
* Scripts service.
|
|
53234
53896
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
53235
|
-
* @version
|
|
53897
|
+
* @version 168.0.0
|
|
53236
53898
|
*/
|
|
53237
53899
|
|
|
53238
53900
|
/**
|
|
@@ -53651,7 +54313,7 @@ class SearchApi {
|
|
|
53651
54313
|
/**
|
|
53652
54314
|
* Search service.
|
|
53653
54315
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
53654
|
-
* @version
|
|
54316
|
+
* @version 168.0.0
|
|
53655
54317
|
*/
|
|
53656
54318
|
|
|
53657
54319
|
/**
|
|
@@ -54261,7 +54923,7 @@ class SpeechTextAnalyticsApi {
|
|
|
54261
54923
|
/**
|
|
54262
54924
|
* SpeechTextAnalytics service.
|
|
54263
54925
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
54264
|
-
* @version
|
|
54926
|
+
* @version 168.0.0
|
|
54265
54927
|
*/
|
|
54266
54928
|
|
|
54267
54929
|
/**
|
|
@@ -55190,7 +55852,7 @@ class StationsApi {
|
|
|
55190
55852
|
/**
|
|
55191
55853
|
* Stations service.
|
|
55192
55854
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
55193
|
-
* @version
|
|
55855
|
+
* @version 168.0.0
|
|
55194
55856
|
*/
|
|
55195
55857
|
|
|
55196
55858
|
/**
|
|
@@ -55286,58 +55948,13 @@ class StationsApi {
|
|
|
55286
55948
|
);
|
|
55287
55949
|
}
|
|
55288
55950
|
|
|
55289
|
-
/**
|
|
55290
|
-
* Get an organization's StationSettings
|
|
55291
|
-
* This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
|
|
55292
|
-
*/
|
|
55293
|
-
getStationsSettings() {
|
|
55294
|
-
|
|
55295
|
-
return this.apiClient.callApi(
|
|
55296
|
-
'/api/v2/stations/settings',
|
|
55297
|
-
'GET',
|
|
55298
|
-
{ },
|
|
55299
|
-
{ },
|
|
55300
|
-
{ },
|
|
55301
|
-
{ },
|
|
55302
|
-
null,
|
|
55303
|
-
['PureCloud OAuth'],
|
|
55304
|
-
['application/json'],
|
|
55305
|
-
['application/json']
|
|
55306
|
-
);
|
|
55307
|
-
}
|
|
55308
|
-
|
|
55309
|
-
/**
|
|
55310
|
-
* Patch an organization's StationSettings
|
|
55311
|
-
* This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
|
|
55312
|
-
* @param {Object} body Station settings
|
|
55313
|
-
*/
|
|
55314
|
-
patchStationsSettings(body) {
|
|
55315
|
-
// verify the required parameter 'body' is set
|
|
55316
|
-
if (body === undefined || body === null) {
|
|
55317
|
-
throw 'Missing the required parameter "body" when calling patchStationsSettings';
|
|
55318
|
-
}
|
|
55319
|
-
|
|
55320
|
-
return this.apiClient.callApi(
|
|
55321
|
-
'/api/v2/stations/settings',
|
|
55322
|
-
'PATCH',
|
|
55323
|
-
{ },
|
|
55324
|
-
{ },
|
|
55325
|
-
{ },
|
|
55326
|
-
{ },
|
|
55327
|
-
body,
|
|
55328
|
-
['PureCloud OAuth'],
|
|
55329
|
-
['application/json'],
|
|
55330
|
-
['application/json']
|
|
55331
|
-
);
|
|
55332
|
-
}
|
|
55333
|
-
|
|
55334
55951
|
}
|
|
55335
55952
|
|
|
55336
55953
|
class SuggestApi {
|
|
55337
55954
|
/**
|
|
55338
55955
|
* Suggest service.
|
|
55339
55956
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
55340
|
-
* @version
|
|
55957
|
+
* @version 168.0.0
|
|
55341
55958
|
*/
|
|
55342
55959
|
|
|
55343
55960
|
/**
|
|
@@ -55476,7 +56093,7 @@ class TeamsApi {
|
|
|
55476
56093
|
/**
|
|
55477
56094
|
* Teams service.
|
|
55478
56095
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
55479
|
-
* @version
|
|
56096
|
+
* @version 168.0.0
|
|
55480
56097
|
*/
|
|
55481
56098
|
|
|
55482
56099
|
/**
|
|
@@ -55747,7 +56364,7 @@ class TelephonyApi {
|
|
|
55747
56364
|
/**
|
|
55748
56365
|
* Telephony service.
|
|
55749
56366
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
55750
|
-
* @version
|
|
56367
|
+
* @version 168.0.0
|
|
55751
56368
|
*/
|
|
55752
56369
|
|
|
55753
56370
|
/**
|
|
@@ -55875,7 +56492,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
55875
56492
|
/**
|
|
55876
56493
|
* TelephonyProvidersEdge service.
|
|
55877
56494
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
55878
|
-
* @version
|
|
56495
|
+
* @version 168.0.0
|
|
55879
56496
|
*/
|
|
55880
56497
|
|
|
55881
56498
|
/**
|
|
@@ -56070,31 +56687,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
56070
56687
|
);
|
|
56071
56688
|
}
|
|
56072
56689
|
|
|
56073
|
-
/**
|
|
56074
|
-
* Delete Outbound Route
|
|
56075
|
-
* This route is deprecated, use /telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId} instead.
|
|
56076
|
-
* @param {String} outboundRouteId Outbound route ID
|
|
56077
|
-
*/
|
|
56078
|
-
deleteTelephonyProvidersEdgesOutboundroute(outboundRouteId) {
|
|
56079
|
-
// verify the required parameter 'outboundRouteId' is set
|
|
56080
|
-
if (outboundRouteId === undefined || outboundRouteId === null) {
|
|
56081
|
-
throw 'Missing the required parameter "outboundRouteId" when calling deleteTelephonyProvidersEdgesOutboundroute';
|
|
56082
|
-
}
|
|
56083
|
-
|
|
56084
|
-
return this.apiClient.callApi(
|
|
56085
|
-
'/api/v2/telephony/providers/edges/outboundroutes/{outboundRouteId}',
|
|
56086
|
-
'DELETE',
|
|
56087
|
-
{ 'outboundRouteId': outboundRouteId },
|
|
56088
|
-
{ },
|
|
56089
|
-
{ },
|
|
56090
|
-
{ },
|
|
56091
|
-
null,
|
|
56092
|
-
['PureCloud OAuth'],
|
|
56093
|
-
['application/json'],
|
|
56094
|
-
['application/json']
|
|
56095
|
-
);
|
|
56096
|
-
}
|
|
56097
|
-
|
|
56098
56690
|
/**
|
|
56099
56691
|
* Delete a Phone by ID
|
|
56100
56692
|
*
|
|
@@ -58509,31 +59101,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
58509
59101
|
);
|
|
58510
59102
|
}
|
|
58511
59103
|
|
|
58512
|
-
/**
|
|
58513
|
-
* Create outbound rule
|
|
58514
|
-
* This route is deprecated, use /telephony/providers/edges/sites/{siteId}/outboundroutes instead.
|
|
58515
|
-
* @param {Object} body OutboundRoute
|
|
58516
|
-
*/
|
|
58517
|
-
postTelephonyProvidersEdgesOutboundroutes(body) {
|
|
58518
|
-
// verify the required parameter 'body' is set
|
|
58519
|
-
if (body === undefined || body === null) {
|
|
58520
|
-
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesOutboundroutes';
|
|
58521
|
-
}
|
|
58522
|
-
|
|
58523
|
-
return this.apiClient.callApi(
|
|
58524
|
-
'/api/v2/telephony/providers/edges/outboundroutes',
|
|
58525
|
-
'POST',
|
|
58526
|
-
{ },
|
|
58527
|
-
{ },
|
|
58528
|
-
{ },
|
|
58529
|
-
{ },
|
|
58530
|
-
body,
|
|
58531
|
-
['PureCloud OAuth'],
|
|
58532
|
-
['application/json'],
|
|
58533
|
-
['application/json']
|
|
58534
|
-
);
|
|
58535
|
-
}
|
|
58536
|
-
|
|
58537
59104
|
/**
|
|
58538
59105
|
* Reboot a Phone
|
|
58539
59106
|
*
|
|
@@ -58934,36 +59501,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
58934
59501
|
);
|
|
58935
59502
|
}
|
|
58936
59503
|
|
|
58937
|
-
/**
|
|
58938
|
-
* Update outbound route
|
|
58939
|
-
* This route is deprecated, use /telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId} instead.
|
|
58940
|
-
* @param {String} outboundRouteId Outbound route ID
|
|
58941
|
-
* @param {Object} body OutboundRoute
|
|
58942
|
-
*/
|
|
58943
|
-
putTelephonyProvidersEdgesOutboundroute(outboundRouteId, body) {
|
|
58944
|
-
// verify the required parameter 'outboundRouteId' is set
|
|
58945
|
-
if (outboundRouteId === undefined || outboundRouteId === null) {
|
|
58946
|
-
throw 'Missing the required parameter "outboundRouteId" when calling putTelephonyProvidersEdgesOutboundroute';
|
|
58947
|
-
}
|
|
58948
|
-
// verify the required parameter 'body' is set
|
|
58949
|
-
if (body === undefined || body === null) {
|
|
58950
|
-
throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgesOutboundroute';
|
|
58951
|
-
}
|
|
58952
|
-
|
|
58953
|
-
return this.apiClient.callApi(
|
|
58954
|
-
'/api/v2/telephony/providers/edges/outboundroutes/{outboundRouteId}',
|
|
58955
|
-
'PUT',
|
|
58956
|
-
{ 'outboundRouteId': outboundRouteId },
|
|
58957
|
-
{ },
|
|
58958
|
-
{ },
|
|
58959
|
-
{ },
|
|
58960
|
-
body,
|
|
58961
|
-
['PureCloud OAuth'],
|
|
58962
|
-
['application/json'],
|
|
58963
|
-
['application/json']
|
|
58964
|
-
);
|
|
58965
|
-
}
|
|
58966
|
-
|
|
58967
59504
|
/**
|
|
58968
59505
|
* Update a Phone by ID
|
|
58969
59506
|
*
|
|
@@ -59155,7 +59692,7 @@ class TextbotsApi {
|
|
|
59155
59692
|
/**
|
|
59156
59693
|
* Textbots service.
|
|
59157
59694
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
59158
|
-
* @version
|
|
59695
|
+
* @version 168.0.0
|
|
59159
59696
|
*/
|
|
59160
59697
|
|
|
59161
59698
|
/**
|
|
@@ -59283,7 +59820,7 @@ class TokensApi {
|
|
|
59283
59820
|
/**
|
|
59284
59821
|
* Tokens service.
|
|
59285
59822
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
59286
|
-
* @version
|
|
59823
|
+
* @version 168.0.0
|
|
59287
59824
|
*/
|
|
59288
59825
|
|
|
59289
59826
|
/**
|
|
@@ -59389,7 +59926,7 @@ class UploadsApi {
|
|
|
59389
59926
|
/**
|
|
59390
59927
|
* Uploads service.
|
|
59391
59928
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
59392
|
-
* @version
|
|
59929
|
+
* @version 168.0.0
|
|
59393
59930
|
*/
|
|
59394
59931
|
|
|
59395
59932
|
/**
|
|
@@ -59565,7 +60102,7 @@ class UsageApi {
|
|
|
59565
60102
|
/**
|
|
59566
60103
|
* Usage service.
|
|
59567
60104
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
59568
|
-
* @version
|
|
60105
|
+
* @version 168.0.0
|
|
59569
60106
|
*/
|
|
59570
60107
|
|
|
59571
60108
|
/**
|
|
@@ -59725,7 +60262,7 @@ class UserRecordingsApi {
|
|
|
59725
60262
|
/**
|
|
59726
60263
|
* UserRecordings service.
|
|
59727
60264
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
59728
|
-
* @version
|
|
60265
|
+
* @version 168.0.0
|
|
59729
60266
|
*/
|
|
59730
60267
|
|
|
59731
60268
|
/**
|
|
@@ -59910,7 +60447,7 @@ class UsersApi {
|
|
|
59910
60447
|
/**
|
|
59911
60448
|
* Users service.
|
|
59912
60449
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
59913
|
-
* @version
|
|
60450
|
+
* @version 168.0.0
|
|
59914
60451
|
*/
|
|
59915
60452
|
|
|
59916
60453
|
/**
|
|
@@ -62300,7 +62837,7 @@ class UtilitiesApi {
|
|
|
62300
62837
|
/**
|
|
62301
62838
|
* Utilities service.
|
|
62302
62839
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
62303
|
-
* @version
|
|
62840
|
+
* @version 168.0.0
|
|
62304
62841
|
*/
|
|
62305
62842
|
|
|
62306
62843
|
/**
|
|
@@ -62411,7 +62948,7 @@ class VoicemailApi {
|
|
|
62411
62948
|
/**
|
|
62412
62949
|
* Voicemail service.
|
|
62413
62950
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
62414
|
-
* @version
|
|
62951
|
+
* @version 168.0.0
|
|
62415
62952
|
*/
|
|
62416
62953
|
|
|
62417
62954
|
/**
|
|
@@ -63078,7 +63615,7 @@ class WebChatApi {
|
|
|
63078
63615
|
/**
|
|
63079
63616
|
* WebChat service.
|
|
63080
63617
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
63081
|
-
* @version
|
|
63618
|
+
* @version 168.0.0
|
|
63082
63619
|
*/
|
|
63083
63620
|
|
|
63084
63621
|
/**
|
|
@@ -63622,7 +64159,7 @@ class WebDeploymentsApi {
|
|
|
63622
64159
|
/**
|
|
63623
64160
|
* WebDeployments service.
|
|
63624
64161
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
63625
|
-
* @version
|
|
64162
|
+
* @version 168.0.0
|
|
63626
64163
|
*/
|
|
63627
64164
|
|
|
63628
64165
|
/**
|
|
@@ -64144,7 +64681,7 @@ class WebMessagingApi {
|
|
|
64144
64681
|
/**
|
|
64145
64682
|
* WebMessaging service.
|
|
64146
64683
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
64147
|
-
* @version
|
|
64684
|
+
* @version 168.0.0
|
|
64148
64685
|
*/
|
|
64149
64686
|
|
|
64150
64687
|
/**
|
|
@@ -64190,7 +64727,7 @@ class WidgetsApi {
|
|
|
64190
64727
|
/**
|
|
64191
64728
|
* Widgets service.
|
|
64192
64729
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
64193
|
-
* @version
|
|
64730
|
+
* @version 168.0.0
|
|
64194
64731
|
*/
|
|
64195
64732
|
|
|
64196
64733
|
/**
|
|
@@ -64336,7 +64873,7 @@ class WorkforceManagementApi {
|
|
|
64336
64873
|
/**
|
|
64337
64874
|
* WorkforceManagement service.
|
|
64338
64875
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
64339
|
-
* @version
|
|
64876
|
+
* @version 168.0.0
|
|
64340
64877
|
*/
|
|
64341
64878
|
|
|
64342
64879
|
/**
|
|
@@ -67259,7 +67796,7 @@ class WorkforceManagementApi {
|
|
|
67259
67796
|
}
|
|
67260
67797
|
|
|
67261
67798
|
/**
|
|
67262
|
-
*
|
|
67799
|
+
* Deprecated. Use bulk routes instead (/adherence/historical/bulk)
|
|
67263
67800
|
*
|
|
67264
67801
|
* @param {Object} opts Optional parameters
|
|
67265
67802
|
* @param {Object} opts.body body
|
|
@@ -69080,7 +69617,7 @@ class WorkforceManagementApi {
|
|
|
69080
69617
|
* </pre>
|
|
69081
69618
|
* </p>
|
|
69082
69619
|
* @module purecloud-platform-client-v2/index
|
|
69083
|
-
* @version
|
|
69620
|
+
* @version 168.0.0
|
|
69084
69621
|
*/
|
|
69085
69622
|
class platformClient {
|
|
69086
69623
|
constructor() {
|
|
@@ -69124,6 +69661,11 @@ class platformClient {
|
|
|
69124
69661
|
* @property {module:purecloud-platform-client-v2/api/BillingApi}
|
|
69125
69662
|
*/
|
|
69126
69663
|
this.BillingApi = BillingApi;
|
|
69664
|
+
/**
|
|
69665
|
+
* The CarrierServicesApi service constructor.
|
|
69666
|
+
* @property {module:purecloud-platform-client-v2/api/CarrierServicesApi}
|
|
69667
|
+
*/
|
|
69668
|
+
this.CarrierServicesApi = CarrierServicesApi;
|
|
69127
69669
|
/**
|
|
69128
69670
|
* The ChatApi service constructor.
|
|
69129
69671
|
* @property {module:purecloud-platform-client-v2/api/ChatApi}
|