purecloud-platform-client-v2 164.0.0 → 166.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 +77 -403
- package/dist/web-amd/purecloud-platform-client-v2.js +77 -403
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +77 -403
- package/dist/web-cjs/purecloud-platform-client-v2.js +77 -403
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +13 -125
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +1 -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 +2 -2
- 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 -331
- 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 +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
|
@@ -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 166.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1851,6 +1851,7 @@ class RoutingApi {
|
|
|
1851
1851
|
* @param {Object} opts.sortBy Optional field to sort results
|
|
1852
1852
|
* @param {Object} opts.sortOrder Sort order
|
|
1853
1853
|
* @param {String} opts.language A language tag (which is sometimes referred to as a locale identifier) to use to localize country field and sort operations (default to en-US)
|
|
1854
|
+
* @param {String} opts.integrationId Filter on the Genesys Cloud integration id to which the phone number belongs to
|
|
1854
1855
|
*/
|
|
1855
1856
|
getRoutingSmsPhonenumbers(opts) {
|
|
1856
1857
|
opts = opts || {};
|
|
@@ -1860,7 +1861,7 @@ class RoutingApi {
|
|
|
1860
1861
|
'/api/v2/routing/sms/phonenumbers',
|
|
1861
1862
|
'GET',
|
|
1862
1863
|
{ },
|
|
1863
|
-
{ 'phoneNumber': opts['phoneNumber'],'phoneNumberType': this.apiClient.buildCollectionParam(opts['phoneNumberType'], 'multi'),'phoneNumberStatus': this.apiClient.buildCollectionParam(opts['phoneNumberStatus'], 'multi'),'countryCode': this.apiClient.buildCollectionParam(opts['countryCode'], 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'language': opts['language'] },
|
|
1864
|
+
{ 'phoneNumber': opts['phoneNumber'],'phoneNumberType': this.apiClient.buildCollectionParam(opts['phoneNumberType'], 'multi'),'phoneNumberStatus': this.apiClient.buildCollectionParam(opts['phoneNumberStatus'], 'multi'),'countryCode': this.apiClient.buildCollectionParam(opts['countryCode'], 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'language': opts['language'],'integration.id': opts['integrationId'] },
|
|
1864
1865
|
{ },
|
|
1865
1866
|
{ },
|
|
1866
1867
|
null,
|
|
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* TelephonyProvidersEdge service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 166.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -355,180 +355,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
355
355
|
);
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
-
/**
|
|
359
|
-
* Lists available schema categories (Deprecated)
|
|
360
|
-
*
|
|
361
|
-
* @param {Object} opts Optional parameters
|
|
362
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
363
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
364
|
-
*/
|
|
365
|
-
getConfigurationSchemasEdgesVnext(opts) {
|
|
366
|
-
opts = opts || {};
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
return this.apiClient.callApi(
|
|
370
|
-
'/api/v2/configuration/schemas/edges/vnext',
|
|
371
|
-
'GET',
|
|
372
|
-
{ },
|
|
373
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
374
|
-
{ },
|
|
375
|
-
{ },
|
|
376
|
-
null,
|
|
377
|
-
['PureCloud OAuth'],
|
|
378
|
-
['application/json'],
|
|
379
|
-
['application/json']
|
|
380
|
-
);
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
/**
|
|
384
|
-
* List schemas of a specific category (Deprecated)
|
|
385
|
-
*
|
|
386
|
-
* @param {String} schemaCategory Schema category
|
|
387
|
-
* @param {Object} opts Optional parameters
|
|
388
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
389
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
390
|
-
*/
|
|
391
|
-
getConfigurationSchemasEdgesVnextSchemaCategory(schemaCategory, opts) {
|
|
392
|
-
opts = opts || {};
|
|
393
|
-
|
|
394
|
-
// verify the required parameter 'schemaCategory' is set
|
|
395
|
-
if (schemaCategory === undefined || schemaCategory === null) {
|
|
396
|
-
throw 'Missing the required parameter "schemaCategory" when calling getConfigurationSchemasEdgesVnextSchemaCategory';
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
return this.apiClient.callApi(
|
|
400
|
-
'/api/v2/configuration/schemas/edges/vnext/{schemaCategory}',
|
|
401
|
-
'GET',
|
|
402
|
-
{ 'schemaCategory': schemaCategory },
|
|
403
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
404
|
-
{ },
|
|
405
|
-
{ },
|
|
406
|
-
null,
|
|
407
|
-
['PureCloud OAuth'],
|
|
408
|
-
['application/json'],
|
|
409
|
-
['application/json']
|
|
410
|
-
);
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
/**
|
|
414
|
-
* List schemas of a specific category (Deprecated)
|
|
415
|
-
*
|
|
416
|
-
* @param {String} schemaCategory Schema category
|
|
417
|
-
* @param {String} schemaType Schema type
|
|
418
|
-
* @param {Object} opts Optional parameters
|
|
419
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
420
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
421
|
-
*/
|
|
422
|
-
getConfigurationSchemasEdgesVnextSchemaCategorySchemaType(schemaCategory, schemaType, opts) {
|
|
423
|
-
opts = opts || {};
|
|
424
|
-
|
|
425
|
-
// verify the required parameter 'schemaCategory' is set
|
|
426
|
-
if (schemaCategory === undefined || schemaCategory === null) {
|
|
427
|
-
throw 'Missing the required parameter "schemaCategory" when calling getConfigurationSchemasEdgesVnextSchemaCategorySchemaType';
|
|
428
|
-
}
|
|
429
|
-
// verify the required parameter 'schemaType' is set
|
|
430
|
-
if (schemaType === undefined || schemaType === null) {
|
|
431
|
-
throw 'Missing the required parameter "schemaType" when calling getConfigurationSchemasEdgesVnextSchemaCategorySchemaType';
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
return this.apiClient.callApi(
|
|
435
|
-
'/api/v2/configuration/schemas/edges/vnext/{schemaCategory}/{schemaType}',
|
|
436
|
-
'GET',
|
|
437
|
-
{ 'schemaCategory': schemaCategory,'schemaType': schemaType },
|
|
438
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
439
|
-
{ },
|
|
440
|
-
{ },
|
|
441
|
-
null,
|
|
442
|
-
['PureCloud OAuth'],
|
|
443
|
-
['application/json'],
|
|
444
|
-
['application/json']
|
|
445
|
-
);
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
/**
|
|
449
|
-
* Get a json schema (Deprecated)
|
|
450
|
-
*
|
|
451
|
-
* @param {String} schemaCategory Schema category
|
|
452
|
-
* @param {String} schemaType Schema type
|
|
453
|
-
* @param {String} schemaId Schema ID
|
|
454
|
-
*/
|
|
455
|
-
getConfigurationSchemasEdgesVnextSchemaCategorySchemaTypeSchemaId(schemaCategory, schemaType, schemaId) {
|
|
456
|
-
// verify the required parameter 'schemaCategory' is set
|
|
457
|
-
if (schemaCategory === undefined || schemaCategory === null) {
|
|
458
|
-
throw 'Missing the required parameter "schemaCategory" when calling getConfigurationSchemasEdgesVnextSchemaCategorySchemaTypeSchemaId';
|
|
459
|
-
}
|
|
460
|
-
// verify the required parameter 'schemaType' is set
|
|
461
|
-
if (schemaType === undefined || schemaType === null) {
|
|
462
|
-
throw 'Missing the required parameter "schemaType" when calling getConfigurationSchemasEdgesVnextSchemaCategorySchemaTypeSchemaId';
|
|
463
|
-
}
|
|
464
|
-
// verify the required parameter 'schemaId' is set
|
|
465
|
-
if (schemaId === undefined || schemaId === null) {
|
|
466
|
-
throw 'Missing the required parameter "schemaId" when calling getConfigurationSchemasEdgesVnextSchemaCategorySchemaTypeSchemaId';
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
return this.apiClient.callApi(
|
|
470
|
-
'/api/v2/configuration/schemas/edges/vnext/{schemaCategory}/{schemaType}/{schemaId}',
|
|
471
|
-
'GET',
|
|
472
|
-
{ 'schemaCategory': schemaCategory,'schemaType': schemaType,'schemaId': schemaId },
|
|
473
|
-
{ },
|
|
474
|
-
{ },
|
|
475
|
-
{ },
|
|
476
|
-
null,
|
|
477
|
-
['PureCloud OAuth'],
|
|
478
|
-
['application/json'],
|
|
479
|
-
['application/json']
|
|
480
|
-
);
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
/**
|
|
484
|
-
* Get metadata for a schema (Deprecated)
|
|
485
|
-
*
|
|
486
|
-
* @param {String} schemaCategory Schema category
|
|
487
|
-
* @param {String} schemaType Schema type
|
|
488
|
-
* @param {String} schemaId Schema ID
|
|
489
|
-
* @param {String} extensionType extension
|
|
490
|
-
* @param {String} metadataId Metadata ID
|
|
491
|
-
* @param {Object} opts Optional parameters
|
|
492
|
-
* @param {String} opts.type Type
|
|
493
|
-
*/
|
|
494
|
-
getConfigurationSchemasEdgesVnextSchemaCategorySchemaTypeSchemaIdExtensionTypeMetadataId(schemaCategory, schemaType, schemaId, extensionType, metadataId, opts) {
|
|
495
|
-
opts = opts || {};
|
|
496
|
-
|
|
497
|
-
// verify the required parameter 'schemaCategory' is set
|
|
498
|
-
if (schemaCategory === undefined || schemaCategory === null) {
|
|
499
|
-
throw 'Missing the required parameter "schemaCategory" when calling getConfigurationSchemasEdgesVnextSchemaCategorySchemaTypeSchemaIdExtensionTypeMetadataId';
|
|
500
|
-
}
|
|
501
|
-
// verify the required parameter 'schemaType' is set
|
|
502
|
-
if (schemaType === undefined || schemaType === null) {
|
|
503
|
-
throw 'Missing the required parameter "schemaType" when calling getConfigurationSchemasEdgesVnextSchemaCategorySchemaTypeSchemaIdExtensionTypeMetadataId';
|
|
504
|
-
}
|
|
505
|
-
// verify the required parameter 'schemaId' is set
|
|
506
|
-
if (schemaId === undefined || schemaId === null) {
|
|
507
|
-
throw 'Missing the required parameter "schemaId" when calling getConfigurationSchemasEdgesVnextSchemaCategorySchemaTypeSchemaIdExtensionTypeMetadataId';
|
|
508
|
-
}
|
|
509
|
-
// verify the required parameter 'extensionType' is set
|
|
510
|
-
if (extensionType === undefined || extensionType === null) {
|
|
511
|
-
throw 'Missing the required parameter "extensionType" when calling getConfigurationSchemasEdgesVnextSchemaCategorySchemaTypeSchemaIdExtensionTypeMetadataId';
|
|
512
|
-
}
|
|
513
|
-
// verify the required parameter 'metadataId' is set
|
|
514
|
-
if (metadataId === undefined || metadataId === null) {
|
|
515
|
-
throw 'Missing the required parameter "metadataId" when calling getConfigurationSchemasEdgesVnextSchemaCategorySchemaTypeSchemaIdExtensionTypeMetadataId';
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
return this.apiClient.callApi(
|
|
519
|
-
'/api/v2/configuration/schemas/edges/vnext/{schemaCategory}/{schemaType}/{schemaId}/{extensionType}/{metadataId}',
|
|
520
|
-
'GET',
|
|
521
|
-
{ 'schemaCategory': schemaCategory,'schemaType': schemaType,'schemaId': schemaId,'extensionType': extensionType,'metadataId': metadataId },
|
|
522
|
-
{ 'type': opts['type'] },
|
|
523
|
-
{ },
|
|
524
|
-
{ },
|
|
525
|
-
null,
|
|
526
|
-
['PureCloud OAuth'],
|
|
527
|
-
['application/json'],
|
|
528
|
-
['application/json']
|
|
529
|
-
);
|
|
530
|
-
}
|
|
531
|
-
|
|
532
358
|
/**
|
|
533
359
|
* Get edge.
|
|
534
360
|
*
|
|
@@ -658,66 +484,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
658
484
|
);
|
|
659
485
|
}
|
|
660
486
|
|
|
661
|
-
/**
|
|
662
|
-
* Get line
|
|
663
|
-
*
|
|
664
|
-
* @param {String} edgeId Edge ID
|
|
665
|
-
* @param {String} lineId Line ID
|
|
666
|
-
*/
|
|
667
|
-
getTelephonyProvidersEdgeLine(edgeId, lineId) {
|
|
668
|
-
// verify the required parameter 'edgeId' is set
|
|
669
|
-
if (edgeId === undefined || edgeId === null) {
|
|
670
|
-
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeLine';
|
|
671
|
-
}
|
|
672
|
-
// verify the required parameter 'lineId' is set
|
|
673
|
-
if (lineId === undefined || lineId === null) {
|
|
674
|
-
throw 'Missing the required parameter "lineId" when calling getTelephonyProvidersEdgeLine';
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
return this.apiClient.callApi(
|
|
678
|
-
'/api/v2/telephony/providers/edges/{edgeId}/lines/{lineId}',
|
|
679
|
-
'GET',
|
|
680
|
-
{ 'edgeId': edgeId,'lineId': lineId },
|
|
681
|
-
{ },
|
|
682
|
-
{ },
|
|
683
|
-
{ },
|
|
684
|
-
null,
|
|
685
|
-
['PureCloud OAuth'],
|
|
686
|
-
['application/json'],
|
|
687
|
-
['application/json']
|
|
688
|
-
);
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
/**
|
|
692
|
-
* Get the list of lines.
|
|
693
|
-
*
|
|
694
|
-
* @param {String} edgeId Edge ID
|
|
695
|
-
* @param {Object} opts Optional parameters
|
|
696
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
697
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
698
|
-
*/
|
|
699
|
-
getTelephonyProvidersEdgeLines(edgeId, opts) {
|
|
700
|
-
opts = opts || {};
|
|
701
|
-
|
|
702
|
-
// verify the required parameter 'edgeId' is set
|
|
703
|
-
if (edgeId === undefined || edgeId === null) {
|
|
704
|
-
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeLines';
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
return this.apiClient.callApi(
|
|
708
|
-
'/api/v2/telephony/providers/edges/{edgeId}/lines',
|
|
709
|
-
'GET',
|
|
710
|
-
{ 'edgeId': edgeId },
|
|
711
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
712
|
-
{ },
|
|
713
|
-
{ },
|
|
714
|
-
null,
|
|
715
|
-
['PureCloud OAuth'],
|
|
716
|
-
['application/json'],
|
|
717
|
-
['application/json']
|
|
718
|
-
);
|
|
719
|
-
}
|
|
720
|
-
|
|
721
487
|
/**
|
|
722
488
|
* Get an edge logical interface
|
|
723
489
|
*
|
|
@@ -1555,7 +1321,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1555
1321
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1556
1322
|
* @param {String} opts.name Name
|
|
1557
1323
|
* @param {String} opts.sortBy Value by which to sort (default to name)
|
|
1558
|
-
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
|
|
1324
|
+
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated. The edgeGroup value is deprecated.
|
|
1559
1325
|
*/
|
|
1560
1326
|
getTelephonyProvidersEdgesLines(opts) {
|
|
1561
1327
|
opts = opts || {};
|
|
@@ -3108,41 +2874,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
3108
2874
|
);
|
|
3109
2875
|
}
|
|
3110
2876
|
|
|
3111
|
-
/**
|
|
3112
|
-
* Update a line.
|
|
3113
|
-
*
|
|
3114
|
-
* @param {String} edgeId Edge ID
|
|
3115
|
-
* @param {String} lineId Line ID
|
|
3116
|
-
* @param {Object} body Line
|
|
3117
|
-
*/
|
|
3118
|
-
putTelephonyProvidersEdgeLine(edgeId, lineId, body) {
|
|
3119
|
-
// verify the required parameter 'edgeId' is set
|
|
3120
|
-
if (edgeId === undefined || edgeId === null) {
|
|
3121
|
-
throw 'Missing the required parameter "edgeId" when calling putTelephonyProvidersEdgeLine';
|
|
3122
|
-
}
|
|
3123
|
-
// verify the required parameter 'lineId' is set
|
|
3124
|
-
if (lineId === undefined || lineId === null) {
|
|
3125
|
-
throw 'Missing the required parameter "lineId" when calling putTelephonyProvidersEdgeLine';
|
|
3126
|
-
}
|
|
3127
|
-
// verify the required parameter 'body' is set
|
|
3128
|
-
if (body === undefined || body === null) {
|
|
3129
|
-
throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgeLine';
|
|
3130
|
-
}
|
|
3131
|
-
|
|
3132
|
-
return this.apiClient.callApi(
|
|
3133
|
-
'/api/v2/telephony/providers/edges/{edgeId}/lines/{lineId}',
|
|
3134
|
-
'PUT',
|
|
3135
|
-
{ 'edgeId': edgeId,'lineId': lineId },
|
|
3136
|
-
{ },
|
|
3137
|
-
{ },
|
|
3138
|
-
{ },
|
|
3139
|
-
body,
|
|
3140
|
-
['PureCloud OAuth'],
|
|
3141
|
-
['application/json'],
|
|
3142
|
-
['application/json']
|
|
3143
|
-
);
|
|
3144
|
-
}
|
|
3145
|
-
|
|
3146
2877
|
/**
|
|
3147
2878
|
* Update an edge logical interface.
|
|
3148
2879
|
*
|
|
@@ -3208,36 +2939,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
3208
2939
|
);
|
|
3209
2940
|
}
|
|
3210
2941
|
|
|
3211
|
-
/**
|
|
3212
|
-
* Update a DID by ID.
|
|
3213
|
-
*
|
|
3214
|
-
* @param {String} didId DID ID
|
|
3215
|
-
* @param {Object} body DID
|
|
3216
|
-
*/
|
|
3217
|
-
putTelephonyProvidersEdgesDid(didId, body) {
|
|
3218
|
-
// verify the required parameter 'didId' is set
|
|
3219
|
-
if (didId === undefined || didId === null) {
|
|
3220
|
-
throw 'Missing the required parameter "didId" when calling putTelephonyProvidersEdgesDid';
|
|
3221
|
-
}
|
|
3222
|
-
// verify the required parameter 'body' is set
|
|
3223
|
-
if (body === undefined || body === null) {
|
|
3224
|
-
throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgesDid';
|
|
3225
|
-
}
|
|
3226
|
-
|
|
3227
|
-
return this.apiClient.callApi(
|
|
3228
|
-
'/api/v2/telephony/providers/edges/dids/{didId}',
|
|
3229
|
-
'PUT',
|
|
3230
|
-
{ 'didId': didId },
|
|
3231
|
-
{ },
|
|
3232
|
-
{ },
|
|
3233
|
-
{ },
|
|
3234
|
-
body,
|
|
3235
|
-
['PureCloud OAuth'],
|
|
3236
|
-
['application/json'],
|
|
3237
|
-
['application/json']
|
|
3238
|
-
);
|
|
3239
|
-
}
|
|
3240
|
-
|
|
3241
2942
|
/**
|
|
3242
2943
|
* Update a DID Pool by ID.
|
|
3243
2944
|
*
|
|
@@ -3333,36 +3034,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
3333
3034
|
);
|
|
3334
3035
|
}
|
|
3335
3036
|
|
|
3336
|
-
/**
|
|
3337
|
-
* Update an extension by ID.
|
|
3338
|
-
*
|
|
3339
|
-
* @param {String} extensionId Extension ID
|
|
3340
|
-
* @param {Object} body Extension
|
|
3341
|
-
*/
|
|
3342
|
-
putTelephonyProvidersEdgesExtension(extensionId, body) {
|
|
3343
|
-
// verify the required parameter 'extensionId' is set
|
|
3344
|
-
if (extensionId === undefined || extensionId === null) {
|
|
3345
|
-
throw 'Missing the required parameter "extensionId" when calling putTelephonyProvidersEdgesExtension';
|
|
3346
|
-
}
|
|
3347
|
-
// verify the required parameter 'body' is set
|
|
3348
|
-
if (body === undefined || body === null) {
|
|
3349
|
-
throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgesExtension';
|
|
3350
|
-
}
|
|
3351
|
-
|
|
3352
|
-
return this.apiClient.callApi(
|
|
3353
|
-
'/api/v2/telephony/providers/edges/extensions/{extensionId}',
|
|
3354
|
-
'PUT',
|
|
3355
|
-
{ 'extensionId': extensionId },
|
|
3356
|
-
{ },
|
|
3357
|
-
{ },
|
|
3358
|
-
{ },
|
|
3359
|
-
body,
|
|
3360
|
-
['PureCloud OAuth'],
|
|
3361
|
-
['application/json'],
|
|
3362
|
-
['application/json']
|
|
3363
|
-
);
|
|
3364
|
-
}
|
|
3365
|
-
|
|
3366
3037
|
/**
|
|
3367
3038
|
* Update an extension pool by ID
|
|
3368
3039
|
*
|
|
@@ -5,7 +5,7 @@ class UsersApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Users service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 166.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1114,6 +1114,7 @@ class UsersApi {
|
|
|
1114
1114
|
* @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
|
|
1115
1115
|
* @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
|
|
1116
1116
|
* @param {Object} opts.overdue Specifies if non-overdue, overdue, or all activities are returned. If not specified, all activities are returned (default to Any)
|
|
1117
|
+
* @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)
|
|
1117
1118
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
1118
1119
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1119
1120
|
* @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)
|
|
@@ -1129,7 +1130,7 @@ class UsersApi {
|
|
|
1129
1130
|
'/api/v2/users/development/activities',
|
|
1130
1131
|
'GET',
|
|
1131
1132
|
{ },
|
|
1132
|
-
{ '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') },
|
|
1133
|
+
{ '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') },
|
|
1133
1134
|
{ },
|
|
1134
1135
|
{ },
|
|
1135
1136
|
null,
|
|
@@ -1147,6 +1148,7 @@ class UsersApi {
|
|
|
1147
1148
|
* @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
|
|
1148
1149
|
* @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
|
|
1149
1150
|
* @param {Object} opts.overdue Specifies if non-overdue, overdue, or all activities are returned. If not specified, all activities are returned (default to Any)
|
|
1151
|
+
* @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)
|
|
1150
1152
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
1151
1153
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1152
1154
|
* @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)
|
|
@@ -1162,7 +1164,7 @@ class UsersApi {
|
|
|
1162
1164
|
'/api/v2/users/development/activities/me',
|
|
1163
1165
|
'GET',
|
|
1164
1166
|
{ },
|
|
1165
|
-
{ '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') },
|
|
1167
|
+
{ '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') },
|
|
1166
1168
|
{ },
|
|
1167
1169
|
{ },
|
|
1168
1170
|
null,
|