purecloud-platform-client-v2 217.0.0 → 218.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 (91) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +805 -195
  3. package/dist/web-amd/purecloud-platform-client-v2.js +805 -195
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +275 -152
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +275 -152
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +606 -72
  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/AgentAssistantsApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -4
  22. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +214 -1
  25. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +77 -1
  32. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -6
  44. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -70
  57. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -2
  62. package/src/purecloud-platform-client-v2/api/RecordingApi.js +3 -2
  63. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +403 -20
  71. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +3 -2
  78. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/WebChatApi.js +19 -10
  87. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +11 -6
  90. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-platform-client-v2",
3
- "version": "217.0.0",
3
+ "version": "218.0.0",
4
4
  "description": "A JavaScript library to interface with the PureCloud Platform API",
5
5
  "license": "MIT",
6
6
  "main": "dist/node/purecloud-platform-client-v2.js",
@@ -6,7 +6,7 @@ import { default as qs } from 'qs';
6
6
 
7
7
  /**
8
8
  * @module purecloud-platform-client-v2/ApiClient
9
- * @version 217.0.0
9
+ * @version 218.0.0
10
10
  */
11
11
  class ApiClient {
12
12
  /**
@@ -5,7 +5,7 @@ class AgentAssistantsApi {
5
5
  /**
6
6
  * AgentAssistants service.
7
7
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AgentCopilotApi {
5
5
  /**
6
6
  * AgentCopilot service.
7
7
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AgentUIApi {
5
5
  /**
6
6
  * AgentUI service.
7
7
  * @module purecloud-platform-client-v2/api/AgentUIApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AlertingApi {
5
5
  /**
6
6
  * Alerting service.
7
7
  * @module purecloud-platform-client-v2/api/AlertingApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AnalyticsApi {
5
5
  /**
6
6
  * Analytics service.
7
7
  * @module purecloud-platform-client-v2/api/AnalyticsApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AuditApi {
5
5
  /**
6
6
  * Audit service.
7
7
  * @module purecloud-platform-client-v2/api/AuditApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AuthorizationApi {
5
5
  /**
6
6
  * Authorization service.
7
7
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class BillingApi {
5
5
  /**
6
6
  * Billing service.
7
7
  * @module purecloud-platform-client-v2/api/BillingApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class CarrierServicesApi {
5
5
  /**
6
6
  * CarrierServices service.
7
7
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ChatApi {
5
5
  /**
6
6
  * Chat service.
7
7
  * @module purecloud-platform-client-v2/api/ChatApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -145,7 +145,6 @@ class ChatApi {
145
145
  *
146
146
  * @param {String} userId userId
147
147
  * @param {String} pinnedMessageId pinnedMessageId
148
- * deleteChatsUserMessagesPin is a preview method and is subject to both breaking and non-breaking changes at any time without notice
149
148
  */
150
149
  deleteChatsUserMessagesPin(userId, pinnedMessageId) {
151
150
  // verify the required parameter 'userId' is set
@@ -392,7 +391,6 @@ class ChatApi {
392
391
  * Get information for a 1on1
393
392
  *
394
393
  * @param {String} userId userId
395
- * getChatsUser is a preview method and is subject to both breaking and non-breaking changes at any time without notice
396
394
  */
397
395
  getChatsUser(userId) {
398
396
  // verify the required parameter 'userId' is set
@@ -850,7 +848,6 @@ class ChatApi {
850
848
  *
851
849
  * @param {String} userId userId
852
850
  * @param {Object} body Pinned Message Ids
853
- * postChatsUserMessagesPins is a preview method and is subject to both breaking and non-breaking changes at any time without notice
854
851
  */
855
852
  postChatsUserMessagesPins(userId, body) {
856
853
  // verify the required parameter 'userId' is set
@@ -5,7 +5,7 @@ class CoachingApi {
5
5
  /**
6
6
  * Coaching service.
7
7
  * @module purecloud-platform-client-v2/api/CoachingApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ContentManagementApi {
5
5
  /**
6
6
  * ContentManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ConversationsApi {
5
5
  /**
6
6
  * Conversations service.
7
7
  * @module purecloud-platform-client-v2/api/ConversationsApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -270,6 +270,31 @@ class ConversationsApi {
270
270
  );
271
271
  }
272
272
 
273
+ /**
274
+ * Delete Twitter messaging integration
275
+ *
276
+ * @param {String} integrationId Integration ID
277
+ */
278
+ deleteConversationsMessagingIntegrationsTwitterIntegrationId(integrationId) {
279
+ // verify the required parameter 'integrationId' is set
280
+ if (integrationId === undefined || integrationId === null) {
281
+ throw 'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsTwitterIntegrationId';
282
+ }
283
+
284
+ return this.apiClient.callApi(
285
+ '/api/v2/conversations/messaging/integrations/twitter/{integrationId}',
286
+ 'DELETE',
287
+ { 'integrationId': integrationId },
288
+ { },
289
+ { },
290
+ { },
291
+ null,
292
+ ['PureCloud OAuth'],
293
+ ['application/json'],
294
+ ['application/json']
295
+ );
296
+ }
297
+
273
298
  /**
274
299
  * Delete a WhatsApp messaging integration
275
300
  *
@@ -2260,6 +2285,31 @@ class ConversationsApi {
2260
2285
  );
2261
2286
  }
2262
2287
 
2288
+ /**
2289
+ * Get twitter oauth settings to patch an integration
2290
+ *
2291
+ * @param {String} integrationId Integration Id of an existing integration that needs to be patched with new oauth settings
2292
+ */
2293
+ getConversationsMessagingIntegrationTwitterOauthSettings(integrationId) {
2294
+ // verify the required parameter 'integrationId' is set
2295
+ if (integrationId === undefined || integrationId === null) {
2296
+ throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationTwitterOauthSettings';
2297
+ }
2298
+
2299
+ return this.apiClient.callApi(
2300
+ '/api/v2/conversations/messaging/integrations/{integrationId}/twitter/oauth/settings',
2301
+ 'GET',
2302
+ { 'integrationId': integrationId },
2303
+ { },
2304
+ { },
2305
+ { },
2306
+ null,
2307
+ ['PureCloud OAuth'],
2308
+ ['application/json'],
2309
+ ['application/json']
2310
+ );
2311
+ }
2312
+
2263
2313
  /**
2264
2314
  * Get a list of Integrations
2265
2315
  *
@@ -2459,6 +2509,83 @@ class ConversationsApi {
2459
2509
  );
2460
2510
  }
2461
2511
 
2512
+ /**
2513
+ * Get a list of Twitter Integrations
2514
+ *
2515
+ * @param {Object} opts Optional parameters
2516
+ * @param {Number} opts.pageSize Page size (default to 25)
2517
+ * @param {Number} opts.pageNumber Page number (default to 1)
2518
+ * @param {Object} opts.expand Expand instructions for the return value.
2519
+ * @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
2520
+ * @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
2521
+ */
2522
+ getConversationsMessagingIntegrationsTwitter(opts) {
2523
+ opts = opts || {};
2524
+
2525
+
2526
+ return this.apiClient.callApi(
2527
+ '/api/v2/conversations/messaging/integrations/twitter',
2528
+ 'GET',
2529
+ { },
2530
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
2531
+ { },
2532
+ { },
2533
+ null,
2534
+ ['PureCloud OAuth'],
2535
+ ['application/json'],
2536
+ ['application/json']
2537
+ );
2538
+ }
2539
+
2540
+ /**
2541
+ * Get Twitter messaging integration
2542
+ *
2543
+ * @param {String} integrationId Integration ID
2544
+ * @param {Object} opts Optional parameters
2545
+ * @param {Object} opts.expand Expand instructions for the return value.
2546
+ */
2547
+ getConversationsMessagingIntegrationsTwitterIntegrationId(integrationId, opts) {
2548
+ opts = opts || {};
2549
+
2550
+ // verify the required parameter 'integrationId' is set
2551
+ if (integrationId === undefined || integrationId === null) {
2552
+ throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsTwitterIntegrationId';
2553
+ }
2554
+
2555
+ return this.apiClient.callApi(
2556
+ '/api/v2/conversations/messaging/integrations/twitter/{integrationId}',
2557
+ 'GET',
2558
+ { 'integrationId': integrationId },
2559
+ { 'expand': opts['expand'] },
2560
+ { },
2561
+ { },
2562
+ null,
2563
+ ['PureCloud OAuth'],
2564
+ ['application/json'],
2565
+ ['application/json']
2566
+ );
2567
+ }
2568
+
2569
+ /**
2570
+ * Get twitter oauth settings
2571
+ *
2572
+ */
2573
+ getConversationsMessagingIntegrationsTwitterOauthSettings() {
2574
+
2575
+ return this.apiClient.callApi(
2576
+ '/api/v2/conversations/messaging/integrations/twitter/oauth/settings',
2577
+ 'GET',
2578
+ { },
2579
+ { },
2580
+ { },
2581
+ { },
2582
+ null,
2583
+ ['PureCloud OAuth'],
2584
+ ['application/json'],
2585
+ ['application/json']
2586
+ );
2587
+ }
2588
+
2462
2589
  /**
2463
2590
  * Get a list of WhatsApp Integrations
2464
2591
  *
@@ -4096,6 +4223,36 @@ class ConversationsApi {
4096
4223
  );
4097
4224
  }
4098
4225
 
4226
+ /**
4227
+ * Update a Twitter messaging integration
4228
+ *
4229
+ * @param {String} integrationId Integration ID
4230
+ * @param {Object} body TwitterIntegrationUpdateRequest
4231
+ */
4232
+ patchConversationsMessagingIntegrationsTwitterIntegrationId(integrationId, body) {
4233
+ // verify the required parameter 'integrationId' is set
4234
+ if (integrationId === undefined || integrationId === null) {
4235
+ throw 'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';
4236
+ }
4237
+ // verify the required parameter 'body' is set
4238
+ if (body === undefined || body === null) {
4239
+ throw 'Missing the required parameter "body" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';
4240
+ }
4241
+
4242
+ return this.apiClient.callApi(
4243
+ '/api/v2/conversations/messaging/integrations/twitter/{integrationId}',
4244
+ 'PATCH',
4245
+ { 'integrationId': integrationId },
4246
+ { },
4247
+ { },
4248
+ { },
4249
+ body,
4250
+ ['PureCloud OAuth'],
4251
+ ['application/json'],
4252
+ ['application/json']
4253
+ );
4254
+ }
4255
+
4099
4256
  /**
4100
4257
  * Activate a WhatsApp messaging integration created using the WhatsApp embedded signup flow
4101
4258
  * Please specify the phone number to associate with this WhatsApp integration from the list of available phone numbers returned to you in the POST call to create the integration. You can then run a GET on the integration to check if its status has been updated to Active
@@ -6432,6 +6589,31 @@ class ConversationsApi {
6432
6589
  );
6433
6590
  }
6434
6591
 
6592
+ /**
6593
+ * Create Twitter Integration
6594
+ *
6595
+ * @param {Object} body TwitterIntegrationRequest
6596
+ */
6597
+ postConversationsMessagingIntegrationsTwitter(body) {
6598
+ // verify the required parameter 'body' is set
6599
+ if (body === undefined || body === null) {
6600
+ throw 'Missing the required parameter "body" when calling postConversationsMessagingIntegrationsTwitter';
6601
+ }
6602
+
6603
+ return this.apiClient.callApi(
6604
+ '/api/v2/conversations/messaging/integrations/twitter',
6605
+ 'POST',
6606
+ { },
6607
+ { },
6608
+ { },
6609
+ { },
6610
+ body,
6611
+ ['PureCloud OAuth'],
6612
+ ['application/json'],
6613
+ ['application/json']
6614
+ );
6615
+ }
6616
+
6435
6617
  /**
6436
6618
  * [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] Create a WhatsApp Integration
6437
6619
  * [This API is deprecated. Use POST /api/v2/conversations/messaging/integrations/whatsapp/embeddedsignup instead] You must be approved by WhatsApp to use this feature. Your approved e164-formatted phone number and valid WhatsApp certificate for your number are required. Your WhatsApp certificate must have valid base64 encoding. Please paste carefully and do not add any leading or trailing spaces. Do not alter any characters. An integration must be activated within 7 days of certificate generation. If you cannot complete the addition and activation of the number within 7 days, please obtain a new certificate before creating the integration. Integrations created with an invalid number or certificate may immediately incur additional integration fees. Please carefully enter your number and certificate as described.
@@ -6637,6 +6819,37 @@ class ConversationsApi {
6637
6819
  );
6638
6820
  }
6639
6821
 
6822
+ /**
6823
+ * Create an Agent-Type video conference and assign an agent to it
6824
+ *
6825
+ * @param {String} conversationId conversationId
6826
+ * @param {String} communicationId communicationId
6827
+ * postConversationsVideoAgentconferenceCommunication is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6828
+ */
6829
+ postConversationsVideoAgentconferenceCommunication(conversationId, communicationId) {
6830
+ // verify the required parameter 'conversationId' is set
6831
+ if (conversationId === undefined || conversationId === null) {
6832
+ throw 'Missing the required parameter "conversationId" when calling postConversationsVideoAgentconferenceCommunication';
6833
+ }
6834
+ // verify the required parameter 'communicationId' is set
6835
+ if (communicationId === undefined || communicationId === null) {
6836
+ throw 'Missing the required parameter "communicationId" when calling postConversationsVideoAgentconferenceCommunication';
6837
+ }
6838
+
6839
+ return this.apiClient.callApi(
6840
+ '/api/v2/conversations/videos/{conversationId}/agentconference/communications/{communicationId}',
6841
+ 'POST',
6842
+ { 'conversationId': conversationId,'communicationId': communicationId },
6843
+ { },
6844
+ { },
6845
+ { },
6846
+ null,
6847
+ ['PureCloud OAuth'],
6848
+ ['application/json'],
6849
+ ['application/json']
6850
+ );
6851
+ }
6852
+
6640
6853
  /**
6641
6854
  * Apply wrap-up for this conversation communication
6642
6855
  *
@@ -5,7 +5,7 @@ class DataExtensionsApi {
5
5
  /**
6
6
  * DataExtensions service.
7
7
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class DataPrivacyApi {
5
5
  /**
6
6
  * DataPrivacy service.
7
7
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class DownloadsApi {
5
5
  /**
6
6
  * Downloads service.
7
7
  * @module purecloud-platform-client-v2/api/DownloadsApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EmailsApi {
5
5
  /**
6
6
  * Emails service.
7
7
  * @module purecloud-platform-client-v2/api/EmailsApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EmployeeEngagementApi {
5
5
  /**
6
6
  * EmployeeEngagement service.
7
7
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EventsApi {
5
5
  /**
6
6
  * Events service.
7
7
  * @module purecloud-platform-client-v2/api/EventsApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ExternalContactsApi {
5
5
  /**
6
6
  * ExternalContacts service.
7
7
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -489,6 +489,57 @@ class ExternalContactsApi {
489
489
  );
490
490
  }
491
491
 
492
+ /**
493
+ * Get export for exportId
494
+ *
495
+ * @param {String} exportId Export id
496
+ */
497
+ getExternalcontactsContactsExport(exportId) {
498
+ // verify the required parameter 'exportId' is set
499
+ if (exportId === undefined || exportId === null) {
500
+ throw 'Missing the required parameter "exportId" when calling getExternalcontactsContactsExport';
501
+ }
502
+
503
+ return this.apiClient.callApi(
504
+ '/api/v2/externalcontacts/contacts/exports/{exportId}',
505
+ 'GET',
506
+ { 'exportId': exportId },
507
+ { },
508
+ { },
509
+ { },
510
+ null,
511
+ ['PureCloud OAuth'],
512
+ ['application/json'],
513
+ ['application/json']
514
+ );
515
+ }
516
+
517
+ /**
518
+ * List exports for organization
519
+ *
520
+ * @param {Object} opts Optional parameters
521
+ * @param {Array.<String>} opts.divisionIds Division IDs of entities
522
+ * @param {String} opts.after The cursor that points to the end of the set of entities
523
+ * @param {Number} opts.pageSize Number of entities to return
524
+ */
525
+ getExternalcontactsContactsExports(opts) {
526
+ opts = opts || {};
527
+
528
+
529
+ return this.apiClient.callApi(
530
+ '/api/v2/externalcontacts/contacts/exports',
531
+ 'GET',
532
+ { },
533
+ { 'divisionIds': this.apiClient.buildCollectionParam(opts['divisionIds'], 'multi'),'after': opts['after'],'pageSize': opts['pageSize'] },
534
+ { },
535
+ { },
536
+ null,
537
+ ['PureCloud OAuth'],
538
+ ['application/json'],
539
+ ['application/json']
540
+ );
541
+ }
542
+
492
543
  /**
493
544
  * Get a schema
494
545
  *
@@ -1997,6 +2048,31 @@ class ExternalContactsApi {
1997
2048
  );
1998
2049
  }
1999
2050
 
2051
+ /**
2052
+ * Create bulk export
2053
+ *
2054
+ * @param {Object} body Export
2055
+ */
2056
+ postExternalcontactsContactsExports(body) {
2057
+ // verify the required parameter 'body' is set
2058
+ if (body === undefined || body === null) {
2059
+ throw 'Missing the required parameter "body" when calling postExternalcontactsContactsExports';
2060
+ }
2061
+
2062
+ return this.apiClient.callApi(
2063
+ '/api/v2/externalcontacts/contacts/exports',
2064
+ 'POST',
2065
+ { },
2066
+ { },
2067
+ { },
2068
+ { },
2069
+ body,
2070
+ ['PureCloud OAuth'],
2071
+ ['application/json'],
2072
+ ['application/json']
2073
+ );
2074
+ }
2075
+
2000
2076
  /**
2001
2077
  * Create a schema
2002
2078
  *
@@ -5,7 +5,7 @@ class FaxApi {
5
5
  /**
6
6
  * Fax service.
7
7
  * @module purecloud-platform-client-v2/api/FaxApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class FlowsApi {
5
5
  /**
6
6
  * Flows service.
7
7
  * @module purecloud-platform-client-v2/api/FlowsApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GamificationApi {
5
5
  /**
6
6
  * Gamification service.
7
7
  * @module purecloud-platform-client-v2/api/GamificationApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GeneralDataProtectionRegulationApi {
5
5
  /**
6
6
  * GeneralDataProtectionRegulation service.
7
7
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GeolocationApi {
5
5
  /**
6
6
  * Geolocation service.
7
7
  * @module purecloud-platform-client-v2/api/GeolocationApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GreetingsApi {
5
5
  /**
6
6
  * Greetings service.
7
7
  * @module purecloud-platform-client-v2/api/GreetingsApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GroupsApi {
5
5
  /**
6
6
  * Groups service.
7
7
  * @module purecloud-platform-client-v2/api/GroupsApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class IdentityProviderApi {
5
5
  /**
6
6
  * IdentityProvider service.
7
7
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
8
- * @version 217.0.0
8
+ * @version 218.0.0
9
9
  */
10
10
 
11
11
  /**