purecloud-platform-client-v2 218.0.0 → 219.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 +1362 -94
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1362 -94
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +396 -97
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +396 -97
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +701 -1
  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 -4
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +61 -1
  17. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +54 -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 -1
  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 +36 -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 +65 -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 +396 -2
  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 +366 -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 +31 -1
  42. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  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 +54 -1
  55. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OutboundApi.js +60 -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 -1
  62. package/src/purecloud-platform-client-v2/api/RecordingApi.js +2 -2
  63. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/RoutingApi.js +6 -4
  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 +65 -1
  70. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  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 +66 -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 +1 -1
  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 +26 -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 +1 -1
  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 +1 -1
  90. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +7 -5
  91. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class GamificationApi {
5
5
  /**
6
6
  * Gamification service.
7
7
  * @module purecloud-platform-client-v2/api/GamificationApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -45,6 +45,31 @@ class GamificationApi {
45
45
  );
46
46
  }
47
47
 
48
+ /**
49
+ * Delete a Contest by Id
50
+ *
51
+ * @param {String} contestId The ID of the contest
52
+ */
53
+ deleteGamificationContest(contestId) {
54
+ // verify the required parameter 'contestId' is set
55
+ if (contestId === undefined || contestId === null) {
56
+ throw 'Missing the required parameter "contestId" when calling deleteGamificationContest';
57
+ }
58
+
59
+ return this.apiClient.callApi(
60
+ '/api/v2/gamification/contests/{contestId}',
61
+ 'DELETE',
62
+ { 'contestId': contestId },
63
+ { },
64
+ { },
65
+ { },
66
+ null,
67
+ ['PureCloud OAuth'],
68
+ ['application/json'],
69
+ ['application/json']
70
+ );
71
+ }
72
+
48
73
  /**
49
74
  * Get an External Metric Definition
50
75
  *
@@ -95,6 +120,236 @@ class GamificationApi {
95
120
  );
96
121
  }
97
122
 
123
+ /**
124
+ * Get a Contest by Id
125
+ *
126
+ * @param {String} contestId The ID of the contest
127
+ */
128
+ getGamificationContest(contestId) {
129
+ // verify the required parameter 'contestId' is set
130
+ if (contestId === undefined || contestId === null) {
131
+ throw 'Missing the required parameter "contestId" when calling getGamificationContest';
132
+ }
133
+
134
+ return this.apiClient.callApi(
135
+ '/api/v2/gamification/contests/{contestId}',
136
+ 'GET',
137
+ { 'contestId': contestId },
138
+ { },
139
+ { },
140
+ { },
141
+ null,
142
+ ['PureCloud OAuth'],
143
+ ['application/json'],
144
+ ['application/json']
145
+ );
146
+ }
147
+
148
+ /**
149
+ * Get Contest Scores (Admin)
150
+ *
151
+ * @param {String} contestId The ID of the contest
152
+ * @param {Object} opts Optional parameters
153
+ * @param {Number} opts.pageNumber (default to 1)
154
+ * @param {Number} opts.pageSize (default to 25)
155
+ * @param {String} opts.workday Target querying workday. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
156
+ * @param {Object} opts.returnsView Desired response results (default to All)
157
+ */
158
+ getGamificationContestAgentsScores(contestId, opts) {
159
+ opts = opts || {};
160
+
161
+ // verify the required parameter 'contestId' is set
162
+ if (contestId === undefined || contestId === null) {
163
+ throw 'Missing the required parameter "contestId" when calling getGamificationContestAgentsScores';
164
+ }
165
+
166
+ return this.apiClient.callApi(
167
+ '/api/v2/gamification/contests/{contestId}/agents/scores',
168
+ 'GET',
169
+ { 'contestId': contestId },
170
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'workday': opts['workday'],'returnsView': opts['returnsView'] },
171
+ { },
172
+ { },
173
+ null,
174
+ ['PureCloud OAuth'],
175
+ ['application/json'],
176
+ ['application/json']
177
+ );
178
+ }
179
+
180
+ /**
181
+ * Get Contest Scores for the requesting Agent/Supervisor
182
+ *
183
+ * @param {String} contestId The ID of the contest
184
+ * @param {Object} opts Optional parameters
185
+ * @param {Number} opts.pageNumber (default to 1)
186
+ * @param {Number} opts.pageSize (default to 25)
187
+ * @param {String} opts.workday Target querying workday. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
188
+ * @param {Object} opts.returnsView Desired response results (Supervisor Only) (default to All)
189
+ */
190
+ getGamificationContestAgentsScoresMe(contestId, opts) {
191
+ opts = opts || {};
192
+
193
+ // verify the required parameter 'contestId' is set
194
+ if (contestId === undefined || contestId === null) {
195
+ throw 'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresMe';
196
+ }
197
+
198
+ return this.apiClient.callApi(
199
+ '/api/v2/gamification/contests/{contestId}/agents/scores/me',
200
+ 'GET',
201
+ { 'contestId': contestId },
202
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'workday': opts['workday'],'returnsView': opts['returnsView'] },
203
+ { },
204
+ { },
205
+ null,
206
+ ['PureCloud OAuth'],
207
+ ['application/json'],
208
+ ['application/json']
209
+ );
210
+ }
211
+
212
+ /**
213
+ * Get a Contest Score Trend (Average Trend)
214
+ *
215
+ * @param {String} contestId The ID of the contest
216
+ */
217
+ getGamificationContestAgentsScoresTrends(contestId) {
218
+ // verify the required parameter 'contestId' is set
219
+ if (contestId === undefined || contestId === null) {
220
+ throw 'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresTrends';
221
+ }
222
+
223
+ return this.apiClient.callApi(
224
+ '/api/v2/gamification/contests/{contestId}/agents/scores/trends',
225
+ 'GET',
226
+ { 'contestId': contestId },
227
+ { },
228
+ { },
229
+ { },
230
+ null,
231
+ ['PureCloud OAuth'],
232
+ ['application/json'],
233
+ ['application/json']
234
+ );
235
+ }
236
+
237
+ /**
238
+ * Get a Contest Score Trend for the requesting Agent
239
+ *
240
+ * @param {String} contestId The ID of the contest
241
+ */
242
+ getGamificationContestAgentsScoresTrendsMe(contestId) {
243
+ // verify the required parameter 'contestId' is set
244
+ if (contestId === undefined || contestId === null) {
245
+ throw 'Missing the required parameter "contestId" when calling getGamificationContestAgentsScoresTrendsMe';
246
+ }
247
+
248
+ return this.apiClient.callApi(
249
+ '/api/v2/gamification/contests/{contestId}/agents/scores/trends/me',
250
+ 'GET',
251
+ { 'contestId': contestId },
252
+ { },
253
+ { },
254
+ { },
255
+ null,
256
+ ['PureCloud OAuth'],
257
+ ['application/json'],
258
+ ['application/json']
259
+ );
260
+ }
261
+
262
+ /**
263
+ * Get a Contest Prize Image by Id
264
+ *
265
+ * @param {String} contestId The ID of the contest
266
+ * @param {String} prizeImageId The ID of the prize image
267
+ */
268
+ getGamificationContestPrizeimage(contestId, prizeImageId) {
269
+ // verify the required parameter 'contestId' is set
270
+ if (contestId === undefined || contestId === null) {
271
+ throw 'Missing the required parameter "contestId" when calling getGamificationContestPrizeimage';
272
+ }
273
+ // verify the required parameter 'prizeImageId' is set
274
+ if (prizeImageId === undefined || prizeImageId === null) {
275
+ throw 'Missing the required parameter "prizeImageId" when calling getGamificationContestPrizeimage';
276
+ }
277
+
278
+ return this.apiClient.callApi(
279
+ '/api/v2/gamification/contests/{contestId}/prizeimages/{prizeImageId}',
280
+ 'GET',
281
+ { 'contestId': contestId,'prizeImageId': prizeImageId },
282
+ { },
283
+ { },
284
+ { },
285
+ null,
286
+ ['PureCloud OAuth'],
287
+ ['application/json'],
288
+ ['application/json']
289
+ );
290
+ }
291
+
292
+ /**
293
+ * Get a List of Contests (Admin)
294
+ *
295
+ * @param {Object} opts Optional parameters
296
+ * @param {Number} opts.pageNumber (default to 1)
297
+ * @param {Number} opts.pageSize (default to 25)
298
+ * @param {String} opts.dateStart Start date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
299
+ * @param {String} opts.dateEnd End date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
300
+ * @param {Array.<String>} opts.status
301
+ * @param {Object} opts.sortBy (default to dateStart)
302
+ * @param {Object} opts.sortOrder (default to desc)
303
+ */
304
+ getGamificationContests(opts) {
305
+ opts = opts || {};
306
+
307
+
308
+ return this.apiClient.callApi(
309
+ '/api/v2/gamification/contests',
310
+ 'GET',
311
+ { },
312
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'],'status': this.apiClient.buildCollectionParam(opts['status'], 'multi'),'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
313
+ { },
314
+ { },
315
+ null,
316
+ ['PureCloud OAuth'],
317
+ ['application/json'],
318
+ ['application/json']
319
+ );
320
+ }
321
+
322
+ /**
323
+ * Get a List of Contests (Agent/Supervisor)
324
+ *
325
+ * @param {Object} opts Optional parameters
326
+ * @param {Number} opts.pageNumber (default to 1)
327
+ * @param {Number} opts.pageSize (default to 25)
328
+ * @param {String} opts.dateStart Start date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
329
+ * @param {String} opts.dateEnd End date for the query. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
330
+ * @param {Array.<String>} opts.status
331
+ * @param {Object} opts.sortBy (default to dateStart)
332
+ * @param {Object} opts.sortOrder (default to desc)
333
+ * @param {Object} opts.view (default to participant)
334
+ */
335
+ getGamificationContestsMe(opts) {
336
+ opts = opts || {};
337
+
338
+
339
+ return this.apiClient.callApi(
340
+ '/api/v2/gamification/contests/me',
341
+ 'GET',
342
+ { },
343
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'dateStart': opts['dateStart'],'dateEnd': opts['dateEnd'],'status': this.apiClient.buildCollectionParam(opts['status'], 'multi'),'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'view': opts['view'] },
344
+ { },
345
+ { },
346
+ null,
347
+ ['PureCloud OAuth'],
348
+ ['application/json'],
349
+ ['application/json']
350
+ );
351
+ }
352
+
98
353
  /**
99
354
  * Get insights summary
100
355
  *
@@ -1745,6 +2000,36 @@ class GamificationApi {
1745
2000
  );
1746
2001
  }
1747
2002
 
2003
+ /**
2004
+ * Finalize a Contest by Id
2005
+ *
2006
+ * @param {String} contestId The ID of the contest
2007
+ * @param {Object} body Finalize Contest
2008
+ */
2009
+ patchGamificationContest(contestId, body) {
2010
+ // verify the required parameter 'contestId' is set
2011
+ if (contestId === undefined || contestId === null) {
2012
+ throw 'Missing the required parameter "contestId" when calling patchGamificationContest';
2013
+ }
2014
+ // verify the required parameter 'body' is set
2015
+ if (body === undefined || body === null) {
2016
+ throw 'Missing the required parameter "body" when calling patchGamificationContest';
2017
+ }
2018
+
2019
+ return this.apiClient.callApi(
2020
+ '/api/v2/gamification/contests/{contestId}',
2021
+ 'PATCH',
2022
+ { 'contestId': contestId },
2023
+ { },
2024
+ { },
2025
+ { },
2026
+ body,
2027
+ ['PureCloud OAuth'],
2028
+ ['application/json'],
2029
+ ['application/json']
2030
+ );
2031
+ }
2032
+
1748
2033
  /**
1749
2034
  * Write External Metric Data
1750
2035
  *
@@ -1793,6 +2078,56 @@ class GamificationApi {
1793
2078
  );
1794
2079
  }
1795
2080
 
2081
+ /**
2082
+ * Creates a Contest
2083
+ *
2084
+ * @param {Object} body Create Contest
2085
+ */
2086
+ postGamificationContests(body) {
2087
+ // verify the required parameter 'body' is set
2088
+ if (body === undefined || body === null) {
2089
+ throw 'Missing the required parameter "body" when calling postGamificationContests';
2090
+ }
2091
+
2092
+ return this.apiClient.callApi(
2093
+ '/api/v2/gamification/contests',
2094
+ 'POST',
2095
+ { },
2096
+ { },
2097
+ { },
2098
+ { },
2099
+ body,
2100
+ ['PureCloud OAuth'],
2101
+ ['application/json'],
2102
+ ['application/json']
2103
+ );
2104
+ }
2105
+
2106
+ /**
2107
+ * Generates pre-signed URL to upload a prize image for gamification contests
2108
+ *
2109
+ * @param {Object} body query
2110
+ */
2111
+ postGamificationContestsUploadsPrizeimages(body) {
2112
+ // verify the required parameter 'body' is set
2113
+ if (body === undefined || body === null) {
2114
+ throw 'Missing the required parameter "body" when calling postGamificationContestsUploadsPrizeimages';
2115
+ }
2116
+
2117
+ return this.apiClient.callApi(
2118
+ '/api/v2/gamification/contests/uploads/prizeimages',
2119
+ 'POST',
2120
+ { },
2121
+ { },
2122
+ { },
2123
+ { },
2124
+ body,
2125
+ ['PureCloud OAuth'],
2126
+ ['application/json'],
2127
+ ['application/json']
2128
+ );
2129
+ }
2130
+
1796
2131
  /**
1797
2132
  * Activate a performance profile
1798
2133
  *
@@ -2052,6 +2387,36 @@ class GamificationApi {
2052
2387
  );
2053
2388
  }
2054
2389
 
2390
+ /**
2391
+ * Update a Contest by Id
2392
+ *
2393
+ * @param {String} contestId The ID of the contest
2394
+ * @param {Object} body Contest
2395
+ */
2396
+ putGamificationContest(contestId, body) {
2397
+ // verify the required parameter 'contestId' is set
2398
+ if (contestId === undefined || contestId === null) {
2399
+ throw 'Missing the required parameter "contestId" when calling putGamificationContest';
2400
+ }
2401
+ // verify the required parameter 'body' is set
2402
+ if (body === undefined || body === null) {
2403
+ throw 'Missing the required parameter "body" when calling putGamificationContest';
2404
+ }
2405
+
2406
+ return this.apiClient.callApi(
2407
+ '/api/v2/gamification/contests/{contestId}',
2408
+ 'PUT',
2409
+ { 'contestId': contestId },
2410
+ { },
2411
+ { },
2412
+ { },
2413
+ body,
2414
+ ['PureCloud OAuth'],
2415
+ ['application/json'],
2416
+ ['application/json']
2417
+ );
2418
+ }
2419
+
2055
2420
  /**
2056
2421
  * Updates a performance profile
2057
2422
  *
@@ -5,7 +5,7 @@ class GeneralDataProtectionRegulationApi {
5
5
  /**
6
6
  * GeneralDataProtectionRegulation service.
7
7
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
8
- * @version 218.0.0
8
+ * @version 219.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 218.0.0
8
+ * @version 219.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 218.0.0
8
+ * @version 219.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 218.0.0
8
+ * @version 219.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 218.0.0
8
+ * @version 219.0.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 218.0.0
8
+ * @version 219.0.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 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -2235,6 +2235,36 @@ class IntegrationsApi {
2235
2235
  );
2236
2236
  }
2237
2237
 
2238
+ /**
2239
+ * Invoke Webhook
2240
+ *
2241
+ * @param {String} tokenId The token of the webhook to be invoked
2242
+ * @param {Object.<String, {String: Object}>} body Webhook Invocation Payload
2243
+ */
2244
+ postIntegrationsWebhookEvents(tokenId, body) {
2245
+ // verify the required parameter 'tokenId' is set
2246
+ if (tokenId === undefined || tokenId === null) {
2247
+ throw 'Missing the required parameter "tokenId" when calling postIntegrationsWebhookEvents';
2248
+ }
2249
+ // verify the required parameter 'body' is set
2250
+ if (body === undefined || body === null) {
2251
+ throw 'Missing the required parameter "body" when calling postIntegrationsWebhookEvents';
2252
+ }
2253
+
2254
+ return this.apiClient.callApi(
2255
+ '/api/v2/integrations/webhooks/{tokenId}/events',
2256
+ 'POST',
2257
+ { 'tokenId': tokenId },
2258
+ { },
2259
+ { },
2260
+ { },
2261
+ body,
2262
+ ['PureCloud OAuth'],
2263
+ ['application/json'],
2264
+ ['application/json']
2265
+ );
2266
+ }
2267
+
2238
2268
  /**
2239
2269
  * Update integration configuration.
2240
2270
  *
@@ -5,7 +5,7 @@ class JourneyApi {
5
5
  /**
6
6
  * Journey service.
7
7
  * @module purecloud-platform-client-v2/api/JourneyApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class KnowledgeApi {
5
5
  /**
6
6
  * Knowledge service.
7
7
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LanguagesApi {
5
5
  /**
6
6
  * Languages service.
7
7
  * @module purecloud-platform-client-v2/api/LanguagesApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LearningApi {
5
5
  /**
6
6
  * Learning service.
7
7
  * @module purecloud-platform-client-v2/api/LearningApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LicenseApi {
5
5
  /**
6
6
  * License service.
7
7
  * @module purecloud-platform-client-v2/api/LicenseApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LocationsApi {
5
5
  /**
6
6
  * Locations service.
7
7
  * @module purecloud-platform-client-v2/api/LocationsApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LogCaptureApi {
5
5
  /**
6
6
  * LogCapture service.
7
7
  * @module purecloud-platform-client-v2/api/LogCaptureApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class MessagingApi {
5
5
  /**
6
6
  * Messaging service.
7
7
  * @module purecloud-platform-client-v2/api/MessagingApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class MobileDevicesApi {
5
5
  /**
6
6
  * MobileDevices service.
7
7
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class NotificationsApi {
5
5
  /**
6
6
  * Notifications service.
7
7
  * @module purecloud-platform-client-v2/api/NotificationsApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OAuthApi {
5
5
  /**
6
6
  * OAuth service.
7
7
  * @module purecloud-platform-client-v2/api/OAuthApi
8
- * @version 218.0.0
8
+ * @version 219.0.0
9
9
  */
10
10
 
11
11
  /**