purecloud-platform-client-v2 182.1.0 → 184.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 (84) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +786 -127
  3. package/dist/web-amd/purecloud-platform-client-v2.js +786 -127
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +295 -119
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +295 -119
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +554 -229
  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/AlertingApi.js +30 -19
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +149 -5
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +7 -8
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +2 -2
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +4 -8
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +39 -2
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +75 -0
  45. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +7 -8
  50. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OutboundApi.js +401 -1
  54. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -6
  55. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/QualityApi.js +7 -4
  57. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/index.js +7 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-platform-client-v2",
3
- "version": "182.1.0",
3
+ "version": "184.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",
@@ -4,7 +4,7 @@ import { default as qs } from 'qs';
4
4
 
5
5
  /**
6
6
  * @module purecloud-platform-client-v2/ApiClient
7
- * @version 182.1.0
7
+ * @version 184.0.0
8
8
  */
9
9
  class ApiClient {
10
10
  /**
@@ -5,7 +5,7 @@ class AlertingApi {
5
5
  /**
6
6
  * Alerting service.
7
7
  * @module purecloud-platform-client-v2/api/AlertingApi
8
- * @version 182.1.0
8
+ * @version 184.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -47,8 +47,9 @@ class AlertingApi {
47
47
 
48
48
  /**
49
49
  * Delete an interaction stats alert
50
- *
50
+ * Apps should migrate to use DELETE /api/v2/alerting/alerts/{alertId}.
51
51
  * @param {String} alertId Alert ID
52
+ * @deprecated
52
53
  */
53
54
  deleteAlertingInteractionstatsAlert(alertId) {
54
55
  // verify the required parameter 'alertId' is set
@@ -71,9 +72,10 @@ class AlertingApi {
71
72
  }
72
73
 
73
74
  /**
74
- * Delete an interaction stats rule.
75
- *
75
+ * Delete an interaction stats rule
76
+ * Apps should migrate to use DELETE /api/v2/alerting/rules/{ruleId}.
76
77
  * @param {String} ruleId Rule ID
78
+ * @deprecated
77
79
  */
78
80
  deleteAlertingInteractionstatsRule(ruleId) {
79
81
  // verify the required parameter 'ruleId' is set
@@ -146,8 +148,9 @@ class AlertingApi {
146
148
  }
147
149
 
148
150
  /**
149
- * Gets active alert count for a user.
150
- *
151
+ * Gets active alert count for a user
152
+ * Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to Count and alertStatus to Active in the request body.
153
+ * @deprecated
151
154
  */
152
155
  getAlertingAlertsActive() {
153
156
 
@@ -167,10 +170,11 @@ class AlertingApi {
167
170
 
168
171
  /**
169
172
  * Get an interaction stats alert
170
- *
173
+ * Apps should migrate to use GET /api/v2/alerting/alerts/{alertId}.
171
174
  * @param {String} alertId Alert ID
172
175
  * @param {Object} opts Optional parameters
173
176
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
177
+ * @deprecated
174
178
  */
175
179
  getAlertingInteractionstatsAlert(alertId, opts) {
176
180
  opts = opts || {};
@@ -195,10 +199,11 @@ class AlertingApi {
195
199
  }
196
200
 
197
201
  /**
198
- * Get interaction stats alert list.
199
- *
202
+ * Get interaction stats alert list
203
+ * Apps should migrate to use POST /api/v2/alerting/alerts/query.
200
204
  * @param {Object} opts Optional parameters
201
205
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
206
+ * @deprecated
202
207
  */
203
208
  getAlertingInteractionstatsAlerts(opts) {
204
209
  opts = opts || {};
@@ -219,8 +224,9 @@ class AlertingApi {
219
224
  }
220
225
 
221
226
  /**
222
- * Gets user unread count of interaction stats alerts.
223
- *
227
+ * Gets user unread count of interaction stats alerts
228
+ * Apps should migrate to use POST /api/v2/alerting/alerts/query with the queryType set to Count and viewStatus to Unread in the request body.
229
+ * @deprecated
224
230
  */
225
231
  getAlertingInteractionstatsAlertsUnread() {
226
232
 
@@ -239,11 +245,12 @@ class AlertingApi {
239
245
  }
240
246
 
241
247
  /**
242
- * Get an interaction stats rule.
243
- *
248
+ * Get an interaction stats rule
249
+ * Apps should migrate to use GET /api/v2/alerting/rules/{ruleId}.
244
250
  * @param {String} ruleId Rule ID
245
251
  * @param {Object} opts Optional parameters
246
252
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
253
+ * @deprecated
247
254
  */
248
255
  getAlertingInteractionstatsRule(ruleId, opts) {
249
256
  opts = opts || {};
@@ -268,10 +275,11 @@ class AlertingApi {
268
275
  }
269
276
 
270
277
  /**
271
- * Get an interaction stats rule list.
272
- *
278
+ * Get an interaction stats rule list
279
+ * Apps should migrate to use POST /api/v2/alerting/rules/query.
273
280
  * @param {Object} opts Optional parameters
274
281
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
282
+ * @deprecated
275
283
  */
276
284
  getAlertingInteractionstatsRules(opts) {
277
285
  opts = opts || {};
@@ -420,11 +428,12 @@ class AlertingApi {
420
428
  }
421
429
 
422
430
  /**
423
- * Create an interaction stats rule.
424
- *
431
+ * Create an interaction stats rule
432
+ * Apps should migrate to use POST /api/v2/alerting/rules.
425
433
  * @param {Object} body AlertingRule
426
434
  * @param {Object} opts Optional parameters
427
435
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
436
+ * @deprecated
428
437
  */
429
438
  postAlertingInteractionstatsRules(body, opts) {
430
439
  opts = opts || {};
@@ -553,11 +562,12 @@ class AlertingApi {
553
562
 
554
563
  /**
555
564
  * Update an interaction stats alert read status
556
- *
565
+ * Apps should migrate to use PUT /api/v2/alerting/alerts/{alertId}.
557
566
  * @param {String} alertId Alert ID
558
567
  * @param {Object} body InteractionStatsAlert
559
568
  * @param {Object} opts Optional parameters
560
569
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
570
+ * @deprecated
561
571
  */
562
572
  putAlertingInteractionstatsAlert(alertId, body, opts) {
563
573
  opts = opts || {};
@@ -587,11 +597,12 @@ class AlertingApi {
587
597
 
588
598
  /**
589
599
  * Update an interaction stats rule
590
- *
600
+ * Apps should migrate to use PUT /api/v2/alerting/rules/{ruleId}.
591
601
  * @param {String} ruleId Rule ID
592
602
  * @param {Object} body AlertingRule
593
603
  * @param {Object} opts Optional parameters
594
604
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
605
+ * @deprecated
595
606
  */
596
607
  putAlertingInteractionstatsRule(ruleId, body, opts) {
597
608
  opts = opts || {};
@@ -5,7 +5,7 @@ class AnalyticsApi {
5
5
  /**
6
6
  * Analytics service.
7
7
  * @module purecloud-platform-client-v2/api/AnalyticsApi
8
- * @version 182.1.0
8
+ * @version 184.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -153,7 +153,7 @@ class AnalyticsApi {
153
153
 
154
154
  /**
155
155
  * Get Reporting Turns.
156
- * Returns the reporting turns grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint do not persist indefinitely, as they auto delete after a predefined period.
156
+ * Returns the reporting turns grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
157
157
  * @param {String} botFlowId ID of the bot flow.
158
158
  * @param {Object} opts Optional parameters
159
159
  * @param {String} opts.after The cursor that points to the ID of the last item in the list of entities that has been returned.
@@ -186,6 +186,39 @@ class AnalyticsApi {
186
186
  );
187
187
  }
188
188
 
189
+ /**
190
+ * Get Bot Flow Sessions.
191
+ * Returns the bot flow sessions in reverse chronological order from the date they were created. For pagination, clients should keep sending requests using the value of nextUri in the response, until its no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
192
+ * @param {String} botFlowId ID of the bot flow.
193
+ * @param {Object} opts Optional parameters
194
+ * @param {String} opts.after The cursor that points to the ID of the last item in the list of entities that has been returned.
195
+ * @param {String} opts.pageSize Max number of entities to return. Maximum of 250 (default to 50)
196
+ * @param {String} opts.interval Date range filter based on the date the individual resources were completed. UTC is the default if no TZ is supplied, however alternate timezones can be used e.g: '2022-11-22T09:11:11.111+08:00/2022-11-30T07:17:44.586-07'. . Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
197
+ * @param {Object} opts.botResultCategories Optional case-insensitive comma separated list of Bot Result Categories to filter sessions by.
198
+ * @param {String} opts.endLanguage Optional case-insensitive language code to filter sessions by the language the sessions ended in.
199
+ */
200
+ getAnalyticsBotflowSessions(botFlowId, opts) {
201
+ opts = opts || {};
202
+
203
+ // verify the required parameter 'botFlowId' is set
204
+ if (botFlowId === undefined || botFlowId === null) {
205
+ throw 'Missing the required parameter "botFlowId" when calling getAnalyticsBotflowSessions';
206
+ }
207
+
208
+ return this.apiClient.callApi(
209
+ '/api/v2/analytics/botflows/{botFlowId}/sessions',
210
+ 'GET',
211
+ { 'botFlowId': botFlowId },
212
+ { 'after': opts['after'],'pageSize': opts['pageSize'],'interval': opts['interval'],'botResultCategories': opts['botResultCategories'],'endLanguage': opts['endLanguage'] },
213
+ { },
214
+ { },
215
+ null,
216
+ ['PureCloud OAuth'],
217
+ ['application/json'],
218
+ ['application/json']
219
+ );
220
+ }
221
+
189
222
  /**
190
223
  * Get status for async query for bot aggregates
191
224
  *
@@ -498,6 +531,62 @@ class AnalyticsApi {
498
531
  );
499
532
  }
500
533
 
534
+ /**
535
+ * Get status for async query for flow execution aggregates
536
+ *
537
+ * @param {String} jobId jobId
538
+ * getAnalyticsFlowexecutionsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
539
+ */
540
+ getAnalyticsFlowexecutionsAggregatesJob(jobId) {
541
+ // verify the required parameter 'jobId' is set
542
+ if (jobId === undefined || jobId === null) {
543
+ throw 'Missing the required parameter "jobId" when calling getAnalyticsFlowexecutionsAggregatesJob';
544
+ }
545
+
546
+ return this.apiClient.callApi(
547
+ '/api/v2/analytics/flowexecutions/aggregates/jobs/{jobId}',
548
+ 'GET',
549
+ { 'jobId': jobId },
550
+ { },
551
+ { },
552
+ { },
553
+ null,
554
+ ['PureCloud OAuth'],
555
+ ['application/json'],
556
+ ['application/json']
557
+ );
558
+ }
559
+
560
+ /**
561
+ * Fetch a page of results for an async aggregates query
562
+ *
563
+ * @param {String} jobId jobId
564
+ * @param {Object} opts Optional parameters
565
+ * @param {String} opts.cursor Cursor token to retrieve next page
566
+ * getAnalyticsFlowexecutionsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
567
+ */
568
+ getAnalyticsFlowexecutionsAggregatesJobResults(jobId, opts) {
569
+ opts = opts || {};
570
+
571
+ // verify the required parameter 'jobId' is set
572
+ if (jobId === undefined || jobId === null) {
573
+ throw 'Missing the required parameter "jobId" when calling getAnalyticsFlowexecutionsAggregatesJobResults';
574
+ }
575
+
576
+ return this.apiClient.callApi(
577
+ '/api/v2/analytics/flowexecutions/aggregates/jobs/{jobId}/results',
578
+ 'GET',
579
+ { 'jobId': jobId },
580
+ { 'cursor': opts['cursor'] },
581
+ { },
582
+ { },
583
+ null,
584
+ ['PureCloud OAuth'],
585
+ ['application/json'],
586
+ ['application/json']
587
+ );
588
+ }
589
+
501
590
  /**
502
591
  * Get status for async query for Flow aggregates
503
592
  *
@@ -1681,6 +1770,58 @@ class AnalyticsApi {
1681
1770
  );
1682
1771
  }
1683
1772
 
1773
+ /**
1774
+ * Query for flow execution aggregates asynchronously
1775
+ *
1776
+ * @param {Object} body query
1777
+ * postAnalyticsFlowexecutionsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1778
+ */
1779
+ postAnalyticsFlowexecutionsAggregatesJobs(body) {
1780
+ // verify the required parameter 'body' is set
1781
+ if (body === undefined || body === null) {
1782
+ throw 'Missing the required parameter "body" when calling postAnalyticsFlowexecutionsAggregatesJobs';
1783
+ }
1784
+
1785
+ return this.apiClient.callApi(
1786
+ '/api/v2/analytics/flowexecutions/aggregates/jobs',
1787
+ 'POST',
1788
+ { },
1789
+ { },
1790
+ { },
1791
+ { },
1792
+ body,
1793
+ ['PureCloud OAuth'],
1794
+ ['application/json'],
1795
+ ['application/json']
1796
+ );
1797
+ }
1798
+
1799
+ /**
1800
+ * Query for flow execution aggregates
1801
+ *
1802
+ * @param {Object} body query
1803
+ * postAnalyticsFlowexecutionsAggregatesQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1804
+ */
1805
+ postAnalyticsFlowexecutionsAggregatesQuery(body) {
1806
+ // verify the required parameter 'body' is set
1807
+ if (body === undefined || body === null) {
1808
+ throw 'Missing the required parameter "body" when calling postAnalyticsFlowexecutionsAggregatesQuery';
1809
+ }
1810
+
1811
+ return this.apiClient.callApi(
1812
+ '/api/v2/analytics/flowexecutions/aggregates/query',
1813
+ 'POST',
1814
+ { },
1815
+ { },
1816
+ { },
1817
+ { },
1818
+ body,
1819
+ ['PureCloud OAuth'],
1820
+ ['application/json'],
1821
+ ['application/json']
1822
+ );
1823
+ }
1824
+
1684
1825
  /**
1685
1826
  * Query for flow activity observations
1686
1827
  *
@@ -1943,8 +2084,9 @@ class AnalyticsApi {
1943
2084
 
1944
2085
  /**
1945
2086
  * Place a scheduled report immediately into the reporting queue
1946
- *
2087
+ * This route is deprecated, please use POST:api/v2/analytics/reporting/exports/{exportId}/execute instead
1947
2088
  * @param {String} scheduleId Schedule ID
2089
+ * @deprecated
1948
2090
  */
1949
2091
  postAnalyticsReportingScheduleRunreport(scheduleId) {
1950
2092
  // verify the required parameter 'scheduleId' is set
@@ -1968,8 +2110,9 @@ class AnalyticsApi {
1968
2110
 
1969
2111
  /**
1970
2112
  * Create a scheduled report job
1971
- * Create a scheduled report job.
2113
+ * This route is deprecated, please use POST:api/v2/analytics/reporting/exports instead
1972
2114
  * @param {Object} body ReportSchedule
2115
+ * @deprecated
1973
2116
  */
1974
2117
  postAnalyticsReportingSchedules(body) {
1975
2118
  // verify the required parameter 'body' is set
@@ -2417,9 +2560,10 @@ class AnalyticsApi {
2417
2560
 
2418
2561
  /**
2419
2562
  * Update a scheduled report job.
2420
- *
2563
+ * This route is deprecated, please use PATCH:api/v2/analytics/reporting/exports/{exportId}/schedule instead
2421
2564
  * @param {String} scheduleId Schedule ID
2422
2565
  * @param {Object} body ReportSchedule
2566
+ * @deprecated
2423
2567
  */
2424
2568
  putAnalyticsReportingSchedule(scheduleId, body) {
2425
2569
  // verify the required parameter 'scheduleId' is set
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -749,17 +749,16 @@ class AuthorizationApi {
749
749
  * Recreate a previously deleted division.
750
750
  *
751
751
  * @param {String} divisionId Division ID
752
- * @param {Object} body Recreated division data
752
+ * @param {Object} opts Optional parameters
753
+ * @param {Object} opts.body Recreated division data
753
754
  */
754
- postAuthorizationDivisionRestore(divisionId, body) {
755
+ postAuthorizationDivisionRestore(divisionId, opts) {
756
+ opts = opts || {};
757
+
755
758
  // verify the required parameter 'divisionId' is set
756
759
  if (divisionId === undefined || divisionId === null) {
757
760
  throw 'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';
758
761
  }
759
- // verify the required parameter 'body' is set
760
- if (body === undefined || body === null) {
761
- throw 'Missing the required parameter "body" when calling postAuthorizationDivisionRestore';
762
- }
763
762
 
764
763
  return this.apiClient.callApi(
765
764
  '/api/v2/authorization/divisions/{divisionId}/restore',
@@ -768,7 +767,7 @@ class AuthorizationApi {
768
767
  { },
769
768
  { },
770
769
  { },
771
- body,
770
+ opts['body'],
772
771
  ['PureCloud OAuth'],
773
772
  ['application/json'],
774
773
  ['application/json']
@@ -5,7 +5,7 @@ class BillingApi {
5
5
  /**
6
6
  * Billing service.
7
7
  * @module purecloud-platform-client-v2/api/BillingApi
8
- * @version 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class DataExtensionsApi {
5
5
  /**
6
6
  * DataExtensions service.
7
7
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
8
- * @version 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.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 182.1.0
8
+ * @version 184.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1615,7 +1615,7 @@ class IntegrationsApi {
1615
1615
  }
1616
1616
 
1617
1617
  /**
1618
- * Create a new Action
1618
+ * Create a new Action. Not supported for 'Function Integration' actions. Function integrations must be created as drafts to allow managing of uploading required ZIP function package before they may be used as a published action.
1619
1619
  *
1620
1620
  * @param {Object} body Input used to create Action.
1621
1621
  */