purecloud-platform-client-v2 165.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.
Files changed (78) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +72 -305
  3. package/dist/web-amd/purecloud-platform-client-v2.js +72 -305
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +72 -305
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +72 -305
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +201 -276
  9. package/package.json +1 -1
  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 +1 -1
  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 +1 -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 +3 -2
  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 -235
  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 +1 -1
  78. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -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 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
  *
@@ -3113,36 +2939,6 @@ class TelephonyProvidersEdgeApi {
3113
2939
  );
3114
2940
  }
3115
2941
 
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
2942
  /**
3147
2943
  * Update a DID Pool by ID.
3148
2944
  *
@@ -3238,36 +3034,6 @@ class TelephonyProvidersEdgeApi {
3238
3034
  );
3239
3035
  }
3240
3036
 
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
3037
  /**
3272
3038
  * Update an extension pool by ID
3273
3039
  *
@@ -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 166.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 166.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 166.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 166.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 166.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 166.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 166.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 166.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebChatApi {
5
5
  /**
6
6
  * WebChat service.
7
7
  * @module purecloud-platform-client-v2/api/WebChatApi
8
- * @version 165.0.0
8
+ * @version 166.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebDeploymentsApi {
5
5
  /**
6
6
  * WebDeployments service.
7
7
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
8
- * @version 165.0.0
8
+ * @version 166.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebMessagingApi {
5
5
  /**
6
6
  * WebMessaging service.
7
7
  * @module purecloud-platform-client-v2/api/WebMessagingApi
8
- * @version 165.0.0
8
+ * @version 166.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WidgetsApi {
5
5
  /**
6
6
  * Widgets service.
7
7
  * @module purecloud-platform-client-v2/api/WidgetsApi
8
- * @version 165.0.0
8
+ * @version 166.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WorkforceManagementApi {
5
5
  /**
6
6
  * WorkforceManagement service.
7
7
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
8
- * @version 165.0.0
8
+ * @version 166.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -100,7 +100,7 @@ import WorkforceManagementApi from './api/WorkforceManagementApi.js';
100
100
  * </pre>
101
101
  * </p>
102
102
  * @module purecloud-platform-client-v2/index
103
- * @version 165.0.0
103
+ * @version 166.0.0
104
104
  */
105
105
  class platformClient {
106
106
  constructor() {