purecloud-platform-client-v2 185.0.0 → 187.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 (85) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +1019 -245
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1019 -245
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +357 -172
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +362 -174
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +674 -222
  9. package/package.json +2 -2
  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 +25 -7
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +2 -3
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +61 -22
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -62
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +38 -3
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +7 -7
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +106 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +161 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -34
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +63 -1
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +131 -1
  45. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +2 -3
  50. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OutboundApi.js +186 -1
  54. package/src/purecloud-platform-client-v2/api/PresenceApi.js +11 -6
  55. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
  57. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/RoutingApi.js +80 -2
  60. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +50 -0
  62. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -3
  71. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +3 -29
  72. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UploadsApi.js +32 -1
  75. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -5,7 +5,7 @@ class TaskManagementApi {
5
5
  /**
6
6
  * TaskManagement service.
7
7
  * @module purecloud-platform-client-v2/api/TaskManagementApi
8
- * @version 185.0.0
8
+ * @version 187.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 185.0.0
8
+ * @version 187.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 185.0.0
8
+ * @version 187.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -44,7 +44,6 @@ class TelephonyApi {
44
44
  * Get a SIP message.
45
45
  * Get the raw form of the SIP message
46
46
  * @param {String} conversationId Conversation id
47
- * getTelephonySipmessagesConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
48
47
  */
49
48
  getTelephonySipmessagesConversation(conversationId) {
50
49
  // verify the required parameter 'conversationId' is set
@@ -72,7 +71,6 @@ class TelephonyApi {
72
71
  * @param {String} conversationId Conversation id
73
72
  * @param {Object} opts Optional parameters
74
73
  * @param {Array.<String>} opts.keys comma-separated list of header identifiers to query. e.g. ruri,to,from
75
- * getTelephonySipmessagesConversationHeaders is a preview method and is subject to both breaking and non-breaking changes at any time without notice
76
74
  */
77
75
  getTelephonySipmessagesConversationHeaders(conversationId, opts) {
78
76
  opts = opts || {};
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
5
5
  /**
6
6
  * TelephonyProvidersEdge service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
8
- * @version 185.0.0
8
+ * @version 187.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1194,7 +1194,6 @@ class TelephonyProvidersEdgeApi {
1194
1194
  * @param {Array.<String>} opts.id ID of the Extension Pools to filter by.
1195
1195
  * @param {String} opts.name Name of the Extension Pools to filter by.
1196
1196
  * @param {Array.<String>} opts.divisionId List of divisionIds on which to filter.
1197
- * getTelephonyProvidersEdgesExtensionpoolsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1198
1197
  */
1199
1198
  getTelephonyProvidersEdgesExtensionpoolsDivisionviews(opts) {
1200
1199
  opts = opts || {};
@@ -1484,32 +1483,6 @@ class TelephonyProvidersEdgeApi {
1484
1483
  );
1485
1484
  }
1486
1485
 
1487
- /**
1488
- * Get outbound route
1489
- * This route is deprecated, use /telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId} instead.
1490
- * @param {String} outboundRouteId Outbound route ID
1491
- * @deprecated
1492
- */
1493
- getTelephonyProvidersEdgesOutboundroute(outboundRouteId) {
1494
- // verify the required parameter 'outboundRouteId' is set
1495
- if (outboundRouteId === undefined || outboundRouteId === null) {
1496
- throw 'Missing the required parameter "outboundRouteId" when calling getTelephonyProvidersEdgesOutboundroute';
1497
- }
1498
-
1499
- return this.apiClient.callApi(
1500
- '/api/v2/telephony/providers/edges/outboundroutes/{outboundRouteId}',
1501
- 'GET',
1502
- { 'outboundRouteId': outboundRouteId },
1503
- { },
1504
- { },
1505
- { },
1506
- null,
1507
- ['PureCloud OAuth'],
1508
- ['application/json'],
1509
- ['application/json']
1510
- );
1511
- }
1512
-
1513
1486
  /**
1514
1487
  * Get outbound routes
1515
1488
  *
@@ -1966,6 +1939,7 @@ class TelephonyProvidersEdgeApi {
1966
1939
  * @param {String} opts.name Name
1967
1940
  * @param {String} opts.locationId Location Id
1968
1941
  * @param {Boolean} opts.managed Filter by managed
1942
+ * @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
1969
1943
  */
1970
1944
  getTelephonyProvidersEdgesSites(opts) {
1971
1945
  opts = opts || {};
@@ -1975,7 +1949,7 @@ class TelephonyProvidersEdgeApi {
1975
1949
  '/api/v2/telephony/providers/edges/sites',
1976
1950
  'GET',
1977
1951
  { },
1978
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'location.id': opts['locationId'],'managed': opts['managed'] },
1952
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'location.id': opts['locationId'],'managed': opts['managed'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
1979
1953
  { },
1980
1954
  { },
1981
1955
  null,
@@ -5,7 +5,7 @@ class TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 185.0.0
8
+ * @version 187.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 185.0.0
8
+ * @version 187.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 185.0.0
8
+ * @version 187.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -20,6 +20,37 @@ class UploadsApi {
20
20
  }
21
21
 
22
22
 
23
+ /**
24
+ * Create upload presigned URL for draft function package file.
25
+ *
26
+ * @param {String} actionId actionId
27
+ * @param {Object} body Input used to request URL upload.
28
+ * postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
29
+ */
30
+ postIntegrationsActionDraftFunctionUpload(actionId, body) {
31
+ // verify the required parameter 'actionId' is set
32
+ if (actionId === undefined || actionId === null) {
33
+ throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';
34
+ }
35
+ // verify the required parameter 'body' is set
36
+ if (body === undefined || body === null) {
37
+ throw 'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';
38
+ }
39
+
40
+ return this.apiClient.callApi(
41
+ '/api/v2/integrations/actions/{actionId}/draft/function/upload',
42
+ 'POST',
43
+ { 'actionId': actionId },
44
+ { },
45
+ { },
46
+ { },
47
+ body,
48
+ ['PureCloud OAuth'],
49
+ ['application/json'],
50
+ ['application/json']
51
+ );
52
+ }
53
+
23
54
  /**
24
55
  * Creates a presigned URL for uploading a knowledge import file with a set of documents
25
56
  *
@@ -5,7 +5,7 @@ class UsageApi {
5
5
  /**
6
6
  * Usage service.
7
7
  * @module purecloud-platform-client-v2/api/UsageApi
8
- * @version 185.0.0
8
+ * @version 187.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 185.0.0
8
+ * @version 187.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 185.0.0
8
+ * @version 187.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 185.0.0
8
+ * @version 187.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 185.0.0
8
+ * @version 187.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 185.0.0
8
+ * @version 187.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 185.0.0
8
+ * @version 187.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 185.0.0
8
+ * @version 187.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 185.0.0
8
+ * @version 187.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 185.0.0
8
+ * @version 187.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -51,6 +51,7 @@ import RecordingApi from './api/RecordingApi.js';
51
51
  import ResponseManagementApi from './api/ResponseManagementApi.js';
52
52
  import RoutingApi from './api/RoutingApi.js';
53
53
  import SCIMApi from './api/SCIMApi.js';
54
+ import ScreenRecordingApi from './api/ScreenRecordingApi.js';
54
55
  import ScriptsApi from './api/ScriptsApi.js';
55
56
  import SearchApi from './api/SearchApi.js';
56
57
  import SettingsApi from './api/SettingsApi.js';
@@ -106,7 +107,7 @@ import WorkforceManagementApi from './api/WorkforceManagementApi.js';
106
107
  * </pre>
107
108
  * </p>
108
109
  * @module purecloud-platform-client-v2/index
109
- * @version 185.0.0
110
+ * @version 187.0.0
110
111
  */
111
112
  class platformClient {
112
113
  constructor() {
@@ -370,6 +371,11 @@ class platformClient {
370
371
  * @property {module:purecloud-platform-client-v2/api/SCIMApi}
371
372
  */
372
373
  this.SCIMApi = SCIMApi;
374
+ /**
375
+ * The ScreenRecordingApi service constructor.
376
+ * @property {module:purecloud-platform-client-v2/api/ScreenRecordingApi}
377
+ */
378
+ this.ScreenRecordingApi = ScreenRecordingApi;
373
379
  /**
374
380
  * The ScriptsApi service constructor.
375
381
  * @property {module:purecloud-platform-client-v2/api/ScriptsApi}