purecloud-platform-client-v2 133.0.1 → 134.0.1
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 +532 -95
- package/dist/web-amd/purecloud-platform-client-v2.js +532 -95
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +532 -95
- package/dist/web-cjs/purecloud-platform-client-v2.js +544 -99
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +662 -11
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +76 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -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/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 +14 -6
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +160 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 -26
- 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 +221 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5382,19 +5382,27 @@ request.getXHR = function () {
|
|
|
5382
5382
|
|
|
5383
5383
|
try {
|
|
5384
5384
|
return new ActiveXObject('Microsoft.XMLHTTP');
|
|
5385
|
-
} catch (_unused) {
|
|
5385
|
+
} catch (_unused) {
|
|
5386
|
+
/**/
|
|
5387
|
+
}
|
|
5386
5388
|
|
|
5387
5389
|
try {
|
|
5388
5390
|
return new ActiveXObject('Msxml2.XMLHTTP.6.0');
|
|
5389
|
-
} catch (_unused2) {
|
|
5391
|
+
} catch (_unused2) {
|
|
5392
|
+
/**/
|
|
5393
|
+
}
|
|
5390
5394
|
|
|
5391
5395
|
try {
|
|
5392
5396
|
return new ActiveXObject('Msxml2.XMLHTTP.3.0');
|
|
5393
|
-
} catch (_unused3) {
|
|
5397
|
+
} catch (_unused3) {
|
|
5398
|
+
/**/
|
|
5399
|
+
}
|
|
5394
5400
|
|
|
5395
5401
|
try {
|
|
5396
5402
|
return new ActiveXObject('Msxml2.XMLHTTP');
|
|
5397
|
-
} catch (_unused4) {
|
|
5403
|
+
} catch (_unused4) {
|
|
5404
|
+
/**/
|
|
5405
|
+
}
|
|
5398
5406
|
|
|
5399
5407
|
throw new Error('Browser-only version of superagent could not find XHR');
|
|
5400
5408
|
};
|
|
@@ -9667,7 +9675,7 @@ class Configuration {
|
|
|
9667
9675
|
|
|
9668
9676
|
/**
|
|
9669
9677
|
* @module purecloud-platform-client-v2/ApiClient
|
|
9670
|
-
* @version
|
|
9678
|
+
* @version 134.0.1
|
|
9671
9679
|
*/
|
|
9672
9680
|
class ApiClient {
|
|
9673
9681
|
/**
|
|
@@ -10607,7 +10615,7 @@ class ApiClient {
|
|
|
10607
10615
|
|
|
10608
10616
|
// set header parameters
|
|
10609
10617
|
request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
|
|
10610
|
-
//request.set({ 'purecloud-sdk': '
|
|
10618
|
+
//request.set({ 'purecloud-sdk': '134.0.1' });
|
|
10611
10619
|
|
|
10612
10620
|
// set request timeout
|
|
10613
10621
|
request.timeout(that.timeout);
|
|
@@ -10707,7 +10715,7 @@ class AlertingApi {
|
|
|
10707
10715
|
/**
|
|
10708
10716
|
* Alerting service.
|
|
10709
10717
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
10710
|
-
* @version
|
|
10718
|
+
* @version 134.0.1
|
|
10711
10719
|
*/
|
|
10712
10720
|
|
|
10713
10721
|
/**
|
|
@@ -11021,7 +11029,7 @@ class AnalyticsApi {
|
|
|
11021
11029
|
/**
|
|
11022
11030
|
* Analytics service.
|
|
11023
11031
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
11024
|
-
* @version
|
|
11032
|
+
* @version 134.0.1
|
|
11025
11033
|
*/
|
|
11026
11034
|
|
|
11027
11035
|
/**
|
|
@@ -12203,7 +12211,7 @@ class ArchitectApi {
|
|
|
12203
12211
|
/**
|
|
12204
12212
|
* Architect service.
|
|
12205
12213
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
12206
|
-
* @version
|
|
12214
|
+
* @version 134.0.1
|
|
12207
12215
|
*/
|
|
12208
12216
|
|
|
12209
12217
|
/**
|
|
@@ -15199,7 +15207,7 @@ class AuditApi {
|
|
|
15199
15207
|
/**
|
|
15200
15208
|
* Audit service.
|
|
15201
15209
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
15202
|
-
* @version
|
|
15210
|
+
* @version 134.0.1
|
|
15203
15211
|
*/
|
|
15204
15212
|
|
|
15205
15213
|
/**
|
|
@@ -15370,7 +15378,7 @@ class AuthorizationApi {
|
|
|
15370
15378
|
/**
|
|
15371
15379
|
* Authorization service.
|
|
15372
15380
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
15373
|
-
* @version
|
|
15381
|
+
* @version 134.0.1
|
|
15374
15382
|
*/
|
|
15375
15383
|
|
|
15376
15384
|
/**
|
|
@@ -16553,7 +16561,7 @@ class BillingApi {
|
|
|
16553
16561
|
/**
|
|
16554
16562
|
* Billing service.
|
|
16555
16563
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
16556
|
-
* @version
|
|
16564
|
+
* @version 134.0.1
|
|
16557
16565
|
*/
|
|
16558
16566
|
|
|
16559
16567
|
/**
|
|
@@ -16633,7 +16641,7 @@ class ChatApi {
|
|
|
16633
16641
|
/**
|
|
16634
16642
|
* Chat service.
|
|
16635
16643
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
16636
|
-
* @version
|
|
16644
|
+
* @version 134.0.1
|
|
16637
16645
|
*/
|
|
16638
16646
|
|
|
16639
16647
|
/**
|
|
@@ -16724,7 +16732,7 @@ class CoachingApi {
|
|
|
16724
16732
|
/**
|
|
16725
16733
|
* Coaching service.
|
|
16726
16734
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
16727
|
-
* @version
|
|
16735
|
+
* @version 134.0.1
|
|
16728
16736
|
*/
|
|
16729
16737
|
|
|
16730
16738
|
/**
|
|
@@ -17301,7 +17309,7 @@ class ContentManagementApi {
|
|
|
17301
17309
|
/**
|
|
17302
17310
|
* ContentManagement service.
|
|
17303
17311
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
17304
|
-
* @version
|
|
17312
|
+
* @version 134.0.1
|
|
17305
17313
|
*/
|
|
17306
17314
|
|
|
17307
17315
|
/**
|
|
@@ -18441,7 +18449,7 @@ class ConversationsApi {
|
|
|
18441
18449
|
/**
|
|
18442
18450
|
* Conversations service.
|
|
18443
18451
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
18444
|
-
* @version
|
|
18452
|
+
* @version 134.0.1
|
|
18445
18453
|
*/
|
|
18446
18454
|
|
|
18447
18455
|
/**
|
|
@@ -20848,6 +20856,31 @@ class ConversationsApi {
|
|
|
20848
20856
|
);
|
|
20849
20857
|
}
|
|
20850
20858
|
|
|
20859
|
+
/**
|
|
20860
|
+
* Update a scheduled callback
|
|
20861
|
+
*
|
|
20862
|
+
* @param {Object} body PatchCallbackRequest
|
|
20863
|
+
*/
|
|
20864
|
+
patchConversationsCallbacks(body) {
|
|
20865
|
+
// verify the required parameter 'body' is set
|
|
20866
|
+
if (body === undefined || body === null) {
|
|
20867
|
+
throw 'Missing the required parameter "body" when calling patchConversationsCallbacks';
|
|
20868
|
+
}
|
|
20869
|
+
|
|
20870
|
+
return this.apiClient.callApi(
|
|
20871
|
+
'/api/v2/conversations/callbacks',
|
|
20872
|
+
'PATCH',
|
|
20873
|
+
{ },
|
|
20874
|
+
{ },
|
|
20875
|
+
{ },
|
|
20876
|
+
{ },
|
|
20877
|
+
body,
|
|
20878
|
+
['PureCloud OAuth'],
|
|
20879
|
+
['application/json'],
|
|
20880
|
+
['application/json']
|
|
20881
|
+
);
|
|
20882
|
+
}
|
|
20883
|
+
|
|
20851
20884
|
/**
|
|
20852
20885
|
* Update a conversation by disconnecting all of the participants
|
|
20853
20886
|
*
|
|
@@ -22101,6 +22134,56 @@ class ConversationsApi {
|
|
|
22101
22134
|
);
|
|
22102
22135
|
}
|
|
22103
22136
|
|
|
22137
|
+
/**
|
|
22138
|
+
* Disconnect multiple scheduled callbacks
|
|
22139
|
+
*
|
|
22140
|
+
* @param {Object} body BulkCallbackDisconnectRequest
|
|
22141
|
+
*/
|
|
22142
|
+
postConversationsCallbacksBulkDisconnect(body) {
|
|
22143
|
+
// verify the required parameter 'body' is set
|
|
22144
|
+
if (body === undefined || body === null) {
|
|
22145
|
+
throw 'Missing the required parameter "body" when calling postConversationsCallbacksBulkDisconnect';
|
|
22146
|
+
}
|
|
22147
|
+
|
|
22148
|
+
return this.apiClient.callApi(
|
|
22149
|
+
'/api/v2/conversations/callbacks/bulk/disconnect',
|
|
22150
|
+
'POST',
|
|
22151
|
+
{ },
|
|
22152
|
+
{ },
|
|
22153
|
+
{ },
|
|
22154
|
+
{ },
|
|
22155
|
+
body,
|
|
22156
|
+
['PureCloud OAuth'],
|
|
22157
|
+
['application/json'],
|
|
22158
|
+
['application/json']
|
|
22159
|
+
);
|
|
22160
|
+
}
|
|
22161
|
+
|
|
22162
|
+
/**
|
|
22163
|
+
* Update multiple scheduled callbacks
|
|
22164
|
+
*
|
|
22165
|
+
* @param {Object} body BulkCallbackPatchRequest
|
|
22166
|
+
*/
|
|
22167
|
+
postConversationsCallbacksBulkUpdate(body) {
|
|
22168
|
+
// verify the required parameter 'body' is set
|
|
22169
|
+
if (body === undefined || body === null) {
|
|
22170
|
+
throw 'Missing the required parameter "body" when calling postConversationsCallbacksBulkUpdate';
|
|
22171
|
+
}
|
|
22172
|
+
|
|
22173
|
+
return this.apiClient.callApi(
|
|
22174
|
+
'/api/v2/conversations/callbacks/bulk/update',
|
|
22175
|
+
'POST',
|
|
22176
|
+
{ },
|
|
22177
|
+
{ },
|
|
22178
|
+
{ },
|
|
22179
|
+
{ },
|
|
22180
|
+
body,
|
|
22181
|
+
['PureCloud OAuth'],
|
|
22182
|
+
['application/json'],
|
|
22183
|
+
['application/json']
|
|
22184
|
+
);
|
|
22185
|
+
}
|
|
22186
|
+
|
|
22104
22187
|
/**
|
|
22105
22188
|
* Create a call conversation
|
|
22106
22189
|
*
|
|
@@ -23030,7 +23113,7 @@ class DataExtensionsApi {
|
|
|
23030
23113
|
/**
|
|
23031
23114
|
* DataExtensions service.
|
|
23032
23115
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
23033
|
-
* @version
|
|
23116
|
+
* @version 134.0.1
|
|
23034
23117
|
*/
|
|
23035
23118
|
|
|
23036
23119
|
/**
|
|
@@ -23116,7 +23199,7 @@ class ExternalContactsApi {
|
|
|
23116
23199
|
/**
|
|
23117
23200
|
* ExternalContacts service.
|
|
23118
23201
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
23119
|
-
* @version
|
|
23202
|
+
* @version 134.0.1
|
|
23120
23203
|
*/
|
|
23121
23204
|
|
|
23122
23205
|
/**
|
|
@@ -24859,7 +24942,7 @@ class FaxApi {
|
|
|
24859
24942
|
/**
|
|
24860
24943
|
* Fax service.
|
|
24861
24944
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
24862
|
-
* @version
|
|
24945
|
+
* @version 134.0.1
|
|
24863
24946
|
*/
|
|
24864
24947
|
|
|
24865
24948
|
/**
|
|
@@ -25030,7 +25113,7 @@ class FlowsApi {
|
|
|
25030
25113
|
/**
|
|
25031
25114
|
* Flows service.
|
|
25032
25115
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
25033
|
-
* @version
|
|
25116
|
+
* @version 134.0.1
|
|
25034
25117
|
*/
|
|
25035
25118
|
|
|
25036
25119
|
/**
|
|
@@ -25101,7 +25184,7 @@ class GamificationApi {
|
|
|
25101
25184
|
/**
|
|
25102
25185
|
* Gamification service.
|
|
25103
25186
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
25104
|
-
* @version
|
|
25187
|
+
* @version 134.0.1
|
|
25105
25188
|
*/
|
|
25106
25189
|
|
|
25107
25190
|
/**
|
|
@@ -26531,7 +26614,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
26531
26614
|
/**
|
|
26532
26615
|
* GeneralDataProtectionRegulation service.
|
|
26533
26616
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
26534
|
-
* @version
|
|
26617
|
+
* @version 134.0.1
|
|
26535
26618
|
*/
|
|
26536
26619
|
|
|
26537
26620
|
/**
|
|
@@ -26661,7 +26744,7 @@ class GeolocationApi {
|
|
|
26661
26744
|
/**
|
|
26662
26745
|
* Geolocation service.
|
|
26663
26746
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
26664
|
-
* @version
|
|
26747
|
+
* @version 134.0.1
|
|
26665
26748
|
*/
|
|
26666
26749
|
|
|
26667
26750
|
/**
|
|
@@ -26792,7 +26875,7 @@ class GreetingsApi {
|
|
|
26792
26875
|
/**
|
|
26793
26876
|
* Greetings service.
|
|
26794
26877
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
26795
|
-
* @version
|
|
26878
|
+
* @version 134.0.1
|
|
26796
26879
|
*/
|
|
26797
26880
|
|
|
26798
26881
|
/**
|
|
@@ -27247,7 +27330,7 @@ class GroupsApi {
|
|
|
27247
27330
|
/**
|
|
27248
27331
|
* Groups service.
|
|
27249
27332
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
27250
|
-
* @version
|
|
27333
|
+
* @version 134.0.1
|
|
27251
27334
|
*/
|
|
27252
27335
|
|
|
27253
27336
|
/**
|
|
@@ -27652,7 +27735,7 @@ class IdentityProviderApi {
|
|
|
27652
27735
|
/**
|
|
27653
27736
|
* IdentityProvider service.
|
|
27654
27737
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
27655
|
-
* @version
|
|
27738
|
+
* @version 134.0.1
|
|
27656
27739
|
*/
|
|
27657
27740
|
|
|
27658
27741
|
/**
|
|
@@ -28408,7 +28491,7 @@ class IntegrationsApi {
|
|
|
28408
28491
|
/**
|
|
28409
28492
|
* Integrations service.
|
|
28410
28493
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
28411
|
-
* @version
|
|
28494
|
+
* @version 134.0.1
|
|
28412
28495
|
*/
|
|
28413
28496
|
|
|
28414
28497
|
/**
|
|
@@ -30083,7 +30166,7 @@ class JourneyApi {
|
|
|
30083
30166
|
/**
|
|
30084
30167
|
* Journey service.
|
|
30085
30168
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
30086
|
-
* @version
|
|
30169
|
+
* @version 134.0.1
|
|
30087
30170
|
*/
|
|
30088
30171
|
|
|
30089
30172
|
/**
|
|
@@ -30794,7 +30877,7 @@ class KnowledgeApi {
|
|
|
30794
30877
|
/**
|
|
30795
30878
|
* Knowledge service.
|
|
30796
30879
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
30797
|
-
* @version
|
|
30880
|
+
* @version 134.0.1
|
|
30798
30881
|
*/
|
|
30799
30882
|
|
|
30800
30883
|
/**
|
|
@@ -31694,7 +31777,7 @@ class LanguageUnderstandingApi {
|
|
|
31694
31777
|
/**
|
|
31695
31778
|
* LanguageUnderstanding service.
|
|
31696
31779
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
31697
|
-
* @version
|
|
31780
|
+
* @version 134.0.1
|
|
31698
31781
|
*/
|
|
31699
31782
|
|
|
31700
31783
|
/**
|
|
@@ -32598,7 +32681,7 @@ class LanguagesApi {
|
|
|
32598
32681
|
/**
|
|
32599
32682
|
* Languages service.
|
|
32600
32683
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
32601
|
-
* @version
|
|
32684
|
+
* @version 134.0.1
|
|
32602
32685
|
*/
|
|
32603
32686
|
|
|
32604
32687
|
/**
|
|
@@ -32866,7 +32949,7 @@ class LearningApi {
|
|
|
32866
32949
|
/**
|
|
32867
32950
|
* Learning service.
|
|
32868
32951
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
32869
|
-
* @version
|
|
32952
|
+
* @version 134.0.1
|
|
32870
32953
|
*/
|
|
32871
32954
|
|
|
32872
32955
|
/**
|
|
@@ -33457,7 +33540,7 @@ class LicenseApi {
|
|
|
33457
33540
|
/**
|
|
33458
33541
|
* License service.
|
|
33459
33542
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
33460
|
-
* @version
|
|
33543
|
+
* @version 134.0.1
|
|
33461
33544
|
*/
|
|
33462
33545
|
|
|
33463
33546
|
/**
|
|
@@ -33695,7 +33778,7 @@ class LocationsApi {
|
|
|
33695
33778
|
/**
|
|
33696
33779
|
* Locations service.
|
|
33697
33780
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
33698
|
-
* @version
|
|
33781
|
+
* @version 134.0.1
|
|
33699
33782
|
*/
|
|
33700
33783
|
|
|
33701
33784
|
/**
|
|
@@ -33931,7 +34014,7 @@ class MessagingApi {
|
|
|
33931
34014
|
/**
|
|
33932
34015
|
* Messaging service.
|
|
33933
34016
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
33934
|
-
* @version
|
|
34017
|
+
* @version 134.0.1
|
|
33935
34018
|
*/
|
|
33936
34019
|
|
|
33937
34020
|
/**
|
|
@@ -34082,7 +34165,7 @@ class MobileDevicesApi {
|
|
|
34082
34165
|
/**
|
|
34083
34166
|
* MobileDevices service.
|
|
34084
34167
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
34085
|
-
* @version
|
|
34168
|
+
* @version 134.0.1
|
|
34086
34169
|
*/
|
|
34087
34170
|
|
|
34088
34171
|
/**
|
|
@@ -34233,7 +34316,7 @@ class NotificationsApi {
|
|
|
34233
34316
|
/**
|
|
34234
34317
|
* Notifications service.
|
|
34235
34318
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
34236
|
-
* @version
|
|
34319
|
+
* @version 134.0.1
|
|
34237
34320
|
*/
|
|
34238
34321
|
|
|
34239
34322
|
/**
|
|
@@ -34458,7 +34541,7 @@ class OAuthApi {
|
|
|
34458
34541
|
/**
|
|
34459
34542
|
* OAuth service.
|
|
34460
34543
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
34461
|
-
* @version
|
|
34544
|
+
* @version 134.0.1
|
|
34462
34545
|
*/
|
|
34463
34546
|
|
|
34464
34547
|
/**
|
|
@@ -34502,8 +34585,12 @@ class OAuthApi {
|
|
|
34502
34585
|
* Get a client that is authorized by the resource owner
|
|
34503
34586
|
*
|
|
34504
34587
|
* @param {String} clientId The ID of client
|
|
34588
|
+
* @param {Object} opts Optional parameters
|
|
34589
|
+
* @param {String} opts.acceptLanguage The language in which to display the client descriptions. (default to en-us)
|
|
34505
34590
|
*/
|
|
34506
|
-
getOauthAuthorization(clientId) {
|
|
34591
|
+
getOauthAuthorization(clientId, opts) {
|
|
34592
|
+
opts = opts || {};
|
|
34593
|
+
|
|
34507
34594
|
// verify the required parameter 'clientId' is set
|
|
34508
34595
|
if (clientId === undefined || clientId === null) {
|
|
34509
34596
|
throw 'Missing the required parameter "clientId" when calling getOauthAuthorization';
|
|
@@ -34514,7 +34601,7 @@ class OAuthApi {
|
|
|
34514
34601
|
'GET',
|
|
34515
34602
|
{ 'clientId': clientId },
|
|
34516
34603
|
{ },
|
|
34517
|
-
{
|
|
34604
|
+
{ 'Accept-Language': opts['acceptLanguage'] },
|
|
34518
34605
|
{ },
|
|
34519
34606
|
null,
|
|
34520
34607
|
['PureCloud OAuth'],
|
|
@@ -34524,17 +34611,21 @@ class OAuthApi {
|
|
|
34524
34611
|
}
|
|
34525
34612
|
|
|
34526
34613
|
/**
|
|
34527
|
-
* List clients that
|
|
34614
|
+
* List clients that have been authorized, requested, or revoked by the resource owner
|
|
34528
34615
|
*
|
|
34616
|
+
* @param {Object} opts Optional parameters
|
|
34617
|
+
* @param {String} opts.acceptLanguage The language in which to display the client descriptions. (default to en-us)
|
|
34529
34618
|
*/
|
|
34530
|
-
getOauthAuthorizations() {
|
|
34619
|
+
getOauthAuthorizations(opts) {
|
|
34620
|
+
opts = opts || {};
|
|
34621
|
+
|
|
34531
34622
|
|
|
34532
34623
|
return this.apiClient.callApi(
|
|
34533
34624
|
'/api/v2/oauth/authorizations',
|
|
34534
34625
|
'GET',
|
|
34535
34626
|
{ },
|
|
34536
34627
|
{ },
|
|
34537
|
-
{
|
|
34628
|
+
{ 'Accept-Language': opts['acceptLanguage'] },
|
|
34538
34629
|
{ },
|
|
34539
34630
|
null,
|
|
34540
34631
|
['PureCloud OAuth'],
|
|
@@ -34816,7 +34907,7 @@ class ObjectsApi {
|
|
|
34816
34907
|
/**
|
|
34817
34908
|
* Objects service.
|
|
34818
34909
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
34819
|
-
* @version
|
|
34910
|
+
* @version 134.0.1
|
|
34820
34911
|
*/
|
|
34821
34912
|
|
|
34822
34913
|
/**
|
|
@@ -35087,7 +35178,7 @@ class OrganizationApi {
|
|
|
35087
35178
|
/**
|
|
35088
35179
|
* Organization service.
|
|
35089
35180
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
35090
|
-
* @version
|
|
35181
|
+
* @version 134.0.1
|
|
35091
35182
|
*/
|
|
35092
35183
|
|
|
35093
35184
|
/**
|
|
@@ -35490,7 +35581,7 @@ class OrganizationAuthorizationApi {
|
|
|
35490
35581
|
/**
|
|
35491
35582
|
* OrganizationAuthorization service.
|
|
35492
35583
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
35493
|
-
* @version
|
|
35584
|
+
* @version 134.0.1
|
|
35494
35585
|
*/
|
|
35495
35586
|
|
|
35496
35587
|
/**
|
|
@@ -36415,7 +36506,7 @@ class OutboundApi {
|
|
|
36415
36506
|
/**
|
|
36416
36507
|
* Outbound service.
|
|
36417
36508
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
36418
|
-
* @version
|
|
36509
|
+
* @version 134.0.1
|
|
36419
36510
|
*/
|
|
36420
36511
|
|
|
36421
36512
|
/**
|
|
@@ -39445,7 +39536,7 @@ class PresenceApi {
|
|
|
39445
39536
|
/**
|
|
39446
39537
|
* Presence service.
|
|
39447
39538
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
39448
|
-
* @version
|
|
39539
|
+
* @version 134.0.1
|
|
39449
39540
|
*/
|
|
39450
39541
|
|
|
39451
39542
|
/**
|
|
@@ -39817,7 +39908,7 @@ class QualityApi {
|
|
|
39817
39908
|
/**
|
|
39818
39909
|
* Quality service.
|
|
39819
39910
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
39820
|
-
* @version
|
|
39911
|
+
* @version 134.0.1
|
|
39821
39912
|
*/
|
|
39822
39913
|
|
|
39823
39914
|
/**
|
|
@@ -41395,7 +41486,7 @@ class RecordingApi {
|
|
|
41395
41486
|
/**
|
|
41396
41487
|
* Recording service.
|
|
41397
41488
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
41398
|
-
* @version
|
|
41489
|
+
* @version 134.0.1
|
|
41399
41490
|
*/
|
|
41400
41491
|
|
|
41401
41492
|
/**
|
|
@@ -42921,7 +43012,7 @@ class ResponseManagementApi {
|
|
|
42921
43012
|
/**
|
|
42922
43013
|
* ResponseManagement service.
|
|
42923
43014
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
42924
|
-
* @version
|
|
43015
|
+
* @version 134.0.1
|
|
42925
43016
|
*/
|
|
42926
43017
|
|
|
42927
43018
|
/**
|
|
@@ -42986,6 +43077,31 @@ class ResponseManagementApi {
|
|
|
42986
43077
|
);
|
|
42987
43078
|
}
|
|
42988
43079
|
|
|
43080
|
+
/**
|
|
43081
|
+
* Delete response asset
|
|
43082
|
+
*
|
|
43083
|
+
* @param {String} responseAssetId Asset Id
|
|
43084
|
+
*/
|
|
43085
|
+
deleteResponsemanagementResponseasset(responseAssetId) {
|
|
43086
|
+
// verify the required parameter 'responseAssetId' is set
|
|
43087
|
+
if (responseAssetId === undefined || responseAssetId === null) {
|
|
43088
|
+
throw 'Missing the required parameter "responseAssetId" when calling deleteResponsemanagementResponseasset';
|
|
43089
|
+
}
|
|
43090
|
+
|
|
43091
|
+
return this.apiClient.callApi(
|
|
43092
|
+
'/api/v2/responsemanagement/responseassets/{responseAssetId}',
|
|
43093
|
+
'DELETE',
|
|
43094
|
+
{ 'responseAssetId': responseAssetId },
|
|
43095
|
+
{ },
|
|
43096
|
+
{ },
|
|
43097
|
+
{ },
|
|
43098
|
+
null,
|
|
43099
|
+
['PureCloud OAuth'],
|
|
43100
|
+
['application/json'],
|
|
43101
|
+
['application/json']
|
|
43102
|
+
);
|
|
43103
|
+
}
|
|
43104
|
+
|
|
42989
43105
|
/**
|
|
42990
43106
|
* Gets a list of existing response libraries.
|
|
42991
43107
|
*
|
|
@@ -43066,6 +43182,56 @@ class ResponseManagementApi {
|
|
|
43066
43182
|
);
|
|
43067
43183
|
}
|
|
43068
43184
|
|
|
43185
|
+
/**
|
|
43186
|
+
* Get response asset information
|
|
43187
|
+
*
|
|
43188
|
+
* @param {String} responseAssetId Asset Id
|
|
43189
|
+
*/
|
|
43190
|
+
getResponsemanagementResponseasset(responseAssetId) {
|
|
43191
|
+
// verify the required parameter 'responseAssetId' is set
|
|
43192
|
+
if (responseAssetId === undefined || responseAssetId === null) {
|
|
43193
|
+
throw 'Missing the required parameter "responseAssetId" when calling getResponsemanagementResponseasset';
|
|
43194
|
+
}
|
|
43195
|
+
|
|
43196
|
+
return this.apiClient.callApi(
|
|
43197
|
+
'/api/v2/responsemanagement/responseassets/{responseAssetId}',
|
|
43198
|
+
'GET',
|
|
43199
|
+
{ 'responseAssetId': responseAssetId },
|
|
43200
|
+
{ },
|
|
43201
|
+
{ },
|
|
43202
|
+
{ },
|
|
43203
|
+
null,
|
|
43204
|
+
['PureCloud OAuth'],
|
|
43205
|
+
['application/json'],
|
|
43206
|
+
['application/json']
|
|
43207
|
+
);
|
|
43208
|
+
}
|
|
43209
|
+
|
|
43210
|
+
/**
|
|
43211
|
+
* Get response asset upload status
|
|
43212
|
+
*
|
|
43213
|
+
* @param {String} statusId Status Id
|
|
43214
|
+
*/
|
|
43215
|
+
getResponsemanagementResponseassetsStatusStatusId(statusId) {
|
|
43216
|
+
// verify the required parameter 'statusId' is set
|
|
43217
|
+
if (statusId === undefined || statusId === null) {
|
|
43218
|
+
throw 'Missing the required parameter "statusId" when calling getResponsemanagementResponseassetsStatusStatusId';
|
|
43219
|
+
}
|
|
43220
|
+
|
|
43221
|
+
return this.apiClient.callApi(
|
|
43222
|
+
'/api/v2/responsemanagement/responseassets/status/{statusId}',
|
|
43223
|
+
'GET',
|
|
43224
|
+
{ 'statusId': statusId },
|
|
43225
|
+
{ },
|
|
43226
|
+
{ },
|
|
43227
|
+
{ },
|
|
43228
|
+
null,
|
|
43229
|
+
['PureCloud OAuth'],
|
|
43230
|
+
['application/json'],
|
|
43231
|
+
['application/json']
|
|
43232
|
+
);
|
|
43233
|
+
}
|
|
43234
|
+
|
|
43069
43235
|
/**
|
|
43070
43236
|
* Gets a list of existing responses.
|
|
43071
43237
|
*
|
|
@@ -43122,6 +43288,60 @@ class ResponseManagementApi {
|
|
|
43122
43288
|
);
|
|
43123
43289
|
}
|
|
43124
43290
|
|
|
43291
|
+
/**
|
|
43292
|
+
* Search response assets
|
|
43293
|
+
*
|
|
43294
|
+
* @param {Object} body request
|
|
43295
|
+
* @param {Object} opts Optional parameters
|
|
43296
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
43297
|
+
*/
|
|
43298
|
+
postResponsemanagementResponseassetsSearch(body, opts) {
|
|
43299
|
+
opts = opts || {};
|
|
43300
|
+
|
|
43301
|
+
// verify the required parameter 'body' is set
|
|
43302
|
+
if (body === undefined || body === null) {
|
|
43303
|
+
throw 'Missing the required parameter "body" when calling postResponsemanagementResponseassetsSearch';
|
|
43304
|
+
}
|
|
43305
|
+
|
|
43306
|
+
return this.apiClient.callApi(
|
|
43307
|
+
'/api/v2/responsemanagement/responseassets/search',
|
|
43308
|
+
'POST',
|
|
43309
|
+
{ },
|
|
43310
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
43311
|
+
{ },
|
|
43312
|
+
{ },
|
|
43313
|
+
body,
|
|
43314
|
+
['PureCloud OAuth'],
|
|
43315
|
+
['application/json'],
|
|
43316
|
+
['application/json']
|
|
43317
|
+
);
|
|
43318
|
+
}
|
|
43319
|
+
|
|
43320
|
+
/**
|
|
43321
|
+
* Creates pre-signed url for uploading response asset
|
|
43322
|
+
*
|
|
43323
|
+
* @param {Object} body request
|
|
43324
|
+
*/
|
|
43325
|
+
postResponsemanagementResponseassetsUploads(body) {
|
|
43326
|
+
// verify the required parameter 'body' is set
|
|
43327
|
+
if (body === undefined || body === null) {
|
|
43328
|
+
throw 'Missing the required parameter "body" when calling postResponsemanagementResponseassetsUploads';
|
|
43329
|
+
}
|
|
43330
|
+
|
|
43331
|
+
return this.apiClient.callApi(
|
|
43332
|
+
'/api/v2/responsemanagement/responseassets/uploads',
|
|
43333
|
+
'POST',
|
|
43334
|
+
{ },
|
|
43335
|
+
{ },
|
|
43336
|
+
{ },
|
|
43337
|
+
{ },
|
|
43338
|
+
body,
|
|
43339
|
+
['PureCloud OAuth'],
|
|
43340
|
+
['application/json'],
|
|
43341
|
+
['application/json']
|
|
43342
|
+
);
|
|
43343
|
+
}
|
|
43344
|
+
|
|
43125
43345
|
/**
|
|
43126
43346
|
* Create a response.
|
|
43127
43347
|
*
|
|
@@ -43240,13 +43460,43 @@ class ResponseManagementApi {
|
|
|
43240
43460
|
);
|
|
43241
43461
|
}
|
|
43242
43462
|
|
|
43463
|
+
/**
|
|
43464
|
+
* Update response asset
|
|
43465
|
+
*
|
|
43466
|
+
* @param {String} responseAssetId Asset Id
|
|
43467
|
+
* @param {Object} body request
|
|
43468
|
+
*/
|
|
43469
|
+
putResponsemanagementResponseasset(responseAssetId, body) {
|
|
43470
|
+
// verify the required parameter 'responseAssetId' is set
|
|
43471
|
+
if (responseAssetId === undefined || responseAssetId === null) {
|
|
43472
|
+
throw 'Missing the required parameter "responseAssetId" when calling putResponsemanagementResponseasset';
|
|
43473
|
+
}
|
|
43474
|
+
// verify the required parameter 'body' is set
|
|
43475
|
+
if (body === undefined || body === null) {
|
|
43476
|
+
throw 'Missing the required parameter "body" when calling putResponsemanagementResponseasset';
|
|
43477
|
+
}
|
|
43478
|
+
|
|
43479
|
+
return this.apiClient.callApi(
|
|
43480
|
+
'/api/v2/responsemanagement/responseassets/{responseAssetId}',
|
|
43481
|
+
'PUT',
|
|
43482
|
+
{ 'responseAssetId': responseAssetId },
|
|
43483
|
+
{ },
|
|
43484
|
+
{ },
|
|
43485
|
+
{ },
|
|
43486
|
+
body,
|
|
43487
|
+
['PureCloud OAuth'],
|
|
43488
|
+
['application/json'],
|
|
43489
|
+
['application/json']
|
|
43490
|
+
);
|
|
43491
|
+
}
|
|
43492
|
+
|
|
43243
43493
|
}
|
|
43244
43494
|
|
|
43245
43495
|
class RoutingApi {
|
|
43246
43496
|
/**
|
|
43247
43497
|
* Routing service.
|
|
43248
43498
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
43249
|
-
* @version
|
|
43499
|
+
* @version 134.0.1
|
|
43250
43500
|
*/
|
|
43251
43501
|
|
|
43252
43502
|
/**
|
|
@@ -46169,7 +46419,7 @@ class SCIMApi {
|
|
|
46169
46419
|
/**
|
|
46170
46420
|
* SCIM service.
|
|
46171
46421
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
46172
|
-
* @version
|
|
46422
|
+
* @version 134.0.1
|
|
46173
46423
|
*/
|
|
46174
46424
|
|
|
46175
46425
|
/**
|
|
@@ -47046,7 +47296,7 @@ class ScriptsApi {
|
|
|
47046
47296
|
/**
|
|
47047
47297
|
* Scripts service.
|
|
47048
47298
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
47049
|
-
* @version
|
|
47299
|
+
* @version 134.0.1
|
|
47050
47300
|
*/
|
|
47051
47301
|
|
|
47052
47302
|
/**
|
|
@@ -47399,7 +47649,7 @@ class SearchApi {
|
|
|
47399
47649
|
/**
|
|
47400
47650
|
* Search service.
|
|
47401
47651
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
47402
|
-
* @version
|
|
47652
|
+
* @version 134.0.1
|
|
47403
47653
|
*/
|
|
47404
47654
|
|
|
47405
47655
|
/**
|
|
@@ -47934,7 +48184,7 @@ class SpeechTextAnalyticsApi {
|
|
|
47934
48184
|
/**
|
|
47935
48185
|
* SpeechTextAnalytics service.
|
|
47936
48186
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
47937
|
-
* @version
|
|
48187
|
+
* @version 134.0.1
|
|
47938
48188
|
*/
|
|
47939
48189
|
|
|
47940
48190
|
/**
|
|
@@ -48787,7 +49037,7 @@ class StationsApi {
|
|
|
48787
49037
|
/**
|
|
48788
49038
|
* Stations service.
|
|
48789
49039
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
48790
|
-
* @version
|
|
49040
|
+
* @version 134.0.1
|
|
48791
49041
|
*/
|
|
48792
49042
|
|
|
48793
49043
|
/**
|
|
@@ -48934,7 +49184,7 @@ class SuggestApi {
|
|
|
48934
49184
|
/**
|
|
48935
49185
|
* Suggest service.
|
|
48936
49186
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
48937
|
-
* @version
|
|
49187
|
+
* @version 134.0.1
|
|
48938
49188
|
*/
|
|
48939
49189
|
|
|
48940
49190
|
/**
|
|
@@ -49073,7 +49323,7 @@ class TelephonyApi {
|
|
|
49073
49323
|
/**
|
|
49074
49324
|
* Telephony service.
|
|
49075
49325
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
49076
|
-
* @version
|
|
49326
|
+
* @version 134.0.1
|
|
49077
49327
|
*/
|
|
49078
49328
|
|
|
49079
49329
|
/**
|
|
@@ -49181,7 +49431,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
49181
49431
|
/**
|
|
49182
49432
|
* TelephonyProvidersEdge service.
|
|
49183
49433
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
49184
|
-
* @version
|
|
49434
|
+
* @version 134.0.1
|
|
49185
49435
|
*/
|
|
49186
49436
|
|
|
49187
49437
|
/**
|
|
@@ -52814,7 +53064,7 @@ class TextbotsApi {
|
|
|
52814
53064
|
/**
|
|
52815
53065
|
* Textbots service.
|
|
52816
53066
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
52817
|
-
* @version
|
|
53067
|
+
* @version 134.0.1
|
|
52818
53068
|
*/
|
|
52819
53069
|
|
|
52820
53070
|
/**
|
|
@@ -52942,7 +53192,7 @@ class TokensApi {
|
|
|
52942
53192
|
/**
|
|
52943
53193
|
* Tokens service.
|
|
52944
53194
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
52945
|
-
* @version
|
|
53195
|
+
* @version 134.0.1
|
|
52946
53196
|
*/
|
|
52947
53197
|
|
|
52948
53198
|
/**
|
|
@@ -53048,7 +53298,7 @@ class UploadsApi {
|
|
|
53048
53298
|
/**
|
|
53049
53299
|
* Uploads service.
|
|
53050
53300
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
53051
|
-
* @version
|
|
53301
|
+
* @version 134.0.1
|
|
53052
53302
|
*/
|
|
53053
53303
|
|
|
53054
53304
|
/**
|
|
@@ -53193,38 +53443,13 @@ class UploadsApi {
|
|
|
53193
53443
|
);
|
|
53194
53444
|
}
|
|
53195
53445
|
|
|
53196
|
-
/**
|
|
53197
|
-
* Creates presigned url for uploading WFM historical data file. Requires data in json format.
|
|
53198
|
-
*
|
|
53199
|
-
* @param {Object} body query
|
|
53200
|
-
*/
|
|
53201
|
-
postUploadsWorkforcemanagementHistoricaldataJson(body) {
|
|
53202
|
-
// verify the required parameter 'body' is set
|
|
53203
|
-
if (body === undefined || body === null) {
|
|
53204
|
-
throw 'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataJson';
|
|
53205
|
-
}
|
|
53206
|
-
|
|
53207
|
-
return this.apiClient.callApi(
|
|
53208
|
-
'/api/v2/uploads/workforcemanagement/historicaldata/json',
|
|
53209
|
-
'POST',
|
|
53210
|
-
{ },
|
|
53211
|
-
{ },
|
|
53212
|
-
{ },
|
|
53213
|
-
{ },
|
|
53214
|
-
body,
|
|
53215
|
-
['PureCloud OAuth'],
|
|
53216
|
-
['application/json'],
|
|
53217
|
-
['application/json']
|
|
53218
|
-
);
|
|
53219
|
-
}
|
|
53220
|
-
|
|
53221
53446
|
}
|
|
53222
53447
|
|
|
53223
53448
|
class UsageApi {
|
|
53224
53449
|
/**
|
|
53225
53450
|
* Usage service.
|
|
53226
53451
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
53227
|
-
* @version
|
|
53452
|
+
* @version 134.0.1
|
|
53228
53453
|
*/
|
|
53229
53454
|
|
|
53230
53455
|
/**
|
|
@@ -53295,7 +53520,7 @@ class UserRecordingsApi {
|
|
|
53295
53520
|
/**
|
|
53296
53521
|
* UserRecordings service.
|
|
53297
53522
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
53298
|
-
* @version
|
|
53523
|
+
* @version 134.0.1
|
|
53299
53524
|
*/
|
|
53300
53525
|
|
|
53301
53526
|
/**
|
|
@@ -53479,7 +53704,7 @@ class UsersApi {
|
|
|
53479
53704
|
/**
|
|
53480
53705
|
* Users service.
|
|
53481
53706
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
53482
|
-
* @version
|
|
53707
|
+
* @version 134.0.1
|
|
53483
53708
|
*/
|
|
53484
53709
|
|
|
53485
53710
|
/**
|
|
@@ -55781,7 +56006,7 @@ class UtilitiesApi {
|
|
|
55781
56006
|
/**
|
|
55782
56007
|
* Utilities service.
|
|
55783
56008
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
55784
|
-
* @version
|
|
56009
|
+
* @version 134.0.1
|
|
55785
56010
|
*/
|
|
55786
56011
|
|
|
55787
56012
|
/**
|
|
@@ -55892,7 +56117,7 @@ class VoicemailApi {
|
|
|
55892
56117
|
/**
|
|
55893
56118
|
* Voicemail service.
|
|
55894
56119
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
55895
|
-
* @version
|
|
56120
|
+
* @version 134.0.1
|
|
55896
56121
|
*/
|
|
55897
56122
|
|
|
55898
56123
|
/**
|
|
@@ -56559,7 +56784,7 @@ class WebChatApi {
|
|
|
56559
56784
|
/**
|
|
56560
56785
|
* WebChat service.
|
|
56561
56786
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
56562
|
-
* @version
|
|
56787
|
+
* @version 134.0.1
|
|
56563
56788
|
*/
|
|
56564
56789
|
|
|
56565
56790
|
/**
|
|
@@ -57103,7 +57328,7 @@ class WebDeploymentsApi {
|
|
|
57103
57328
|
/**
|
|
57104
57329
|
* WebDeployments service.
|
|
57105
57330
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
57106
|
-
* @version
|
|
57331
|
+
* @version 134.0.1
|
|
57107
57332
|
*/
|
|
57108
57333
|
|
|
57109
57334
|
/**
|
|
@@ -57458,7 +57683,7 @@ class WebMessagingApi {
|
|
|
57458
57683
|
/**
|
|
57459
57684
|
* WebMessaging service.
|
|
57460
57685
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
57461
|
-
* @version
|
|
57686
|
+
* @version 134.0.1
|
|
57462
57687
|
*/
|
|
57463
57688
|
|
|
57464
57689
|
/**
|
|
@@ -57504,7 +57729,7 @@ class WidgetsApi {
|
|
|
57504
57729
|
/**
|
|
57505
57730
|
* Widgets service.
|
|
57506
57731
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
57507
|
-
* @version
|
|
57732
|
+
* @version 134.0.1
|
|
57508
57733
|
*/
|
|
57509
57734
|
|
|
57510
57735
|
/**
|
|
@@ -57650,7 +57875,7 @@ class WorkforceManagementApi {
|
|
|
57650
57875
|
/**
|
|
57651
57876
|
* WorkforceManagement service.
|
|
57652
57877
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
57653
|
-
* @version
|
|
57878
|
+
* @version 134.0.1
|
|
57654
57879
|
*/
|
|
57655
57880
|
|
|
57656
57881
|
/**
|
|
@@ -60648,6 +60873,86 @@ class WorkforceManagementApi {
|
|
|
60648
60873
|
);
|
|
60649
60874
|
}
|
|
60650
60875
|
|
|
60876
|
+
/**
|
|
60877
|
+
* Starts processing a schedule update
|
|
60878
|
+
* Call after uploading the schedule data to the url supplied by the /update/uploadurl route
|
|
60879
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
60880
|
+
* @param {String} weekId First day of schedule week in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
60881
|
+
* @param {String} scheduleId The ID of the schedule
|
|
60882
|
+
* @param {Object} body body
|
|
60883
|
+
*/
|
|
60884
|
+
postWorkforcemanagementBusinessunitWeekScheduleUpdate(businessUnitId, weekId, scheduleId, body) {
|
|
60885
|
+
// verify the required parameter 'businessUnitId' is set
|
|
60886
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
60887
|
+
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
|
|
60888
|
+
}
|
|
60889
|
+
// verify the required parameter 'weekId' is set
|
|
60890
|
+
if (weekId === undefined || weekId === null) {
|
|
60891
|
+
throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
|
|
60892
|
+
}
|
|
60893
|
+
// verify the required parameter 'scheduleId' is set
|
|
60894
|
+
if (scheduleId === undefined || scheduleId === null) {
|
|
60895
|
+
throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
|
|
60896
|
+
}
|
|
60897
|
+
// verify the required parameter 'body' is set
|
|
60898
|
+
if (body === undefined || body === null) {
|
|
60899
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
|
|
60900
|
+
}
|
|
60901
|
+
|
|
60902
|
+
return this.apiClient.callApi(
|
|
60903
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/update',
|
|
60904
|
+
'POST',
|
|
60905
|
+
{ 'businessUnitId': businessUnitId,'weekId': weekId,'scheduleId': scheduleId },
|
|
60906
|
+
{ },
|
|
60907
|
+
{ },
|
|
60908
|
+
{ },
|
|
60909
|
+
body,
|
|
60910
|
+
['PureCloud OAuth'],
|
|
60911
|
+
['application/json'],
|
|
60912
|
+
['application/json']
|
|
60913
|
+
);
|
|
60914
|
+
}
|
|
60915
|
+
|
|
60916
|
+
/**
|
|
60917
|
+
* Creates a signed upload URL for updating a schedule
|
|
60918
|
+
* Once the upload is complete, call the /{scheduleId}/update route to start the schedule update process
|
|
60919
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
60920
|
+
* @param {String} weekId First day of schedule week in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
60921
|
+
* @param {String} scheduleId The ID of the schedule
|
|
60922
|
+
* @param {Object} body body
|
|
60923
|
+
*/
|
|
60924
|
+
postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl(businessUnitId, weekId, scheduleId, body) {
|
|
60925
|
+
// verify the required parameter 'businessUnitId' is set
|
|
60926
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
60927
|
+
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
|
|
60928
|
+
}
|
|
60929
|
+
// verify the required parameter 'weekId' is set
|
|
60930
|
+
if (weekId === undefined || weekId === null) {
|
|
60931
|
+
throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
|
|
60932
|
+
}
|
|
60933
|
+
// verify the required parameter 'scheduleId' is set
|
|
60934
|
+
if (scheduleId === undefined || scheduleId === null) {
|
|
60935
|
+
throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
|
|
60936
|
+
}
|
|
60937
|
+
// verify the required parameter 'body' is set
|
|
60938
|
+
if (body === undefined || body === null) {
|
|
60939
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
|
|
60940
|
+
}
|
|
60941
|
+
|
|
60942
|
+
return this.apiClient.callApi(
|
|
60943
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/update/uploadurl',
|
|
60944
|
+
'POST',
|
|
60945
|
+
{ 'businessUnitId': businessUnitId,'weekId': weekId,'scheduleId': scheduleId },
|
|
60946
|
+
{ },
|
|
60947
|
+
{ },
|
|
60948
|
+
{ },
|
|
60949
|
+
body,
|
|
60950
|
+
['PureCloud OAuth'],
|
|
60951
|
+
['application/json'],
|
|
60952
|
+
['application/json']
|
|
60953
|
+
);
|
|
60954
|
+
}
|
|
60955
|
+
|
|
60651
60956
|
/**
|
|
60652
60957
|
* Create a blank schedule
|
|
60653
60958
|
*
|
|
@@ -60718,6 +61023,76 @@ class WorkforceManagementApi {
|
|
|
60718
61023
|
);
|
|
60719
61024
|
}
|
|
60720
61025
|
|
|
61026
|
+
/**
|
|
61027
|
+
* Starts processing a schedule import
|
|
61028
|
+
* Call after uploading the schedule data to the url supplied by the /import/uploadurl route
|
|
61029
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
61030
|
+
* @param {String} weekId First day of schedule week in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
61031
|
+
* @param {Object} body
|
|
61032
|
+
*/
|
|
61033
|
+
postWorkforcemanagementBusinessunitWeekSchedulesImport(businessUnitId, weekId, body) {
|
|
61034
|
+
// verify the required parameter 'businessUnitId' is set
|
|
61035
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
61036
|
+
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';
|
|
61037
|
+
}
|
|
61038
|
+
// verify the required parameter 'weekId' is set
|
|
61039
|
+
if (weekId === undefined || weekId === null) {
|
|
61040
|
+
throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';
|
|
61041
|
+
}
|
|
61042
|
+
// verify the required parameter 'body' is set
|
|
61043
|
+
if (body === undefined || body === null) {
|
|
61044
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';
|
|
61045
|
+
}
|
|
61046
|
+
|
|
61047
|
+
return this.apiClient.callApi(
|
|
61048
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/import',
|
|
61049
|
+
'POST',
|
|
61050
|
+
{ 'businessUnitId': businessUnitId,'weekId': weekId },
|
|
61051
|
+
{ },
|
|
61052
|
+
{ },
|
|
61053
|
+
{ },
|
|
61054
|
+
body,
|
|
61055
|
+
['PureCloud OAuth'],
|
|
61056
|
+
['application/json'],
|
|
61057
|
+
['application/json']
|
|
61058
|
+
);
|
|
61059
|
+
}
|
|
61060
|
+
|
|
61061
|
+
/**
|
|
61062
|
+
* Creates a signed upload URL for importing a schedule
|
|
61063
|
+
* Once the upload is complete, call the /import route to start the schedule import process
|
|
61064
|
+
* @param {String} businessUnitId The ID of the business unit
|
|
61065
|
+
* @param {String} weekId First day of schedule week in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
61066
|
+
* @param {Object} body body
|
|
61067
|
+
*/
|
|
61068
|
+
postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl(businessUnitId, weekId, body) {
|
|
61069
|
+
// verify the required parameter 'businessUnitId' is set
|
|
61070
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
61071
|
+
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';
|
|
61072
|
+
}
|
|
61073
|
+
// verify the required parameter 'weekId' is set
|
|
61074
|
+
if (weekId === undefined || weekId === null) {
|
|
61075
|
+
throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';
|
|
61076
|
+
}
|
|
61077
|
+
// verify the required parameter 'body' is set
|
|
61078
|
+
if (body === undefined || body === null) {
|
|
61079
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';
|
|
61080
|
+
}
|
|
61081
|
+
|
|
61082
|
+
return this.apiClient.callApi(
|
|
61083
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/import/uploadurl',
|
|
61084
|
+
'POST',
|
|
61085
|
+
{ 'businessUnitId': businessUnitId,'weekId': weekId },
|
|
61086
|
+
{ },
|
|
61087
|
+
{ },
|
|
61088
|
+
{ },
|
|
61089
|
+
body,
|
|
61090
|
+
['PureCloud OAuth'],
|
|
61091
|
+
['application/json'],
|
|
61092
|
+
['application/json']
|
|
61093
|
+
);
|
|
61094
|
+
}
|
|
61095
|
+
|
|
60721
61096
|
/**
|
|
60722
61097
|
* Copy a short term forecast
|
|
60723
61098
|
*
|
|
@@ -60801,6 +61176,76 @@ class WorkforceManagementApi {
|
|
|
60801
61176
|
);
|
|
60802
61177
|
}
|
|
60803
61178
|
|
|
61179
|
+
/**
|
|
61180
|
+
* Starts importing the uploaded short term forecast
|
|
61181
|
+
* Call after uploading the forecast data to the url supplied by the /import/uploadurl route
|
|
61182
|
+
* @param {String} businessUnitId The business unit ID of the business unit to which the forecast belongs
|
|
61183
|
+
* @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
|
|
61184
|
+
* @param {Object} body
|
|
61185
|
+
*/
|
|
61186
|
+
postWorkforcemanagementBusinessunitWeekShorttermforecastsImport(businessUnitId, weekDateId, body) {
|
|
61187
|
+
// verify the required parameter 'businessUnitId' is set
|
|
61188
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
61189
|
+
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';
|
|
61190
|
+
}
|
|
61191
|
+
// verify the required parameter 'weekDateId' is set
|
|
61192
|
+
if (weekDateId === undefined || weekDateId === null) {
|
|
61193
|
+
throw 'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';
|
|
61194
|
+
}
|
|
61195
|
+
// verify the required parameter 'body' is set
|
|
61196
|
+
if (body === undefined || body === null) {
|
|
61197
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';
|
|
61198
|
+
}
|
|
61199
|
+
|
|
61200
|
+
return this.apiClient.callApi(
|
|
61201
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/import',
|
|
61202
|
+
'POST',
|
|
61203
|
+
{ 'businessUnitId': businessUnitId,'weekDateId': weekDateId },
|
|
61204
|
+
{ },
|
|
61205
|
+
{ },
|
|
61206
|
+
{ },
|
|
61207
|
+
body,
|
|
61208
|
+
['PureCloud OAuth'],
|
|
61209
|
+
['application/json'],
|
|
61210
|
+
['application/json']
|
|
61211
|
+
);
|
|
61212
|
+
}
|
|
61213
|
+
|
|
61214
|
+
/**
|
|
61215
|
+
* Creates a signed upload URL for importing a short term forecast
|
|
61216
|
+
* Once the upload is complete, call the /import route to start the short term forecast import process
|
|
61217
|
+
* @param {String} businessUnitId The business unit ID of the business unit to which the forecast belongs
|
|
61218
|
+
* @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
|
|
61219
|
+
* @param {Object} body body
|
|
61220
|
+
*/
|
|
61221
|
+
postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl(businessUnitId, weekDateId, body) {
|
|
61222
|
+
// verify the required parameter 'businessUnitId' is set
|
|
61223
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
61224
|
+
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';
|
|
61225
|
+
}
|
|
61226
|
+
// verify the required parameter 'weekDateId' is set
|
|
61227
|
+
if (weekDateId === undefined || weekDateId === null) {
|
|
61228
|
+
throw 'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';
|
|
61229
|
+
}
|
|
61230
|
+
// verify the required parameter 'body' is set
|
|
61231
|
+
if (body === undefined || body === null) {
|
|
61232
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';
|
|
61233
|
+
}
|
|
61234
|
+
|
|
61235
|
+
return this.apiClient.callApi(
|
|
61236
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/import/uploadurl',
|
|
61237
|
+
'POST',
|
|
61238
|
+
{ 'businessUnitId': businessUnitId,'weekDateId': weekDateId },
|
|
61239
|
+
{ },
|
|
61240
|
+
{ },
|
|
61241
|
+
{ },
|
|
61242
|
+
body,
|
|
61243
|
+
['PureCloud OAuth'],
|
|
61244
|
+
['application/json'],
|
|
61245
|
+
['application/json']
|
|
61246
|
+
);
|
|
61247
|
+
}
|
|
61248
|
+
|
|
60804
61249
|
/**
|
|
60805
61250
|
* Add a new business unit
|
|
60806
61251
|
* It may take a minute or two for a new business unit to be available for api operations
|
|
@@ -61681,7 +62126,7 @@ class WorkforceManagementApi {
|
|
|
61681
62126
|
* </pre>
|
|
61682
62127
|
* </p>
|
|
61683
62128
|
* @module purecloud-platform-client-v2/index
|
|
61684
|
-
* @version
|
|
62129
|
+
* @version 134.0.1
|
|
61685
62130
|
*/
|
|
61686
62131
|
class platformClient {
|
|
61687
62132
|
constructor() {
|