purecloud-platform-client-v2 249.0.0 → 250.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 (97) hide show
  1. package/README.md +34 -3
  2. package/dist/node/purecloud-platform-client-v2.js +20042 -5569
  3. package/dist/web-amd/purecloud-platform-client-v2.js +20042 -5569
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +11159 -5369
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +11159 -5369
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +10600 -2242
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +26 -2
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +136 -40
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +130 -39
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +18 -6
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +29 -9
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +86 -26
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +917 -224
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +754 -226
  18. package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.js +36 -11
  19. package/src/purecloud-platform-client-v2/api/AuditApi.js +38 -12
  20. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +302 -91
  21. package/src/purecloud-platform-client-v2/api/BackgroundAssistantApi.js +7 -3
  22. package/src/purecloud-platform-client-v2/api/BillingApi.js +41 -13
  23. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +180 -53
  24. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +11 -4
  25. package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +187 -56
  26. package/src/purecloud-platform-client-v2/api/ChatApi.js +223 -65
  27. package/src/purecloud-platform-client-v2/api/CoachingApi.js +124 -37
  28. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +165 -51
  29. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1992 -578
  30. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +22 -7
  31. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +39 -12
  32. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +4 -2
  33. package/src/purecloud-platform-client-v2/api/EmailsApi.js +28 -9
  34. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +35 -11
  35. package/src/purecloud-platform-client-v2/api/EventsApi.js +22 -7
  36. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +700 -206
  37. package/src/purecloud-platform-client-v2/api/FaxApi.js +49 -15
  38. package/src/purecloud-platform-client-v2/api/FlowsApi.js +42 -13
  39. package/src/purecloud-platform-client-v2/api/GamificationApi.js +419 -125
  40. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +21 -7
  41. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +29 -9
  42. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +106 -32
  43. package/src/purecloud-platform-client-v2/api/GroupsApi.js +103 -31
  44. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +267 -77
  45. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +20 -7
  46. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +461 -139
  47. package/src/purecloud-platform-client-v2/api/IntentsApi.js +93 -28
  48. package/src/purecloud-platform-client-v2/api/JourneyApi.js +872 -120
  49. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +618 -185
  50. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +221 -66
  51. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +53 -16
  52. package/src/purecloud-platform-client-v2/api/LearningApi.js +199 -60
  53. package/src/purecloud-platform-client-v2/api/LicenseApi.js +51 -16
  54. package/src/purecloud-platform-client-v2/api/LocationsApi.js +45 -14
  55. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +34 -11
  56. package/src/purecloud-platform-client-v2/api/MessagingApi.js +84 -25
  57. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +28 -9
  58. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +41 -13
  59. package/src/purecloud-platform-client-v2/api/OAuthApi.js +72 -22
  60. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +58 -18
  61. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +21 -7
  62. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +122 -36
  63. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +297 -87
  64. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1066 -312
  65. package/src/purecloud-platform-client-v2/api/PresenceApi.js +162 -48
  66. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +41 -13
  67. package/src/purecloud-platform-client-v2/api/QualityApi.js +409 -121
  68. package/src/purecloud-platform-client-v2/api/RecordingApi.js +351 -108
  69. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +113 -34
  70. package/src/purecloud-platform-client-v2/api/RoutingApi.js +964 -284
  71. package/src/purecloud-platform-client-v2/api/SCIMApi.js +123 -39
  72. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +50 -17
  73. package/src/purecloud-platform-client-v2/api/SearchApi.js +147 -44
  74. package/src/purecloud-platform-client-v2/api/SettingsApi.js +87 -26
  75. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +208 -67
  76. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +389 -114
  77. package/src/purecloud-platform-client-v2/api/StationsApi.js +18 -6
  78. package/src/purecloud-platform-client-v2/api/SuggestApi.js +13 -5
  79. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +473 -138
  80. package/src/purecloud-platform-client-v2/api/TeamsApi.js +55 -17
  81. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +80 -24
  82. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +751 -220
  83. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +25 -8
  84. package/src/purecloud-platform-client-v2/api/TokensApi.js +35 -11
  85. package/src/purecloud-platform-client-v2/api/UploadsApi.js +78 -23
  86. package/src/purecloud-platform-client-v2/api/UsageApi.js +62 -19
  87. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +27 -9
  88. package/src/purecloud-platform-client-v2/api/UsersApi.js +717 -228
  89. package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +52 -16
  90. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +25 -8
  91. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +154 -46
  92. package/src/purecloud-platform-client-v2/api/WebChatApi.js +126 -37
  93. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +120 -36
  94. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +25 -8
  95. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +36 -11
  96. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +2475 -577
  97. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class IntegrationsApi {
5
5
  /**
6
6
  * Integrations service.
7
7
  * @module purecloud-platform-client-v2/api/IntegrationsApi
8
- * @version 249.0.0
8
+ * @version 250.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -24,8 +24,12 @@ class IntegrationsApi {
24
24
  * Delete integration.
25
25
  *
26
26
  * @param {String} integrationId Integration Id
27
+ * @param {Object} opts Optional parameters
28
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
27
29
  */
28
- deleteIntegration(integrationId) {
30
+ deleteIntegration(integrationId, opts) {
31
+ opts = opts || {};
32
+
29
33
  // verify the required parameter 'integrationId' is set
30
34
  if (integrationId === undefined || integrationId === null || integrationId === '') {
31
35
  throw 'Missing the required parameter "integrationId" when calling deleteIntegration';
@@ -41,7 +45,8 @@ class IntegrationsApi {
41
45
  null,
42
46
  ['PureCloud OAuth'],
43
47
  ['application/json'],
44
- ['application/json']
48
+ ['application/json'],
49
+ opts['customHeaders']
45
50
  );
46
51
  }
47
52
 
@@ -49,8 +54,12 @@ class IntegrationsApi {
49
54
  * Delete an Action
50
55
  *
51
56
  * @param {String} actionId actionId
57
+ * @param {Object} opts Optional parameters
58
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
52
59
  */
53
- deleteIntegrationsAction(actionId) {
60
+ deleteIntegrationsAction(actionId, opts) {
61
+ opts = opts || {};
62
+
54
63
  // verify the required parameter 'actionId' is set
55
64
  if (actionId === undefined || actionId === null || actionId === '') {
56
65
  throw 'Missing the required parameter "actionId" when calling deleteIntegrationsAction';
@@ -66,7 +75,8 @@ class IntegrationsApi {
66
75
  null,
67
76
  ['PureCloud OAuth'],
68
77
  ['application/json'],
69
- ['application/json']
78
+ ['application/json'],
79
+ opts['customHeaders']
70
80
  );
71
81
  }
72
82
 
@@ -74,8 +84,12 @@ class IntegrationsApi {
74
84
  * Delete a Draft
75
85
  *
76
86
  * @param {String} actionId actionId
87
+ * @param {Object} opts Optional parameters
88
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
77
89
  */
78
- deleteIntegrationsActionDraft(actionId) {
90
+ deleteIntegrationsActionDraft(actionId, opts) {
91
+ opts = opts || {};
92
+
79
93
  // verify the required parameter 'actionId' is set
80
94
  if (actionId === undefined || actionId === null || actionId === '') {
81
95
  throw 'Missing the required parameter "actionId" when calling deleteIntegrationsActionDraft';
@@ -91,7 +105,8 @@ class IntegrationsApi {
91
105
  null,
92
106
  ['PureCloud OAuth'],
93
107
  ['application/json'],
94
- ['application/json']
108
+ ['application/json'],
109
+ opts['customHeaders']
95
110
  );
96
111
  }
97
112
 
@@ -99,8 +114,12 @@ class IntegrationsApi {
99
114
  * Delete a set of credentials
100
115
  *
101
116
  * @param {String} credentialId Credential ID
117
+ * @param {Object} opts Optional parameters
118
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
102
119
  */
103
- deleteIntegrationsCredential(credentialId) {
120
+ deleteIntegrationsCredential(credentialId, opts) {
121
+ opts = opts || {};
122
+
104
123
  // verify the required parameter 'credentialId' is set
105
124
  if (credentialId === undefined || credentialId === null || credentialId === '') {
106
125
  throw 'Missing the required parameter "credentialId" when calling deleteIntegrationsCredential';
@@ -116,7 +135,8 @@ class IntegrationsApi {
116
135
  null,
117
136
  ['PureCloud OAuth'],
118
137
  ['application/json'],
119
- ['application/json']
138
+ ['application/json'],
139
+ opts['customHeaders']
120
140
  );
121
141
  }
122
142
 
@@ -131,6 +151,7 @@ class IntegrationsApi {
131
151
  * @param {Array.<String>} opts.expand variable name requested by expand list
132
152
  * @param {String} opts.nextPage next page token
133
153
  * @param {String} opts.previousPage Previous page token
154
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
134
155
  */
135
156
  getIntegration(integrationId, opts) {
136
157
  opts = opts || {};
@@ -150,7 +171,8 @@ class IntegrationsApi {
150
171
  null,
151
172
  ['PureCloud OAuth'],
152
173
  ['application/json'],
153
- ['application/json']
174
+ ['application/json'],
175
+ opts['customHeaders']
154
176
  );
155
177
  }
156
178
 
@@ -158,8 +180,12 @@ class IntegrationsApi {
158
180
  * Get integration configuration.
159
181
  *
160
182
  * @param {String} integrationId Integration Id
183
+ * @param {Object} opts Optional parameters
184
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
161
185
  */
162
- getIntegrationConfigCurrent(integrationId) {
186
+ getIntegrationConfigCurrent(integrationId, opts) {
187
+ opts = opts || {};
188
+
163
189
  // verify the required parameter 'integrationId' is set
164
190
  if (integrationId === undefined || integrationId === null || integrationId === '') {
165
191
  throw 'Missing the required parameter "integrationId" when calling getIntegrationConfigCurrent';
@@ -175,7 +201,8 @@ class IntegrationsApi {
175
201
  null,
176
202
  ['PureCloud OAuth'],
177
203
  ['application/json'],
178
- ['application/json']
204
+ ['application/json'],
205
+ opts['customHeaders']
179
206
  );
180
207
  }
181
208
 
@@ -192,6 +219,7 @@ class IntegrationsApi {
192
219
  * @param {Array.<String>} opts.ids Comma-separated list of integration IDs to filter by (max 100)
193
220
  * @param {String} opts.integrationType Filter integrations by integration type ID
194
221
  * @param {Object} opts.reportedState Filter integrations by reported state (case-insensitive)
222
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
195
223
  */
196
224
  getIntegrations(opts) {
197
225
  opts = opts || {};
@@ -207,7 +235,8 @@ class IntegrationsApi {
207
235
  null,
208
236
  ['PureCloud OAuth'],
209
237
  ['application/json'],
210
- ['application/json']
238
+ ['application/json'],
239
+ opts['customHeaders']
211
240
  );
212
241
  }
213
242
 
@@ -219,6 +248,7 @@ class IntegrationsApi {
219
248
  * @param {Object} opts.expand Indicates a field in the response which should be expanded.
220
249
  * @param {Object} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
221
250
  * @param {Object} opts.includeConfig Return config in response. (default to false)
251
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
222
252
  */
223
253
  getIntegrationsAction(actionId, opts) {
224
254
  opts = opts || {};
@@ -238,7 +268,8 @@ class IntegrationsApi {
238
268
  null,
239
269
  ['PureCloud OAuth'],
240
270
  ['application/json'],
241
- ['application/json']
271
+ ['application/json'],
272
+ opts['customHeaders']
242
273
  );
243
274
  }
244
275
 
@@ -250,6 +281,7 @@ class IntegrationsApi {
250
281
  * @param {Object} opts.expand Indicates a field in the response which should be expanded.
251
282
  * @param {Object} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
252
283
  * @param {Object} opts.includeConfig Return config in response. (default to false)
284
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
253
285
  */
254
286
  getIntegrationsActionDraft(actionId, opts) {
255
287
  opts = opts || {};
@@ -269,7 +301,8 @@ class IntegrationsApi {
269
301
  null,
270
302
  ['PureCloud OAuth'],
271
303
  ['application/json'],
272
- ['application/json']
304
+ ['application/json'],
305
+ opts['customHeaders']
273
306
  );
274
307
  }
275
308
 
@@ -277,8 +310,12 @@ class IntegrationsApi {
277
310
  * Get draft function settings for Action
278
311
  *
279
312
  * @param {String} actionId actionId
313
+ * @param {Object} opts Optional parameters
314
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
280
315
  */
281
- getIntegrationsActionDraftFunction(actionId) {
316
+ getIntegrationsActionDraftFunction(actionId, opts) {
317
+ opts = opts || {};
318
+
282
319
  // verify the required parameter 'actionId' is set
283
320
  if (actionId === undefined || actionId === null || actionId === '') {
284
321
  throw 'Missing the required parameter "actionId" when calling getIntegrationsActionDraftFunction';
@@ -294,7 +331,8 @@ class IntegrationsApi {
294
331
  null,
295
332
  ['PureCloud OAuth'],
296
333
  ['application/json'],
297
- ['application/json']
334
+ ['application/json'],
335
+ opts['customHeaders']
298
336
  );
299
337
  }
300
338
 
@@ -305,6 +343,7 @@ class IntegrationsApi {
305
343
  * @param {String} fileName Name of schema file to be retrieved for this draft.
306
344
  * @param {Object} opts Optional parameters
307
345
  * @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
346
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
308
347
  */
309
348
  getIntegrationsActionDraftSchema(actionId, fileName, opts) {
310
349
  opts = opts || {};
@@ -328,7 +367,8 @@ class IntegrationsApi {
328
367
  null,
329
368
  ['PureCloud OAuth'],
330
369
  ['application/json'],
331
- ['application/json']
370
+ ['application/json'],
371
+ opts['customHeaders']
332
372
  );
333
373
  }
334
374
 
@@ -337,8 +377,12 @@ class IntegrationsApi {
337
377
  *
338
378
  * @param {String} actionId actionId
339
379
  * @param {String} fileName Name of template file to be retrieved for this action draft.
380
+ * @param {Object} opts Optional parameters
381
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
340
382
  */
341
- getIntegrationsActionDraftTemplate(actionId, fileName) {
383
+ getIntegrationsActionDraftTemplate(actionId, fileName, opts) {
384
+ opts = opts || {};
385
+
342
386
  // verify the required parameter 'actionId' is set
343
387
  if (actionId === undefined || actionId === null || actionId === '') {
344
388
  throw 'Missing the required parameter "actionId" when calling getIntegrationsActionDraftTemplate';
@@ -358,7 +402,8 @@ class IntegrationsApi {
358
402
  null,
359
403
  ['PureCloud OAuth'],
360
404
  ['application/json'],
361
- ['text/plain']
405
+ ['text/plain'],
406
+ opts['customHeaders']
362
407
  );
363
408
  }
364
409
 
@@ -366,8 +411,12 @@ class IntegrationsApi {
366
411
  * Validate current Draft configuration.
367
412
  *
368
413
  * @param {String} actionId actionId
414
+ * @param {Object} opts Optional parameters
415
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
369
416
  */
370
- getIntegrationsActionDraftValidation(actionId) {
417
+ getIntegrationsActionDraftValidation(actionId, opts) {
418
+ opts = opts || {};
419
+
371
420
  // verify the required parameter 'actionId' is set
372
421
  if (actionId === undefined || actionId === null || actionId === '') {
373
422
  throw 'Missing the required parameter "actionId" when calling getIntegrationsActionDraftValidation';
@@ -383,7 +432,8 @@ class IntegrationsApi {
383
432
  null,
384
433
  ['PureCloud OAuth'],
385
434
  ['application/json'],
386
- ['application/json']
435
+ ['application/json'],
436
+ opts['customHeaders']
387
437
  );
388
438
  }
389
439
 
@@ -391,8 +441,12 @@ class IntegrationsApi {
391
441
  * Get published function settings for Action
392
442
  *
393
443
  * @param {String} actionId actionId
444
+ * @param {Object} opts Optional parameters
445
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
394
446
  */
395
- getIntegrationsActionFunction(actionId) {
447
+ getIntegrationsActionFunction(actionId, opts) {
448
+ opts = opts || {};
449
+
396
450
  // verify the required parameter 'actionId' is set
397
451
  if (actionId === undefined || actionId === null || actionId === '') {
398
452
  throw 'Missing the required parameter "actionId" when calling getIntegrationsActionFunction';
@@ -408,7 +462,8 @@ class IntegrationsApi {
408
462
  null,
409
463
  ['PureCloud OAuth'],
410
464
  ['application/json'],
411
- ['application/json']
465
+ ['application/json'],
466
+ opts['customHeaders']
412
467
  );
413
468
  }
414
469
 
@@ -419,6 +474,7 @@ class IntegrationsApi {
419
474
  * @param {String} fileName Name of schema file to be retrieved for this action.
420
475
  * @param {Object} opts Optional parameters
421
476
  * @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
477
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
422
478
  */
423
479
  getIntegrationsActionSchema(actionId, fileName, opts) {
424
480
  opts = opts || {};
@@ -442,7 +498,8 @@ class IntegrationsApi {
442
498
  null,
443
499
  ['PureCloud OAuth'],
444
500
  ['application/json'],
445
- ['application/json']
501
+ ['application/json'],
502
+ opts['customHeaders']
446
503
  );
447
504
  }
448
505
 
@@ -451,8 +508,12 @@ class IntegrationsApi {
451
508
  *
452
509
  * @param {String} actionId actionId
453
510
  * @param {String} fileName Name of template file to be retrieved for this action.
511
+ * @param {Object} opts Optional parameters
512
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
454
513
  */
455
- getIntegrationsActionTemplate(actionId, fileName) {
514
+ getIntegrationsActionTemplate(actionId, fileName, opts) {
515
+ opts = opts || {};
516
+
456
517
  // verify the required parameter 'actionId' is set
457
518
  if (actionId === undefined || actionId === null || actionId === '') {
458
519
  throw 'Missing the required parameter "actionId" when calling getIntegrationsActionTemplate';
@@ -472,7 +533,8 @@ class IntegrationsApi {
472
533
  null,
473
534
  ['PureCloud OAuth'],
474
535
  ['application/json'],
475
- ['text/plain']
536
+ ['text/plain'],
537
+ opts['customHeaders']
476
538
  );
477
539
  }
478
540
 
@@ -492,6 +554,7 @@ class IntegrationsApi {
492
554
  * @param {Object} opts.secure Filter based on 'secure' configuration option. True will only return actions marked as secure. False will return only non-secure actions. Do not use filter if you want all Actions.
493
555
  * @param {Object} opts.includeAuthActions Whether or not to include authentication actions in the response. These actions are not directly executable. Some integrations create them and will run them as needed to refresh authentication information for other actions. (default to false)
494
556
  * @param {Object} opts.includeConfig Return config in response. (default to false)
557
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
495
558
  */
496
559
  getIntegrationsActions(opts) {
497
560
  opts = opts || {};
@@ -507,7 +570,8 @@ class IntegrationsApi {
507
570
  null,
508
571
  ['PureCloud OAuth'],
509
572
  ['application/json'],
510
- ['application/json']
573
+ ['application/json'],
574
+ opts['customHeaders']
511
575
  );
512
576
  }
513
577
 
@@ -522,6 +586,7 @@ class IntegrationsApi {
522
586
  * @param {String} opts.sortBy Root level field name to sort on. Only 'name' is supported on this endpoint.
523
587
  * @param {Object} opts.sortOrder Direction to sort 'sortBy' field. (default to asc)
524
588
  * @param {Object} opts.secure Filter to only include secure actions. True will only include actions marked secured. False will include only unsecure actions. Do not use filter if you want all Actions.
589
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
525
590
  */
526
591
  getIntegrationsActionsCategories(opts) {
527
592
  opts = opts || {};
@@ -537,7 +602,8 @@ class IntegrationsApi {
537
602
  null,
538
603
  ['PureCloud OAuth'],
539
604
  ['application/json'],
540
- ['application/json']
605
+ ['application/json'],
606
+ opts['customHeaders']
541
607
  );
542
608
  }
543
609
 
@@ -547,6 +613,7 @@ class IntegrationsApi {
547
613
  * @param {Object} opts Optional parameters
548
614
  * @param {Object} opts.status Indicates the validity of the certificate in question.
549
615
  * @param {Object} opts.type Indicates the type of the certificate.
616
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
550
617
  */
551
618
  getIntegrationsActionsCertificates(opts) {
552
619
  opts = opts || {};
@@ -562,15 +629,20 @@ class IntegrationsApi {
562
629
  null,
563
630
  ['PureCloud OAuth'],
564
631
  ['application/json'],
565
- ['application/json']
632
+ ['application/json'],
633
+ opts['customHeaders']
566
634
  );
567
635
  }
568
636
 
569
637
  /**
570
638
  * Retrieves basic info about trusted root CA certificates
571
639
  *
640
+ * @param {Object} opts Optional parameters
641
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
572
642
  */
573
- getIntegrationsActionsCertificatesTruststore() {
643
+ getIntegrationsActionsCertificatesTruststore(opts) {
644
+ opts = opts || {};
645
+
574
646
 
575
647
  return this.apiClient.callApi(
576
648
  '/api/v2/integrations/actions/certificates/truststore',
@@ -582,7 +654,8 @@ class IntegrationsApi {
582
654
  null,
583
655
  ['PureCloud OAuth'],
584
656
  ['application/json'],
585
- ['application/json']
657
+ ['application/json'],
658
+ opts['customHeaders']
586
659
  );
587
660
  }
588
661
 
@@ -602,6 +675,7 @@ class IntegrationsApi {
602
675
  * @param {Object} opts.secure Filter based on 'secure' configuration option. True will only return actions marked as secure. False will return only non-secure actions. Do not use filter if you want all Actions.
603
676
  * @param {Object} opts.includeAuthActions Whether or not to include authentication actions in the response. These actions are not directly executable. Some integrations create them and will run them as needed to refresh authentication information for other actions. (default to false)
604
677
  * @param {Object} opts.includeConfig Return config in response. (default to false)
678
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
605
679
  */
606
680
  getIntegrationsActionsDrafts(opts) {
607
681
  opts = opts || {};
@@ -617,15 +691,20 @@ class IntegrationsApi {
617
691
  null,
618
692
  ['PureCloud OAuth'],
619
693
  ['application/json'],
620
- ['application/json']
694
+ ['application/json'],
695
+ opts['customHeaders']
621
696
  );
622
697
  }
623
698
 
624
699
  /**
625
700
  * Get action function settings for Action
626
701
  *
702
+ * @param {Object} opts Optional parameters
703
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
627
704
  */
628
- getIntegrationsActionsFunctionsRuntimes() {
705
+ getIntegrationsActionsFunctionsRuntimes(opts) {
706
+ opts = opts || {};
707
+
629
708
 
630
709
  return this.apiClient.callApi(
631
710
  '/api/v2/integrations/actions/functions/runtimes',
@@ -637,7 +716,8 @@ class IntegrationsApi {
637
716
  null,
638
717
  ['PureCloud OAuth'],
639
718
  ['application/json'],
640
- ['application/json']
719
+ ['application/json'],
720
+ opts['customHeaders']
641
721
  );
642
722
  }
643
723
 
@@ -648,6 +728,7 @@ class IntegrationsApi {
648
728
  * @param {String} botId The bot ID for this bot
649
729
  * @param {Object} opts Optional parameters
650
730
  * @param {String} opts.version Specific Version
731
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
651
732
  * getIntegrationsBotconnectorBot is a preview method and is subject to both breaking and non-breaking changes at any time without notice
652
733
  */
653
734
  getIntegrationsBotconnectorBot(integrationId, botId, opts) {
@@ -672,7 +753,8 @@ class IntegrationsApi {
672
753
  null,
673
754
  ['PureCloud OAuth'],
674
755
  ['application/json'],
675
- ['application/json']
756
+ ['application/json'],
757
+ opts['customHeaders']
676
758
  );
677
759
  }
678
760
 
@@ -683,6 +765,7 @@ class IntegrationsApi {
683
765
  * @param {Object} opts Optional parameters
684
766
  * @param {Number} opts.pageNumber Page number (default to 1)
685
767
  * @param {Number} opts.pageSize Page size (default to 25)
768
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
686
769
  * getIntegrationsBotconnectorBots is a preview method and is subject to both breaking and non-breaking changes at any time without notice
687
770
  */
688
771
  getIntegrationsBotconnectorBots(integrationId, opts) {
@@ -703,7 +786,8 @@ class IntegrationsApi {
703
786
  null,
704
787
  ['PureCloud OAuth'],
705
788
  ['application/json'],
706
- ['application/json']
789
+ ['application/json'],
790
+ opts['customHeaders']
707
791
  );
708
792
  }
709
793
 
@@ -714,6 +798,7 @@ class IntegrationsApi {
714
798
  * @param {Object} opts Optional parameters
715
799
  * @param {Number} opts.pageNumber Page number (default to 1)
716
800
  * @param {Number} opts.pageSize Page size (default to 25)
801
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
717
802
  * getIntegrationsBotconnectorBotsSummaries is a preview method and is subject to both breaking and non-breaking changes at any time without notice
718
803
  */
719
804
  getIntegrationsBotconnectorBotsSummaries(integrationId, opts) {
@@ -734,7 +819,8 @@ class IntegrationsApi {
734
819
  null,
735
820
  ['PureCloud OAuth'],
736
821
  ['application/json'],
737
- ['application/json']
822
+ ['application/json'],
823
+ opts['customHeaders']
738
824
  );
739
825
  }
740
826
 
@@ -745,6 +831,7 @@ class IntegrationsApi {
745
831
  * @param {String} botId The botID for this bot
746
832
  * @param {Object} opts Optional parameters
747
833
  * @param {String} opts.version Specific Version
834
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
748
835
  */
749
836
  getIntegrationsBotconnectorIntegrationIdBot(integrationId, botId, opts) {
750
837
  opts = opts || {};
@@ -768,7 +855,8 @@ class IntegrationsApi {
768
855
  null,
769
856
  ['PureCloud OAuth'],
770
857
  ['application/json'],
771
- ['application/json']
858
+ ['application/json'],
859
+ opts['customHeaders']
772
860
  );
773
861
  }
774
862
 
@@ -780,6 +868,7 @@ class IntegrationsApi {
780
868
  * @param {Object} opts Optional parameters
781
869
  * @param {Number} opts.pageNumber Page number (default to 1)
782
870
  * @param {Number} opts.pageSize Page size (default to 25)
871
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
783
872
  */
784
873
  getIntegrationsBotconnectorIntegrationIdBotVersions(integrationId, botId, opts) {
785
874
  opts = opts || {};
@@ -803,7 +892,8 @@ class IntegrationsApi {
803
892
  null,
804
893
  ['PureCloud OAuth'],
805
894
  ['application/json'],
806
- ['application/json']
895
+ ['application/json'],
896
+ opts['customHeaders']
807
897
  );
808
898
  }
809
899
 
@@ -811,8 +901,12 @@ class IntegrationsApi {
811
901
  * Get a list of botConnector bots for this integration
812
902
  *
813
903
  * @param {String} integrationId The integration ID for this group of bots
904
+ * @param {Object} opts Optional parameters
905
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
814
906
  */
815
- getIntegrationsBotconnectorIntegrationIdBots(integrationId) {
907
+ getIntegrationsBotconnectorIntegrationIdBots(integrationId, opts) {
908
+ opts = opts || {};
909
+
816
910
  // verify the required parameter 'integrationId' is set
817
911
  if (integrationId === undefined || integrationId === null || integrationId === '') {
818
912
  throw 'Missing the required parameter "integrationId" when calling getIntegrationsBotconnectorIntegrationIdBots';
@@ -828,7 +922,8 @@ class IntegrationsApi {
828
922
  null,
829
923
  ['PureCloud OAuth'],
830
924
  ['application/json'],
831
- ['application/json']
925
+ ['application/json'],
926
+ opts['customHeaders']
832
927
  );
833
928
  }
834
929
 
@@ -839,6 +934,7 @@ class IntegrationsApi {
839
934
  * @param {Object} opts Optional parameters
840
935
  * @param {Number} opts.pageNumber Page number (default to 1)
841
936
  * @param {Number} opts.pageSize Page size (default to 25)
937
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
842
938
  */
843
939
  getIntegrationsBotconnectorIntegrationIdBotsSummaries(integrationId, opts) {
844
940
  opts = opts || {};
@@ -858,7 +954,8 @@ class IntegrationsApi {
858
954
  null,
859
955
  ['PureCloud OAuth'],
860
956
  ['application/json'],
861
- ['application/json']
957
+ ['application/json'],
958
+ opts['customHeaders']
862
959
  );
863
960
  }
864
961
 
@@ -872,6 +969,7 @@ class IntegrationsApi {
872
969
  * @param {Array.<String>} opts.expand variable name requested by expand list
873
970
  * @param {String} opts.nextPage next page token
874
971
  * @param {String} opts.previousPage Previous page token
972
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
875
973
  */
876
974
  getIntegrationsClientapps(opts) {
877
975
  opts = opts || {};
@@ -887,7 +985,8 @@ class IntegrationsApi {
887
985
  null,
888
986
  ['PureCloud OAuth'],
889
987
  ['application/json'],
890
- ['application/json']
988
+ ['application/json'],
989
+ opts['customHeaders']
891
990
  );
892
991
  }
893
992
 
@@ -901,6 +1000,7 @@ class IntegrationsApi {
901
1000
  * @param {Array.<String>} opts.expand variable name requested by expand list
902
1001
  * @param {String} opts.nextPage next page token
903
1002
  * @param {String} opts.previousPage Previous page token
1003
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
904
1004
  * @deprecated
905
1005
  */
906
1006
  getIntegrationsClientappsUnifiedcommunications(opts) {
@@ -917,7 +1017,8 @@ class IntegrationsApi {
917
1017
  null,
918
1018
  ['PureCloud OAuth'],
919
1019
  ['application/json'],
920
- ['application/json']
1020
+ ['application/json'],
1021
+ opts['customHeaders']
921
1022
  );
922
1023
  }
923
1024
 
@@ -925,8 +1026,12 @@ class IntegrationsApi {
925
1026
  * Get a single credential with sensitive fields redacted
926
1027
  *
927
1028
  * @param {String} credentialId Credential ID
1029
+ * @param {Object} opts Optional parameters
1030
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
928
1031
  */
929
- getIntegrationsCredential(credentialId) {
1032
+ getIntegrationsCredential(credentialId, opts) {
1033
+ opts = opts || {};
1034
+
930
1035
  // verify the required parameter 'credentialId' is set
931
1036
  if (credentialId === undefined || credentialId === null || credentialId === '') {
932
1037
  throw 'Missing the required parameter "credentialId" when calling getIntegrationsCredential';
@@ -942,7 +1047,8 @@ class IntegrationsApi {
942
1047
  null,
943
1048
  ['PureCloud OAuth'],
944
1049
  ['application/json'],
945
- ['application/json']
1050
+ ['application/json'],
1051
+ opts['customHeaders']
946
1052
  );
947
1053
  }
948
1054
 
@@ -952,6 +1058,7 @@ class IntegrationsApi {
952
1058
  * @param {Object} opts Optional parameters
953
1059
  * @param {Number} opts.pageNumber Page number (default to 1)
954
1060
  * @param {Number} opts.pageSize Page size (default to 25)
1061
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
955
1062
  * @deprecated
956
1063
  */
957
1064
  getIntegrationsCredentials(opts) {
@@ -968,7 +1075,8 @@ class IntegrationsApi {
968
1075
  null,
969
1076
  ['PureCloud OAuth'],
970
1077
  ['application/json'],
971
- ['application/json']
1078
+ ['application/json'],
1079
+ opts['customHeaders']
972
1080
  );
973
1081
  }
974
1082
 
@@ -979,6 +1087,7 @@ class IntegrationsApi {
979
1087
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
980
1088
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
981
1089
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
1090
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
982
1091
  */
983
1092
  getIntegrationsCredentialsListing(opts) {
984
1093
  opts = opts || {};
@@ -994,15 +1103,20 @@ class IntegrationsApi {
994
1103
  null,
995
1104
  ['PureCloud OAuth'],
996
1105
  ['application/json'],
997
- ['application/json']
1106
+ ['application/json'],
1107
+ opts['customHeaders']
998
1108
  );
999
1109
  }
1000
1110
 
1001
1111
  /**
1002
1112
  * List all credential types
1003
1113
  *
1114
+ * @param {Object} opts Optional parameters
1115
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1004
1116
  */
1005
- getIntegrationsCredentialsTypes() {
1117
+ getIntegrationsCredentialsTypes(opts) {
1118
+ opts = opts || {};
1119
+
1006
1120
 
1007
1121
  return this.apiClient.callApi(
1008
1122
  '/api/v2/integrations/credentials/types',
@@ -1014,7 +1128,8 @@ class IntegrationsApi {
1014
1128
  null,
1015
1129
  ['PureCloud OAuth'],
1016
1130
  ['application/json'],
1017
- ['application/json']
1131
+ ['application/json'],
1132
+ opts['customHeaders']
1018
1133
  );
1019
1134
  }
1020
1135
 
@@ -1024,6 +1139,7 @@ class IntegrationsApi {
1024
1139
  * @param {Object} opts Optional parameters
1025
1140
  * @param {Number} opts.pageNumber Page number (default to 1)
1026
1141
  * @param {Number} opts.pageSize Page size (default to 25)
1142
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1027
1143
  */
1028
1144
  getIntegrationsSpeechAudioconnector(opts) {
1029
1145
  opts = opts || {};
@@ -1039,7 +1155,8 @@ class IntegrationsApi {
1039
1155
  null,
1040
1156
  ['PureCloud OAuth'],
1041
1157
  ['application/json'],
1042
- ['application/json']
1158
+ ['application/json'],
1159
+ opts['customHeaders']
1043
1160
  );
1044
1161
  }
1045
1162
 
@@ -1047,8 +1164,12 @@ class IntegrationsApi {
1047
1164
  * Get an Audio Connector integration
1048
1165
  *
1049
1166
  * @param {String} integrationId The integration ID
1167
+ * @param {Object} opts Optional parameters
1168
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1050
1169
  */
1051
- getIntegrationsSpeechAudioconnectorIntegrationId(integrationId) {
1170
+ getIntegrationsSpeechAudioconnectorIntegrationId(integrationId, opts) {
1171
+ opts = opts || {};
1172
+
1052
1173
  // verify the required parameter 'integrationId' is set
1053
1174
  if (integrationId === undefined || integrationId === null || integrationId === '') {
1054
1175
  throw 'Missing the required parameter "integrationId" when calling getIntegrationsSpeechAudioconnectorIntegrationId';
@@ -1064,7 +1185,8 @@ class IntegrationsApi {
1064
1185
  null,
1065
1186
  ['PureCloud OAuth'],
1066
1187
  ['application/json'],
1067
- ['application/json']
1188
+ ['application/json'],
1189
+ opts['customHeaders']
1068
1190
  );
1069
1191
  }
1070
1192
 
@@ -1072,8 +1194,12 @@ class IntegrationsApi {
1072
1194
  * Get details about a Dialogflow agent
1073
1195
  *
1074
1196
  * @param {String} agentId The agent ID
1197
+ * @param {Object} opts Optional parameters
1198
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1075
1199
  */
1076
- getIntegrationsSpeechDialogflowAgent(agentId) {
1200
+ getIntegrationsSpeechDialogflowAgent(agentId, opts) {
1201
+ opts = opts || {};
1202
+
1077
1203
  // verify the required parameter 'agentId' is set
1078
1204
  if (agentId === undefined || agentId === null || agentId === '') {
1079
1205
  throw 'Missing the required parameter "agentId" when calling getIntegrationsSpeechDialogflowAgent';
@@ -1089,7 +1215,8 @@ class IntegrationsApi {
1089
1215
  null,
1090
1216
  ['PureCloud OAuth'],
1091
1217
  ['application/json'],
1092
- ['application/json']
1218
+ ['application/json'],
1219
+ opts['customHeaders']
1093
1220
  );
1094
1221
  }
1095
1222
 
@@ -1100,6 +1227,7 @@ class IntegrationsApi {
1100
1227
  * @param {Number} opts.pageNumber Page number (default to 1)
1101
1228
  * @param {Number} opts.pageSize Page size (default to 25)
1102
1229
  * @param {String} opts.name Filter on agent name
1230
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1103
1231
  */
1104
1232
  getIntegrationsSpeechDialogflowAgents(opts) {
1105
1233
  opts = opts || {};
@@ -1115,7 +1243,8 @@ class IntegrationsApi {
1115
1243
  null,
1116
1244
  ['PureCloud OAuth'],
1117
1245
  ['application/json'],
1118
- ['application/json']
1246
+ ['application/json'],
1247
+ opts['customHeaders']
1119
1248
  );
1120
1249
  }
1121
1250
 
@@ -1123,8 +1252,12 @@ class IntegrationsApi {
1123
1252
  * Get details about a Dialogflow CX agent
1124
1253
  *
1125
1254
  * @param {String} agentId The agent ID
1255
+ * @param {Object} opts Optional parameters
1256
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1126
1257
  */
1127
- getIntegrationsSpeechDialogflowcxAgent(agentId) {
1258
+ getIntegrationsSpeechDialogflowcxAgent(agentId, opts) {
1259
+ opts = opts || {};
1260
+
1128
1261
  // verify the required parameter 'agentId' is set
1129
1262
  if (agentId === undefined || agentId === null || agentId === '') {
1130
1263
  throw 'Missing the required parameter "agentId" when calling getIntegrationsSpeechDialogflowcxAgent';
@@ -1140,7 +1273,8 @@ class IntegrationsApi {
1140
1273
  null,
1141
1274
  ['PureCloud OAuth'],
1142
1275
  ['application/json'],
1143
- ['application/json']
1276
+ ['application/json'],
1277
+ opts['customHeaders']
1144
1278
  );
1145
1279
  }
1146
1280
 
@@ -1151,6 +1285,7 @@ class IntegrationsApi {
1151
1285
  * @param {Number} opts.pageNumber Page number (default to 1)
1152
1286
  * @param {Number} opts.pageSize Page size (default to 25)
1153
1287
  * @param {String} opts.name Filter on agent name
1288
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1154
1289
  */
1155
1290
  getIntegrationsSpeechDialogflowcxAgents(opts) {
1156
1291
  opts = opts || {};
@@ -1166,7 +1301,8 @@ class IntegrationsApi {
1166
1301
  null,
1167
1302
  ['PureCloud OAuth'],
1168
1303
  ['application/json'],
1169
- ['application/json']
1304
+ ['application/json'],
1305
+ opts['customHeaders']
1170
1306
  );
1171
1307
  }
1172
1308
 
@@ -1174,8 +1310,12 @@ class IntegrationsApi {
1174
1310
  * Get details about a Lex bot alias
1175
1311
  *
1176
1312
  * @param {String} aliasId The alias ID
1313
+ * @param {Object} opts Optional parameters
1314
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1177
1315
  */
1178
- getIntegrationsSpeechLexBotAlias(aliasId) {
1316
+ getIntegrationsSpeechLexBotAlias(aliasId, opts) {
1317
+ opts = opts || {};
1318
+
1179
1319
  // verify the required parameter 'aliasId' is set
1180
1320
  if (aliasId === undefined || aliasId === null || aliasId === '') {
1181
1321
  throw 'Missing the required parameter "aliasId" when calling getIntegrationsSpeechLexBotAlias';
@@ -1191,7 +1331,8 @@ class IntegrationsApi {
1191
1331
  null,
1192
1332
  ['PureCloud OAuth'],
1193
1333
  ['application/json'],
1194
- ['application/json']
1334
+ ['application/json'],
1335
+ opts['customHeaders']
1195
1336
  );
1196
1337
  }
1197
1338
 
@@ -1204,6 +1345,7 @@ class IntegrationsApi {
1204
1345
  * @param {Number} opts.pageSize Page size (default to 25)
1205
1346
  * @param {Object} opts.status Filter on alias status
1206
1347
  * @param {String} opts.name Filter on alias name
1348
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1207
1349
  */
1208
1350
  getIntegrationsSpeechLexBotBotIdAliases(botId, opts) {
1209
1351
  opts = opts || {};
@@ -1223,7 +1365,8 @@ class IntegrationsApi {
1223
1365
  null,
1224
1366
  ['PureCloud OAuth'],
1225
1367
  ['application/json'],
1226
- ['application/json']
1368
+ ['application/json'],
1369
+ opts['customHeaders']
1227
1370
  );
1228
1371
  }
1229
1372
 
@@ -1234,6 +1377,7 @@ class IntegrationsApi {
1234
1377
  * @param {Number} opts.pageNumber Page number (default to 1)
1235
1378
  * @param {Number} opts.pageSize Page size (default to 25)
1236
1379
  * @param {String} opts.name Filter on bot name
1380
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1237
1381
  */
1238
1382
  getIntegrationsSpeechLexBots(opts) {
1239
1383
  opts = opts || {};
@@ -1249,7 +1393,8 @@ class IntegrationsApi {
1249
1393
  null,
1250
1394
  ['PureCloud OAuth'],
1251
1395
  ['application/json'],
1252
- ['application/json']
1396
+ ['application/json'],
1397
+ opts['customHeaders']
1253
1398
  );
1254
1399
  }
1255
1400
 
@@ -1257,8 +1402,12 @@ class IntegrationsApi {
1257
1402
  * Get details about a Lex V2 bot alias
1258
1403
  *
1259
1404
  * @param {String} aliasId The Alias ID
1405
+ * @param {Object} opts Optional parameters
1406
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1260
1407
  */
1261
- getIntegrationsSpeechLexv2BotAlias(aliasId) {
1408
+ getIntegrationsSpeechLexv2BotAlias(aliasId, opts) {
1409
+ opts = opts || {};
1410
+
1262
1411
  // verify the required parameter 'aliasId' is set
1263
1412
  if (aliasId === undefined || aliasId === null || aliasId === '') {
1264
1413
  throw 'Missing the required parameter "aliasId" when calling getIntegrationsSpeechLexv2BotAlias';
@@ -1274,7 +1423,8 @@ class IntegrationsApi {
1274
1423
  null,
1275
1424
  ['PureCloud OAuth'],
1276
1425
  ['application/json'],
1277
- ['application/json']
1426
+ ['application/json'],
1427
+ opts['customHeaders']
1278
1428
  );
1279
1429
  }
1280
1430
 
@@ -1287,6 +1437,7 @@ class IntegrationsApi {
1287
1437
  * @param {Number} opts.pageSize Page size (default to 25)
1288
1438
  * @param {Object} opts.status Filter on alias status
1289
1439
  * @param {String} opts.name Filter on alias name
1440
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1290
1441
  */
1291
1442
  getIntegrationsSpeechLexv2BotBotIdAliases(botId, opts) {
1292
1443
  opts = opts || {};
@@ -1306,7 +1457,8 @@ class IntegrationsApi {
1306
1457
  null,
1307
1458
  ['PureCloud OAuth'],
1308
1459
  ['application/json'],
1309
- ['application/json']
1460
+ ['application/json'],
1461
+ opts['customHeaders']
1310
1462
  );
1311
1463
  }
1312
1464
 
@@ -1317,6 +1469,7 @@ class IntegrationsApi {
1317
1469
  * @param {Number} opts.pageNumber Page number (default to 1)
1318
1470
  * @param {Number} opts.pageSize Page size (default to 25)
1319
1471
  * @param {String} opts.name Filter on bot name
1472
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1320
1473
  */
1321
1474
  getIntegrationsSpeechLexv2Bots(opts) {
1322
1475
  opts = opts || {};
@@ -1332,7 +1485,8 @@ class IntegrationsApi {
1332
1485
  null,
1333
1486
  ['PureCloud OAuth'],
1334
1487
  ['application/json'],
1335
- ['application/json']
1488
+ ['application/json'],
1489
+ opts['customHeaders']
1336
1490
  );
1337
1491
  }
1338
1492
 
@@ -1344,6 +1498,7 @@ class IntegrationsApi {
1344
1498
  * @param {Object} opts Optional parameters
1345
1499
  * @param {Array.<String>} opts.expand expand
1346
1500
  * @param {Object} opts.targetChannel targetChannel
1501
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1347
1502
  */
1348
1503
  getIntegrationsSpeechNuanceNuanceIntegrationIdBot(nuanceIntegrationId, botId, opts) {
1349
1504
  opts = opts || {};
@@ -1367,7 +1522,8 @@ class IntegrationsApi {
1367
1522
  null,
1368
1523
  ['PureCloud OAuth'],
1369
1524
  ['application/json'],
1370
- ['application/json']
1525
+ ['application/json'],
1526
+ opts['customHeaders']
1371
1527
  );
1372
1528
  }
1373
1529
 
@@ -1377,8 +1533,12 @@ class IntegrationsApi {
1377
1533
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
1378
1534
  * @param {String} botId The Nuance bot ID
1379
1535
  * @param {String} jobId The asynchronous job ID
1536
+ * @param {Object} opts Optional parameters
1537
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1380
1538
  */
1381
- getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob(nuanceIntegrationId, botId, jobId) {
1539
+ getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob(nuanceIntegrationId, botId, jobId, opts) {
1540
+ opts = opts || {};
1541
+
1382
1542
  // verify the required parameter 'nuanceIntegrationId' is set
1383
1543
  if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
1384
1544
  throw 'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJob';
@@ -1402,7 +1562,8 @@ class IntegrationsApi {
1402
1562
  null,
1403
1563
  ['PureCloud OAuth'],
1404
1564
  ['application/json'],
1405
- ['application/json']
1565
+ ['application/json'],
1566
+ opts['customHeaders']
1406
1567
  );
1407
1568
  }
1408
1569
 
@@ -1412,8 +1573,12 @@ class IntegrationsApi {
1412
1573
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
1413
1574
  * @param {String} botId The Nuance bot ID
1414
1575
  * @param {String} jobId The asynchronous job ID
1576
+ * @param {Object} opts Optional parameters
1577
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1415
1578
  */
1416
- getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults(nuanceIntegrationId, botId, jobId) {
1579
+ getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults(nuanceIntegrationId, botId, jobId, opts) {
1580
+ opts = opts || {};
1581
+
1417
1582
  // verify the required parameter 'nuanceIntegrationId' is set
1418
1583
  if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
1419
1584
  throw 'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotJobResults';
@@ -1437,7 +1602,8 @@ class IntegrationsApi {
1437
1602
  null,
1438
1603
  ['PureCloud OAuth'],
1439
1604
  ['application/json'],
1440
- ['application/json']
1605
+ ['application/json'],
1606
+ opts['customHeaders']
1441
1607
  );
1442
1608
  }
1443
1609
 
@@ -1449,6 +1615,7 @@ class IntegrationsApi {
1449
1615
  * @param {Number} opts.pageNumber Page number (default to 1)
1450
1616
  * @param {Number} opts.pageSize Page size (default to 25)
1451
1617
  * @param {Boolean} opts.onlyRegisteredBots Limit bots to the ones configured for Genesys Cloud usage (default to true)
1618
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1452
1619
  */
1453
1620
  getIntegrationsSpeechNuanceNuanceIntegrationIdBots(nuanceIntegrationId, opts) {
1454
1621
  opts = opts || {};
@@ -1468,7 +1635,8 @@ class IntegrationsApi {
1468
1635
  null,
1469
1636
  ['PureCloud OAuth'],
1470
1637
  ['application/json'],
1471
- ['application/json']
1638
+ ['application/json'],
1639
+ opts['customHeaders']
1472
1640
  );
1473
1641
  }
1474
1642
 
@@ -1477,8 +1645,12 @@ class IntegrationsApi {
1477
1645
  *
1478
1646
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
1479
1647
  * @param {String} jobId The asynchronous job ID
1648
+ * @param {Object} opts Optional parameters
1649
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1480
1650
  */
1481
- getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob(nuanceIntegrationId, jobId) {
1651
+ getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob(nuanceIntegrationId, jobId, opts) {
1652
+ opts = opts || {};
1653
+
1482
1654
  // verify the required parameter 'nuanceIntegrationId' is set
1483
1655
  if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
1484
1656
  throw 'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJob';
@@ -1498,7 +1670,8 @@ class IntegrationsApi {
1498
1670
  null,
1499
1671
  ['PureCloud OAuth'],
1500
1672
  ['application/json'],
1501
- ['application/json']
1673
+ ['application/json'],
1674
+ opts['customHeaders']
1502
1675
  );
1503
1676
  }
1504
1677
 
@@ -1507,8 +1680,12 @@ class IntegrationsApi {
1507
1680
  *
1508
1681
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
1509
1682
  * @param {String} jobId The asynchronous job ID
1683
+ * @param {Object} opts Optional parameters
1684
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1510
1685
  */
1511
- getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults(nuanceIntegrationId, jobId) {
1686
+ getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults(nuanceIntegrationId, jobId, opts) {
1687
+ opts = opts || {};
1688
+
1512
1689
  // verify the required parameter 'nuanceIntegrationId' is set
1513
1690
  if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
1514
1691
  throw 'Missing the required parameter "nuanceIntegrationId" when calling getIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobResults';
@@ -1528,7 +1705,8 @@ class IntegrationsApi {
1528
1705
  null,
1529
1706
  ['PureCloud OAuth'],
1530
1707
  ['application/json'],
1531
- ['application/json']
1708
+ ['application/json'],
1709
+ opts['customHeaders']
1532
1710
  );
1533
1711
  }
1534
1712
 
@@ -1536,8 +1714,12 @@ class IntegrationsApi {
1536
1714
  * Get details about a STT engine
1537
1715
  *
1538
1716
  * @param {String} engineId The engine ID
1717
+ * @param {Object} opts Optional parameters
1718
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1539
1719
  */
1540
- getIntegrationsSpeechSttEngine(engineId) {
1720
+ getIntegrationsSpeechSttEngine(engineId, opts) {
1721
+ opts = opts || {};
1722
+
1541
1723
  // verify the required parameter 'engineId' is set
1542
1724
  if (engineId === undefined || engineId === null || engineId === '') {
1543
1725
  throw 'Missing the required parameter "engineId" when calling getIntegrationsSpeechSttEngine';
@@ -1553,7 +1735,8 @@ class IntegrationsApi {
1553
1735
  null,
1554
1736
  ['PureCloud OAuth'],
1555
1737
  ['application/json'],
1556
- ['application/json']
1738
+ ['application/json'],
1739
+ opts['customHeaders']
1557
1740
  );
1558
1741
  }
1559
1742
 
@@ -1564,6 +1747,7 @@ class IntegrationsApi {
1564
1747
  * @param {Number} opts.pageNumber Page number (default to 1)
1565
1748
  * @param {Number} opts.pageSize Page size (default to 25)
1566
1749
  * @param {String} opts.name Filter on engine name
1750
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1567
1751
  */
1568
1752
  getIntegrationsSpeechSttEngines(opts) {
1569
1753
  opts = opts || {};
@@ -1579,7 +1763,8 @@ class IntegrationsApi {
1579
1763
  null,
1580
1764
  ['PureCloud OAuth'],
1581
1765
  ['application/json'],
1582
- ['application/json']
1766
+ ['application/json'],
1767
+ opts['customHeaders']
1583
1768
  );
1584
1769
  }
1585
1770
 
@@ -1589,6 +1774,7 @@ class IntegrationsApi {
1589
1774
  * @param {String} engineId The engine ID
1590
1775
  * @param {Object} opts Optional parameters
1591
1776
  * @param {Boolean} opts.includeVoices Include voices for the engine (default to false)
1777
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1592
1778
  */
1593
1779
  getIntegrationsSpeechTtsEngine(engineId, opts) {
1594
1780
  opts = opts || {};
@@ -1608,7 +1794,8 @@ class IntegrationsApi {
1608
1794
  null,
1609
1795
  ['PureCloud OAuth'],
1610
1796
  ['application/json'],
1611
- ['application/json']
1797
+ ['application/json'],
1798
+ opts['customHeaders']
1612
1799
  );
1613
1800
  }
1614
1801
 
@@ -1617,8 +1804,12 @@ class IntegrationsApi {
1617
1804
  *
1618
1805
  * @param {String} engineId The engine ID
1619
1806
  * @param {String} voiceId The voice ID
1807
+ * @param {Object} opts Optional parameters
1808
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1620
1809
  */
1621
- getIntegrationsSpeechTtsEngineVoice(engineId, voiceId) {
1810
+ getIntegrationsSpeechTtsEngineVoice(engineId, voiceId, opts) {
1811
+ opts = opts || {};
1812
+
1622
1813
  // verify the required parameter 'engineId' is set
1623
1814
  if (engineId === undefined || engineId === null || engineId === '') {
1624
1815
  throw 'Missing the required parameter "engineId" when calling getIntegrationsSpeechTtsEngineVoice';
@@ -1638,7 +1829,8 @@ class IntegrationsApi {
1638
1829
  null,
1639
1830
  ['PureCloud OAuth'],
1640
1831
  ['application/json'],
1641
- ['application/json']
1832
+ ['application/json'],
1833
+ opts['customHeaders']
1642
1834
  );
1643
1835
  }
1644
1836
 
@@ -1649,6 +1841,7 @@ class IntegrationsApi {
1649
1841
  * @param {Object} opts Optional parameters
1650
1842
  * @param {Number} opts.pageNumber Page number (default to 1)
1651
1843
  * @param {Number} opts.pageSize Page size (default to 25)
1844
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1652
1845
  */
1653
1846
  getIntegrationsSpeechTtsEngineVoices(engineId, opts) {
1654
1847
  opts = opts || {};
@@ -1668,7 +1861,8 @@ class IntegrationsApi {
1668
1861
  null,
1669
1862
  ['PureCloud OAuth'],
1670
1863
  ['application/json'],
1671
- ['application/json']
1864
+ ['application/json'],
1865
+ opts['customHeaders']
1672
1866
  );
1673
1867
  }
1674
1868
 
@@ -1681,6 +1875,7 @@ class IntegrationsApi {
1681
1875
  * @param {Boolean} opts.includeVoices Include voices for the engine (default to false)
1682
1876
  * @param {String} opts.name Filter on engine name
1683
1877
  * @param {String} opts.language Filter on supported language. If includeVoices=true then the voices are also filtered.
1878
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1684
1879
  */
1685
1880
  getIntegrationsSpeechTtsEngines(opts) {
1686
1881
  opts = opts || {};
@@ -1696,15 +1891,20 @@ class IntegrationsApi {
1696
1891
  null,
1697
1892
  ['PureCloud OAuth'],
1698
1893
  ['application/json'],
1699
- ['application/json']
1894
+ ['application/json'],
1895
+ opts['customHeaders']
1700
1896
  );
1701
1897
  }
1702
1898
 
1703
1899
  /**
1704
1900
  * Get TTS settings for an org
1705
1901
  *
1902
+ * @param {Object} opts Optional parameters
1903
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1706
1904
  */
1707
- getIntegrationsSpeechTtsSettings() {
1905
+ getIntegrationsSpeechTtsSettings(opts) {
1906
+ opts = opts || {};
1907
+
1708
1908
 
1709
1909
  return this.apiClient.callApi(
1710
1910
  '/api/v2/integrations/speech/tts/settings',
@@ -1716,7 +1916,8 @@ class IntegrationsApi {
1716
1916
  null,
1717
1917
  ['PureCloud OAuth'],
1718
1918
  ['application/json'],
1719
- ['application/json']
1919
+ ['application/json'],
1920
+ opts['customHeaders']
1720
1921
  );
1721
1922
  }
1722
1923
 
@@ -1724,8 +1925,12 @@ class IntegrationsApi {
1724
1925
  * Get integration type.
1725
1926
  *
1726
1927
  * @param {String} typeId Integration Type Id
1928
+ * @param {Object} opts Optional parameters
1929
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1727
1930
  */
1728
- getIntegrationsType(typeId) {
1931
+ getIntegrationsType(typeId, opts) {
1932
+ opts = opts || {};
1933
+
1729
1934
  // verify the required parameter 'typeId' is set
1730
1935
  if (typeId === undefined || typeId === null || typeId === '') {
1731
1936
  throw 'Missing the required parameter "typeId" when calling getIntegrationsType';
@@ -1741,7 +1946,8 @@ class IntegrationsApi {
1741
1946
  null,
1742
1947
  ['PureCloud OAuth'],
1743
1948
  ['application/json'],
1744
- ['application/json']
1949
+ ['application/json'],
1950
+ opts['customHeaders']
1745
1951
  );
1746
1952
  }
1747
1953
 
@@ -1750,8 +1956,12 @@ class IntegrationsApi {
1750
1956
  *
1751
1957
  * @param {String} typeId Integration Type Id
1752
1958
  * @param {Object} configType Config schema type
1959
+ * @param {Object} opts Optional parameters
1960
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1753
1961
  */
1754
- getIntegrationsTypeConfigschema(typeId, configType) {
1962
+ getIntegrationsTypeConfigschema(typeId, configType, opts) {
1963
+ opts = opts || {};
1964
+
1755
1965
  // verify the required parameter 'typeId' is set
1756
1966
  if (typeId === undefined || typeId === null || typeId === '') {
1757
1967
  throw 'Missing the required parameter "typeId" when calling getIntegrationsTypeConfigschema';
@@ -1771,7 +1981,8 @@ class IntegrationsApi {
1771
1981
  null,
1772
1982
  ['PureCloud OAuth'],
1773
1983
  ['application/json'],
1774
- ['application/json']
1984
+ ['application/json'],
1985
+ opts['customHeaders']
1775
1986
  );
1776
1987
  }
1777
1988
 
@@ -1785,6 +1996,7 @@ class IntegrationsApi {
1785
1996
  * @param {Array.<String>} opts.expand variable name requested by expand list
1786
1997
  * @param {String} opts.nextPage next page token
1787
1998
  * @param {String} opts.previousPage Previous page token
1999
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1788
2000
  */
1789
2001
  getIntegrationsTypes(opts) {
1790
2002
  opts = opts || {};
@@ -1800,7 +2012,8 @@ class IntegrationsApi {
1800
2012
  null,
1801
2013
  ['PureCloud OAuth'],
1802
2014
  ['application/json'],
1803
- ['application/json']
2015
+ ['application/json'],
2016
+ opts['customHeaders']
1804
2017
  );
1805
2018
  }
1806
2019
 
@@ -1808,8 +2021,12 @@ class IntegrationsApi {
1808
2021
  * UC integration client application configuration.
1809
2022
  * This endpoint returns basic UI configuration data for the specified Unified Communications integration client application.
1810
2023
  * @param {String} ucIntegrationId 3rd Party Service Type
2024
+ * @param {Object} opts Optional parameters
2025
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1811
2026
  */
1812
- getIntegrationsUnifiedcommunicationsClientapp(ucIntegrationId) {
2027
+ getIntegrationsUnifiedcommunicationsClientapp(ucIntegrationId, opts) {
2028
+ opts = opts || {};
2029
+
1813
2030
  // verify the required parameter 'ucIntegrationId' is set
1814
2031
  if (ucIntegrationId === undefined || ucIntegrationId === null || ucIntegrationId === '') {
1815
2032
  throw 'Missing the required parameter "ucIntegrationId" when calling getIntegrationsUnifiedcommunicationsClientapp';
@@ -1825,7 +2042,8 @@ class IntegrationsApi {
1825
2042
  null,
1826
2043
  ['PureCloud OAuth'],
1827
2044
  ['application/json'],
1828
- ['application/json']
2045
+ ['application/json'],
2046
+ opts['customHeaders']
1829
2047
  );
1830
2048
  }
1831
2049
 
@@ -1839,6 +2057,7 @@ class IntegrationsApi {
1839
2057
  * @param {Array.<String>} opts.expand variable name requested by expand list
1840
2058
  * @param {String} opts.nextPage next page token
1841
2059
  * @param {String} opts.previousPage Previous page token
2060
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1842
2061
  */
1843
2062
  getIntegrationsUnifiedcommunicationsClientapps(opts) {
1844
2063
  opts = opts || {};
@@ -1854,7 +2073,8 @@ class IntegrationsApi {
1854
2073
  null,
1855
2074
  ['PureCloud OAuth'],
1856
2075
  ['application/json'],
1857
- ['application/json']
2076
+ ['application/json'],
2077
+ opts['customHeaders']
1858
2078
  );
1859
2079
  }
1860
2080
 
@@ -1869,6 +2089,7 @@ class IntegrationsApi {
1869
2089
  * @param {String} opts.nextPage next page token
1870
2090
  * @param {String} opts.previousPage Previous page token
1871
2091
  * @param {String} opts.appHost The type of UserApp to filter by
2092
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1872
2093
  */
1873
2094
  getIntegrationsUserapps(opts) {
1874
2095
  opts = opts || {};
@@ -1884,7 +2105,8 @@ class IntegrationsApi {
1884
2105
  null,
1885
2106
  ['PureCloud OAuth'],
1886
2107
  ['application/json'],
1887
- ['application/json']
2108
+ ['application/json'],
2109
+ opts['customHeaders']
1888
2110
  );
1889
2111
  }
1890
2112
 
@@ -1900,6 +2122,7 @@ class IntegrationsApi {
1900
2122
  * @param {String} opts.nextPage next page token
1901
2123
  * @param {String} opts.previousPage Previous page token
1902
2124
  * @param {Object} opts.body Integration Update
2125
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1903
2126
  */
1904
2127
  patchIntegration(integrationId, opts) {
1905
2128
  opts = opts || {};
@@ -1919,7 +2142,8 @@ class IntegrationsApi {
1919
2142
  opts['body'],
1920
2143
  ['PureCloud OAuth'],
1921
2144
  ['application/json'],
1922
- ['application/json']
2145
+ ['application/json'],
2146
+ opts['customHeaders']
1923
2147
  );
1924
2148
  }
1925
2149
 
@@ -1928,8 +2152,12 @@ class IntegrationsApi {
1928
2152
  *
1929
2153
  * @param {String} actionId actionId
1930
2154
  * @param {Object} body Input used to patch the Action.
2155
+ * @param {Object} opts Optional parameters
2156
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1931
2157
  */
1932
- patchIntegrationsAction(actionId, body) {
2158
+ patchIntegrationsAction(actionId, body, opts) {
2159
+ opts = opts || {};
2160
+
1933
2161
  // verify the required parameter 'actionId' is set
1934
2162
  if (actionId === undefined || actionId === null || actionId === '') {
1935
2163
  throw 'Missing the required parameter "actionId" when calling patchIntegrationsAction';
@@ -1949,7 +2177,8 @@ class IntegrationsApi {
1949
2177
  body,
1950
2178
  ['PureCloud OAuth'],
1951
2179
  ['application/json'],
1952
- ['application/json']
2180
+ ['application/json'],
2181
+ opts['customHeaders']
1953
2182
  );
1954
2183
  }
1955
2184
 
@@ -1958,8 +2187,12 @@ class IntegrationsApi {
1958
2187
  *
1959
2188
  * @param {String} actionId actionId
1960
2189
  * @param {Object} body Input used to patch the Action Draft.
2190
+ * @param {Object} opts Optional parameters
2191
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1961
2192
  */
1962
- patchIntegrationsActionDraft(actionId, body) {
2193
+ patchIntegrationsActionDraft(actionId, body, opts) {
2194
+ opts = opts || {};
2195
+
1963
2196
  // verify the required parameter 'actionId' is set
1964
2197
  if (actionId === undefined || actionId === null || actionId === '') {
1965
2198
  throw 'Missing the required parameter "actionId" when calling patchIntegrationsActionDraft';
@@ -1979,7 +2212,8 @@ class IntegrationsApi {
1979
2212
  body,
1980
2213
  ['PureCloud OAuth'],
1981
2214
  ['application/json'],
1982
- ['application/json']
2215
+ ['application/json'],
2216
+ opts['customHeaders']
1983
2217
  );
1984
2218
  }
1985
2219
 
@@ -1988,6 +2222,7 @@ class IntegrationsApi {
1988
2222
  *
1989
2223
  * @param {Object} opts Optional parameters
1990
2224
  * @param {Object} opts.body Integration
2225
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1991
2226
  */
1992
2227
  postIntegrations(opts) {
1993
2228
  opts = opts || {};
@@ -2003,7 +2238,8 @@ class IntegrationsApi {
2003
2238
  opts['body'],
2004
2239
  ['PureCloud OAuth'],
2005
2240
  ['application/json'],
2006
- ['application/json']
2241
+ ['application/json'],
2242
+ opts['customHeaders']
2007
2243
  );
2008
2244
  }
2009
2245
 
@@ -2011,8 +2247,12 @@ class IntegrationsApi {
2011
2247
  * Create a new Draft from existing Action
2012
2248
  *
2013
2249
  * @param {String} actionId actionId
2250
+ * @param {Object} opts Optional parameters
2251
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2014
2252
  */
2015
- postIntegrationsActionDraft(actionId) {
2253
+ postIntegrationsActionDraft(actionId, opts) {
2254
+ opts = opts || {};
2255
+
2016
2256
  // verify the required parameter 'actionId' is set
2017
2257
  if (actionId === undefined || actionId === null || actionId === '') {
2018
2258
  throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraft';
@@ -2028,7 +2268,8 @@ class IntegrationsApi {
2028
2268
  null,
2029
2269
  ['PureCloud OAuth'],
2030
2270
  ['application/json'],
2031
- ['application/json']
2271
+ ['application/json'],
2272
+ opts['customHeaders']
2032
2273
  );
2033
2274
  }
2034
2275
 
@@ -2037,8 +2278,12 @@ class IntegrationsApi {
2037
2278
  *
2038
2279
  * @param {String} actionId actionId
2039
2280
  * @param {Object} body Input used to request URL upload.
2281
+ * @param {Object} opts Optional parameters
2282
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2040
2283
  */
2041
- postIntegrationsActionDraftFunctionUpload(actionId, body) {
2284
+ postIntegrationsActionDraftFunctionUpload(actionId, body, opts) {
2285
+ opts = opts || {};
2286
+
2042
2287
  // verify the required parameter 'actionId' is set
2043
2288
  if (actionId === undefined || actionId === null || actionId === '') {
2044
2289
  throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';
@@ -2058,7 +2303,8 @@ class IntegrationsApi {
2058
2303
  body,
2059
2304
  ['PureCloud OAuth'],
2060
2305
  ['application/json'],
2061
- ['application/json']
2306
+ ['application/json'],
2307
+ opts['customHeaders']
2062
2308
  );
2063
2309
  }
2064
2310
 
@@ -2067,8 +2313,12 @@ class IntegrationsApi {
2067
2313
  *
2068
2314
  * @param {String} actionId actionId
2069
2315
  * @param {Object} body Input used to patch the Action.
2316
+ * @param {Object} opts Optional parameters
2317
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2070
2318
  */
2071
- postIntegrationsActionDraftPublish(actionId, body) {
2319
+ postIntegrationsActionDraftPublish(actionId, body, opts) {
2320
+ opts = opts || {};
2321
+
2072
2322
  // verify the required parameter 'actionId' is set
2073
2323
  if (actionId === undefined || actionId === null || actionId === '') {
2074
2324
  throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraftPublish';
@@ -2088,7 +2338,8 @@ class IntegrationsApi {
2088
2338
  body,
2089
2339
  ['PureCloud OAuth'],
2090
2340
  ['application/json'],
2091
- ['application/json']
2341
+ ['application/json'],
2342
+ opts['customHeaders']
2092
2343
  );
2093
2344
  }
2094
2345
 
@@ -2099,6 +2350,7 @@ class IntegrationsApi {
2099
2350
  * @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
2100
2351
  * @param {Object} opts Optional parameters
2101
2352
  * @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
2353
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2102
2354
  */
2103
2355
  postIntegrationsActionDraftTest(actionId, body, opts) {
2104
2356
  opts = opts || {};
@@ -2122,7 +2374,8 @@ class IntegrationsApi {
2122
2374
  body,
2123
2375
  ['PureCloud OAuth'],
2124
2376
  ['application/json'],
2125
- ['application/json']
2377
+ ['application/json'],
2378
+ opts['customHeaders']
2126
2379
  );
2127
2380
  }
2128
2381
 
@@ -2133,6 +2386,7 @@ class IntegrationsApi {
2133
2386
  * @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
2134
2387
  * @param {Object} opts Optional parameters
2135
2388
  * @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
2389
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2136
2390
  */
2137
2391
  postIntegrationsActionExecute(actionId, body, opts) {
2138
2392
  opts = opts || {};
@@ -2156,7 +2410,8 @@ class IntegrationsApi {
2156
2410
  body,
2157
2411
  ['PureCloud OAuth'],
2158
2412
  ['application/json'],
2159
- ['application/json']
2413
+ ['application/json'],
2414
+ opts['customHeaders']
2160
2415
  );
2161
2416
  }
2162
2417
 
@@ -2167,6 +2422,7 @@ class IntegrationsApi {
2167
2422
  * @param {Object.<String, {String: Object}>} body Map of parameters used for variable substitution.
2168
2423
  * @param {Object} opts Optional parameters
2169
2424
  * @param {Boolean} opts.flatten Indicates the response should be reformatted, based on Architect's flattening format. (default to false)
2425
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2170
2426
  */
2171
2427
  postIntegrationsActionTest(actionId, body, opts) {
2172
2428
  opts = opts || {};
@@ -2190,7 +2446,8 @@ class IntegrationsApi {
2190
2446
  body,
2191
2447
  ['PureCloud OAuth'],
2192
2448
  ['application/json'],
2193
- ['application/json']
2449
+ ['application/json'],
2450
+ opts['customHeaders']
2194
2451
  );
2195
2452
  }
2196
2453
 
@@ -2198,8 +2455,12 @@ class IntegrationsApi {
2198
2455
  * Create a new Action. Not supported for 'Function Integration' actions. Function integrations must be created as drafts to allow managing of uploading required ZIP function package before they may be used as a published action.
2199
2456
  *
2200
2457
  * @param {Object} body Input used to create Action.
2458
+ * @param {Object} opts Optional parameters
2459
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2201
2460
  */
2202
- postIntegrationsActions(body) {
2461
+ postIntegrationsActions(body, opts) {
2462
+ opts = opts || {};
2463
+
2203
2464
  // verify the required parameter 'body' is set
2204
2465
  if (body === undefined || body === null) {
2205
2466
  throw 'Missing the required parameter "body" when calling postIntegrationsActions';
@@ -2215,7 +2476,8 @@ class IntegrationsApi {
2215
2476
  body,
2216
2477
  ['PureCloud OAuth'],
2217
2478
  ['application/json'],
2218
- ['application/json']
2479
+ ['application/json'],
2480
+ opts['customHeaders']
2219
2481
  );
2220
2482
  }
2221
2483
 
@@ -2223,8 +2485,12 @@ class IntegrationsApi {
2223
2485
  * Create a new Draft
2224
2486
  *
2225
2487
  * @param {Object} body Input used to create Action Draft.
2488
+ * @param {Object} opts Optional parameters
2489
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2226
2490
  */
2227
- postIntegrationsActionsDrafts(body) {
2491
+ postIntegrationsActionsDrafts(body, opts) {
2492
+ opts = opts || {};
2493
+
2228
2494
  // verify the required parameter 'body' is set
2229
2495
  if (body === undefined || body === null) {
2230
2496
  throw 'Missing the required parameter "body" when calling postIntegrationsActionsDrafts';
@@ -2240,7 +2506,8 @@ class IntegrationsApi {
2240
2506
  body,
2241
2507
  ['PureCloud OAuth'],
2242
2508
  ['application/json'],
2243
- ['application/json']
2509
+ ['application/json'],
2510
+ opts['customHeaders']
2244
2511
  );
2245
2512
  }
2246
2513
 
@@ -2248,9 +2515,13 @@ class IntegrationsApi {
2248
2515
  * Send an incoming message to the bot.
2249
2516
  *
2250
2517
  * @param {Object} body Incoming Message Request
2518
+ * @param {Object} opts Optional parameters
2519
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2251
2520
  * postIntegrationsBotconnectorsIncomingMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2252
2521
  */
2253
- postIntegrationsBotconnectorsIncomingMessages(body) {
2522
+ postIntegrationsBotconnectorsIncomingMessages(body, opts) {
2523
+ opts = opts || {};
2524
+
2254
2525
  // verify the required parameter 'body' is set
2255
2526
  if (body === undefined || body === null) {
2256
2527
  throw 'Missing the required parameter "body" when calling postIntegrationsBotconnectorsIncomingMessages';
@@ -2266,7 +2537,8 @@ class IntegrationsApi {
2266
2537
  body,
2267
2538
  ['PureCloud OAuth'],
2268
2539
  ['application/json'],
2269
- ['application/json']
2540
+ ['application/json'],
2541
+ opts['customHeaders']
2270
2542
  );
2271
2543
  }
2272
2544
 
@@ -2274,9 +2546,13 @@ class IntegrationsApi {
2274
2546
  * Send an outgoing message to the end user.
2275
2547
  *
2276
2548
  * @param {Object} body Outgoing Message Request
2549
+ * @param {Object} opts Optional parameters
2550
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2277
2551
  * postIntegrationsBotconnectorsOutgoingMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2278
2552
  */
2279
- postIntegrationsBotconnectorsOutgoingMessages(body) {
2553
+ postIntegrationsBotconnectorsOutgoingMessages(body, opts) {
2554
+ opts = opts || {};
2555
+
2280
2556
  // verify the required parameter 'body' is set
2281
2557
  if (body === undefined || body === null) {
2282
2558
  throw 'Missing the required parameter "body" when calling postIntegrationsBotconnectorsOutgoingMessages';
@@ -2292,7 +2568,8 @@ class IntegrationsApi {
2292
2568
  body,
2293
2569
  ['PureCloud OAuth'],
2294
2570
  ['application/json'],
2295
- ['application/json']
2571
+ ['application/json'],
2572
+ opts['customHeaders']
2296
2573
  );
2297
2574
  }
2298
2575
 
@@ -2301,6 +2578,7 @@ class IntegrationsApi {
2301
2578
  *
2302
2579
  * @param {Object} opts Optional parameters
2303
2580
  * @param {Object} opts.body Credential
2581
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2304
2582
  */
2305
2583
  postIntegrationsCredentials(opts) {
2306
2584
  opts = opts || {};
@@ -2316,7 +2594,8 @@ class IntegrationsApi {
2316
2594
  opts['body'],
2317
2595
  ['PureCloud OAuth'],
2318
2596
  ['application/json'],
2319
- ['application/json']
2597
+ ['application/json'],
2598
+ opts['customHeaders']
2320
2599
  );
2321
2600
  }
2322
2601
 
@@ -2328,6 +2607,7 @@ class IntegrationsApi {
2328
2607
  * @param {Object} opts Optional parameters
2329
2608
  * @param {Array.<String>} opts.expand expand
2330
2609
  * @param {String} opts.body targetChannel
2610
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2331
2611
  */
2332
2612
  postIntegrationsSpeechNuanceNuanceIntegrationIdBotJobs(nuanceIntegrationId, botId, opts) {
2333
2613
  opts = opts || {};
@@ -2351,7 +2631,8 @@ class IntegrationsApi {
2351
2631
  opts['body'],
2352
2632
  ['PureCloud OAuth'],
2353
2633
  ['application/json'],
2354
- ['application/json']
2634
+ ['application/json'],
2635
+ opts['customHeaders']
2355
2636
  );
2356
2637
  }
2357
2638
 
@@ -2363,6 +2644,7 @@ class IntegrationsApi {
2363
2644
  * @param {Number} opts.pageNumber Page number (default to 1)
2364
2645
  * @param {Number} opts.pageSize Page size (default to 25)
2365
2646
  * @param {Boolean} opts.onlyRegisteredBots Limit bots to the ones configured for Genesys Cloud usage (default to true)
2647
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2366
2648
  */
2367
2649
  postIntegrationsSpeechNuanceNuanceIntegrationIdBotsJobs(nuanceIntegrationId, opts) {
2368
2650
  opts = opts || {};
@@ -2382,7 +2664,8 @@ class IntegrationsApi {
2382
2664
  null,
2383
2665
  ['PureCloud OAuth'],
2384
2666
  ['application/json'],
2385
- ['application/json']
2667
+ ['application/json'],
2668
+ opts['customHeaders']
2386
2669
  );
2387
2670
  }
2388
2671
 
@@ -2391,8 +2674,12 @@ class IntegrationsApi {
2391
2674
  *
2392
2675
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
2393
2676
  * @param {Object} settings
2677
+ * @param {Object} opts Optional parameters
2678
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2394
2679
  */
2395
- postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate(nuanceIntegrationId, settings) {
2680
+ postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate(nuanceIntegrationId, settings, opts) {
2681
+ opts = opts || {};
2682
+
2396
2683
  // verify the required parameter 'nuanceIntegrationId' is set
2397
2684
  if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
2398
2685
  throw 'Missing the required parameter "nuanceIntegrationId" when calling postIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchValidate';
@@ -2412,7 +2699,8 @@ class IntegrationsApi {
2412
2699
  settings,
2413
2700
  ['PureCloud OAuth'],
2414
2701
  ['application/json'],
2415
- ['application/json']
2702
+ ['application/json'],
2703
+ opts['customHeaders']
2416
2704
  );
2417
2705
  }
2418
2706
 
@@ -2421,8 +2709,12 @@ class IntegrationsApi {
2421
2709
  *
2422
2710
  * @param {String} tokenId The token of the webhook to be invoked
2423
2711
  * @param {Object.<String, {String: Object}>} body Webhook Invocation Payload
2712
+ * @param {Object} opts Optional parameters
2713
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2424
2714
  */
2425
- postIntegrationsWebhookEvents(tokenId, body) {
2715
+ postIntegrationsWebhookEvents(tokenId, body, opts) {
2716
+ opts = opts || {};
2717
+
2426
2718
  // verify the required parameter 'tokenId' is set
2427
2719
  if (tokenId === undefined || tokenId === null || tokenId === '') {
2428
2720
  throw 'Missing the required parameter "tokenId" when calling postIntegrationsWebhookEvents';
@@ -2442,7 +2734,8 @@ class IntegrationsApi {
2442
2734
  body,
2443
2735
  ['PureCloud OAuth'],
2444
2736
  ['application/json'],
2445
- ['application/json']
2737
+ ['application/json'],
2738
+ opts['customHeaders']
2446
2739
  );
2447
2740
  }
2448
2741
 
@@ -2452,6 +2745,7 @@ class IntegrationsApi {
2452
2745
  * @param {String} integrationId Integration Id
2453
2746
  * @param {Object} opts Optional parameters
2454
2747
  * @param {Object} opts.body Integration Configuration
2748
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2455
2749
  */
2456
2750
  putIntegrationConfigCurrent(integrationId, opts) {
2457
2751
  opts = opts || {};
@@ -2471,7 +2765,8 @@ class IntegrationsApi {
2471
2765
  opts['body'],
2472
2766
  ['PureCloud OAuth'],
2473
2767
  ['application/json'],
2474
- ['application/json']
2768
+ ['application/json'],
2769
+ opts['customHeaders']
2475
2770
  );
2476
2771
  }
2477
2772
 
@@ -2480,8 +2775,12 @@ class IntegrationsApi {
2480
2775
  *
2481
2776
  * @param {String} actionId actionId
2482
2777
  * @param {Object} body Input used to update function settings.
2778
+ * @param {Object} opts Optional parameters
2779
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2483
2780
  */
2484
- putIntegrationsActionDraftFunction(actionId, body) {
2781
+ putIntegrationsActionDraftFunction(actionId, body, opts) {
2782
+ opts = opts || {};
2783
+
2485
2784
  // verify the required parameter 'actionId' is set
2486
2785
  if (actionId === undefined || actionId === null || actionId === '') {
2487
2786
  throw 'Missing the required parameter "actionId" when calling putIntegrationsActionDraftFunction';
@@ -2501,7 +2800,8 @@ class IntegrationsApi {
2501
2800
  body,
2502
2801
  ['PureCloud OAuth'],
2503
2802
  ['application/json'],
2504
- ['application/json']
2803
+ ['application/json'],
2804
+ opts['customHeaders']
2505
2805
  );
2506
2806
  }
2507
2807
 
@@ -2510,8 +2810,12 @@ class IntegrationsApi {
2510
2810
  *
2511
2811
  * @param {String} integrationId The integration ID for this group of bots
2512
2812
  * @param {Object} botList
2813
+ * @param {Object} opts Optional parameters
2814
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2513
2815
  */
2514
- putIntegrationsBotconnectorIntegrationIdBots(integrationId, botList) {
2816
+ putIntegrationsBotconnectorIntegrationIdBots(integrationId, botList, opts) {
2817
+ opts = opts || {};
2818
+
2515
2819
  // verify the required parameter 'integrationId' is set
2516
2820
  if (integrationId === undefined || integrationId === null || integrationId === '') {
2517
2821
  throw 'Missing the required parameter "integrationId" when calling putIntegrationsBotconnectorIntegrationIdBots';
@@ -2531,7 +2835,8 @@ class IntegrationsApi {
2531
2835
  botList,
2532
2836
  ['PureCloud OAuth'],
2533
2837
  ['application/json'],
2534
- ['application/json']
2838
+ ['application/json'],
2839
+ opts['customHeaders']
2535
2840
  );
2536
2841
  }
2537
2842
 
@@ -2541,6 +2846,7 @@ class IntegrationsApi {
2541
2846
  * @param {String} credentialId Credential ID
2542
2847
  * @param {Object} opts Optional parameters
2543
2848
  * @param {Object} opts.body Credential
2849
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2544
2850
  */
2545
2851
  putIntegrationsCredential(credentialId, opts) {
2546
2852
  opts = opts || {};
@@ -2560,7 +2866,8 @@ class IntegrationsApi {
2560
2866
  opts['body'],
2561
2867
  ['PureCloud OAuth'],
2562
2868
  ['application/json'],
2563
- ['application/json']
2869
+ ['application/json'],
2870
+ opts['customHeaders']
2564
2871
  );
2565
2872
  }
2566
2873
 
@@ -2569,8 +2876,12 @@ class IntegrationsApi {
2569
2876
  *
2570
2877
  * @param {String} nuanceIntegrationId The integration ID for this group of bots
2571
2878
  * @param {Object} settings
2879
+ * @param {Object} opts Optional parameters
2880
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2572
2881
  */
2573
- putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings(nuanceIntegrationId, settings) {
2882
+ putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings(nuanceIntegrationId, settings, opts) {
2883
+ opts = opts || {};
2884
+
2574
2885
  // verify the required parameter 'nuanceIntegrationId' is set
2575
2886
  if (nuanceIntegrationId === undefined || nuanceIntegrationId === null || nuanceIntegrationId === '') {
2576
2887
  throw 'Missing the required parameter "nuanceIntegrationId" when calling putIntegrationsSpeechNuanceNuanceIntegrationIdBotsLaunchSettings';
@@ -2590,7 +2901,8 @@ class IntegrationsApi {
2590
2901
  settings,
2591
2902
  ['PureCloud OAuth'],
2592
2903
  ['application/json'],
2593
- ['application/json']
2904
+ ['application/json'],
2905
+ opts['customHeaders']
2594
2906
  );
2595
2907
  }
2596
2908
 
@@ -2598,8 +2910,12 @@ class IntegrationsApi {
2598
2910
  * Update TTS settings for an org
2599
2911
  *
2600
2912
  * @param {Object} body Updated TtsSettings
2913
+ * @param {Object} opts Optional parameters
2914
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2601
2915
  */
2602
- putIntegrationsSpeechTtsSettings(body) {
2916
+ putIntegrationsSpeechTtsSettings(body, opts) {
2917
+ opts = opts || {};
2918
+
2603
2919
  // verify the required parameter 'body' is set
2604
2920
  if (body === undefined || body === null) {
2605
2921
  throw 'Missing the required parameter "body" when calling putIntegrationsSpeechTtsSettings';
@@ -2615,7 +2931,8 @@ class IntegrationsApi {
2615
2931
  body,
2616
2932
  ['PureCloud OAuth'],
2617
2933
  ['application/json'],
2618
- ['application/json']
2934
+ ['application/json'],
2935
+ opts['customHeaders']
2619
2936
  );
2620
2937
  }
2621
2938
 
@@ -2624,8 +2941,12 @@ class IntegrationsApi {
2624
2941
  * This endpoint accepts bulk presence updates from a 3rd-party presence integration and maps the 3rd-party user to a Genesys Cloud user via the matching email address. The 3rd-party presence value will be mapped to a Genesys Cloud organization presence definition value.
2625
2942
  * @param {String} ucIntegrationId UC Integration ID
2626
2943
  * @param {Array.<Object>} body List of User presences
2944
+ * @param {Object} opts Optional parameters
2945
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2627
2946
  */
2628
- putIntegrationsUnifiedcommunicationThirdpartypresences(ucIntegrationId, body) {
2947
+ putIntegrationsUnifiedcommunicationThirdpartypresences(ucIntegrationId, body, opts) {
2948
+ opts = opts || {};
2949
+
2629
2950
  // verify the required parameter 'ucIntegrationId' is set
2630
2951
  if (ucIntegrationId === undefined || ucIntegrationId === null || ucIntegrationId === '') {
2631
2952
  throw 'Missing the required parameter "ucIntegrationId" when calling putIntegrationsUnifiedcommunicationThirdpartypresences';
@@ -2645,7 +2966,8 @@ class IntegrationsApi {
2645
2966
  body,
2646
2967
  ['PureCloud OAuth'],
2647
2968
  ['application/json'],
2648
- ['application/json']
2969
+ ['application/json'],
2970
+ opts['customHeaders']
2649
2971
  );
2650
2972
  }
2651
2973