purecloud-platform-client-v2 232.0.0 → 234.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 +3 -3
- package/dist/node/purecloud-platform-client-v2.js +327 -974
- package/dist/web-amd/purecloud-platform-client-v2.js +327 -974
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +151 -375
- package/dist/web-cjs/purecloud-platform-client-v2.js +218 -497
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +639 -580
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +3 -32
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.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/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.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 +11 -5
- 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 +61 -880
- 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/LogCaptureApi.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/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +26 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +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 +156 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -31
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +7 -3
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +3 -2
- 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/TaskManagementApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +2 -2
- 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
|
@@ -5,7 +5,7 @@ class OutboundApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Outbound service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 234.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -3223,6 +3223,31 @@ class OutboundApi {
|
|
|
3223
3223
|
);
|
|
3224
3224
|
}
|
|
3225
3225
|
|
|
3226
|
+
/**
|
|
3227
|
+
* Get performance data for a list of campaigns
|
|
3228
|
+
*
|
|
3229
|
+
* @param {Array.<String>} body Campaign IDs. Maximum of 50 IDs allowed.
|
|
3230
|
+
*/
|
|
3231
|
+
postOutboundCampaignsPerformanceQuery(body) {
|
|
3232
|
+
// verify the required parameter 'body' is set
|
|
3233
|
+
if (body === undefined || body === null) {
|
|
3234
|
+
throw 'Missing the required parameter "body" when calling postOutboundCampaignsPerformanceQuery';
|
|
3235
|
+
}
|
|
3236
|
+
|
|
3237
|
+
return this.apiClient.callApi(
|
|
3238
|
+
'/api/v2/outbound/campaigns/performance/query',
|
|
3239
|
+
'POST',
|
|
3240
|
+
{ },
|
|
3241
|
+
{ },
|
|
3242
|
+
{ },
|
|
3243
|
+
{ },
|
|
3244
|
+
body,
|
|
3245
|
+
['PureCloud OAuth'],
|
|
3246
|
+
['application/json'],
|
|
3247
|
+
['application/json']
|
|
3248
|
+
);
|
|
3249
|
+
}
|
|
3250
|
+
|
|
3226
3251
|
/**
|
|
3227
3252
|
* Get progress for a list of campaigns
|
|
3228
3253
|
*
|
|
@@ -5,7 +5,7 @@ class RoutingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Routing service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 234.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -820,6 +820,56 @@ class RoutingApi {
|
|
|
820
820
|
);
|
|
821
821
|
}
|
|
822
822
|
|
|
823
|
+
/**
|
|
824
|
+
* Get domain dkim settings
|
|
825
|
+
*
|
|
826
|
+
* @param {String} domainId domain ID
|
|
827
|
+
*/
|
|
828
|
+
getRoutingEmailDomainDkim(domainId) {
|
|
829
|
+
// verify the required parameter 'domainId' is set
|
|
830
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
831
|
+
throw 'Missing the required parameter "domainId" when calling getRoutingEmailDomainDkim';
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
return this.apiClient.callApi(
|
|
835
|
+
'/api/v2/routing/email/domains/{domainId}/dkim',
|
|
836
|
+
'GET',
|
|
837
|
+
{ 'domainId': domainId },
|
|
838
|
+
{ },
|
|
839
|
+
{ },
|
|
840
|
+
{ },
|
|
841
|
+
null,
|
|
842
|
+
['PureCloud OAuth'],
|
|
843
|
+
['application/json'],
|
|
844
|
+
['application/json']
|
|
845
|
+
);
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* Get domain mail from settings
|
|
850
|
+
*
|
|
851
|
+
* @param {String} domainId domain ID
|
|
852
|
+
*/
|
|
853
|
+
getRoutingEmailDomainMailfrom(domainId) {
|
|
854
|
+
// verify the required parameter 'domainId' is set
|
|
855
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
856
|
+
throw 'Missing the required parameter "domainId" when calling getRoutingEmailDomainMailfrom';
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
return this.apiClient.callApi(
|
|
860
|
+
'/api/v2/routing/email/domains/{domainId}/mailfrom',
|
|
861
|
+
'GET',
|
|
862
|
+
{ 'domainId': domainId },
|
|
863
|
+
{ },
|
|
864
|
+
{ },
|
|
865
|
+
{ },
|
|
866
|
+
null,
|
|
867
|
+
['PureCloud OAuth'],
|
|
868
|
+
['application/json'],
|
|
869
|
+
['application/json']
|
|
870
|
+
);
|
|
871
|
+
}
|
|
872
|
+
|
|
823
873
|
/**
|
|
824
874
|
* Get a route
|
|
825
875
|
*
|
|
@@ -916,6 +966,31 @@ class RoutingApi {
|
|
|
916
966
|
);
|
|
917
967
|
}
|
|
918
968
|
|
|
969
|
+
/**
|
|
970
|
+
* Get domain verification settings
|
|
971
|
+
*
|
|
972
|
+
* @param {String} domainId domain ID
|
|
973
|
+
*/
|
|
974
|
+
getRoutingEmailDomainVerification(domainId) {
|
|
975
|
+
// verify the required parameter 'domainId' is set
|
|
976
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
977
|
+
throw 'Missing the required parameter "domainId" when calling getRoutingEmailDomainVerification';
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
return this.apiClient.callApi(
|
|
981
|
+
'/api/v2/routing/email/domains/{domainId}/verification',
|
|
982
|
+
'GET',
|
|
983
|
+
{ 'domainId': domainId },
|
|
984
|
+
{ },
|
|
985
|
+
{ },
|
|
986
|
+
{ },
|
|
987
|
+
null,
|
|
988
|
+
['PureCloud OAuth'],
|
|
989
|
+
['application/json'],
|
|
990
|
+
['application/json']
|
|
991
|
+
);
|
|
992
|
+
}
|
|
993
|
+
|
|
919
994
|
/**
|
|
920
995
|
* Get domains
|
|
921
996
|
*
|
|
@@ -3204,6 +3279,61 @@ class RoutingApi {
|
|
|
3204
3279
|
);
|
|
3205
3280
|
}
|
|
3206
3281
|
|
|
3282
|
+
/**
|
|
3283
|
+
* Restart domain dkim
|
|
3284
|
+
*
|
|
3285
|
+
* @param {String} domainId domain ID
|
|
3286
|
+
*/
|
|
3287
|
+
postRoutingEmailDomainDkim(domainId) {
|
|
3288
|
+
// verify the required parameter 'domainId' is set
|
|
3289
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
3290
|
+
throw 'Missing the required parameter "domainId" when calling postRoutingEmailDomainDkim';
|
|
3291
|
+
}
|
|
3292
|
+
|
|
3293
|
+
return this.apiClient.callApi(
|
|
3294
|
+
'/api/v2/routing/email/domains/{domainId}/dkim',
|
|
3295
|
+
'POST',
|
|
3296
|
+
{ 'domainId': domainId },
|
|
3297
|
+
{ },
|
|
3298
|
+
{ },
|
|
3299
|
+
{ },
|
|
3300
|
+
null,
|
|
3301
|
+
['PureCloud OAuth'],
|
|
3302
|
+
['application/json'],
|
|
3303
|
+
['application/json']
|
|
3304
|
+
);
|
|
3305
|
+
}
|
|
3306
|
+
|
|
3307
|
+
/**
|
|
3308
|
+
* Set domain mail from settings
|
|
3309
|
+
*
|
|
3310
|
+
* @param {String} domainId domain ID
|
|
3311
|
+
* @param {Object} body Mail From Settings
|
|
3312
|
+
*/
|
|
3313
|
+
postRoutingEmailDomainMailfrom(domainId, body) {
|
|
3314
|
+
// verify the required parameter 'domainId' is set
|
|
3315
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
3316
|
+
throw 'Missing the required parameter "domainId" when calling postRoutingEmailDomainMailfrom';
|
|
3317
|
+
}
|
|
3318
|
+
// verify the required parameter 'body' is set
|
|
3319
|
+
if (body === undefined || body === null) {
|
|
3320
|
+
throw 'Missing the required parameter "body" when calling postRoutingEmailDomainMailfrom';
|
|
3321
|
+
}
|
|
3322
|
+
|
|
3323
|
+
return this.apiClient.callApi(
|
|
3324
|
+
'/api/v2/routing/email/domains/{domainId}/mailfrom',
|
|
3325
|
+
'POST',
|
|
3326
|
+
{ 'domainId': domainId },
|
|
3327
|
+
{ },
|
|
3328
|
+
{ },
|
|
3329
|
+
{ },
|
|
3330
|
+
body,
|
|
3331
|
+
['PureCloud OAuth'],
|
|
3332
|
+
['application/json'],
|
|
3333
|
+
['application/json']
|
|
3334
|
+
);
|
|
3335
|
+
}
|
|
3336
|
+
|
|
3207
3337
|
/**
|
|
3208
3338
|
* Create a route
|
|
3209
3339
|
*
|
|
@@ -3263,6 +3393,31 @@ class RoutingApi {
|
|
|
3263
3393
|
);
|
|
3264
3394
|
}
|
|
3265
3395
|
|
|
3396
|
+
/**
|
|
3397
|
+
* Restart domain verification
|
|
3398
|
+
*
|
|
3399
|
+
* @param {String} domainId domain ID
|
|
3400
|
+
*/
|
|
3401
|
+
postRoutingEmailDomainVerification(domainId) {
|
|
3402
|
+
// verify the required parameter 'domainId' is set
|
|
3403
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
3404
|
+
throw 'Missing the required parameter "domainId" when calling postRoutingEmailDomainVerification';
|
|
3405
|
+
}
|
|
3406
|
+
|
|
3407
|
+
return this.apiClient.callApi(
|
|
3408
|
+
'/api/v2/routing/email/domains/{domainId}/verification',
|
|
3409
|
+
'POST',
|
|
3410
|
+
{ 'domainId': domainId },
|
|
3411
|
+
{ },
|
|
3412
|
+
{ },
|
|
3413
|
+
{ },
|
|
3414
|
+
null,
|
|
3415
|
+
['PureCloud OAuth'],
|
|
3416
|
+
['application/json'],
|
|
3417
|
+
['application/json']
|
|
3418
|
+
);
|
|
3419
|
+
}
|
|
3420
|
+
|
|
3266
3421
|
/**
|
|
3267
3422
|
* Create a domain
|
|
3268
3423
|
*
|
|
@@ -5,7 +5,7 @@ class SearchApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Search service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 234.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -402,36 +402,6 @@ class SearchApi {
|
|
|
402
402
|
);
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
-
/**
|
|
406
|
-
* Search Documents
|
|
407
|
-
*
|
|
408
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
409
|
-
* @param {Object} opts Optional parameters
|
|
410
|
-
* @param {Object} opts.body
|
|
411
|
-
* @deprecated
|
|
412
|
-
*/
|
|
413
|
-
postKnowledgeKnowledgebaseSearch(knowledgeBaseId, opts) {
|
|
414
|
-
opts = opts || {};
|
|
415
|
-
|
|
416
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
417
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
418
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
return this.apiClient.callApi(
|
|
422
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search',
|
|
423
|
-
'POST',
|
|
424
|
-
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
425
|
-
{ },
|
|
426
|
-
{ },
|
|
427
|
-
{ },
|
|
428
|
-
opts['body'],
|
|
429
|
-
['PureCloud OAuth'],
|
|
430
|
-
['application/json'],
|
|
431
|
-
['application/json']
|
|
432
|
-
);
|
|
433
|
-
}
|
|
434
|
-
|
|
435
405
|
/**
|
|
436
406
|
* Search locations
|
|
437
407
|
*
|
|
@@ -5,7 +5,7 @@ class SocialMediaApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* SocialMedia service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 234.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -348,8 +348,12 @@ class SocialMediaApi {
|
|
|
348
348
|
* Get a single escalation rule.
|
|
349
349
|
*
|
|
350
350
|
* @param {String} escalationRuleId escalationRuleId
|
|
351
|
+
* @param {Object} opts Optional parameters
|
|
352
|
+
* @param {Object} opts.expand which fields, if any, to expand
|
|
351
353
|
*/
|
|
352
|
-
getSocialmediaEscalationrule(escalationRuleId) {
|
|
354
|
+
getSocialmediaEscalationrule(escalationRuleId, opts) {
|
|
355
|
+
opts = opts || {};
|
|
356
|
+
|
|
353
357
|
// verify the required parameter 'escalationRuleId' is set
|
|
354
358
|
if (escalationRuleId === undefined || escalationRuleId === null || escalationRuleId === '') {
|
|
355
359
|
throw 'Missing the required parameter "escalationRuleId" when calling getSocialmediaEscalationrule';
|
|
@@ -359,7 +363,7 @@ class SocialMediaApi {
|
|
|
359
363
|
'/api/v2/socialmedia/escalationrules/{escalationRuleId}',
|
|
360
364
|
'GET',
|
|
361
365
|
{ 'escalationRuleId': escalationRuleId },
|
|
362
|
-
{
|
|
366
|
+
{ 'expand': opts['expand'] },
|
|
363
367
|
{ },
|
|
364
368
|
{ },
|
|
365
369
|
null,
|
|
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* SpeechTextAnalytics service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 234.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -912,6 +912,7 @@ class SpeechTextAnalyticsApi {
|
|
|
912
912
|
* @param {Object} opts Optional parameters
|
|
913
913
|
* @param {String} opts.nextPage The key for listing the next page
|
|
914
914
|
* @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 500. (default to 20)
|
|
915
|
+
* @param {Number} opts.pageNumber The page number for the listing
|
|
915
916
|
* @param {Object} opts.state Topic state. Defaults to latest
|
|
916
917
|
* @param {String} opts.name Case insensitive partial name to filter by
|
|
917
918
|
* @param {Array.<String>} opts.ids Comma separated Topic IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
|
|
@@ -927,7 +928,7 @@ class SpeechTextAnalyticsApi {
|
|
|
927
928
|
'/api/v2/speechandtextanalytics/topics',
|
|
928
929
|
'GET',
|
|
929
930
|
{ },
|
|
930
|
-
{ 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'],'state': opts['state'],'name': opts['name'],'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi'),'dialects': this.apiClient.buildCollectionParam(opts['dialects'], 'multi'),'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
931
|
+
{ 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'state': opts['state'],'name': opts['name'],'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi'),'dialects': this.apiClient.buildCollectionParam(opts['dialects'], 'multi'),'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
931
932
|
{ },
|
|
932
933
|
{ },
|
|
933
934
|
null,
|
|
@@ -5,7 +5,7 @@ class TaskManagementApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* TaskManagement service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 234.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -412,7 +412,7 @@ class TaskManagementApi {
|
|
|
412
412
|
*
|
|
413
413
|
* @param {String} workitemId Workitem ID
|
|
414
414
|
* @param {Object} opts Optional parameters
|
|
415
|
-
* @param {
|
|
415
|
+
* @param {Array.<String>} opts.expands Which fields to expand. Comma separated if more than one.
|
|
416
416
|
*/
|
|
417
417
|
getTaskmanagementWorkitem(workitemId, opts) {
|
|
418
418
|
opts = opts || {};
|
|
@@ -426,7 +426,7 @@ class TaskManagementApi {
|
|
|
426
426
|
'/api/v2/taskmanagement/workitems/{workitemId}',
|
|
427
427
|
'GET',
|
|
428
428
|
{ 'workitemId': workitemId },
|
|
429
|
-
{ 'expands': opts['expands'] },
|
|
429
|
+
{ 'expands': this.apiClient.buildCollectionParam(opts['expands'], 'multi') },
|
|
430
430
|
{ },
|
|
431
431
|
{ },
|
|
432
432
|
null,
|