purecloud-platform-client-v2 224.0.0 → 226.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 +2853 -2693
  3. package/dist/web-amd/purecloud-platform-client-v2.js +2853 -2693
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +2679 -2639
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +2679 -2639
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +227 -162
  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 +16 -16
  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 +45 -45
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +121 -121
  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 +29 -29
  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 +486 -342
  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 +16 -16
  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 +82 -81
  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 +121 -120
  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 +7 -7
  78. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +4 -4
  79. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +95 -95
  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 +93 -93
  86. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +16 -16
  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 +317 -359
  93. package/src/purecloud-platform-client-v2/configuration.js +80 -23
  94. package/src/purecloud-platform-client-v2/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-platform-client-v2",
3
- "version": "224.0.0",
3
+ "version": "226.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 224.0.0
9
+ * @version 226.0.0
10
10
  */
11
11
  class ApiClient {
12
12
  /**
@@ -5,7 +5,7 @@ class AIStudioApi {
5
5
  /**
6
6
  * AIStudio service.
7
7
  * @module purecloud-platform-client-v2/api/AIStudioApi
8
- * @version 224.0.0
8
+ * @version 226.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -28,7 +28,7 @@ class AIStudioApi {
28
28
  */
29
29
  deleteGuideJobs(guideId) {
30
30
  // verify the required parameter 'guideId' is set
31
- if (guideId === undefined || guideId === null) {
31
+ if (guideId === undefined || guideId === null || guideId === '') {
32
32
  throw 'Missing the required parameter "guideId" when calling deleteGuideJobs';
33
33
  }
34
34
 
@@ -54,7 +54,7 @@ class AIStudioApi {
54
54
  */
55
55
  getGuide(guideId) {
56
56
  // verify the required parameter 'guideId' is set
57
- if (guideId === undefined || guideId === null) {
57
+ if (guideId === undefined || guideId === null || guideId === '') {
58
58
  throw 'Missing the required parameter "guideId" when calling getGuide';
59
59
  }
60
60
 
@@ -81,11 +81,11 @@ class AIStudioApi {
81
81
  */
82
82
  getGuideJob(guideId, jobId) {
83
83
  // verify the required parameter 'guideId' is set
84
- if (guideId === undefined || guideId === null) {
84
+ if (guideId === undefined || guideId === null || guideId === '') {
85
85
  throw 'Missing the required parameter "guideId" when calling getGuideJob';
86
86
  }
87
87
  // verify the required parameter 'jobId' is set
88
- if (jobId === undefined || jobId === null) {
88
+ if (jobId === undefined || jobId === null || jobId === '') {
89
89
  throw 'Missing the required parameter "jobId" when calling getGuideJob';
90
90
  }
91
91
 
@@ -112,11 +112,11 @@ class AIStudioApi {
112
112
  */
113
113
  getGuideVersion(guideId, versionId) {
114
114
  // verify the required parameter 'guideId' is set
115
- if (guideId === undefined || guideId === null) {
115
+ if (guideId === undefined || guideId === null || guideId === '') {
116
116
  throw 'Missing the required parameter "guideId" when calling getGuideVersion';
117
117
  }
118
118
  // verify the required parameter 'versionId' is set
119
- if (versionId === undefined || versionId === null) {
119
+ if (versionId === undefined || versionId === null || versionId === '') {
120
120
  throw 'Missing the required parameter "versionId" when calling getGuideVersion';
121
121
  }
122
122
 
@@ -144,15 +144,15 @@ class AIStudioApi {
144
144
  */
145
145
  getGuideVersionJob(guideId, versionId, jobId) {
146
146
  // verify the required parameter 'guideId' is set
147
- if (guideId === undefined || guideId === null) {
147
+ if (guideId === undefined || guideId === null || guideId === '') {
148
148
  throw 'Missing the required parameter "guideId" when calling getGuideVersionJob';
149
149
  }
150
150
  // verify the required parameter 'versionId' is set
151
- if (versionId === undefined || versionId === null) {
151
+ if (versionId === undefined || versionId === null || versionId === '') {
152
152
  throw 'Missing the required parameter "versionId" when calling getGuideVersionJob';
153
153
  }
154
154
  // verify the required parameter 'jobId' is set
155
- if (jobId === undefined || jobId === null) {
155
+ if (jobId === undefined || jobId === null || jobId === '') {
156
156
  throw 'Missing the required parameter "jobId" when calling getGuideVersionJob';
157
157
  }
158
158
 
@@ -209,7 +209,7 @@ class AIStudioApi {
209
209
  */
210
210
  getGuidesJob(jobId) {
211
211
  // verify the required parameter 'jobId' is set
212
- if (jobId === undefined || jobId === null) {
212
+ if (jobId === undefined || jobId === null || jobId === '') {
213
213
  throw 'Missing the required parameter "jobId" when calling getGuidesJob';
214
214
  }
215
215
 
@@ -237,11 +237,11 @@ class AIStudioApi {
237
237
  */
238
238
  patchGuideVersion(guideId, versionId, body) {
239
239
  // verify the required parameter 'guideId' is set
240
- if (guideId === undefined || guideId === null) {
240
+ if (guideId === undefined || guideId === null || guideId === '') {
241
241
  throw 'Missing the required parameter "guideId" when calling patchGuideVersion';
242
242
  }
243
243
  // verify the required parameter 'versionId' is set
244
- if (versionId === undefined || versionId === null) {
244
+ if (versionId === undefined || versionId === null || versionId === '') {
245
245
  throw 'Missing the required parameter "versionId" when calling patchGuideVersion';
246
246
  }
247
247
  // verify the required parameter 'body' is set
@@ -273,11 +273,11 @@ class AIStudioApi {
273
273
  */
274
274
  postGuideVersionJobs(guideId, versionId, body) {
275
275
  // verify the required parameter 'guideId' is set
276
- if (guideId === undefined || guideId === null) {
276
+ if (guideId === undefined || guideId === null || guideId === '') {
277
277
  throw 'Missing the required parameter "guideId" when calling postGuideVersionJobs';
278
278
  }
279
279
  // verify the required parameter 'versionId' is set
280
- if (versionId === undefined || versionId === null) {
280
+ if (versionId === undefined || versionId === null || versionId === '') {
281
281
  throw 'Missing the required parameter "versionId" when calling postGuideVersionJobs';
282
282
  }
283
283
  // verify the required parameter 'body' is set
@@ -311,7 +311,7 @@ class AIStudioApi {
311
311
  opts = opts || {};
312
312
 
313
313
  // verify the required parameter 'guideId' is set
314
- if (guideId === undefined || guideId === null) {
314
+ if (guideId === undefined || guideId === null || guideId === '') {
315
315
  throw 'Missing the required parameter "guideId" when calling postGuideVersions';
316
316
  }
317
317
 
@@ -5,7 +5,7 @@ class AgentAssistantsApi {
5
5
  /**
6
6
  * AgentAssistants service.
7
7
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
8
- * @version 224.0.0
8
+ * @version 226.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 224.0.0
8
+ * @version 226.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 224.0.0
8
+ * @version 226.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 224.0.0
8
+ * @version 226.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