purecloud-platform-client-v2 230.0.0 → 231.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 (94) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +970 -124
  3. package/dist/web-amd/purecloud-platform-client-v2.js +970 -124
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +365 -138
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +365 -138
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +958 -264
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/PureCloudRegionHosts.js +2 -0
  12. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +160 -1
  13. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +83 -1
  18. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +67 -2
  28. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/JourneyApi.js +28 -1
  46. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +187 -1
  48. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/QualityApi.js +107 -1
  65. package/src/purecloud-platform-client-v2/api/RecordingApi.js +3 -3
  66. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/RoutingApi.js +17 -7
  68. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +241 -1
  74. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -32
  86. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  93. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  94. 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": "230.0.0",
3
+ "version": "231.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 230.0.0
9
+ * @version 231.0.0
10
10
  */
11
11
  class ApiClient {
12
12
  /**
@@ -14,4 +14,6 @@ export default {
14
14
  me_central_1: 'mec1.pure.cloud',
15
15
  ap_northeast_3: 'apne3.pure.cloud',
16
16
  eu_central_2: 'euc2.pure.cloud',
17
+ mx_central_1: 'mxc1.pure.cloud',
18
+ ap_southeast_1: 'apse1.pure.cloud',
17
19
  };
@@ -5,7 +5,7 @@ class AIStudioApi {
5
5
  /**
6
6
  * AIStudio service.
7
7
  * @module purecloud-platform-client-v2/api/AIStudioApi
8
- * @version 230.0.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -20,6 +20,31 @@ class AIStudioApi {
20
20
  }
21
21
 
22
22
 
23
+ /**
24
+ * Delete a summary setting.
25
+ *
26
+ * @param {String} summarySettingId Summary setting id
27
+ */
28
+ deleteConversationsSummariesSetting(summarySettingId) {
29
+ // verify the required parameter 'summarySettingId' is set
30
+ if (summarySettingId === undefined || summarySettingId === null || summarySettingId === '') {
31
+ throw 'Missing the required parameter "summarySettingId" when calling deleteConversationsSummariesSetting';
32
+ }
33
+
34
+ return this.apiClient.callApi(
35
+ '/api/v2/conversations/summaries/settings/{summarySettingId}',
36
+ 'DELETE',
37
+ { 'summarySettingId': summarySettingId },
38
+ { },
39
+ { },
40
+ { },
41
+ null,
42
+ ['PureCloud OAuth'],
43
+ ['application/json'],
44
+ ['application/json']
45
+ );
46
+ }
47
+
23
48
  /**
24
49
  * Start the deletion of a guide.
25
50
  *
@@ -46,6 +71,60 @@ class AIStudioApi {
46
71
  );
47
72
  }
48
73
 
74
+ /**
75
+ * Receive a summary setting.
76
+ *
77
+ * @param {String} summarySettingId Summary setting id
78
+ */
79
+ getConversationsSummariesSetting(summarySettingId) {
80
+ // verify the required parameter 'summarySettingId' is set
81
+ if (summarySettingId === undefined || summarySettingId === null || summarySettingId === '') {
82
+ throw 'Missing the required parameter "summarySettingId" when calling getConversationsSummariesSetting';
83
+ }
84
+
85
+ return this.apiClient.callApi(
86
+ '/api/v2/conversations/summaries/settings/{summarySettingId}',
87
+ 'GET',
88
+ { 'summarySettingId': summarySettingId },
89
+ { },
90
+ { },
91
+ { },
92
+ null,
93
+ ['PureCloud OAuth'],
94
+ ['application/json'],
95
+ ['application/json']
96
+ );
97
+ }
98
+
99
+ /**
100
+ * Get all summary settings.
101
+ *
102
+ * @param {Object} opts Optional parameters
103
+ * @param {String} opts.language Filter by matching language - case insensitive.
104
+ * @param {String} opts.name Filter by partially matching name - case insensitive.
105
+ * @param {Object} opts.sortBy Sort by. Default value dateModified. (default to dateModified)
106
+ * @param {Object} opts.sortOrder Sort Order. Default value desc. (default to desc)
107
+ * @param {Number} opts.pageNumber Page number. (default to 1)
108
+ * @param {Number} opts.pageSize Page size. The maximum page size is 100. (default to 25)
109
+ */
110
+ getConversationsSummariesSettings(opts) {
111
+ opts = opts || {};
112
+
113
+
114
+ return this.apiClient.callApi(
115
+ '/api/v2/conversations/summaries/settings',
116
+ 'GET',
117
+ { },
118
+ { 'language': opts['language'],'name': opts['name'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
119
+ { },
120
+ { },
121
+ null,
122
+ ['PureCloud OAuth'],
123
+ ['application/json'],
124
+ ['application/json']
125
+ );
126
+ }
127
+
49
128
  /**
50
129
  * Get guide.
51
130
  *
@@ -294,6 +373,56 @@ class AIStudioApi {
294
373
  );
295
374
  }
296
375
 
376
+ /**
377
+ * Trigger summary preview event generation.
378
+ *
379
+ * @param {Object} body
380
+ */
381
+ postConversationsSummariesPreview(body) {
382
+ // verify the required parameter 'body' is set
383
+ if (body === undefined || body === null) {
384
+ throw 'Missing the required parameter "body" when calling postConversationsSummariesPreview';
385
+ }
386
+
387
+ return this.apiClient.callApi(
388
+ '/api/v2/conversations/summaries/preview',
389
+ 'POST',
390
+ { },
391
+ { },
392
+ { },
393
+ { },
394
+ body,
395
+ ['PureCloud OAuth'],
396
+ ['application/json'],
397
+ ['application/json']
398
+ );
399
+ }
400
+
401
+ /**
402
+ * Create a summary setting.
403
+ *
404
+ * @param {Object} body
405
+ */
406
+ postConversationsSummariesSettings(body) {
407
+ // verify the required parameter 'body' is set
408
+ if (body === undefined || body === null) {
409
+ throw 'Missing the required parameter "body" when calling postConversationsSummariesSettings';
410
+ }
411
+
412
+ return this.apiClient.callApi(
413
+ '/api/v2/conversations/summaries/settings',
414
+ 'POST',
415
+ { },
416
+ { },
417
+ { },
418
+ { },
419
+ body,
420
+ ['PureCloud OAuth'],
421
+ ['application/json'],
422
+ ['application/json']
423
+ );
424
+ }
425
+
297
426
  /**
298
427
  * Start the publishing of a guide version.
299
428
  *
@@ -412,6 +541,36 @@ class AIStudioApi {
412
541
  );
413
542
  }
414
543
 
544
+ /**
545
+ * Update a summary setting.
546
+ *
547
+ * @param {String} summarySettingId Summary setting id
548
+ * @param {Object} body
549
+ */
550
+ putConversationsSummariesSetting(summarySettingId, body) {
551
+ // verify the required parameter 'summarySettingId' is set
552
+ if (summarySettingId === undefined || summarySettingId === null || summarySettingId === '') {
553
+ throw 'Missing the required parameter "summarySettingId" when calling putConversationsSummariesSetting';
554
+ }
555
+ // verify the required parameter 'body' is set
556
+ if (body === undefined || body === null) {
557
+ throw 'Missing the required parameter "body" when calling putConversationsSummariesSetting';
558
+ }
559
+
560
+ return this.apiClient.callApi(
561
+ '/api/v2/conversations/summaries/settings/{summarySettingId}',
562
+ 'PUT',
563
+ { 'summarySettingId': summarySettingId },
564
+ { },
565
+ { },
566
+ { },
567
+ body,
568
+ ['PureCloud OAuth'],
569
+ ['application/json'],
570
+ ['application/json']
571
+ );
572
+ }
573
+
415
574
  }
416
575
 
417
576
 
@@ -5,7 +5,7 @@ class AgentAssistantsApi {
5
5
  /**
6
6
  * AgentAssistants service.
7
7
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
8
- * @version 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -937,6 +937,62 @@ class AnalyticsApi {
937
937
  );
938
938
  }
939
939
 
940
+ /**
941
+ * Get analytics data warehouse file download
942
+ *
943
+ * @param {String} downloadId Unique file Id to download
944
+ * getAnalyticsDataextractionDownload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
945
+ */
946
+ getAnalyticsDataextractionDownload(downloadId) {
947
+ // verify the required parameter 'downloadId' is set
948
+ if (downloadId === undefined || downloadId === null || downloadId === '') {
949
+ throw 'Missing the required parameter "downloadId" when calling getAnalyticsDataextractionDownload';
950
+ }
951
+
952
+ return this.apiClient.callApi(
953
+ '/api/v2/analytics/dataextraction/downloads/{downloadId}',
954
+ 'GET',
955
+ { 'downloadId': downloadId },
956
+ { },
957
+ { },
958
+ { },
959
+ null,
960
+ ['PureCloud OAuth'],
961
+ ['application/json'],
962
+ ['application/json']
963
+ );
964
+ }
965
+
966
+ /**
967
+ * Get metadata on files available for extraction
968
+ *
969
+ * @param {Object} opts Optional parameters
970
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
971
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
972
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
973
+ * @param {String} opts.dataSchema Data schema like conversations
974
+ * @param {Date} opts.dateStart Start DateTime filter. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
975
+ * @param {Date} opts.dateEnd End DateTime filter. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
976
+ * getAnalyticsDataextractionDownloadsMetadata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
977
+ */
978
+ getAnalyticsDataextractionDownloadsMetadata(opts) {
979
+ opts = opts || {};
980
+
981
+
982
+ return this.apiClient.callApi(
983
+ '/api/v2/analytics/dataextraction/downloads/metadata',
984
+ 'GET',
985
+ { },
986
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'dataSchema': opts['dataSchema'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'] },
987
+ { },
988
+ { },
989
+ null,
990
+ ['PureCloud OAuth'],
991
+ ['application/json'],
992
+ ['application/json']
993
+ );
994
+ }
995
+
940
996
  /**
941
997
  * Get analytics data retention setting
942
998
  *
@@ -2229,6 +2285,32 @@ class AnalyticsApi {
2229
2285
  );
2230
2286
  }
2231
2287
 
2288
+ /**
2289
+ * Get download URLs for analytics data warehouse files
2290
+ *
2291
+ * @param {Object} body request
2292
+ * postAnalyticsDataextractionDownloadsBulk is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2293
+ */
2294
+ postAnalyticsDataextractionDownloadsBulk(body) {
2295
+ // verify the required parameter 'body' is set
2296
+ if (body === undefined || body === null) {
2297
+ throw 'Missing the required parameter "body" when calling postAnalyticsDataextractionDownloadsBulk';
2298
+ }
2299
+
2300
+ return this.apiClient.callApi(
2301
+ '/api/v2/analytics/dataextraction/downloads/bulk',
2302
+ 'POST',
2303
+ { },
2304
+ { },
2305
+ { },
2306
+ { },
2307
+ body,
2308
+ ['PureCloud OAuth'],
2309
+ ['application/json'],
2310
+ ['application/json']
2311
+ );
2312
+ }
2313
+
2232
2314
  /**
2233
2315
  * Query for evaluation aggregates asynchronously
2234
2316
  *
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class BusinessRulesApi {
5
5
  /**
6
6
  * BusinessRules service.
7
7
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
8
- * @version 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class CoachingApi {
5
5
  /**
6
6
  * Coaching service.
7
7
  * @module purecloud-platform-client-v2/api/CoachingApi
8
- * @version 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5957,6 +5957,41 @@ class ConversationsApi {
5957
5957
  );
5958
5958
  }
5959
5959
 
5960
+ /**
5961
+ * Add participants to a conversation without a user context
5962
+ *
5963
+ * @param {String} conversationId conversationId
5964
+ * @param {String} userId userId
5965
+ * @param {Object} body Conversation
5966
+ */
5967
+ postConversationsCallParticipantsUserUserId(conversationId, userId, body) {
5968
+ // verify the required parameter 'conversationId' is set
5969
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5970
+ throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantsUserUserId';
5971
+ }
5972
+ // verify the required parameter 'userId' is set
5973
+ if (userId === undefined || userId === null || userId === '') {
5974
+ throw 'Missing the required parameter "userId" when calling postConversationsCallParticipantsUserUserId';
5975
+ }
5976
+ // verify the required parameter 'body' is set
5977
+ if (body === undefined || body === null) {
5978
+ throw 'Missing the required parameter "body" when calling postConversationsCallParticipantsUserUserId';
5979
+ }
5980
+
5981
+ return this.apiClient.callApi(
5982
+ '/api/v2/conversations/calls/{conversationId}/participants/user/{userId}',
5983
+ 'POST',
5984
+ { 'conversationId': conversationId,'userId': userId },
5985
+ { },
5986
+ { },
5987
+ { },
5988
+ body,
5989
+ ['PureCloud OAuth'],
5990
+ ['application/json'],
5991
+ ['application/json']
5992
+ );
5993
+ }
5994
+
5960
5995
  /**
5961
5996
  * Apply wrap-up for this conversation communication
5962
5997
  *
@@ -6131,6 +6166,36 @@ class ConversationsApi {
6131
6166
  );
6132
6167
  }
6133
6168
 
6169
+ /**
6170
+ * Create a call conversation on behalf of a user
6171
+ *
6172
+ * @param {String} userId userId
6173
+ * @param {Object} body Call request
6174
+ */
6175
+ postConversationsCallsUserUserId(userId, body) {
6176
+ // verify the required parameter 'userId' is set
6177
+ if (userId === undefined || userId === null || userId === '') {
6178
+ throw 'Missing the required parameter "userId" when calling postConversationsCallsUserUserId';
6179
+ }
6180
+ // verify the required parameter 'body' is set
6181
+ if (body === undefined || body === null) {
6182
+ throw 'Missing the required parameter "body" when calling postConversationsCallsUserUserId';
6183
+ }
6184
+
6185
+ return this.apiClient.callApi(
6186
+ '/api/v2/conversations/calls/user/{userId}',
6187
+ 'POST',
6188
+ { 'userId': userId },
6189
+ { },
6190
+ { },
6191
+ { },
6192
+ body,
6193
+ ['PureCloud OAuth'],
6194
+ ['application/json'],
6195
+ ['application/json']
6196
+ );
6197
+ }
6198
+
6134
6199
  /**
6135
6200
  * Send a message on behalf of a communication in a chat conversation.
6136
6201
  * This endpoint is deprecated. Please see the article https://help.genesys.cloud/articles/deprecation-removal-of-acd-web-chat-version-2/.
@@ -6541,7 +6606,7 @@ class ConversationsApi {
6541
6606
 
6542
6607
  /**
6543
6608
  * Reconnect the user to the most recently disconnected customer on a fully disconnected email conversation
6544
- *
6609
+ * This request is not valid when using the Client Credentials OAuth grant.
6545
6610
  * @param {String} conversationId conversationId
6546
6611
  */
6547
6612
  postConversationsEmailReconnect(conversationId) {
@@ -5,7 +5,7 @@ class DataExtensionsApi {
5
5
  /**
6
6
  * DataExtensions service.
7
7
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
8
- * @version 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class FaxApi {
5
5
  /**
6
6
  * Fax service.
7
7
  * @module purecloud-platform-client-v2/api/FaxApi
8
- * @version 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.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 230.0.0
8
+ * @version 231.0.0
9
9
  */
10
10
 
11
11
  /**