purecloud-platform-client-v2 223.0.0 → 225.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 +3630 -2644
  3. package/dist/web-amd/purecloud-platform-client-v2.js +3630 -2644
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +2891 -2627
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +2891 -2627
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +825 -249
  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/AIStudioApi.js +387 -0
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +13 -13
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +3 -3
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +5 -5
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +8 -8
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +46 -46
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +124 -122
  18. package/src/purecloud-platform-client-v2/api/AuditApi.js +3 -3
  19. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +47 -47
  20. package/src/purecloud-platform-client-v2/api/BillingApi.js +7 -7
  21. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +75 -30
  22. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ChatApi.js +38 -38
  24. package/src/purecloud-platform-client-v2/api/CoachingApi.js +17 -17
  25. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +32 -32
  26. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +620 -344
  27. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +2 -2
  28. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +4 -4
  29. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +2 -2
  30. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +4 -4
  32. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +66 -66
  34. package/src/purecloud-platform-client-v2/api/FaxApi.js +5 -5
  35. package/src/purecloud-platform-client-v2/api/FlowsApi.js +3 -3
  36. package/src/purecloud-platform-client-v2/api/GamificationApi.js +49 -49
  37. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +2 -2
  38. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +5 -5
  39. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +101 -14
  40. package/src/purecloud-platform-client-v2/api/GroupsApi.js +12 -12
  41. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +4 -4
  42. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +3 -3
  43. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +106 -80
  44. package/src/purecloud-platform-client-v2/api/JourneyApi.js +68 -68
  45. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +212 -212
  46. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +46 -46
  47. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +4 -4
  48. package/src/purecloud-platform-client-v2/api/LearningApi.js +28 -28
  49. package/src/purecloud-platform-client-v2/api/LicenseApi.js +5 -5
  50. package/src/purecloud-platform-client-v2/api/LocationsApi.js +5 -5
  51. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +5 -5
  52. package/src/purecloud-platform-client-v2/api/MessagingApi.js +7 -7
  53. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +4 -4
  54. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +6 -6
  55. package/src/purecloud-platform-client-v2/api/OAuthApi.js +11 -11
  56. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +7 -7
  57. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +2 -2
  58. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +5 -5
  59. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +59 -59
  60. package/src/purecloud-platform-client-v2/api/OutboundApi.js +118 -118
  61. package/src/purecloud-platform-client-v2/api/PresenceApi.js +19 -19
  62. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +6 -6
  63. package/src/purecloud-platform-client-v2/api/QualityApi.js +36 -36
  64. package/src/purecloud-platform-client-v2/api/RecordingApi.js +42 -42
  65. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +11 -11
  66. package/src/purecloud-platform-client-v2/api/RoutingApi.js +148 -118
  67. package/src/purecloud-platform-client-v2/api/SCIMApi.js +19 -19
  68. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +13 -13
  70. package/src/purecloud-platform-client-v2/api/SearchApi.js +2 -2
  71. package/src/purecloud-platform-client-v2/api/SettingsApi.js +5 -5
  72. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +59 -59
  73. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +33 -33
  74. package/src/purecloud-platform-client-v2/api/StationsApi.js +3 -3
  75. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +78 -78
  77. package/src/purecloud-platform-client-v2/api/TeamsApi.js +8 -8
  78. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +4 -4
  79. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +134 -93
  80. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +2 -2
  81. package/src/purecloud-platform-client-v2/api/TokensApi.js +2 -2
  82. package/src/purecloud-platform-client-v2/api/UploadsApi.js +6 -6
  83. package/src/purecloud-platform-client-v2/api/UsageApi.js +7 -7
  84. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +6 -6
  85. package/src/purecloud-platform-client-v2/api/UsersApi.js +123 -93
  86. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +17 -17
  88. package/src/purecloud-platform-client-v2/api/WebChatApi.js +21 -21
  89. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +18 -18
  90. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +4 -4
  92. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +332 -326
  93. package/src/purecloud-platform-client-v2/configuration.js +80 -23
  94. 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": "223.0.0",
3
+ "version": "225.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 223.0.0
9
+ * @version 225.0.0
10
10
  */
11
11
  class ApiClient {
12
12
  /**
@@ -0,0 +1,387 @@
1
+ import ApiClient from '../ApiClient.js';
2
+
3
+
4
+ class AIStudioApi {
5
+ /**
6
+ * AIStudio service.
7
+ * @module purecloud-platform-client-v2/api/AIStudioApi
8
+ * @version 225.0.0
9
+ */
10
+
11
+ /**
12
+ * Constructs a new AIStudioApi.
13
+ * @alias module:purecloud-platform-client-v2/api/AIStudioApi
14
+ * @class
15
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
16
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
17
+ */
18
+ constructor(apiClient) {
19
+ this.apiClient = apiClient || ApiClient.instance;
20
+ }
21
+
22
+
23
+ /**
24
+ * Start the deletion of a guide.
25
+ *
26
+ * @param {String} guideId Guide ID
27
+ * deleteGuideJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
28
+ */
29
+ deleteGuideJobs(guideId) {
30
+ // verify the required parameter 'guideId' is set
31
+ if (guideId === undefined || guideId === null || guideId === '') {
32
+ throw 'Missing the required parameter "guideId" when calling deleteGuideJobs';
33
+ }
34
+
35
+ return this.apiClient.callApi(
36
+ '/api/v2/guides/{guideId}/jobs',
37
+ 'DELETE',
38
+ { 'guideId': guideId },
39
+ { },
40
+ { },
41
+ { },
42
+ null,
43
+ ['PureCloud OAuth'],
44
+ ['application/json'],
45
+ ['application/json']
46
+ );
47
+ }
48
+
49
+ /**
50
+ * Get guide.
51
+ *
52
+ * @param {String} guideId Guide ID
53
+ * getGuide is a preview method and is subject to both breaking and non-breaking changes at any time without notice
54
+ */
55
+ getGuide(guideId) {
56
+ // verify the required parameter 'guideId' is set
57
+ if (guideId === undefined || guideId === null || guideId === '') {
58
+ throw 'Missing the required parameter "guideId" when calling getGuide';
59
+ }
60
+
61
+ return this.apiClient.callApi(
62
+ '/api/v2/guides/{guideId}',
63
+ 'GET',
64
+ { 'guideId': guideId },
65
+ { },
66
+ { },
67
+ { },
68
+ null,
69
+ ['PureCloud OAuth'],
70
+ ['application/json'],
71
+ ['application/json']
72
+ );
73
+ }
74
+
75
+ /**
76
+ * Get the specified guide deletion job.
77
+ *
78
+ * @param {String} guideId Guide ID
79
+ * @param {String} jobId jobId
80
+ * getGuideJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
81
+ */
82
+ getGuideJob(guideId, jobId) {
83
+ // verify the required parameter 'guideId' is set
84
+ if (guideId === undefined || guideId === null || guideId === '') {
85
+ throw 'Missing the required parameter "guideId" when calling getGuideJob';
86
+ }
87
+ // verify the required parameter 'jobId' is set
88
+ if (jobId === undefined || jobId === null || jobId === '') {
89
+ throw 'Missing the required parameter "jobId" when calling getGuideJob';
90
+ }
91
+
92
+ return this.apiClient.callApi(
93
+ '/api/v2/guides/{guideId}/jobs/{jobId}',
94
+ 'GET',
95
+ { 'guideId': guideId,'jobId': jobId },
96
+ { },
97
+ { },
98
+ { },
99
+ null,
100
+ ['PureCloud OAuth'],
101
+ ['application/json'],
102
+ ['application/json']
103
+ );
104
+ }
105
+
106
+ /**
107
+ * Get a guide version.
108
+ *
109
+ * @param {String} guideId Guide ID
110
+ * @param {String} versionId Version ID
111
+ * getGuideVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
112
+ */
113
+ getGuideVersion(guideId, versionId) {
114
+ // verify the required parameter 'guideId' is set
115
+ if (guideId === undefined || guideId === null || guideId === '') {
116
+ throw 'Missing the required parameter "guideId" when calling getGuideVersion';
117
+ }
118
+ // verify the required parameter 'versionId' is set
119
+ if (versionId === undefined || versionId === null || versionId === '') {
120
+ throw 'Missing the required parameter "versionId" when calling getGuideVersion';
121
+ }
122
+
123
+ return this.apiClient.callApi(
124
+ '/api/v2/guides/{guideId}/versions/{versionId}',
125
+ 'GET',
126
+ { 'guideId': guideId,'versionId': versionId },
127
+ { },
128
+ { },
129
+ { },
130
+ null,
131
+ ['PureCloud OAuth'],
132
+ ['application/json'],
133
+ ['application/json']
134
+ );
135
+ }
136
+
137
+ /**
138
+ * Get the status of the publishing job for this guide version.
139
+ *
140
+ * @param {String} guideId Guide ID
141
+ * @param {String} versionId Version ID
142
+ * @param {String} jobId jobId
143
+ * getGuideVersionJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
144
+ */
145
+ getGuideVersionJob(guideId, versionId, jobId) {
146
+ // verify the required parameter 'guideId' is set
147
+ if (guideId === undefined || guideId === null || guideId === '') {
148
+ throw 'Missing the required parameter "guideId" when calling getGuideVersionJob';
149
+ }
150
+ // verify the required parameter 'versionId' is set
151
+ if (versionId === undefined || versionId === null || versionId === '') {
152
+ throw 'Missing the required parameter "versionId" when calling getGuideVersionJob';
153
+ }
154
+ // verify the required parameter 'jobId' is set
155
+ if (jobId === undefined || jobId === null || jobId === '') {
156
+ throw 'Missing the required parameter "jobId" when calling getGuideVersionJob';
157
+ }
158
+
159
+ return this.apiClient.callApi(
160
+ '/api/v2/guides/{guideId}/versions/{versionId}/jobs/{jobId}',
161
+ 'GET',
162
+ { 'guideId': guideId,'versionId': versionId,'jobId': jobId },
163
+ { },
164
+ { },
165
+ { },
166
+ null,
167
+ ['PureCloud OAuth'],
168
+ ['application/json'],
169
+ ['application/json']
170
+ );
171
+ }
172
+
173
+ /**
174
+ * Get all guides.
175
+ *
176
+ * @param {Object} opts Optional parameters
177
+ * @param {String} opts.name Filter by matching name - case insensitive.
178
+ * @param {String} opts.nameContains Filter by name contains - case insensitive.
179
+ * @param {Object} opts.status Filter by status.
180
+ * @param {Object} opts.sortBy Sort by. Default value dateModified. (default to dateModified)
181
+ * @param {Object} opts.sortOrder Sort Order. Default value desc. (default to desc)
182
+ * @param {Number} opts.pageNumber Page number. (default to 1)
183
+ * @param {Number} opts.pageSize Page size. The maximum page size is 100. (default to 25)
184
+ * getGuides is a preview method and is subject to both breaking and non-breaking changes at any time without notice
185
+ */
186
+ getGuides(opts) {
187
+ opts = opts || {};
188
+
189
+
190
+ return this.apiClient.callApi(
191
+ '/api/v2/guides',
192
+ 'GET',
193
+ { },
194
+ { 'name': opts['name'],'nameContains': opts['nameContains'],'status': opts['status'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
195
+ { },
196
+ { },
197
+ null,
198
+ ['PureCloud OAuth'],
199
+ ['application/json'],
200
+ ['application/json']
201
+ );
202
+ }
203
+
204
+ /**
205
+ * Get the status of the guide content generation job.
206
+ *
207
+ * @param {String} jobId jobId
208
+ * getGuidesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
209
+ */
210
+ getGuidesJob(jobId) {
211
+ // verify the required parameter 'jobId' is set
212
+ if (jobId === undefined || jobId === null || jobId === '') {
213
+ throw 'Missing the required parameter "jobId" when calling getGuidesJob';
214
+ }
215
+
216
+ return this.apiClient.callApi(
217
+ '/api/v2/guides/jobs/{jobId}',
218
+ 'GET',
219
+ { 'jobId': jobId },
220
+ { },
221
+ { },
222
+ { },
223
+ null,
224
+ ['PureCloud OAuth'],
225
+ ['application/json'],
226
+ ['application/json']
227
+ );
228
+ }
229
+
230
+ /**
231
+ * Update a guide version.
232
+ *
233
+ * @param {String} guideId Guide ID
234
+ * @param {String} versionId Version ID
235
+ * @param {Object} body
236
+ * patchGuideVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
237
+ */
238
+ patchGuideVersion(guideId, versionId, body) {
239
+ // verify the required parameter 'guideId' is set
240
+ if (guideId === undefined || guideId === null || guideId === '') {
241
+ throw 'Missing the required parameter "guideId" when calling patchGuideVersion';
242
+ }
243
+ // verify the required parameter 'versionId' is set
244
+ if (versionId === undefined || versionId === null || versionId === '') {
245
+ throw 'Missing the required parameter "versionId" when calling patchGuideVersion';
246
+ }
247
+ // verify the required parameter 'body' is set
248
+ if (body === undefined || body === null) {
249
+ throw 'Missing the required parameter "body" when calling patchGuideVersion';
250
+ }
251
+
252
+ return this.apiClient.callApi(
253
+ '/api/v2/guides/{guideId}/versions/{versionId}',
254
+ 'PATCH',
255
+ { 'guideId': guideId,'versionId': versionId },
256
+ { },
257
+ { },
258
+ { },
259
+ body,
260
+ ['PureCloud OAuth'],
261
+ ['application/json'],
262
+ ['application/json']
263
+ );
264
+ }
265
+
266
+ /**
267
+ * Start the publishing of a guide version.
268
+ *
269
+ * @param {String} guideId Guide ID
270
+ * @param {String} versionId Version ID
271
+ * @param {Object} body
272
+ * postGuideVersionJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
273
+ */
274
+ postGuideVersionJobs(guideId, versionId, body) {
275
+ // verify the required parameter 'guideId' is set
276
+ if (guideId === undefined || guideId === null || guideId === '') {
277
+ throw 'Missing the required parameter "guideId" when calling postGuideVersionJobs';
278
+ }
279
+ // verify the required parameter 'versionId' is set
280
+ if (versionId === undefined || versionId === null || versionId === '') {
281
+ throw 'Missing the required parameter "versionId" when calling postGuideVersionJobs';
282
+ }
283
+ // verify the required parameter 'body' is set
284
+ if (body === undefined || body === null) {
285
+ throw 'Missing the required parameter "body" when calling postGuideVersionJobs';
286
+ }
287
+
288
+ return this.apiClient.callApi(
289
+ '/api/v2/guides/{guideId}/versions/{versionId}/jobs',
290
+ 'POST',
291
+ { 'guideId': guideId,'versionId': versionId },
292
+ { },
293
+ { },
294
+ { },
295
+ body,
296
+ ['PureCloud OAuth'],
297
+ ['application/json'],
298
+ ['application/json']
299
+ );
300
+ }
301
+
302
+ /**
303
+ * Create a guide version.
304
+ *
305
+ * @param {String} guideId Guide ID
306
+ * @param {Object} opts Optional parameters
307
+ * @param {Object} opts.body
308
+ * postGuideVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
309
+ */
310
+ postGuideVersions(guideId, opts) {
311
+ opts = opts || {};
312
+
313
+ // verify the required parameter 'guideId' is set
314
+ if (guideId === undefined || guideId === null || guideId === '') {
315
+ throw 'Missing the required parameter "guideId" when calling postGuideVersions';
316
+ }
317
+
318
+ return this.apiClient.callApi(
319
+ '/api/v2/guides/{guideId}/versions',
320
+ 'POST',
321
+ { 'guideId': guideId },
322
+ { },
323
+ { },
324
+ { },
325
+ opts['body'],
326
+ ['PureCloud OAuth'],
327
+ ['application/json'],
328
+ ['application/json']
329
+ );
330
+ }
331
+
332
+ /**
333
+ * Create a guide.
334
+ *
335
+ * @param {Object} body
336
+ * postGuides is a preview method and is subject to both breaking and non-breaking changes at any time without notice
337
+ */
338
+ postGuides(body) {
339
+ // verify the required parameter 'body' is set
340
+ if (body === undefined || body === null) {
341
+ throw 'Missing the required parameter "body" when calling postGuides';
342
+ }
343
+
344
+ return this.apiClient.callApi(
345
+ '/api/v2/guides',
346
+ 'POST',
347
+ { },
348
+ { },
349
+ { },
350
+ { },
351
+ body,
352
+ ['PureCloud OAuth'],
353
+ ['application/json'],
354
+ ['application/json']
355
+ );
356
+ }
357
+
358
+ /**
359
+ * Start a guide content generation job.
360
+ *
361
+ * @param {Object} body
362
+ * postGuidesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
363
+ */
364
+ postGuidesJobs(body) {
365
+ // verify the required parameter 'body' is set
366
+ if (body === undefined || body === null) {
367
+ throw 'Missing the required parameter "body" when calling postGuidesJobs';
368
+ }
369
+
370
+ return this.apiClient.callApi(
371
+ '/api/v2/guides/jobs',
372
+ 'POST',
373
+ { },
374
+ { },
375
+ { },
376
+ { },
377
+ body,
378
+ ['PureCloud OAuth'],
379
+ ['application/json'],
380
+ ['application/json']
381
+ );
382
+ }
383
+
384
+ }
385
+
386
+
387
+ export default AIStudioApi;
@@ -5,7 +5,7 @@ class AgentAssistantsApi {
5
5
  /**
6
6
  * AgentAssistants service.
7
7
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
8
- * @version 223.0.0
8
+ * @version 225.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,7 +27,7 @@ class AgentAssistantsApi {
27
27
  */
28
28
  deleteAssistant(assistantId) {
29
29
  // verify the required parameter 'assistantId' is set
30
- if (assistantId === undefined || assistantId === null) {
30
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
31
31
  throw 'Missing the required parameter "assistantId" when calling deleteAssistant';
32
32
  }
33
33
 
@@ -53,11 +53,11 @@ class AgentAssistantsApi {
53
53
  */
54
54
  deleteAssistantQueue(assistantId, queueId) {
55
55
  // verify the required parameter 'assistantId' is set
56
- if (assistantId === undefined || assistantId === null) {
56
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
57
57
  throw 'Missing the required parameter "assistantId" when calling deleteAssistantQueue';
58
58
  }
59
59
  // verify the required parameter 'queueId' is set
60
- if (queueId === undefined || queueId === null) {
60
+ if (queueId === undefined || queueId === null || queueId === '') {
61
61
  throw 'Missing the required parameter "queueId" when calling deleteAssistantQueue';
62
62
  }
63
63
 
@@ -86,7 +86,7 @@ class AgentAssistantsApi {
86
86
  opts = opts || {};
87
87
 
88
88
  // verify the required parameter 'assistantId' is set
89
- if (assistantId === undefined || assistantId === null) {
89
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
90
90
  throw 'Missing the required parameter "assistantId" when calling deleteAssistantQueues';
91
91
  }
92
92
 
@@ -115,7 +115,7 @@ class AgentAssistantsApi {
115
115
  opts = opts || {};
116
116
 
117
117
  // verify the required parameter 'assistantId' is set
118
- if (assistantId === undefined || assistantId === null) {
118
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
119
119
  throw 'Missing the required parameter "assistantId" when calling getAssistant';
120
120
  }
121
121
 
@@ -145,11 +145,11 @@ class AgentAssistantsApi {
145
145
  opts = opts || {};
146
146
 
147
147
  // verify the required parameter 'assistantId' is set
148
- if (assistantId === undefined || assistantId === null) {
148
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
149
149
  throw 'Missing the required parameter "assistantId" when calling getAssistantQueue';
150
150
  }
151
151
  // verify the required parameter 'queueId' is set
152
- if (queueId === undefined || queueId === null) {
152
+ if (queueId === undefined || queueId === null || queueId === '') {
153
153
  throw 'Missing the required parameter "queueId" when calling getAssistantQueue';
154
154
  }
155
155
 
@@ -181,7 +181,7 @@ class AgentAssistantsApi {
181
181
  opts = opts || {};
182
182
 
183
183
  // verify the required parameter 'assistantId' is set
184
- if (assistantId === undefined || assistantId === null) {
184
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
185
185
  throw 'Missing the required parameter "assistantId" when calling getAssistantQueues';
186
186
  }
187
187
 
@@ -264,7 +264,7 @@ class AgentAssistantsApi {
264
264
  */
265
265
  patchAssistant(assistantId, body) {
266
266
  // verify the required parameter 'assistantId' is set
267
- if (assistantId === undefined || assistantId === null) {
267
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
268
268
  throw 'Missing the required parameter "assistantId" when calling patchAssistant';
269
269
  }
270
270
  // verify the required parameter 'body' is set
@@ -294,7 +294,7 @@ class AgentAssistantsApi {
294
294
  */
295
295
  patchAssistantQueues(assistantId, body) {
296
296
  // verify the required parameter 'assistantId' is set
297
- if (assistantId === undefined || assistantId === null) {
297
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
298
298
  throw 'Missing the required parameter "assistantId" when calling patchAssistantQueues';
299
299
  }
300
300
  // verify the required parameter 'body' is set
@@ -350,11 +350,11 @@ class AgentAssistantsApi {
350
350
  */
351
351
  putAssistantQueue(assistantId, queueId, body) {
352
352
  // verify the required parameter 'assistantId' is set
353
- if (assistantId === undefined || assistantId === null) {
353
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
354
354
  throw 'Missing the required parameter "assistantId" when calling putAssistantQueue';
355
355
  }
356
356
  // verify the required parameter 'queueId' is set
357
- if (queueId === undefined || queueId === null) {
357
+ if (queueId === undefined || queueId === null || queueId === '') {
358
358
  throw 'Missing the required parameter "queueId" when calling putAssistantQueue';
359
359
  }
360
360
  // verify the required parameter 'body' is set
@@ -5,7 +5,7 @@ class AgentCopilotApi {
5
5
  /**
6
6
  * AgentCopilot service.
7
7
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
8
- * @version 223.0.0
8
+ * @version 225.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,7 +27,7 @@ class AgentCopilotApi {
27
27
  */
28
28
  getAssistantCopilot(assistantId) {
29
29
  // verify the required parameter 'assistantId' is set
30
- if (assistantId === undefined || assistantId === null) {
30
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
31
31
  throw 'Missing the required parameter "assistantId" when calling getAssistantCopilot';
32
32
  }
33
33
 
@@ -53,7 +53,7 @@ class AgentCopilotApi {
53
53
  */
54
54
  putAssistantCopilot(assistantId, body) {
55
55
  // verify the required parameter 'assistantId' is set
56
- if (assistantId === undefined || assistantId === null) {
56
+ if (assistantId === undefined || assistantId === null || assistantId === '') {
57
57
  throw 'Missing the required parameter "assistantId" when calling putAssistantCopilot';
58
58
  }
59
59
  // verify the required parameter 'body' is set
@@ -5,7 +5,7 @@ class AgentUIApi {
5
5
  /**
6
6
  * AgentUI service.
7
7
  * @module purecloud-platform-client-v2/api/AgentUIApi
8
- * @version 223.0.0
8
+ * @version 225.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,7 +27,7 @@ class AgentUIApi {
27
27
  */
28
28
  deleteUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId) {
29
29
  // verify the required parameter 'agentId' is set
30
- if (agentId === undefined || agentId === null) {
30
+ if (agentId === undefined || agentId === null || agentId === '') {
31
31
  throw 'Missing the required parameter "agentId" when calling deleteUsersAgentuiAgentsAutoanswerAgentIdSettings';
32
32
  }
33
33
 
@@ -52,7 +52,7 @@ class AgentUIApi {
52
52
  */
53
53
  getUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId) {
54
54
  // verify the required parameter 'agentId' is set
55
- if (agentId === undefined || agentId === null) {
55
+ if (agentId === undefined || agentId === null || agentId === '') {
56
56
  throw 'Missing the required parameter "agentId" when calling getUsersAgentuiAgentsAutoanswerAgentIdSettings';
57
57
  }
58
58
 
@@ -78,7 +78,7 @@ class AgentUIApi {
78
78
  */
79
79
  patchUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId, body) {
80
80
  // verify the required parameter 'agentId' is set
81
- if (agentId === undefined || agentId === null) {
81
+ if (agentId === undefined || agentId === null || agentId === '') {
82
82
  throw 'Missing the required parameter "agentId" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';
83
83
  }
84
84
  // verify the required parameter 'body' is set
@@ -108,7 +108,7 @@ class AgentUIApi {
108
108
  */
109
109
  putUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId, body) {
110
110
  // verify the required parameter 'agentId' is set
111
- if (agentId === undefined || agentId === null) {
111
+ if (agentId === undefined || agentId === null || agentId === '') {
112
112
  throw 'Missing the required parameter "agentId" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';
113
113
  }
114
114
  // verify the required parameter 'body' is set
@@ -5,7 +5,7 @@ class AlertingApi {
5
5
  /**
6
6
  * Alerting service.
7
7
  * @module purecloud-platform-client-v2/api/AlertingApi
8
- * @version 223.0.0
8
+ * @version 225.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,7 +27,7 @@ class AlertingApi {
27
27
  */
28
28
  deleteAlertingAlert(alertId) {
29
29
  // verify the required parameter 'alertId' is set
30
- if (alertId === undefined || alertId === null) {
30
+ if (alertId === undefined || alertId === null || alertId === '') {
31
31
  throw 'Missing the required parameter "alertId" when calling deleteAlertingAlert';
32
32
  }
33
33
 
@@ -72,7 +72,7 @@ class AlertingApi {
72
72
  */
73
73
  deleteAlertingRule(ruleId) {
74
74
  // verify the required parameter 'ruleId' is set
75
- if (ruleId === undefined || ruleId === null) {
75
+ if (ruleId === undefined || ruleId === null || ruleId === '') {
76
76
  throw 'Missing the required parameter "ruleId" when calling deleteAlertingRule';
77
77
  }
78
78
 
@@ -97,7 +97,7 @@ class AlertingApi {
97
97
  */
98
98
  getAlertingAlert(alertId) {
99
99
  // verify the required parameter 'alertId' is set
100
- if (alertId === undefined || alertId === null) {
100
+ if (alertId === undefined || alertId === null || alertId === '') {
101
101
  throw 'Missing the required parameter "alertId" when calling getAlertingAlert';
102
102
  }
103
103
 
@@ -122,7 +122,7 @@ class AlertingApi {
122
122
  */
123
123
  getAlertingRule(ruleId) {
124
124
  // verify the required parameter 'ruleId' is set
125
- if (ruleId === undefined || ruleId === null) {
125
+ if (ruleId === undefined || ruleId === null || ruleId === '') {
126
126
  throw 'Missing the required parameter "ruleId" when calling getAlertingRule';
127
127
  }
128
128
 
@@ -151,7 +151,7 @@ class AlertingApi {
151
151
  opts = opts || {};
152
152
 
153
153
  // verify the required parameter 'alertId' is set
154
- if (alertId === undefined || alertId === null) {
154
+ if (alertId === undefined || alertId === null || alertId === '') {
155
155
  throw 'Missing the required parameter "alertId" when calling patchAlertingAlert';
156
156
  }
157
157
 
@@ -352,7 +352,7 @@ class AlertingApi {
352
352
  opts = opts || {};
353
353
 
354
354
  // verify the required parameter 'alertId' is set
355
- if (alertId === undefined || alertId === null) {
355
+ if (alertId === undefined || alertId === null || alertId === '') {
356
356
  throw 'Missing the required parameter "alertId" when calling putAlertingAlert';
357
357
  }
358
358
 
@@ -378,7 +378,7 @@ class AlertingApi {
378
378
  */
379
379
  putAlertingRule(ruleId, body) {
380
380
  // verify the required parameter 'ruleId' is set
381
- if (ruleId === undefined || ruleId === null) {
381
+ if (ruleId === undefined || ruleId === null || ruleId === '') {
382
382
  throw 'Missing the required parameter "ruleId" when calling putAlertingRule';
383
383
  }
384
384
  // verify the required parameter 'body' is set