purecloud-platform-client-v2 165.0.0 → 167.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.
Files changed (78) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +546 -389
  3. package/dist/web-amd/purecloud-platform-client-v2.js +546 -389
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +546 -389
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +546 -389
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +325 -94
  9. package/package.json +7 -7
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +3 -3
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GamificationApi.js +470 -1
  28. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +2 -2
  37. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/RoutingApi.js +5 -3
  56. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -315
  65. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +2 -2
  78. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class NotificationsApi {
5
5
  /**
6
6
  * Notifications service.
7
7
  * @module purecloud-platform-client-v2/api/NotificationsApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OAuthApi {
5
5
  /**
6
6
  * OAuth service.
7
7
  * @module purecloud-platform-client-v2/api/OAuthApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ObjectsApi {
5
5
  /**
6
6
  * Objects service.
7
7
  * @module purecloud-platform-client-v2/api/ObjectsApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationApi {
5
5
  /**
6
6
  * Organization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationAuthorizationApi {
5
5
  /**
6
6
  * OrganizationAuthorization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OutboundApi {
5
5
  /**
6
6
  * Outbound service.
7
7
  * @module purecloud-platform-client-v2/api/OutboundApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class PresenceApi {
5
5
  /**
6
6
  * Presence service.
7
7
  * @module purecloud-platform-client-v2/api/PresenceApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ProcessAutomationApi {
5
5
  /**
6
6
  * ProcessAutomation service.
7
7
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class QualityApi {
5
5
  /**
6
6
  * Quality service.
7
7
  * @module purecloud-platform-client-v2/api/QualityApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ResponseManagementApi {
5
5
  /**
6
6
  * ResponseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class RoutingApi {
5
5
  /**
6
6
  * Routing service.
7
7
  * @module purecloud-platform-client-v2/api/RoutingApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1115,6 +1115,7 @@ class RoutingApi {
1115
1115
  *
1116
1116
  * @param {Object} opts Optional parameters
1117
1117
  * @param {Object} opts.kpiGroup The Group of Key Performance Indicators to return
1118
+ * @param {Array.<String>} opts.expand Parameter to request additional data to return in KPI payload
1118
1119
  */
1119
1120
  getRoutingPredictorsKeyperformanceindicators(opts) {
1120
1121
  opts = opts || {};
@@ -1124,7 +1125,7 @@ class RoutingApi {
1124
1125
  '/api/v2/routing/predictors/keyperformanceindicators',
1125
1126
  'GET',
1126
1127
  { },
1127
- { 'kpiGroup': opts['kpiGroup'] },
1128
+ { 'kpiGroup': opts['kpiGroup'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
1128
1129
  { },
1129
1130
  { },
1130
1131
  null,
@@ -1851,6 +1852,7 @@ class RoutingApi {
1851
1852
  * @param {Object} opts.sortBy Optional field to sort results
1852
1853
  * @param {Object} opts.sortOrder Sort order
1853
1854
  * @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)
1855
+ * @param {String} opts.integrationId Filter on the Genesys Cloud integration id to which the phone number belongs to
1854
1856
  */
1855
1857
  getRoutingSmsPhonenumbers(opts) {
1856
1858
  opts = opts || {};
@@ -1860,7 +1862,7 @@ class RoutingApi {
1860
1862
  '/api/v2/routing/sms/phonenumbers',
1861
1863
  'GET',
1862
1864
  { },
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'] },
1865
+ { '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
1866
  { },
1865
1867
  { },
1866
1868
  null,
@@ -5,7 +5,7 @@ class SCIMApi {
5
5
  /**
6
6
  * SCIM service.
7
7
  * @module purecloud-platform-client-v2/api/SCIMApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScriptsApi {
5
5
  /**
6
6
  * Scripts service.
7
7
  * @module purecloud-platform-client-v2/api/ScriptsApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SearchApi {
5
5
  /**
6
6
  * Search service.
7
7
  * @module purecloud-platform-client-v2/api/SearchApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
5
5
  /**
6
6
  * SpeechTextAnalytics service.
7
7
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class StationsApi {
5
5
  /**
6
6
  * Stations service.
7
7
  * @module purecloud-platform-client-v2/api/StationsApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SuggestApi {
5
5
  /**
6
6
  * Suggest service.
7
7
  * @module purecloud-platform-client-v2/api/SuggestApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TeamsApi {
5
5
  /**
6
6
  * Teams service.
7
7
  * @module purecloud-platform-client-v2/api/TeamsApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyApi {
5
5
  /**
6
6
  * Telephony service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
5
5
  /**
6
6
  * TelephonyProvidersEdge service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -200,31 +200,6 @@ class TelephonyProvidersEdgeApi {
200
200
  );
201
201
  }
202
202
 
203
- /**
204
- * Delete Outbound Route
205
- * This route is deprecated, use /telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId} instead.
206
- * @param {String} outboundRouteId Outbound route ID
207
- */
208
- deleteTelephonyProvidersEdgesOutboundroute(outboundRouteId) {
209
- // verify the required parameter 'outboundRouteId' is set
210
- if (outboundRouteId === undefined || outboundRouteId === null) {
211
- throw 'Missing the required parameter "outboundRouteId" when calling deleteTelephonyProvidersEdgesOutboundroute';
212
- }
213
-
214
- return this.apiClient.callApi(
215
- '/api/v2/telephony/providers/edges/outboundroutes/{outboundRouteId}',
216
- 'DELETE',
217
- { 'outboundRouteId': outboundRouteId },
218
- { },
219
- { },
220
- { },
221
- null,
222
- ['PureCloud OAuth'],
223
- ['application/json'],
224
- ['application/json']
225
- );
226
- }
227
-
228
203
  /**
229
204
  * Delete a Phone by ID
230
205
  *
@@ -355,180 +330,6 @@ class TelephonyProvidersEdgeApi {
355
330
  );
356
331
  }
357
332
 
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
333
  /**
533
334
  * Get edge.
534
335
  *
@@ -2813,31 +2614,6 @@ class TelephonyProvidersEdgeApi {
2813
2614
  );
2814
2615
  }
2815
2616
 
2816
- /**
2817
- * Create outbound rule
2818
- * This route is deprecated, use /telephony/providers/edges/sites/{siteId}/outboundroutes instead.
2819
- * @param {Object} body OutboundRoute
2820
- */
2821
- postTelephonyProvidersEdgesOutboundroutes(body) {
2822
- // verify the required parameter 'body' is set
2823
- if (body === undefined || body === null) {
2824
- throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesOutboundroutes';
2825
- }
2826
-
2827
- return this.apiClient.callApi(
2828
- '/api/v2/telephony/providers/edges/outboundroutes',
2829
- 'POST',
2830
- { },
2831
- { },
2832
- { },
2833
- { },
2834
- body,
2835
- ['PureCloud OAuth'],
2836
- ['application/json'],
2837
- ['application/json']
2838
- );
2839
- }
2840
-
2841
2617
  /**
2842
2618
  * Reboot a Phone
2843
2619
  *
@@ -3113,36 +2889,6 @@ class TelephonyProvidersEdgeApi {
3113
2889
  );
3114
2890
  }
3115
2891
 
3116
- /**
3117
- * Update a DID by ID.
3118
- *
3119
- * @param {String} didId DID ID
3120
- * @param {Object} body DID
3121
- */
3122
- putTelephonyProvidersEdgesDid(didId, body) {
3123
- // verify the required parameter 'didId' is set
3124
- if (didId === undefined || didId === null) {
3125
- throw 'Missing the required parameter "didId" when calling putTelephonyProvidersEdgesDid';
3126
- }
3127
- // verify the required parameter 'body' is set
3128
- if (body === undefined || body === null) {
3129
- throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgesDid';
3130
- }
3131
-
3132
- return this.apiClient.callApi(
3133
- '/api/v2/telephony/providers/edges/dids/{didId}',
3134
- 'PUT',
3135
- { 'didId': didId },
3136
- { },
3137
- { },
3138
- { },
3139
- body,
3140
- ['PureCloud OAuth'],
3141
- ['application/json'],
3142
- ['application/json']
3143
- );
3144
- }
3145
-
3146
2892
  /**
3147
2893
  * Update a DID Pool by ID.
3148
2894
  *
@@ -3238,36 +2984,6 @@ class TelephonyProvidersEdgeApi {
3238
2984
  );
3239
2985
  }
3240
2986
 
3241
- /**
3242
- * Update an extension by ID.
3243
- *
3244
- * @param {String} extensionId Extension ID
3245
- * @param {Object} body Extension
3246
- */
3247
- putTelephonyProvidersEdgesExtension(extensionId, body) {
3248
- // verify the required parameter 'extensionId' is set
3249
- if (extensionId === undefined || extensionId === null) {
3250
- throw 'Missing the required parameter "extensionId" when calling putTelephonyProvidersEdgesExtension';
3251
- }
3252
- // verify the required parameter 'body' is set
3253
- if (body === undefined || body === null) {
3254
- throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgesExtension';
3255
- }
3256
-
3257
- return this.apiClient.callApi(
3258
- '/api/v2/telephony/providers/edges/extensions/{extensionId}',
3259
- 'PUT',
3260
- { 'extensionId': extensionId },
3261
- { },
3262
- { },
3263
- { },
3264
- body,
3265
- ['PureCloud OAuth'],
3266
- ['application/json'],
3267
- ['application/json']
3268
- );
3269
- }
3270
-
3271
2987
  /**
3272
2988
  * Update an extension pool by ID
3273
2989
  *
@@ -3298,36 +3014,6 @@ class TelephonyProvidersEdgeApi {
3298
3014
  );
3299
3015
  }
3300
3016
 
3301
- /**
3302
- * Update outbound route
3303
- * This route is deprecated, use /telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId} instead.
3304
- * @param {String} outboundRouteId Outbound route ID
3305
- * @param {Object} body OutboundRoute
3306
- */
3307
- putTelephonyProvidersEdgesOutboundroute(outboundRouteId, body) {
3308
- // verify the required parameter 'outboundRouteId' is set
3309
- if (outboundRouteId === undefined || outboundRouteId === null) {
3310
- throw 'Missing the required parameter "outboundRouteId" when calling putTelephonyProvidersEdgesOutboundroute';
3311
- }
3312
- // verify the required parameter 'body' is set
3313
- if (body === undefined || body === null) {
3314
- throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgesOutboundroute';
3315
- }
3316
-
3317
- return this.apiClient.callApi(
3318
- '/api/v2/telephony/providers/edges/outboundroutes/{outboundRouteId}',
3319
- 'PUT',
3320
- { 'outboundRouteId': outboundRouteId },
3321
- { },
3322
- { },
3323
- { },
3324
- body,
3325
- ['PureCloud OAuth'],
3326
- ['application/json'],
3327
- ['application/json']
3328
- );
3329
- }
3330
-
3331
3017
  /**
3332
3018
  * Update a Phone by ID
3333
3019
  *
@@ -5,7 +5,7 @@ class TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TokensApi {
5
5
  /**
6
6
  * Tokens service.
7
7
  * @module purecloud-platform-client-v2/api/TokensApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UploadsApi {
5
5
  /**
6
6
  * Uploads service.
7
7
  * @module purecloud-platform-client-v2/api/UploadsApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsageApi {
5
5
  /**
6
6
  * Usage service.
7
7
  * @module purecloud-platform-client-v2/api/UsageApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UserRecordingsApi {
5
5
  /**
6
6
  * UserRecordings service.
7
7
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsersApi {
5
5
  /**
6
6
  * Users service.
7
7
  * @module purecloud-platform-client-v2/api/UsersApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UtilitiesApi {
5
5
  /**
6
6
  * Utilities service.
7
7
  * @module purecloud-platform-client-v2/api/UtilitiesApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class VoicemailApi {
5
5
  /**
6
6
  * Voicemail service.
7
7
  * @module purecloud-platform-client-v2/api/VoicemailApi
8
- * @version 165.0.0
8
+ * @version 167.0.0
9
9
  */
10
10
 
11
11
  /**