purecloud-platform-client-v2 163.0.0 → 165.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/node/purecloud-platform-client-v2.js +206 -169
- package/dist/web-amd/purecloud-platform-client-v2.js +206 -169
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +206 -169
- package/dist/web-cjs/purecloud-platform-client-v2.js +206 -169
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +84 -66
- 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 +2 -2
- 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 +41 -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 +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/InfrastructureAsCodeApi.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 +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +2 -97
- 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 +90 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +5 -3
- 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 +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -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 165.0.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 165.0.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 165.0.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 165.0.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 165.0.0
|
|
7978
7978
|
*/
|
|
7979
7979
|
|
|
7980
7980
|
/**
|
|
@@ -8060,7 +8060,7 @@ class AuditApi {
|
|
|
8060
8060
|
* @param {String} transactionId Transaction ID
|
|
8061
8061
|
* @param {Object} opts Optional parameters
|
|
8062
8062
|
* @param {String} opts.cursor Indicates where to resume query results (not required for first page)
|
|
8063
|
-
* @param {Number} opts.pageSize
|
|
8063
|
+
* @param {Number} opts.pageSize Indicates maximum number of results in response. Default page size is 25 results. The maximum page size is 500. (default to 25)
|
|
8064
8064
|
* @param {Array.<String>} opts.expand Which fields, if any, to expand
|
|
8065
8065
|
*/
|
|
8066
8066
|
getAuditsQueryTransactionIdResults(transactionId, opts) {
|
|
@@ -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 165.0.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 165.0.0
|
|
9378
9378
|
*/
|
|
9379
9379
|
|
|
9380
9380
|
/**
|
|
@@ -9454,7 +9454,7 @@ class ChatApi {
|
|
|
9454
9454
|
/**
|
|
9455
9455
|
* Chat service.
|
|
9456
9456
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9457
|
-
* @version
|
|
9457
|
+
* @version 165.0.0
|
|
9458
9458
|
*/
|
|
9459
9459
|
|
|
9460
9460
|
/**
|
|
@@ -9615,7 +9615,7 @@ class CoachingApi {
|
|
|
9615
9615
|
/**
|
|
9616
9616
|
* Coaching service.
|
|
9617
9617
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9618
|
-
* @version
|
|
9618
|
+
* @version 165.0.0
|
|
9619
9619
|
*/
|
|
9620
9620
|
|
|
9621
9621
|
/**
|
|
@@ -10192,7 +10192,7 @@ class ContentManagementApi {
|
|
|
10192
10192
|
/**
|
|
10193
10193
|
* ContentManagement service.
|
|
10194
10194
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
10195
|
-
* @version
|
|
10195
|
+
* @version 165.0.0
|
|
10196
10196
|
*/
|
|
10197
10197
|
|
|
10198
10198
|
/**
|
|
@@ -11332,7 +11332,7 @@ class ConversationsApi {
|
|
|
11332
11332
|
/**
|
|
11333
11333
|
* Conversations service.
|
|
11334
11334
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
11335
|
-
* @version
|
|
11335
|
+
* @version 165.0.0
|
|
11336
11336
|
*/
|
|
11337
11337
|
|
|
11338
11338
|
/**
|
|
@@ -13909,6 +13909,46 @@ class ConversationsApi {
|
|
|
13909
13909
|
);
|
|
13910
13910
|
}
|
|
13911
13911
|
|
|
13912
|
+
/**
|
|
13913
|
+
* Update after-call work for this conversation communication.
|
|
13914
|
+
*
|
|
13915
|
+
* @param {String} conversationId conversationId
|
|
13916
|
+
* @param {String} participantId participantId
|
|
13917
|
+
* @param {String} communicationId communicationId
|
|
13918
|
+
* @param {Object} body AfterCallWorkUpdate
|
|
13919
|
+
*/
|
|
13920
|
+
patchConversationsAftercallworkConversationIdParticipantCommunication(conversationId, participantId, communicationId, body) {
|
|
13921
|
+
// verify the required parameter 'conversationId' is set
|
|
13922
|
+
if (conversationId === undefined || conversationId === null) {
|
|
13923
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
|
|
13924
|
+
}
|
|
13925
|
+
// verify the required parameter 'participantId' is set
|
|
13926
|
+
if (participantId === undefined || participantId === null) {
|
|
13927
|
+
throw 'Missing the required parameter "participantId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
|
|
13928
|
+
}
|
|
13929
|
+
// verify the required parameter 'communicationId' is set
|
|
13930
|
+
if (communicationId === undefined || communicationId === null) {
|
|
13931
|
+
throw 'Missing the required parameter "communicationId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
|
|
13932
|
+
}
|
|
13933
|
+
// verify the required parameter 'body' is set
|
|
13934
|
+
if (body === undefined || body === null) {
|
|
13935
|
+
throw 'Missing the required parameter "body" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
|
|
13936
|
+
}
|
|
13937
|
+
|
|
13938
|
+
return this.apiClient.callApi(
|
|
13939
|
+
'/api/v2/conversations/aftercallwork/{conversationId}/participants/{participantId}/communications/{communicationId}',
|
|
13940
|
+
'PATCH',
|
|
13941
|
+
{ 'conversationId': conversationId,'participantId': participantId,'communicationId': communicationId },
|
|
13942
|
+
{ },
|
|
13943
|
+
{ },
|
|
13944
|
+
{ },
|
|
13945
|
+
body,
|
|
13946
|
+
['PureCloud OAuth'],
|
|
13947
|
+
['application/json'],
|
|
13948
|
+
['application/json']
|
|
13949
|
+
);
|
|
13950
|
+
}
|
|
13951
|
+
|
|
13912
13952
|
/**
|
|
13913
13953
|
* Update a conversation by setting its recording state, merging in other conversations to create a conference, or disconnecting all of the participants
|
|
13914
13954
|
*
|
|
@@ -17352,7 +17392,7 @@ class DataExtensionsApi {
|
|
|
17352
17392
|
/**
|
|
17353
17393
|
* DataExtensions service.
|
|
17354
17394
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
17355
|
-
* @version
|
|
17395
|
+
* @version 165.0.0
|
|
17356
17396
|
*/
|
|
17357
17397
|
|
|
17358
17398
|
/**
|
|
@@ -17438,7 +17478,7 @@ class DownloadsApi {
|
|
|
17438
17478
|
/**
|
|
17439
17479
|
* Downloads service.
|
|
17440
17480
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
17441
|
-
* @version
|
|
17481
|
+
* @version 165.0.0
|
|
17442
17482
|
*/
|
|
17443
17483
|
|
|
17444
17484
|
/**
|
|
@@ -17490,7 +17530,7 @@ class EventsApi {
|
|
|
17490
17530
|
/**
|
|
17491
17531
|
* Events service.
|
|
17492
17532
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
17493
|
-
* @version
|
|
17533
|
+
* @version 165.0.0
|
|
17494
17534
|
*/
|
|
17495
17535
|
|
|
17496
17536
|
/**
|
|
@@ -17586,7 +17626,7 @@ class ExternalContactsApi {
|
|
|
17586
17626
|
/**
|
|
17587
17627
|
* ExternalContacts service.
|
|
17588
17628
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
17589
|
-
* @version
|
|
17629
|
+
* @version 165.0.0
|
|
17590
17630
|
*/
|
|
17591
17631
|
|
|
17592
17632
|
/**
|
|
@@ -19544,7 +19584,7 @@ class FaxApi {
|
|
|
19544
19584
|
/**
|
|
19545
19585
|
* Fax service.
|
|
19546
19586
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
19547
|
-
* @version
|
|
19587
|
+
* @version 165.0.0
|
|
19548
19588
|
*/
|
|
19549
19589
|
|
|
19550
19590
|
/**
|
|
@@ -19715,7 +19755,7 @@ class FlowsApi {
|
|
|
19715
19755
|
/**
|
|
19716
19756
|
* Flows service.
|
|
19717
19757
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
19718
|
-
* @version
|
|
19758
|
+
* @version 165.0.0
|
|
19719
19759
|
*/
|
|
19720
19760
|
|
|
19721
19761
|
/**
|
|
@@ -19786,7 +19826,7 @@ class GamificationApi {
|
|
|
19786
19826
|
/**
|
|
19787
19827
|
* Gamification service.
|
|
19788
19828
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
19789
|
-
* @version
|
|
19829
|
+
* @version 165.0.0
|
|
19790
19830
|
*/
|
|
19791
19831
|
|
|
19792
19832
|
/**
|
|
@@ -21403,7 +21443,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
21403
21443
|
/**
|
|
21404
21444
|
* GeneralDataProtectionRegulation service.
|
|
21405
21445
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
21406
|
-
* @version
|
|
21446
|
+
* @version 165.0.0
|
|
21407
21447
|
*/
|
|
21408
21448
|
|
|
21409
21449
|
/**
|
|
@@ -21533,7 +21573,7 @@ class GeolocationApi {
|
|
|
21533
21573
|
/**
|
|
21534
21574
|
* Geolocation service.
|
|
21535
21575
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
21536
|
-
* @version
|
|
21576
|
+
* @version 165.0.0
|
|
21537
21577
|
*/
|
|
21538
21578
|
|
|
21539
21579
|
/**
|
|
@@ -21664,7 +21704,7 @@ class GreetingsApi {
|
|
|
21664
21704
|
/**
|
|
21665
21705
|
* Greetings service.
|
|
21666
21706
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
21667
|
-
* @version
|
|
21707
|
+
* @version 165.0.0
|
|
21668
21708
|
*/
|
|
21669
21709
|
|
|
21670
21710
|
/**
|
|
@@ -22119,7 +22159,7 @@ class GroupsApi {
|
|
|
22119
22159
|
/**
|
|
22120
22160
|
* Groups service.
|
|
22121
22161
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
22122
|
-
* @version
|
|
22162
|
+
* @version 165.0.0
|
|
22123
22163
|
*/
|
|
22124
22164
|
|
|
22125
22165
|
/**
|
|
@@ -22525,7 +22565,7 @@ class IdentityProviderApi {
|
|
|
22525
22565
|
/**
|
|
22526
22566
|
* IdentityProvider service.
|
|
22527
22567
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
22528
|
-
* @version
|
|
22568
|
+
* @version 165.0.0
|
|
22529
22569
|
*/
|
|
22530
22570
|
|
|
22531
22571
|
/**
|
|
@@ -23281,7 +23321,7 @@ class InfrastructureAsCodeApi {
|
|
|
23281
23321
|
/**
|
|
23282
23322
|
* InfrastructureAsCode service.
|
|
23283
23323
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
23284
|
-
* @version
|
|
23324
|
+
* @version 165.0.0
|
|
23285
23325
|
*/
|
|
23286
23326
|
|
|
23287
23327
|
/**
|
|
@@ -23383,7 +23423,7 @@ class IntegrationsApi {
|
|
|
23383
23423
|
/**
|
|
23384
23424
|
* Integrations service.
|
|
23385
23425
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
23386
|
-
* @version
|
|
23426
|
+
* @version 165.0.0
|
|
23387
23427
|
*/
|
|
23388
23428
|
|
|
23389
23429
|
/**
|
|
@@ -24983,7 +25023,7 @@ class JourneyApi {
|
|
|
24983
25023
|
/**
|
|
24984
25024
|
* Journey service.
|
|
24985
25025
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
24986
|
-
* @version
|
|
25026
|
+
* @version 165.0.0
|
|
24987
25027
|
*/
|
|
24988
25028
|
|
|
24989
25029
|
/**
|
|
@@ -25863,7 +25903,7 @@ class KnowledgeApi {
|
|
|
25863
25903
|
/**
|
|
25864
25904
|
* Knowledge service.
|
|
25865
25905
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
25866
|
-
* @version
|
|
25906
|
+
* @version 165.0.0
|
|
25867
25907
|
*/
|
|
25868
25908
|
|
|
25869
25909
|
/**
|
|
@@ -28295,7 +28335,7 @@ class LanguageUnderstandingApi {
|
|
|
28295
28335
|
/**
|
|
28296
28336
|
* LanguageUnderstanding service.
|
|
28297
28337
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
28298
|
-
* @version
|
|
28338
|
+
* @version 165.0.0
|
|
28299
28339
|
*/
|
|
28300
28340
|
|
|
28301
28341
|
/**
|
|
@@ -29308,7 +29348,7 @@ class LanguagesApi {
|
|
|
29308
29348
|
/**
|
|
29309
29349
|
* Languages service.
|
|
29310
29350
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
29311
|
-
* @version
|
|
29351
|
+
* @version 165.0.0
|
|
29312
29352
|
*/
|
|
29313
29353
|
|
|
29314
29354
|
/**
|
|
@@ -29526,7 +29566,7 @@ class LearningApi {
|
|
|
29526
29566
|
/**
|
|
29527
29567
|
* Learning service.
|
|
29528
29568
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
29529
|
-
* @version
|
|
29569
|
+
* @version 165.0.0
|
|
29530
29570
|
*/
|
|
29531
29571
|
|
|
29532
29572
|
/**
|
|
@@ -30341,7 +30381,7 @@ class LicenseApi {
|
|
|
30341
30381
|
/**
|
|
30342
30382
|
* License service.
|
|
30343
30383
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
30344
|
-
* @version
|
|
30384
|
+
* @version 165.0.0
|
|
30345
30385
|
*/
|
|
30346
30386
|
|
|
30347
30387
|
/**
|
|
@@ -30579,7 +30619,7 @@ class LocationsApi {
|
|
|
30579
30619
|
/**
|
|
30580
30620
|
* Locations service.
|
|
30581
30621
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
30582
|
-
* @version
|
|
30622
|
+
* @version 165.0.0
|
|
30583
30623
|
*/
|
|
30584
30624
|
|
|
30585
30625
|
/**
|
|
@@ -30815,7 +30855,7 @@ class MessagingApi {
|
|
|
30815
30855
|
/**
|
|
30816
30856
|
* Messaging service.
|
|
30817
30857
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
30818
|
-
* @version
|
|
30858
|
+
* @version 165.0.0
|
|
30819
30859
|
*/
|
|
30820
30860
|
|
|
30821
30861
|
/**
|
|
@@ -30966,7 +31006,7 @@ class MobileDevicesApi {
|
|
|
30966
31006
|
/**
|
|
30967
31007
|
* MobileDevices service.
|
|
30968
31008
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
30969
|
-
* @version
|
|
31009
|
+
* @version 165.0.0
|
|
30970
31010
|
*/
|
|
30971
31011
|
|
|
30972
31012
|
/**
|
|
@@ -31117,7 +31157,7 @@ class NotificationsApi {
|
|
|
31117
31157
|
/**
|
|
31118
31158
|
* Notifications service.
|
|
31119
31159
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
31120
|
-
* @version
|
|
31160
|
+
* @version 165.0.0
|
|
31121
31161
|
*/
|
|
31122
31162
|
|
|
31123
31163
|
/**
|
|
@@ -31350,7 +31390,7 @@ class OAuthApi {
|
|
|
31350
31390
|
/**
|
|
31351
31391
|
* OAuth service.
|
|
31352
31392
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
31353
|
-
* @version
|
|
31393
|
+
* @version 165.0.0
|
|
31354
31394
|
*/
|
|
31355
31395
|
|
|
31356
31396
|
/**
|
|
@@ -31716,7 +31756,7 @@ class ObjectsApi {
|
|
|
31716
31756
|
/**
|
|
31717
31757
|
* Objects service.
|
|
31718
31758
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
31719
|
-
* @version
|
|
31759
|
+
* @version 165.0.0
|
|
31720
31760
|
*/
|
|
31721
31761
|
|
|
31722
31762
|
/**
|
|
@@ -31987,7 +32027,7 @@ class OrganizationApi {
|
|
|
31987
32027
|
/**
|
|
31988
32028
|
* Organization service.
|
|
31989
32029
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
31990
|
-
* @version
|
|
32030
|
+
* @version 165.0.0
|
|
31991
32031
|
*/
|
|
31992
32032
|
|
|
31993
32033
|
/**
|
|
@@ -32390,7 +32430,7 @@ class OrganizationAuthorizationApi {
|
|
|
32390
32430
|
/**
|
|
32391
32431
|
* OrganizationAuthorization service.
|
|
32392
32432
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
32393
|
-
* @version
|
|
32433
|
+
* @version 165.0.0
|
|
32394
32434
|
*/
|
|
32395
32435
|
|
|
32396
32436
|
/**
|
|
@@ -33685,7 +33725,7 @@ class OutboundApi {
|
|
|
33685
33725
|
/**
|
|
33686
33726
|
* Outbound service.
|
|
33687
33727
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
33688
|
-
* @version
|
|
33728
|
+
* @version 165.0.0
|
|
33689
33729
|
*/
|
|
33690
33730
|
|
|
33691
33731
|
/**
|
|
@@ -37281,7 +37321,7 @@ class PresenceApi {
|
|
|
37281
37321
|
/**
|
|
37282
37322
|
* Presence service.
|
|
37283
37323
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
37284
|
-
* @version
|
|
37324
|
+
* @version 165.0.0
|
|
37285
37325
|
*/
|
|
37286
37326
|
|
|
37287
37327
|
/**
|
|
@@ -37832,7 +37872,7 @@ class ProcessAutomationApi {
|
|
|
37832
37872
|
/**
|
|
37833
37873
|
* ProcessAutomation service.
|
|
37834
37874
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
37835
|
-
* @version
|
|
37875
|
+
* @version 165.0.0
|
|
37836
37876
|
*/
|
|
37837
37877
|
|
|
37838
37878
|
/**
|
|
@@ -38071,7 +38111,7 @@ class QualityApi {
|
|
|
38071
38111
|
/**
|
|
38072
38112
|
* Quality service.
|
|
38073
38113
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
38074
|
-
* @version
|
|
38114
|
+
* @version 165.0.0
|
|
38075
38115
|
*/
|
|
38076
38116
|
|
|
38077
38117
|
/**
|
|
@@ -39650,7 +39690,7 @@ class RecordingApi {
|
|
|
39650
39690
|
/**
|
|
39651
39691
|
* Recording service.
|
|
39652
39692
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
39653
|
-
* @version
|
|
39693
|
+
* @version 165.0.0
|
|
39654
39694
|
*/
|
|
39655
39695
|
|
|
39656
39696
|
/**
|
|
@@ -41287,7 +41327,7 @@ class ResponseManagementApi {
|
|
|
41287
41327
|
/**
|
|
41288
41328
|
* ResponseManagement service.
|
|
41289
41329
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
41290
|
-
* @version
|
|
41330
|
+
* @version 165.0.0
|
|
41291
41331
|
*/
|
|
41292
41332
|
|
|
41293
41333
|
/**
|
|
@@ -41771,7 +41811,7 @@ class RoutingApi {
|
|
|
41771
41811
|
/**
|
|
41772
41812
|
* Routing service.
|
|
41773
41813
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
41774
|
-
* @version
|
|
41814
|
+
* @version 165.0.0
|
|
41775
41815
|
*/
|
|
41776
41816
|
|
|
41777
41817
|
/**
|
|
@@ -43714,6 +43754,7 @@ class RoutingApi {
|
|
|
43714
43754
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
43715
43755
|
* @param {Object} opts.sortBy Sort by (default to name)
|
|
43716
43756
|
* @param {Object} opts.sortOrder Sort order (default to ascending)
|
|
43757
|
+
* @param {Array.<String>} opts.id Filter by wrapup code ID(s)
|
|
43717
43758
|
* @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
|
|
43718
43759
|
* @param {Array.<String>} opts.divisionId Filter by division ID(s)
|
|
43719
43760
|
*/
|
|
@@ -43725,7 +43766,7 @@ class RoutingApi {
|
|
|
43725
43766
|
'/api/v2/routing/wrapupcodes',
|
|
43726
43767
|
'GET',
|
|
43727
43768
|
{ },
|
|
43728
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
43769
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
43729
43770
|
{ },
|
|
43730
43771
|
{ },
|
|
43731
43772
|
null,
|
|
@@ -45277,7 +45318,7 @@ class SCIMApi {
|
|
|
45277
45318
|
/**
|
|
45278
45319
|
* SCIM service.
|
|
45279
45320
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
45280
|
-
* @version
|
|
45321
|
+
* @version 165.0.0
|
|
45281
45322
|
*/
|
|
45282
45323
|
|
|
45283
45324
|
/**
|
|
@@ -46154,7 +46195,7 @@ class ScriptsApi {
|
|
|
46154
46195
|
/**
|
|
46155
46196
|
* Scripts service.
|
|
46156
46197
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
46157
|
-
* @version
|
|
46198
|
+
* @version 165.0.0
|
|
46158
46199
|
*/
|
|
46159
46200
|
|
|
46160
46201
|
/**
|
|
@@ -46573,7 +46614,7 @@ class SearchApi {
|
|
|
46573
46614
|
/**
|
|
46574
46615
|
* Search service.
|
|
46575
46616
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
46576
|
-
* @version
|
|
46617
|
+
* @version 165.0.0
|
|
46577
46618
|
*/
|
|
46578
46619
|
|
|
46579
46620
|
/**
|
|
@@ -47183,7 +47224,7 @@ class SpeechTextAnalyticsApi {
|
|
|
47183
47224
|
/**
|
|
47184
47225
|
* SpeechTextAnalytics service.
|
|
47185
47226
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
47186
|
-
* @version
|
|
47227
|
+
* @version 165.0.0
|
|
47187
47228
|
*/
|
|
47188
47229
|
|
|
47189
47230
|
/**
|
|
@@ -48112,7 +48153,7 @@ class StationsApi {
|
|
|
48112
48153
|
/**
|
|
48113
48154
|
* Stations service.
|
|
48114
48155
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
48115
|
-
* @version
|
|
48156
|
+
* @version 165.0.0
|
|
48116
48157
|
*/
|
|
48117
48158
|
|
|
48118
48159
|
/**
|
|
@@ -48259,7 +48300,7 @@ class SuggestApi {
|
|
|
48259
48300
|
/**
|
|
48260
48301
|
* Suggest service.
|
|
48261
48302
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
48262
|
-
* @version
|
|
48303
|
+
* @version 165.0.0
|
|
48263
48304
|
*/
|
|
48264
48305
|
|
|
48265
48306
|
/**
|
|
@@ -48398,7 +48439,7 @@ class TeamsApi {
|
|
|
48398
48439
|
/**
|
|
48399
48440
|
* Teams service.
|
|
48400
48441
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
48401
|
-
* @version
|
|
48442
|
+
* @version 165.0.0
|
|
48402
48443
|
*/
|
|
48403
48444
|
|
|
48404
48445
|
/**
|
|
@@ -48669,7 +48710,7 @@ class TelephonyApi {
|
|
|
48669
48710
|
/**
|
|
48670
48711
|
* Telephony service.
|
|
48671
48712
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
48672
|
-
* @version
|
|
48713
|
+
* @version 165.0.0
|
|
48673
48714
|
*/
|
|
48674
48715
|
|
|
48675
48716
|
/**
|
|
@@ -48797,7 +48838,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
48797
48838
|
/**
|
|
48798
48839
|
* TelephonyProvidersEdge service.
|
|
48799
48840
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
48800
|
-
* @version
|
|
48841
|
+
* @version 165.0.0
|
|
48801
48842
|
*/
|
|
48802
48843
|
|
|
48803
48844
|
/**
|
|
@@ -49450,66 +49491,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
49450
49491
|
);
|
|
49451
49492
|
}
|
|
49452
49493
|
|
|
49453
|
-
/**
|
|
49454
|
-
* Get line
|
|
49455
|
-
*
|
|
49456
|
-
* @param {String} edgeId Edge ID
|
|
49457
|
-
* @param {String} lineId Line ID
|
|
49458
|
-
*/
|
|
49459
|
-
getTelephonyProvidersEdgeLine(edgeId, lineId) {
|
|
49460
|
-
// verify the required parameter 'edgeId' is set
|
|
49461
|
-
if (edgeId === undefined || edgeId === null) {
|
|
49462
|
-
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeLine';
|
|
49463
|
-
}
|
|
49464
|
-
// verify the required parameter 'lineId' is set
|
|
49465
|
-
if (lineId === undefined || lineId === null) {
|
|
49466
|
-
throw 'Missing the required parameter "lineId" when calling getTelephonyProvidersEdgeLine';
|
|
49467
|
-
}
|
|
49468
|
-
|
|
49469
|
-
return this.apiClient.callApi(
|
|
49470
|
-
'/api/v2/telephony/providers/edges/{edgeId}/lines/{lineId}',
|
|
49471
|
-
'GET',
|
|
49472
|
-
{ 'edgeId': edgeId,'lineId': lineId },
|
|
49473
|
-
{ },
|
|
49474
|
-
{ },
|
|
49475
|
-
{ },
|
|
49476
|
-
null,
|
|
49477
|
-
['PureCloud OAuth'],
|
|
49478
|
-
['application/json'],
|
|
49479
|
-
['application/json']
|
|
49480
|
-
);
|
|
49481
|
-
}
|
|
49482
|
-
|
|
49483
|
-
/**
|
|
49484
|
-
* Get the list of lines.
|
|
49485
|
-
*
|
|
49486
|
-
* @param {String} edgeId Edge ID
|
|
49487
|
-
* @param {Object} opts Optional parameters
|
|
49488
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
49489
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
49490
|
-
*/
|
|
49491
|
-
getTelephonyProvidersEdgeLines(edgeId, opts) {
|
|
49492
|
-
opts = opts || {};
|
|
49493
|
-
|
|
49494
|
-
// verify the required parameter 'edgeId' is set
|
|
49495
|
-
if (edgeId === undefined || edgeId === null) {
|
|
49496
|
-
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeLines';
|
|
49497
|
-
}
|
|
49498
|
-
|
|
49499
|
-
return this.apiClient.callApi(
|
|
49500
|
-
'/api/v2/telephony/providers/edges/{edgeId}/lines',
|
|
49501
|
-
'GET',
|
|
49502
|
-
{ 'edgeId': edgeId },
|
|
49503
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
49504
|
-
{ },
|
|
49505
|
-
{ },
|
|
49506
|
-
null,
|
|
49507
|
-
['PureCloud OAuth'],
|
|
49508
|
-
['application/json'],
|
|
49509
|
-
['application/json']
|
|
49510
|
-
);
|
|
49511
|
-
}
|
|
49512
|
-
|
|
49513
49494
|
/**
|
|
49514
49495
|
* Get an edge logical interface
|
|
49515
49496
|
*
|
|
@@ -50347,7 +50328,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
50347
50328
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
50348
50329
|
* @param {String} opts.name Name
|
|
50349
50330
|
* @param {String} opts.sortBy Value by which to sort (default to name)
|
|
50350
|
-
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
|
|
50331
|
+
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated. The edgeGroup value is deprecated.
|
|
50351
50332
|
*/
|
|
50352
50333
|
getTelephonyProvidersEdgesLines(opts) {
|
|
50353
50334
|
opts = opts || {};
|
|
@@ -51900,41 +51881,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
51900
51881
|
);
|
|
51901
51882
|
}
|
|
51902
51883
|
|
|
51903
|
-
/**
|
|
51904
|
-
* Update a line.
|
|
51905
|
-
*
|
|
51906
|
-
* @param {String} edgeId Edge ID
|
|
51907
|
-
* @param {String} lineId Line ID
|
|
51908
|
-
* @param {Object} body Line
|
|
51909
|
-
*/
|
|
51910
|
-
putTelephonyProvidersEdgeLine(edgeId, lineId, body) {
|
|
51911
|
-
// verify the required parameter 'edgeId' is set
|
|
51912
|
-
if (edgeId === undefined || edgeId === null) {
|
|
51913
|
-
throw 'Missing the required parameter "edgeId" when calling putTelephonyProvidersEdgeLine';
|
|
51914
|
-
}
|
|
51915
|
-
// verify the required parameter 'lineId' is set
|
|
51916
|
-
if (lineId === undefined || lineId === null) {
|
|
51917
|
-
throw 'Missing the required parameter "lineId" when calling putTelephonyProvidersEdgeLine';
|
|
51918
|
-
}
|
|
51919
|
-
// verify the required parameter 'body' is set
|
|
51920
|
-
if (body === undefined || body === null) {
|
|
51921
|
-
throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgeLine';
|
|
51922
|
-
}
|
|
51923
|
-
|
|
51924
|
-
return this.apiClient.callApi(
|
|
51925
|
-
'/api/v2/telephony/providers/edges/{edgeId}/lines/{lineId}',
|
|
51926
|
-
'PUT',
|
|
51927
|
-
{ 'edgeId': edgeId,'lineId': lineId },
|
|
51928
|
-
{ },
|
|
51929
|
-
{ },
|
|
51930
|
-
{ },
|
|
51931
|
-
body,
|
|
51932
|
-
['PureCloud OAuth'],
|
|
51933
|
-
['application/json'],
|
|
51934
|
-
['application/json']
|
|
51935
|
-
);
|
|
51936
|
-
}
|
|
51937
|
-
|
|
51938
51884
|
/**
|
|
51939
51885
|
* Update an edge logical interface.
|
|
51940
51886
|
*
|
|
@@ -52406,7 +52352,7 @@ class TextbotsApi {
|
|
|
52406
52352
|
/**
|
|
52407
52353
|
* Textbots service.
|
|
52408
52354
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
52409
|
-
* @version
|
|
52355
|
+
* @version 165.0.0
|
|
52410
52356
|
*/
|
|
52411
52357
|
|
|
52412
52358
|
/**
|
|
@@ -52534,7 +52480,7 @@ class TokensApi {
|
|
|
52534
52480
|
/**
|
|
52535
52481
|
* Tokens service.
|
|
52536
52482
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
52537
|
-
* @version
|
|
52483
|
+
* @version 165.0.0
|
|
52538
52484
|
*/
|
|
52539
52485
|
|
|
52540
52486
|
/**
|
|
@@ -52640,7 +52586,7 @@ class UploadsApi {
|
|
|
52640
52586
|
/**
|
|
52641
52587
|
* Uploads service.
|
|
52642
52588
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
52643
|
-
* @version
|
|
52589
|
+
* @version 165.0.0
|
|
52644
52590
|
*/
|
|
52645
52591
|
|
|
52646
52592
|
/**
|
|
@@ -52816,7 +52762,7 @@ class UsageApi {
|
|
|
52816
52762
|
/**
|
|
52817
52763
|
* Usage service.
|
|
52818
52764
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
52819
|
-
* @version
|
|
52765
|
+
* @version 165.0.0
|
|
52820
52766
|
*/
|
|
52821
52767
|
|
|
52822
52768
|
/**
|
|
@@ -52831,6 +52777,65 @@ class UsageApi {
|
|
|
52831
52777
|
}
|
|
52832
52778
|
|
|
52833
52779
|
|
|
52780
|
+
/**
|
|
52781
|
+
* Get the results of a usage query
|
|
52782
|
+
*
|
|
52783
|
+
* @param {String} executionId ID of the query execution
|
|
52784
|
+
* @param {String} clientId Client ID
|
|
52785
|
+
*/
|
|
52786
|
+
getOauthClientUsageQueryResult(executionId, clientId) {
|
|
52787
|
+
// verify the required parameter 'executionId' is set
|
|
52788
|
+
if (executionId === undefined || executionId === null) {
|
|
52789
|
+
throw 'Missing the required parameter "executionId" when calling getOauthClientUsageQueryResult';
|
|
52790
|
+
}
|
|
52791
|
+
// verify the required parameter 'clientId' is set
|
|
52792
|
+
if (clientId === undefined || clientId === null) {
|
|
52793
|
+
throw 'Missing the required parameter "clientId" when calling getOauthClientUsageQueryResult';
|
|
52794
|
+
}
|
|
52795
|
+
|
|
52796
|
+
return this.apiClient.callApi(
|
|
52797
|
+
'/api/v2/oauth/clients/{clientId}/usage/query/results/{executionId}',
|
|
52798
|
+
'GET',
|
|
52799
|
+
{ 'executionId': executionId,'clientId': clientId },
|
|
52800
|
+
{ },
|
|
52801
|
+
{ },
|
|
52802
|
+
{ },
|
|
52803
|
+
null,
|
|
52804
|
+
['PureCloud OAuth'],
|
|
52805
|
+
['application/json'],
|
|
52806
|
+
['application/json']
|
|
52807
|
+
);
|
|
52808
|
+
}
|
|
52809
|
+
|
|
52810
|
+
/**
|
|
52811
|
+
* Get a summary of OAuth client API usage
|
|
52812
|
+
* After calling this method, you will then need to poll for the query results based on the returned execution Id
|
|
52813
|
+
* @param {String} clientId Client ID
|
|
52814
|
+
* @param {Object} opts Optional parameters
|
|
52815
|
+
* @param {String} opts.days Previous number of days to query (default to 7)
|
|
52816
|
+
*/
|
|
52817
|
+
getOauthClientUsageSummary(clientId, opts) {
|
|
52818
|
+
opts = opts || {};
|
|
52819
|
+
|
|
52820
|
+
// verify the required parameter 'clientId' is set
|
|
52821
|
+
if (clientId === undefined || clientId === null) {
|
|
52822
|
+
throw 'Missing the required parameter "clientId" when calling getOauthClientUsageSummary';
|
|
52823
|
+
}
|
|
52824
|
+
|
|
52825
|
+
return this.apiClient.callApi(
|
|
52826
|
+
'/api/v2/oauth/clients/{clientId}/usage/summary',
|
|
52827
|
+
'GET',
|
|
52828
|
+
{ 'clientId': clientId },
|
|
52829
|
+
{ 'days': opts['days'] },
|
|
52830
|
+
{ },
|
|
52831
|
+
{ },
|
|
52832
|
+
null,
|
|
52833
|
+
['PureCloud OAuth'],
|
|
52834
|
+
['application/json'],
|
|
52835
|
+
['application/json']
|
|
52836
|
+
);
|
|
52837
|
+
}
|
|
52838
|
+
|
|
52834
52839
|
/**
|
|
52835
52840
|
* Get the results of a usage query
|
|
52836
52841
|
*
|
|
@@ -52856,6 +52861,36 @@ class UsageApi {
|
|
|
52856
52861
|
);
|
|
52857
52862
|
}
|
|
52858
52863
|
|
|
52864
|
+
/**
|
|
52865
|
+
* Query for OAuth client API usage
|
|
52866
|
+
* After calling this method, you will then need to poll for the query results based on the returned execution Id
|
|
52867
|
+
* @param {String} clientId Client ID
|
|
52868
|
+
* @param {Object} body Query
|
|
52869
|
+
*/
|
|
52870
|
+
postOauthClientUsageQuery(clientId, body) {
|
|
52871
|
+
// verify the required parameter 'clientId' is set
|
|
52872
|
+
if (clientId === undefined || clientId === null) {
|
|
52873
|
+
throw 'Missing the required parameter "clientId" when calling postOauthClientUsageQuery';
|
|
52874
|
+
}
|
|
52875
|
+
// verify the required parameter 'body' is set
|
|
52876
|
+
if (body === undefined || body === null) {
|
|
52877
|
+
throw 'Missing the required parameter "body" when calling postOauthClientUsageQuery';
|
|
52878
|
+
}
|
|
52879
|
+
|
|
52880
|
+
return this.apiClient.callApi(
|
|
52881
|
+
'/api/v2/oauth/clients/{clientId}/usage/query',
|
|
52882
|
+
'POST',
|
|
52883
|
+
{ 'clientId': clientId },
|
|
52884
|
+
{ },
|
|
52885
|
+
{ },
|
|
52886
|
+
{ },
|
|
52887
|
+
body,
|
|
52888
|
+
['PureCloud OAuth'],
|
|
52889
|
+
['application/json'],
|
|
52890
|
+
['application/json']
|
|
52891
|
+
);
|
|
52892
|
+
}
|
|
52893
|
+
|
|
52859
52894
|
/**
|
|
52860
52895
|
* Query organization API Usage -
|
|
52861
52896
|
* After calling this method, you will then need to poll for the query results based on the returned execution Id
|
|
@@ -52887,7 +52922,7 @@ class UserRecordingsApi {
|
|
|
52887
52922
|
/**
|
|
52888
52923
|
* UserRecordings service.
|
|
52889
52924
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
52890
|
-
* @version
|
|
52925
|
+
* @version 165.0.0
|
|
52891
52926
|
*/
|
|
52892
52927
|
|
|
52893
52928
|
/**
|
|
@@ -53072,7 +53107,7 @@ class UsersApi {
|
|
|
53072
53107
|
/**
|
|
53073
53108
|
* Users service.
|
|
53074
53109
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
53075
|
-
* @version
|
|
53110
|
+
* @version 165.0.0
|
|
53076
53111
|
*/
|
|
53077
53112
|
|
|
53078
53113
|
/**
|
|
@@ -54181,6 +54216,7 @@ class UsersApi {
|
|
|
54181
54216
|
* @param {String} opts.interval Specifies the dateDue range to be queried. Milliseconds will be truncated. A maximum of 1 year can be specified in the range. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
|
|
54182
54217
|
* @param {String} opts.completionInterval Specifies the range of completion dates to be used for filtering. A maximum of 1 year can be specified in the range. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
|
|
54183
54218
|
* @param {Object} opts.overdue Specifies if non-overdue, overdue, or all activities are returned. If not specified, all activities are returned (default to Any)
|
|
54219
|
+
* @param {Object} opts.pass Specifies if only the failed (pass is False) or passed (pass is True) activities are returned. If pass is Any or if the pass parameter is not supplied, all activities are returned (default to Any)
|
|
54184
54220
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
54185
54221
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
54186
54222
|
* @param {Object} opts.sortOrder Specifies result set sort order sorted by the date due; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
@@ -54196,7 +54232,7 @@ class UsersApi {
|
|
|
54196
54232
|
'/api/v2/users/development/activities',
|
|
54197
54233
|
'GET',
|
|
54198
54234
|
{ },
|
|
54199
|
-
{ 'userId': this.apiClient.buildCollectionParam(opts['userId'], 'multi'),'moduleId': opts['moduleId'],'interval': opts['interval'],'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'types': this.apiClient.buildCollectionParam(opts['types'], 'multi'),'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'relationship': this.apiClient.buildCollectionParam(opts['relationship'], 'multi') },
|
|
54235
|
+
{ 'userId': this.apiClient.buildCollectionParam(opts['userId'], 'multi'),'moduleId': opts['moduleId'],'interval': opts['interval'],'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'pass': opts['pass'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'types': this.apiClient.buildCollectionParam(opts['types'], 'multi'),'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'relationship': this.apiClient.buildCollectionParam(opts['relationship'], 'multi') },
|
|
54200
54236
|
{ },
|
|
54201
54237
|
{ },
|
|
54202
54238
|
null,
|
|
@@ -54214,6 +54250,7 @@ class UsersApi {
|
|
|
54214
54250
|
* @param {String} opts.interval Specifies the dateDue range to be queried. Milliseconds will be truncated. A maximum of 1 year can be specified in the range. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
|
|
54215
54251
|
* @param {String} opts.completionInterval Specifies the range of completion dates to be used for filtering. A maximum of 1 year can be specified in the range. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
|
|
54216
54252
|
* @param {Object} opts.overdue Specifies if non-overdue, overdue, or all activities are returned. If not specified, all activities are returned (default to Any)
|
|
54253
|
+
* @param {Object} opts.pass Specifies if only the failed (pass is False) or passed (pass is True) activities are returned. If pass is Any or if the pass parameter is not supplied, all activities are returned (default to Any)
|
|
54217
54254
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
54218
54255
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
54219
54256
|
* @param {Object} opts.sortOrder Specifies result set sort order sorted by the date due; if not specified, default sort order is descending (Desc) (default to Desc)
|
|
@@ -54229,7 +54266,7 @@ class UsersApi {
|
|
|
54229
54266
|
'/api/v2/users/development/activities/me',
|
|
54230
54267
|
'GET',
|
|
54231
54268
|
{ },
|
|
54232
|
-
{ 'moduleId': opts['moduleId'],'interval': opts['interval'],'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'types': this.apiClient.buildCollectionParam(opts['types'], 'multi'),'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'relationship': this.apiClient.buildCollectionParam(opts['relationship'], 'multi') },
|
|
54269
|
+
{ 'moduleId': opts['moduleId'],'interval': opts['interval'],'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'pass': opts['pass'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'types': this.apiClient.buildCollectionParam(opts['types'], 'multi'),'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'relationship': this.apiClient.buildCollectionParam(opts['relationship'], 'multi') },
|
|
54233
54270
|
{ },
|
|
54234
54271
|
{ },
|
|
54235
54272
|
null,
|
|
@@ -55460,7 +55497,7 @@ class UtilitiesApi {
|
|
|
55460
55497
|
/**
|
|
55461
55498
|
* Utilities service.
|
|
55462
55499
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
55463
|
-
* @version
|
|
55500
|
+
* @version 165.0.0
|
|
55464
55501
|
*/
|
|
55465
55502
|
|
|
55466
55503
|
/**
|
|
@@ -55571,7 +55608,7 @@ class VoicemailApi {
|
|
|
55571
55608
|
/**
|
|
55572
55609
|
* Voicemail service.
|
|
55573
55610
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
55574
|
-
* @version
|
|
55611
|
+
* @version 165.0.0
|
|
55575
55612
|
*/
|
|
55576
55613
|
|
|
55577
55614
|
/**
|
|
@@ -56238,7 +56275,7 @@ class WebChatApi {
|
|
|
56238
56275
|
/**
|
|
56239
56276
|
* WebChat service.
|
|
56240
56277
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
56241
|
-
* @version
|
|
56278
|
+
* @version 165.0.0
|
|
56242
56279
|
*/
|
|
56243
56280
|
|
|
56244
56281
|
/**
|
|
@@ -56782,7 +56819,7 @@ class WebDeploymentsApi {
|
|
|
56782
56819
|
/**
|
|
56783
56820
|
* WebDeployments service.
|
|
56784
56821
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
56785
|
-
* @version
|
|
56822
|
+
* @version 165.0.0
|
|
56786
56823
|
*/
|
|
56787
56824
|
|
|
56788
56825
|
/**
|
|
@@ -57304,7 +57341,7 @@ class WebMessagingApi {
|
|
|
57304
57341
|
/**
|
|
57305
57342
|
* WebMessaging service.
|
|
57306
57343
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
57307
|
-
* @version
|
|
57344
|
+
* @version 165.0.0
|
|
57308
57345
|
*/
|
|
57309
57346
|
|
|
57310
57347
|
/**
|
|
@@ -57350,7 +57387,7 @@ class WidgetsApi {
|
|
|
57350
57387
|
/**
|
|
57351
57388
|
* Widgets service.
|
|
57352
57389
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
57353
|
-
* @version
|
|
57390
|
+
* @version 165.0.0
|
|
57354
57391
|
*/
|
|
57355
57392
|
|
|
57356
57393
|
/**
|
|
@@ -57496,7 +57533,7 @@ class WorkforceManagementApi {
|
|
|
57496
57533
|
/**
|
|
57497
57534
|
* WorkforceManagement service.
|
|
57498
57535
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
57499
|
-
* @version
|
|
57536
|
+
* @version 165.0.0
|
|
57500
57537
|
*/
|
|
57501
57538
|
|
|
57502
57539
|
/**
|
|
@@ -62240,7 +62277,7 @@ class WorkforceManagementApi {
|
|
|
62240
62277
|
* </pre>
|
|
62241
62278
|
* </p>
|
|
62242
62279
|
* @module purecloud-platform-client-v2/index
|
|
62243
|
-
* @version
|
|
62280
|
+
* @version 165.0.0
|
|
62244
62281
|
*/
|
|
62245
62282
|
class platformClient {
|
|
62246
62283
|
constructor() {
|