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 QualityApi {
5
5
  /**
6
6
  * Quality service.
7
7
  * @module purecloud-platform-client-v2/api/QualityApi
8
- * @version 249.0.0
8
+ * @version 250.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -24,9 +24,13 @@ class QualityApi {
24
24
  * Delete/cancel an async request for evaluation aggregates
25
25
  *
26
26
  * @param {String} jobId jobId
27
+ * @param {Object} opts Optional parameters
28
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
27
29
  * deleteAnalyticsEvaluationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
28
30
  */
29
- deleteAnalyticsEvaluationsAggregatesJob(jobId) {
31
+ deleteAnalyticsEvaluationsAggregatesJob(jobId, opts) {
32
+ opts = opts || {};
33
+
30
34
  // verify the required parameter 'jobId' is set
31
35
  if (jobId === undefined || jobId === null || jobId === '') {
32
36
  throw 'Missing the required parameter "jobId" when calling deleteAnalyticsEvaluationsAggregatesJob';
@@ -42,7 +46,8 @@ class QualityApi {
42
46
  null,
43
47
  ['PureCloud OAuth'],
44
48
  ['application/json'],
45
- ['application/json']
49
+ ['application/json'],
50
+ opts['customHeaders']
46
51
  );
47
52
  }
48
53
 
@@ -50,9 +55,13 @@ class QualityApi {
50
55
  * Delete/cancel an async request for survey aggregates
51
56
  *
52
57
  * @param {String} jobId jobId
58
+ * @param {Object} opts Optional parameters
59
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
53
60
  * deleteAnalyticsSurveysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
54
61
  */
55
- deleteAnalyticsSurveysAggregatesJob(jobId) {
62
+ deleteAnalyticsSurveysAggregatesJob(jobId, opts) {
63
+ opts = opts || {};
64
+
56
65
  // verify the required parameter 'jobId' is set
57
66
  if (jobId === undefined || jobId === null || jobId === '') {
58
67
  throw 'Missing the required parameter "jobId" when calling deleteAnalyticsSurveysAggregatesJob';
@@ -68,7 +77,8 @@ class QualityApi {
68
77
  null,
69
78
  ['PureCloud OAuth'],
70
79
  ['application/json'],
71
- ['application/json']
80
+ ['application/json'],
81
+ opts['customHeaders']
72
82
  );
73
83
  }
74
84
 
@@ -77,8 +87,12 @@ class QualityApi {
77
87
  *
78
88
  * @param {String} calibrationId Calibration ID
79
89
  * @param {String} calibratorId calibratorId
90
+ * @param {Object} opts Optional parameters
91
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
80
92
  */
81
- deleteQualityCalibration(calibrationId, calibratorId) {
93
+ deleteQualityCalibration(calibrationId, calibratorId, opts) {
94
+ opts = opts || {};
95
+
82
96
  // verify the required parameter 'calibrationId' is set
83
97
  if (calibrationId === undefined || calibrationId === null || calibrationId === '') {
84
98
  throw 'Missing the required parameter "calibrationId" when calling deleteQualityCalibration';
@@ -98,7 +112,8 @@ class QualityApi {
98
112
  null,
99
113
  ['PureCloud OAuth'],
100
114
  ['application/json'],
101
- ['application/json']
115
+ ['application/json'],
116
+ opts['customHeaders']
102
117
  );
103
118
  }
104
119
 
@@ -109,6 +124,7 @@ class QualityApi {
109
124
  * @param {String} evaluationId evaluationId
110
125
  * @param {Object} opts Optional parameters
111
126
  * @param {String} opts.expand evaluatorId, evaluationForm
127
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
112
128
  */
113
129
  deleteQualityConversationEvaluation(conversationId, evaluationId, opts) {
114
130
  opts = opts || {};
@@ -132,7 +148,8 @@ class QualityApi {
132
148
  null,
133
149
  ['PureCloud OAuth'],
134
150
  ['application/json'],
135
- ['application/json']
151
+ ['application/json'],
152
+ opts['customHeaders']
136
153
  );
137
154
  }
138
155
 
@@ -140,9 +157,13 @@ class QualityApi {
140
157
  * Delete an evaluation form.
141
158
  *
142
159
  * @param {String} formId Form ID
160
+ * @param {Object} opts Optional parameters
161
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
143
162
  * @deprecated
144
163
  */
145
- deleteQualityForm(formId) {
164
+ deleteQualityForm(formId, opts) {
165
+ opts = opts || {};
166
+
146
167
  // verify the required parameter 'formId' is set
147
168
  if (formId === undefined || formId === null || formId === '') {
148
169
  throw 'Missing the required parameter "formId" when calling deleteQualityForm';
@@ -158,7 +179,8 @@ class QualityApi {
158
179
  null,
159
180
  ['PureCloud OAuth'],
160
181
  ['application/json'],
161
- ['application/json']
182
+ ['application/json'],
183
+ opts['customHeaders']
162
184
  );
163
185
  }
164
186
 
@@ -166,8 +188,12 @@ class QualityApi {
166
188
  * Delete an evaluation form.
167
189
  *
168
190
  * @param {String} formId Form ID
191
+ * @param {Object} opts Optional parameters
192
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
169
193
  */
170
- deleteQualityFormsEvaluation(formId) {
194
+ deleteQualityFormsEvaluation(formId, opts) {
195
+ opts = opts || {};
196
+
171
197
  // verify the required parameter 'formId' is set
172
198
  if (formId === undefined || formId === null || formId === '') {
173
199
  throw 'Missing the required parameter "formId" when calling deleteQualityFormsEvaluation';
@@ -183,7 +209,8 @@ class QualityApi {
183
209
  null,
184
210
  ['PureCloud OAuth'],
185
211
  ['application/json'],
186
- ['application/json']
212
+ ['application/json'],
213
+ opts['customHeaders']
187
214
  );
188
215
  }
189
216
 
@@ -191,8 +218,12 @@ class QualityApi {
191
218
  * Delete a survey form.
192
219
  *
193
220
  * @param {String} formId Form ID
221
+ * @param {Object} opts Optional parameters
222
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
194
223
  */
195
- deleteQualityFormsSurvey(formId) {
224
+ deleteQualityFormsSurvey(formId, opts) {
225
+ opts = opts || {};
226
+
196
227
  // verify the required parameter 'formId' is set
197
228
  if (formId === undefined || formId === null || formId === '') {
198
229
  throw 'Missing the required parameter "formId" when calling deleteQualityFormsSurvey';
@@ -208,7 +239,8 @@ class QualityApi {
208
239
  null,
209
240
  ['PureCloud OAuth'],
210
241
  ['application/json'],
211
- ['application/json']
242
+ ['application/json'],
243
+ opts['customHeaders']
212
244
  );
213
245
  }
214
246
 
@@ -217,8 +249,12 @@ class QualityApi {
217
249
  *
218
250
  * @param {String} programId Program ID from Speech and Text Analytics
219
251
  * @param {String} ruleId Agent Scoring Rule ID
252
+ * @param {Object} opts Optional parameters
253
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
220
254
  */
221
- deleteQualityProgramAgentscoringrule(programId, ruleId) {
255
+ deleteQualityProgramAgentscoringrule(programId, ruleId, opts) {
256
+ opts = opts || {};
257
+
222
258
  // verify the required parameter 'programId' is set
223
259
  if (programId === undefined || programId === null || programId === '') {
224
260
  throw 'Missing the required parameter "programId" when calling deleteQualityProgramAgentscoringrule';
@@ -238,7 +274,8 @@ class QualityApi {
238
274
  null,
239
275
  ['PureCloud OAuth'],
240
276
  ['application/json'],
241
- ['application/json']
277
+ ['application/json'],
278
+ opts['customHeaders']
242
279
  );
243
280
  }
244
281
 
@@ -246,9 +283,13 @@ class QualityApi {
246
283
  * Get status for async query for evaluation aggregates
247
284
  *
248
285
  * @param {String} jobId jobId
286
+ * @param {Object} opts Optional parameters
287
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
249
288
  * getAnalyticsEvaluationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
250
289
  */
251
- getAnalyticsEvaluationsAggregatesJob(jobId) {
290
+ getAnalyticsEvaluationsAggregatesJob(jobId, opts) {
291
+ opts = opts || {};
292
+
252
293
  // verify the required parameter 'jobId' is set
253
294
  if (jobId === undefined || jobId === null || jobId === '') {
254
295
  throw 'Missing the required parameter "jobId" when calling getAnalyticsEvaluationsAggregatesJob';
@@ -264,7 +305,8 @@ class QualityApi {
264
305
  null,
265
306
  ['PureCloud OAuth'],
266
307
  ['application/json'],
267
- ['application/json']
308
+ ['application/json'],
309
+ opts['customHeaders']
268
310
  );
269
311
  }
270
312
 
@@ -274,6 +316,7 @@ class QualityApi {
274
316
  * @param {String} jobId jobId
275
317
  * @param {Object} opts Optional parameters
276
318
  * @param {String} opts.cursor Cursor token to retrieve next page
319
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
277
320
  * getAnalyticsEvaluationsAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
278
321
  */
279
322
  getAnalyticsEvaluationsAggregatesJobResults(jobId, opts) {
@@ -294,7 +337,8 @@ class QualityApi {
294
337
  null,
295
338
  ['PureCloud OAuth'],
296
339
  ['application/json'],
297
- ['application/json']
340
+ ['application/json'],
341
+ opts['customHeaders']
298
342
  );
299
343
  }
300
344
 
@@ -302,9 +346,13 @@ class QualityApi {
302
346
  * Get status for async query for survey aggregates
303
347
  *
304
348
  * @param {String} jobId jobId
349
+ * @param {Object} opts Optional parameters
350
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
305
351
  * getAnalyticsSurveysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
306
352
  */
307
- getAnalyticsSurveysAggregatesJob(jobId) {
353
+ getAnalyticsSurveysAggregatesJob(jobId, opts) {
354
+ opts = opts || {};
355
+
308
356
  // verify the required parameter 'jobId' is set
309
357
  if (jobId === undefined || jobId === null || jobId === '') {
310
358
  throw 'Missing the required parameter "jobId" when calling getAnalyticsSurveysAggregatesJob';
@@ -320,7 +368,8 @@ class QualityApi {
320
368
  null,
321
369
  ['PureCloud OAuth'],
322
370
  ['application/json'],
323
- ['application/json']
371
+ ['application/json'],
372
+ opts['customHeaders']
324
373
  );
325
374
  }
326
375
 
@@ -330,6 +379,7 @@ class QualityApi {
330
379
  * @param {String} jobId jobId
331
380
  * @param {Object} opts Optional parameters
332
381
  * @param {String} opts.cursor Cursor token to retrieve next page
382
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
333
383
  * getAnalyticsSurveysAggregatesJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
334
384
  */
335
385
  getAnalyticsSurveysAggregatesJobResults(jobId, opts) {
@@ -350,7 +400,8 @@ class QualityApi {
350
400
  null,
351
401
  ['PureCloud OAuth'],
352
402
  ['application/json'],
353
- ['application/json']
403
+ ['application/json'],
404
+ opts['customHeaders']
354
405
  );
355
406
  }
356
407
 
@@ -373,6 +424,7 @@ class QualityApi {
373
424
  * @param {String} opts.agentTeamId team id of agents requested
374
425
  * @param {String} opts.formContextId shared id between form versions
375
426
  * @param {Object} opts.userState 'Legacy' fetches active and inactive users when evaluatorUserId or no user filters are supplied; otherwise fetches active users. 'Any' fetches users of 'active', 'inactive' and 'deleted' states. (default to Legacy)
427
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
376
428
  */
377
429
  getQualityAgentsActivity(opts) {
378
430
  opts = opts || {};
@@ -388,7 +440,8 @@ class QualityApi {
388
440
  null,
389
441
  ['PureCloud OAuth'],
390
442
  ['application/json'],
391
- ['application/json']
443
+ ['application/json'],
444
+ opts['customHeaders']
392
445
  );
393
446
  }
394
447
 
@@ -399,6 +452,7 @@ class QualityApi {
399
452
  * @param {Object} opts Optional parameters
400
453
  * @param {String} opts.calibratorId calibratorId
401
454
  * @param {String} opts.conversationId conversationId
455
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
402
456
  */
403
457
  getQualityCalibration(calibrationId, opts) {
404
458
  opts = opts || {};
@@ -418,7 +472,8 @@ class QualityApi {
418
472
  null,
419
473
  ['PureCloud OAuth'],
420
474
  ['application/json'],
421
- ['application/json']
475
+ ['application/json'],
476
+ opts['customHeaders']
422
477
  );
423
478
  }
424
479
 
@@ -436,6 +491,7 @@ class QualityApi {
436
491
  * @param {String} opts.conversationId conversation id
437
492
  * @param {Date} opts.startTime Beginning of the calibration query. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
438
493
  * @param {Date} opts.endTime end of the calibration query. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
494
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
439
495
  */
440
496
  getQualityCalibrations(calibratorId, opts) {
441
497
  opts = opts || {};
@@ -455,7 +511,8 @@ class QualityApi {
455
511
  null,
456
512
  ['PureCloud OAuth'],
457
513
  ['application/json'],
458
- ['application/json']
514
+ ['application/json'],
515
+ opts['customHeaders']
459
516
  );
460
517
  }
461
518
 
@@ -466,6 +523,7 @@ class QualityApi {
466
523
  * @param {String} evaluationId evaluationId
467
524
  * @param {Object} opts Optional parameters
468
525
  * @param {String} opts.expand agent, assignee, evaluator, evaluationForm
526
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
469
527
  */
470
528
  getQualityConversationEvaluation(conversationId, evaluationId, opts) {
471
529
  opts = opts || {};
@@ -489,7 +547,8 @@ class QualityApi {
489
547
  null,
490
548
  ['PureCloud OAuth'],
491
549
  ['application/json'],
492
- ['application/json']
550
+ ['application/json'],
551
+ opts['customHeaders']
493
552
  );
494
553
  }
495
554
 
@@ -497,8 +556,12 @@ class QualityApi {
497
556
  * Get the surveys for a conversation
498
557
  *
499
558
  * @param {String} conversationId conversationId
559
+ * @param {Object} opts Optional parameters
560
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
500
561
  */
501
- getQualityConversationSurveys(conversationId) {
562
+ getQualityConversationSurveys(conversationId, opts) {
563
+ opts = opts || {};
564
+
502
565
  // verify the required parameter 'conversationId' is set
503
566
  if (conversationId === undefined || conversationId === null || conversationId === '') {
504
567
  throw 'Missing the required parameter "conversationId" when calling getQualityConversationSurveys';
@@ -514,7 +577,8 @@ class QualityApi {
514
577
  null,
515
578
  ['PureCloud OAuth'],
516
579
  ['application/json'],
517
- ['application/json']
580
+ ['application/json'],
581
+ opts['customHeaders']
518
582
  );
519
583
  }
520
584
 
@@ -522,8 +586,12 @@ class QualityApi {
522
586
  * Get status of audit query execution
523
587
  *
524
588
  * @param {String} transactionId Transaction ID
589
+ * @param {Object} opts Optional parameters
590
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
525
591
  */
526
- getQualityConversationsAuditsQueryTransactionId(transactionId) {
592
+ getQualityConversationsAuditsQueryTransactionId(transactionId, opts) {
593
+ opts = opts || {};
594
+
527
595
  // verify the required parameter 'transactionId' is set
528
596
  if (transactionId === undefined || transactionId === null || transactionId === '') {
529
597
  throw 'Missing the required parameter "transactionId" when calling getQualityConversationsAuditsQueryTransactionId';
@@ -539,7 +607,8 @@ class QualityApi {
539
607
  null,
540
608
  ['PureCloud OAuth'],
541
609
  ['application/json'],
542
- ['application/json']
610
+ ['application/json'],
611
+ opts['customHeaders']
543
612
  );
544
613
  }
545
614
 
@@ -551,6 +620,7 @@ class QualityApi {
551
620
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page)
552
621
  * @param {Number} opts.pageSize Page size (default to 25)
553
622
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
623
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
554
624
  */
555
625
  getQualityConversationsAuditsQueryTransactionIdResults(transactionId, opts) {
556
626
  opts = opts || {};
@@ -570,7 +640,8 @@ class QualityApi {
570
640
  null,
571
641
  ['PureCloud OAuth'],
572
642
  ['application/json'],
573
- ['application/json']
643
+ ['application/json'],
644
+ opts['customHeaders']
574
645
  );
575
646
  }
576
647
 
@@ -598,6 +669,7 @@ class QualityApi {
598
669
  * @param {Number} opts.maximum the maximum number of results to return
599
670
  * @param {String} opts.sortOrder NOTE: Does not work when conversationId is supplied.
600
671
  * @param {Boolean} opts.includeDeletedUsers Allow returning an agent or evaluator user with a 'delete' status. Defaults to false. (default to false)
672
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
601
673
  */
602
674
  getQualityEvaluationsQuery(opts) {
603
675
  opts = opts || {};
@@ -613,7 +685,8 @@ class QualityApi {
613
685
  null,
614
686
  ['PureCloud OAuth'],
615
687
  ['application/json'],
616
- ['application/json']
688
+ ['application/json'],
689
+ opts['customHeaders']
617
690
  );
618
691
  }
619
692
 
@@ -633,6 +706,7 @@ class QualityApi {
633
706
  * @param {Array.<String>} opts.permission permission strings
634
707
  * @param {String} opts.group group id
635
708
  * @param {String} opts.agentTeamId team id of agents to be considered
709
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
636
710
  */
637
711
  getQualityEvaluatorsActivity(opts) {
638
712
  opts = opts || {};
@@ -648,7 +722,8 @@ class QualityApi {
648
722
  null,
649
723
  ['PureCloud OAuth'],
650
724
  ['application/json'],
651
- ['application/json']
725
+ ['application/json'],
726
+ opts['customHeaders']
652
727
  );
653
728
  }
654
729
 
@@ -656,9 +731,13 @@ class QualityApi {
656
731
  * Get an evaluation form
657
732
  *
658
733
  * @param {String} formId Form ID
734
+ * @param {Object} opts Optional parameters
735
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
659
736
  * @deprecated
660
737
  */
661
- getQualityForm(formId) {
738
+ getQualityForm(formId, opts) {
739
+ opts = opts || {};
740
+
662
741
  // verify the required parameter 'formId' is set
663
742
  if (formId === undefined || formId === null || formId === '') {
664
743
  throw 'Missing the required parameter "formId" when calling getQualityForm';
@@ -674,7 +753,8 @@ class QualityApi {
674
753
  null,
675
754
  ['PureCloud OAuth'],
676
755
  ['application/json'],
677
- ['application/json']
756
+ ['application/json'],
757
+ opts['customHeaders']
678
758
  );
679
759
  }
680
760
 
@@ -686,6 +766,7 @@ class QualityApi {
686
766
  * @param {Number} opts.pageSize Page size (default to 25)
687
767
  * @param {Number} opts.pageNumber Page number (default to 1)
688
768
  * @param {String} opts.sortOrder Sort order (default to asc)
769
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
689
770
  * @deprecated
690
771
  */
691
772
  getQualityFormVersions(formId, opts) {
@@ -706,7 +787,8 @@ class QualityApi {
706
787
  null,
707
788
  ['PureCloud OAuth'],
708
789
  ['application/json'],
709
- ['application/json']
790
+ ['application/json'],
791
+ opts['customHeaders']
710
792
  );
711
793
  }
712
794
 
@@ -722,6 +804,7 @@ class QualityApi {
722
804
  * @param {Object} opts.expand If 'expand=publishHistory', then each unpublished evaluation form includes a listing of its published versions
723
805
  * @param {String} opts.name Name
724
806
  * @param {String} opts.sortOrder Order to sort results, either asc or desc
807
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
725
808
  * @deprecated
726
809
  */
727
810
  getQualityForms(opts) {
@@ -738,7 +821,8 @@ class QualityApi {
738
821
  null,
739
822
  ['PureCloud OAuth'],
740
823
  ['application/json'],
741
- ['application/json']
824
+ ['application/json'],
825
+ opts['customHeaders']
742
826
  );
743
827
  }
744
828
 
@@ -746,8 +830,12 @@ class QualityApi {
746
830
  * Get an evaluation form
747
831
  *
748
832
  * @param {String} formId Form ID
833
+ * @param {Object} opts Optional parameters
834
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
749
835
  */
750
- getQualityFormsEvaluation(formId) {
836
+ getQualityFormsEvaluation(formId, opts) {
837
+ opts = opts || {};
838
+
751
839
  // verify the required parameter 'formId' is set
752
840
  if (formId === undefined || formId === null || formId === '') {
753
841
  throw 'Missing the required parameter "formId" when calling getQualityFormsEvaluation';
@@ -763,7 +851,8 @@ class QualityApi {
763
851
  null,
764
852
  ['PureCloud OAuth'],
765
853
  ['application/json'],
766
- ['application/json']
854
+ ['application/json'],
855
+ opts['customHeaders']
767
856
  );
768
857
  }
769
858
 
@@ -775,6 +864,7 @@ class QualityApi {
775
864
  * @param {Number} opts.pageSize Page size (default to 25)
776
865
  * @param {Number} opts.pageNumber Page number (default to 1)
777
866
  * @param {String} opts.sortOrder Sort order (default to asc)
867
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
778
868
  */
779
869
  getQualityFormsEvaluationVersions(formId, opts) {
780
870
  opts = opts || {};
@@ -794,7 +884,8 @@ class QualityApi {
794
884
  null,
795
885
  ['PureCloud OAuth'],
796
886
  ['application/json'],
797
- ['application/json']
887
+ ['application/json'],
888
+ opts['customHeaders']
798
889
  );
799
890
  }
800
891
 
@@ -810,6 +901,7 @@ class QualityApi {
810
901
  * @param {Object} opts.expand If 'expand=publishHistory', then each unpublished evaluation form includes a listing of its published versions
811
902
  * @param {String} opts.name Name
812
903
  * @param {String} opts.sortOrder Order to sort results, either asc or desc
904
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
813
905
  */
814
906
  getQualityFormsEvaluations(opts) {
815
907
  opts = opts || {};
@@ -825,7 +917,8 @@ class QualityApi {
825
917
  null,
826
918
  ['PureCloud OAuth'],
827
919
  ['application/json'],
828
- ['application/json']
920
+ ['application/json'],
921
+ opts['customHeaders']
829
922
  );
830
923
  }
831
924
 
@@ -835,6 +928,7 @@ class QualityApi {
835
928
  * @param {Array.<String>} id A comma-delimited list of valid evaluation form ids. The maximum number of ids allowed in this list is 100
836
929
  * @param {Object} opts Optional parameters
837
930
  * @param {Boolean} opts.includeLatestVersionFormName Whether to include the name of the form's most recently published version (default to false)
931
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
838
932
  */
839
933
  getQualityFormsEvaluationsBulk(id, opts) {
840
934
  opts = opts || {};
@@ -854,7 +948,8 @@ class QualityApi {
854
948
  null,
855
949
  ['PureCloud OAuth'],
856
950
  ['application/json'],
857
- ['application/json']
951
+ ['application/json'],
952
+ opts['customHeaders']
858
953
  );
859
954
  }
860
955
 
@@ -862,8 +957,12 @@ class QualityApi {
862
957
  * Retrieve a list of the latest published evaluation form versions by context ids
863
958
  *
864
959
  * @param {Array.<String>} contextId A comma-delimited list of valid evaluation form context ids
960
+ * @param {Object} opts Optional parameters
961
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
865
962
  */
866
- getQualityFormsEvaluationsBulkContexts(contextId) {
963
+ getQualityFormsEvaluationsBulkContexts(contextId, opts) {
964
+ opts = opts || {};
965
+
867
966
  // verify the required parameter 'contextId' is set
868
967
  if (contextId === undefined || contextId === null) {
869
968
  throw 'Missing the required parameter "contextId" when calling getQualityFormsEvaluationsBulkContexts';
@@ -879,7 +978,8 @@ class QualityApi {
879
978
  null,
880
979
  ['PureCloud OAuth'],
881
980
  ['application/json'],
882
- ['application/json']
981
+ ['application/json'],
982
+ opts['customHeaders']
883
983
  );
884
984
  }
885
985
 
@@ -887,8 +987,12 @@ class QualityApi {
887
987
  * Get a survey form
888
988
  *
889
989
  * @param {String} formId Form ID
990
+ * @param {Object} opts Optional parameters
991
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
890
992
  */
891
- getQualityFormsSurvey(formId) {
993
+ getQualityFormsSurvey(formId, opts) {
994
+ opts = opts || {};
995
+
892
996
  // verify the required parameter 'formId' is set
893
997
  if (formId === undefined || formId === null || formId === '') {
894
998
  throw 'Missing the required parameter "formId" when calling getQualityFormsSurvey';
@@ -904,7 +1008,8 @@ class QualityApi {
904
1008
  null,
905
1009
  ['PureCloud OAuth'],
906
1010
  ['application/json'],
907
- ['application/json']
1011
+ ['application/json'],
1012
+ opts['customHeaders']
908
1013
  );
909
1014
  }
910
1015
 
@@ -915,6 +1020,7 @@ class QualityApi {
915
1020
  * @param {Object} opts Optional parameters
916
1021
  * @param {Number} opts.pageSize Page size (default to 25)
917
1022
  * @param {Number} opts.pageNumber Page number (default to 1)
1023
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
918
1024
  */
919
1025
  getQualityFormsSurveyVersions(formId, opts) {
920
1026
  opts = opts || {};
@@ -934,7 +1040,8 @@ class QualityApi {
934
1040
  null,
935
1041
  ['PureCloud OAuth'],
936
1042
  ['application/json'],
937
- ['application/json']
1043
+ ['application/json'],
1044
+ opts['customHeaders']
938
1045
  );
939
1046
  }
940
1047
 
@@ -950,6 +1057,7 @@ class QualityApi {
950
1057
  * @param {Object} opts.expand If 'expand=publishHistory', then each unpublished evaluation form includes a listing of its published versions
951
1058
  * @param {String} opts.name Name
952
1059
  * @param {String} opts.sortOrder Order to sort results, either asc or desc
1060
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
953
1061
  */
954
1062
  getQualityFormsSurveys(opts) {
955
1063
  opts = opts || {};
@@ -965,7 +1073,8 @@ class QualityApi {
965
1073
  null,
966
1074
  ['PureCloud OAuth'],
967
1075
  ['application/json'],
968
- ['application/json']
1076
+ ['application/json'],
1077
+ opts['customHeaders']
969
1078
  );
970
1079
  }
971
1080
 
@@ -973,8 +1082,12 @@ class QualityApi {
973
1082
  * Retrieve a list of survey forms by their ids
974
1083
  *
975
1084
  * @param {Array.<String>} id A comma-delimited list of valid survey form ids
1085
+ * @param {Object} opts Optional parameters
1086
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
976
1087
  */
977
- getQualityFormsSurveysBulk(id) {
1088
+ getQualityFormsSurveysBulk(id, opts) {
1089
+ opts = opts || {};
1090
+
978
1091
  // verify the required parameter 'id' is set
979
1092
  if (id === undefined || id === null) {
980
1093
  throw 'Missing the required parameter "id" when calling getQualityFormsSurveysBulk';
@@ -990,7 +1103,8 @@ class QualityApi {
990
1103
  null,
991
1104
  ['PureCloud OAuth'],
992
1105
  ['application/json'],
993
- ['application/json']
1106
+ ['application/json'],
1107
+ opts['customHeaders']
994
1108
  );
995
1109
  }
996
1110
 
@@ -1000,6 +1114,7 @@ class QualityApi {
1000
1114
  * @param {Array.<String>} contextId A comma-delimited list of valid survey form context ids. The maximum number of ids allowed in this list is 100.
1001
1115
  * @param {Object} opts Optional parameters
1002
1116
  * @param {Boolean} opts.published If true, the latest published version will be included. If false, only the unpublished version will be included. (default to true)
1117
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1003
1118
  */
1004
1119
  getQualityFormsSurveysBulkContexts(contextId, opts) {
1005
1120
  opts = opts || {};
@@ -1019,7 +1134,8 @@ class QualityApi {
1019
1134
  null,
1020
1135
  ['PureCloud OAuth'],
1021
1136
  ['application/json'],
1022
- ['application/json']
1137
+ ['application/json'],
1138
+ opts['customHeaders']
1023
1139
  );
1024
1140
  }
1025
1141
 
@@ -1028,8 +1144,12 @@ class QualityApi {
1028
1144
  *
1029
1145
  * @param {String} programId Program ID from Speech and Text Analytics
1030
1146
  * @param {String} ruleId Agent Scoring Rule ID
1147
+ * @param {Object} opts Optional parameters
1148
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1031
1149
  */
1032
- getQualityProgramAgentscoringrule(programId, ruleId) {
1150
+ getQualityProgramAgentscoringrule(programId, ruleId, opts) {
1151
+ opts = opts || {};
1152
+
1033
1153
  // verify the required parameter 'programId' is set
1034
1154
  if (programId === undefined || programId === null || programId === '') {
1035
1155
  throw 'Missing the required parameter "programId" when calling getQualityProgramAgentscoringrule';
@@ -1049,7 +1169,8 @@ class QualityApi {
1049
1169
  null,
1050
1170
  ['PureCloud OAuth'],
1051
1171
  ['application/json'],
1052
- ['application/json']
1172
+ ['application/json'],
1173
+ opts['customHeaders']
1053
1174
  );
1054
1175
  }
1055
1176
 
@@ -1057,8 +1178,12 @@ class QualityApi {
1057
1178
  * Get Agent Scoring Rules for a program
1058
1179
  *
1059
1180
  * @param {String} programId Program ID from Speech and Text Analytics
1181
+ * @param {Object} opts Optional parameters
1182
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1060
1183
  */
1061
- getQualityProgramAgentscoringrules(programId) {
1184
+ getQualityProgramAgentscoringrules(programId, opts) {
1185
+ opts = opts || {};
1186
+
1062
1187
  // verify the required parameter 'programId' is set
1063
1188
  if (programId === undefined || programId === null || programId === '') {
1064
1189
  throw 'Missing the required parameter "programId" when calling getQualityProgramAgentscoringrules';
@@ -1074,7 +1199,8 @@ class QualityApi {
1074
1199
  null,
1075
1200
  ['PureCloud OAuth'],
1076
1201
  ['application/json'],
1077
- ['application/json']
1202
+ ['application/json'],
1203
+ opts['customHeaders']
1078
1204
  );
1079
1205
  }
1080
1206
 
@@ -1082,9 +1208,13 @@ class QualityApi {
1082
1208
  * Get the published evaluation forms.
1083
1209
  *
1084
1210
  * @param {String} formId Form ID
1211
+ * @param {Object} opts Optional parameters
1212
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1085
1213
  * @deprecated
1086
1214
  */
1087
- getQualityPublishedform(formId) {
1215
+ getQualityPublishedform(formId, opts) {
1216
+ opts = opts || {};
1217
+
1088
1218
  // verify the required parameter 'formId' is set
1089
1219
  if (formId === undefined || formId === null || formId === '') {
1090
1220
  throw 'Missing the required parameter "formId" when calling getQualityPublishedform';
@@ -1100,7 +1230,8 @@ class QualityApi {
1100
1230
  null,
1101
1231
  ['PureCloud OAuth'],
1102
1232
  ['application/json'],
1103
- ['application/json']
1233
+ ['application/json'],
1234
+ opts['customHeaders']
1104
1235
  );
1105
1236
  }
1106
1237
 
@@ -1112,6 +1243,7 @@ class QualityApi {
1112
1243
  * @param {Number} opts.pageNumber Page number (default to 1)
1113
1244
  * @param {String} opts.name Name
1114
1245
  * @param {Boolean} opts.onlyLatestPerContext onlyLatestPerContext (default to false)
1246
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1115
1247
  * @deprecated
1116
1248
  */
1117
1249
  getQualityPublishedforms(opts) {
@@ -1128,7 +1260,8 @@ class QualityApi {
1128
1260
  null,
1129
1261
  ['PureCloud OAuth'],
1130
1262
  ['application/json'],
1131
- ['application/json']
1263
+ ['application/json'],
1264
+ opts['customHeaders']
1132
1265
  );
1133
1266
  }
1134
1267
 
@@ -1136,8 +1269,12 @@ class QualityApi {
1136
1269
  * Get the most recent published version of an evaluation form.
1137
1270
  *
1138
1271
  * @param {String} formId Form ID
1272
+ * @param {Object} opts Optional parameters
1273
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1139
1274
  */
1140
- getQualityPublishedformsEvaluation(formId) {
1275
+ getQualityPublishedformsEvaluation(formId, opts) {
1276
+ opts = opts || {};
1277
+
1141
1278
  // verify the required parameter 'formId' is set
1142
1279
  if (formId === undefined || formId === null || formId === '') {
1143
1280
  throw 'Missing the required parameter "formId" when calling getQualityPublishedformsEvaluation';
@@ -1153,7 +1290,8 @@ class QualityApi {
1153
1290
  null,
1154
1291
  ['PureCloud OAuth'],
1155
1292
  ['application/json'],
1156
- ['application/json']
1293
+ ['application/json'],
1294
+ opts['customHeaders']
1157
1295
  );
1158
1296
  }
1159
1297
 
@@ -1165,6 +1303,7 @@ class QualityApi {
1165
1303
  * @param {Number} opts.pageNumber Page number (default to 1)
1166
1304
  * @param {String} opts.name Name
1167
1305
  * @param {Boolean} opts.onlyLatestPerContext onlyLatestPerContext (default to false)
1306
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1168
1307
  */
1169
1308
  getQualityPublishedformsEvaluations(opts) {
1170
1309
  opts = opts || {};
@@ -1180,7 +1319,8 @@ class QualityApi {
1180
1319
  null,
1181
1320
  ['PureCloud OAuth'],
1182
1321
  ['application/json'],
1183
- ['application/json']
1322
+ ['application/json'],
1323
+ opts['customHeaders']
1184
1324
  );
1185
1325
  }
1186
1326
 
@@ -1188,8 +1328,12 @@ class QualityApi {
1188
1328
  * Get the most recent published version of a survey form.
1189
1329
  *
1190
1330
  * @param {String} formId Form ID
1331
+ * @param {Object} opts Optional parameters
1332
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1191
1333
  */
1192
- getQualityPublishedformsSurvey(formId) {
1334
+ getQualityPublishedformsSurvey(formId, opts) {
1335
+ opts = opts || {};
1336
+
1193
1337
  // verify the required parameter 'formId' is set
1194
1338
  if (formId === undefined || formId === null || formId === '') {
1195
1339
  throw 'Missing the required parameter "formId" when calling getQualityPublishedformsSurvey';
@@ -1205,7 +1349,8 @@ class QualityApi {
1205
1349
  null,
1206
1350
  ['PureCloud OAuth'],
1207
1351
  ['application/json'],
1208
- ['application/json']
1352
+ ['application/json'],
1353
+ opts['customHeaders']
1209
1354
  );
1210
1355
  }
1211
1356
 
@@ -1217,6 +1362,7 @@ class QualityApi {
1217
1362
  * @param {Number} opts.pageNumber Page number (default to 1)
1218
1363
  * @param {String} opts.name Name
1219
1364
  * @param {Boolean} opts.onlyLatestEnabledPerContext onlyLatestEnabledPerContext (default to false)
1365
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1220
1366
  */
1221
1367
  getQualityPublishedformsSurveys(opts) {
1222
1368
  opts = opts || {};
@@ -1232,7 +1378,8 @@ class QualityApi {
1232
1378
  null,
1233
1379
  ['PureCloud OAuth'],
1234
1380
  ['application/json'],
1235
- ['application/json']
1381
+ ['application/json'],
1382
+ opts['customHeaders']
1236
1383
  );
1237
1384
  }
1238
1385
 
@@ -1240,8 +1387,12 @@ class QualityApi {
1240
1387
  * Get a survey for a conversation
1241
1388
  *
1242
1389
  * @param {String} surveyId surveyId
1390
+ * @param {Object} opts Optional parameters
1391
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1243
1392
  */
1244
- getQualitySurvey(surveyId) {
1393
+ getQualitySurvey(surveyId, opts) {
1394
+ opts = opts || {};
1395
+
1245
1396
  // verify the required parameter 'surveyId' is set
1246
1397
  if (surveyId === undefined || surveyId === null || surveyId === '') {
1247
1398
  throw 'Missing the required parameter "surveyId" when calling getQualitySurvey';
@@ -1257,7 +1408,8 @@ class QualityApi {
1257
1408
  null,
1258
1409
  ['PureCloud OAuth'],
1259
1410
  ['application/json'],
1260
- ['application/json']
1411
+ ['application/json'],
1412
+ opts['customHeaders']
1261
1413
  );
1262
1414
  }
1263
1415
 
@@ -1265,8 +1417,12 @@ class QualityApi {
1265
1417
  * Get a survey as an end-customer, for the purposes of scoring it.
1266
1418
  *
1267
1419
  * @param {String} customerSurveyUrl customerSurveyUrl
1420
+ * @param {Object} opts Optional parameters
1421
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1268
1422
  */
1269
- getQualitySurveysScorable(customerSurveyUrl) {
1423
+ getQualitySurveysScorable(customerSurveyUrl, opts) {
1424
+ opts = opts || {};
1425
+
1270
1426
  // verify the required parameter 'customerSurveyUrl' is set
1271
1427
  if (customerSurveyUrl === undefined || customerSurveyUrl === null) {
1272
1428
  throw 'Missing the required parameter "customerSurveyUrl" when calling getQualitySurveysScorable';
@@ -1282,7 +1438,8 @@ class QualityApi {
1282
1438
  null,
1283
1439
  ['PureCloud OAuth'],
1284
1440
  ['application/json'],
1285
- ['application/json']
1441
+ ['application/json'],
1442
+ opts['customHeaders']
1286
1443
  );
1287
1444
  }
1288
1445
 
@@ -1291,8 +1448,12 @@ class QualityApi {
1291
1448
  *
1292
1449
  * @param {String} formId Form ID
1293
1450
  * @param {Object} body Survey form
1451
+ * @param {Object} opts Optional parameters
1452
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1294
1453
  */
1295
- patchQualityFormsSurvey(formId, body) {
1454
+ patchQualityFormsSurvey(formId, body, opts) {
1455
+ opts = opts || {};
1456
+
1296
1457
  // verify the required parameter 'formId' is set
1297
1458
  if (formId === undefined || formId === null || formId === '') {
1298
1459
  throw 'Missing the required parameter "formId" when calling patchQualityFormsSurvey';
@@ -1312,7 +1473,8 @@ class QualityApi {
1312
1473
  body,
1313
1474
  ['PureCloud OAuth'],
1314
1475
  ['application/json'],
1315
- ['application/json']
1476
+ ['application/json'],
1477
+ opts['customHeaders']
1316
1478
  );
1317
1479
  }
1318
1480
 
@@ -1320,9 +1482,13 @@ class QualityApi {
1320
1482
  * Query for evaluation aggregates asynchronously
1321
1483
  *
1322
1484
  * @param {Object} body query
1485
+ * @param {Object} opts Optional parameters
1486
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1323
1487
  * postAnalyticsEvaluationsAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1324
1488
  */
1325
- postAnalyticsEvaluationsAggregatesJobs(body) {
1489
+ postAnalyticsEvaluationsAggregatesJobs(body, opts) {
1490
+ opts = opts || {};
1491
+
1326
1492
  // verify the required parameter 'body' is set
1327
1493
  if (body === undefined || body === null) {
1328
1494
  throw 'Missing the required parameter "body" when calling postAnalyticsEvaluationsAggregatesJobs';
@@ -1338,7 +1504,8 @@ class QualityApi {
1338
1504
  body,
1339
1505
  ['PureCloud OAuth'],
1340
1506
  ['application/json'],
1341
- ['application/json']
1507
+ ['application/json'],
1508
+ opts['customHeaders']
1342
1509
  );
1343
1510
  }
1344
1511
 
@@ -1346,8 +1513,12 @@ class QualityApi {
1346
1513
  * Query for evaluation aggregates
1347
1514
  *
1348
1515
  * @param {Object} body query
1516
+ * @param {Object} opts Optional parameters
1517
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1349
1518
  */
1350
- postAnalyticsEvaluationsAggregatesQuery(body) {
1519
+ postAnalyticsEvaluationsAggregatesQuery(body, opts) {
1520
+ opts = opts || {};
1521
+
1351
1522
  // verify the required parameter 'body' is set
1352
1523
  if (body === undefined || body === null) {
1353
1524
  throw 'Missing the required parameter "body" when calling postAnalyticsEvaluationsAggregatesQuery';
@@ -1363,7 +1534,8 @@ class QualityApi {
1363
1534
  body,
1364
1535
  ['PureCloud OAuth'],
1365
1536
  ['application/json'],
1366
- ['application/json']
1537
+ ['application/json'],
1538
+ opts['customHeaders']
1367
1539
  );
1368
1540
  }
1369
1541
 
@@ -1371,9 +1543,13 @@ class QualityApi {
1371
1543
  * Query for survey aggregates asynchronously
1372
1544
  *
1373
1545
  * @param {Object} body query
1546
+ * @param {Object} opts Optional parameters
1547
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1374
1548
  * postAnalyticsSurveysAggregatesJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1375
1549
  */
1376
- postAnalyticsSurveysAggregatesJobs(body) {
1550
+ postAnalyticsSurveysAggregatesJobs(body, opts) {
1551
+ opts = opts || {};
1552
+
1377
1553
  // verify the required parameter 'body' is set
1378
1554
  if (body === undefined || body === null) {
1379
1555
  throw 'Missing the required parameter "body" when calling postAnalyticsSurveysAggregatesJobs';
@@ -1389,7 +1565,8 @@ class QualityApi {
1389
1565
  body,
1390
1566
  ['PureCloud OAuth'],
1391
1567
  ['application/json'],
1392
- ['application/json']
1568
+ ['application/json'],
1569
+ opts['customHeaders']
1393
1570
  );
1394
1571
  }
1395
1572
 
@@ -1397,8 +1574,12 @@ class QualityApi {
1397
1574
  * Query for survey aggregates
1398
1575
  *
1399
1576
  * @param {Object} body query
1577
+ * @param {Object} opts Optional parameters
1578
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1400
1579
  */
1401
- postAnalyticsSurveysAggregatesQuery(body) {
1580
+ postAnalyticsSurveysAggregatesQuery(body, opts) {
1581
+ opts = opts || {};
1582
+
1402
1583
  // verify the required parameter 'body' is set
1403
1584
  if (body === undefined || body === null) {
1404
1585
  throw 'Missing the required parameter "body" when calling postAnalyticsSurveysAggregatesQuery';
@@ -1414,7 +1595,8 @@ class QualityApi {
1414
1595
  body,
1415
1596
  ['PureCloud OAuth'],
1416
1597
  ['application/json'],
1417
- ['application/json']
1598
+ ['application/json'],
1599
+ opts['customHeaders']
1418
1600
  );
1419
1601
  }
1420
1602
 
@@ -1424,6 +1606,7 @@ class QualityApi {
1424
1606
  * @param {Object} body calibration
1425
1607
  * @param {Object} opts Optional parameters
1426
1608
  * @param {String} opts.expand calibratorId
1609
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1427
1610
  */
1428
1611
  postQualityCalibrations(body, opts) {
1429
1612
  opts = opts || {};
@@ -1443,7 +1626,8 @@ class QualityApi {
1443
1626
  body,
1444
1627
  ['PureCloud OAuth'],
1445
1628
  ['application/json'],
1446
- ['application/json']
1629
+ ['application/json'],
1630
+ opts['customHeaders']
1447
1631
  );
1448
1632
  }
1449
1633
 
@@ -1455,6 +1639,7 @@ class QualityApi {
1455
1639
  * @param {Object} opts Optional parameters
1456
1640
  * @param {String} opts.idempotencyKey Idempotency key for request deduplication
1457
1641
  * @param {String} opts.expand evaluatorId
1642
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1458
1643
  */
1459
1644
  postQualityConversationEvaluations(conversationId, body, opts) {
1460
1645
  opts = opts || {};
@@ -1478,7 +1663,8 @@ class QualityApi {
1478
1663
  body,
1479
1664
  ['PureCloud OAuth'],
1480
1665
  ['application/json'],
1481
- ['application/json']
1666
+ ['application/json'],
1667
+ opts['customHeaders']
1482
1668
  );
1483
1669
  }
1484
1670
 
@@ -1486,8 +1672,12 @@ class QualityApi {
1486
1672
  * Create audit query execution
1487
1673
  *
1488
1674
  * @param {Object} body query
1675
+ * @param {Object} opts Optional parameters
1676
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1489
1677
  */
1490
- postQualityConversationsAuditsQuery(body) {
1678
+ postQualityConversationsAuditsQuery(body, opts) {
1679
+ opts = opts || {};
1680
+
1491
1681
  // verify the required parameter 'body' is set
1492
1682
  if (body === undefined || body === null) {
1493
1683
  throw 'Missing the required parameter "body" when calling postQualityConversationsAuditsQuery';
@@ -1503,7 +1693,8 @@ class QualityApi {
1503
1693
  body,
1504
1694
  ['PureCloud OAuth'],
1505
1695
  ['application/json'],
1506
- ['application/json']
1696
+ ['application/json'],
1697
+ opts['customHeaders']
1507
1698
  );
1508
1699
  }
1509
1700
 
@@ -1511,8 +1702,12 @@ class QualityApi {
1511
1702
  * Query for evaluation aggregates for the current user
1512
1703
  *
1513
1704
  * @param {Object} body query
1705
+ * @param {Object} opts Optional parameters
1706
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1514
1707
  */
1515
- postQualityEvaluationsAggregatesQueryMe(body) {
1708
+ postQualityEvaluationsAggregatesQueryMe(body, opts) {
1709
+ opts = opts || {};
1710
+
1516
1711
  // verify the required parameter 'body' is set
1517
1712
  if (body === undefined || body === null) {
1518
1713
  throw 'Missing the required parameter "body" when calling postQualityEvaluationsAggregatesQueryMe';
@@ -1528,7 +1723,8 @@ class QualityApi {
1528
1723
  body,
1529
1724
  ['PureCloud OAuth'],
1530
1725
  ['application/json'],
1531
- ['application/json']
1726
+ ['application/json'],
1727
+ opts['customHeaders']
1532
1728
  );
1533
1729
  }
1534
1730
 
@@ -1536,8 +1732,12 @@ class QualityApi {
1536
1732
  * Score evaluation
1537
1733
  *
1538
1734
  * @param {Object} body evaluationAndScoringSet
1735
+ * @param {Object} opts Optional parameters
1736
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1539
1737
  */
1540
- postQualityEvaluationsScoring(body) {
1738
+ postQualityEvaluationsScoring(body, opts) {
1739
+ opts = opts || {};
1740
+
1541
1741
  // verify the required parameter 'body' is set
1542
1742
  if (body === undefined || body === null) {
1543
1743
  throw 'Missing the required parameter "body" when calling postQualityEvaluationsScoring';
@@ -1553,7 +1753,8 @@ class QualityApi {
1553
1753
  body,
1554
1754
  ['PureCloud OAuth'],
1555
1755
  ['application/json'],
1556
- ['application/json']
1756
+ ['application/json'],
1757
+ opts['customHeaders']
1557
1758
  );
1558
1759
  }
1559
1760
 
@@ -1561,8 +1762,12 @@ class QualityApi {
1561
1762
  * Search evaluations based along specified criteria
1562
1763
  * Search Rules: 1. Time Range - Time Range: Max 3 months (required) 2. Question Group Level Query: Use at least one field containing questionGroup in name + exactly one questionGroupId 3. Question Level Query: Use at least one field containing question in name + exactly one questionId 4. Mixed Queries: questionId alone is sufficient 5. Search Logic: - Multiple criteria: AND operation - Multiple values per criterion: OR operation EXAMPLE: (agentId₁ OR agentId₂) AND (evaluatorId₁ OR evaluatorId₂) 5. Aggregations: - Omit or set pageSize = 0 - Choose: multiple aggregations OR single aggregation with multiple sub-aggregations - To aggregate against question fields, one must query by either a questionId OR a single top level TERM questionId aggregation AND query by a single formID or questionGroupId, or list of questionIds - To aggregate against question group fields, one must query either a questionId/questionGroupId OR a single top level TERM questionGroupId aggregation AND query by a single formID or list of questionGroupIds
1563
1764
  * @param {Object} body Evaluation search request
1765
+ * @param {Object} opts Optional parameters
1766
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1564
1767
  */
1565
- postQualityEvaluationsSearch(body) {
1768
+ postQualityEvaluationsSearch(body, opts) {
1769
+ opts = opts || {};
1770
+
1566
1771
  // verify the required parameter 'body' is set
1567
1772
  if (body === undefined || body === null) {
1568
1773
  throw 'Missing the required parameter "body" when calling postQualityEvaluationsSearch';
@@ -1578,7 +1783,8 @@ class QualityApi {
1578
1783
  body,
1579
1784
  ['PureCloud OAuth'],
1580
1785
  ['application/json'],
1581
- ['application/json']
1786
+ ['application/json'],
1787
+ opts['customHeaders']
1582
1788
  );
1583
1789
  }
1584
1790
 
@@ -1586,9 +1792,13 @@ class QualityApi {
1586
1792
  * Create an evaluation form.
1587
1793
  *
1588
1794
  * @param {Object} body Evaluation form
1795
+ * @param {Object} opts Optional parameters
1796
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1589
1797
  * @deprecated
1590
1798
  */
1591
- postQualityForms(body) {
1799
+ postQualityForms(body, opts) {
1800
+ opts = opts || {};
1801
+
1592
1802
  // verify the required parameter 'body' is set
1593
1803
  if (body === undefined || body === null) {
1594
1804
  throw 'Missing the required parameter "body" when calling postQualityForms';
@@ -1604,7 +1814,8 @@ class QualityApi {
1604
1814
  body,
1605
1815
  ['PureCloud OAuth'],
1606
1816
  ['application/json'],
1607
- ['application/json']
1817
+ ['application/json'],
1818
+ opts['customHeaders']
1608
1819
  );
1609
1820
  }
1610
1821
 
@@ -1612,8 +1823,12 @@ class QualityApi {
1612
1823
  * Create an evaluation form.
1613
1824
  *
1614
1825
  * @param {Object} body Evaluation form
1826
+ * @param {Object} opts Optional parameters
1827
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1615
1828
  */
1616
- postQualityFormsEvaluations(body) {
1829
+ postQualityFormsEvaluations(body, opts) {
1830
+ opts = opts || {};
1831
+
1617
1832
  // verify the required parameter 'body' is set
1618
1833
  if (body === undefined || body === null) {
1619
1834
  throw 'Missing the required parameter "body" when calling postQualityFormsEvaluations';
@@ -1629,7 +1844,8 @@ class QualityApi {
1629
1844
  body,
1630
1845
  ['PureCloud OAuth'],
1631
1846
  ['application/json'],
1632
- ['application/json']
1847
+ ['application/json'],
1848
+ opts['customHeaders']
1633
1849
  );
1634
1850
  }
1635
1851
 
@@ -1637,8 +1853,12 @@ class QualityApi {
1637
1853
  * Create a survey form.
1638
1854
  *
1639
1855
  * @param {Object} body Survey form
1856
+ * @param {Object} opts Optional parameters
1857
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1640
1858
  */
1641
- postQualityFormsSurveys(body) {
1859
+ postQualityFormsSurveys(body, opts) {
1860
+ opts = opts || {};
1861
+
1642
1862
  // verify the required parameter 'body' is set
1643
1863
  if (body === undefined || body === null) {
1644
1864
  throw 'Missing the required parameter "body" when calling postQualityFormsSurveys';
@@ -1654,7 +1874,8 @@ class QualityApi {
1654
1874
  body,
1655
1875
  ['PureCloud OAuth'],
1656
1876
  ['application/json'],
1657
- ['application/json']
1877
+ ['application/json'],
1878
+ opts['customHeaders']
1658
1879
  );
1659
1880
  }
1660
1881
 
@@ -1663,8 +1884,12 @@ class QualityApi {
1663
1884
  * Creates a new Agent Scoring Rule for AI-powered automated evaluation of agent interactions. The rule defines how interactions should be selected and evaluated using the specified evaluation form.
1664
1885
  * @param {String} programId Program ID from Speech and Text Analytics
1665
1886
  * @param {Object} body Agent Scoring Rule
1887
+ * @param {Object} opts Optional parameters
1888
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1666
1889
  */
1667
- postQualityProgramAgentscoringrules(programId, body) {
1890
+ postQualityProgramAgentscoringrules(programId, body, opts) {
1891
+ opts = opts || {};
1892
+
1668
1893
  // verify the required parameter 'programId' is set
1669
1894
  if (programId === undefined || programId === null || programId === '') {
1670
1895
  throw 'Missing the required parameter "programId" when calling postQualityProgramAgentscoringrules';
@@ -1684,7 +1909,8 @@ class QualityApi {
1684
1909
  body,
1685
1910
  ['PureCloud OAuth'],
1686
1911
  ['application/json'],
1687
- ['application/json']
1912
+ ['application/json'],
1913
+ opts['customHeaders']
1688
1914
  );
1689
1915
  }
1690
1916
 
@@ -1692,9 +1918,13 @@ class QualityApi {
1692
1918
  * Publish an evaluation form.
1693
1919
  *
1694
1920
  * @param {Object} body Publish request containing id of form to publish
1921
+ * @param {Object} opts Optional parameters
1922
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1695
1923
  * @deprecated
1696
1924
  */
1697
- postQualityPublishedforms(body) {
1925
+ postQualityPublishedforms(body, opts) {
1926
+ opts = opts || {};
1927
+
1698
1928
  // verify the required parameter 'body' is set
1699
1929
  if (body === undefined || body === null) {
1700
1930
  throw 'Missing the required parameter "body" when calling postQualityPublishedforms';
@@ -1710,7 +1940,8 @@ class QualityApi {
1710
1940
  body,
1711
1941
  ['PureCloud OAuth'],
1712
1942
  ['application/json'],
1713
- ['application/json']
1943
+ ['application/json'],
1944
+ opts['customHeaders']
1714
1945
  );
1715
1946
  }
1716
1947
 
@@ -1718,8 +1949,12 @@ class QualityApi {
1718
1949
  * Publish an evaluation form.
1719
1950
  *
1720
1951
  * @param {Object} body Publish request containing id of form to publish
1952
+ * @param {Object} opts Optional parameters
1953
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1721
1954
  */
1722
- postQualityPublishedformsEvaluations(body) {
1955
+ postQualityPublishedformsEvaluations(body, opts) {
1956
+ opts = opts || {};
1957
+
1723
1958
  // verify the required parameter 'body' is set
1724
1959
  if (body === undefined || body === null) {
1725
1960
  throw 'Missing the required parameter "body" when calling postQualityPublishedformsEvaluations';
@@ -1735,7 +1970,8 @@ class QualityApi {
1735
1970
  body,
1736
1971
  ['PureCloud OAuth'],
1737
1972
  ['application/json'],
1738
- ['application/json']
1973
+ ['application/json'],
1974
+ opts['customHeaders']
1739
1975
  );
1740
1976
  }
1741
1977
 
@@ -1743,8 +1979,12 @@ class QualityApi {
1743
1979
  * Publish a survey form.
1744
1980
  *
1745
1981
  * @param {Object} body Survey form
1982
+ * @param {Object} opts Optional parameters
1983
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1746
1984
  */
1747
- postQualityPublishedformsSurveys(body) {
1985
+ postQualityPublishedformsSurveys(body, opts) {
1986
+ opts = opts || {};
1987
+
1748
1988
  // verify the required parameter 'body' is set
1749
1989
  if (body === undefined || body === null) {
1750
1990
  throw 'Missing the required parameter "body" when calling postQualityPublishedformsSurveys';
@@ -1760,7 +2000,8 @@ class QualityApi {
1760
2000
  body,
1761
2001
  ['PureCloud OAuth'],
1762
2002
  ['application/json'],
1763
- ['application/json']
2003
+ ['application/json'],
2004
+ opts['customHeaders']
1764
2005
  );
1765
2006
  }
1766
2007
 
@@ -1768,8 +2009,12 @@ class QualityApi {
1768
2009
  * Create a survey for a conversation
1769
2010
  *
1770
2011
  * @param {Object} body Survey creation request
2012
+ * @param {Object} opts Optional parameters
2013
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1771
2014
  */
1772
- postQualitySurveys(body) {
2015
+ postQualitySurveys(body, opts) {
2016
+ opts = opts || {};
2017
+
1773
2018
  // verify the required parameter 'body' is set
1774
2019
  if (body === undefined || body === null) {
1775
2020
  throw 'Missing the required parameter "body" when calling postQualitySurveys';
@@ -1785,7 +2030,8 @@ class QualityApi {
1785
2030
  body,
1786
2031
  ['PureCloud OAuth'],
1787
2032
  ['application/json'],
1788
- ['application/json']
2033
+ ['application/json'],
2034
+ opts['customHeaders']
1789
2035
  );
1790
2036
  }
1791
2037
 
@@ -1793,8 +2039,12 @@ class QualityApi {
1793
2039
  * Score survey
1794
2040
  *
1795
2041
  * @param {Object} body surveyAndScoringSet
2042
+ * @param {Object} opts Optional parameters
2043
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1796
2044
  */
1797
- postQualitySurveysScoring(body) {
2045
+ postQualitySurveysScoring(body, opts) {
2046
+ opts = opts || {};
2047
+
1798
2048
  // verify the required parameter 'body' is set
1799
2049
  if (body === undefined || body === null) {
1800
2050
  throw 'Missing the required parameter "body" when calling postQualitySurveysScoring';
@@ -1810,7 +2060,8 @@ class QualityApi {
1810
2060
  body,
1811
2061
  ['PureCloud OAuth'],
1812
2062
  ['application/json'],
1813
- ['application/json']
2063
+ ['application/json'],
2064
+ opts['customHeaders']
1814
2065
  );
1815
2066
  }
1816
2067
 
@@ -1819,8 +2070,12 @@ class QualityApi {
1819
2070
  *
1820
2071
  * @param {String} calibrationId Calibration ID
1821
2072
  * @param {Object} body Calibration
2073
+ * @param {Object} opts Optional parameters
2074
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1822
2075
  */
1823
- putQualityCalibration(calibrationId, body) {
2076
+ putQualityCalibration(calibrationId, body, opts) {
2077
+ opts = opts || {};
2078
+
1824
2079
  // verify the required parameter 'calibrationId' is set
1825
2080
  if (calibrationId === undefined || calibrationId === null || calibrationId === '') {
1826
2081
  throw 'Missing the required parameter "calibrationId" when calling putQualityCalibration';
@@ -1840,7 +2095,8 @@ class QualityApi {
1840
2095
  body,
1841
2096
  ['PureCloud OAuth'],
1842
2097
  ['application/json'],
1843
- ['application/json']
2098
+ ['application/json'],
2099
+ opts['customHeaders']
1844
2100
  );
1845
2101
  }
1846
2102
 
@@ -1852,6 +2108,7 @@ class QualityApi {
1852
2108
  * @param {Object} body evaluation
1853
2109
  * @param {Object} opts Optional parameters
1854
2110
  * @param {String} opts.expand evaluatorId, evaluationForm, assignee, evaluator
2111
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1855
2112
  */
1856
2113
  putQualityConversationEvaluation(conversationId, evaluationId, body, opts) {
1857
2114
  opts = opts || {};
@@ -1879,7 +2136,8 @@ class QualityApi {
1879
2136
  body,
1880
2137
  ['PureCloud OAuth'],
1881
2138
  ['application/json'],
1882
- ['application/json']
2139
+ ['application/json'],
2140
+ opts['customHeaders']
1883
2141
  );
1884
2142
  }
1885
2143
 
@@ -1888,9 +2146,13 @@ class QualityApi {
1888
2146
  *
1889
2147
  * @param {String} formId Form ID
1890
2148
  * @param {Object} body Evaluation form
2149
+ * @param {Object} opts Optional parameters
2150
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1891
2151
  * @deprecated
1892
2152
  */
1893
- putQualityForm(formId, body) {
2153
+ putQualityForm(formId, body, opts) {
2154
+ opts = opts || {};
2155
+
1894
2156
  // verify the required parameter 'formId' is set
1895
2157
  if (formId === undefined || formId === null || formId === '') {
1896
2158
  throw 'Missing the required parameter "formId" when calling putQualityForm';
@@ -1910,7 +2172,8 @@ class QualityApi {
1910
2172
  body,
1911
2173
  ['PureCloud OAuth'],
1912
2174
  ['application/json'],
1913
- ['application/json']
2175
+ ['application/json'],
2176
+ opts['customHeaders']
1914
2177
  );
1915
2178
  }
1916
2179
 
@@ -1919,8 +2182,12 @@ class QualityApi {
1919
2182
  *
1920
2183
  * @param {String} formId Form ID
1921
2184
  * @param {Object} body Evaluation form
2185
+ * @param {Object} opts Optional parameters
2186
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1922
2187
  */
1923
- putQualityFormsEvaluation(formId, body) {
2188
+ putQualityFormsEvaluation(formId, body, opts) {
2189
+ opts = opts || {};
2190
+
1924
2191
  // verify the required parameter 'formId' is set
1925
2192
  if (formId === undefined || formId === null || formId === '') {
1926
2193
  throw 'Missing the required parameter "formId" when calling putQualityFormsEvaluation';
@@ -1940,7 +2207,8 @@ class QualityApi {
1940
2207
  body,
1941
2208
  ['PureCloud OAuth'],
1942
2209
  ['application/json'],
1943
- ['application/json']
2210
+ ['application/json'],
2211
+ opts['customHeaders']
1944
2212
  );
1945
2213
  }
1946
2214
 
@@ -1949,8 +2217,12 @@ class QualityApi {
1949
2217
  *
1950
2218
  * @param {String} formId Form ID
1951
2219
  * @param {Object} body AI Scoring Settings
2220
+ * @param {Object} opts Optional parameters
2221
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1952
2222
  */
1953
- putQualityFormsEvaluationAiscoringSettings(formId, body) {
2223
+ putQualityFormsEvaluationAiscoringSettings(formId, body, opts) {
2224
+ opts = opts || {};
2225
+
1954
2226
  // verify the required parameter 'formId' is set
1955
2227
  if (formId === undefined || formId === null || formId === '') {
1956
2228
  throw 'Missing the required parameter "formId" when calling putQualityFormsEvaluationAiscoringSettings';
@@ -1970,7 +2242,8 @@ class QualityApi {
1970
2242
  body,
1971
2243
  ['PureCloud OAuth'],
1972
2244
  ['application/json'],
1973
- ['application/json']
2245
+ ['application/json'],
2246
+ opts['customHeaders']
1974
2247
  );
1975
2248
  }
1976
2249
 
@@ -1979,8 +2252,12 @@ class QualityApi {
1979
2252
  *
1980
2253
  * @param {String} formId Form ID
1981
2254
  * @param {Object} body Survey form
2255
+ * @param {Object} opts Optional parameters
2256
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1982
2257
  */
1983
- putQualityFormsSurvey(formId, body) {
2258
+ putQualityFormsSurvey(formId, body, opts) {
2259
+ opts = opts || {};
2260
+
1984
2261
  // verify the required parameter 'formId' is set
1985
2262
  if (formId === undefined || formId === null || formId === '') {
1986
2263
  throw 'Missing the required parameter "formId" when calling putQualityFormsSurvey';
@@ -2000,7 +2277,8 @@ class QualityApi {
2000
2277
  body,
2001
2278
  ['PureCloud OAuth'],
2002
2279
  ['application/json'],
2003
- ['application/json']
2280
+ ['application/json'],
2281
+ opts['customHeaders']
2004
2282
  );
2005
2283
  }
2006
2284
 
@@ -2010,8 +2288,12 @@ class QualityApi {
2010
2288
  * @param {String} programId Program ID from Speech and Text Analytics
2011
2289
  * @param {String} ruleId Agent Scoring Rule ID
2012
2290
  * @param {Object} body Agent Scoring Rule
2291
+ * @param {Object} opts Optional parameters
2292
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2013
2293
  */
2014
- putQualityProgramAgentscoringrule(programId, ruleId, body) {
2294
+ putQualityProgramAgentscoringrule(programId, ruleId, body, opts) {
2295
+ opts = opts || {};
2296
+
2015
2297
  // verify the required parameter 'programId' is set
2016
2298
  if (programId === undefined || programId === null || programId === '') {
2017
2299
  throw 'Missing the required parameter "programId" when calling putQualityProgramAgentscoringrule';
@@ -2035,7 +2317,8 @@ class QualityApi {
2035
2317
  body,
2036
2318
  ['PureCloud OAuth'],
2037
2319
  ['application/json'],
2038
- ['application/json']
2320
+ ['application/json'],
2321
+ opts['customHeaders']
2039
2322
  );
2040
2323
  }
2041
2324
 
@@ -2044,8 +2327,12 @@ class QualityApi {
2044
2327
  *
2045
2328
  * @param {String} customerSurveyUrl customerSurveyUrl
2046
2329
  * @param {Object} body survey
2330
+ * @param {Object} opts Optional parameters
2331
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2047
2332
  */
2048
- putQualitySurveysScorable(customerSurveyUrl, body) {
2333
+ putQualitySurveysScorable(customerSurveyUrl, body, opts) {
2334
+ opts = opts || {};
2335
+
2049
2336
  // verify the required parameter 'customerSurveyUrl' is set
2050
2337
  if (customerSurveyUrl === undefined || customerSurveyUrl === null) {
2051
2338
  throw 'Missing the required parameter "customerSurveyUrl" when calling putQualitySurveysScorable';
@@ -2065,7 +2352,8 @@ class QualityApi {
2065
2352
  body,
2066
2353
  ['PureCloud OAuth'],
2067
2354
  ['application/json'],
2068
- ['application/json']
2355
+ ['application/json'],
2356
+ opts['customHeaders']
2069
2357
  );
2070
2358
  }
2071
2359