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 ConversationsApi {
5
5
  /**
6
6
  * Conversations service.
7
7
  * @module purecloud-platform-client-v2/api/ConversationsApi
8
- * @version 224.0.0
8
+ * @version 226.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,7 +27,7 @@ class ConversationsApi {
27
27
  */
28
28
  deleteAnalyticsConversationsDetailsJob(jobId) {
29
29
  // verify the required parameter 'jobId' is set
30
- if (jobId === undefined || jobId === null) {
30
+ if (jobId === undefined || jobId === null || jobId === '') {
31
31
  throw 'Missing the required parameter "jobId" when calling deleteAnalyticsConversationsDetailsJob';
32
32
  }
33
33
 
@@ -54,15 +54,15 @@ class ConversationsApi {
54
54
  */
55
55
  deleteConversationParticipantCode(conversationId, participantId, addCommunicationCode) {
56
56
  // verify the required parameter 'conversationId' is set
57
- if (conversationId === undefined || conversationId === null) {
57
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
58
58
  throw 'Missing the required parameter "conversationId" when calling deleteConversationParticipantCode';
59
59
  }
60
60
  // verify the required parameter 'participantId' is set
61
- if (participantId === undefined || participantId === null) {
61
+ if (participantId === undefined || participantId === null || participantId === '') {
62
62
  throw 'Missing the required parameter "participantId" when calling deleteConversationParticipantCode';
63
63
  }
64
64
  // verify the required parameter 'addCommunicationCode' is set
65
- if (addCommunicationCode === undefined || addCommunicationCode === null) {
65
+ if (addCommunicationCode === undefined || addCommunicationCode === null || addCommunicationCode === '') {
66
66
  throw 'Missing the required parameter "addCommunicationCode" when calling deleteConversationParticipantCode';
67
67
  }
68
68
 
@@ -88,11 +88,11 @@ class ConversationsApi {
88
88
  */
89
89
  deleteConversationParticipantFlaggedreason(conversationId, participantId) {
90
90
  // verify the required parameter 'conversationId' is set
91
- if (conversationId === undefined || conversationId === null) {
91
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
92
92
  throw 'Missing the required parameter "conversationId" when calling deleteConversationParticipantFlaggedreason';
93
93
  }
94
94
  // verify the required parameter 'participantId' is set
95
- if (participantId === undefined || participantId === null) {
95
+ if (participantId === undefined || participantId === null || participantId === '') {
96
96
  throw 'Missing the required parameter "participantId" when calling deleteConversationParticipantFlaggedreason';
97
97
  }
98
98
 
@@ -118,11 +118,11 @@ class ConversationsApi {
118
118
  */
119
119
  deleteConversationsCallParticipantConsult(conversationId, participantId) {
120
120
  // verify the required parameter 'conversationId' is set
121
- if (conversationId === undefined || conversationId === null) {
121
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
122
122
  throw 'Missing the required parameter "conversationId" when calling deleteConversationsCallParticipantConsult';
123
123
  }
124
124
  // verify the required parameter 'participantId' is set
125
- if (participantId === undefined || participantId === null) {
125
+ if (participantId === undefined || participantId === null || participantId === '') {
126
126
  throw 'Missing the required parameter "participantId" when calling deleteConversationsCallParticipantConsult';
127
127
  }
128
128
 
@@ -148,11 +148,11 @@ class ConversationsApi {
148
148
  */
149
149
  deleteConversationsEmailMessagesDraftAttachment(conversationId, attachmentId) {
150
150
  // verify the required parameter 'conversationId' is set
151
- if (conversationId === undefined || conversationId === null) {
151
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
152
152
  throw 'Missing the required parameter "conversationId" when calling deleteConversationsEmailMessagesDraftAttachment';
153
153
  }
154
154
  // verify the required parameter 'attachmentId' is set
155
- if (attachmentId === undefined || attachmentId === null) {
155
+ if (attachmentId === undefined || attachmentId === null || attachmentId === '') {
156
156
  throw 'Missing the required parameter "attachmentId" when calling deleteConversationsEmailMessagesDraftAttachment';
157
157
  }
158
158
 
@@ -177,7 +177,7 @@ class ConversationsApi {
177
177
  */
178
178
  deleteConversationsMessagesCachedmediaCachedMediaItemId(cachedMediaItemId) {
179
179
  // verify the required parameter 'cachedMediaItemId' is set
180
- if (cachedMediaItemId === undefined || cachedMediaItemId === null) {
180
+ if (cachedMediaItemId === undefined || cachedMediaItemId === null || cachedMediaItemId === '') {
181
181
  throw 'Missing the required parameter "cachedMediaItemId" when calling deleteConversationsMessagesCachedmediaCachedMediaItemId';
182
182
  }
183
183
 
@@ -202,7 +202,7 @@ class ConversationsApi {
202
202
  */
203
203
  deleteConversationsMessagingIntegrationsFacebookIntegrationId(integrationId) {
204
204
  // verify the required parameter 'integrationId' is set
205
- if (integrationId === undefined || integrationId === null) {
205
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
206
206
  throw 'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsFacebookIntegrationId';
207
207
  }
208
208
 
@@ -227,7 +227,7 @@ class ConversationsApi {
227
227
  */
228
228
  deleteConversationsMessagingIntegrationsInstagramIntegrationId(integrationId) {
229
229
  // verify the required parameter 'integrationId' is set
230
- if (integrationId === undefined || integrationId === null) {
230
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
231
231
  throw 'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsInstagramIntegrationId';
232
232
  }
233
233
 
@@ -252,7 +252,7 @@ class ConversationsApi {
252
252
  */
253
253
  deleteConversationsMessagingIntegrationsOpenIntegrationId(integrationId) {
254
254
  // verify the required parameter 'integrationId' is set
255
- if (integrationId === undefined || integrationId === null) {
255
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
256
256
  throw 'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsOpenIntegrationId';
257
257
  }
258
258
 
@@ -277,7 +277,7 @@ class ConversationsApi {
277
277
  */
278
278
  deleteConversationsMessagingIntegrationsTwitterIntegrationId(integrationId) {
279
279
  // verify the required parameter 'integrationId' is set
280
- if (integrationId === undefined || integrationId === null) {
280
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
281
281
  throw 'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsTwitterIntegrationId';
282
282
  }
283
283
 
@@ -302,7 +302,7 @@ class ConversationsApi {
302
302
  */
303
303
  deleteConversationsMessagingIntegrationsWhatsappIntegrationId(integrationId) {
304
304
  // verify the required parameter 'integrationId' is set
305
- if (integrationId === undefined || integrationId === null) {
305
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
306
306
  throw 'Missing the required parameter "integrationId" when calling deleteConversationsMessagingIntegrationsWhatsappIntegrationId';
307
307
  }
308
308
 
@@ -327,7 +327,7 @@ class ConversationsApi {
327
327
  */
328
328
  deleteConversationsMessagingSetting(messageSettingId) {
329
329
  // verify the required parameter 'messageSettingId' is set
330
- if (messageSettingId === undefined || messageSettingId === null) {
330
+ if (messageSettingId === undefined || messageSettingId === null || messageSettingId === '') {
331
331
  throw 'Missing the required parameter "messageSettingId" when calling deleteConversationsMessagingSetting';
332
332
  }
333
333
 
@@ -372,7 +372,7 @@ class ConversationsApi {
372
372
  */
373
373
  deleteConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
374
374
  // verify the required parameter 'supportedContentId' is set
375
- if (supportedContentId === undefined || supportedContentId === null) {
375
+ if (supportedContentId === undefined || supportedContentId === null || supportedContentId === '') {
376
376
  throw 'Missing the required parameter "supportedContentId" when calling deleteConversationsMessagingSupportedcontentSupportedContentId';
377
377
  }
378
378
 
@@ -397,7 +397,7 @@ class ConversationsApi {
397
397
  */
398
398
  getAnalyticsConversationDetails(conversationId) {
399
399
  // verify the required parameter 'conversationId' is set
400
- if (conversationId === undefined || conversationId === null) {
400
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
401
401
  throw 'Missing the required parameter "conversationId" when calling getAnalyticsConversationDetails';
402
402
  }
403
403
 
@@ -423,7 +423,7 @@ class ConversationsApi {
423
423
  */
424
424
  getAnalyticsConversationsAggregatesJob(jobId) {
425
425
  // verify the required parameter 'jobId' is set
426
- if (jobId === undefined || jobId === null) {
426
+ if (jobId === undefined || jobId === null || jobId === '') {
427
427
  throw 'Missing the required parameter "jobId" when calling getAnalyticsConversationsAggregatesJob';
428
428
  }
429
429
 
@@ -453,7 +453,7 @@ class ConversationsApi {
453
453
  opts = opts || {};
454
454
 
455
455
  // verify the required parameter 'jobId' is set
456
- if (jobId === undefined || jobId === null) {
456
+ if (jobId === undefined || jobId === null || jobId === '') {
457
457
  throw 'Missing the required parameter "jobId" when calling getAnalyticsConversationsAggregatesJobResults';
458
458
  }
459
459
 
@@ -502,7 +502,7 @@ class ConversationsApi {
502
502
  */
503
503
  getAnalyticsConversationsDetailsJob(jobId) {
504
504
  // verify the required parameter 'jobId' is set
505
- if (jobId === undefined || jobId === null) {
505
+ if (jobId === undefined || jobId === null || jobId === '') {
506
506
  throw 'Missing the required parameter "jobId" when calling getAnalyticsConversationsDetailsJob';
507
507
  }
508
508
 
@@ -532,7 +532,7 @@ class ConversationsApi {
532
532
  opts = opts || {};
533
533
 
534
534
  // verify the required parameter 'jobId' is set
535
- if (jobId === undefined || jobId === null) {
535
+ if (jobId === undefined || jobId === null || jobId === '') {
536
536
  throw 'Missing the required parameter "jobId" when calling getAnalyticsConversationsDetailsJobResults';
537
537
  }
538
538
 
@@ -577,7 +577,7 @@ class ConversationsApi {
577
577
  */
578
578
  getConversation(conversationId) {
579
579
  // verify the required parameter 'conversationId' is set
580
- if (conversationId === undefined || conversationId === null) {
580
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
581
581
  throw 'Missing the required parameter "conversationId" when calling getConversation';
582
582
  }
583
583
 
@@ -605,15 +605,15 @@ class ConversationsApi {
605
605
  */
606
606
  getConversationCommunicationInternalmessage(conversationId, communicationId, messageId) {
607
607
  // verify the required parameter 'conversationId' is set
608
- if (conversationId === undefined || conversationId === null) {
608
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
609
609
  throw 'Missing the required parameter "conversationId" when calling getConversationCommunicationInternalmessage';
610
610
  }
611
611
  // verify the required parameter 'communicationId' is set
612
- if (communicationId === undefined || communicationId === null) {
612
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
613
613
  throw 'Missing the required parameter "communicationId" when calling getConversationCommunicationInternalmessage';
614
614
  }
615
615
  // verify the required parameter 'messageId' is set
616
- if (messageId === undefined || messageId === null) {
616
+ if (messageId === undefined || messageId === null || messageId === '') {
617
617
  throw 'Missing the required parameter "messageId" when calling getConversationCommunicationInternalmessage';
618
618
  }
619
619
 
@@ -645,11 +645,11 @@ class ConversationsApi {
645
645
  opts = opts || {};
646
646
 
647
647
  // verify the required parameter 'conversationId' is set
648
- if (conversationId === undefined || conversationId === null) {
648
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
649
649
  throw 'Missing the required parameter "conversationId" when calling getConversationCommunicationInternalmessages';
650
650
  }
651
651
  // verify the required parameter 'communicationId' is set
652
- if (communicationId === undefined || communicationId === null) {
652
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
653
653
  throw 'Missing the required parameter "communicationId" when calling getConversationCommunicationInternalmessages';
654
654
  }
655
655
 
@@ -676,15 +676,15 @@ class ConversationsApi {
676
676
  */
677
677
  getConversationParticipantSecureivrsession(conversationId, participantId, secureSessionId) {
678
678
  // verify the required parameter 'conversationId' is set
679
- if (conversationId === undefined || conversationId === null) {
679
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
680
680
  throw 'Missing the required parameter "conversationId" when calling getConversationParticipantSecureivrsession';
681
681
  }
682
682
  // verify the required parameter 'participantId' is set
683
- if (participantId === undefined || participantId === null) {
683
+ if (participantId === undefined || participantId === null || participantId === '') {
684
684
  throw 'Missing the required parameter "participantId" when calling getConversationParticipantSecureivrsession';
685
685
  }
686
686
  // verify the required parameter 'secureSessionId' is set
687
- if (secureSessionId === undefined || secureSessionId === null) {
687
+ if (secureSessionId === undefined || secureSessionId === null || secureSessionId === '') {
688
688
  throw 'Missing the required parameter "secureSessionId" when calling getConversationParticipantSecureivrsession';
689
689
  }
690
690
 
@@ -710,11 +710,11 @@ class ConversationsApi {
710
710
  */
711
711
  getConversationParticipantSecureivrsessions(conversationId, participantId) {
712
712
  // verify the required parameter 'conversationId' is set
713
- if (conversationId === undefined || conversationId === null) {
713
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
714
714
  throw 'Missing the required parameter "conversationId" when calling getConversationParticipantSecureivrsessions';
715
715
  }
716
716
  // verify the required parameter 'participantId' is set
717
- if (participantId === undefined || participantId === null) {
717
+ if (participantId === undefined || participantId === null || participantId === '') {
718
718
  throw 'Missing the required parameter "participantId" when calling getConversationParticipantSecureivrsessions';
719
719
  }
720
720
 
@@ -744,11 +744,11 @@ class ConversationsApi {
744
744
  opts = opts || {};
745
745
 
746
746
  // verify the required parameter 'conversationId' is set
747
- if (conversationId === undefined || conversationId === null) {
747
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
748
748
  throw 'Missing the required parameter "conversationId" when calling getConversationParticipantWrapup';
749
749
  }
750
750
  // verify the required parameter 'participantId' is set
751
- if (participantId === undefined || participantId === null) {
751
+ if (participantId === undefined || participantId === null || participantId === '') {
752
752
  throw 'Missing the required parameter "participantId" when calling getConversationParticipantWrapup';
753
753
  }
754
754
 
@@ -774,11 +774,11 @@ class ConversationsApi {
774
774
  */
775
775
  getConversationParticipantWrapupcodes(conversationId, participantId) {
776
776
  // verify the required parameter 'conversationId' is set
777
- if (conversationId === undefined || conversationId === null) {
777
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
778
778
  throw 'Missing the required parameter "conversationId" when calling getConversationParticipantWrapupcodes';
779
779
  }
780
780
  // verify the required parameter 'participantId' is set
781
- if (participantId === undefined || participantId === null) {
781
+ if (participantId === undefined || participantId === null || participantId === '') {
782
782
  throw 'Missing the required parameter "participantId" when calling getConversationParticipantWrapupcodes';
783
783
  }
784
784
 
@@ -803,7 +803,7 @@ class ConversationsApi {
803
803
  */
804
804
  getConversationSecureattributes(conversationId) {
805
805
  // verify the required parameter 'conversationId' is set
806
- if (conversationId === undefined || conversationId === null) {
806
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
807
807
  throw 'Missing the required parameter "conversationId" when calling getConversationSecureattributes';
808
808
  }
809
809
 
@@ -829,11 +829,11 @@ class ConversationsApi {
829
829
  */
830
830
  getConversationSuggestion(conversationId, suggestionId) {
831
831
  // verify the required parameter 'conversationId' is set
832
- if (conversationId === undefined || conversationId === null) {
832
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
833
833
  throw 'Missing the required parameter "conversationId" when calling getConversationSuggestion';
834
834
  }
835
835
  // verify the required parameter 'suggestionId' is set
836
- if (suggestionId === undefined || suggestionId === null) {
836
+ if (suggestionId === undefined || suggestionId === null || suggestionId === '') {
837
837
  throw 'Missing the required parameter "suggestionId" when calling getConversationSuggestion';
838
838
  }
839
839
 
@@ -866,7 +866,7 @@ class ConversationsApi {
866
866
  opts = opts || {};
867
867
 
868
868
  // verify the required parameter 'conversationId' is set
869
- if (conversationId === undefined || conversationId === null) {
869
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
870
870
  throw 'Missing the required parameter "conversationId" when calling getConversationSuggestions';
871
871
  }
872
872
 
@@ -891,7 +891,7 @@ class ConversationsApi {
891
891
  */
892
892
  getConversationSummaries(conversationId) {
893
893
  // verify the required parameter 'conversationId' is set
894
- if (conversationId === undefined || conversationId === null) {
894
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
895
895
  throw 'Missing the required parameter "conversationId" when calling getConversationSummaries';
896
896
  }
897
897
 
@@ -940,7 +940,7 @@ class ConversationsApi {
940
940
  */
941
941
  getConversationsCall(conversationId) {
942
942
  // verify the required parameter 'conversationId' is set
943
- if (conversationId === undefined || conversationId === null) {
943
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
944
944
  throw 'Missing the required parameter "conversationId" when calling getConversationsCall';
945
945
  }
946
946
 
@@ -971,15 +971,15 @@ class ConversationsApi {
971
971
  opts = opts || {};
972
972
 
973
973
  // verify the required parameter 'conversationId' is set
974
- if (conversationId === undefined || conversationId === null) {
974
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
975
975
  throw 'Missing the required parameter "conversationId" when calling getConversationsCallParticipantCommunicationWrapup';
976
976
  }
977
977
  // verify the required parameter 'participantId' is set
978
- if (participantId === undefined || participantId === null) {
978
+ if (participantId === undefined || participantId === null || participantId === '') {
979
979
  throw 'Missing the required parameter "participantId" when calling getConversationsCallParticipantCommunicationWrapup';
980
980
  }
981
981
  // verify the required parameter 'communicationId' is set
982
- if (communicationId === undefined || communicationId === null) {
982
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
983
983
  throw 'Missing the required parameter "communicationId" when calling getConversationsCallParticipantCommunicationWrapup';
984
984
  }
985
985
 
@@ -1009,11 +1009,11 @@ class ConversationsApi {
1009
1009
  opts = opts || {};
1010
1010
 
1011
1011
  // verify the required parameter 'conversationId' is set
1012
- if (conversationId === undefined || conversationId === null) {
1012
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1013
1013
  throw 'Missing the required parameter "conversationId" when calling getConversationsCallParticipantWrapup';
1014
1014
  }
1015
1015
  // verify the required parameter 'participantId' is set
1016
- if (participantId === undefined || participantId === null) {
1016
+ if (participantId === undefined || participantId === null || participantId === '') {
1017
1017
  throw 'Missing the required parameter "participantId" when calling getConversationsCallParticipantWrapup';
1018
1018
  }
1019
1019
 
@@ -1039,11 +1039,11 @@ class ConversationsApi {
1039
1039
  */
1040
1040
  getConversationsCallParticipantWrapupcodes(conversationId, participantId) {
1041
1041
  // verify the required parameter 'conversationId' is set
1042
- if (conversationId === undefined || conversationId === null) {
1042
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1043
1043
  throw 'Missing the required parameter "conversationId" when calling getConversationsCallParticipantWrapupcodes';
1044
1044
  }
1045
1045
  // verify the required parameter 'participantId' is set
1046
- if (participantId === undefined || participantId === null) {
1046
+ if (participantId === undefined || participantId === null || participantId === '') {
1047
1047
  throw 'Missing the required parameter "participantId" when calling getConversationsCallParticipantWrapupcodes';
1048
1048
  }
1049
1049
 
@@ -1068,7 +1068,7 @@ class ConversationsApi {
1068
1068
  */
1069
1069
  getConversationsCallback(conversationId) {
1070
1070
  // verify the required parameter 'conversationId' is set
1071
- if (conversationId === undefined || conversationId === null) {
1071
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1072
1072
  throw 'Missing the required parameter "conversationId" when calling getConversationsCallback';
1073
1073
  }
1074
1074
 
@@ -1099,15 +1099,15 @@ class ConversationsApi {
1099
1099
  opts = opts || {};
1100
1100
 
1101
1101
  // verify the required parameter 'conversationId' is set
1102
- if (conversationId === undefined || conversationId === null) {
1102
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1103
1103
  throw 'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantCommunicationWrapup';
1104
1104
  }
1105
1105
  // verify the required parameter 'participantId' is set
1106
- if (participantId === undefined || participantId === null) {
1106
+ if (participantId === undefined || participantId === null || participantId === '') {
1107
1107
  throw 'Missing the required parameter "participantId" when calling getConversationsCallbackParticipantCommunicationWrapup';
1108
1108
  }
1109
1109
  // verify the required parameter 'communicationId' is set
1110
- if (communicationId === undefined || communicationId === null) {
1110
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
1111
1111
  throw 'Missing the required parameter "communicationId" when calling getConversationsCallbackParticipantCommunicationWrapup';
1112
1112
  }
1113
1113
 
@@ -1137,11 +1137,11 @@ class ConversationsApi {
1137
1137
  opts = opts || {};
1138
1138
 
1139
1139
  // verify the required parameter 'conversationId' is set
1140
- if (conversationId === undefined || conversationId === null) {
1140
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1141
1141
  throw 'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantWrapup';
1142
1142
  }
1143
1143
  // verify the required parameter 'participantId' is set
1144
- if (participantId === undefined || participantId === null) {
1144
+ if (participantId === undefined || participantId === null || participantId === '') {
1145
1145
  throw 'Missing the required parameter "participantId" when calling getConversationsCallbackParticipantWrapup';
1146
1146
  }
1147
1147
 
@@ -1167,11 +1167,11 @@ class ConversationsApi {
1167
1167
  */
1168
1168
  getConversationsCallbackParticipantWrapupcodes(conversationId, participantId) {
1169
1169
  // verify the required parameter 'conversationId' is set
1170
- if (conversationId === undefined || conversationId === null) {
1170
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1171
1171
  throw 'Missing the required parameter "conversationId" when calling getConversationsCallbackParticipantWrapupcodes';
1172
1172
  }
1173
1173
  // verify the required parameter 'participantId' is set
1174
- if (participantId === undefined || participantId === null) {
1174
+ if (participantId === undefined || participantId === null || participantId === '') {
1175
1175
  throw 'Missing the required parameter "participantId" when calling getConversationsCallbackParticipantWrapupcodes';
1176
1176
  }
1177
1177
 
@@ -1284,7 +1284,7 @@ class ConversationsApi {
1284
1284
  */
1285
1285
  getConversationsChat(conversationId) {
1286
1286
  // verify the required parameter 'conversationId' is set
1287
- if (conversationId === undefined || conversationId === null) {
1287
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1288
1288
  throw 'Missing the required parameter "conversationId" when calling getConversationsChat';
1289
1289
  }
1290
1290
 
@@ -1311,11 +1311,11 @@ class ConversationsApi {
1311
1311
  */
1312
1312
  getConversationsChatMessage(conversationId, messageId) {
1313
1313
  // verify the required parameter 'conversationId' is set
1314
- if (conversationId === undefined || conversationId === null) {
1314
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1315
1315
  throw 'Missing the required parameter "conversationId" when calling getConversationsChatMessage';
1316
1316
  }
1317
1317
  // verify the required parameter 'messageId' is set
1318
- if (messageId === undefined || messageId === null) {
1318
+ if (messageId === undefined || messageId === null || messageId === '') {
1319
1319
  throw 'Missing the required parameter "messageId" when calling getConversationsChatMessage';
1320
1320
  }
1321
1321
 
@@ -1348,7 +1348,7 @@ class ConversationsApi {
1348
1348
  opts = opts || {};
1349
1349
 
1350
1350
  // verify the required parameter 'conversationId' is set
1351
- if (conversationId === undefined || conversationId === null) {
1351
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1352
1352
  throw 'Missing the required parameter "conversationId" when calling getConversationsChatMessages';
1353
1353
  }
1354
1354
 
@@ -1380,15 +1380,15 @@ class ConversationsApi {
1380
1380
  opts = opts || {};
1381
1381
 
1382
1382
  // verify the required parameter 'conversationId' is set
1383
- if (conversationId === undefined || conversationId === null) {
1383
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1384
1384
  throw 'Missing the required parameter "conversationId" when calling getConversationsChatParticipantCommunicationWrapup';
1385
1385
  }
1386
1386
  // verify the required parameter 'participantId' is set
1387
- if (participantId === undefined || participantId === null) {
1387
+ if (participantId === undefined || participantId === null || participantId === '') {
1388
1388
  throw 'Missing the required parameter "participantId" when calling getConversationsChatParticipantCommunicationWrapup';
1389
1389
  }
1390
1390
  // verify the required parameter 'communicationId' is set
1391
- if (communicationId === undefined || communicationId === null) {
1391
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
1392
1392
  throw 'Missing the required parameter "communicationId" when calling getConversationsChatParticipantCommunicationWrapup';
1393
1393
  }
1394
1394
 
@@ -1419,11 +1419,11 @@ class ConversationsApi {
1419
1419
  opts = opts || {};
1420
1420
 
1421
1421
  // verify the required parameter 'conversationId' is set
1422
- if (conversationId === undefined || conversationId === null) {
1422
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1423
1423
  throw 'Missing the required parameter "conversationId" when calling getConversationsChatParticipantWrapup';
1424
1424
  }
1425
1425
  // verify the required parameter 'participantId' is set
1426
- if (participantId === undefined || participantId === null) {
1426
+ if (participantId === undefined || participantId === null || participantId === '') {
1427
1427
  throw 'Missing the required parameter "participantId" when calling getConversationsChatParticipantWrapup';
1428
1428
  }
1429
1429
 
@@ -1450,11 +1450,11 @@ class ConversationsApi {
1450
1450
  */
1451
1451
  getConversationsChatParticipantWrapupcodes(conversationId, participantId) {
1452
1452
  // verify the required parameter 'conversationId' is set
1453
- if (conversationId === undefined || conversationId === null) {
1453
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1454
1454
  throw 'Missing the required parameter "conversationId" when calling getConversationsChatParticipantWrapupcodes';
1455
1455
  }
1456
1456
  // verify the required parameter 'participantId' is set
1457
- if (participantId === undefined || participantId === null) {
1457
+ if (participantId === undefined || participantId === null || participantId === '') {
1458
1458
  throw 'Missing the required parameter "participantId" when calling getConversationsChatParticipantWrapupcodes';
1459
1459
  }
1460
1460
 
@@ -1500,7 +1500,7 @@ class ConversationsApi {
1500
1500
  */
1501
1501
  getConversationsCobrowsesession(conversationId) {
1502
1502
  // verify the required parameter 'conversationId' is set
1503
- if (conversationId === undefined || conversationId === null) {
1503
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1504
1504
  throw 'Missing the required parameter "conversationId" when calling getConversationsCobrowsesession';
1505
1505
  }
1506
1506
 
@@ -1532,15 +1532,15 @@ class ConversationsApi {
1532
1532
  opts = opts || {};
1533
1533
 
1534
1534
  // verify the required parameter 'conversationId' is set
1535
- if (conversationId === undefined || conversationId === null) {
1535
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1536
1536
  throw 'Missing the required parameter "conversationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
1537
1537
  }
1538
1538
  // verify the required parameter 'participantId' is set
1539
- if (participantId === undefined || participantId === null) {
1539
+ if (participantId === undefined || participantId === null || participantId === '') {
1540
1540
  throw 'Missing the required parameter "participantId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
1541
1541
  }
1542
1542
  // verify the required parameter 'communicationId' is set
1543
- if (communicationId === undefined || communicationId === null) {
1543
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
1544
1544
  throw 'Missing the required parameter "communicationId" when calling getConversationsCobrowsesessionParticipantCommunicationWrapup';
1545
1545
  }
1546
1546
 
@@ -1571,11 +1571,11 @@ class ConversationsApi {
1571
1571
  opts = opts || {};
1572
1572
 
1573
1573
  // verify the required parameter 'conversationId' is set
1574
- if (conversationId === undefined || conversationId === null) {
1574
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1575
1575
  throw 'Missing the required parameter "conversationId" when calling getConversationsCobrowsesessionParticipantWrapup';
1576
1576
  }
1577
1577
  // verify the required parameter 'participantId' is set
1578
- if (participantId === undefined || participantId === null) {
1578
+ if (participantId === undefined || participantId === null || participantId === '') {
1579
1579
  throw 'Missing the required parameter "participantId" when calling getConversationsCobrowsesessionParticipantWrapup';
1580
1580
  }
1581
1581
 
@@ -1602,11 +1602,11 @@ class ConversationsApi {
1602
1602
  */
1603
1603
  getConversationsCobrowsesessionParticipantWrapupcodes(conversationId, participantId) {
1604
1604
  // verify the required parameter 'conversationId' is set
1605
- if (conversationId === undefined || conversationId === null) {
1605
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1606
1606
  throw 'Missing the required parameter "conversationId" when calling getConversationsCobrowsesessionParticipantWrapupcodes';
1607
1607
  }
1608
1608
  // verify the required parameter 'participantId' is set
1609
- if (participantId === undefined || participantId === null) {
1609
+ if (participantId === undefined || participantId === null || participantId === '') {
1610
1610
  throw 'Missing the required parameter "participantId" when calling getConversationsCobrowsesessionParticipantWrapupcodes';
1611
1611
  }
1612
1612
 
@@ -1651,7 +1651,7 @@ class ConversationsApi {
1651
1651
  */
1652
1652
  getConversationsEmail(conversationId) {
1653
1653
  // verify the required parameter 'conversationId' is set
1654
- if (conversationId === undefined || conversationId === null) {
1654
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1655
1655
  throw 'Missing the required parameter "conversationId" when calling getConversationsEmail';
1656
1656
  }
1657
1657
 
@@ -1677,11 +1677,11 @@ class ConversationsApi {
1677
1677
  */
1678
1678
  getConversationsEmailMessage(conversationId, messageId) {
1679
1679
  // verify the required parameter 'conversationId' is set
1680
- if (conversationId === undefined || conversationId === null) {
1680
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1681
1681
  throw 'Missing the required parameter "conversationId" when calling getConversationsEmailMessage';
1682
1682
  }
1683
1683
  // verify the required parameter 'messageId' is set
1684
- if (messageId === undefined || messageId === null) {
1684
+ if (messageId === undefined || messageId === null || messageId === '') {
1685
1685
  throw 'Missing the required parameter "messageId" when calling getConversationsEmailMessage';
1686
1686
  }
1687
1687
 
@@ -1706,7 +1706,7 @@ class ConversationsApi {
1706
1706
  */
1707
1707
  getConversationsEmailMessages(conversationId) {
1708
1708
  // verify the required parameter 'conversationId' is set
1709
- if (conversationId === undefined || conversationId === null) {
1709
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1710
1710
  throw 'Missing the required parameter "conversationId" when calling getConversationsEmailMessages';
1711
1711
  }
1712
1712
 
@@ -1731,7 +1731,7 @@ class ConversationsApi {
1731
1731
  */
1732
1732
  getConversationsEmailMessagesDraft(conversationId) {
1733
1733
  // verify the required parameter 'conversationId' is set
1734
- if (conversationId === undefined || conversationId === null) {
1734
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1735
1735
  throw 'Missing the required parameter "conversationId" when calling getConversationsEmailMessagesDraft';
1736
1736
  }
1737
1737
 
@@ -1762,15 +1762,15 @@ class ConversationsApi {
1762
1762
  opts = opts || {};
1763
1763
 
1764
1764
  // verify the required parameter 'conversationId' is set
1765
- if (conversationId === undefined || conversationId === null) {
1765
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1766
1766
  throw 'Missing the required parameter "conversationId" when calling getConversationsEmailParticipantCommunicationWrapup';
1767
1767
  }
1768
1768
  // verify the required parameter 'participantId' is set
1769
- if (participantId === undefined || participantId === null) {
1769
+ if (participantId === undefined || participantId === null || participantId === '') {
1770
1770
  throw 'Missing the required parameter "participantId" when calling getConversationsEmailParticipantCommunicationWrapup';
1771
1771
  }
1772
1772
  // verify the required parameter 'communicationId' is set
1773
- if (communicationId === undefined || communicationId === null) {
1773
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
1774
1774
  throw 'Missing the required parameter "communicationId" when calling getConversationsEmailParticipantCommunicationWrapup';
1775
1775
  }
1776
1776
 
@@ -1800,11 +1800,11 @@ class ConversationsApi {
1800
1800
  opts = opts || {};
1801
1801
 
1802
1802
  // verify the required parameter 'conversationId' is set
1803
- if (conversationId === undefined || conversationId === null) {
1803
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1804
1804
  throw 'Missing the required parameter "conversationId" when calling getConversationsEmailParticipantWrapup';
1805
1805
  }
1806
1806
  // verify the required parameter 'participantId' is set
1807
- if (participantId === undefined || participantId === null) {
1807
+ if (participantId === undefined || participantId === null || participantId === '') {
1808
1808
  throw 'Missing the required parameter "participantId" when calling getConversationsEmailParticipantWrapup';
1809
1809
  }
1810
1810
 
@@ -1830,11 +1830,11 @@ class ConversationsApi {
1830
1830
  */
1831
1831
  getConversationsEmailParticipantWrapupcodes(conversationId, participantId) {
1832
1832
  // verify the required parameter 'conversationId' is set
1833
- if (conversationId === undefined || conversationId === null) {
1833
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1834
1834
  throw 'Missing the required parameter "conversationId" when calling getConversationsEmailParticipantWrapupcodes';
1835
1835
  }
1836
1836
  // verify the required parameter 'participantId' is set
1837
- if (participantId === undefined || participantId === null) {
1837
+ if (participantId === undefined || participantId === null || participantId === '') {
1838
1838
  throw 'Missing the required parameter "participantId" when calling getConversationsEmailParticipantWrapupcodes';
1839
1839
  }
1840
1840
 
@@ -1859,7 +1859,7 @@ class ConversationsApi {
1859
1859
  */
1860
1860
  getConversationsEmailSettings(conversationId) {
1861
1861
  // verify the required parameter 'conversationId' is set
1862
- if (conversationId === undefined || conversationId === null) {
1862
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1863
1863
  throw 'Missing the required parameter "conversationId" when calling getConversationsEmailSettings';
1864
1864
  }
1865
1865
 
@@ -1905,7 +1905,7 @@ class ConversationsApi {
1905
1905
  */
1906
1906
  getConversationsInternalmessage(conversationId) {
1907
1907
  // verify the required parameter 'conversationId' is set
1908
- if (conversationId === undefined || conversationId === null) {
1908
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
1909
1909
  throw 'Missing the required parameter "conversationId" when calling getConversationsInternalmessage';
1910
1910
  }
1911
1911
 
@@ -1951,7 +1951,7 @@ class ConversationsApi {
1951
1951
  */
1952
1952
  getConversationsKeyconfiguration(keyconfigurationsId) {
1953
1953
  // verify the required parameter 'keyconfigurationsId' is set
1954
- if (keyconfigurationsId === undefined || keyconfigurationsId === null) {
1954
+ if (keyconfigurationsId === undefined || keyconfigurationsId === null || keyconfigurationsId === '') {
1955
1955
  throw 'Missing the required parameter "keyconfigurationsId" when calling getConversationsKeyconfiguration';
1956
1956
  }
1957
1957
 
@@ -1996,7 +1996,7 @@ class ConversationsApi {
1996
1996
  */
1997
1997
  getConversationsMessage(conversationId) {
1998
1998
  // verify the required parameter 'conversationId' is set
1999
- if (conversationId === undefined || conversationId === null) {
1999
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
2000
2000
  throw 'Missing the required parameter "conversationId" when calling getConversationsMessage';
2001
2001
  }
2002
2002
 
@@ -2023,15 +2023,15 @@ class ConversationsApi {
2023
2023
  */
2024
2024
  getConversationsMessageCommunicationMessagesMediaMediaId(conversationId, communicationId, mediaId) {
2025
2025
  // verify the required parameter 'conversationId' is set
2026
- if (conversationId === undefined || conversationId === null) {
2026
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
2027
2027
  throw 'Missing the required parameter "conversationId" when calling getConversationsMessageCommunicationMessagesMediaMediaId';
2028
2028
  }
2029
2029
  // verify the required parameter 'communicationId' is set
2030
- if (communicationId === undefined || communicationId === null) {
2030
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
2031
2031
  throw 'Missing the required parameter "communicationId" when calling getConversationsMessageCommunicationMessagesMediaMediaId';
2032
2032
  }
2033
2033
  // verify the required parameter 'mediaId' is set
2034
- if (mediaId === undefined || mediaId === null) {
2034
+ if (mediaId === undefined || mediaId === null || mediaId === '') {
2035
2035
  throw 'Missing the required parameter "mediaId" when calling getConversationsMessageCommunicationMessagesMediaMediaId';
2036
2036
  }
2037
2037
 
@@ -2060,7 +2060,7 @@ class ConversationsApi {
2060
2060
  opts = opts || {};
2061
2061
 
2062
2062
  // verify the required parameter 'messageId' is set
2063
- if (messageId === undefined || messageId === null) {
2063
+ if (messageId === undefined || messageId === null || messageId === '') {
2064
2064
  throw 'Missing the required parameter "messageId" when calling getConversationsMessageDetails';
2065
2065
  }
2066
2066
 
@@ -2090,11 +2090,11 @@ class ConversationsApi {
2090
2090
  opts = opts || {};
2091
2091
 
2092
2092
  // verify the required parameter 'conversationId' is set
2093
- if (conversationId === undefined || conversationId === null) {
2093
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
2094
2094
  throw 'Missing the required parameter "conversationId" when calling getConversationsMessageMessage';
2095
2095
  }
2096
2096
  // verify the required parameter 'messageId' is set
2097
- if (messageId === undefined || messageId === null) {
2097
+ if (messageId === undefined || messageId === null || messageId === '') {
2098
2098
  throw 'Missing the required parameter "messageId" when calling getConversationsMessageMessage';
2099
2099
  }
2100
2100
 
@@ -2125,15 +2125,15 @@ class ConversationsApi {
2125
2125
  opts = opts || {};
2126
2126
 
2127
2127
  // verify the required parameter 'conversationId' is set
2128
- if (conversationId === undefined || conversationId === null) {
2128
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
2129
2129
  throw 'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantCommunicationWrapup';
2130
2130
  }
2131
2131
  // verify the required parameter 'participantId' is set
2132
- if (participantId === undefined || participantId === null) {
2132
+ if (participantId === undefined || participantId === null || participantId === '') {
2133
2133
  throw 'Missing the required parameter "participantId" when calling getConversationsMessageParticipantCommunicationWrapup';
2134
2134
  }
2135
2135
  // verify the required parameter 'communicationId' is set
2136
- if (communicationId === undefined || communicationId === null) {
2136
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
2137
2137
  throw 'Missing the required parameter "communicationId" when calling getConversationsMessageParticipantCommunicationWrapup';
2138
2138
  }
2139
2139
 
@@ -2163,11 +2163,11 @@ class ConversationsApi {
2163
2163
  opts = opts || {};
2164
2164
 
2165
2165
  // verify the required parameter 'conversationId' is set
2166
- if (conversationId === undefined || conversationId === null) {
2166
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
2167
2167
  throw 'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantWrapup';
2168
2168
  }
2169
2169
  // verify the required parameter 'participantId' is set
2170
- if (participantId === undefined || participantId === null) {
2170
+ if (participantId === undefined || participantId === null || participantId === '') {
2171
2171
  throw 'Missing the required parameter "participantId" when calling getConversationsMessageParticipantWrapup';
2172
2172
  }
2173
2173
 
@@ -2193,11 +2193,11 @@ class ConversationsApi {
2193
2193
  */
2194
2194
  getConversationsMessageParticipantWrapupcodes(conversationId, participantId) {
2195
2195
  // verify the required parameter 'conversationId' is set
2196
- if (conversationId === undefined || conversationId === null) {
2196
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
2197
2197
  throw 'Missing the required parameter "conversationId" when calling getConversationsMessageParticipantWrapupcodes';
2198
2198
  }
2199
2199
  // verify the required parameter 'participantId' is set
2200
- if (participantId === undefined || participantId === null) {
2200
+ if (participantId === undefined || participantId === null || participantId === '') {
2201
2201
  throw 'Missing the required parameter "participantId" when calling getConversationsMessageParticipantWrapupcodes';
2202
2202
  }
2203
2203
 
@@ -2268,7 +2268,7 @@ class ConversationsApi {
2268
2268
  */
2269
2269
  getConversationsMessagesCachedmediaCachedMediaItemId(cachedMediaItemId) {
2270
2270
  // verify the required parameter 'cachedMediaItemId' is set
2271
- if (cachedMediaItemId === undefined || cachedMediaItemId === null) {
2271
+ if (cachedMediaItemId === undefined || cachedMediaItemId === null || cachedMediaItemId === '') {
2272
2272
  throw 'Missing the required parameter "cachedMediaItemId" when calling getConversationsMessagesCachedmediaCachedMediaItemId';
2273
2273
  }
2274
2274
 
@@ -2334,7 +2334,7 @@ class ConversationsApi {
2334
2334
  */
2335
2335
  getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId) {
2336
2336
  // verify the required parameter 'integrationId' is set
2337
- if (integrationId === undefined || integrationId === null) {
2337
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
2338
2338
  throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';
2339
2339
  }
2340
2340
 
@@ -2359,7 +2359,7 @@ class ConversationsApi {
2359
2359
  */
2360
2360
  getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(integrationId) {
2361
2361
  // verify the required parameter 'integrationId' is set
2362
- if (integrationId === undefined || integrationId === null) {
2362
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
2363
2363
  throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';
2364
2364
  }
2365
2365
 
@@ -2384,7 +2384,7 @@ class ConversationsApi {
2384
2384
  */
2385
2385
  getConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId(integrationId) {
2386
2386
  // verify the required parameter 'integrationId' is set
2387
- if (integrationId === undefined || integrationId === null) {
2387
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
2388
2388
  throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';
2389
2389
  }
2390
2390
 
@@ -2409,7 +2409,7 @@ class ConversationsApi {
2409
2409
  */
2410
2410
  getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(integrationId) {
2411
2411
  // verify the required parameter 'integrationId' is set
2412
- if (integrationId === undefined || integrationId === null) {
2412
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
2413
2413
  throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';
2414
2414
  }
2415
2415
 
@@ -2434,7 +2434,7 @@ class ConversationsApi {
2434
2434
  */
2435
2435
  getConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId(integrationId) {
2436
2436
  // verify the required parameter 'integrationId' is set
2437
- if (integrationId === undefined || integrationId === null) {
2437
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
2438
2438
  throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId';
2439
2439
  }
2440
2440
 
@@ -2459,7 +2459,7 @@ class ConversationsApi {
2459
2459
  */
2460
2460
  getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId) {
2461
2461
  // verify the required parameter 'integrationId' is set
2462
- if (integrationId === undefined || integrationId === null) {
2462
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
2463
2463
  throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';
2464
2464
  }
2465
2465
 
@@ -2484,7 +2484,7 @@ class ConversationsApi {
2484
2484
  */
2485
2485
  getConversationsMessagingIntegrationTwitterOauthSettings(integrationId) {
2486
2486
  // verify the required parameter 'integrationId' is set
2487
- if (integrationId === undefined || integrationId === null) {
2487
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
2488
2488
  throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationTwitterOauthSettings';
2489
2489
  }
2490
2490
 
@@ -2569,7 +2569,7 @@ class ConversationsApi {
2569
2569
  opts = opts || {};
2570
2570
 
2571
2571
  // verify the required parameter 'integrationId' is set
2572
- if (integrationId === undefined || integrationId === null) {
2572
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
2573
2573
  throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsFacebookIntegrationId';
2574
2574
  }
2575
2575
 
@@ -2626,7 +2626,7 @@ class ConversationsApi {
2626
2626
  opts = opts || {};
2627
2627
 
2628
2628
  // verify the required parameter 'integrationId' is set
2629
- if (integrationId === undefined || integrationId === null) {
2629
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
2630
2630
  throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsInstagramIntegrationId';
2631
2631
  }
2632
2632
 
@@ -2683,7 +2683,7 @@ class ConversationsApi {
2683
2683
  opts = opts || {};
2684
2684
 
2685
2685
  // verify the required parameter 'integrationId' is set
2686
- if (integrationId === undefined || integrationId === null) {
2686
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
2687
2687
  throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsOpenIntegrationId';
2688
2688
  }
2689
2689
 
@@ -2740,7 +2740,7 @@ class ConversationsApi {
2740
2740
  opts = opts || {};
2741
2741
 
2742
2742
  // verify the required parameter 'integrationId' is set
2743
- if (integrationId === undefined || integrationId === null) {
2743
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
2744
2744
  throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsTwitterIntegrationId';
2745
2745
  }
2746
2746
 
@@ -2817,7 +2817,7 @@ class ConversationsApi {
2817
2817
  opts = opts || {};
2818
2818
 
2819
2819
  // verify the required parameter 'integrationId' is set
2820
- if (integrationId === undefined || integrationId === null) {
2820
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
2821
2821
  throw 'Missing the required parameter "integrationId" when calling getConversationsMessagingIntegrationsWhatsappIntegrationId';
2822
2822
  }
2823
2823
 
@@ -2842,7 +2842,7 @@ class ConversationsApi {
2842
2842
  */
2843
2843
  getConversationsMessagingSetting(messageSettingId) {
2844
2844
  // verify the required parameter 'messageSettingId' is set
2845
- if (messageSettingId === undefined || messageSettingId === null) {
2845
+ if (messageSettingId === undefined || messageSettingId === null || messageSettingId === '') {
2846
2846
  throw 'Missing the required parameter "messageSettingId" when calling getConversationsMessagingSetting';
2847
2847
  }
2848
2848
 
@@ -2957,7 +2957,7 @@ class ConversationsApi {
2957
2957
  */
2958
2958
  getConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
2959
2959
  // verify the required parameter 'supportedContentId' is set
2960
- if (supportedContentId === undefined || supportedContentId === null) {
2960
+ if (supportedContentId === undefined || supportedContentId === null || supportedContentId === '') {
2961
2961
  throw 'Missing the required parameter "supportedContentId" when calling getConversationsMessagingSupportedcontentSupportedContentId';
2962
2962
  }
2963
2963
 
@@ -3009,15 +3009,15 @@ class ConversationsApi {
3009
3009
  opts = opts || {};
3010
3010
 
3011
3011
  // verify the required parameter 'conversationId' is set
3012
- if (conversationId === undefined || conversationId === null) {
3012
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3013
3013
  throw 'Missing the required parameter "conversationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
3014
3014
  }
3015
3015
  // verify the required parameter 'participantId' is set
3016
- if (participantId === undefined || participantId === null) {
3016
+ if (participantId === undefined || participantId === null || participantId === '') {
3017
3017
  throw 'Missing the required parameter "participantId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
3018
3018
  }
3019
3019
  // verify the required parameter 'communicationId' is set
3020
- if (communicationId === undefined || communicationId === null) {
3020
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
3021
3021
  throw 'Missing the required parameter "communicationId" when calling getConversationsScreenshareParticipantCommunicationWrapup';
3022
3022
  }
3023
3023
 
@@ -3068,15 +3068,15 @@ class ConversationsApi {
3068
3068
  opts = opts || {};
3069
3069
 
3070
3070
  // verify the required parameter 'conversationId' is set
3071
- if (conversationId === undefined || conversationId === null) {
3071
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3072
3072
  throw 'Missing the required parameter "conversationId" when calling getConversationsSocialParticipantCommunicationWrapup';
3073
3073
  }
3074
3074
  // verify the required parameter 'participantId' is set
3075
- if (participantId === undefined || participantId === null) {
3075
+ if (participantId === undefined || participantId === null || participantId === '') {
3076
3076
  throw 'Missing the required parameter "participantId" when calling getConversationsSocialParticipantCommunicationWrapup';
3077
3077
  }
3078
3078
  // verify the required parameter 'communicationId' is set
3079
- if (communicationId === undefined || communicationId === null) {
3079
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
3080
3080
  throw 'Missing the required parameter "communicationId" when calling getConversationsSocialParticipantCommunicationWrapup';
3081
3081
  }
3082
3082
 
@@ -3102,7 +3102,7 @@ class ConversationsApi {
3102
3102
  */
3103
3103
  getConversationsVideoDetails(conferenceId) {
3104
3104
  // verify the required parameter 'conferenceId' is set
3105
- if (conferenceId === undefined || conferenceId === null) {
3105
+ if (conferenceId === undefined || conferenceId === null || conferenceId === '') {
3106
3106
  throw 'Missing the required parameter "conferenceId" when calling getConversationsVideoDetails';
3107
3107
  }
3108
3108
 
@@ -3133,15 +3133,15 @@ class ConversationsApi {
3133
3133
  opts = opts || {};
3134
3134
 
3135
3135
  // verify the required parameter 'conversationId' is set
3136
- if (conversationId === undefined || conversationId === null) {
3136
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3137
3137
  throw 'Missing the required parameter "conversationId" when calling getConversationsVideoParticipantCommunicationWrapup';
3138
3138
  }
3139
3139
  // verify the required parameter 'participantId' is set
3140
- if (participantId === undefined || participantId === null) {
3140
+ if (participantId === undefined || participantId === null || participantId === '') {
3141
3141
  throw 'Missing the required parameter "participantId" when calling getConversationsVideoParticipantCommunicationWrapup';
3142
3142
  }
3143
3143
  // verify the required parameter 'communicationId' is set
3144
- if (communicationId === undefined || communicationId === null) {
3144
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
3145
3145
  throw 'Missing the required parameter "communicationId" when calling getConversationsVideoParticipantCommunicationWrapup';
3146
3146
  }
3147
3147
 
@@ -3167,7 +3167,7 @@ class ConversationsApi {
3167
3167
  */
3168
3168
  getConversationsVideosMeeting(meetingId) {
3169
3169
  // verify the required parameter 'meetingId' is set
3170
- if (meetingId === undefined || meetingId === null) {
3170
+ if (meetingId === undefined || meetingId === null || meetingId === '') {
3171
3171
  throw 'Missing the required parameter "meetingId" when calling getConversationsVideosMeeting';
3172
3172
  }
3173
3173
 
@@ -3194,11 +3194,11 @@ class ConversationsApi {
3194
3194
  */
3195
3195
  patchConversationParticipant(conversationId, participantId, body) {
3196
3196
  // verify the required parameter 'conversationId' is set
3197
- if (conversationId === undefined || conversationId === null) {
3197
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3198
3198
  throw 'Missing the required parameter "conversationId" when calling patchConversationParticipant';
3199
3199
  }
3200
3200
  // verify the required parameter 'participantId' is set
3201
- if (participantId === undefined || participantId === null) {
3201
+ if (participantId === undefined || participantId === null || participantId === '') {
3202
3202
  throw 'Missing the required parameter "participantId" when calling patchConversationParticipant';
3203
3203
  }
3204
3204
  // verify the required parameter 'body' is set
@@ -3229,11 +3229,11 @@ class ConversationsApi {
3229
3229
  */
3230
3230
  patchConversationParticipantAttributes(conversationId, participantId, body) {
3231
3231
  // verify the required parameter 'conversationId' is set
3232
- if (conversationId === undefined || conversationId === null) {
3232
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3233
3233
  throw 'Missing the required parameter "conversationId" when calling patchConversationParticipantAttributes';
3234
3234
  }
3235
3235
  // verify the required parameter 'participantId' is set
3236
- if (participantId === undefined || participantId === null) {
3236
+ if (participantId === undefined || participantId === null || participantId === '') {
3237
3237
  throw 'Missing the required parameter "participantId" when calling patchConversationParticipantAttributes';
3238
3238
  }
3239
3239
  // verify the required parameter 'body' is set
@@ -3263,7 +3263,7 @@ class ConversationsApi {
3263
3263
  */
3264
3264
  patchConversationSecureattributes(conversationId, body) {
3265
3265
  // verify the required parameter 'conversationId' is set
3266
- if (conversationId === undefined || conversationId === null) {
3266
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3267
3267
  throw 'Missing the required parameter "conversationId" when calling patchConversationSecureattributes';
3268
3268
  }
3269
3269
  // verify the required parameter 'body' is set
@@ -3297,11 +3297,11 @@ class ConversationsApi {
3297
3297
  opts = opts || {};
3298
3298
 
3299
3299
  // verify the required parameter 'conversationId' is set
3300
- if (conversationId === undefined || conversationId === null) {
3300
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3301
3301
  throw 'Missing the required parameter "conversationId" when calling patchConversationSummaryEngagements';
3302
3302
  }
3303
3303
  // verify the required parameter 'summaryId' is set
3304
- if (summaryId === undefined || summaryId === null) {
3304
+ if (summaryId === undefined || summaryId === null || summaryId === '') {
3305
3305
  throw 'Missing the required parameter "summaryId" when calling patchConversationSummaryEngagements';
3306
3306
  }
3307
3307
 
@@ -3331,11 +3331,11 @@ class ConversationsApi {
3331
3331
  opts = opts || {};
3332
3332
 
3333
3333
  // verify the required parameter 'conversationId' is set
3334
- if (conversationId === undefined || conversationId === null) {
3334
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3335
3335
  throw 'Missing the required parameter "conversationId" when calling patchConversationSummaryFeedback';
3336
3336
  }
3337
3337
  // verify the required parameter 'summaryId' is set
3338
- if (summaryId === undefined || summaryId === null) {
3338
+ if (summaryId === undefined || summaryId === null || summaryId === '') {
3339
3339
  throw 'Missing the required parameter "summaryId" when calling patchConversationSummaryFeedback';
3340
3340
  }
3341
3341
 
@@ -3361,7 +3361,7 @@ class ConversationsApi {
3361
3361
  */
3362
3362
  patchConversationUtilizationlabel(conversationId, body) {
3363
3363
  // verify the required parameter 'conversationId' is set
3364
- if (conversationId === undefined || conversationId === null) {
3364
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3365
3365
  throw 'Missing the required parameter "conversationId" when calling patchConversationUtilizationlabel';
3366
3366
  }
3367
3367
  // verify the required parameter 'body' is set
@@ -3393,15 +3393,15 @@ class ConversationsApi {
3393
3393
  */
3394
3394
  patchConversationsAftercallworkConversationIdParticipantCommunication(conversationId, participantId, communicationId, body) {
3395
3395
  // verify the required parameter 'conversationId' is set
3396
- if (conversationId === undefined || conversationId === null) {
3396
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3397
3397
  throw 'Missing the required parameter "conversationId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
3398
3398
  }
3399
3399
  // verify the required parameter 'participantId' is set
3400
- if (participantId === undefined || participantId === null) {
3400
+ if (participantId === undefined || participantId === null || participantId === '') {
3401
3401
  throw 'Missing the required parameter "participantId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
3402
3402
  }
3403
3403
  // verify the required parameter 'communicationId' is set
3404
- if (communicationId === undefined || communicationId === null) {
3404
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
3405
3405
  throw 'Missing the required parameter "communicationId" when calling patchConversationsAftercallworkConversationIdParticipantCommunication';
3406
3406
  }
3407
3407
  // verify the required parameter 'body' is set
@@ -3431,7 +3431,7 @@ class ConversationsApi {
3431
3431
  */
3432
3432
  patchConversationsCall(conversationId, body) {
3433
3433
  // verify the required parameter 'conversationId' is set
3434
- if (conversationId === undefined || conversationId === null) {
3434
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3435
3435
  throw 'Missing the required parameter "conversationId" when calling patchConversationsCall';
3436
3436
  }
3437
3437
  // verify the required parameter 'body' is set
@@ -3462,11 +3462,11 @@ class ConversationsApi {
3462
3462
  */
3463
3463
  patchConversationsCallParticipant(conversationId, participantId, body) {
3464
3464
  // verify the required parameter 'conversationId' is set
3465
- if (conversationId === undefined || conversationId === null) {
3465
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3466
3466
  throw 'Missing the required parameter "conversationId" when calling patchConversationsCallParticipant';
3467
3467
  }
3468
3468
  // verify the required parameter 'participantId' is set
3469
- if (participantId === undefined || participantId === null) {
3469
+ if (participantId === undefined || participantId === null || participantId === '') {
3470
3470
  throw 'Missing the required parameter "participantId" when calling patchConversationsCallParticipant';
3471
3471
  }
3472
3472
  // verify the required parameter 'body' is set
@@ -3497,11 +3497,11 @@ class ConversationsApi {
3497
3497
  */
3498
3498
  patchConversationsCallParticipantAttributes(conversationId, participantId, body) {
3499
3499
  // verify the required parameter 'conversationId' is set
3500
- if (conversationId === undefined || conversationId === null) {
3500
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3501
3501
  throw 'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantAttributes';
3502
3502
  }
3503
3503
  // verify the required parameter 'participantId' is set
3504
- if (participantId === undefined || participantId === null) {
3504
+ if (participantId === undefined || participantId === null || participantId === '') {
3505
3505
  throw 'Missing the required parameter "participantId" when calling patchConversationsCallParticipantAttributes';
3506
3506
  }
3507
3507
  // verify the required parameter 'body' is set
@@ -3533,15 +3533,15 @@ class ConversationsApi {
3533
3533
  */
3534
3534
  patchConversationsCallParticipantCommunication(conversationId, participantId, communicationId, body) {
3535
3535
  // verify the required parameter 'conversationId' is set
3536
- if (conversationId === undefined || conversationId === null) {
3536
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3537
3537
  throw 'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantCommunication';
3538
3538
  }
3539
3539
  // verify the required parameter 'participantId' is set
3540
- if (participantId === undefined || participantId === null) {
3540
+ if (participantId === undefined || participantId === null || participantId === '') {
3541
3541
  throw 'Missing the required parameter "participantId" when calling patchConversationsCallParticipantCommunication';
3542
3542
  }
3543
3543
  // verify the required parameter 'communicationId' is set
3544
- if (communicationId === undefined || communicationId === null) {
3544
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
3545
3545
  throw 'Missing the required parameter "communicationId" when calling patchConversationsCallParticipantCommunication';
3546
3546
  }
3547
3547
  // verify the required parameter 'body' is set
@@ -3572,11 +3572,11 @@ class ConversationsApi {
3572
3572
  */
3573
3573
  patchConversationsCallParticipantConsult(conversationId, participantId, body) {
3574
3574
  // verify the required parameter 'conversationId' is set
3575
- if (conversationId === undefined || conversationId === null) {
3575
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3576
3576
  throw 'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantConsult';
3577
3577
  }
3578
3578
  // verify the required parameter 'participantId' is set
3579
- if (participantId === undefined || participantId === null) {
3579
+ if (participantId === undefined || participantId === null || participantId === '') {
3580
3580
  throw 'Missing the required parameter "participantId" when calling patchConversationsCallParticipantConsult';
3581
3581
  }
3582
3582
  // verify the required parameter 'body' is set
@@ -3606,7 +3606,7 @@ class ConversationsApi {
3606
3606
  */
3607
3607
  patchConversationsCallback(conversationId, body) {
3608
3608
  // verify the required parameter 'conversationId' is set
3609
- if (conversationId === undefined || conversationId === null) {
3609
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3610
3610
  throw 'Missing the required parameter "conversationId" when calling patchConversationsCallback';
3611
3611
  }
3612
3612
  // verify the required parameter 'body' is set
@@ -3637,11 +3637,11 @@ class ConversationsApi {
3637
3637
  */
3638
3638
  patchConversationsCallbackParticipant(conversationId, participantId, body) {
3639
3639
  // verify the required parameter 'conversationId' is set
3640
- if (conversationId === undefined || conversationId === null) {
3640
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3641
3641
  throw 'Missing the required parameter "conversationId" when calling patchConversationsCallbackParticipant';
3642
3642
  }
3643
3643
  // verify the required parameter 'participantId' is set
3644
- if (participantId === undefined || participantId === null) {
3644
+ if (participantId === undefined || participantId === null || participantId === '') {
3645
3645
  throw 'Missing the required parameter "participantId" when calling patchConversationsCallbackParticipant';
3646
3646
  }
3647
3647
  // verify the required parameter 'body' is set
@@ -3672,11 +3672,11 @@ class ConversationsApi {
3672
3672
  */
3673
3673
  patchConversationsCallbackParticipantAttributes(conversationId, participantId, body) {
3674
3674
  // verify the required parameter 'conversationId' is set
3675
- if (conversationId === undefined || conversationId === null) {
3675
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3676
3676
  throw 'Missing the required parameter "conversationId" when calling patchConversationsCallbackParticipantAttributes';
3677
3677
  }
3678
3678
  // verify the required parameter 'participantId' is set
3679
- if (participantId === undefined || participantId === null) {
3679
+ if (participantId === undefined || participantId === null || participantId === '') {
3680
3680
  throw 'Missing the required parameter "participantId" when calling patchConversationsCallbackParticipantAttributes';
3681
3681
  }
3682
3682
  // verify the required parameter 'body' is set
@@ -3708,15 +3708,15 @@ class ConversationsApi {
3708
3708
  */
3709
3709
  patchConversationsCallbackParticipantCommunication(conversationId, participantId, communicationId, body) {
3710
3710
  // verify the required parameter 'conversationId' is set
3711
- if (conversationId === undefined || conversationId === null) {
3711
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3712
3712
  throw 'Missing the required parameter "conversationId" when calling patchConversationsCallbackParticipantCommunication';
3713
3713
  }
3714
3714
  // verify the required parameter 'participantId' is set
3715
- if (participantId === undefined || participantId === null) {
3715
+ if (participantId === undefined || participantId === null || participantId === '') {
3716
3716
  throw 'Missing the required parameter "participantId" when calling patchConversationsCallbackParticipantCommunication';
3717
3717
  }
3718
3718
  // verify the required parameter 'communicationId' is set
3719
- if (communicationId === undefined || communicationId === null) {
3719
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
3720
3720
  throw 'Missing the required parameter "communicationId" when calling patchConversationsCallbackParticipantCommunication';
3721
3721
  }
3722
3722
  // verify the required parameter 'body' is set
@@ -3772,7 +3772,7 @@ class ConversationsApi {
3772
3772
  */
3773
3773
  patchConversationsChat(conversationId, body) {
3774
3774
  // verify the required parameter 'conversationId' is set
3775
- if (conversationId === undefined || conversationId === null) {
3775
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3776
3776
  throw 'Missing the required parameter "conversationId" when calling patchConversationsChat';
3777
3777
  }
3778
3778
  // verify the required parameter 'body' is set
@@ -3804,11 +3804,11 @@ class ConversationsApi {
3804
3804
  */
3805
3805
  patchConversationsChatParticipant(conversationId, participantId, body) {
3806
3806
  // verify the required parameter 'conversationId' is set
3807
- if (conversationId === undefined || conversationId === null) {
3807
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3808
3808
  throw 'Missing the required parameter "conversationId" when calling patchConversationsChatParticipant';
3809
3809
  }
3810
3810
  // verify the required parameter 'participantId' is set
3811
- if (participantId === undefined || participantId === null) {
3811
+ if (participantId === undefined || participantId === null || participantId === '') {
3812
3812
  throw 'Missing the required parameter "participantId" when calling patchConversationsChatParticipant';
3813
3813
  }
3814
3814
  // verify the required parameter 'body' is set
@@ -3840,11 +3840,11 @@ class ConversationsApi {
3840
3840
  */
3841
3841
  patchConversationsChatParticipantAttributes(conversationId, participantId, body) {
3842
3842
  // verify the required parameter 'conversationId' is set
3843
- if (conversationId === undefined || conversationId === null) {
3843
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3844
3844
  throw 'Missing the required parameter "conversationId" when calling patchConversationsChatParticipantAttributes';
3845
3845
  }
3846
3846
  // verify the required parameter 'participantId' is set
3847
- if (participantId === undefined || participantId === null) {
3847
+ if (participantId === undefined || participantId === null || participantId === '') {
3848
3848
  throw 'Missing the required parameter "participantId" when calling patchConversationsChatParticipantAttributes';
3849
3849
  }
3850
3850
  // verify the required parameter 'body' is set
@@ -3877,15 +3877,15 @@ class ConversationsApi {
3877
3877
  */
3878
3878
  patchConversationsChatParticipantCommunication(conversationId, participantId, communicationId, body) {
3879
3879
  // verify the required parameter 'conversationId' is set
3880
- if (conversationId === undefined || conversationId === null) {
3880
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3881
3881
  throw 'Missing the required parameter "conversationId" when calling patchConversationsChatParticipantCommunication';
3882
3882
  }
3883
3883
  // verify the required parameter 'participantId' is set
3884
- if (participantId === undefined || participantId === null) {
3884
+ if (participantId === undefined || participantId === null || participantId === '') {
3885
3885
  throw 'Missing the required parameter "participantId" when calling patchConversationsChatParticipantCommunication';
3886
3886
  }
3887
3887
  // verify the required parameter 'communicationId' is set
3888
- if (communicationId === undefined || communicationId === null) {
3888
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
3889
3889
  throw 'Missing the required parameter "communicationId" when calling patchConversationsChatParticipantCommunication';
3890
3890
  }
3891
3891
  // verify the required parameter 'body' is set
@@ -3916,7 +3916,7 @@ class ConversationsApi {
3916
3916
  */
3917
3917
  patchConversationsCobrowsesession(conversationId, body) {
3918
3918
  // verify the required parameter 'conversationId' is set
3919
- if (conversationId === undefined || conversationId === null) {
3919
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3920
3920
  throw 'Missing the required parameter "conversationId" when calling patchConversationsCobrowsesession';
3921
3921
  }
3922
3922
  // verify the required parameter 'body' is set
@@ -3951,11 +3951,11 @@ class ConversationsApi {
3951
3951
  opts = opts || {};
3952
3952
 
3953
3953
  // verify the required parameter 'conversationId' is set
3954
- if (conversationId === undefined || conversationId === null) {
3954
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3955
3955
  throw 'Missing the required parameter "conversationId" when calling patchConversationsCobrowsesessionParticipant';
3956
3956
  }
3957
3957
  // verify the required parameter 'participantId' is set
3958
- if (participantId === undefined || participantId === null) {
3958
+ if (participantId === undefined || participantId === null || participantId === '') {
3959
3959
  throw 'Missing the required parameter "participantId" when calling patchConversationsCobrowsesessionParticipant';
3960
3960
  }
3961
3961
 
@@ -3986,11 +3986,11 @@ class ConversationsApi {
3986
3986
  opts = opts || {};
3987
3987
 
3988
3988
  // verify the required parameter 'conversationId' is set
3989
- if (conversationId === undefined || conversationId === null) {
3989
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
3990
3990
  throw 'Missing the required parameter "conversationId" when calling patchConversationsCobrowsesessionParticipantAttributes';
3991
3991
  }
3992
3992
  // verify the required parameter 'participantId' is set
3993
- if (participantId === undefined || participantId === null) {
3993
+ if (participantId === undefined || participantId === null || participantId === '') {
3994
3994
  throw 'Missing the required parameter "participantId" when calling patchConversationsCobrowsesessionParticipantAttributes';
3995
3995
  }
3996
3996
 
@@ -4019,15 +4019,15 @@ class ConversationsApi {
4019
4019
  */
4020
4020
  patchConversationsCobrowsesessionParticipantCommunication(conversationId, participantId, communicationId, body) {
4021
4021
  // verify the required parameter 'conversationId' is set
4022
- if (conversationId === undefined || conversationId === null) {
4022
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
4023
4023
  throw 'Missing the required parameter "conversationId" when calling patchConversationsCobrowsesessionParticipantCommunication';
4024
4024
  }
4025
4025
  // verify the required parameter 'participantId' is set
4026
- if (participantId === undefined || participantId === null) {
4026
+ if (participantId === undefined || participantId === null || participantId === '') {
4027
4027
  throw 'Missing the required parameter "participantId" when calling patchConversationsCobrowsesessionParticipantCommunication';
4028
4028
  }
4029
4029
  // verify the required parameter 'communicationId' is set
4030
- if (communicationId === undefined || communicationId === null) {
4030
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
4031
4031
  throw 'Missing the required parameter "communicationId" when calling patchConversationsCobrowsesessionParticipantCommunication';
4032
4032
  }
4033
4033
  // verify the required parameter 'body' is set
@@ -4057,7 +4057,7 @@ class ConversationsApi {
4057
4057
  */
4058
4058
  patchConversationsEmail(conversationId, body) {
4059
4059
  // verify the required parameter 'conversationId' is set
4060
- if (conversationId === undefined || conversationId === null) {
4060
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
4061
4061
  throw 'Missing the required parameter "conversationId" when calling patchConversationsEmail';
4062
4062
  }
4063
4063
  // verify the required parameter 'body' is set
@@ -4092,7 +4092,7 @@ class ConversationsApi {
4092
4092
  opts = opts || {};
4093
4093
 
4094
4094
  // verify the required parameter 'conversationId' is set
4095
- if (conversationId === undefined || conversationId === null) {
4095
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
4096
4096
  throw 'Missing the required parameter "conversationId" when calling patchConversationsEmailMessagesDraft';
4097
4097
  }
4098
4098
 
@@ -4119,11 +4119,11 @@ class ConversationsApi {
4119
4119
  */
4120
4120
  patchConversationsEmailParticipant(conversationId, participantId, body) {
4121
4121
  // verify the required parameter 'conversationId' is set
4122
- if (conversationId === undefined || conversationId === null) {
4122
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
4123
4123
  throw 'Missing the required parameter "conversationId" when calling patchConversationsEmailParticipant';
4124
4124
  }
4125
4125
  // verify the required parameter 'participantId' is set
4126
- if (participantId === undefined || participantId === null) {
4126
+ if (participantId === undefined || participantId === null || participantId === '') {
4127
4127
  throw 'Missing the required parameter "participantId" when calling patchConversationsEmailParticipant';
4128
4128
  }
4129
4129
  // verify the required parameter 'body' is set
@@ -4154,11 +4154,11 @@ class ConversationsApi {
4154
4154
  */
4155
4155
  patchConversationsEmailParticipantAttributes(conversationId, participantId, body) {
4156
4156
  // verify the required parameter 'conversationId' is set
4157
- if (conversationId === undefined || conversationId === null) {
4157
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
4158
4158
  throw 'Missing the required parameter "conversationId" when calling patchConversationsEmailParticipantAttributes';
4159
4159
  }
4160
4160
  // verify the required parameter 'participantId' is set
4161
- if (participantId === undefined || participantId === null) {
4161
+ if (participantId === undefined || participantId === null || participantId === '') {
4162
4162
  throw 'Missing the required parameter "participantId" when calling patchConversationsEmailParticipantAttributes';
4163
4163
  }
4164
4164
  // verify the required parameter 'body' is set
@@ -4190,15 +4190,15 @@ class ConversationsApi {
4190
4190
  */
4191
4191
  patchConversationsEmailParticipantCommunication(conversationId, participantId, communicationId, body) {
4192
4192
  // verify the required parameter 'conversationId' is set
4193
- if (conversationId === undefined || conversationId === null) {
4193
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
4194
4194
  throw 'Missing the required parameter "conversationId" when calling patchConversationsEmailParticipantCommunication';
4195
4195
  }
4196
4196
  // verify the required parameter 'participantId' is set
4197
- if (participantId === undefined || participantId === null) {
4197
+ if (participantId === undefined || participantId === null || participantId === '') {
4198
4198
  throw 'Missing the required parameter "participantId" when calling patchConversationsEmailParticipantCommunication';
4199
4199
  }
4200
4200
  // verify the required parameter 'communicationId' is set
4201
- if (communicationId === undefined || communicationId === null) {
4201
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
4202
4202
  throw 'Missing the required parameter "communicationId" when calling patchConversationsEmailParticipantCommunication';
4203
4203
  }
4204
4204
  // verify the required parameter 'body' is set
@@ -4229,11 +4229,11 @@ class ConversationsApi {
4229
4229
  */
4230
4230
  patchConversationsEmailParticipantParkingstate(conversationId, participantId, body) {
4231
4231
  // verify the required parameter 'conversationId' is set
4232
- if (conversationId === undefined || conversationId === null) {
4232
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
4233
4233
  throw 'Missing the required parameter "conversationId" when calling patchConversationsEmailParticipantParkingstate';
4234
4234
  }
4235
4235
  // verify the required parameter 'participantId' is set
4236
- if (participantId === undefined || participantId === null) {
4236
+ if (participantId === undefined || participantId === null || participantId === '') {
4237
4237
  throw 'Missing the required parameter "participantId" when calling patchConversationsEmailParticipantParkingstate';
4238
4238
  }
4239
4239
  // verify the required parameter 'body' is set
@@ -4263,7 +4263,7 @@ class ConversationsApi {
4263
4263
  */
4264
4264
  patchConversationsMessage(conversationId, body) {
4265
4265
  // verify the required parameter 'conversationId' is set
4266
- if (conversationId === undefined || conversationId === null) {
4266
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
4267
4267
  throw 'Missing the required parameter "conversationId" when calling patchConversationsMessage';
4268
4268
  }
4269
4269
  // verify the required parameter 'body' is set
@@ -4297,11 +4297,11 @@ class ConversationsApi {
4297
4297
  opts = opts || {};
4298
4298
 
4299
4299
  // verify the required parameter 'conversationId' is set
4300
- if (conversationId === undefined || conversationId === null) {
4300
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
4301
4301
  throw 'Missing the required parameter "conversationId" when calling patchConversationsMessageParticipant';
4302
4302
  }
4303
4303
  // verify the required parameter 'participantId' is set
4304
- if (participantId === undefined || participantId === null) {
4304
+ if (participantId === undefined || participantId === null || participantId === '') {
4305
4305
  throw 'Missing the required parameter "participantId" when calling patchConversationsMessageParticipant';
4306
4306
  }
4307
4307
 
@@ -4331,11 +4331,11 @@ class ConversationsApi {
4331
4331
  opts = opts || {};
4332
4332
 
4333
4333
  // verify the required parameter 'conversationId' is set
4334
- if (conversationId === undefined || conversationId === null) {
4334
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
4335
4335
  throw 'Missing the required parameter "conversationId" when calling patchConversationsMessageParticipantAttributes';
4336
4336
  }
4337
4337
  // verify the required parameter 'participantId' is set
4338
- if (participantId === undefined || participantId === null) {
4338
+ if (participantId === undefined || participantId === null || participantId === '') {
4339
4339
  throw 'Missing the required parameter "participantId" when calling patchConversationsMessageParticipantAttributes';
4340
4340
  }
4341
4341
 
@@ -4363,15 +4363,15 @@ class ConversationsApi {
4363
4363
  */
4364
4364
  patchConversationsMessageParticipantCommunication(conversationId, participantId, communicationId, body) {
4365
4365
  // verify the required parameter 'conversationId' is set
4366
- if (conversationId === undefined || conversationId === null) {
4366
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
4367
4367
  throw 'Missing the required parameter "conversationId" when calling patchConversationsMessageParticipantCommunication';
4368
4368
  }
4369
4369
  // verify the required parameter 'participantId' is set
4370
- if (participantId === undefined || participantId === null) {
4370
+ if (participantId === undefined || participantId === null || participantId === '') {
4371
4371
  throw 'Missing the required parameter "participantId" when calling patchConversationsMessageParticipantCommunication';
4372
4372
  }
4373
4373
  // verify the required parameter 'communicationId' is set
4374
- if (communicationId === undefined || communicationId === null) {
4374
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
4375
4375
  throw 'Missing the required parameter "communicationId" when calling patchConversationsMessageParticipantCommunication';
4376
4376
  }
4377
4377
  // verify the required parameter 'body' is set
@@ -4401,7 +4401,7 @@ class ConversationsApi {
4401
4401
  */
4402
4402
  patchConversationsMessagingIntegrationsFacebookIntegrationId(integrationId, body) {
4403
4403
  // verify the required parameter 'integrationId' is set
4404
- if (integrationId === undefined || integrationId === null) {
4404
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
4405
4405
  throw 'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsFacebookIntegrationId';
4406
4406
  }
4407
4407
  // verify the required parameter 'body' is set
@@ -4431,7 +4431,7 @@ class ConversationsApi {
4431
4431
  */
4432
4432
  patchConversationsMessagingIntegrationsInstagramIntegrationId(integrationId, body) {
4433
4433
  // verify the required parameter 'integrationId' is set
4434
- if (integrationId === undefined || integrationId === null) {
4434
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
4435
4435
  throw 'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsInstagramIntegrationId';
4436
4436
  }
4437
4437
  // verify the required parameter 'body' is set
@@ -4461,7 +4461,7 @@ class ConversationsApi {
4461
4461
  */
4462
4462
  patchConversationsMessagingIntegrationsOpenIntegrationId(integrationId, body) {
4463
4463
  // verify the required parameter 'integrationId' is set
4464
- if (integrationId === undefined || integrationId === null) {
4464
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
4465
4465
  throw 'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsOpenIntegrationId';
4466
4466
  }
4467
4467
  // verify the required parameter 'body' is set
@@ -4491,7 +4491,7 @@ class ConversationsApi {
4491
4491
  */
4492
4492
  patchConversationsMessagingIntegrationsTwitterIntegrationId(integrationId, body) {
4493
4493
  // verify the required parameter 'integrationId' is set
4494
- if (integrationId === undefined || integrationId === null) {
4494
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
4495
4495
  throw 'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsTwitterIntegrationId';
4496
4496
  }
4497
4497
  // verify the required parameter 'body' is set
@@ -4521,7 +4521,7 @@ class ConversationsApi {
4521
4521
  */
4522
4522
  patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId(integrationId, body) {
4523
4523
  // verify the required parameter 'integrationId' is set
4524
- if (integrationId === undefined || integrationId === null) {
4524
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
4525
4525
  throw 'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsWhatsappEmbeddedsignupIntegrationId';
4526
4526
  }
4527
4527
  // verify the required parameter 'body' is set
@@ -4551,7 +4551,7 @@ class ConversationsApi {
4551
4551
  */
4552
4552
  patchConversationsMessagingIntegrationsWhatsappIntegrationId(integrationId, body) {
4553
4553
  // verify the required parameter 'integrationId' is set
4554
- if (integrationId === undefined || integrationId === null) {
4554
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
4555
4555
  throw 'Missing the required parameter "integrationId" when calling patchConversationsMessagingIntegrationsWhatsappIntegrationId';
4556
4556
  }
4557
4557
  // verify the required parameter 'body' is set
@@ -4581,7 +4581,7 @@ class ConversationsApi {
4581
4581
  */
4582
4582
  patchConversationsMessagingSetting(messageSettingId, body) {
4583
4583
  // verify the required parameter 'messageSettingId' is set
4584
- if (messageSettingId === undefined || messageSettingId === null) {
4584
+ if (messageSettingId === undefined || messageSettingId === null || messageSettingId === '') {
4585
4585
  throw 'Missing the required parameter "messageSettingId" when calling patchConversationsMessagingSetting';
4586
4586
  }
4587
4587
  // verify the required parameter 'body' is set
@@ -4611,7 +4611,7 @@ class ConversationsApi {
4611
4611
  */
4612
4612
  patchConversationsMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
4613
4613
  // verify the required parameter 'supportedContentId' is set
4614
- if (supportedContentId === undefined || supportedContentId === null) {
4614
+ if (supportedContentId === undefined || supportedContentId === null || supportedContentId === '') {
4615
4615
  throw 'Missing the required parameter "supportedContentId" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
4616
4616
  }
4617
4617
  // verify the required parameter 'body' is set
@@ -4666,7 +4666,7 @@ class ConversationsApi {
4666
4666
  */
4667
4667
  postAnalyticsConversationDetailsProperties(conversationId, body) {
4668
4668
  // verify the required parameter 'conversationId' is set
4669
- if (conversationId === undefined || conversationId === null) {
4669
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
4670
4670
  throw 'Missing the required parameter "conversationId" when calling postAnalyticsConversationDetailsProperties';
4671
4671
  }
4672
4672
  // verify the required parameter 'body' is set
@@ -4827,7 +4827,7 @@ class ConversationsApi {
4827
4827
  */
4828
4828
  postConversationAssign(conversationId, body) {
4829
4829
  // verify the required parameter 'conversationId' is set
4830
- if (conversationId === undefined || conversationId === null) {
4830
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
4831
4831
  throw 'Missing the required parameter "conversationId" when calling postConversationAssign';
4832
4832
  }
4833
4833
  // verify the required parameter 'body' is set
@@ -4856,7 +4856,7 @@ class ConversationsApi {
4856
4856
  */
4857
4857
  postConversationBarge(conversationId) {
4858
4858
  // verify the required parameter 'conversationId' is set
4859
- if (conversationId === undefined || conversationId === null) {
4859
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
4860
4860
  throw 'Missing the required parameter "conversationId" when calling postConversationBarge';
4861
4861
  }
4862
4862
 
@@ -4881,7 +4881,7 @@ class ConversationsApi {
4881
4881
  */
4882
4882
  postConversationCobrowse(conversationId) {
4883
4883
  // verify the required parameter 'conversationId' is set
4884
- if (conversationId === undefined || conversationId === null) {
4884
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
4885
4885
  throw 'Missing the required parameter "conversationId" when calling postConversationCobrowse';
4886
4886
  }
4887
4887
 
@@ -4909,11 +4909,11 @@ class ConversationsApi {
4909
4909
  */
4910
4910
  postConversationCommunicationInternalmessages(conversationId, communicationId, body) {
4911
4911
  // verify the required parameter 'conversationId' is set
4912
- if (conversationId === undefined || conversationId === null) {
4912
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
4913
4913
  throw 'Missing the required parameter "conversationId" when calling postConversationCommunicationInternalmessages';
4914
4914
  }
4915
4915
  // verify the required parameter 'communicationId' is set
4916
- if (communicationId === undefined || communicationId === null) {
4916
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
4917
4917
  throw 'Missing the required parameter "communicationId" when calling postConversationCommunicationInternalmessages';
4918
4918
  }
4919
4919
  // verify the required parameter 'body' is set
@@ -4942,7 +4942,7 @@ class ConversationsApi {
4942
4942
  */
4943
4943
  postConversationDisconnect(conversationId) {
4944
4944
  // verify the required parameter 'conversationId' is set
4945
- if (conversationId === undefined || conversationId === null) {
4945
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
4946
4946
  throw 'Missing the required parameter "conversationId" when calling postConversationDisconnect';
4947
4947
  }
4948
4948
 
@@ -4972,11 +4972,11 @@ class ConversationsApi {
4972
4972
  opts = opts || {};
4973
4973
 
4974
4974
  // verify the required parameter 'conversationId' is set
4975
- if (conversationId === undefined || conversationId === null) {
4975
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
4976
4976
  throw 'Missing the required parameter "conversationId" when calling postConversationParticipantCallbacks';
4977
4977
  }
4978
4978
  // verify the required parameter 'participantId' is set
4979
- if (participantId === undefined || participantId === null) {
4979
+ if (participantId === undefined || participantId === null || participantId === '') {
4980
4980
  throw 'Missing the required parameter "participantId" when calling postConversationParticipantCallbacks';
4981
4981
  }
4982
4982
 
@@ -5006,11 +5006,11 @@ class ConversationsApi {
5006
5006
  opts = opts || {};
5007
5007
 
5008
5008
  // verify the required parameter 'conversationId' is set
5009
- if (conversationId === undefined || conversationId === null) {
5009
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5010
5010
  throw 'Missing the required parameter "conversationId" when calling postConversationParticipantDigits';
5011
5011
  }
5012
5012
  // verify the required parameter 'participantId' is set
5013
- if (participantId === undefined || participantId === null) {
5013
+ if (participantId === undefined || participantId === null || participantId === '') {
5014
5014
  throw 'Missing the required parameter "participantId" when calling postConversationParticipantDigits';
5015
5015
  }
5016
5016
 
@@ -5038,11 +5038,11 @@ class ConversationsApi {
5038
5038
  */
5039
5039
  postConversationParticipantInternalmessagesUsersCommunications(conversationId, participantId, body) {
5040
5040
  // verify the required parameter 'conversationId' is set
5041
- if (conversationId === undefined || conversationId === null) {
5041
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5042
5042
  throw 'Missing the required parameter "conversationId" when calling postConversationParticipantInternalmessagesUsersCommunications';
5043
5043
  }
5044
5044
  // verify the required parameter 'participantId' is set
5045
- if (participantId === undefined || participantId === null) {
5045
+ if (participantId === undefined || participantId === null || participantId === '') {
5046
5046
  throw 'Missing the required parameter "participantId" when calling postConversationParticipantInternalmessagesUsersCommunications';
5047
5047
  }
5048
5048
  // verify the required parameter 'body' is set
@@ -5073,11 +5073,11 @@ class ConversationsApi {
5073
5073
  */
5074
5074
  postConversationParticipantReplace(conversationId, participantId, body) {
5075
5075
  // verify the required parameter 'conversationId' is set
5076
- if (conversationId === undefined || conversationId === null) {
5076
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5077
5077
  throw 'Missing the required parameter "conversationId" when calling postConversationParticipantReplace';
5078
5078
  }
5079
5079
  // verify the required parameter 'participantId' is set
5080
- if (participantId === undefined || participantId === null) {
5080
+ if (participantId === undefined || participantId === null || participantId === '') {
5081
5081
  throw 'Missing the required parameter "participantId" when calling postConversationParticipantReplace';
5082
5082
  }
5083
5083
  // verify the required parameter 'body' is set
@@ -5108,11 +5108,11 @@ class ConversationsApi {
5108
5108
  */
5109
5109
  postConversationParticipantReplaceAgent(conversationId, participantId, body) {
5110
5110
  // verify the required parameter 'conversationId' is set
5111
- if (conversationId === undefined || conversationId === null) {
5111
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5112
5112
  throw 'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceAgent';
5113
5113
  }
5114
5114
  // verify the required parameter 'participantId' is set
5115
- if (participantId === undefined || participantId === null) {
5115
+ if (participantId === undefined || participantId === null || participantId === '') {
5116
5116
  throw 'Missing the required parameter "participantId" when calling postConversationParticipantReplaceAgent';
5117
5117
  }
5118
5118
  // verify the required parameter 'body' is set
@@ -5134,6 +5134,42 @@ class ConversationsApi {
5134
5134
  );
5135
5135
  }
5136
5136
 
5137
+ /**
5138
+ * Replace this participant with the an external contact
5139
+ *
5140
+ * @param {String} conversationId conversation ID
5141
+ * @param {String} participantId participant ID
5142
+ * @param {Object} body Transfer request
5143
+ * postConversationParticipantReplaceContactExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5144
+ */
5145
+ postConversationParticipantReplaceContactExternal(conversationId, participantId, body) {
5146
+ // verify the required parameter 'conversationId' is set
5147
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5148
+ throw 'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceContactExternal';
5149
+ }
5150
+ // verify the required parameter 'participantId' is set
5151
+ if (participantId === undefined || participantId === null || participantId === '') {
5152
+ throw 'Missing the required parameter "participantId" when calling postConversationParticipantReplaceContactExternal';
5153
+ }
5154
+ // verify the required parameter 'body' is set
5155
+ if (body === undefined || body === null) {
5156
+ throw 'Missing the required parameter "body" when calling postConversationParticipantReplaceContactExternal';
5157
+ }
5158
+
5159
+ return this.apiClient.callApi(
5160
+ '/api/v2/conversations/{conversationId}/participants/{participantId}/replace/contact/external',
5161
+ 'POST',
5162
+ { 'conversationId': conversationId,'participantId': participantId },
5163
+ { },
5164
+ { },
5165
+ { },
5166
+ body,
5167
+ ['PureCloud OAuth'],
5168
+ ['application/json'],
5169
+ ['application/json']
5170
+ );
5171
+ }
5172
+
5137
5173
  /**
5138
5174
  * Replace this participant with the an external contact
5139
5175
  *
@@ -5143,11 +5179,11 @@ class ConversationsApi {
5143
5179
  */
5144
5180
  postConversationParticipantReplaceExternal(conversationId, participantId, body) {
5145
5181
  // verify the required parameter 'conversationId' is set
5146
- if (conversationId === undefined || conversationId === null) {
5182
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5147
5183
  throw 'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceExternal';
5148
5184
  }
5149
5185
  // verify the required parameter 'participantId' is set
5150
- if (participantId === undefined || participantId === null) {
5186
+ if (participantId === undefined || participantId === null || participantId === '') {
5151
5187
  throw 'Missing the required parameter "participantId" when calling postConversationParticipantReplaceExternal';
5152
5188
  }
5153
5189
  // verify the required parameter 'body' is set
@@ -5178,11 +5214,11 @@ class ConversationsApi {
5178
5214
  */
5179
5215
  postConversationParticipantReplaceQueue(conversationId, participantId, body) {
5180
5216
  // verify the required parameter 'conversationId' is set
5181
- if (conversationId === undefined || conversationId === null) {
5217
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5182
5218
  throw 'Missing the required parameter "conversationId" when calling postConversationParticipantReplaceQueue';
5183
5219
  }
5184
5220
  // verify the required parameter 'participantId' is set
5185
- if (participantId === undefined || participantId === null) {
5221
+ if (participantId === undefined || participantId === null || participantId === '') {
5186
5222
  throw 'Missing the required parameter "participantId" when calling postConversationParticipantReplaceQueue';
5187
5223
  }
5188
5224
  // verify the required parameter 'body' is set
@@ -5216,11 +5252,11 @@ class ConversationsApi {
5216
5252
  opts = opts || {};
5217
5253
 
5218
5254
  // verify the required parameter 'conversationId' is set
5219
- if (conversationId === undefined || conversationId === null) {
5255
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5220
5256
  throw 'Missing the required parameter "conversationId" when calling postConversationParticipantSecureivrsessions';
5221
5257
  }
5222
5258
  // verify the required parameter 'participantId' is set
5223
- if (participantId === undefined || participantId === null) {
5259
+ if (participantId === undefined || participantId === null || participantId === '') {
5224
5260
  throw 'Missing the required parameter "participantId" when calling postConversationParticipantSecureivrsessions';
5225
5261
  }
5226
5262
 
@@ -5238,6 +5274,42 @@ class ConversationsApi {
5238
5274
  );
5239
5275
  }
5240
5276
 
5277
+ /**
5278
+ * Replace this participant by another one using the address of the destination.
5279
+ *
5280
+ * @param {String} conversationId conversation ID
5281
+ * @param {String} participantId participant ID
5282
+ * @param {Object} body Transfer request
5283
+ * postConversationParticipantTransfer is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5284
+ */
5285
+ postConversationParticipantTransfer(conversationId, participantId, body) {
5286
+ // verify the required parameter 'conversationId' is set
5287
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5288
+ throw 'Missing the required parameter "conversationId" when calling postConversationParticipantTransfer';
5289
+ }
5290
+ // verify the required parameter 'participantId' is set
5291
+ if (participantId === undefined || participantId === null || participantId === '') {
5292
+ throw 'Missing the required parameter "participantId" when calling postConversationParticipantTransfer';
5293
+ }
5294
+ // verify the required parameter 'body' is set
5295
+ if (body === undefined || body === null) {
5296
+ throw 'Missing the required parameter "body" when calling postConversationParticipantTransfer';
5297
+ }
5298
+
5299
+ return this.apiClient.callApi(
5300
+ '/api/v2/conversations/{conversationId}/participants/{participantId}/transfer',
5301
+ 'POST',
5302
+ { 'conversationId': conversationId,'participantId': participantId },
5303
+ { },
5304
+ { },
5305
+ { },
5306
+ body,
5307
+ ['PureCloud OAuth'],
5308
+ ['application/json'],
5309
+ ['application/json']
5310
+ );
5311
+ }
5312
+
5241
5313
  /**
5242
5314
  * Save an engagement on the suggestion.
5243
5315
  *
@@ -5247,11 +5319,11 @@ class ConversationsApi {
5247
5319
  */
5248
5320
  postConversationSuggestionEngagement(conversationId, suggestionId, body) {
5249
5321
  // verify the required parameter 'conversationId' is set
5250
- if (conversationId === undefined || conversationId === null) {
5322
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5251
5323
  throw 'Missing the required parameter "conversationId" when calling postConversationSuggestionEngagement';
5252
5324
  }
5253
5325
  // verify the required parameter 'suggestionId' is set
5254
- if (suggestionId === undefined || suggestionId === null) {
5326
+ if (suggestionId === undefined || suggestionId === null || suggestionId === '') {
5255
5327
  throw 'Missing the required parameter "suggestionId" when calling postConversationSuggestionEngagement';
5256
5328
  }
5257
5329
  // verify the required parameter 'body' is set
@@ -5282,7 +5354,7 @@ class ConversationsApi {
5282
5354
  */
5283
5355
  postConversationSuggestionsFeedback(conversationId, body) {
5284
5356
  // verify the required parameter 'conversationId' is set
5285
- if (conversationId === undefined || conversationId === null) {
5357
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5286
5358
  throw 'Missing the required parameter "conversationId" when calling postConversationSuggestionsFeedback';
5287
5359
  }
5288
5360
  // verify the required parameter 'body' is set
@@ -5316,11 +5388,11 @@ class ConversationsApi {
5316
5388
  opts = opts || {};
5317
5389
 
5318
5390
  // verify the required parameter 'conversationId' is set
5319
- if (conversationId === undefined || conversationId === null) {
5391
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5320
5392
  throw 'Missing the required parameter "conversationId" when calling postConversationSummaryFeedback';
5321
5393
  }
5322
5394
  // verify the required parameter 'summaryId' is set
5323
- if (summaryId === undefined || summaryId === null) {
5395
+ if (summaryId === undefined || summaryId === null || summaryId === '') {
5324
5396
  throw 'Missing the required parameter "summaryId" when calling postConversationSummaryFeedback';
5325
5397
  }
5326
5398
 
@@ -5346,7 +5418,7 @@ class ConversationsApi {
5346
5418
  */
5347
5419
  postConversationsCall(conversationId, body) {
5348
5420
  // verify the required parameter 'conversationId' is set
5349
- if (conversationId === undefined || conversationId === null) {
5421
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5350
5422
  throw 'Missing the required parameter "conversationId" when calling postConversationsCall';
5351
5423
  }
5352
5424
  // verify the required parameter 'body' is set
@@ -5376,11 +5448,11 @@ class ConversationsApi {
5376
5448
  */
5377
5449
  postConversationsCallParticipantBarge(conversationId, participantId) {
5378
5450
  // verify the required parameter 'conversationId' is set
5379
- if (conversationId === undefined || conversationId === null) {
5451
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5380
5452
  throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantBarge';
5381
5453
  }
5382
5454
  // verify the required parameter 'participantId' is set
5383
- if (participantId === undefined || participantId === null) {
5455
+ if (participantId === undefined || participantId === null || participantId === '') {
5384
5456
  throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantBarge';
5385
5457
  }
5386
5458
 
@@ -5406,11 +5478,11 @@ class ConversationsApi {
5406
5478
  */
5407
5479
  postConversationsCallParticipantCoach(conversationId, participantId) {
5408
5480
  // verify the required parameter 'conversationId' is set
5409
- if (conversationId === undefined || conversationId === null) {
5481
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5410
5482
  throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantCoach';
5411
5483
  }
5412
5484
  // verify the required parameter 'participantId' is set
5413
- if (participantId === undefined || participantId === null) {
5485
+ if (participantId === undefined || participantId === null || participantId === '') {
5414
5486
  throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantCoach';
5415
5487
  }
5416
5488
 
@@ -5441,15 +5513,15 @@ class ConversationsApi {
5441
5513
  opts = opts || {};
5442
5514
 
5443
5515
  // verify the required parameter 'conversationId' is set
5444
- if (conversationId === undefined || conversationId === null) {
5516
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5445
5517
  throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantCommunicationWrapup';
5446
5518
  }
5447
5519
  // verify the required parameter 'participantId' is set
5448
- if (participantId === undefined || participantId === null) {
5520
+ if (participantId === undefined || participantId === null || participantId === '') {
5449
5521
  throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantCommunicationWrapup';
5450
5522
  }
5451
5523
  // verify the required parameter 'communicationId' is set
5452
- if (communicationId === undefined || communicationId === null) {
5524
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
5453
5525
  throw 'Missing the required parameter "communicationId" when calling postConversationsCallParticipantCommunicationWrapup';
5454
5526
  }
5455
5527
 
@@ -5476,11 +5548,11 @@ class ConversationsApi {
5476
5548
  */
5477
5549
  postConversationsCallParticipantConsult(conversationId, participantId, body) {
5478
5550
  // verify the required parameter 'conversationId' is set
5479
- if (conversationId === undefined || conversationId === null) {
5551
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5480
5552
  throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsult';
5481
5553
  }
5482
5554
  // verify the required parameter 'participantId' is set
5483
- if (participantId === undefined || participantId === null) {
5555
+ if (participantId === undefined || participantId === null || participantId === '') {
5484
5556
  throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsult';
5485
5557
  }
5486
5558
  // verify the required parameter 'body' is set
@@ -5511,11 +5583,11 @@ class ConversationsApi {
5511
5583
  */
5512
5584
  postConversationsCallParticipantConsultAgent(conversationId, participantId, body) {
5513
5585
  // verify the required parameter 'conversationId' is set
5514
- if (conversationId === undefined || conversationId === null) {
5586
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5515
5587
  throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultAgent';
5516
5588
  }
5517
5589
  // verify the required parameter 'participantId' is set
5518
- if (participantId === undefined || participantId === null) {
5590
+ if (participantId === undefined || participantId === null || participantId === '') {
5519
5591
  throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultAgent';
5520
5592
  }
5521
5593
  // verify the required parameter 'body' is set
@@ -5537,6 +5609,42 @@ class ConversationsApi {
5537
5609
  );
5538
5610
  }
5539
5611
 
5612
+ /**
5613
+ * Initiate a consult transfer to an external contact
5614
+ *
5615
+ * @param {String} conversationId conversationId
5616
+ * @param {String} participantId participantId
5617
+ * @param {Object} body Destination address and initial speak to
5618
+ * postConversationsCallParticipantConsultContactExternal is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5619
+ */
5620
+ postConversationsCallParticipantConsultContactExternal(conversationId, participantId, body) {
5621
+ // verify the required parameter 'conversationId' is set
5622
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5623
+ throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultContactExternal';
5624
+ }
5625
+ // verify the required parameter 'participantId' is set
5626
+ if (participantId === undefined || participantId === null || participantId === '') {
5627
+ throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultContactExternal';
5628
+ }
5629
+ // verify the required parameter 'body' is set
5630
+ if (body === undefined || body === null) {
5631
+ throw 'Missing the required parameter "body" when calling postConversationsCallParticipantConsultContactExternal';
5632
+ }
5633
+
5634
+ return this.apiClient.callApi(
5635
+ '/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult/contact/external',
5636
+ 'POST',
5637
+ { 'conversationId': conversationId,'participantId': participantId },
5638
+ { },
5639
+ { },
5640
+ { },
5641
+ body,
5642
+ ['PureCloud OAuth'],
5643
+ ['application/json'],
5644
+ ['application/json']
5645
+ );
5646
+ }
5647
+
5540
5648
  /**
5541
5649
  * Initiate a consult transfer to an external contact
5542
5650
  *
@@ -5546,11 +5654,11 @@ class ConversationsApi {
5546
5654
  */
5547
5655
  postConversationsCallParticipantConsultExternal(conversationId, participantId, body) {
5548
5656
  // verify the required parameter 'conversationId' is set
5549
- if (conversationId === undefined || conversationId === null) {
5657
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5550
5658
  throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultExternal';
5551
5659
  }
5552
5660
  // verify the required parameter 'participantId' is set
5553
- if (participantId === undefined || participantId === null) {
5661
+ if (participantId === undefined || participantId === null || participantId === '') {
5554
5662
  throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultExternal';
5555
5663
  }
5556
5664
  // verify the required parameter 'body' is set
@@ -5581,11 +5689,11 @@ class ConversationsApi {
5581
5689
  */
5582
5690
  postConversationsCallParticipantConsultQueue(conversationId, participantId, body) {
5583
5691
  // verify the required parameter 'conversationId' is set
5584
- if (conversationId === undefined || conversationId === null) {
5692
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5585
5693
  throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantConsultQueue';
5586
5694
  }
5587
5695
  // verify the required parameter 'participantId' is set
5588
- if (participantId === undefined || participantId === null) {
5696
+ if (participantId === undefined || participantId === null || participantId === '') {
5589
5697
  throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantConsultQueue';
5590
5698
  }
5591
5699
  // verify the required parameter 'body' is set
@@ -5615,11 +5723,11 @@ class ConversationsApi {
5615
5723
  */
5616
5724
  postConversationsCallParticipantMonitor(conversationId, participantId) {
5617
5725
  // verify the required parameter 'conversationId' is set
5618
- if (conversationId === undefined || conversationId === null) {
5726
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5619
5727
  throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantMonitor';
5620
5728
  }
5621
5729
  // verify the required parameter 'participantId' is set
5622
- if (participantId === undefined || participantId === null) {
5730
+ if (participantId === undefined || participantId === null || participantId === '') {
5623
5731
  throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantMonitor';
5624
5732
  }
5625
5733
 
@@ -5646,11 +5754,11 @@ class ConversationsApi {
5646
5754
  */
5647
5755
  postConversationsCallParticipantReplace(conversationId, participantId, body) {
5648
5756
  // verify the required parameter 'conversationId' is set
5649
- if (conversationId === undefined || conversationId === null) {
5757
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5650
5758
  throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantReplace';
5651
5759
  }
5652
5760
  // verify the required parameter 'participantId' is set
5653
- if (participantId === undefined || participantId === null) {
5761
+ if (participantId === undefined || participantId === null || participantId === '') {
5654
5762
  throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantReplace';
5655
5763
  }
5656
5764
  // verify the required parameter 'body' is set
@@ -5672,6 +5780,42 @@ class ConversationsApi {
5672
5780
  );
5673
5781
  }
5674
5782
 
5783
+ /**
5784
+ * Initiate voice consult transfer
5785
+ *
5786
+ * @param {String} conversationId conversationId
5787
+ * @param {String} participantId participantId
5788
+ * @param {Object} body Destination address and initial speak to
5789
+ * postConversationsCallParticipantVoiceConsult is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5790
+ */
5791
+ postConversationsCallParticipantVoiceConsult(conversationId, participantId, body) {
5792
+ // verify the required parameter 'conversationId' is set
5793
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5794
+ throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipantVoiceConsult';
5795
+ }
5796
+ // verify the required parameter 'participantId' is set
5797
+ if (participantId === undefined || participantId === null || participantId === '') {
5798
+ throw 'Missing the required parameter "participantId" when calling postConversationsCallParticipantVoiceConsult';
5799
+ }
5800
+ // verify the required parameter 'body' is set
5801
+ if (body === undefined || body === null) {
5802
+ throw 'Missing the required parameter "body" when calling postConversationsCallParticipantVoiceConsult';
5803
+ }
5804
+
5805
+ return this.apiClient.callApi(
5806
+ '/api/v2/conversations/calls/{conversationId}/participants/{participantId}/voice/consult',
5807
+ 'POST',
5808
+ { 'conversationId': conversationId,'participantId': participantId },
5809
+ { },
5810
+ { },
5811
+ { },
5812
+ body,
5813
+ ['PureCloud OAuth'],
5814
+ ['application/json'],
5815
+ ['application/json']
5816
+ );
5817
+ }
5818
+
5675
5819
  /**
5676
5820
  * Add participants to a conversation
5677
5821
  *
@@ -5680,7 +5824,7 @@ class ConversationsApi {
5680
5824
  */
5681
5825
  postConversationsCallParticipants(conversationId, body) {
5682
5826
  // verify the required parameter 'conversationId' is set
5683
- if (conversationId === undefined || conversationId === null) {
5827
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5684
5828
  throw 'Missing the required parameter "conversationId" when calling postConversationsCallParticipants';
5685
5829
  }
5686
5830
  // verify the required parameter 'body' is set
@@ -5715,15 +5859,15 @@ class ConversationsApi {
5715
5859
  opts = opts || {};
5716
5860
 
5717
5861
  // verify the required parameter 'conversationId' is set
5718
- if (conversationId === undefined || conversationId === null) {
5862
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5719
5863
  throw 'Missing the required parameter "conversationId" when calling postConversationsCallbackParticipantCommunicationWrapup';
5720
5864
  }
5721
5865
  // verify the required parameter 'participantId' is set
5722
- if (participantId === undefined || participantId === null) {
5866
+ if (participantId === undefined || participantId === null || participantId === '') {
5723
5867
  throw 'Missing the required parameter "participantId" when calling postConversationsCallbackParticipantCommunicationWrapup';
5724
5868
  }
5725
5869
  // verify the required parameter 'communicationId' is set
5726
- if (communicationId === undefined || communicationId === null) {
5870
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
5727
5871
  throw 'Missing the required parameter "communicationId" when calling postConversationsCallbackParticipantCommunicationWrapup';
5728
5872
  }
5729
5873
 
@@ -5750,11 +5894,11 @@ class ConversationsApi {
5750
5894
  */
5751
5895
  postConversationsCallbackParticipantReplace(conversationId, participantId, body) {
5752
5896
  // verify the required parameter 'conversationId' is set
5753
- if (conversationId === undefined || conversationId === null) {
5897
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5754
5898
  throw 'Missing the required parameter "conversationId" when calling postConversationsCallbackParticipantReplace';
5755
5899
  }
5756
5900
  // verify the required parameter 'participantId' is set
5757
- if (participantId === undefined || participantId === null) {
5901
+ if (participantId === undefined || participantId === null || participantId === '') {
5758
5902
  throw 'Missing the required parameter "participantId" when calling postConversationsCallbackParticipantReplace';
5759
5903
  }
5760
5904
  // verify the required parameter 'body' is set
@@ -5886,11 +6030,11 @@ class ConversationsApi {
5886
6030
  */
5887
6031
  postConversationsChatCommunicationMessages(conversationId, communicationId, body) {
5888
6032
  // verify the required parameter 'conversationId' is set
5889
- if (conversationId === undefined || conversationId === null) {
6033
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5890
6034
  throw 'Missing the required parameter "conversationId" when calling postConversationsChatCommunicationMessages';
5891
6035
  }
5892
6036
  // verify the required parameter 'communicationId' is set
5893
- if (communicationId === undefined || communicationId === null) {
6037
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
5894
6038
  throw 'Missing the required parameter "communicationId" when calling postConversationsChatCommunicationMessages';
5895
6039
  }
5896
6040
  // verify the required parameter 'body' is set
@@ -5921,11 +6065,11 @@ class ConversationsApi {
5921
6065
  */
5922
6066
  postConversationsChatCommunicationTyping(conversationId, communicationId) {
5923
6067
  // verify the required parameter 'conversationId' is set
5924
- if (conversationId === undefined || conversationId === null) {
6068
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5925
6069
  throw 'Missing the required parameter "conversationId" when calling postConversationsChatCommunicationTyping';
5926
6070
  }
5927
6071
  // verify the required parameter 'communicationId' is set
5928
- if (communicationId === undefined || communicationId === null) {
6072
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
5929
6073
  throw 'Missing the required parameter "communicationId" when calling postConversationsChatCommunicationTyping';
5930
6074
  }
5931
6075
 
@@ -5957,15 +6101,15 @@ class ConversationsApi {
5957
6101
  opts = opts || {};
5958
6102
 
5959
6103
  // verify the required parameter 'conversationId' is set
5960
- if (conversationId === undefined || conversationId === null) {
6104
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5961
6105
  throw 'Missing the required parameter "conversationId" when calling postConversationsChatParticipantCommunicationWrapup';
5962
6106
  }
5963
6107
  // verify the required parameter 'participantId' is set
5964
- if (participantId === undefined || participantId === null) {
6108
+ if (participantId === undefined || participantId === null || participantId === '') {
5965
6109
  throw 'Missing the required parameter "participantId" when calling postConversationsChatParticipantCommunicationWrapup';
5966
6110
  }
5967
6111
  // verify the required parameter 'communicationId' is set
5968
- if (communicationId === undefined || communicationId === null) {
6112
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
5969
6113
  throw 'Missing the required parameter "communicationId" when calling postConversationsChatParticipantCommunicationWrapup';
5970
6114
  }
5971
6115
 
@@ -5993,11 +6137,11 @@ class ConversationsApi {
5993
6137
  */
5994
6138
  postConversationsChatParticipantReplace(conversationId, participantId, body) {
5995
6139
  // verify the required parameter 'conversationId' is set
5996
- if (conversationId === undefined || conversationId === null) {
6140
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
5997
6141
  throw 'Missing the required parameter "conversationId" when calling postConversationsChatParticipantReplace';
5998
6142
  }
5999
6143
  // verify the required parameter 'participantId' is set
6000
- if (participantId === undefined || participantId === null) {
6144
+ if (participantId === undefined || participantId === null || participantId === '') {
6001
6145
  throw 'Missing the required parameter "participantId" when calling postConversationsChatParticipantReplace';
6002
6146
  }
6003
6147
  // verify the required parameter 'body' is set
@@ -6059,15 +6203,15 @@ class ConversationsApi {
6059
6203
  opts = opts || {};
6060
6204
 
6061
6205
  // verify the required parameter 'conversationId' is set
6062
- if (conversationId === undefined || conversationId === null) {
6206
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
6063
6207
  throw 'Missing the required parameter "conversationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
6064
6208
  }
6065
6209
  // verify the required parameter 'participantId' is set
6066
- if (participantId === undefined || participantId === null) {
6210
+ if (participantId === undefined || participantId === null || participantId === '') {
6067
6211
  throw 'Missing the required parameter "participantId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
6068
6212
  }
6069
6213
  // verify the required parameter 'communicationId' is set
6070
- if (communicationId === undefined || communicationId === null) {
6214
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
6071
6215
  throw 'Missing the required parameter "communicationId" when calling postConversationsCobrowsesessionParticipantCommunicationWrapup';
6072
6216
  }
6073
6217
 
@@ -6098,11 +6242,11 @@ class ConversationsApi {
6098
6242
  opts = opts || {};
6099
6243
 
6100
6244
  // verify the required parameter 'conversationId' is set
6101
- if (conversationId === undefined || conversationId === null) {
6245
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
6102
6246
  throw 'Missing the required parameter "conversationId" when calling postConversationsCobrowsesessionParticipantReplace';
6103
6247
  }
6104
6248
  // verify the required parameter 'participantId' is set
6105
- if (participantId === undefined || participantId === null) {
6249
+ if (participantId === undefined || participantId === null || participantId === '') {
6106
6250
  throw 'Missing the required parameter "participantId" when calling postConversationsCobrowsesessionParticipantReplace';
6107
6251
  }
6108
6252
 
@@ -6128,7 +6272,7 @@ class ConversationsApi {
6128
6272
  */
6129
6273
  postConversationsEmailInboundmessages(conversationId, body) {
6130
6274
  // verify the required parameter 'conversationId' is set
6131
- if (conversationId === undefined || conversationId === null) {
6275
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
6132
6276
  throw 'Missing the required parameter "conversationId" when calling postConversationsEmailInboundmessages';
6133
6277
  }
6134
6278
  // verify the required parameter 'body' is set
@@ -6158,7 +6302,7 @@ class ConversationsApi {
6158
6302
  */
6159
6303
  postConversationsEmailMessages(conversationId, body) {
6160
6304
  // verify the required parameter 'conversationId' is set
6161
- if (conversationId === undefined || conversationId === null) {
6305
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
6162
6306
  throw 'Missing the required parameter "conversationId" when calling postConversationsEmailMessages';
6163
6307
  }
6164
6308
  // verify the required parameter 'body' is set
@@ -6188,7 +6332,7 @@ class ConversationsApi {
6188
6332
  */
6189
6333
  postConversationsEmailMessagesDraftAttachmentsCopy(conversationId, body) {
6190
6334
  // verify the required parameter 'conversationId' is set
6191
- if (conversationId === undefined || conversationId === null) {
6335
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
6192
6336
  throw 'Missing the required parameter "conversationId" when calling postConversationsEmailMessagesDraftAttachmentsCopy';
6193
6337
  }
6194
6338
  // verify the required parameter 'body' is set
@@ -6223,15 +6367,15 @@ class ConversationsApi {
6223
6367
  opts = opts || {};
6224
6368
 
6225
6369
  // verify the required parameter 'conversationId' is set
6226
- if (conversationId === undefined || conversationId === null) {
6370
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
6227
6371
  throw 'Missing the required parameter "conversationId" when calling postConversationsEmailParticipantCommunicationWrapup';
6228
6372
  }
6229
6373
  // verify the required parameter 'participantId' is set
6230
- if (participantId === undefined || participantId === null) {
6374
+ if (participantId === undefined || participantId === null || participantId === '') {
6231
6375
  throw 'Missing the required parameter "participantId" when calling postConversationsEmailParticipantCommunicationWrapup';
6232
6376
  }
6233
6377
  // verify the required parameter 'communicationId' is set
6234
- if (communicationId === undefined || communicationId === null) {
6378
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
6235
6379
  throw 'Missing the required parameter "communicationId" when calling postConversationsEmailParticipantCommunicationWrapup';
6236
6380
  }
6237
6381
 
@@ -6258,11 +6402,11 @@ class ConversationsApi {
6258
6402
  */
6259
6403
  postConversationsEmailParticipantReplace(conversationId, participantId, body) {
6260
6404
  // verify the required parameter 'conversationId' is set
6261
- if (conversationId === undefined || conversationId === null) {
6405
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
6262
6406
  throw 'Missing the required parameter "conversationId" when calling postConversationsEmailParticipantReplace';
6263
6407
  }
6264
6408
  // verify the required parameter 'participantId' is set
6265
- if (participantId === undefined || participantId === null) {
6409
+ if (participantId === undefined || participantId === null || participantId === '') {
6266
6410
  throw 'Missing the required parameter "participantId" when calling postConversationsEmailParticipantReplace';
6267
6411
  }
6268
6412
  // verify the required parameter 'body' is set
@@ -6291,7 +6435,7 @@ class ConversationsApi {
6291
6435
  */
6292
6436
  postConversationsEmailReconnect(conversationId) {
6293
6437
  // verify the required parameter 'conversationId' is set
6294
- if (conversationId === undefined || conversationId === null) {
6438
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
6295
6439
  throw 'Missing the required parameter "conversationId" when calling postConversationsEmailReconnect';
6296
6440
  }
6297
6441
 
@@ -6447,11 +6591,11 @@ class ConversationsApi {
6447
6591
  opts = opts || {};
6448
6592
 
6449
6593
  // verify the required parameter 'conversationId' is set
6450
- if (conversationId === undefined || conversationId === null) {
6594
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
6451
6595
  throw 'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationMessages';
6452
6596
  }
6453
6597
  // verify the required parameter 'communicationId' is set
6454
- if (communicationId === undefined || communicationId === null) {
6598
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
6455
6599
  throw 'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationMessages';
6456
6600
  }
6457
6601
  // verify the required parameter 'body' is set
@@ -6482,11 +6626,11 @@ class ConversationsApi {
6482
6626
  */
6483
6627
  postConversationsMessageCommunicationMessagesMedia(conversationId, communicationId) {
6484
6628
  // verify the required parameter 'conversationId' is set
6485
- if (conversationId === undefined || conversationId === null) {
6629
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
6486
6630
  throw 'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationMessagesMedia';
6487
6631
  }
6488
6632
  // verify the required parameter 'communicationId' is set
6489
- if (communicationId === undefined || communicationId === null) {
6633
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
6490
6634
  throw 'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationMessagesMedia';
6491
6635
  }
6492
6636
 
@@ -6513,11 +6657,11 @@ class ConversationsApi {
6513
6657
  */
6514
6658
  postConversationsMessageCommunicationMessagesMediaUploads(conversationId, communicationId, body) {
6515
6659
  // verify the required parameter 'conversationId' is set
6516
- if (conversationId === undefined || conversationId === null) {
6660
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
6517
6661
  throw 'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationMessagesMediaUploads';
6518
6662
  }
6519
6663
  // verify the required parameter 'communicationId' is set
6520
- if (communicationId === undefined || communicationId === null) {
6664
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
6521
6665
  throw 'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationMessagesMediaUploads';
6522
6666
  }
6523
6667
  // verify the required parameter 'body' is set
@@ -6548,11 +6692,11 @@ class ConversationsApi {
6548
6692
  */
6549
6693
  postConversationsMessageCommunicationSocialmediaMessages(conversationId, communicationId, body) {
6550
6694
  // verify the required parameter 'conversationId' is set
6551
- if (conversationId === undefined || conversationId === null) {
6695
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
6552
6696
  throw 'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationSocialmediaMessages';
6553
6697
  }
6554
6698
  // verify the required parameter 'communicationId' is set
6555
- if (communicationId === undefined || communicationId === null) {
6699
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
6556
6700
  throw 'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationSocialmediaMessages';
6557
6701
  }
6558
6702
  // verify the required parameter 'body' is set
@@ -6583,11 +6727,11 @@ class ConversationsApi {
6583
6727
  */
6584
6728
  postConversationsMessageCommunicationTyping(conversationId, communicationId, body) {
6585
6729
  // verify the required parameter 'conversationId' is set
6586
- if (conversationId === undefined || conversationId === null) {
6730
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
6587
6731
  throw 'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationTyping';
6588
6732
  }
6589
6733
  // verify the required parameter 'communicationId' is set
6590
- if (communicationId === undefined || communicationId === null) {
6734
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
6591
6735
  throw 'Missing the required parameter "communicationId" when calling postConversationsMessageCommunicationTyping';
6592
6736
  }
6593
6737
  // verify the required parameter 'body' is set
@@ -6617,7 +6761,7 @@ class ConversationsApi {
6617
6761
  */
6618
6762
  postConversationsMessageInboundOpenEvent(integrationId, body) {
6619
6763
  // verify the required parameter 'integrationId' is set
6620
- if (integrationId === undefined || integrationId === null) {
6764
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
6621
6765
  throw 'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenEvent';
6622
6766
  }
6623
6767
  // verify the required parameter 'body' is set
@@ -6651,7 +6795,7 @@ class ConversationsApi {
6651
6795
  opts = opts || {};
6652
6796
 
6653
6797
  // verify the required parameter 'integrationId' is set
6654
- if (integrationId === undefined || integrationId === null) {
6798
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
6655
6799
  throw 'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenMessage';
6656
6800
  }
6657
6801
  // verify the required parameter 'body' is set
@@ -6681,7 +6825,7 @@ class ConversationsApi {
6681
6825
  */
6682
6826
  postConversationsMessageInboundOpenReceipt(integrationId, body) {
6683
6827
  // verify the required parameter 'integrationId' is set
6684
- if (integrationId === undefined || integrationId === null) {
6828
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
6685
6829
  throw 'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenReceipt';
6686
6830
  }
6687
6831
  // verify the required parameter 'body' is set
@@ -6711,7 +6855,7 @@ class ConversationsApi {
6711
6855
  */
6712
6856
  postConversationsMessageInboundOpenStructuredResponse(integrationId, body) {
6713
6857
  // verify the required parameter 'integrationId' is set
6714
- if (integrationId === undefined || integrationId === null) {
6858
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
6715
6859
  throw 'Missing the required parameter "integrationId" when calling postConversationsMessageInboundOpenStructuredResponse';
6716
6860
  }
6717
6861
  // verify the required parameter 'body' is set
@@ -6745,7 +6889,7 @@ class ConversationsApi {
6745
6889
  opts = opts || {};
6746
6890
 
6747
6891
  // verify the required parameter 'conversationId' is set
6748
- if (conversationId === undefined || conversationId === null) {
6892
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
6749
6893
  throw 'Missing the required parameter "conversationId" when calling postConversationsMessageMessagesBulk';
6750
6894
  }
6751
6895
 
@@ -6776,15 +6920,15 @@ class ConversationsApi {
6776
6920
  opts = opts || {};
6777
6921
 
6778
6922
  // verify the required parameter 'conversationId' is set
6779
- if (conversationId === undefined || conversationId === null) {
6923
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
6780
6924
  throw 'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantCommunicationWrapup';
6781
6925
  }
6782
6926
  // verify the required parameter 'participantId' is set
6783
- if (participantId === undefined || participantId === null) {
6927
+ if (participantId === undefined || participantId === null || participantId === '') {
6784
6928
  throw 'Missing the required parameter "participantId" when calling postConversationsMessageParticipantCommunicationWrapup';
6785
6929
  }
6786
6930
  // verify the required parameter 'communicationId' is set
6787
- if (communicationId === undefined || communicationId === null) {
6931
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
6788
6932
  throw 'Missing the required parameter "communicationId" when calling postConversationsMessageParticipantCommunicationWrapup';
6789
6933
  }
6790
6934
 
@@ -6810,11 +6954,11 @@ class ConversationsApi {
6810
6954
  */
6811
6955
  postConversationsMessageParticipantMonitor(conversationId, participantId) {
6812
6956
  // verify the required parameter 'conversationId' is set
6813
- if (conversationId === undefined || conversationId === null) {
6957
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
6814
6958
  throw 'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantMonitor';
6815
6959
  }
6816
6960
  // verify the required parameter 'participantId' is set
6817
- if (participantId === undefined || participantId === null) {
6961
+ if (participantId === undefined || participantId === null || participantId === '') {
6818
6962
  throw 'Missing the required parameter "participantId" when calling postConversationsMessageParticipantMonitor';
6819
6963
  }
6820
6964
 
@@ -6841,11 +6985,11 @@ class ConversationsApi {
6841
6985
  */
6842
6986
  postConversationsMessageParticipantReplace(conversationId, participantId, body) {
6843
6987
  // verify the required parameter 'conversationId' is set
6844
- if (conversationId === undefined || conversationId === null) {
6988
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
6845
6989
  throw 'Missing the required parameter "conversationId" when calling postConversationsMessageParticipantReplace';
6846
6990
  }
6847
6991
  // verify the required parameter 'participantId' is set
6848
- if (participantId === undefined || participantId === null) {
6992
+ if (participantId === undefined || participantId === null || participantId === '') {
6849
6993
  throw 'Missing the required parameter "participantId" when calling postConversationsMessageParticipantReplace';
6850
6994
  }
6851
6995
  // verify the required parameter 'body' is set
@@ -7187,15 +7331,15 @@ class ConversationsApi {
7187
7331
  opts = opts || {};
7188
7332
 
7189
7333
  // verify the required parameter 'conversationId' is set
7190
- if (conversationId === undefined || conversationId === null) {
7334
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
7191
7335
  throw 'Missing the required parameter "conversationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
7192
7336
  }
7193
7337
  // verify the required parameter 'participantId' is set
7194
- if (participantId === undefined || participantId === null) {
7338
+ if (participantId === undefined || participantId === null || participantId === '') {
7195
7339
  throw 'Missing the required parameter "participantId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
7196
7340
  }
7197
7341
  // verify the required parameter 'communicationId' is set
7198
- if (communicationId === undefined || communicationId === null) {
7342
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
7199
7343
  throw 'Missing the required parameter "communicationId" when calling postConversationsScreenshareParticipantCommunicationWrapup';
7200
7344
  }
7201
7345
 
@@ -7226,15 +7370,15 @@ class ConversationsApi {
7226
7370
  opts = opts || {};
7227
7371
 
7228
7372
  // verify the required parameter 'conversationId' is set
7229
- if (conversationId === undefined || conversationId === null) {
7373
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
7230
7374
  throw 'Missing the required parameter "conversationId" when calling postConversationsSocialParticipantCommunicationWrapup';
7231
7375
  }
7232
7376
  // verify the required parameter 'participantId' is set
7233
- if (participantId === undefined || participantId === null) {
7377
+ if (participantId === undefined || participantId === null || participantId === '') {
7234
7378
  throw 'Missing the required parameter "participantId" when calling postConversationsSocialParticipantCommunicationWrapup';
7235
7379
  }
7236
7380
  // verify the required parameter 'communicationId' is set
7237
- if (communicationId === undefined || communicationId === null) {
7381
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
7238
7382
  throw 'Missing the required parameter "communicationId" when calling postConversationsSocialParticipantCommunicationWrapup';
7239
7383
  }
7240
7384
 
@@ -7261,11 +7405,11 @@ class ConversationsApi {
7261
7405
  */
7262
7406
  postConversationsVideoAgentconferenceCommunication(conversationId, communicationId) {
7263
7407
  // verify the required parameter 'conversationId' is set
7264
- if (conversationId === undefined || conversationId === null) {
7408
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
7265
7409
  throw 'Missing the required parameter "conversationId" when calling postConversationsVideoAgentconferenceCommunication';
7266
7410
  }
7267
7411
  // verify the required parameter 'communicationId' is set
7268
- if (communicationId === undefined || communicationId === null) {
7412
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
7269
7413
  throw 'Missing the required parameter "communicationId" when calling postConversationsVideoAgentconferenceCommunication';
7270
7414
  }
7271
7415
 
@@ -7296,15 +7440,15 @@ class ConversationsApi {
7296
7440
  opts = opts || {};
7297
7441
 
7298
7442
  // verify the required parameter 'conversationId' is set
7299
- if (conversationId === undefined || conversationId === null) {
7443
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
7300
7444
  throw 'Missing the required parameter "conversationId" when calling postConversationsVideoParticipantCommunicationWrapup';
7301
7445
  }
7302
7446
  // verify the required parameter 'participantId' is set
7303
- if (participantId === undefined || participantId === null) {
7447
+ if (participantId === undefined || participantId === null || participantId === '') {
7304
7448
  throw 'Missing the required parameter "participantId" when calling postConversationsVideoParticipantCommunicationWrapup';
7305
7449
  }
7306
7450
  // verify the required parameter 'communicationId' is set
7307
- if (communicationId === undefined || communicationId === null) {
7451
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
7308
7452
  throw 'Missing the required parameter "communicationId" when calling postConversationsVideoParticipantCommunicationWrapup';
7309
7453
  }
7310
7454
 
@@ -7356,11 +7500,11 @@ class ConversationsApi {
7356
7500
  */
7357
7501
  putConversationParticipantFlaggedreason(conversationId, participantId) {
7358
7502
  // verify the required parameter 'conversationId' is set
7359
- if (conversationId === undefined || conversationId === null) {
7503
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
7360
7504
  throw 'Missing the required parameter "conversationId" when calling putConversationParticipantFlaggedreason';
7361
7505
  }
7362
7506
  // verify the required parameter 'participantId' is set
7363
- if (participantId === undefined || participantId === null) {
7507
+ if (participantId === undefined || participantId === null || participantId === '') {
7364
7508
  throw 'Missing the required parameter "participantId" when calling putConversationParticipantFlaggedreason';
7365
7509
  }
7366
7510
 
@@ -7386,7 +7530,7 @@ class ConversationsApi {
7386
7530
  */
7387
7531
  putConversationSecureattributes(conversationId, body) {
7388
7532
  // verify the required parameter 'conversationId' is set
7389
- if (conversationId === undefined || conversationId === null) {
7533
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
7390
7534
  throw 'Missing the required parameter "conversationId" when calling putConversationSecureattributes';
7391
7535
  }
7392
7536
  // verify the required parameter 'body' is set
@@ -7416,7 +7560,7 @@ class ConversationsApi {
7416
7560
  */
7417
7561
  putConversationTags(conversationId, body) {
7418
7562
  // verify the required parameter 'conversationId' is set
7419
- if (conversationId === undefined || conversationId === null) {
7563
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
7420
7564
  throw 'Missing the required parameter "conversationId" when calling putConversationTags';
7421
7565
  }
7422
7566
  // verify the required parameter 'body' is set
@@ -7448,15 +7592,15 @@ class ConversationsApi {
7448
7592
  */
7449
7593
  putConversationsCallParticipantCommunicationUuidata(conversationId, participantId, communicationId, body) {
7450
7594
  // verify the required parameter 'conversationId' is set
7451
- if (conversationId === undefined || conversationId === null) {
7595
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
7452
7596
  throw 'Missing the required parameter "conversationId" when calling putConversationsCallParticipantCommunicationUuidata';
7453
7597
  }
7454
7598
  // verify the required parameter 'participantId' is set
7455
- if (participantId === undefined || participantId === null) {
7599
+ if (participantId === undefined || participantId === null || participantId === '') {
7456
7600
  throw 'Missing the required parameter "participantId" when calling putConversationsCallParticipantCommunicationUuidata';
7457
7601
  }
7458
7602
  // verify the required parameter 'communicationId' is set
7459
- if (communicationId === undefined || communicationId === null) {
7603
+ if (communicationId === undefined || communicationId === null || communicationId === '') {
7460
7604
  throw 'Missing the required parameter "communicationId" when calling putConversationsCallParticipantCommunicationUuidata';
7461
7605
  }
7462
7606
  // verify the required parameter 'body' is set
@@ -7486,7 +7630,7 @@ class ConversationsApi {
7486
7630
  */
7487
7631
  putConversationsCallRecordingstate(conversationId, body) {
7488
7632
  // verify the required parameter 'conversationId' is set
7489
- if (conversationId === undefined || conversationId === null) {
7633
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
7490
7634
  throw 'Missing the required parameter "conversationId" when calling putConversationsCallRecordingstate';
7491
7635
  }
7492
7636
  // verify the required parameter 'body' is set
@@ -7516,7 +7660,7 @@ class ConversationsApi {
7516
7660
  */
7517
7661
  putConversationsCallbackRecordingstate(conversationId, body) {
7518
7662
  // verify the required parameter 'conversationId' is set
7519
- if (conversationId === undefined || conversationId === null) {
7663
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
7520
7664
  throw 'Missing the required parameter "conversationId" when calling putConversationsCallbackRecordingstate';
7521
7665
  }
7522
7666
  // verify the required parameter 'body' is set
@@ -7547,7 +7691,7 @@ class ConversationsApi {
7547
7691
  */
7548
7692
  putConversationsChatRecordingstate(conversationId, body) {
7549
7693
  // verify the required parameter 'conversationId' is set
7550
- if (conversationId === undefined || conversationId === null) {
7694
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
7551
7695
  throw 'Missing the required parameter "conversationId" when calling putConversationsChatRecordingstate';
7552
7696
  }
7553
7697
  // verify the required parameter 'body' is set
@@ -7578,7 +7722,7 @@ class ConversationsApi {
7578
7722
  */
7579
7723
  putConversationsCobrowsesessionRecordingstate(conversationId, body) {
7580
7724
  // verify the required parameter 'conversationId' is set
7581
- if (conversationId === undefined || conversationId === null) {
7725
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
7582
7726
  throw 'Missing the required parameter "conversationId" when calling putConversationsCobrowsesessionRecordingstate';
7583
7727
  }
7584
7728
  // verify the required parameter 'body' is set
@@ -7608,7 +7752,7 @@ class ConversationsApi {
7608
7752
  */
7609
7753
  putConversationsEmailMessagesDraft(conversationId, body) {
7610
7754
  // verify the required parameter 'conversationId' is set
7611
- if (conversationId === undefined || conversationId === null) {
7755
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
7612
7756
  throw 'Missing the required parameter "conversationId" when calling putConversationsEmailMessagesDraft';
7613
7757
  }
7614
7758
  // verify the required parameter 'body' is set
@@ -7638,7 +7782,7 @@ class ConversationsApi {
7638
7782
  */
7639
7783
  putConversationsEmailRecordingstate(conversationId, body) {
7640
7784
  // verify the required parameter 'conversationId' is set
7641
- if (conversationId === undefined || conversationId === null) {
7785
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
7642
7786
  throw 'Missing the required parameter "conversationId" when calling putConversationsEmailRecordingstate';
7643
7787
  }
7644
7788
  // verify the required parameter 'body' is set
@@ -7668,7 +7812,7 @@ class ConversationsApi {
7668
7812
  */
7669
7813
  putConversationsKeyconfiguration(keyconfigurationsId, body) {
7670
7814
  // verify the required parameter 'keyconfigurationsId' is set
7671
- if (keyconfigurationsId === undefined || keyconfigurationsId === null) {
7815
+ if (keyconfigurationsId === undefined || keyconfigurationsId === null || keyconfigurationsId === '') {
7672
7816
  throw 'Missing the required parameter "keyconfigurationsId" when calling putConversationsKeyconfiguration';
7673
7817
  }
7674
7818
  // verify the required parameter 'body' is set
@@ -7698,7 +7842,7 @@ class ConversationsApi {
7698
7842
  */
7699
7843
  putConversationsMessageRecordingstate(conversationId, body) {
7700
7844
  // verify the required parameter 'conversationId' is set
7701
- if (conversationId === undefined || conversationId === null) {
7845
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
7702
7846
  throw 'Missing the required parameter "conversationId" when calling putConversationsMessageRecordingstate';
7703
7847
  }
7704
7848
  // verify the required parameter 'body' is set
@@ -7729,7 +7873,7 @@ class ConversationsApi {
7729
7873
  */
7730
7874
  putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId(integrationId, body) {
7731
7875
  // verify the required parameter 'integrationId' is set
7732
- if (integrationId === undefined || integrationId === null) {
7876
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
7733
7877
  throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsAppleIntegrationId';
7734
7878
  }
7735
7879
  // verify the required parameter 'body' is set
@@ -7759,7 +7903,7 @@ class ConversationsApi {
7759
7903
  */
7760
7904
  putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId(integrationId, body) {
7761
7905
  // verify the required parameter 'integrationId' is set
7762
- if (integrationId === undefined || integrationId === null) {
7906
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
7763
7907
  throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsFacebookIntegrationId';
7764
7908
  }
7765
7909
  // verify the required parameter 'body' is set
@@ -7789,7 +7933,7 @@ class ConversationsApi {
7789
7933
  */
7790
7934
  putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId(integrationId, body) {
7791
7935
  // verify the required parameter 'integrationId' is set
7792
- if (integrationId === undefined || integrationId === null) {
7936
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
7793
7937
  throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsInstagramIntegrationId';
7794
7938
  }
7795
7939
  // verify the required parameter 'body' is set
@@ -7819,7 +7963,7 @@ class ConversationsApi {
7819
7963
  */
7820
7964
  putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId(integrationId, body) {
7821
7965
  // verify the required parameter 'integrationId' is set
7822
- if (integrationId === undefined || integrationId === null) {
7966
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
7823
7967
  throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsOpenIntegrationId';
7824
7968
  }
7825
7969
  // verify the required parameter 'body' is set
@@ -7849,7 +7993,7 @@ class ConversationsApi {
7849
7993
  */
7850
7994
  putConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId(integrationId, body) {
7851
7995
  // verify the required parameter 'integrationId' is set
7852
- if (integrationId === undefined || integrationId === null) {
7996
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
7853
7997
  throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsTwitterIntegrationId';
7854
7998
  }
7855
7999
  // verify the required parameter 'body' is set
@@ -7879,7 +8023,7 @@ class ConversationsApi {
7879
8023
  */
7880
8024
  putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId(integrationId, body) {
7881
8025
  // verify the required parameter 'integrationId' is set
7882
- if (integrationId === undefined || integrationId === null) {
8026
+ if (integrationId === undefined || integrationId === null || integrationId === '') {
7883
8027
  throw 'Missing the required parameter "integrationId" when calling putConversationsMessagingIdentityresolutionIntegrationsWhatsappIntegrationId';
7884
8028
  }
7885
8029
  // verify the required parameter 'body' is set
@@ -7985,7 +8129,7 @@ class ConversationsApi {
7985
8129
  */
7986
8130
  putConversationsScreenshareRecordingstate(conversationId, body) {
7987
8131
  // verify the required parameter 'conversationId' is set
7988
- if (conversationId === undefined || conversationId === null) {
8132
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
7989
8133
  throw 'Missing the required parameter "conversationId" when calling putConversationsScreenshareRecordingstate';
7990
8134
  }
7991
8135
  // verify the required parameter 'body' is set
@@ -8015,7 +8159,7 @@ class ConversationsApi {
8015
8159
  */
8016
8160
  putConversationsSocialRecordingstate(conversationId, body) {
8017
8161
  // verify the required parameter 'conversationId' is set
8018
- if (conversationId === undefined || conversationId === null) {
8162
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
8019
8163
  throw 'Missing the required parameter "conversationId" when calling putConversationsSocialRecordingstate';
8020
8164
  }
8021
8165
  // verify the required parameter 'body' is set
@@ -8045,7 +8189,7 @@ class ConversationsApi {
8045
8189
  */
8046
8190
  putConversationsVideoRecordingstate(conversationId, body) {
8047
8191
  // verify the required parameter 'conversationId' is set
8048
- if (conversationId === undefined || conversationId === null) {
8192
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
8049
8193
  throw 'Missing the required parameter "conversationId" when calling putConversationsVideoRecordingstate';
8050
8194
  }
8051
8195
  // verify the required parameter 'body' is set