purecloud-platform-client-v2 167.0.0 → 168.1.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 +336 -126
- package/dist/web-amd/purecloud-platform-client-v2.js +336 -126
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +336 -126
- package/dist/web-cjs/purecloud-platform-client-v2.js +336 -126
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +212 -12
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +1 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -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 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +64 -6
- package/src/purecloud-platform-client-v2/index.js +7 -1
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -2279,7 +2279,7 @@ class Configuration {
|
|
|
2279
2279
|
|
|
2280
2280
|
/**
|
|
2281
2281
|
* @module purecloud-platform-client-v2/ApiClient
|
|
2282
|
-
* @version
|
|
2282
|
+
* @version 168.1.0
|
|
2283
2283
|
*/
|
|
2284
2284
|
class ApiClient {
|
|
2285
2285
|
/**
|
|
@@ -3358,7 +3358,7 @@ class AlertingApi {
|
|
|
3358
3358
|
/**
|
|
3359
3359
|
* Alerting service.
|
|
3360
3360
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
3361
|
-
* @version
|
|
3361
|
+
* @version 168.1.0
|
|
3362
3362
|
*/
|
|
3363
3363
|
|
|
3364
3364
|
/**
|
|
@@ -3672,7 +3672,7 @@ class AnalyticsApi {
|
|
|
3672
3672
|
/**
|
|
3673
3673
|
* Analytics service.
|
|
3674
3674
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3675
|
-
* @version
|
|
3675
|
+
* @version 168.1.0
|
|
3676
3676
|
*/
|
|
3677
3677
|
|
|
3678
3678
|
/**
|
|
@@ -4926,7 +4926,7 @@ class ArchitectApi {
|
|
|
4926
4926
|
/**
|
|
4927
4927
|
* Architect service.
|
|
4928
4928
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
4929
|
-
* @version
|
|
4929
|
+
* @version 168.1.0
|
|
4930
4930
|
*/
|
|
4931
4931
|
|
|
4932
4932
|
/**
|
|
@@ -7974,7 +7974,7 @@ class AuditApi {
|
|
|
7974
7974
|
/**
|
|
7975
7975
|
* Audit service.
|
|
7976
7976
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
7977
|
-
* @version
|
|
7977
|
+
* @version 168.1.0
|
|
7978
7978
|
*/
|
|
7979
7979
|
|
|
7980
7980
|
/**
|
|
@@ -8145,7 +8145,7 @@ class AuthorizationApi {
|
|
|
8145
8145
|
/**
|
|
8146
8146
|
* Authorization service.
|
|
8147
8147
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8148
|
-
* @version
|
|
8148
|
+
* @version 168.1.0
|
|
8149
8149
|
*/
|
|
8150
8150
|
|
|
8151
8151
|
/**
|
|
@@ -9374,7 +9374,7 @@ class BillingApi {
|
|
|
9374
9374
|
/**
|
|
9375
9375
|
* Billing service.
|
|
9376
9376
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9377
|
-
* @version
|
|
9377
|
+
* @version 168.1.0
|
|
9378
9378
|
*/
|
|
9379
9379
|
|
|
9380
9380
|
/**
|
|
@@ -9450,11 +9450,81 @@ class BillingApi {
|
|
|
9450
9450
|
|
|
9451
9451
|
}
|
|
9452
9452
|
|
|
9453
|
+
class CarrierServicesApi {
|
|
9454
|
+
/**
|
|
9455
|
+
* CarrierServices service.
|
|
9456
|
+
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
9457
|
+
* @version 168.1.0
|
|
9458
|
+
*/
|
|
9459
|
+
|
|
9460
|
+
/**
|
|
9461
|
+
* Constructs a new CarrierServicesApi.
|
|
9462
|
+
* @alias module:purecloud-platform-client-v2/api/CarrierServicesApi
|
|
9463
|
+
* @class
|
|
9464
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
9465
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
9466
|
+
*/
|
|
9467
|
+
constructor(apiClient) {
|
|
9468
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
9469
|
+
}
|
|
9470
|
+
|
|
9471
|
+
|
|
9472
|
+
/**
|
|
9473
|
+
* Get location for the logged in user
|
|
9474
|
+
*
|
|
9475
|
+
* @param {String} phoneNumber Phone number in E164 format
|
|
9476
|
+
*/
|
|
9477
|
+
getCarrierservicesIntegrationsEmergencylocationsMe(phoneNumber) {
|
|
9478
|
+
// verify the required parameter 'phoneNumber' is set
|
|
9479
|
+
if (phoneNumber === undefined || phoneNumber === null) {
|
|
9480
|
+
throw 'Missing the required parameter "phoneNumber" when calling getCarrierservicesIntegrationsEmergencylocationsMe';
|
|
9481
|
+
}
|
|
9482
|
+
|
|
9483
|
+
return this.apiClient.callApi(
|
|
9484
|
+
'/api/v2/carrierservices/integrations/emergencylocations/me',
|
|
9485
|
+
'GET',
|
|
9486
|
+
{ },
|
|
9487
|
+
{ 'phoneNumber': phoneNumber },
|
|
9488
|
+
{ },
|
|
9489
|
+
{ },
|
|
9490
|
+
null,
|
|
9491
|
+
['PureCloud OAuth'],
|
|
9492
|
+
['application/json'],
|
|
9493
|
+
['application/json']
|
|
9494
|
+
);
|
|
9495
|
+
}
|
|
9496
|
+
|
|
9497
|
+
/**
|
|
9498
|
+
* Set current location for the logged in user
|
|
9499
|
+
*
|
|
9500
|
+
* @param {Object} opts Optional parameters
|
|
9501
|
+
* @param {Object} opts.body
|
|
9502
|
+
*/
|
|
9503
|
+
postCarrierservicesIntegrationsEmergencylocationsMe(opts) {
|
|
9504
|
+
opts = opts || {};
|
|
9505
|
+
|
|
9506
|
+
|
|
9507
|
+
return this.apiClient.callApi(
|
|
9508
|
+
'/api/v2/carrierservices/integrations/emergencylocations/me',
|
|
9509
|
+
'POST',
|
|
9510
|
+
{ },
|
|
9511
|
+
{ },
|
|
9512
|
+
{ },
|
|
9513
|
+
{ },
|
|
9514
|
+
opts['body'],
|
|
9515
|
+
['PureCloud OAuth'],
|
|
9516
|
+
['application/json'],
|
|
9517
|
+
['application/json']
|
|
9518
|
+
);
|
|
9519
|
+
}
|
|
9520
|
+
|
|
9521
|
+
}
|
|
9522
|
+
|
|
9453
9523
|
class ChatApi {
|
|
9454
9524
|
/**
|
|
9455
9525
|
* Chat service.
|
|
9456
9526
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9457
|
-
* @version
|
|
9527
|
+
* @version 168.1.0
|
|
9458
9528
|
*/
|
|
9459
9529
|
|
|
9460
9530
|
/**
|
|
@@ -9615,7 +9685,7 @@ class CoachingApi {
|
|
|
9615
9685
|
/**
|
|
9616
9686
|
* Coaching service.
|
|
9617
9687
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9618
|
-
* @version
|
|
9688
|
+
* @version 168.1.0
|
|
9619
9689
|
*/
|
|
9620
9690
|
|
|
9621
9691
|
/**
|
|
@@ -10192,7 +10262,7 @@ class ContentManagementApi {
|
|
|
10192
10262
|
/**
|
|
10193
10263
|
* ContentManagement service.
|
|
10194
10264
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
10195
|
-
* @version
|
|
10265
|
+
* @version 168.1.0
|
|
10196
10266
|
*/
|
|
10197
10267
|
|
|
10198
10268
|
/**
|
|
@@ -11332,7 +11402,7 @@ class ConversationsApi {
|
|
|
11332
11402
|
/**
|
|
11333
11403
|
* Conversations service.
|
|
11334
11404
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
11335
|
-
* @version
|
|
11405
|
+
* @version 168.1.0
|
|
11336
11406
|
*/
|
|
11337
11407
|
|
|
11338
11408
|
/**
|
|
@@ -14597,6 +14667,37 @@ class ConversationsApi {
|
|
|
14597
14667
|
);
|
|
14598
14668
|
}
|
|
14599
14669
|
|
|
14670
|
+
/**
|
|
14671
|
+
* Reset conversation draft to its initial state and/or auto-fill draft content
|
|
14672
|
+
*
|
|
14673
|
+
* @param {String} conversationId conversationId
|
|
14674
|
+
* @param {Object} opts Optional parameters
|
|
14675
|
+
* @param {Boolean} opts.autoFill autoFill
|
|
14676
|
+
* @param {Boolean} opts.discard discard
|
|
14677
|
+
* @param {Object} opts.body Draft Manipulation Request
|
|
14678
|
+
*/
|
|
14679
|
+
patchConversationsEmailMessagesDraft(conversationId, opts) {
|
|
14680
|
+
opts = opts || {};
|
|
14681
|
+
|
|
14682
|
+
// verify the required parameter 'conversationId' is set
|
|
14683
|
+
if (conversationId === undefined || conversationId === null) {
|
|
14684
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationsEmailMessagesDraft';
|
|
14685
|
+
}
|
|
14686
|
+
|
|
14687
|
+
return this.apiClient.callApi(
|
|
14688
|
+
'/api/v2/conversations/emails/{conversationId}/messages/draft',
|
|
14689
|
+
'PATCH',
|
|
14690
|
+
{ 'conversationId': conversationId },
|
|
14691
|
+
{ 'autoFill': opts['autoFill'],'discard': opts['discard'] },
|
|
14692
|
+
{ },
|
|
14693
|
+
{ },
|
|
14694
|
+
opts['body'],
|
|
14695
|
+
['PureCloud OAuth'],
|
|
14696
|
+
['application/json'],
|
|
14697
|
+
['application/json']
|
|
14698
|
+
);
|
|
14699
|
+
}
|
|
14700
|
+
|
|
14600
14701
|
/**
|
|
14601
14702
|
* Update conversation participant
|
|
14602
14703
|
*
|
|
@@ -17392,7 +17493,7 @@ class DataExtensionsApi {
|
|
|
17392
17493
|
/**
|
|
17393
17494
|
* DataExtensions service.
|
|
17394
17495
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
17395
|
-
* @version
|
|
17496
|
+
* @version 168.1.0
|
|
17396
17497
|
*/
|
|
17397
17498
|
|
|
17398
17499
|
/**
|
|
@@ -17478,7 +17579,7 @@ class DownloadsApi {
|
|
|
17478
17579
|
/**
|
|
17479
17580
|
* Downloads service.
|
|
17480
17581
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
17481
|
-
* @version
|
|
17582
|
+
* @version 168.1.0
|
|
17482
17583
|
*/
|
|
17483
17584
|
|
|
17484
17585
|
/**
|
|
@@ -17530,7 +17631,7 @@ class EventsApi {
|
|
|
17530
17631
|
/**
|
|
17531
17632
|
* Events service.
|
|
17532
17633
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
17533
|
-
* @version
|
|
17634
|
+
* @version 168.1.0
|
|
17534
17635
|
*/
|
|
17535
17636
|
|
|
17536
17637
|
/**
|
|
@@ -17626,7 +17727,7 @@ class ExternalContactsApi {
|
|
|
17626
17727
|
/**
|
|
17627
17728
|
* ExternalContacts service.
|
|
17628
17729
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
17629
|
-
* @version
|
|
17730
|
+
* @version 168.1.0
|
|
17630
17731
|
*/
|
|
17631
17732
|
|
|
17632
17733
|
/**
|
|
@@ -19170,7 +19271,7 @@ class ExternalContactsApi {
|
|
|
19170
19271
|
|
|
19171
19272
|
/**
|
|
19172
19273
|
* Merge two contacts into a new contact record
|
|
19173
|
-
*
|
|
19274
|
+
* Two curated contacts cannot be merged. Refer to the Contact Merging article on the Developer Center for details
|
|
19174
19275
|
* @param {Object} body MergeRequest
|
|
19175
19276
|
*/
|
|
19176
19277
|
postExternalcontactsMergeContacts(body) {
|
|
@@ -19584,7 +19685,7 @@ class FaxApi {
|
|
|
19584
19685
|
/**
|
|
19585
19686
|
* Fax service.
|
|
19586
19687
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
19587
|
-
* @version
|
|
19688
|
+
* @version 168.1.0
|
|
19588
19689
|
*/
|
|
19589
19690
|
|
|
19590
19691
|
/**
|
|
@@ -19755,7 +19856,7 @@ class FlowsApi {
|
|
|
19755
19856
|
/**
|
|
19756
19857
|
* Flows service.
|
|
19757
19858
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
19758
|
-
* @version
|
|
19859
|
+
* @version 168.1.0
|
|
19759
19860
|
*/
|
|
19760
19861
|
|
|
19761
19862
|
/**
|
|
@@ -19826,7 +19927,7 @@ class GamificationApi {
|
|
|
19826
19927
|
/**
|
|
19827
19928
|
* Gamification service.
|
|
19828
19929
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
19829
|
-
* @version
|
|
19930
|
+
* @version 168.1.0
|
|
19830
19931
|
*/
|
|
19831
19932
|
|
|
19832
19933
|
/**
|
|
@@ -21912,7 +22013,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
21912
22013
|
/**
|
|
21913
22014
|
* GeneralDataProtectionRegulation service.
|
|
21914
22015
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
21915
|
-
* @version
|
|
22016
|
+
* @version 168.1.0
|
|
21916
22017
|
*/
|
|
21917
22018
|
|
|
21918
22019
|
/**
|
|
@@ -22042,7 +22143,7 @@ class GeolocationApi {
|
|
|
22042
22143
|
/**
|
|
22043
22144
|
* Geolocation service.
|
|
22044
22145
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
22045
|
-
* @version
|
|
22146
|
+
* @version 168.1.0
|
|
22046
22147
|
*/
|
|
22047
22148
|
|
|
22048
22149
|
/**
|
|
@@ -22173,7 +22274,7 @@ class GreetingsApi {
|
|
|
22173
22274
|
/**
|
|
22174
22275
|
* Greetings service.
|
|
22175
22276
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
22176
|
-
* @version
|
|
22277
|
+
* @version 168.1.0
|
|
22177
22278
|
*/
|
|
22178
22279
|
|
|
22179
22280
|
/**
|
|
@@ -22628,7 +22729,7 @@ class GroupsApi {
|
|
|
22628
22729
|
/**
|
|
22629
22730
|
* Groups service.
|
|
22630
22731
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
22631
|
-
* @version
|
|
22732
|
+
* @version 168.1.0
|
|
22632
22733
|
*/
|
|
22633
22734
|
|
|
22634
22735
|
/**
|
|
@@ -23034,7 +23135,7 @@ class IdentityProviderApi {
|
|
|
23034
23135
|
/**
|
|
23035
23136
|
* IdentityProvider service.
|
|
23036
23137
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
23037
|
-
* @version
|
|
23138
|
+
* @version 168.1.0
|
|
23038
23139
|
*/
|
|
23039
23140
|
|
|
23040
23141
|
/**
|
|
@@ -23790,7 +23891,7 @@ class InfrastructureAsCodeApi {
|
|
|
23790
23891
|
/**
|
|
23791
23892
|
* InfrastructureAsCode service.
|
|
23792
23893
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
23793
|
-
* @version
|
|
23894
|
+
* @version 168.1.0
|
|
23794
23895
|
*/
|
|
23795
23896
|
|
|
23796
23897
|
/**
|
|
@@ -23805,6 +23906,68 @@ class InfrastructureAsCodeApi {
|
|
|
23805
23906
|
}
|
|
23806
23907
|
|
|
23807
23908
|
|
|
23909
|
+
/**
|
|
23910
|
+
* Get information about an accelerator
|
|
23911
|
+
* Get the complete metadata specification for an accelerator, including requirements and parameters.
|
|
23912
|
+
* @param {String} acceleratorId Accelerator ID
|
|
23913
|
+
* @param {Object} opts Optional parameters
|
|
23914
|
+
* @param {Object} opts.preferredLanguage Preferred Language (default to en-US)
|
|
23915
|
+
*/
|
|
23916
|
+
getInfrastructureascodeAccelerator(acceleratorId, opts) {
|
|
23917
|
+
opts = opts || {};
|
|
23918
|
+
|
|
23919
|
+
// verify the required parameter 'acceleratorId' is set
|
|
23920
|
+
if (acceleratorId === undefined || acceleratorId === null) {
|
|
23921
|
+
throw 'Missing the required parameter "acceleratorId" when calling getInfrastructureascodeAccelerator';
|
|
23922
|
+
}
|
|
23923
|
+
|
|
23924
|
+
return this.apiClient.callApi(
|
|
23925
|
+
'/api/v2/infrastructureascode/accelerators/{acceleratorId}',
|
|
23926
|
+
'GET',
|
|
23927
|
+
{ 'acceleratorId': acceleratorId },
|
|
23928
|
+
{ 'preferredLanguage': opts['preferredLanguage'] },
|
|
23929
|
+
{ },
|
|
23930
|
+
{ },
|
|
23931
|
+
null,
|
|
23932
|
+
['PureCloud OAuth'],
|
|
23933
|
+
['application/json'],
|
|
23934
|
+
['application/json']
|
|
23935
|
+
);
|
|
23936
|
+
}
|
|
23937
|
+
|
|
23938
|
+
/**
|
|
23939
|
+
* Get a list of available accelerators
|
|
23940
|
+
* Search for accelerators that can be run.
|
|
23941
|
+
* @param {Object} opts Optional parameters
|
|
23942
|
+
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
23943
|
+
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
23944
|
+
* @param {String} opts.sortBy variable name requested to sort by
|
|
23945
|
+
* @param {Object} opts.sortOrder Sort order (default to asc)
|
|
23946
|
+
* @param {String} opts.name Filter by name
|
|
23947
|
+
* @param {String} opts.description Filter by description
|
|
23948
|
+
* @param {Object} opts.origin Filter by origin
|
|
23949
|
+
* @param {Object} opts.type Filter by type
|
|
23950
|
+
* @param {String} opts.classification Filter by classification
|
|
23951
|
+
* @param {String} opts.tags Filter by tags
|
|
23952
|
+
*/
|
|
23953
|
+
getInfrastructureascodeAccelerators(opts) {
|
|
23954
|
+
opts = opts || {};
|
|
23955
|
+
|
|
23956
|
+
|
|
23957
|
+
return this.apiClient.callApi(
|
|
23958
|
+
'/api/v2/infrastructureascode/accelerators',
|
|
23959
|
+
'GET',
|
|
23960
|
+
{ },
|
|
23961
|
+
{ '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'] },
|
|
23962
|
+
{ },
|
|
23963
|
+
{ },
|
|
23964
|
+
null,
|
|
23965
|
+
['PureCloud OAuth'],
|
|
23966
|
+
['application/json'],
|
|
23967
|
+
['application/json']
|
|
23968
|
+
);
|
|
23969
|
+
}
|
|
23970
|
+
|
|
23808
23971
|
/**
|
|
23809
23972
|
* Get job status and results
|
|
23810
23973
|
* Get the execution status of a submitted job, optionally including results and error details.
|
|
@@ -23840,8 +24003,11 @@ class InfrastructureAsCodeApi {
|
|
|
23840
24003
|
* @param {Object} opts Optional parameters
|
|
23841
24004
|
* @param {Number} opts.maxResults Number of jobs to show (default to 1)
|
|
23842
24005
|
* @param {Boolean} opts.includeErrors Include error messages (default to false)
|
|
23843
|
-
* @param {Object} opts.sortBy Sort by (default to
|
|
23844
|
-
* @param {Object} opts.sortOrder Sort order (default to
|
|
24006
|
+
* @param {Object} opts.sortBy Sort by (default to dateSubmitted)
|
|
24007
|
+
* @param {Object} opts.sortOrder Sort order (default to desc)
|
|
24008
|
+
* @param {String} opts.acceleratorId Find only jobs associated with this accelerator
|
|
24009
|
+
* @param {String} opts.submittedBy Find only jobs submitted by this user
|
|
24010
|
+
* @param {Object} opts.status Find only jobs in this state
|
|
23845
24011
|
*/
|
|
23846
24012
|
getInfrastructureascodeJobs(opts) {
|
|
23847
24013
|
opts = opts || {};
|
|
@@ -23851,7 +24017,7 @@ class InfrastructureAsCodeApi {
|
|
|
23851
24017
|
'/api/v2/infrastructureascode/jobs',
|
|
23852
24018
|
'GET',
|
|
23853
24019
|
{ },
|
|
23854
|
-
{ 'maxResults': opts['maxResults'],'includeErrors': opts['includeErrors'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
24020
|
+
{ 'maxResults': opts['maxResults'],'includeErrors': opts['includeErrors'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'acceleratorId': opts['acceleratorId'],'submittedBy': opts['submittedBy'],'status': opts['status'] },
|
|
23855
24021
|
{ },
|
|
23856
24022
|
{ },
|
|
23857
24023
|
null,
|
|
@@ -23892,7 +24058,7 @@ class IntegrationsApi {
|
|
|
23892
24058
|
/**
|
|
23893
24059
|
* Integrations service.
|
|
23894
24060
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
23895
|
-
* @version
|
|
24061
|
+
* @version 168.1.0
|
|
23896
24062
|
*/
|
|
23897
24063
|
|
|
23898
24064
|
/**
|
|
@@ -25492,7 +25658,7 @@ class JourneyApi {
|
|
|
25492
25658
|
/**
|
|
25493
25659
|
* Journey service.
|
|
25494
25660
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
25495
|
-
* @version
|
|
25661
|
+
* @version 168.1.0
|
|
25496
25662
|
*/
|
|
25497
25663
|
|
|
25498
25664
|
/**
|
|
@@ -26372,7 +26538,7 @@ class KnowledgeApi {
|
|
|
26372
26538
|
/**
|
|
26373
26539
|
* Knowledge service.
|
|
26374
26540
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
26375
|
-
* @version
|
|
26541
|
+
* @version 168.1.0
|
|
26376
26542
|
*/
|
|
26377
26543
|
|
|
26378
26544
|
/**
|
|
@@ -28804,7 +28970,7 @@ class LanguageUnderstandingApi {
|
|
|
28804
28970
|
/**
|
|
28805
28971
|
* LanguageUnderstanding service.
|
|
28806
28972
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
28807
|
-
* @version
|
|
28973
|
+
* @version 168.1.0
|
|
28808
28974
|
*/
|
|
28809
28975
|
|
|
28810
28976
|
/**
|
|
@@ -29817,7 +29983,7 @@ class LanguagesApi {
|
|
|
29817
29983
|
/**
|
|
29818
29984
|
* Languages service.
|
|
29819
29985
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
29820
|
-
* @version
|
|
29986
|
+
* @version 168.1.0
|
|
29821
29987
|
*/
|
|
29822
29988
|
|
|
29823
29989
|
/**
|
|
@@ -30035,7 +30201,7 @@ class LearningApi {
|
|
|
30035
30201
|
/**
|
|
30036
30202
|
* Learning service.
|
|
30037
30203
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
30038
|
-
* @version
|
|
30204
|
+
* @version 168.1.0
|
|
30039
30205
|
*/
|
|
30040
30206
|
|
|
30041
30207
|
/**
|
|
@@ -30850,7 +31016,7 @@ class LicenseApi {
|
|
|
30850
31016
|
/**
|
|
30851
31017
|
* License service.
|
|
30852
31018
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
30853
|
-
* @version
|
|
31019
|
+
* @version 168.1.0
|
|
30854
31020
|
*/
|
|
30855
31021
|
|
|
30856
31022
|
/**
|
|
@@ -31088,7 +31254,7 @@ class LocationsApi {
|
|
|
31088
31254
|
/**
|
|
31089
31255
|
* Locations service.
|
|
31090
31256
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
31091
|
-
* @version
|
|
31257
|
+
* @version 168.1.0
|
|
31092
31258
|
*/
|
|
31093
31259
|
|
|
31094
31260
|
/**
|
|
@@ -31324,7 +31490,7 @@ class MessagingApi {
|
|
|
31324
31490
|
/**
|
|
31325
31491
|
* Messaging service.
|
|
31326
31492
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
31327
|
-
* @version
|
|
31493
|
+
* @version 168.1.0
|
|
31328
31494
|
*/
|
|
31329
31495
|
|
|
31330
31496
|
/**
|
|
@@ -31475,7 +31641,7 @@ class MobileDevicesApi {
|
|
|
31475
31641
|
/**
|
|
31476
31642
|
* MobileDevices service.
|
|
31477
31643
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
31478
|
-
* @version
|
|
31644
|
+
* @version 168.1.0
|
|
31479
31645
|
*/
|
|
31480
31646
|
|
|
31481
31647
|
/**
|
|
@@ -31626,7 +31792,7 @@ class NotificationsApi {
|
|
|
31626
31792
|
/**
|
|
31627
31793
|
* Notifications service.
|
|
31628
31794
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
31629
|
-
* @version
|
|
31795
|
+
* @version 168.1.0
|
|
31630
31796
|
*/
|
|
31631
31797
|
|
|
31632
31798
|
/**
|
|
@@ -31859,7 +32025,7 @@ class OAuthApi {
|
|
|
31859
32025
|
/**
|
|
31860
32026
|
* OAuth service.
|
|
31861
32027
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
31862
|
-
* @version
|
|
32028
|
+
* @version 168.1.0
|
|
31863
32029
|
*/
|
|
31864
32030
|
|
|
31865
32031
|
/**
|
|
@@ -32225,7 +32391,7 @@ class ObjectsApi {
|
|
|
32225
32391
|
/**
|
|
32226
32392
|
* Objects service.
|
|
32227
32393
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
32228
|
-
* @version
|
|
32394
|
+
* @version 168.1.0
|
|
32229
32395
|
*/
|
|
32230
32396
|
|
|
32231
32397
|
/**
|
|
@@ -32496,7 +32662,7 @@ class OrganizationApi {
|
|
|
32496
32662
|
/**
|
|
32497
32663
|
* Organization service.
|
|
32498
32664
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
32499
|
-
* @version
|
|
32665
|
+
* @version 168.1.0
|
|
32500
32666
|
*/
|
|
32501
32667
|
|
|
32502
32668
|
/**
|
|
@@ -32899,7 +33065,7 @@ class OrganizationAuthorizationApi {
|
|
|
32899
33065
|
/**
|
|
32900
33066
|
* OrganizationAuthorization service.
|
|
32901
33067
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
32902
|
-
* @version
|
|
33068
|
+
* @version 168.1.0
|
|
32903
33069
|
*/
|
|
32904
33070
|
|
|
32905
33071
|
/**
|
|
@@ -34194,7 +34360,7 @@ class OutboundApi {
|
|
|
34194
34360
|
/**
|
|
34195
34361
|
* Outbound service.
|
|
34196
34362
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
34197
|
-
* @version
|
|
34363
|
+
* @version 168.1.0
|
|
34198
34364
|
*/
|
|
34199
34365
|
|
|
34200
34366
|
/**
|
|
@@ -35958,6 +36124,31 @@ class OutboundApi {
|
|
|
35958
36124
|
);
|
|
35959
36125
|
}
|
|
35960
36126
|
|
|
36127
|
+
/**
|
|
36128
|
+
* Get messaging campaign diagnostics
|
|
36129
|
+
*
|
|
36130
|
+
* @param {String} messagingCampaignId The Messaging Campaign ID
|
|
36131
|
+
*/
|
|
36132
|
+
getOutboundMessagingcampaignDiagnostics(messagingCampaignId) {
|
|
36133
|
+
// verify the required parameter 'messagingCampaignId' is set
|
|
36134
|
+
if (messagingCampaignId === undefined || messagingCampaignId === null) {
|
|
36135
|
+
throw 'Missing the required parameter "messagingCampaignId" when calling getOutboundMessagingcampaignDiagnostics';
|
|
36136
|
+
}
|
|
36137
|
+
|
|
36138
|
+
return this.apiClient.callApi(
|
|
36139
|
+
'/api/v2/outbound/messagingcampaigns/{messagingCampaignId}/diagnostics',
|
|
36140
|
+
'GET',
|
|
36141
|
+
{ 'messagingCampaignId': messagingCampaignId },
|
|
36142
|
+
{ },
|
|
36143
|
+
{ },
|
|
36144
|
+
{ },
|
|
36145
|
+
null,
|
|
36146
|
+
['PureCloud OAuth'],
|
|
36147
|
+
['application/json'],
|
|
36148
|
+
['application/json']
|
|
36149
|
+
);
|
|
36150
|
+
}
|
|
36151
|
+
|
|
35961
36152
|
/**
|
|
35962
36153
|
* Get messaging campaign's progress
|
|
35963
36154
|
*
|
|
@@ -37790,7 +37981,7 @@ class PresenceApi {
|
|
|
37790
37981
|
/**
|
|
37791
37982
|
* Presence service.
|
|
37792
37983
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
37793
|
-
* @version
|
|
37984
|
+
* @version 168.1.0
|
|
37794
37985
|
*/
|
|
37795
37986
|
|
|
37796
37987
|
/**
|
|
@@ -38341,7 +38532,7 @@ class ProcessAutomationApi {
|
|
|
38341
38532
|
/**
|
|
38342
38533
|
* ProcessAutomation service.
|
|
38343
38534
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
38344
|
-
* @version
|
|
38535
|
+
* @version 168.1.0
|
|
38345
38536
|
*/
|
|
38346
38537
|
|
|
38347
38538
|
/**
|
|
@@ -38580,7 +38771,7 @@ class QualityApi {
|
|
|
38580
38771
|
/**
|
|
38581
38772
|
* Quality service.
|
|
38582
38773
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
38583
|
-
* @version
|
|
38774
|
+
* @version 168.1.0
|
|
38584
38775
|
*/
|
|
38585
38776
|
|
|
38586
38777
|
/**
|
|
@@ -40001,7 +40192,7 @@ class QualityApi {
|
|
|
40001
40192
|
* @param {String} evaluationId evaluationId
|
|
40002
40193
|
* @param {Object} body evaluation
|
|
40003
40194
|
* @param {Object} opts Optional parameters
|
|
40004
|
-
* @param {String} opts.expand evaluatorId, evaluationForm
|
|
40195
|
+
* @param {String} opts.expand evaluatorId, evaluationForm, assignee
|
|
40005
40196
|
*/
|
|
40006
40197
|
putQualityConversationEvaluation(conversationId, evaluationId, body, opts) {
|
|
40007
40198
|
opts = opts || {};
|
|
@@ -40159,7 +40350,7 @@ class RecordingApi {
|
|
|
40159
40350
|
/**
|
|
40160
40351
|
* Recording service.
|
|
40161
40352
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
40162
|
-
* @version
|
|
40353
|
+
* @version 168.1.0
|
|
40163
40354
|
*/
|
|
40164
40355
|
|
|
40165
40356
|
/**
|
|
@@ -40466,7 +40657,7 @@ class RecordingApi {
|
|
|
40466
40657
|
}
|
|
40467
40658
|
|
|
40468
40659
|
/**
|
|
40469
|
-
* 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.
|
|
40660
|
+
* 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.
|
|
40470
40661
|
*
|
|
40471
40662
|
* @param {String} conversationId Conversation ID
|
|
40472
40663
|
*/
|
|
@@ -41796,7 +41987,7 @@ class ResponseManagementApi {
|
|
|
41796
41987
|
/**
|
|
41797
41988
|
* ResponseManagement service.
|
|
41798
41989
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
41799
|
-
* @version
|
|
41990
|
+
* @version 168.1.0
|
|
41800
41991
|
*/
|
|
41801
41992
|
|
|
41802
41993
|
/**
|
|
@@ -41893,6 +42084,7 @@ class ResponseManagementApi {
|
|
|
41893
42084
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
41894
42085
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
41895
42086
|
* @param {Object} opts.messagingTemplateFilter Returns a list of libraries that contain responses with at least one messaging template defined for a specific message channel
|
|
42087
|
+
* @param {String} opts.libraryPrefix Returns a list of libraries that contain the prefix provided
|
|
41896
42088
|
*/
|
|
41897
42089
|
getResponsemanagementLibraries(opts) {
|
|
41898
42090
|
opts = opts || {};
|
|
@@ -41902,7 +42094,7 @@ class ResponseManagementApi {
|
|
|
41902
42094
|
'/api/v2/responsemanagement/libraries',
|
|
41903
42095
|
'GET',
|
|
41904
42096
|
{ },
|
|
41905
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'messagingTemplateFilter': opts['messagingTemplateFilter'] },
|
|
42097
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'messagingTemplateFilter': opts['messagingTemplateFilter'],'libraryPrefix': opts['libraryPrefix'] },
|
|
41906
42098
|
{ },
|
|
41907
42099
|
{ },
|
|
41908
42100
|
null,
|
|
@@ -42280,7 +42472,7 @@ class RoutingApi {
|
|
|
42280
42472
|
/**
|
|
42281
42473
|
* Routing service.
|
|
42282
42474
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
42283
|
-
* @version
|
|
42475
|
+
* @version 168.1.0
|
|
42284
42476
|
*/
|
|
42285
42477
|
|
|
42286
42478
|
/**
|
|
@@ -45789,7 +45981,7 @@ class SCIMApi {
|
|
|
45789
45981
|
/**
|
|
45790
45982
|
* SCIM service.
|
|
45791
45983
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
45792
|
-
* @version
|
|
45984
|
+
* @version 168.1.0
|
|
45793
45985
|
*/
|
|
45794
45986
|
|
|
45795
45987
|
/**
|
|
@@ -46666,7 +46858,7 @@ class ScriptsApi {
|
|
|
46666
46858
|
/**
|
|
46667
46859
|
* Scripts service.
|
|
46668
46860
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
46669
|
-
* @version
|
|
46861
|
+
* @version 168.1.0
|
|
46670
46862
|
*/
|
|
46671
46863
|
|
|
46672
46864
|
/**
|
|
@@ -47085,7 +47277,7 @@ class SearchApi {
|
|
|
47085
47277
|
/**
|
|
47086
47278
|
* Search service.
|
|
47087
47279
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
47088
|
-
* @version
|
|
47280
|
+
* @version 168.1.0
|
|
47089
47281
|
*/
|
|
47090
47282
|
|
|
47091
47283
|
/**
|
|
@@ -47695,7 +47887,7 @@ class SpeechTextAnalyticsApi {
|
|
|
47695
47887
|
/**
|
|
47696
47888
|
* SpeechTextAnalytics service.
|
|
47697
47889
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
47698
|
-
* @version
|
|
47890
|
+
* @version 168.1.0
|
|
47699
47891
|
*/
|
|
47700
47892
|
|
|
47701
47893
|
/**
|
|
@@ -48624,7 +48816,7 @@ class StationsApi {
|
|
|
48624
48816
|
/**
|
|
48625
48817
|
* Stations service.
|
|
48626
48818
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
48627
|
-
* @version
|
|
48819
|
+
* @version 168.1.0
|
|
48628
48820
|
*/
|
|
48629
48821
|
|
|
48630
48822
|
/**
|
|
@@ -48720,58 +48912,13 @@ class StationsApi {
|
|
|
48720
48912
|
);
|
|
48721
48913
|
}
|
|
48722
48914
|
|
|
48723
|
-
/**
|
|
48724
|
-
* Get an organization's StationSettings
|
|
48725
|
-
* This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
|
|
48726
|
-
*/
|
|
48727
|
-
getStationsSettings() {
|
|
48728
|
-
|
|
48729
|
-
return this.apiClient.callApi(
|
|
48730
|
-
'/api/v2/stations/settings',
|
|
48731
|
-
'GET',
|
|
48732
|
-
{ },
|
|
48733
|
-
{ },
|
|
48734
|
-
{ },
|
|
48735
|
-
{ },
|
|
48736
|
-
null,
|
|
48737
|
-
['PureCloud OAuth'],
|
|
48738
|
-
['application/json'],
|
|
48739
|
-
['application/json']
|
|
48740
|
-
);
|
|
48741
|
-
}
|
|
48742
|
-
|
|
48743
|
-
/**
|
|
48744
|
-
* Patch an organization's StationSettings
|
|
48745
|
-
* This route is deprecated as the FreeSeatingConfiguration feature it references has been removed
|
|
48746
|
-
* @param {Object} body Station settings
|
|
48747
|
-
*/
|
|
48748
|
-
patchStationsSettings(body) {
|
|
48749
|
-
// verify the required parameter 'body' is set
|
|
48750
|
-
if (body === undefined || body === null) {
|
|
48751
|
-
throw 'Missing the required parameter "body" when calling patchStationsSettings';
|
|
48752
|
-
}
|
|
48753
|
-
|
|
48754
|
-
return this.apiClient.callApi(
|
|
48755
|
-
'/api/v2/stations/settings',
|
|
48756
|
-
'PATCH',
|
|
48757
|
-
{ },
|
|
48758
|
-
{ },
|
|
48759
|
-
{ },
|
|
48760
|
-
{ },
|
|
48761
|
-
body,
|
|
48762
|
-
['PureCloud OAuth'],
|
|
48763
|
-
['application/json'],
|
|
48764
|
-
['application/json']
|
|
48765
|
-
);
|
|
48766
|
-
}
|
|
48767
|
-
|
|
48768
48915
|
}
|
|
48769
48916
|
|
|
48770
48917
|
class SuggestApi {
|
|
48771
48918
|
/**
|
|
48772
48919
|
* Suggest service.
|
|
48773
48920
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
48774
|
-
* @version
|
|
48921
|
+
* @version 168.1.0
|
|
48775
48922
|
*/
|
|
48776
48923
|
|
|
48777
48924
|
/**
|
|
@@ -48910,7 +49057,7 @@ class TeamsApi {
|
|
|
48910
49057
|
/**
|
|
48911
49058
|
* Teams service.
|
|
48912
49059
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
48913
|
-
* @version
|
|
49060
|
+
* @version 168.1.0
|
|
48914
49061
|
*/
|
|
48915
49062
|
|
|
48916
49063
|
/**
|
|
@@ -49181,7 +49328,7 @@ class TelephonyApi {
|
|
|
49181
49328
|
/**
|
|
49182
49329
|
* Telephony service.
|
|
49183
49330
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
49184
|
-
* @version
|
|
49331
|
+
* @version 168.1.0
|
|
49185
49332
|
*/
|
|
49186
49333
|
|
|
49187
49334
|
/**
|
|
@@ -49309,7 +49456,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
49309
49456
|
/**
|
|
49310
49457
|
* TelephonyProvidersEdge service.
|
|
49311
49458
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
49312
|
-
* @version
|
|
49459
|
+
* @version 168.1.0
|
|
49313
49460
|
*/
|
|
49314
49461
|
|
|
49315
49462
|
/**
|
|
@@ -52509,7 +52656,7 @@ class TextbotsApi {
|
|
|
52509
52656
|
/**
|
|
52510
52657
|
* Textbots service.
|
|
52511
52658
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
52512
|
-
* @version
|
|
52659
|
+
* @version 168.1.0
|
|
52513
52660
|
*/
|
|
52514
52661
|
|
|
52515
52662
|
/**
|
|
@@ -52637,7 +52784,7 @@ class TokensApi {
|
|
|
52637
52784
|
/**
|
|
52638
52785
|
* Tokens service.
|
|
52639
52786
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
52640
|
-
* @version
|
|
52787
|
+
* @version 168.1.0
|
|
52641
52788
|
*/
|
|
52642
52789
|
|
|
52643
52790
|
/**
|
|
@@ -52743,7 +52890,7 @@ class UploadsApi {
|
|
|
52743
52890
|
/**
|
|
52744
52891
|
* Uploads service.
|
|
52745
52892
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
52746
|
-
* @version
|
|
52893
|
+
* @version 168.1.0
|
|
52747
52894
|
*/
|
|
52748
52895
|
|
|
52749
52896
|
/**
|
|
@@ -52919,7 +53066,7 @@ class UsageApi {
|
|
|
52919
53066
|
/**
|
|
52920
53067
|
* Usage service.
|
|
52921
53068
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
52922
|
-
* @version
|
|
53069
|
+
* @version 168.1.0
|
|
52923
53070
|
*/
|
|
52924
53071
|
|
|
52925
53072
|
/**
|
|
@@ -53079,7 +53226,7 @@ class UserRecordingsApi {
|
|
|
53079
53226
|
/**
|
|
53080
53227
|
* UserRecordings service.
|
|
53081
53228
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
53082
|
-
* @version
|
|
53229
|
+
* @version 168.1.0
|
|
53083
53230
|
*/
|
|
53084
53231
|
|
|
53085
53232
|
/**
|
|
@@ -53264,7 +53411,7 @@ class UsersApi {
|
|
|
53264
53411
|
/**
|
|
53265
53412
|
* Users service.
|
|
53266
53413
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
53267
|
-
* @version
|
|
53414
|
+
* @version 168.1.0
|
|
53268
53415
|
*/
|
|
53269
53416
|
|
|
53270
53417
|
/**
|
|
@@ -55654,7 +55801,7 @@ class UtilitiesApi {
|
|
|
55654
55801
|
/**
|
|
55655
55802
|
* Utilities service.
|
|
55656
55803
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
55657
|
-
* @version
|
|
55804
|
+
* @version 168.1.0
|
|
55658
55805
|
*/
|
|
55659
55806
|
|
|
55660
55807
|
/**
|
|
@@ -55765,7 +55912,7 @@ class VoicemailApi {
|
|
|
55765
55912
|
/**
|
|
55766
55913
|
* Voicemail service.
|
|
55767
55914
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
55768
|
-
* @version
|
|
55915
|
+
* @version 168.1.0
|
|
55769
55916
|
*/
|
|
55770
55917
|
|
|
55771
55918
|
/**
|
|
@@ -56432,7 +56579,7 @@ class WebChatApi {
|
|
|
56432
56579
|
/**
|
|
56433
56580
|
* WebChat service.
|
|
56434
56581
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
56435
|
-
* @version
|
|
56582
|
+
* @version 168.1.0
|
|
56436
56583
|
*/
|
|
56437
56584
|
|
|
56438
56585
|
/**
|
|
@@ -56976,7 +57123,7 @@ class WebDeploymentsApi {
|
|
|
56976
57123
|
/**
|
|
56977
57124
|
* WebDeployments service.
|
|
56978
57125
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
56979
|
-
* @version
|
|
57126
|
+
* @version 168.1.0
|
|
56980
57127
|
*/
|
|
56981
57128
|
|
|
56982
57129
|
/**
|
|
@@ -57498,7 +57645,7 @@ class WebMessagingApi {
|
|
|
57498
57645
|
/**
|
|
57499
57646
|
* WebMessaging service.
|
|
57500
57647
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
57501
|
-
* @version
|
|
57648
|
+
* @version 168.1.0
|
|
57502
57649
|
*/
|
|
57503
57650
|
|
|
57504
57651
|
/**
|
|
@@ -57544,7 +57691,7 @@ class WidgetsApi {
|
|
|
57544
57691
|
/**
|
|
57545
57692
|
* Widgets service.
|
|
57546
57693
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
57547
|
-
* @version
|
|
57694
|
+
* @version 168.1.0
|
|
57548
57695
|
*/
|
|
57549
57696
|
|
|
57550
57697
|
/**
|
|
@@ -57690,7 +57837,7 @@ class WorkforceManagementApi {
|
|
|
57690
57837
|
/**
|
|
57691
57838
|
* WorkforceManagement service.
|
|
57692
57839
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
57693
|
-
* @version
|
|
57840
|
+
* @version 168.1.0
|
|
57694
57841
|
*/
|
|
57695
57842
|
|
|
57696
57843
|
/**
|
|
@@ -58315,7 +58462,7 @@ class WorkforceManagementApi {
|
|
|
58315
58462
|
* Expanding "settings" will retrieve all settings. All other expands will retrieve only the requested settings field(s).
|
|
58316
58463
|
* @param {String} businessUnitId The ID of the business unit, or 'mine' for the business unit of the logged-in user.
|
|
58317
58464
|
* @param {Object} opts Optional parameters
|
|
58318
|
-
* @param {Array.<String>} opts.expand
|
|
58465
|
+
* @param {Array.<String>} opts.expand Include to access additional data on the business unit
|
|
58319
58466
|
*/
|
|
58320
58467
|
getWorkforcemanagementBusinessunit(businessUnitId, opts) {
|
|
58321
58468
|
opts = opts || {};
|
|
@@ -58854,7 +59001,7 @@ class WorkforceManagementApi {
|
|
|
58854
59001
|
* @param {String} weekDateId The week start date of the forecast in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
58855
59002
|
* @param {String} forecastId The ID of the forecast
|
|
58856
59003
|
* @param {Object} opts Optional parameters
|
|
58857
|
-
* @param {Array.<String>} opts.expand
|
|
59004
|
+
* @param {Array.<String>} opts.expand Include to access additional data on the forecast
|
|
58858
59005
|
*/
|
|
58859
59006
|
getWorkforcemanagementBusinessunitWeekShorttermforecast(businessUnitId, weekDateId, forecastId, opts) {
|
|
58860
59007
|
opts = opts || {};
|
|
@@ -59843,7 +59990,7 @@ class WorkforceManagementApi {
|
|
|
59843
59990
|
* "expand=details" is deprecated
|
|
59844
59991
|
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
59845
59992
|
* @param {Object} opts Optional parameters
|
|
59846
|
-
* @param {Array.<String>} opts.expand
|
|
59993
|
+
* @param {Array.<String>} opts.expand Include to access additional data on the work plans
|
|
59847
59994
|
*/
|
|
59848
59995
|
getWorkforcemanagementManagementunitWorkplans(managementUnitId, opts) {
|
|
59849
59996
|
opts = opts || {};
|
|
@@ -61351,7 +61498,7 @@ class WorkforceManagementApi {
|
|
|
61351
61498
|
*
|
|
61352
61499
|
* @param {String} businessUnitId The ID of the business unit to which the forecast belongs
|
|
61353
61500
|
* @param {String} weekDateId The week start date of the forecast in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
61354
|
-
* @param {Object} body
|
|
61501
|
+
* @param {Object} body body
|
|
61355
61502
|
* @param {Object} opts Optional parameters
|
|
61356
61503
|
* @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
|
|
61357
61504
|
*/
|
|
@@ -61390,7 +61537,7 @@ class WorkforceManagementApi {
|
|
|
61390
61537
|
* Call after uploading the forecast data to the url supplied by the /import/uploadurl route
|
|
61391
61538
|
* @param {String} businessUnitId The ID of the business unit to which the forecast belongs
|
|
61392
61539
|
* @param {String} weekDateId First day of schedule week in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
61393
|
-
* @param {Object} body
|
|
61540
|
+
* @param {Object} body body
|
|
61394
61541
|
*/
|
|
61395
61542
|
postWorkforcemanagementBusinessunitWeekShorttermforecastsImport(businessUnitId, weekDateId, body) {
|
|
61396
61543
|
// verify the required parameter 'businessUnitId' is set
|
|
@@ -62321,6 +62468,64 @@ class WorkforceManagementApi {
|
|
|
62321
62468
|
);
|
|
62322
62469
|
}
|
|
62323
62470
|
|
|
62471
|
+
/**
|
|
62472
|
+
* Request a teams historical adherence report
|
|
62473
|
+
* The maximum supported range for historical adherence queries is 31 days, or 7 days with includeExceptions = true
|
|
62474
|
+
* @param {String} teamId The ID of the team
|
|
62475
|
+
* @param {Object} opts Optional parameters
|
|
62476
|
+
* @param {Object} opts.body body
|
|
62477
|
+
*/
|
|
62478
|
+
postWorkforcemanagementTeamAdherenceHistorical(teamId, opts) {
|
|
62479
|
+
opts = opts || {};
|
|
62480
|
+
|
|
62481
|
+
// verify the required parameter 'teamId' is set
|
|
62482
|
+
if (teamId === undefined || teamId === null) {
|
|
62483
|
+
throw 'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamAdherenceHistorical';
|
|
62484
|
+
}
|
|
62485
|
+
|
|
62486
|
+
return this.apiClient.callApi(
|
|
62487
|
+
'/api/v2/workforcemanagement/teams/{teamId}/adherence/historical',
|
|
62488
|
+
'POST',
|
|
62489
|
+
{ 'teamId': teamId },
|
|
62490
|
+
{ },
|
|
62491
|
+
{ },
|
|
62492
|
+
{ },
|
|
62493
|
+
opts['body'],
|
|
62494
|
+
['PureCloud OAuth'],
|
|
62495
|
+
['application/json'],
|
|
62496
|
+
['application/json']
|
|
62497
|
+
);
|
|
62498
|
+
}
|
|
62499
|
+
|
|
62500
|
+
/**
|
|
62501
|
+
* Request a historical shrinkage report
|
|
62502
|
+
* The maximum supported range for historical shrinkage queries is up to 32 days
|
|
62503
|
+
* @param {String} teamId The ID of the team
|
|
62504
|
+
* @param {Object} opts Optional parameters
|
|
62505
|
+
* @param {Object} opts.body body
|
|
62506
|
+
*/
|
|
62507
|
+
postWorkforcemanagementTeamShrinkageJobs(teamId, opts) {
|
|
62508
|
+
opts = opts || {};
|
|
62509
|
+
|
|
62510
|
+
// verify the required parameter 'teamId' is set
|
|
62511
|
+
if (teamId === undefined || teamId === null) {
|
|
62512
|
+
throw 'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamShrinkageJobs';
|
|
62513
|
+
}
|
|
62514
|
+
|
|
62515
|
+
return this.apiClient.callApi(
|
|
62516
|
+
'/api/v2/workforcemanagement/teams/{teamId}/shrinkage/jobs',
|
|
62517
|
+
'POST',
|
|
62518
|
+
{ 'teamId': teamId },
|
|
62519
|
+
{ },
|
|
62520
|
+
{ },
|
|
62521
|
+
{ },
|
|
62522
|
+
opts['body'],
|
|
62523
|
+
['PureCloud OAuth'],
|
|
62524
|
+
['application/json'],
|
|
62525
|
+
['application/json']
|
|
62526
|
+
);
|
|
62527
|
+
}
|
|
62528
|
+
|
|
62324
62529
|
/**
|
|
62325
62530
|
* Queries available time off for the current user
|
|
62326
62531
|
*
|
|
@@ -62434,7 +62639,7 @@ class WorkforceManagementApi {
|
|
|
62434
62639
|
* </pre>
|
|
62435
62640
|
* </p>
|
|
62436
62641
|
* @module purecloud-platform-client-v2/index
|
|
62437
|
-
* @version
|
|
62642
|
+
* @version 168.1.0
|
|
62438
62643
|
*/
|
|
62439
62644
|
class platformClient {
|
|
62440
62645
|
constructor() {
|
|
@@ -62478,6 +62683,11 @@ class platformClient {
|
|
|
62478
62683
|
* @property {module:purecloud-platform-client-v2/api/BillingApi}
|
|
62479
62684
|
*/
|
|
62480
62685
|
this.BillingApi = BillingApi;
|
|
62686
|
+
/**
|
|
62687
|
+
* The CarrierServicesApi service constructor.
|
|
62688
|
+
* @property {module:purecloud-platform-client-v2/api/CarrierServicesApi}
|
|
62689
|
+
*/
|
|
62690
|
+
this.CarrierServicesApi = CarrierServicesApi;
|
|
62481
62691
|
/**
|
|
62482
62692
|
* The ChatApi service constructor.
|
|
62483
62693
|
* @property {module:purecloud-platform-client-v2/api/ChatApi}
|