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 SpeechTextAnalyticsApi {
5
5
  /**
6
6
  * SpeechTextAnalytics service.
7
7
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
8
- * @version 249.0.0
8
+ * @version 250.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -24,8 +24,12 @@ class SpeechTextAnalyticsApi {
24
24
  * Delete a Speech and Text Analytics category by ID
25
25
  *
26
26
  * @param {String} categoryId The id of the category
27
+ * @param {Object} opts Optional parameters
28
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
27
29
  */
28
- deleteSpeechandtextanalyticsCategory(categoryId) {
30
+ deleteSpeechandtextanalyticsCategory(categoryId, opts) {
31
+ opts = opts || {};
32
+
29
33
  // verify the required parameter 'categoryId' is set
30
34
  if (categoryId === undefined || categoryId === null || categoryId === '') {
31
35
  throw 'Missing the required parameter "categoryId" when calling deleteSpeechandtextanalyticsCategory';
@@ -41,7 +45,8 @@ class SpeechTextAnalyticsApi {
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 SpeechTextAnalyticsApi {
49
54
  * Delete a Speech and Text Analytics DictionaryFeedback by Id
50
55
  *
51
56
  * @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
57
+ * @param {Object} opts Optional parameters
58
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
52
59
  */
53
- deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(dictionaryFeedbackId) {
60
+ deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(dictionaryFeedbackId, opts) {
61
+ opts = opts || {};
62
+
54
63
  // verify the required parameter 'dictionaryFeedbackId' is set
55
64
  if (dictionaryFeedbackId === undefined || dictionaryFeedbackId === null || dictionaryFeedbackId === '') {
56
65
  throw 'Missing the required parameter "dictionaryFeedbackId" when calling deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId';
@@ -66,7 +75,8 @@ class SpeechTextAnalyticsApi {
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
 
@@ -76,6 +86,7 @@ class SpeechTextAnalyticsApi {
76
86
  * @param {String} programId The id of the program
77
87
  * @param {Object} opts Optional parameters
78
88
  * @param {Object} opts.forceDelete Indicates whether the program is forced to be deleted or not. Required when the program to delete is the default program. (default to false)
89
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
79
90
  */
80
91
  deleteSpeechandtextanalyticsProgram(programId, opts) {
81
92
  opts = opts || {};
@@ -95,7 +106,8 @@ class SpeechTextAnalyticsApi {
95
106
  null,
96
107
  ['PureCloud OAuth'],
97
108
  ['application/json'],
98
- ['application/json']
109
+ ['application/json'],
110
+ opts['customHeaders']
99
111
  );
100
112
  }
101
113
 
@@ -103,9 +115,13 @@ class SpeechTextAnalyticsApi {
103
115
  * Delete a Speech and Text Analytics Reprocessing job by Id
104
116
  *
105
117
  * @param {String} jobId The Id of the Reprocessing job
118
+ * @param {Object} opts Optional parameters
119
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
106
120
  * deleteSpeechandtextanalyticsReprocessingJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
107
121
  */
108
- deleteSpeechandtextanalyticsReprocessingJob(jobId) {
122
+ deleteSpeechandtextanalyticsReprocessingJob(jobId, opts) {
123
+ opts = opts || {};
124
+
109
125
  // verify the required parameter 'jobId' is set
110
126
  if (jobId === undefined || jobId === null || jobId === '') {
111
127
  throw 'Missing the required parameter "jobId" when calling deleteSpeechandtextanalyticsReprocessingJob';
@@ -121,15 +137,20 @@ class SpeechTextAnalyticsApi {
121
137
  null,
122
138
  ['PureCloud OAuth'],
123
139
  ['application/json'],
124
- ['application/json']
140
+ ['application/json'],
141
+ opts['customHeaders']
125
142
  );
126
143
  }
127
144
 
128
145
  /**
129
146
  * Delete All Speech and Text Analytics SentimentFeedback
130
147
  *
148
+ * @param {Object} opts Optional parameters
149
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
131
150
  */
132
- deleteSpeechandtextanalyticsSentimentfeedback() {
151
+ deleteSpeechandtextanalyticsSentimentfeedback(opts) {
152
+ opts = opts || {};
153
+
133
154
 
134
155
  return this.apiClient.callApi(
135
156
  '/api/v2/speechandtextanalytics/sentimentfeedback',
@@ -141,7 +162,8 @@ class SpeechTextAnalyticsApi {
141
162
  null,
142
163
  ['PureCloud OAuth'],
143
164
  ['application/json'],
144
- ['application/json']
165
+ ['application/json'],
166
+ opts['customHeaders']
145
167
  );
146
168
  }
147
169
 
@@ -149,8 +171,12 @@ class SpeechTextAnalyticsApi {
149
171
  * Delete a Speech and Text Analytics SentimentFeedback by Id
150
172
  *
151
173
  * @param {String} sentimentFeedbackId The Id of the SentimentFeedback
174
+ * @param {Object} opts Optional parameters
175
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
152
176
  */
153
- deleteSpeechandtextanalyticsSentimentfeedbackSentimentFeedbackId(sentimentFeedbackId) {
177
+ deleteSpeechandtextanalyticsSentimentfeedbackSentimentFeedbackId(sentimentFeedbackId, opts) {
178
+ opts = opts || {};
179
+
154
180
  // verify the required parameter 'sentimentFeedbackId' is set
155
181
  if (sentimentFeedbackId === undefined || sentimentFeedbackId === null || sentimentFeedbackId === '') {
156
182
  throw 'Missing the required parameter "sentimentFeedbackId" when calling deleteSpeechandtextanalyticsSentimentfeedbackSentimentFeedbackId';
@@ -166,7 +192,8 @@ class SpeechTextAnalyticsApi {
166
192
  null,
167
193
  ['PureCloud OAuth'],
168
194
  ['application/json'],
169
- ['application/json']
195
+ ['application/json'],
196
+ opts['customHeaders']
170
197
  );
171
198
  }
172
199
 
@@ -174,8 +201,12 @@ class SpeechTextAnalyticsApi {
174
201
  * Delete a Speech and Text Analytics topic by id
175
202
  *
176
203
  * @param {String} topicId The id of the topic
204
+ * @param {Object} opts Optional parameters
205
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
177
206
  */
178
- deleteSpeechandtextanalyticsTopic(topicId) {
207
+ deleteSpeechandtextanalyticsTopic(topicId, opts) {
208
+ opts = opts || {};
209
+
179
210
  // verify the required parameter 'topicId' is set
180
211
  if (topicId === undefined || topicId === null || topicId === '') {
181
212
  throw 'Missing the required parameter "topicId" when calling deleteSpeechandtextanalyticsTopic';
@@ -191,7 +222,8 @@ class SpeechTextAnalyticsApi {
191
222
  null,
192
223
  ['PureCloud OAuth'],
193
224
  ['application/json'],
194
- ['application/json']
225
+ ['application/json'],
226
+ opts['customHeaders']
195
227
  );
196
228
  }
197
229
 
@@ -205,6 +237,7 @@ class SpeechTextAnalyticsApi {
205
237
  * @param {Object} opts.sortOrder The sort order for the listing (default to asc)
206
238
  * @param {Object} opts.sortBy The field to sort by for the listing (default to name)
207
239
  * @param {Array.<String>} opts.ids Comma separated Category IDs to filter by. Cannot be used with other filters. Maximum of 25 IDs allowed.
240
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
208
241
  */
209
242
  getSpeechandtextanalyticsCategories(opts) {
210
243
  opts = opts || {};
@@ -220,7 +253,8 @@ class SpeechTextAnalyticsApi {
220
253
  null,
221
254
  ['PureCloud OAuth'],
222
255
  ['application/json'],
223
- ['application/json']
256
+ ['application/json'],
257
+ opts['customHeaders']
224
258
  );
225
259
  }
226
260
 
@@ -228,8 +262,12 @@ class SpeechTextAnalyticsApi {
228
262
  * Get a Speech and Text Analytics Category by ID
229
263
  *
230
264
  * @param {String} categoryId The id of the category
265
+ * @param {Object} opts Optional parameters
266
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
231
267
  */
232
- getSpeechandtextanalyticsCategory(categoryId) {
268
+ getSpeechandtextanalyticsCategory(categoryId, opts) {
269
+ opts = opts || {};
270
+
233
271
  // verify the required parameter 'categoryId' is set
234
272
  if (categoryId === undefined || categoryId === null || categoryId === '') {
235
273
  throw 'Missing the required parameter "categoryId" when calling getSpeechandtextanalyticsCategory';
@@ -245,7 +283,8 @@ class SpeechTextAnalyticsApi {
245
283
  null,
246
284
  ['PureCloud OAuth'],
247
285
  ['application/json'],
248
- ['application/json']
286
+ ['application/json'],
287
+ opts['customHeaders']
249
288
  );
250
289
  }
251
290
 
@@ -253,8 +292,12 @@ class SpeechTextAnalyticsApi {
253
292
  * Get Speech and Text Analytics for a specific conversation
254
293
  *
255
294
  * @param {String} conversationId Conversation Id
295
+ * @param {Object} opts Optional parameters
296
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
256
297
  */
257
- getSpeechandtextanalyticsConversation(conversationId) {
298
+ getSpeechandtextanalyticsConversation(conversationId, opts) {
299
+ opts = opts || {};
300
+
258
301
  // verify the required parameter 'conversationId' is set
259
302
  if (conversationId === undefined || conversationId === null || conversationId === '') {
260
303
  throw 'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversation';
@@ -270,7 +313,8 @@ class SpeechTextAnalyticsApi {
270
313
  null,
271
314
  ['PureCloud OAuth'],
272
315
  ['application/json'],
273
- ['application/json']
316
+ ['application/json'],
317
+ opts['customHeaders']
274
318
  );
275
319
  }
276
320
 
@@ -281,6 +325,7 @@ class SpeechTextAnalyticsApi {
281
325
  * @param {Object} opts Optional parameters
282
326
  * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 50. (default to 25)
283
327
  * @param {Number} opts.pageNumber The page number for the listing (default to 1)
328
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
284
329
  */
285
330
  getSpeechandtextanalyticsConversationCategories(conversationId, opts) {
286
331
  opts = opts || {};
@@ -300,7 +345,8 @@ class SpeechTextAnalyticsApi {
300
345
  null,
301
346
  ['PureCloud OAuth'],
302
347
  ['application/json'],
303
- ['application/json']
348
+ ['application/json'],
349
+ opts['customHeaders']
304
350
  );
305
351
  }
306
352
 
@@ -309,8 +355,12 @@ class SpeechTextAnalyticsApi {
309
355
  *
310
356
  * @param {String} conversationId Conversation ID
311
357
  * @param {String} communicationId Communication ID
358
+ * @param {Object} opts Optional parameters
359
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
312
360
  */
313
- getSpeechandtextanalyticsConversationCommunicationTranscripturl(conversationId, communicationId) {
361
+ getSpeechandtextanalyticsConversationCommunicationTranscripturl(conversationId, communicationId, opts) {
362
+ opts = opts || {};
363
+
314
364
  // verify the required parameter 'conversationId' is set
315
365
  if (conversationId === undefined || conversationId === null || conversationId === '') {
316
366
  throw 'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationCommunicationTranscripturl';
@@ -330,7 +380,8 @@ class SpeechTextAnalyticsApi {
330
380
  null,
331
381
  ['PureCloud OAuth'],
332
382
  ['application/json'],
333
- ['application/json']
383
+ ['application/json'],
384
+ opts['customHeaders']
334
385
  );
335
386
  }
336
387
 
@@ -339,8 +390,12 @@ class SpeechTextAnalyticsApi {
339
390
  *
340
391
  * @param {String} conversationId Conversation ID
341
392
  * @param {String} communicationId Communication ID
393
+ * @param {Object} opts Optional parameters
394
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
342
395
  */
343
- getSpeechandtextanalyticsConversationCommunicationTranscripturls(conversationId, communicationId) {
396
+ getSpeechandtextanalyticsConversationCommunicationTranscripturls(conversationId, communicationId, opts) {
397
+ opts = opts || {};
398
+
344
399
  // verify the required parameter 'conversationId' is set
345
400
  if (conversationId === undefined || conversationId === null || conversationId === '') {
346
401
  throw 'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationCommunicationTranscripturls';
@@ -360,7 +415,8 @@ class SpeechTextAnalyticsApi {
360
415
  null,
361
416
  ['PureCloud OAuth'],
362
417
  ['application/json'],
363
- ['application/json']
418
+ ['application/json'],
419
+ opts['customHeaders']
364
420
  );
365
421
  }
366
422
 
@@ -368,8 +424,12 @@ class SpeechTextAnalyticsApi {
368
424
  * Get sentiment data
369
425
  *
370
426
  * @param {String} conversationId The conversation ID of the sentiment data
427
+ * @param {Object} opts Optional parameters
428
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
371
429
  */
372
- getSpeechandtextanalyticsConversationSentiments(conversationId) {
430
+ getSpeechandtextanalyticsConversationSentiments(conversationId, opts) {
431
+ opts = opts || {};
432
+
373
433
  // verify the required parameter 'conversationId' is set
374
434
  if (conversationId === undefined || conversationId === null || conversationId === '') {
375
435
  throw 'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationSentiments';
@@ -385,7 +445,8 @@ class SpeechTextAnalyticsApi {
385
445
  null,
386
446
  ['PureCloud OAuth'],
387
447
  ['application/json'],
388
- ['application/json']
448
+ ['application/json'],
449
+ opts['customHeaders']
389
450
  );
390
451
  }
391
452
 
@@ -393,8 +454,12 @@ class SpeechTextAnalyticsApi {
393
454
  * Get conversation summaries by conversation id.
394
455
  *
395
456
  * @param {String} conversationId The conversation ID of the summaries
457
+ * @param {Object} opts Optional parameters
458
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
396
459
  */
397
- getSpeechandtextanalyticsConversationSummaries(conversationId) {
460
+ getSpeechandtextanalyticsConversationSummaries(conversationId, opts) {
461
+ opts = opts || {};
462
+
398
463
  // verify the required parameter 'conversationId' is set
399
464
  if (conversationId === undefined || conversationId === null || conversationId === '') {
400
465
  throw 'Missing the required parameter "conversationId" when calling getSpeechandtextanalyticsConversationSummaries';
@@ -410,7 +475,8 @@ class SpeechTextAnalyticsApi {
410
475
  null,
411
476
  ['PureCloud OAuth'],
412
477
  ['application/json'],
413
- ['application/json']
478
+ ['application/json'],
479
+ opts['customHeaders']
414
480
  );
415
481
  }
416
482
 
@@ -422,6 +488,7 @@ class SpeechTextAnalyticsApi {
422
488
  * @param {Object} opts.transcriptionEngine Filter by transcription engine, If not provided, all transcription engines will be considered
423
489
  * @param {String} opts.nextPage The key for listing the next page
424
490
  * @param {Number} opts.pageSize The page size for the listing (default to 500)
491
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
425
492
  */
426
493
  getSpeechandtextanalyticsDictionaryfeedback(opts) {
427
494
  opts = opts || {};
@@ -437,7 +504,8 @@ class SpeechTextAnalyticsApi {
437
504
  null,
438
505
  ['PureCloud OAuth'],
439
506
  ['application/json'],
440
- ['application/json']
507
+ ['application/json'],
508
+ opts['customHeaders']
441
509
  );
442
510
  }
443
511
 
@@ -445,8 +513,12 @@ class SpeechTextAnalyticsApi {
445
513
  * Get a Speech and Text Analytics dictionary feedback by id
446
514
  *
447
515
  * @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
516
+ * @param {Object} opts Optional parameters
517
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
448
518
  */
449
- getSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(dictionaryFeedbackId) {
519
+ getSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(dictionaryFeedbackId, opts) {
520
+ opts = opts || {};
521
+
450
522
  // verify the required parameter 'dictionaryFeedbackId' is set
451
523
  if (dictionaryFeedbackId === undefined || dictionaryFeedbackId === null || dictionaryFeedbackId === '') {
452
524
  throw 'Missing the required parameter "dictionaryFeedbackId" when calling getSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId';
@@ -462,7 +534,8 @@ class SpeechTextAnalyticsApi {
462
534
  null,
463
535
  ['PureCloud OAuth'],
464
536
  ['application/json'],
465
- ['application/json']
537
+ ['application/json'],
538
+ opts['customHeaders']
466
539
  );
467
540
  }
468
541
 
@@ -470,8 +543,12 @@ class SpeechTextAnalyticsApi {
470
543
  * Get a Speech and Text Analytics program by id
471
544
  *
472
545
  * @param {String} programId The id of the program
546
+ * @param {Object} opts Optional parameters
547
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
473
548
  */
474
- getSpeechandtextanalyticsProgram(programId) {
549
+ getSpeechandtextanalyticsProgram(programId, opts) {
550
+ opts = opts || {};
551
+
475
552
  // verify the required parameter 'programId' is set
476
553
  if (programId === undefined || programId === null || programId === '') {
477
554
  throw 'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgram';
@@ -487,7 +564,8 @@ class SpeechTextAnalyticsApi {
487
564
  null,
488
565
  ['PureCloud OAuth'],
489
566
  ['application/json'],
490
- ['application/json']
567
+ ['application/json'],
568
+ opts['customHeaders']
491
569
  );
492
570
  }
493
571
 
@@ -495,8 +573,12 @@ class SpeechTextAnalyticsApi {
495
573
  * Get Speech and Text Analytics program mappings to queues and flows by id
496
574
  *
497
575
  * @param {String} programId The id of the program
576
+ * @param {Object} opts Optional parameters
577
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
498
578
  */
499
- getSpeechandtextanalyticsProgramMappings(programId) {
579
+ getSpeechandtextanalyticsProgramMappings(programId, opts) {
580
+ opts = opts || {};
581
+
500
582
  // verify the required parameter 'programId' is set
501
583
  if (programId === undefined || programId === null || programId === '') {
502
584
  throw 'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramMappings';
@@ -512,7 +594,8 @@ class SpeechTextAnalyticsApi {
512
594
  null,
513
595
  ['PureCloud OAuth'],
514
596
  ['application/json'],
515
- ['application/json']
597
+ ['application/json'],
598
+ opts['customHeaders']
516
599
  );
517
600
  }
518
601
 
@@ -520,8 +603,12 @@ class SpeechTextAnalyticsApi {
520
603
  * Get AI Insights settings of a program
521
604
  *
522
605
  * @param {String} programId The id of the program
606
+ * @param {Object} opts Optional parameters
607
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
523
608
  */
524
- getSpeechandtextanalyticsProgramSettingsInsights(programId) {
609
+ getSpeechandtextanalyticsProgramSettingsInsights(programId, opts) {
610
+ opts = opts || {};
611
+
525
612
  // verify the required parameter 'programId' is set
526
613
  if (programId === undefined || programId === null || programId === '') {
527
614
  throw 'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramSettingsInsights';
@@ -537,7 +624,8 @@ class SpeechTextAnalyticsApi {
537
624
  null,
538
625
  ['PureCloud OAuth'],
539
626
  ['application/json'],
540
- ['application/json']
627
+ ['application/json'],
628
+ opts['customHeaders']
541
629
  );
542
630
  }
543
631
 
@@ -545,8 +633,12 @@ class SpeechTextAnalyticsApi {
545
633
  * Get transcription engine settings of a program
546
634
  *
547
635
  * @param {String} programId The id of the program
636
+ * @param {Object} opts Optional parameters
637
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
548
638
  */
549
- getSpeechandtextanalyticsProgramTranscriptionengines(programId) {
639
+ getSpeechandtextanalyticsProgramTranscriptionengines(programId, opts) {
640
+ opts = opts || {};
641
+
550
642
  // verify the required parameter 'programId' is set
551
643
  if (programId === undefined || programId === null || programId === '') {
552
644
  throw 'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramTranscriptionengines';
@@ -562,7 +654,8 @@ class SpeechTextAnalyticsApi {
562
654
  null,
563
655
  ['PureCloud OAuth'],
564
656
  ['application/json'],
565
- ['application/json']
657
+ ['application/json'],
658
+ opts['customHeaders']
566
659
  );
567
660
  }
568
661
 
@@ -576,6 +669,7 @@ class SpeechTextAnalyticsApi {
576
669
  * @param {String} opts.name Case insensitive partial name to filter by
577
670
  * @param {Object} opts.sortBy Sort results by. Defaults to name
578
671
  * @param {Object} opts.sortOrder Sort order. Defaults to asc
672
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
579
673
  */
580
674
  getSpeechandtextanalyticsPrograms(opts) {
581
675
  opts = opts || {};
@@ -591,7 +685,8 @@ class SpeechTextAnalyticsApi {
591
685
  null,
592
686
  ['PureCloud OAuth'],
593
687
  ['application/json'],
594
- ['application/json']
688
+ ['application/json'],
689
+ opts['customHeaders']
595
690
  );
596
691
  }
597
692
 
@@ -599,8 +694,12 @@ class SpeechTextAnalyticsApi {
599
694
  * Get a Speech and Text Analytics general program job by id
600
695
  *
601
696
  * @param {String} jobId The id of the publish programs job
697
+ * @param {Object} opts Optional parameters
698
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
602
699
  */
603
- getSpeechandtextanalyticsProgramsGeneralJob(jobId) {
700
+ getSpeechandtextanalyticsProgramsGeneralJob(jobId, opts) {
701
+ opts = opts || {};
702
+
604
703
  // verify the required parameter 'jobId' is set
605
704
  if (jobId === undefined || jobId === null || jobId === '') {
606
705
  throw 'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsProgramsGeneralJob';
@@ -616,7 +715,8 @@ class SpeechTextAnalyticsApi {
616
715
  null,
617
716
  ['PureCloud OAuth'],
618
717
  ['application/json'],
619
- ['application/json']
718
+ ['application/json'],
719
+ opts['customHeaders']
620
720
  );
621
721
  }
622
722
 
@@ -626,6 +726,7 @@ class SpeechTextAnalyticsApi {
626
726
  * @param {Object} opts Optional parameters
627
727
  * @param {String} opts.nextPage The key for listing the next page
628
728
  * @param {Number} opts.pageSize The page size for the listing (default to 20)
729
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
629
730
  */
630
731
  getSpeechandtextanalyticsProgramsMappings(opts) {
631
732
  opts = opts || {};
@@ -641,7 +742,8 @@ class SpeechTextAnalyticsApi {
641
742
  null,
642
743
  ['PureCloud OAuth'],
643
744
  ['application/json'],
644
- ['application/json']
745
+ ['application/json'],
746
+ opts['customHeaders']
645
747
  );
646
748
  }
647
749
 
@@ -649,8 +751,12 @@ class SpeechTextAnalyticsApi {
649
751
  * Get a Speech and Text Analytics publish programs job by id
650
752
  *
651
753
  * @param {String} jobId The id of the publish programs job
754
+ * @param {Object} opts Optional parameters
755
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
652
756
  */
653
- getSpeechandtextanalyticsProgramsPublishjob(jobId) {
757
+ getSpeechandtextanalyticsProgramsPublishjob(jobId, opts) {
758
+ opts = opts || {};
759
+
654
760
  // verify the required parameter 'jobId' is set
655
761
  if (jobId === undefined || jobId === null || jobId === '') {
656
762
  throw 'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsProgramsPublishjob';
@@ -666,7 +772,8 @@ class SpeechTextAnalyticsApi {
666
772
  null,
667
773
  ['PureCloud OAuth'],
668
774
  ['application/json'],
669
- ['application/json']
775
+ ['application/json'],
776
+ opts['customHeaders']
670
777
  );
671
778
  }
672
779
 
@@ -677,6 +784,7 @@ class SpeechTextAnalyticsApi {
677
784
  * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 100. (default to 100)
678
785
  * @param {Number} opts.pageNumber The page number for the listing (default to 1)
679
786
  * @param {Array.<String>} opts.programIds Comma separated Program IDs to filter by. Maximum of 50 IDs allowed.
787
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
680
788
  */
681
789
  getSpeechandtextanalyticsProgramsSettingsInsights(opts) {
682
790
  opts = opts || {};
@@ -692,7 +800,8 @@ class SpeechTextAnalyticsApi {
692
800
  null,
693
801
  ['PureCloud OAuth'],
694
802
  ['application/json'],
695
- ['application/json']
803
+ ['application/json'],
804
+ opts['customHeaders']
696
805
  );
697
806
  }
698
807
 
@@ -700,8 +809,12 @@ class SpeechTextAnalyticsApi {
700
809
  * Get a Speech and Text Analytics program-topic links job by id
701
810
  *
702
811
  * @param {String} jobId The id of the program-topic links job
812
+ * @param {Object} opts Optional parameters
813
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
703
814
  */
704
- getSpeechandtextanalyticsProgramsTopiclinksJob(jobId) {
815
+ getSpeechandtextanalyticsProgramsTopiclinksJob(jobId, opts) {
816
+ opts = opts || {};
817
+
705
818
  // verify the required parameter 'jobId' is set
706
819
  if (jobId === undefined || jobId === null || jobId === '') {
707
820
  throw 'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsProgramsTopiclinksJob';
@@ -717,15 +830,20 @@ class SpeechTextAnalyticsApi {
717
830
  null,
718
831
  ['PureCloud OAuth'],
719
832
  ['application/json'],
720
- ['application/json']
833
+ ['application/json'],
834
+ opts['customHeaders']
721
835
  );
722
836
  }
723
837
 
724
838
  /**
725
839
  * Get supported dialects for each transcription engine
726
840
  *
841
+ * @param {Object} opts Optional parameters
842
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
727
843
  */
728
- getSpeechandtextanalyticsProgramsTranscriptionenginesDialects() {
844
+ getSpeechandtextanalyticsProgramsTranscriptionenginesDialects(opts) {
845
+ opts = opts || {};
846
+
729
847
 
730
848
  return this.apiClient.callApi(
731
849
  '/api/v2/speechandtextanalytics/programs/transcriptionengines/dialects',
@@ -737,7 +855,8 @@ class SpeechTextAnalyticsApi {
737
855
  null,
738
856
  ['PureCloud OAuth'],
739
857
  ['application/json'],
740
- ['application/json']
858
+ ['application/json'],
859
+ opts['customHeaders']
741
860
  );
742
861
  }
743
862
 
@@ -747,6 +866,7 @@ class SpeechTextAnalyticsApi {
747
866
  * @param {Object} opts Optional parameters
748
867
  * @param {String} opts.nextPage The key for listing the next page
749
868
  * @param {Number} opts.pageSize The page size for the listing (default to 20)
869
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
750
870
  */
751
871
  getSpeechandtextanalyticsProgramsUnpublished(opts) {
752
872
  opts = opts || {};
@@ -762,7 +882,8 @@ class SpeechTextAnalyticsApi {
762
882
  null,
763
883
  ['PureCloud OAuth'],
764
884
  ['application/json'],
765
- ['application/json']
885
+ ['application/json'],
886
+ opts['customHeaders']
766
887
  );
767
888
  }
768
889
 
@@ -770,9 +891,13 @@ class SpeechTextAnalyticsApi {
770
891
  * Get a Speech and Text Analytics reprocess job by id
771
892
  *
772
893
  * @param {String} jobId The Id of the Reprocessing job
894
+ * @param {Object} opts Optional parameters
895
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
773
896
  * getSpeechandtextanalyticsReprocessingJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
774
897
  */
775
- getSpeechandtextanalyticsReprocessingJob(jobId) {
898
+ getSpeechandtextanalyticsReprocessingJob(jobId, opts) {
899
+ opts = opts || {};
900
+
776
901
  // verify the required parameter 'jobId' is set
777
902
  if (jobId === undefined || jobId === null || jobId === '') {
778
903
  throw 'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsReprocessingJob';
@@ -788,7 +913,8 @@ class SpeechTextAnalyticsApi {
788
913
  null,
789
914
  ['PureCloud OAuth'],
790
915
  ['application/json'],
791
- ['application/json']
916
+ ['application/json'],
917
+ opts['customHeaders']
792
918
  );
793
919
  }
794
920
 
@@ -796,9 +922,13 @@ class SpeechTextAnalyticsApi {
796
922
  * Get a Speech and Text Analytics Reprocessing interactions statuses by job id
797
923
  *
798
924
  * @param {String} jobId The Id of the Reprocessing job
925
+ * @param {Object} opts Optional parameters
926
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
799
927
  * getSpeechandtextanalyticsReprocessingJobInteractions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
800
928
  */
801
- getSpeechandtextanalyticsReprocessingJobInteractions(jobId) {
929
+ getSpeechandtextanalyticsReprocessingJobInteractions(jobId, opts) {
930
+ opts = opts || {};
931
+
802
932
  // verify the required parameter 'jobId' is set
803
933
  if (jobId === undefined || jobId === null || jobId === '') {
804
934
  throw 'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsReprocessingJobInteractions';
@@ -814,7 +944,8 @@ class SpeechTextAnalyticsApi {
814
944
  null,
815
945
  ['PureCloud OAuth'],
816
946
  ['application/json'],
817
- ['application/json']
947
+ ['application/json'],
948
+ opts['customHeaders']
818
949
  );
819
950
  }
820
951
 
@@ -826,6 +957,7 @@ class SpeechTextAnalyticsApi {
826
957
  * @param {Number} opts.pageNumber The page number for the listing. Defaults to 1.
827
958
  * @param {Object} opts.sortOrder Results are sorted by dateCreated. Please choose the sort order. The default is descending (desc).
828
959
  * @param {String} opts.name Case insensitive partial name to filter by.
960
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
829
961
  * getSpeechandtextanalyticsReprocessingJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
830
962
  */
831
963
  getSpeechandtextanalyticsReprocessingJobs(opts) {
@@ -842,15 +974,20 @@ class SpeechTextAnalyticsApi {
842
974
  null,
843
975
  ['PureCloud OAuth'],
844
976
  ['application/json'],
845
- ['application/json']
977
+ ['application/json'],
978
+ opts['customHeaders']
846
979
  );
847
980
  }
848
981
 
849
982
  /**
850
983
  * Get the list of Speech and Text Analytics sentiment supported dialects
851
984
  *
985
+ * @param {Object} opts Optional parameters
986
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
852
987
  */
853
- getSpeechandtextanalyticsSentimentDialects() {
988
+ getSpeechandtextanalyticsSentimentDialects(opts) {
989
+ opts = opts || {};
990
+
854
991
 
855
992
  return this.apiClient.callApi(
856
993
  '/api/v2/speechandtextanalytics/sentiment/dialects',
@@ -862,7 +999,8 @@ class SpeechTextAnalyticsApi {
862
999
  null,
863
1000
  ['PureCloud OAuth'],
864
1001
  ['application/json'],
865
- ['application/json']
1002
+ ['application/json'],
1003
+ opts['customHeaders']
866
1004
  );
867
1005
  }
868
1006
 
@@ -871,6 +1009,7 @@ class SpeechTextAnalyticsApi {
871
1009
  *
872
1010
  * @param {Object} opts Optional parameters
873
1011
  * @param {String} opts.dialect The key for filter the listing by dialect, dialect format is {language}-{country} where language follows ISO 639-1 standard and country follows ISO 3166-1 alpha 2 standard
1012
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
874
1013
  */
875
1014
  getSpeechandtextanalyticsSentimentfeedback(opts) {
876
1015
  opts = opts || {};
@@ -886,15 +1025,20 @@ class SpeechTextAnalyticsApi {
886
1025
  null,
887
1026
  ['PureCloud OAuth'],
888
1027
  ['application/json'],
889
- ['application/json']
1028
+ ['application/json'],
1029
+ opts['customHeaders']
890
1030
  );
891
1031
  }
892
1032
 
893
1033
  /**
894
1034
  * Get Speech And Text Analytics Settings
895
1035
  *
1036
+ * @param {Object} opts Optional parameters
1037
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
896
1038
  */
897
- getSpeechandtextanalyticsSettings() {
1039
+ getSpeechandtextanalyticsSettings(opts) {
1040
+ opts = opts || {};
1041
+
898
1042
 
899
1043
  return this.apiClient.callApi(
900
1044
  '/api/v2/speechandtextanalytics/settings',
@@ -906,7 +1050,8 @@ class SpeechTextAnalyticsApi {
906
1050
  null,
907
1051
  ['PureCloud OAuth'],
908
1052
  ['application/json'],
909
- ['application/json']
1053
+ ['application/json'],
1054
+ opts['customHeaders']
910
1055
  );
911
1056
  }
912
1057
 
@@ -914,8 +1059,12 @@ class SpeechTextAnalyticsApi {
914
1059
  * Get a Speech and Text Analytics topic by id
915
1060
  *
916
1061
  * @param {String} topicId The id of the topic
1062
+ * @param {Object} opts Optional parameters
1063
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
917
1064
  */
918
- getSpeechandtextanalyticsTopic(topicId) {
1065
+ getSpeechandtextanalyticsTopic(topicId, opts) {
1066
+ opts = opts || {};
1067
+
919
1068
  // verify the required parameter 'topicId' is set
920
1069
  if (topicId === undefined || topicId === null || topicId === '') {
921
1070
  throw 'Missing the required parameter "topicId" when calling getSpeechandtextanalyticsTopic';
@@ -931,7 +1080,8 @@ class SpeechTextAnalyticsApi {
931
1080
  null,
932
1081
  ['PureCloud OAuth'],
933
1082
  ['application/json'],
934
- ['application/json']
1083
+ ['application/json'],
1084
+ opts['customHeaders']
935
1085
  );
936
1086
  }
937
1087
 
@@ -948,6 +1098,7 @@ class SpeechTextAnalyticsApi {
948
1098
  * @param {Array.<String>} opts.dialects Comma separated dialect strings to filter by. Maximum of 15 dialects allowed.
949
1099
  * @param {Object} opts.sortBy Sort results by. Defaults to name
950
1100
  * @param {Object} opts.sortOrder Sort order. Defaults to asc
1101
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
951
1102
  */
952
1103
  getSpeechandtextanalyticsTopics(opts) {
953
1104
  opts = opts || {};
@@ -963,15 +1114,20 @@ class SpeechTextAnalyticsApi {
963
1114
  null,
964
1115
  ['PureCloud OAuth'],
965
1116
  ['application/json'],
966
- ['application/json']
1117
+ ['application/json'],
1118
+ opts['customHeaders']
967
1119
  );
968
1120
  }
969
1121
 
970
1122
  /**
971
1123
  * Get list of supported Speech and Text Analytics topics dialects
972
1124
  *
1125
+ * @param {Object} opts Optional parameters
1126
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
973
1127
  */
974
- getSpeechandtextanalyticsTopicsDialects() {
1128
+ getSpeechandtextanalyticsTopicsDialects(opts) {
1129
+ opts = opts || {};
1130
+
975
1131
 
976
1132
  return this.apiClient.callApi(
977
1133
  '/api/v2/speechandtextanalytics/topics/dialects',
@@ -983,7 +1139,8 @@ class SpeechTextAnalyticsApi {
983
1139
  null,
984
1140
  ['PureCloud OAuth'],
985
1141
  ['application/json'],
986
- ['application/json']
1142
+ ['application/json'],
1143
+ opts['customHeaders']
987
1144
  );
988
1145
  }
989
1146
 
@@ -992,6 +1149,7 @@ class SpeechTextAnalyticsApi {
992
1149
  *
993
1150
  * @param {Object} opts Optional parameters
994
1151
  * @param {Object} opts.dialect The dialect of the general topics, dialect format is {language}-{country} where language follows ISO 639-1 standard and country follows ISO 3166-1 alpha 2 standard
1152
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
995
1153
  */
996
1154
  getSpeechandtextanalyticsTopicsGeneral(opts) {
997
1155
  opts = opts || {};
@@ -1007,7 +1165,8 @@ class SpeechTextAnalyticsApi {
1007
1165
  null,
1008
1166
  ['PureCloud OAuth'],
1009
1167
  ['application/json'],
1010
- ['application/json']
1168
+ ['application/json'],
1169
+ opts['customHeaders']
1011
1170
  );
1012
1171
  }
1013
1172
 
@@ -1016,6 +1175,7 @@ class SpeechTextAnalyticsApi {
1016
1175
  *
1017
1176
  * @param {Object} opts Optional parameters
1018
1177
  * @param {Object} opts.dialect The dialect of the general topics, dialect format is {language}-{country} where language follows ISO 639-1 standard and country follows ISO 3166-1 alpha 2 standard
1178
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1019
1179
  */
1020
1180
  getSpeechandtextanalyticsTopicsGeneralStatus(opts) {
1021
1181
  opts = opts || {};
@@ -1031,7 +1191,8 @@ class SpeechTextAnalyticsApi {
1031
1191
  null,
1032
1192
  ['PureCloud OAuth'],
1033
1193
  ['application/json'],
1034
- ['application/json']
1194
+ ['application/json'],
1195
+ opts['customHeaders']
1035
1196
  );
1036
1197
  }
1037
1198
 
@@ -1039,8 +1200,12 @@ class SpeechTextAnalyticsApi {
1039
1200
  * Get a Speech and Text Analytics publish topics job by id
1040
1201
  *
1041
1202
  * @param {String} jobId The id of the publish topics job
1203
+ * @param {Object} opts Optional parameters
1204
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1042
1205
  */
1043
- getSpeechandtextanalyticsTopicsPublishjob(jobId) {
1206
+ getSpeechandtextanalyticsTopicsPublishjob(jobId, opts) {
1207
+ opts = opts || {};
1208
+
1044
1209
  // verify the required parameter 'jobId' is set
1045
1210
  if (jobId === undefined || jobId === null || jobId === '') {
1046
1211
  throw 'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsTopicsPublishjob';
@@ -1056,7 +1221,8 @@ class SpeechTextAnalyticsApi {
1056
1221
  null,
1057
1222
  ['PureCloud OAuth'],
1058
1223
  ['application/json'],
1059
- ['application/json']
1224
+ ['application/json'],
1225
+ opts['customHeaders']
1060
1226
  );
1061
1227
  }
1062
1228
 
@@ -1064,8 +1230,12 @@ class SpeechTextAnalyticsApi {
1064
1230
  * Get a Speech and Text Analytics test topics phrase job by id
1065
1231
  *
1066
1232
  * @param {String} jobId the id of the test topic phrase job
1233
+ * @param {Object} opts Optional parameters
1234
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1067
1235
  */
1068
- getSpeechandtextanalyticsTopicsTestphraseJob(jobId) {
1236
+ getSpeechandtextanalyticsTopicsTestphraseJob(jobId, opts) {
1237
+ opts = opts || {};
1238
+
1069
1239
  // verify the required parameter 'jobId' is set
1070
1240
  if (jobId === undefined || jobId === null || jobId === '') {
1071
1241
  throw 'Missing the required parameter "jobId" when calling getSpeechandtextanalyticsTopicsTestphraseJob';
@@ -1081,7 +1251,8 @@ class SpeechTextAnalyticsApi {
1081
1251
  null,
1082
1252
  ['PureCloud OAuth'],
1083
1253
  ['application/json'],
1084
- ['application/json']
1254
+ ['application/json'],
1255
+ opts['customHeaders']
1085
1256
  );
1086
1257
  }
1087
1258
 
@@ -1093,6 +1264,7 @@ class SpeechTextAnalyticsApi {
1093
1264
  * @param {Object} opts Optional parameters
1094
1265
  * @param {String} opts.communicationId Communication id associated with the conversation. Please provide a valid communicationId when requesting non-email interactions.
1095
1266
  * @param {String} opts.recordingId Recording id associated with the communication. Please provide a valid recordingId when requesting voice interactions.
1267
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1096
1268
  */
1097
1269
  getSpeechandtextanalyticsTranslationsLanguageConversation(languageId, conversationId, opts) {
1098
1270
  opts = opts || {};
@@ -1116,15 +1288,20 @@ class SpeechTextAnalyticsApi {
1116
1288
  null,
1117
1289
  ['PureCloud OAuth'],
1118
1290
  ['application/json'],
1119
- ['application/json']
1291
+ ['application/json'],
1292
+ opts['customHeaders']
1120
1293
  );
1121
1294
  }
1122
1295
 
1123
1296
  /**
1124
1297
  * Get supported translation languages
1125
1298
  *
1299
+ * @param {Object} opts Optional parameters
1300
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1126
1301
  */
1127
- getSpeechandtextanalyticsTranslationsLanguages() {
1302
+ getSpeechandtextanalyticsTranslationsLanguages(opts) {
1303
+ opts = opts || {};
1304
+
1128
1305
 
1129
1306
  return this.apiClient.callApi(
1130
1307
  '/api/v2/speechandtextanalytics/translations/languages',
@@ -1136,7 +1313,8 @@ class SpeechTextAnalyticsApi {
1136
1313
  null,
1137
1314
  ['PureCloud OAuth'],
1138
1315
  ['application/json'],
1139
- ['application/json']
1316
+ ['application/json'],
1317
+ opts['customHeaders']
1140
1318
  );
1141
1319
  }
1142
1320
 
@@ -1144,8 +1322,12 @@ class SpeechTextAnalyticsApi {
1144
1322
  * Patch Speech And Text Analytics Settings
1145
1323
  *
1146
1324
  * @param {Object} body Speech And Text Analytics Settings
1325
+ * @param {Object} opts Optional parameters
1326
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1147
1327
  */
1148
- patchSpeechandtextanalyticsSettings(body) {
1328
+ patchSpeechandtextanalyticsSettings(body, opts) {
1329
+ opts = opts || {};
1330
+
1149
1331
  // verify the required parameter 'body' is set
1150
1332
  if (body === undefined || body === null) {
1151
1333
  throw 'Missing the required parameter "body" when calling patchSpeechandtextanalyticsSettings';
@@ -1161,7 +1343,8 @@ class SpeechTextAnalyticsApi {
1161
1343
  body,
1162
1344
  ['PureCloud OAuth'],
1163
1345
  ['application/json'],
1164
- ['application/json']
1346
+ ['application/json'],
1347
+ opts['customHeaders']
1165
1348
  );
1166
1349
  }
1167
1350
 
@@ -1169,8 +1352,12 @@ class SpeechTextAnalyticsApi {
1169
1352
  * Create new Speech and Text Analytics category
1170
1353
  *
1171
1354
  * @param {Object} body The category to create
1355
+ * @param {Object} opts Optional parameters
1356
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1172
1357
  */
1173
- postSpeechandtextanalyticsCategories(body) {
1358
+ postSpeechandtextanalyticsCategories(body, opts) {
1359
+ opts = opts || {};
1360
+
1174
1361
  // verify the required parameter 'body' is set
1175
1362
  if (body === undefined || body === null) {
1176
1363
  throw 'Missing the required parameter "body" when calling postSpeechandtextanalyticsCategories';
@@ -1186,7 +1373,8 @@ class SpeechTextAnalyticsApi {
1186
1373
  body,
1187
1374
  ['PureCloud OAuth'],
1188
1375
  ['application/json'],
1189
- ['application/json']
1376
+ ['application/json'],
1377
+ opts['customHeaders']
1190
1378
  );
1191
1379
  }
1192
1380
 
@@ -1194,8 +1382,12 @@ class SpeechTextAnalyticsApi {
1194
1382
  * Create a Speech and Text Analytics DictionaryFeedback
1195
1383
  *
1196
1384
  * @param {Object} body The DictionaryFeedback to create
1385
+ * @param {Object} opts Optional parameters
1386
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1197
1387
  */
1198
- postSpeechandtextanalyticsDictionaryfeedback(body) {
1388
+ postSpeechandtextanalyticsDictionaryfeedback(body, opts) {
1389
+ opts = opts || {};
1390
+
1199
1391
  // verify the required parameter 'body' is set
1200
1392
  if (body === undefined || body === null) {
1201
1393
  throw 'Missing the required parameter "body" when calling postSpeechandtextanalyticsDictionaryfeedback';
@@ -1211,7 +1403,8 @@ class SpeechTextAnalyticsApi {
1211
1403
  body,
1212
1404
  ['PureCloud OAuth'],
1213
1405
  ['application/json'],
1214
- ['application/json']
1406
+ ['application/json'],
1407
+ opts['customHeaders']
1215
1408
  );
1216
1409
  }
1217
1410
 
@@ -1219,8 +1412,12 @@ class SpeechTextAnalyticsApi {
1219
1412
  * Create new Speech and Text Analytics program
1220
1413
  *
1221
1414
  * @param {Object} body The program to create
1415
+ * @param {Object} opts Optional parameters
1416
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1222
1417
  */
1223
- postSpeechandtextanalyticsPrograms(body) {
1418
+ postSpeechandtextanalyticsPrograms(body, opts) {
1419
+ opts = opts || {};
1420
+
1224
1421
  // verify the required parameter 'body' is set
1225
1422
  if (body === undefined || body === null) {
1226
1423
  throw 'Missing the required parameter "body" when calling postSpeechandtextanalyticsPrograms';
@@ -1236,7 +1433,8 @@ class SpeechTextAnalyticsApi {
1236
1433
  body,
1237
1434
  ['PureCloud OAuth'],
1238
1435
  ['application/json'],
1239
- ['application/json']
1436
+ ['application/json'],
1437
+ opts['customHeaders']
1240
1438
  );
1241
1439
  }
1242
1440
 
@@ -1244,8 +1442,12 @@ class SpeechTextAnalyticsApi {
1244
1442
  * Create new Speech and Text Analytics general program job
1245
1443
  *
1246
1444
  * @param {Object} body The general programs job to create
1445
+ * @param {Object} opts Optional parameters
1446
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1247
1447
  */
1248
- postSpeechandtextanalyticsProgramsGeneralJobs(body) {
1448
+ postSpeechandtextanalyticsProgramsGeneralJobs(body, opts) {
1449
+ opts = opts || {};
1450
+
1249
1451
  // verify the required parameter 'body' is set
1250
1452
  if (body === undefined || body === null) {
1251
1453
  throw 'Missing the required parameter "body" when calling postSpeechandtextanalyticsProgramsGeneralJobs';
@@ -1261,7 +1463,8 @@ class SpeechTextAnalyticsApi {
1261
1463
  body,
1262
1464
  ['PureCloud OAuth'],
1263
1465
  ['application/json'],
1264
- ['application/json']
1466
+ ['application/json'],
1467
+ opts['customHeaders']
1265
1468
  );
1266
1469
  }
1267
1470
 
@@ -1269,8 +1472,12 @@ class SpeechTextAnalyticsApi {
1269
1472
  * Create new Speech and Text Analytics publish programs job
1270
1473
  *
1271
1474
  * @param {Object} body The publish programs job to create
1475
+ * @param {Object} opts Optional parameters
1476
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1272
1477
  */
1273
- postSpeechandtextanalyticsProgramsPublishjobs(body) {
1478
+ postSpeechandtextanalyticsProgramsPublishjobs(body, opts) {
1479
+ opts = opts || {};
1480
+
1274
1481
  // verify the required parameter 'body' is set
1275
1482
  if (body === undefined || body === null) {
1276
1483
  throw 'Missing the required parameter "body" when calling postSpeechandtextanalyticsProgramsPublishjobs';
@@ -1286,7 +1493,8 @@ class SpeechTextAnalyticsApi {
1286
1493
  body,
1287
1494
  ['PureCloud OAuth'],
1288
1495
  ['application/json'],
1289
- ['application/json']
1496
+ ['application/json'],
1497
+ opts['customHeaders']
1290
1498
  );
1291
1499
  }
1292
1500
 
@@ -1294,9 +1502,13 @@ class SpeechTextAnalyticsApi {
1294
1502
  * Create a Speech and Text Analytics reprocess job.
1295
1503
  *
1296
1504
  * @param {Object} body The ReprocessJob to create
1505
+ * @param {Object} opts Optional parameters
1506
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1297
1507
  * postSpeechandtextanalyticsReprocessingJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1298
1508
  */
1299
- postSpeechandtextanalyticsReprocessingJobs(body) {
1509
+ postSpeechandtextanalyticsReprocessingJobs(body, opts) {
1510
+ opts = opts || {};
1511
+
1300
1512
  // verify the required parameter 'body' is set
1301
1513
  if (body === undefined || body === null) {
1302
1514
  throw 'Missing the required parameter "body" when calling postSpeechandtextanalyticsReprocessingJobs';
@@ -1312,7 +1524,8 @@ class SpeechTextAnalyticsApi {
1312
1524
  body,
1313
1525
  ['PureCloud OAuth'],
1314
1526
  ['application/json'],
1315
- ['application/json']
1527
+ ['application/json'],
1528
+ opts['customHeaders']
1316
1529
  );
1317
1530
  }
1318
1531
 
@@ -1320,8 +1533,12 @@ class SpeechTextAnalyticsApi {
1320
1533
  * Create a Speech and Text Analytics SentimentFeedback
1321
1534
  *
1322
1535
  * @param {Object} body The SentimentFeedback to create
1536
+ * @param {Object} opts Optional parameters
1537
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1323
1538
  */
1324
- postSpeechandtextanalyticsSentimentfeedback(body) {
1539
+ postSpeechandtextanalyticsSentimentfeedback(body, opts) {
1540
+ opts = opts || {};
1541
+
1325
1542
  // verify the required parameter 'body' is set
1326
1543
  if (body === undefined || body === null) {
1327
1544
  throw 'Missing the required parameter "body" when calling postSpeechandtextanalyticsSentimentfeedback';
@@ -1337,7 +1554,8 @@ class SpeechTextAnalyticsApi {
1337
1554
  body,
1338
1555
  ['PureCloud OAuth'],
1339
1556
  ['application/json'],
1340
- ['application/json']
1557
+ ['application/json'],
1558
+ opts['customHeaders']
1341
1559
  );
1342
1560
  }
1343
1561
 
@@ -1345,8 +1563,12 @@ class SpeechTextAnalyticsApi {
1345
1563
  * Create new Speech and Text Analytics topic
1346
1564
  *
1347
1565
  * @param {Object} body The topic to create
1566
+ * @param {Object} opts Optional parameters
1567
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1348
1568
  */
1349
- postSpeechandtextanalyticsTopics(body) {
1569
+ postSpeechandtextanalyticsTopics(body, opts) {
1570
+ opts = opts || {};
1571
+
1350
1572
  // verify the required parameter 'body' is set
1351
1573
  if (body === undefined || body === null) {
1352
1574
  throw 'Missing the required parameter "body" when calling postSpeechandtextanalyticsTopics';
@@ -1362,7 +1584,8 @@ class SpeechTextAnalyticsApi {
1362
1584
  body,
1363
1585
  ['PureCloud OAuth'],
1364
1586
  ['application/json'],
1365
- ['application/json']
1587
+ ['application/json'],
1588
+ opts['customHeaders']
1366
1589
  );
1367
1590
  }
1368
1591
 
@@ -1370,8 +1593,12 @@ class SpeechTextAnalyticsApi {
1370
1593
  * Create new Speech and Text Analytics publish topics job
1371
1594
  *
1372
1595
  * @param {Object} body The publish topics job to create
1596
+ * @param {Object} opts Optional parameters
1597
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1373
1598
  */
1374
- postSpeechandtextanalyticsTopicsPublishjobs(body) {
1599
+ postSpeechandtextanalyticsTopicsPublishjobs(body, opts) {
1600
+ opts = opts || {};
1601
+
1375
1602
  // verify the required parameter 'body' is set
1376
1603
  if (body === undefined || body === null) {
1377
1604
  throw 'Missing the required parameter "body" when calling postSpeechandtextanalyticsTopicsPublishjobs';
@@ -1387,7 +1614,8 @@ class SpeechTextAnalyticsApi {
1387
1614
  body,
1388
1615
  ['PureCloud OAuth'],
1389
1616
  ['application/json'],
1390
- ['application/json']
1617
+ ['application/json'],
1618
+ opts['customHeaders']
1391
1619
  );
1392
1620
  }
1393
1621
 
@@ -1395,8 +1623,12 @@ class SpeechTextAnalyticsApi {
1395
1623
  * Create new Speech and Text Analytics publish topics job
1396
1624
  *
1397
1625
  * @param {Object} body The publish test topic phrase job to create
1626
+ * @param {Object} opts Optional parameters
1627
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1398
1628
  */
1399
- postSpeechandtextanalyticsTopicsTestphraseJobs(body) {
1629
+ postSpeechandtextanalyticsTopicsTestphraseJobs(body, opts) {
1630
+ opts = opts || {};
1631
+
1400
1632
  // verify the required parameter 'body' is set
1401
1633
  if (body === undefined || body === null) {
1402
1634
  throw 'Missing the required parameter "body" when calling postSpeechandtextanalyticsTopicsTestphraseJobs';
@@ -1412,7 +1644,8 @@ class SpeechTextAnalyticsApi {
1412
1644
  body,
1413
1645
  ['PureCloud OAuth'],
1414
1646
  ['application/json'],
1415
- ['application/json']
1647
+ ['application/json'],
1648
+ opts['customHeaders']
1416
1649
  );
1417
1650
  }
1418
1651
 
@@ -1420,8 +1653,12 @@ class SpeechTextAnalyticsApi {
1420
1653
  * Search resources.
1421
1654
  *
1422
1655
  * @param {Object} body Search request options
1656
+ * @param {Object} opts Optional parameters
1657
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1423
1658
  */
1424
- postSpeechandtextanalyticsTranscriptsSearch(body) {
1659
+ postSpeechandtextanalyticsTranscriptsSearch(body, opts) {
1660
+ opts = opts || {};
1661
+
1425
1662
  // verify the required parameter 'body' is set
1426
1663
  if (body === undefined || body === null) {
1427
1664
  throw 'Missing the required parameter "body" when calling postSpeechandtextanalyticsTranscriptsSearch';
@@ -1437,7 +1674,8 @@ class SpeechTextAnalyticsApi {
1437
1674
  body,
1438
1675
  ['PureCloud OAuth'],
1439
1676
  ['application/json'],
1440
- ['application/json']
1677
+ ['application/json'],
1678
+ opts['customHeaders']
1441
1679
  );
1442
1680
  }
1443
1681
 
@@ -1446,8 +1684,12 @@ class SpeechTextAnalyticsApi {
1446
1684
  *
1447
1685
  * @param {String} categoryId The id of the category
1448
1686
  * @param {Object} body The updated category
1687
+ * @param {Object} opts Optional parameters
1688
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1449
1689
  */
1450
- putSpeechandtextanalyticsCategory(categoryId, body) {
1690
+ putSpeechandtextanalyticsCategory(categoryId, body, opts) {
1691
+ opts = opts || {};
1692
+
1451
1693
  // verify the required parameter 'categoryId' is set
1452
1694
  if (categoryId === undefined || categoryId === null || categoryId === '') {
1453
1695
  throw 'Missing the required parameter "categoryId" when calling putSpeechandtextanalyticsCategory';
@@ -1467,7 +1709,8 @@ class SpeechTextAnalyticsApi {
1467
1709
  body,
1468
1710
  ['PureCloud OAuth'],
1469
1711
  ['application/json'],
1470
- ['application/json']
1712
+ ['application/json'],
1713
+ opts['customHeaders']
1471
1714
  );
1472
1715
  }
1473
1716
 
@@ -1477,6 +1720,7 @@ class SpeechTextAnalyticsApi {
1477
1720
  * @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
1478
1721
  * @param {Object} opts Optional parameters
1479
1722
  * @param {Object} opts.body
1723
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1480
1724
  */
1481
1725
  putSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(dictionaryFeedbackId, opts) {
1482
1726
  opts = opts || {};
@@ -1496,7 +1740,8 @@ class SpeechTextAnalyticsApi {
1496
1740
  opts['body'],
1497
1741
  ['PureCloud OAuth'],
1498
1742
  ['application/json'],
1499
- ['application/json']
1743
+ ['application/json'],
1744
+ opts['customHeaders']
1500
1745
  );
1501
1746
  }
1502
1747
 
@@ -1505,8 +1750,12 @@ class SpeechTextAnalyticsApi {
1505
1750
  *
1506
1751
  * @param {String} programId The id of the program
1507
1752
  * @param {Object} body The program to update
1753
+ * @param {Object} opts Optional parameters
1754
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1508
1755
  */
1509
- putSpeechandtextanalyticsProgram(programId, body) {
1756
+ putSpeechandtextanalyticsProgram(programId, body, opts) {
1757
+ opts = opts || {};
1758
+
1510
1759
  // verify the required parameter 'programId' is set
1511
1760
  if (programId === undefined || programId === null || programId === '') {
1512
1761
  throw 'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgram';
@@ -1526,7 +1775,8 @@ class SpeechTextAnalyticsApi {
1526
1775
  body,
1527
1776
  ['PureCloud OAuth'],
1528
1777
  ['application/json'],
1529
- ['application/json']
1778
+ ['application/json'],
1779
+ opts['customHeaders']
1530
1780
  );
1531
1781
  }
1532
1782
 
@@ -1535,8 +1785,12 @@ class SpeechTextAnalyticsApi {
1535
1785
  *
1536
1786
  * @param {String} programId The id of the program
1537
1787
  * @param {Object} body The program to set mappings for
1788
+ * @param {Object} opts Optional parameters
1789
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1538
1790
  */
1539
- putSpeechandtextanalyticsProgramMappings(programId, body) {
1791
+ putSpeechandtextanalyticsProgramMappings(programId, body, opts) {
1792
+ opts = opts || {};
1793
+
1540
1794
  // verify the required parameter 'programId' is set
1541
1795
  if (programId === undefined || programId === null || programId === '') {
1542
1796
  throw 'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramMappings';
@@ -1556,7 +1810,8 @@ class SpeechTextAnalyticsApi {
1556
1810
  body,
1557
1811
  ['PureCloud OAuth'],
1558
1812
  ['application/json'],
1559
- ['application/json']
1813
+ ['application/json'],
1814
+ opts['customHeaders']
1560
1815
  );
1561
1816
  }
1562
1817
 
@@ -1565,8 +1820,12 @@ class SpeechTextAnalyticsApi {
1565
1820
  *
1566
1821
  * @param {String} programId The id of the program
1567
1822
  * @param {Object} body Program AI Insights setting
1823
+ * @param {Object} opts Optional parameters
1824
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1568
1825
  */
1569
- putSpeechandtextanalyticsProgramSettingsInsights(programId, body) {
1826
+ putSpeechandtextanalyticsProgramSettingsInsights(programId, body, opts) {
1827
+ opts = opts || {};
1828
+
1570
1829
  // verify the required parameter 'programId' is set
1571
1830
  if (programId === undefined || programId === null || programId === '') {
1572
1831
  throw 'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramSettingsInsights';
@@ -1586,7 +1845,8 @@ class SpeechTextAnalyticsApi {
1586
1845
  body,
1587
1846
  ['PureCloud OAuth'],
1588
1847
  ['application/json'],
1589
- ['application/json']
1848
+ ['application/json'],
1849
+ opts['customHeaders']
1590
1850
  );
1591
1851
  }
1592
1852
 
@@ -1595,8 +1855,12 @@ class SpeechTextAnalyticsApi {
1595
1855
  *
1596
1856
  * @param {String} programId The id of the program
1597
1857
  * @param {Object} body Program transcription engine setting
1858
+ * @param {Object} opts Optional parameters
1859
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1598
1860
  */
1599
- putSpeechandtextanalyticsProgramTranscriptionengines(programId, body) {
1861
+ putSpeechandtextanalyticsProgramTranscriptionengines(programId, body, opts) {
1862
+ opts = opts || {};
1863
+
1600
1864
  // verify the required parameter 'programId' is set
1601
1865
  if (programId === undefined || programId === null || programId === '') {
1602
1866
  throw 'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramTranscriptionengines';
@@ -1616,7 +1880,8 @@ class SpeechTextAnalyticsApi {
1616
1880
  body,
1617
1881
  ['PureCloud OAuth'],
1618
1882
  ['application/json'],
1619
- ['application/json']
1883
+ ['application/json'],
1884
+ opts['customHeaders']
1620
1885
  );
1621
1886
  }
1622
1887
 
@@ -1624,8 +1889,12 @@ class SpeechTextAnalyticsApi {
1624
1889
  * Update Speech And Text Analytics Settings
1625
1890
  *
1626
1891
  * @param {Object} body Speech And Text Analytics Settings
1892
+ * @param {Object} opts Optional parameters
1893
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1627
1894
  */
1628
- putSpeechandtextanalyticsSettings(body) {
1895
+ putSpeechandtextanalyticsSettings(body, opts) {
1896
+ opts = opts || {};
1897
+
1629
1898
  // verify the required parameter 'body' is set
1630
1899
  if (body === undefined || body === null) {
1631
1900
  throw 'Missing the required parameter "body" when calling putSpeechandtextanalyticsSettings';
@@ -1641,7 +1910,8 @@ class SpeechTextAnalyticsApi {
1641
1910
  body,
1642
1911
  ['PureCloud OAuth'],
1643
1912
  ['application/json'],
1644
- ['application/json']
1913
+ ['application/json'],
1914
+ opts['customHeaders']
1645
1915
  );
1646
1916
  }
1647
1917
 
@@ -1650,8 +1920,12 @@ class SpeechTextAnalyticsApi {
1650
1920
  *
1651
1921
  * @param {String} topicId The id of the topic
1652
1922
  * @param {Object} body The topic to update
1923
+ * @param {Object} opts Optional parameters
1924
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1653
1925
  */
1654
- putSpeechandtextanalyticsTopic(topicId, body) {
1926
+ putSpeechandtextanalyticsTopic(topicId, body, opts) {
1927
+ opts = opts || {};
1928
+
1655
1929
  // verify the required parameter 'topicId' is set
1656
1930
  if (topicId === undefined || topicId === null || topicId === '') {
1657
1931
  throw 'Missing the required parameter "topicId" when calling putSpeechandtextanalyticsTopic';
@@ -1671,7 +1945,8 @@ class SpeechTextAnalyticsApi {
1671
1945
  body,
1672
1946
  ['PureCloud OAuth'],
1673
1947
  ['application/json'],
1674
- ['application/json']
1948
+ ['application/json'],
1949
+ opts['customHeaders']
1675
1950
  );
1676
1951
  }
1677
1952