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
@@ -5,7 +5,7 @@ class LocationsApi {
5
5
  /**
6
6
  * Locations service.
7
7
  * @module purecloud-platform-client-v2/api/LocationsApi
8
- * @version 224.0.0
8
+ * @version 226.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,7 +27,7 @@ class LocationsApi {
27
27
  */
28
28
  deleteLocation(locationId) {
29
29
  // verify the required parameter 'locationId' is set
30
- if (locationId === undefined || locationId === null) {
30
+ if (locationId === undefined || locationId === null || locationId === '') {
31
31
  throw 'Missing the required parameter "locationId" when calling deleteLocation';
32
32
  }
33
33
 
@@ -56,7 +56,7 @@ class LocationsApi {
56
56
  opts = opts || {};
57
57
 
58
58
  // verify the required parameter 'locationId' is set
59
- if (locationId === undefined || locationId === null) {
59
+ if (locationId === undefined || locationId === null || locationId === '') {
60
60
  throw 'Missing the required parameter "locationId" when calling getLocation';
61
61
  }
62
62
 
@@ -81,7 +81,7 @@ class LocationsApi {
81
81
  */
82
82
  getLocationSublocations(locationId) {
83
83
  // verify the required parameter 'locationId' is set
84
- if (locationId === undefined || locationId === null) {
84
+ if (locationId === undefined || locationId === null || locationId === '') {
85
85
  throw 'Missing the required parameter "locationId" when calling getLocationSublocations';
86
86
  }
87
87
 
@@ -163,7 +163,7 @@ class LocationsApi {
163
163
  */
164
164
  patchLocation(locationId, body) {
165
165
  // verify the required parameter 'locationId' is set
166
- if (locationId === undefined || locationId === null) {
166
+ if (locationId === undefined || locationId === null || locationId === '') {
167
167
  throw 'Missing the required parameter "locationId" when calling patchLocation';
168
168
  }
169
169
  // verify the required parameter 'body' is set
@@ -5,7 +5,7 @@ class LogCaptureApi {
5
5
  /**
6
6
  * LogCapture service.
7
7
  * @module purecloud-platform-client-v2/api/LogCaptureApi
8
- * @version 224.0.0
8
+ * @version 226.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,7 +27,7 @@ class LogCaptureApi {
27
27
  */
28
28
  deleteDiagnosticsLogcaptureBrowserUser(userId) {
29
29
  // verify the required parameter 'userId' is set
30
- if (userId === undefined || userId === null) {
30
+ if (userId === undefined || userId === null || userId === '') {
31
31
  throw 'Missing the required parameter "userId" when calling deleteDiagnosticsLogcaptureBrowserUser';
32
32
  }
33
33
 
@@ -52,7 +52,7 @@ class LogCaptureApi {
52
52
  */
53
53
  getDiagnosticsLogcaptureBrowserEntriesDownloadJob(jobId) {
54
54
  // verify the required parameter 'jobId' is set
55
- if (jobId === undefined || jobId === null) {
55
+ if (jobId === undefined || jobId === null || jobId === '') {
56
56
  throw 'Missing the required parameter "jobId" when calling getDiagnosticsLogcaptureBrowserEntriesDownloadJob';
57
57
  }
58
58
 
@@ -77,7 +77,7 @@ class LogCaptureApi {
77
77
  */
78
78
  getDiagnosticsLogcaptureBrowserUser(userId) {
79
79
  // verify the required parameter 'userId' is set
80
- if (userId === undefined || userId === null) {
80
+ if (userId === undefined || userId === null || userId === '') {
81
81
  throw 'Missing the required parameter "userId" when calling getDiagnosticsLogcaptureBrowserUser';
82
82
  }
83
83
 
@@ -180,7 +180,7 @@ class LogCaptureApi {
180
180
  opts = opts || {};
181
181
 
182
182
  // verify the required parameter 'userId' is set
183
- if (userId === undefined || userId === null) {
183
+ if (userId === undefined || userId === null || userId === '') {
184
184
  throw 'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';
185
185
  }
186
186
 
@@ -5,7 +5,7 @@ class MessagingApi {
5
5
  /**
6
6
  * Messaging service.
7
7
  * @module purecloud-platform-client-v2/api/MessagingApi
8
- * @version 224.0.0
8
+ * @version 226.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -28,7 +28,7 @@ class MessagingApi {
28
28
  */
29
29
  deleteMessagingSetting(messageSettingId) {
30
30
  // verify the required parameter 'messageSettingId' is set
31
- if (messageSettingId === undefined || messageSettingId === null) {
31
+ if (messageSettingId === undefined || messageSettingId === null || messageSettingId === '') {
32
32
  throw 'Missing the required parameter "messageSettingId" when calling deleteMessagingSetting';
33
33
  }
34
34
 
@@ -75,7 +75,7 @@ class MessagingApi {
75
75
  */
76
76
  deleteMessagingSupportedcontentSupportedContentId(supportedContentId) {
77
77
  // verify the required parameter 'supportedContentId' is set
78
- if (supportedContentId === undefined || supportedContentId === null) {
78
+ if (supportedContentId === undefined || supportedContentId === null || supportedContentId === '') {
79
79
  throw 'Missing the required parameter "supportedContentId" when calling deleteMessagingSupportedcontentSupportedContentId';
80
80
  }
81
81
 
@@ -101,7 +101,7 @@ class MessagingApi {
101
101
  */
102
102
  getMessagingSetting(messageSettingId) {
103
103
  // verify the required parameter 'messageSettingId' is set
104
- if (messageSettingId === undefined || messageSettingId === null) {
104
+ if (messageSettingId === undefined || messageSettingId === null || messageSettingId === '') {
105
105
  throw 'Missing the required parameter "messageSettingId" when calling getMessagingSetting';
106
106
  }
107
107
 
@@ -200,7 +200,7 @@ class MessagingApi {
200
200
  */
201
201
  getMessagingSupportedcontentSupportedContentId(supportedContentId) {
202
202
  // verify the required parameter 'supportedContentId' is set
203
- if (supportedContentId === undefined || supportedContentId === null) {
203
+ if (supportedContentId === undefined || supportedContentId === null || supportedContentId === '') {
204
204
  throw 'Missing the required parameter "supportedContentId" when calling getMessagingSupportedcontentSupportedContentId';
205
205
  }
206
206
 
@@ -227,7 +227,7 @@ class MessagingApi {
227
227
  */
228
228
  patchMessagingSetting(messageSettingId, body) {
229
229
  // verify the required parameter 'messageSettingId' is set
230
- if (messageSettingId === undefined || messageSettingId === null) {
230
+ if (messageSettingId === undefined || messageSettingId === null || messageSettingId === '') {
231
231
  throw 'Missing the required parameter "messageSettingId" when calling patchMessagingSetting';
232
232
  }
233
233
  // verify the required parameter 'body' is set
@@ -258,7 +258,7 @@ class MessagingApi {
258
258
  */
259
259
  patchMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
260
260
  // verify the required parameter 'supportedContentId' is set
261
- if (supportedContentId === undefined || supportedContentId === null) {
261
+ if (supportedContentId === undefined || supportedContentId === null || supportedContentId === '') {
262
262
  throw 'Missing the required parameter "supportedContentId" when calling patchMessagingSupportedcontentSupportedContentId';
263
263
  }
264
264
  // verify the required parameter 'body' is set
@@ -5,7 +5,7 @@ class MobileDevicesApi {
5
5
  /**
6
6
  * MobileDevices service.
7
7
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
8
- * @version 224.0.0
8
+ * @version 226.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,7 +27,7 @@ class MobileDevicesApi {
27
27
  */
28
28
  deleteMobiledevice(deviceId) {
29
29
  // verify the required parameter 'deviceId' is set
30
- if (deviceId === undefined || deviceId === null) {
30
+ if (deviceId === undefined || deviceId === null || deviceId === '') {
31
31
  throw 'Missing the required parameter "deviceId" when calling deleteMobiledevice';
32
32
  }
33
33
 
@@ -52,7 +52,7 @@ class MobileDevicesApi {
52
52
  */
53
53
  getMobiledevice(deviceId) {
54
54
  // verify the required parameter 'deviceId' is set
55
- if (deviceId === undefined || deviceId === null) {
55
+ if (deviceId === undefined || deviceId === null || deviceId === '') {
56
56
  throw 'Missing the required parameter "deviceId" when calling getMobiledevice';
57
57
  }
58
58
 
@@ -132,7 +132,7 @@ class MobileDevicesApi {
132
132
  opts = opts || {};
133
133
 
134
134
  // verify the required parameter 'deviceId' is set
135
- if (deviceId === undefined || deviceId === null) {
135
+ if (deviceId === undefined || deviceId === null || deviceId === '') {
136
136
  throw 'Missing the required parameter "deviceId" when calling putMobiledevice';
137
137
  }
138
138
 
@@ -5,7 +5,7 @@ class NotificationsApi {
5
5
  /**
6
6
  * Notifications service.
7
7
  * @module purecloud-platform-client-v2/api/NotificationsApi
8
- * @version 224.0.0
8
+ * @version 226.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,7 +27,7 @@ class NotificationsApi {
27
27
  */
28
28
  deleteNotificationsChannelSubscriptions(channelId) {
29
29
  // verify the required parameter 'channelId' is set
30
- if (channelId === undefined || channelId === null) {
30
+ if (channelId === undefined || channelId === null || channelId === '') {
31
31
  throw 'Missing the required parameter "channelId" when calling deleteNotificationsChannelSubscriptions';
32
32
  }
33
33
 
@@ -77,7 +77,7 @@ class NotificationsApi {
77
77
  */
78
78
  getNotificationsChannelSubscriptions(channelId) {
79
79
  // verify the required parameter 'channelId' is set
80
- if (channelId === undefined || channelId === null) {
80
+ if (channelId === undefined || channelId === null || channelId === '') {
81
81
  throw 'Missing the required parameter "channelId" when calling getNotificationsChannelSubscriptions';
82
82
  }
83
83
 
@@ -126,7 +126,7 @@ class NotificationsApi {
126
126
  */
127
127
  headNotificationsChannel(channelId) {
128
128
  // verify the required parameter 'channelId' is set
129
- if (channelId === undefined || channelId === null) {
129
+ if (channelId === undefined || channelId === null || channelId === '') {
130
130
  throw 'Missing the required parameter "channelId" when calling headNotificationsChannel';
131
131
  }
132
132
 
@@ -156,7 +156,7 @@ class NotificationsApi {
156
156
  opts = opts || {};
157
157
 
158
158
  // verify the required parameter 'channelId' is set
159
- if (channelId === undefined || channelId === null) {
159
+ if (channelId === undefined || channelId === null || channelId === '') {
160
160
  throw 'Missing the required parameter "channelId" when calling postNotificationsChannelSubscriptions';
161
161
  }
162
162
  // verify the required parameter 'body' is set
@@ -210,7 +210,7 @@ class NotificationsApi {
210
210
  opts = opts || {};
211
211
 
212
212
  // verify the required parameter 'channelId' is set
213
- if (channelId === undefined || channelId === null) {
213
+ if (channelId === undefined || channelId === null || channelId === '') {
214
214
  throw 'Missing the required parameter "channelId" when calling putNotificationsChannelSubscriptions';
215
215
  }
216
216
  // verify the required parameter 'body' is set
@@ -5,7 +5,7 @@ class OAuthApi {
5
5
  /**
6
6
  * OAuth service.
7
7
  * @module purecloud-platform-client-v2/api/OAuthApi
8
- * @version 224.0.0
8
+ * @version 226.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,7 +27,7 @@ class OAuthApi {
27
27
  */
28
28
  deleteOauthClient(clientId) {
29
29
  // verify the required parameter 'clientId' is set
30
- if (clientId === undefined || clientId === null) {
30
+ if (clientId === undefined || clientId === null || clientId === '') {
31
31
  throw 'Missing the required parameter "clientId" when calling deleteOauthClient';
32
32
  }
33
33
 
@@ -56,7 +56,7 @@ class OAuthApi {
56
56
  opts = opts || {};
57
57
 
58
58
  // verify the required parameter 'clientId' is set
59
- if (clientId === undefined || clientId === null) {
59
+ if (clientId === undefined || clientId === null || clientId === '') {
60
60
  throw 'Missing the required parameter "clientId" when calling getOauthAuthorization';
61
61
  }
62
62
 
@@ -105,7 +105,7 @@ class OAuthApi {
105
105
  */
106
106
  getOauthClient(clientId) {
107
107
  // verify the required parameter 'clientId' is set
108
- if (clientId === undefined || clientId === null) {
108
+ if (clientId === undefined || clientId === null || clientId === '') {
109
109
  throw 'Missing the required parameter "clientId" when calling getOauthClient';
110
110
  }
111
111
 
@@ -131,11 +131,11 @@ class OAuthApi {
131
131
  */
132
132
  getOauthClientUsageQueryResult(executionId, clientId) {
133
133
  // verify the required parameter 'executionId' is set
134
- if (executionId === undefined || executionId === null) {
134
+ if (executionId === undefined || executionId === null || executionId === '') {
135
135
  throw 'Missing the required parameter "executionId" when calling getOauthClientUsageQueryResult';
136
136
  }
137
137
  // verify the required parameter 'clientId' is set
138
- if (clientId === undefined || clientId === null) {
138
+ if (clientId === undefined || clientId === null || clientId === '') {
139
139
  throw 'Missing the required parameter "clientId" when calling getOauthClientUsageQueryResult';
140
140
  }
141
141
 
@@ -164,7 +164,7 @@ class OAuthApi {
164
164
  opts = opts || {};
165
165
 
166
166
  // verify the required parameter 'clientId' is set
167
- if (clientId === undefined || clientId === null) {
167
+ if (clientId === undefined || clientId === null || clientId === '') {
168
168
  throw 'Missing the required parameter "clientId" when calling getOauthClientUsageSummary';
169
169
  }
170
170
 
@@ -213,7 +213,7 @@ class OAuthApi {
213
213
  opts = opts || {};
214
214
 
215
215
  // verify the required parameter 'scopeId' is set
216
- if (scopeId === undefined || scopeId === null) {
216
+ if (scopeId === undefined || scopeId === null || scopeId === '') {
217
217
  throw 'Missing the required parameter "scopeId" when calling getOauthScope';
218
218
  }
219
219
 
@@ -262,7 +262,7 @@ class OAuthApi {
262
262
  */
263
263
  postOauthClientSecret(clientId) {
264
264
  // verify the required parameter 'clientId' is set
265
- if (clientId === undefined || clientId === null) {
265
+ if (clientId === undefined || clientId === null || clientId === '') {
266
266
  throw 'Missing the required parameter "clientId" when calling postOauthClientSecret';
267
267
  }
268
268
 
@@ -288,7 +288,7 @@ class OAuthApi {
288
288
  */
289
289
  postOauthClientUsageQuery(clientId, body) {
290
290
  // verify the required parameter 'clientId' is set
291
- if (clientId === undefined || clientId === null) {
291
+ if (clientId === undefined || clientId === null || clientId === '') {
292
292
  throw 'Missing the required parameter "clientId" when calling postOauthClientUsageQuery';
293
293
  }
294
294
  // verify the required parameter 'body' is set
@@ -343,7 +343,7 @@ class OAuthApi {
343
343
  */
344
344
  putOauthClient(clientId, body) {
345
345
  // verify the required parameter 'clientId' is set
346
- if (clientId === undefined || clientId === null) {
346
+ if (clientId === undefined || clientId === null || clientId === '') {
347
347
  throw 'Missing the required parameter "clientId" when calling putOauthClient';
348
348
  }
349
349
  // verify the required parameter 'body' is set
@@ -5,7 +5,7 @@ class ObjectsApi {
5
5
  /**
6
6
  * Objects service.
7
7
  * @module purecloud-platform-client-v2/api/ObjectsApi
8
- * @version 224.0.0
8
+ * @version 226.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -31,7 +31,7 @@ class ObjectsApi {
31
31
  opts = opts || {};
32
32
 
33
33
  // verify the required parameter 'divisionId' is set
34
- if (divisionId === undefined || divisionId === null) {
34
+ if (divisionId === undefined || divisionId === null || divisionId === '') {
35
35
  throw 'Missing the required parameter "divisionId" when calling deleteAuthorizationDivision';
36
36
  }
37
37
 
@@ -60,7 +60,7 @@ class ObjectsApi {
60
60
  opts = opts || {};
61
61
 
62
62
  // verify the required parameter 'divisionId' is set
63
- if (divisionId === undefined || divisionId === null) {
63
+ if (divisionId === undefined || divisionId === null || divisionId === '') {
64
64
  throw 'Missing the required parameter "divisionId" when calling getAuthorizationDivision';
65
65
  }
66
66
 
@@ -212,11 +212,11 @@ class ObjectsApi {
212
212
  */
213
213
  postAuthorizationDivisionObject(divisionId, objectType, body) {
214
214
  // verify the required parameter 'divisionId' is set
215
- if (divisionId === undefined || divisionId === null) {
215
+ if (divisionId === undefined || divisionId === null || divisionId === '') {
216
216
  throw 'Missing the required parameter "divisionId" when calling postAuthorizationDivisionObject';
217
217
  }
218
218
  // verify the required parameter 'objectType' is set
219
- if (objectType === undefined || objectType === null) {
219
+ if (objectType === undefined || objectType === null || objectType === '') {
220
220
  throw 'Missing the required parameter "objectType" when calling postAuthorizationDivisionObject';
221
221
  }
222
222
  // verify the required parameter 'body' is set
@@ -246,7 +246,7 @@ class ObjectsApi {
246
246
  */
247
247
  postAuthorizationDivisionRestore(divisionId, body) {
248
248
  // verify the required parameter 'divisionId' is set
249
- if (divisionId === undefined || divisionId === null) {
249
+ if (divisionId === undefined || divisionId === null || divisionId === '') {
250
250
  throw 'Missing the required parameter "divisionId" when calling postAuthorizationDivisionRestore';
251
251
  }
252
252
  // verify the required parameter 'body' is set
@@ -301,7 +301,7 @@ class ObjectsApi {
301
301
  */
302
302
  putAuthorizationDivision(divisionId, body) {
303
303
  // verify the required parameter 'divisionId' is set
304
- if (divisionId === undefined || divisionId === null) {
304
+ if (divisionId === undefined || divisionId === null || divisionId === '') {
305
305
  throw 'Missing the required parameter "divisionId" when calling putAuthorizationDivision';
306
306
  }
307
307
  // verify the required parameter 'body' is set
@@ -5,7 +5,7 @@ class OperationalEventsApi {
5
5
  /**
6
6
  * OperationalEvents service.
7
7
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
8
- * @version 224.0.0
8
+ * @version 226.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,7 +27,7 @@ class OperationalEventsApi {
27
27
  */
28
28
  getUsageEventsDefinition(eventDefinitionId) {
29
29
  // verify the required parameter 'eventDefinitionId' is set
30
- if (eventDefinitionId === undefined || eventDefinitionId === null) {
30
+ if (eventDefinitionId === undefined || eventDefinitionId === null || eventDefinitionId === '') {
31
31
  throw 'Missing the required parameter "eventDefinitionId" when calling getUsageEventsDefinition';
32
32
  }
33
33
 
@@ -5,7 +5,7 @@ class OrganizationApi {
5
5
  /**
6
6
  * Organization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationApi
8
- * @version 224.0.0
8
+ * @version 226.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -115,7 +115,7 @@ class OrganizationApi {
115
115
  */
116
116
  getOrganizationsLimitsChangerequest(requestId) {
117
117
  // verify the required parameter 'requestId' is set
118
- if (requestId === undefined || requestId === null) {
118
+ if (requestId === undefined || requestId === null || requestId === '') {
119
119
  throw 'Missing the required parameter "requestId" when calling getOrganizationsLimitsChangerequest';
120
120
  }
121
121
 
@@ -208,7 +208,7 @@ class OrganizationApi {
208
208
  */
209
209
  getOrganizationsLimitsNamespace(namespaceName) {
210
210
  // verify the required parameter 'namespaceName' is set
211
- if (namespaceName === undefined || namespaceName === null) {
211
+ if (namespaceName === undefined || namespaceName === null || namespaceName === '') {
212
212
  throw 'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespace';
213
213
  }
214
214
 
@@ -233,7 +233,7 @@ class OrganizationApi {
233
233
  */
234
234
  getOrganizationsLimitsNamespaceDefaults(namespaceName) {
235
235
  // verify the required parameter 'namespaceName' is set
236
- if (namespaceName === undefined || namespaceName === null) {
236
+ if (namespaceName === undefined || namespaceName === null || namespaceName === '') {
237
237
  throw 'Missing the required parameter "namespaceName" when calling getOrganizationsLimitsNamespaceDefaults';
238
238
  }
239
239
 
@@ -350,7 +350,7 @@ class OrganizationApi {
350
350
  */
351
351
  patchOrganizationsFeature(featureName, enabled) {
352
352
  // verify the required parameter 'featureName' is set
353
- if (featureName === undefined || featureName === null) {
353
+ if (featureName === undefined || featureName === null || featureName === '') {
354
354
  throw 'Missing the required parameter "featureName" when calling patchOrganizationsFeature';
355
355
  }
356
356
  // verify the required parameter 'enabled' is set