purecloud-platform-client-v2 249.1.0 → 250.1.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 (97) hide show
  1. package/README.md +10 -8
  2. package/dist/node/purecloud-platform-client-v2.js +1467 -119
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1467 -119
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +462 -125
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +462 -125
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +748 -41
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +157 -2
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.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/BackgroundAssistantApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +41 -1
  30. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/IntentsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/JourneyApi.js +471 -1
  49. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/RecordingApi.js +8 -8
  69. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/UsersApi.js +9 -21
  89. package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  93. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  94. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  95. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  96. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +765 -70
  97. 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": "249.1.0",
3
+ "version": "250.1.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 249.1.0
9
+ * @version 250.1.0
10
10
  */
11
11
  class ApiClient {
12
12
  /**
@@ -72,7 +72,7 @@ class ApiClient {
72
72
  MULTI: 'multi'
73
73
  };
74
74
 
75
- this.useLegacyParameterFilter = true;
75
+ this.useLegacyParameterFilter = false;
76
76
 
77
77
  /**
78
78
  * @description Value is `true` if local storage exists. Otherwise, false.
@@ -5,7 +5,7 @@ class AIStudioApi {
5
5
  /**
6
6
  * AIStudio service.
7
7
  * @module purecloud-platform-client-v2/api/AIStudioApi
8
- * @version 249.1.0
8
+ * @version 250.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AgentAssistantsApi {
5
5
  /**
6
6
  * AgentAssistants service.
7
7
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
8
- * @version 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -205,6 +205,37 @@ class AnalyticsApi {
205
205
  );
206
206
  }
207
207
 
208
+ /**
209
+ * Delete/cancel an async request for copilot aggregates
210
+ *
211
+ * @param {String} jobId jobId
212
+ * @param {Object} opts Optional parameters
213
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
214
+ * deleteAnalyticsCopilotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
215
+ */
216
+ deleteAnalyticsCopilotsAggregatesJob(jobId, opts) {
217
+ opts = opts || {};
218
+
219
+ // verify the required parameter 'jobId' is set
220
+ if (jobId === undefined || jobId === null || jobId === '') {
221
+ throw 'Missing the required parameter "jobId" when calling deleteAnalyticsCopilotsAggregatesJob';
222
+ }
223
+
224
+ return this.apiClient.callApi(
225
+ '/api/v2/analytics/copilots/aggregates/jobs/{jobId}',
226
+ 'DELETE',
227
+ { 'jobId': jobId },
228
+ { },
229
+ { },
230
+ { },
231
+ null,
232
+ ['PureCloud OAuth'],
233
+ ['application/json'],
234
+ ['application/json'],
235
+ opts['customHeaders']
236
+ );
237
+ }
238
+
208
239
  /**
209
240
  * Delete/cancel an async request for evaluation aggregates
210
241
  *
@@ -1174,6 +1205,69 @@ class AnalyticsApi {
1174
1205
  );
1175
1206
  }
1176
1207
 
1208
+ /**
1209
+ * Get status for async query for copilot aggregates
1210
+ *
1211
+ * @param {String} jobId jobId
1212
+ * @param {Object} opts Optional parameters
1213
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1214
+ * getAnalyticsCopilotsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1215
+ */
1216
+ getAnalyticsCopilotsAggregatesJob(jobId, opts) {
1217
+ opts = opts || {};
1218
+
1219
+ // verify the required parameter 'jobId' is set
1220
+ if (jobId === undefined || jobId === null || jobId === '') {
1221
+ throw 'Missing the required parameter "jobId" when calling getAnalyticsCopilotsAggregatesJob';
1222
+ }
1223
+
1224
+ return this.apiClient.callApi(
1225
+ '/api/v2/analytics/copilots/aggregates/jobs/{jobId}',
1226
+ 'GET',
1227
+ { 'jobId': jobId },
1228
+ { },
1229
+ { },
1230
+ { },
1231
+ null,
1232
+ ['PureCloud OAuth'],
1233
+ ['application/json'],
1234
+ ['application/json'],
1235
+ opts['customHeaders']
1236
+ );
1237
+ }
1238
+
1239
+ /**
1240
+ * Fetch a page of results for an async aggregates query
1241
+ *
1242
+ * @param {String} jobId jobId
1243
+ * @param {Object} opts Optional parameters
1244
+ * @param {String} opts.cursor Cursor token to retrieve next page
1245
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1246
+ * getAnalyticsCopilotsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1247
+ */
1248
+ getAnalyticsCopilotsAggregatesJobResults(jobId, opts) {
1249
+ opts = opts || {};
1250
+
1251
+ // verify the required parameter 'jobId' is set
1252
+ if (jobId === undefined || jobId === null || jobId === '') {
1253
+ throw 'Missing the required parameter "jobId" when calling getAnalyticsCopilotsAggregatesJobResults';
1254
+ }
1255
+
1256
+ return this.apiClient.callApi(
1257
+ '/api/v2/analytics/copilots/aggregates/jobs/{jobId}/results',
1258
+ 'GET',
1259
+ { 'jobId': jobId },
1260
+ { 'cursor': opts['cursor'] },
1261
+ { },
1262
+ { },
1263
+ null,
1264
+ ['PureCloud OAuth'],
1265
+ ['application/json'],
1266
+ ['application/json'],
1267
+ opts['customHeaders']
1268
+ );
1269
+ }
1270
+
1177
1271
  /**
1178
1272
  * Get analytics data warehouse file download
1179
1273
  *
@@ -2781,6 +2875,68 @@ class AnalyticsApi {
2781
2875
  );
2782
2876
  }
2783
2877
 
2878
+ /**
2879
+ * Query for copilot aggregates asynchronously
2880
+ *
2881
+ * @param {Object} body query
2882
+ * @param {Object} opts Optional parameters
2883
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2884
+ * postAnalyticsCopilotsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2885
+ */
2886
+ postAnalyticsCopilotsAggregatesJobs(body, opts) {
2887
+ opts = opts || {};
2888
+
2889
+ // verify the required parameter 'body' is set
2890
+ if (body === undefined || body === null) {
2891
+ throw 'Missing the required parameter "body" when calling postAnalyticsCopilotsAggregatesJobs';
2892
+ }
2893
+
2894
+ return this.apiClient.callApi(
2895
+ '/api/v2/analytics/copilots/aggregates/jobs',
2896
+ 'POST',
2897
+ { },
2898
+ { },
2899
+ { },
2900
+ { },
2901
+ body,
2902
+ ['PureCloud OAuth'],
2903
+ ['application/json'],
2904
+ ['application/json'],
2905
+ opts['customHeaders']
2906
+ );
2907
+ }
2908
+
2909
+ /**
2910
+ * Query for copilot aggregates
2911
+ *
2912
+ * @param {Object} body query
2913
+ * @param {Object} opts Optional parameters
2914
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2915
+ * postAnalyticsCopilotsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2916
+ */
2917
+ postAnalyticsCopilotsAggregatesQuery(body, opts) {
2918
+ opts = opts || {};
2919
+
2920
+ // verify the required parameter 'body' is set
2921
+ if (body === undefined || body === null) {
2922
+ throw 'Missing the required parameter "body" when calling postAnalyticsCopilotsAggregatesQuery';
2923
+ }
2924
+
2925
+ return this.apiClient.callApi(
2926
+ '/api/v2/analytics/copilots/aggregates/query',
2927
+ 'POST',
2928
+ { },
2929
+ { },
2930
+ { },
2931
+ { },
2932
+ body,
2933
+ ['PureCloud OAuth'],
2934
+ ['application/json'],
2935
+ ['application/json'],
2936
+ opts['customHeaders']
2937
+ );
2938
+ }
2939
+
2784
2940
  /**
2785
2941
  * Get download URLs for analytics data warehouse files
2786
2942
  *
@@ -3643,7 +3799,6 @@ class AnalyticsApi {
3643
3799
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned. Used for pagination.
3644
3800
  * @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200.
3645
3801
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3646
- * postAnalyticsTaskmanagementMetricsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3647
3802
  */
3648
3803
  postAnalyticsTaskmanagementMetricsQuery(body, opts) {
3649
3804
  opts = opts || {};
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 249.1.0
8
+ * @version 250.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AssistantCopilotVariationsApi {
5
5
  /**
6
6
  * AssistantCopilotVariations service.
7
7
  * @module purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
8
- * @version 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class BackgroundAssistantApi {
5
5
  /**
6
6
  * BackgroundAssistant service.
7
7
  * @module purecloud-platform-client-v2/api/BackgroundAssistantApi
8
- * @version 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class CaseManagementApi {
5
5
  /**
6
6
  * CaseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/CaseManagementApi
8
- * @version 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -7881,6 +7881,46 @@ class ConversationsApi {
7881
7881
  );
7882
7882
  }
7883
7883
 
7884
+ /**
7885
+ * Start/stop the snippet recording for a participant
7886
+ *
7887
+ * @param {String} conversationId conversationId
7888
+ * @param {String} participantId participantId
7889
+ * @param {Object} body snippetRecordingRequest
7890
+ * @param {Object} opts Optional parameters
7891
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
7892
+ */
7893
+ postConversationsCallParticipantSnippetRecord(conversationId, participantId, body, opts) {
7894
+ opts = opts || {};
7895
+
7896
+ // verify the required parameter 'conversationId' is set
7897
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
7898
+ throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantSnippetRecord';
7899
+ }
7900
+ // verify the required parameter 'participantId' is set
7901
+ if (participantId === undefined || participantId === null || participantId === '') {
7902
+ throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantSnippetRecord';
7903
+ }
7904
+ // verify the required parameter 'body' is set
7905
+ if (body === undefined || body === null) {
7906
+ throw 'Missing the required parameter "body" when calling postConversationsCallParticipantSnippetRecord';
7907
+ }
7908
+
7909
+ return this.apiClient.callApi(
7910
+ '/api/v2/conversations/calls/{conversationId}/participants/{participantId}/snippet/record',
7911
+ 'POST',
7912
+ { 'conversationId': conversationId,'participantId': participantId },
7913
+ { },
7914
+ { },
7915
+ { },
7916
+ body,
7917
+ ['PureCloud OAuth'],
7918
+ ['application/json'],
7919
+ ['application/json'],
7920
+ opts['customHeaders']
7921
+ );
7922
+ }
7923
+
7884
7924
  /**
7885
7925
  * Initiate voice consult transfer
7886
7926
  *
@@ -5,7 +5,7 @@ class DataExtensionsApi {
5
5
  /**
6
6
  * DataExtensions service.
7
7
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
8
- * @version 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.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 249.1.0
8
+ * @version 250.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class InfrastructureAsCodeApi {
5
5
  /**
6
6
  * InfrastructureAsCode service.
7
7
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
8
- * @version 249.1.0
8
+ * @version 250.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class IntegrationsApi {
5
5
  /**
6
6
  * Integrations service.
7
7
  * @module purecloud-platform-client-v2/api/IntegrationsApi
8
- * @version 249.1.0
8
+ * @version 250.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class IntentsApi {
5
5
  /**
6
6
  * Intents service.
7
7
  * @module purecloud-platform-client-v2/api/IntentsApi
8
- * @version 249.1.0
8
+ * @version 250.1.0
9
9
  */
10
10
 
11
11
  /**