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 RoutingApi {
5
5
  /**
6
6
  * Routing service.
7
7
  * @module purecloud-platform-client-v2/api/RoutingApi
8
- * @version 249.0.0
8
+ * @version 250.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -24,8 +24,12 @@ class RoutingApi {
24
24
  * Delete single benefit assessment.
25
25
  *
26
26
  * @param {String} assessmentId Benefit Assessment ID
27
+ * @param {Object} opts Optional parameters
28
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
27
29
  */
28
- deleteRoutingAssessment(assessmentId) {
30
+ deleteRoutingAssessment(assessmentId, opts) {
31
+ opts = opts || {};
32
+
29
33
  // verify the required parameter 'assessmentId' is set
30
34
  if (assessmentId === undefined || assessmentId === null || assessmentId === '') {
31
35
  throw 'Missing the required parameter "assessmentId" when calling deleteRoutingAssessment';
@@ -41,15 +45,20 @@ class RoutingApi {
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
 
48
53
  /**
49
54
  * Delete the user's Direct Routing Backup settings and revert to the Direct Routing Queue default.
50
55
  *
56
+ * @param {Object} opts Optional parameters
57
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
51
58
  */
52
- deleteRoutingDirectroutingbackupSettingsMe() {
59
+ deleteRoutingDirectroutingbackupSettingsMe(opts) {
60
+ opts = opts || {};
61
+
53
62
 
54
63
  return this.apiClient.callApi(
55
64
  '/api/v2/routing/directroutingbackup/settings/me',
@@ -61,7 +70,8 @@ class RoutingApi {
61
70
  null,
62
71
  ['PureCloud OAuth'],
63
72
  ['application/json'],
64
- ['application/json']
73
+ ['application/json'],
74
+ opts['customHeaders']
65
75
  );
66
76
  }
67
77
 
@@ -69,8 +79,12 @@ class RoutingApi {
69
79
  * Delete a domain
70
80
  *
71
81
  * @param {String} domainId domain ID
82
+ * @param {Object} opts Optional parameters
83
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
72
84
  */
73
- deleteRoutingEmailDomain(domainId) {
85
+ deleteRoutingEmailDomain(domainId, opts) {
86
+ opts = opts || {};
87
+
74
88
  // verify the required parameter 'domainId' is set
75
89
  if (domainId === undefined || domainId === null || domainId === '') {
76
90
  throw 'Missing the required parameter "domainId" when calling deleteRoutingEmailDomain';
@@ -86,7 +100,8 @@ class RoutingApi {
86
100
  null,
87
101
  ['PureCloud OAuth'],
88
102
  ['application/json'],
89
- ['application/json']
103
+ ['application/json'],
104
+ opts['customHeaders']
90
105
  );
91
106
  }
92
107
 
@@ -95,8 +110,12 @@ class RoutingApi {
95
110
  *
96
111
  * @param {String} domainName email domain
97
112
  * @param {String} routeId route ID
113
+ * @param {Object} opts Optional parameters
114
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
98
115
  */
99
- deleteRoutingEmailDomainRoute(domainName, routeId) {
116
+ deleteRoutingEmailDomainRoute(domainName, routeId, opts) {
117
+ opts = opts || {};
118
+
100
119
  // verify the required parameter 'domainName' is set
101
120
  if (domainName === undefined || domainName === null || domainName === '') {
102
121
  throw 'Missing the required parameter "domainName" when calling deleteRoutingEmailDomainRoute';
@@ -116,7 +135,8 @@ class RoutingApi {
116
135
  null,
117
136
  ['PureCloud OAuth'],
118
137
  ['application/json'],
119
- ['application/json']
138
+ ['application/json'],
139
+ opts['customHeaders']
120
140
  );
121
141
  }
122
142
 
@@ -124,8 +144,12 @@ class RoutingApi {
124
144
  * Delete an outbound domain
125
145
  *
126
146
  * @param {String} domainId domain ID
147
+ * @param {Object} opts Optional parameters
148
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
127
149
  */
128
- deleteRoutingEmailOutboundDomain(domainId) {
150
+ deleteRoutingEmailOutboundDomain(domainId, opts) {
151
+ opts = opts || {};
152
+
129
153
  // verify the required parameter 'domainId' is set
130
154
  if (domainId === undefined || domainId === null || domainId === '') {
131
155
  throw 'Missing the required parameter "domainId" when calling deleteRoutingEmailOutboundDomain';
@@ -141,7 +165,8 @@ class RoutingApi {
141
165
  null,
142
166
  ['PureCloud OAuth'],
143
167
  ['application/json'],
144
- ['application/json']
168
+ ['application/json'],
169
+ opts['customHeaders']
145
170
  );
146
171
  }
147
172
 
@@ -149,8 +174,12 @@ class RoutingApi {
149
174
  * Delete a routing language
150
175
  *
151
176
  * @param {String} languageId Language ID
177
+ * @param {Object} opts Optional parameters
178
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
152
179
  */
153
- deleteRoutingLanguage(languageId) {
180
+ deleteRoutingLanguage(languageId, opts) {
181
+ opts = opts || {};
182
+
154
183
  // verify the required parameter 'languageId' is set
155
184
  if (languageId === undefined || languageId === null || languageId === '') {
156
185
  throw 'Missing the required parameter "languageId" when calling deleteRoutingLanguage';
@@ -166,7 +195,8 @@ class RoutingApi {
166
195
  null,
167
196
  ['PureCloud OAuth'],
168
197
  ['application/json'],
169
- ['application/json']
198
+ ['application/json'],
199
+ opts['customHeaders']
170
200
  );
171
201
  }
172
202
 
@@ -174,8 +204,12 @@ class RoutingApi {
174
204
  * Delete single predictor.
175
205
  *
176
206
  * @param {String} predictorId Predictor ID
207
+ * @param {Object} opts Optional parameters
208
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
177
209
  */
178
- deleteRoutingPredictor(predictorId) {
210
+ deleteRoutingPredictor(predictorId, opts) {
211
+ opts = opts || {};
212
+
179
213
  // verify the required parameter 'predictorId' is set
180
214
  if (predictorId === undefined || predictorId === null || predictorId === '') {
181
215
  throw 'Missing the required parameter "predictorId" when calling deleteRoutingPredictor';
@@ -191,7 +225,8 @@ class RoutingApi {
191
225
  null,
192
226
  ['PureCloud OAuth'],
193
227
  ['application/json'],
194
- ['application/json']
228
+ ['application/json'],
229
+ opts['customHeaders']
195
230
  );
196
231
  }
197
232
 
@@ -199,9 +234,13 @@ class RoutingApi {
199
234
  * Delete a custom Key Performance Indicator.
200
235
  *
201
236
  * @param {String} kpiId Key Performance Indicator ID
237
+ * @param {Object} opts Optional parameters
238
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
202
239
  * deleteRoutingPredictorsKeyperformanceindicator is a preview method and is subject to both breaking and non-breaking changes at any time without notice
203
240
  */
204
- deleteRoutingPredictorsKeyperformanceindicator(kpiId) {
241
+ deleteRoutingPredictorsKeyperformanceindicator(kpiId, opts) {
242
+ opts = opts || {};
243
+
205
244
  // verify the required parameter 'kpiId' is set
206
245
  if (kpiId === undefined || kpiId === null || kpiId === '') {
207
246
  throw 'Missing the required parameter "kpiId" when calling deleteRoutingPredictorsKeyperformanceindicator';
@@ -217,7 +256,8 @@ class RoutingApi {
217
256
  null,
218
257
  ['PureCloud OAuth'],
219
258
  ['application/json'],
220
- ['application/json']
259
+ ['application/json'],
260
+ opts['customHeaders']
221
261
  );
222
262
  }
223
263
 
@@ -227,6 +267,7 @@ class RoutingApi {
227
267
  * @param {String} queueId Queue ID
228
268
  * @param {Object} opts Optional parameters
229
269
  * @param {Boolean} opts.forceDelete forceDelete
270
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
230
271
  */
231
272
  deleteRoutingQueue(queueId, opts) {
232
273
  opts = opts || {};
@@ -246,7 +287,8 @@ class RoutingApi {
246
287
  null,
247
288
  ['PureCloud OAuth'],
248
289
  ['application/json'],
249
- ['application/json']
290
+ ['application/json'],
291
+ opts['customHeaders']
250
292
  );
251
293
  }
252
294
 
@@ -255,8 +297,12 @@ class RoutingApi {
255
297
  *
256
298
  * @param {String} queueId Queue ID
257
299
  * @param {String} memberId Member ID
300
+ * @param {Object} opts Optional parameters
301
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
258
302
  */
259
- deleteRoutingQueueMember(queueId, memberId) {
303
+ deleteRoutingQueueMember(queueId, memberId, opts) {
304
+ opts = opts || {};
305
+
260
306
  // verify the required parameter 'queueId' is set
261
307
  if (queueId === undefined || queueId === null || queueId === '') {
262
308
  throw 'Missing the required parameter "queueId" when calling deleteRoutingQueueMember';
@@ -276,7 +322,8 @@ class RoutingApi {
276
322
  null,
277
323
  ['PureCloud OAuth'],
278
324
  ['application/json'],
279
- ['application/json']
325
+ ['application/json'],
326
+ opts['customHeaders']
280
327
  );
281
328
  }
282
329
 
@@ -285,9 +332,13 @@ class RoutingApi {
285
332
  *
286
333
  * @param {String} queueId Queue ID
287
334
  * @param {String} memberId Member ID
335
+ * @param {Object} opts Optional parameters
336
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
288
337
  * @deprecated
289
338
  */
290
- deleteRoutingQueueUser(queueId, memberId) {
339
+ deleteRoutingQueueUser(queueId, memberId, opts) {
340
+ opts = opts || {};
341
+
291
342
  // verify the required parameter 'queueId' is set
292
343
  if (queueId === undefined || queueId === null || queueId === '') {
293
344
  throw 'Missing the required parameter "queueId" when calling deleteRoutingQueueUser';
@@ -307,7 +358,8 @@ class RoutingApi {
307
358
  null,
308
359
  ['PureCloud OAuth'],
309
360
  ['application/json'],
310
- ['application/json']
361
+ ['application/json'],
362
+ opts['customHeaders']
311
363
  );
312
364
  }
313
365
 
@@ -316,8 +368,12 @@ class RoutingApi {
316
368
  *
317
369
  * @param {String} queueId Queue ID
318
370
  * @param {String} codeId Code ID
371
+ * @param {Object} opts Optional parameters
372
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
319
373
  */
320
- deleteRoutingQueueWrapupcode(queueId, codeId) {
374
+ deleteRoutingQueueWrapupcode(queueId, codeId, opts) {
375
+ opts = opts || {};
376
+
321
377
  // verify the required parameter 'queueId' is set
322
378
  if (queueId === undefined || queueId === null || queueId === '') {
323
379
  throw 'Missing the required parameter "queueId" when calling deleteRoutingQueueWrapupcode';
@@ -337,15 +393,20 @@ class RoutingApi {
337
393
  null,
338
394
  ['PureCloud OAuth'],
339
395
  ['application/json'],
340
- ['application/json']
396
+ ['application/json'],
397
+ opts['customHeaders']
341
398
  );
342
399
  }
343
400
 
344
401
  /**
345
402
  * Delete an organization's routing settings
346
403
  *
404
+ * @param {Object} opts Optional parameters
405
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
347
406
  */
348
- deleteRoutingSettings() {
407
+ deleteRoutingSettings(opts) {
408
+ opts = opts || {};
409
+
349
410
 
350
411
  return this.apiClient.callApi(
351
412
  '/api/v2/routing/settings',
@@ -357,7 +418,8 @@ class RoutingApi {
357
418
  null,
358
419
  ['PureCloud OAuth'],
359
420
  ['application/json'],
360
- ['application/json']
421
+ ['application/json'],
422
+ opts['customHeaders']
361
423
  );
362
424
  }
363
425
 
@@ -365,8 +427,12 @@ class RoutingApi {
365
427
  * Delete Routing Skill
366
428
  *
367
429
  * @param {String} skillId Skill ID
430
+ * @param {Object} opts Optional parameters
431
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
368
432
  */
369
- deleteRoutingSkill(skillId) {
433
+ deleteRoutingSkill(skillId, opts) {
434
+ opts = opts || {};
435
+
370
436
  // verify the required parameter 'skillId' is set
371
437
  if (skillId === undefined || skillId === null || skillId === '') {
372
438
  throw 'Missing the required parameter "skillId" when calling deleteRoutingSkill';
@@ -382,7 +448,8 @@ class RoutingApi {
382
448
  null,
383
449
  ['PureCloud OAuth'],
384
450
  ['application/json'],
385
- ['application/json']
451
+ ['application/json'],
452
+ opts['customHeaders']
386
453
  );
387
454
  }
388
455
 
@@ -390,8 +457,12 @@ class RoutingApi {
390
457
  * Remove skill group definition
391
458
  *
392
459
  * @param {String} skillGroupId Skill Group ID
460
+ * @param {Object} opts Optional parameters
461
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
393
462
  */
394
- deleteRoutingSkillgroup(skillGroupId) {
463
+ deleteRoutingSkillgroup(skillGroupId, opts) {
464
+ opts = opts || {};
465
+
395
466
  // verify the required parameter 'skillGroupId' is set
396
467
  if (skillGroupId === undefined || skillGroupId === null || skillGroupId === '') {
397
468
  throw 'Missing the required parameter "skillGroupId" when calling deleteRoutingSkillgroup';
@@ -407,7 +478,8 @@ class RoutingApi {
407
478
  null,
408
479
  ['PureCloud OAuth'],
409
480
  ['application/json'],
410
- ['application/json']
481
+ ['application/json'],
482
+ opts['customHeaders']
411
483
  );
412
484
  }
413
485
 
@@ -415,8 +487,12 @@ class RoutingApi {
415
487
  * Delete an Address by Id for SMS
416
488
  *
417
489
  * @param {String} addressId Address ID
490
+ * @param {Object} opts Optional parameters
491
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
418
492
  */
419
- deleteRoutingSmsAddress(addressId) {
493
+ deleteRoutingSmsAddress(addressId, opts) {
494
+ opts = opts || {};
495
+
420
496
  // verify the required parameter 'addressId' is set
421
497
  if (addressId === undefined || addressId === null || addressId === '') {
422
498
  throw 'Missing the required parameter "addressId" when calling deleteRoutingSmsAddress';
@@ -432,7 +508,8 @@ class RoutingApi {
432
508
  null,
433
509
  ['PureCloud OAuth'],
434
510
  ['application/json'],
435
- ['application/json']
511
+ ['application/json'],
512
+ opts['customHeaders']
436
513
  );
437
514
  }
438
515
 
@@ -440,8 +517,12 @@ class RoutingApi {
440
517
  * Delete a phone number provisioned for SMS.
441
518
  *
442
519
  * @param {String} phoneNumberId phone number
520
+ * @param {Object} opts Optional parameters
521
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
443
522
  */
444
- deleteRoutingSmsPhonenumber(phoneNumberId) {
523
+ deleteRoutingSmsPhonenumber(phoneNumberId, opts) {
524
+ opts = opts || {};
525
+
445
526
  // verify the required parameter 'phoneNumberId' is set
446
527
  if (phoneNumberId === undefined || phoneNumberId === null || phoneNumberId === '') {
447
528
  throw 'Missing the required parameter "phoneNumberId" when calling deleteRoutingSmsPhonenumber';
@@ -457,7 +538,8 @@ class RoutingApi {
457
538
  null,
458
539
  ['PureCloud OAuth'],
459
540
  ['application/json'],
460
- ['application/json']
541
+ ['application/json'],
542
+ opts['customHeaders']
461
543
  );
462
544
  }
463
545
 
@@ -465,8 +547,12 @@ class RoutingApi {
465
547
  * Delete the user's Direct Routing Backup settings and revert to the Direct Routing Queue default.
466
548
  *
467
549
  * @param {String} userId User ID
550
+ * @param {Object} opts Optional parameters
551
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
468
552
  */
469
- deleteRoutingUserDirectroutingbackupSettings(userId) {
553
+ deleteRoutingUserDirectroutingbackupSettings(userId, opts) {
554
+ opts = opts || {};
555
+
470
556
  // verify the required parameter 'userId' is set
471
557
  if (userId === undefined || userId === null || userId === '') {
472
558
  throw 'Missing the required parameter "userId" when calling deleteRoutingUserDirectroutingbackupSettings';
@@ -482,7 +568,8 @@ class RoutingApi {
482
568
  null,
483
569
  ['PureCloud OAuth'],
484
570
  ['application/json'],
485
- ['application/json']
571
+ ['application/json'],
572
+ opts['customHeaders']
486
573
  );
487
574
  }
488
575
 
@@ -490,8 +577,12 @@ class RoutingApi {
490
577
  * Delete the user's max utilization settings and revert to the organization-wide default.
491
578
  *
492
579
  * @param {String} userId User ID
580
+ * @param {Object} opts Optional parameters
581
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
493
582
  */
494
- deleteRoutingUserUtilization(userId) {
583
+ deleteRoutingUserUtilization(userId, opts) {
584
+ opts = opts || {};
585
+
495
586
  // verify the required parameter 'userId' is set
496
587
  if (userId === undefined || userId === null || userId === '') {
497
588
  throw 'Missing the required parameter "userId" when calling deleteRoutingUserUtilization';
@@ -507,15 +598,20 @@ class RoutingApi {
507
598
  null,
508
599
  ['PureCloud OAuth'],
509
600
  ['application/json'],
510
- ['application/json']
601
+ ['application/json'],
602
+ opts['customHeaders']
511
603
  );
512
604
  }
513
605
 
514
606
  /**
515
607
  * Delete the organization-wide max utilization settings and revert to the system default.
516
608
  *
609
+ * @param {Object} opts Optional parameters
610
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
517
611
  */
518
- deleteRoutingUtilization() {
612
+ deleteRoutingUtilization(opts) {
613
+ opts = opts || {};
614
+
519
615
 
520
616
  return this.apiClient.callApi(
521
617
  '/api/v2/routing/utilization',
@@ -527,7 +623,8 @@ class RoutingApi {
527
623
  null,
528
624
  ['PureCloud OAuth'],
529
625
  ['application/json'],
530
- ['application/json']
626
+ ['application/json'],
627
+ opts['customHeaders']
531
628
  );
532
629
  }
533
630
 
@@ -537,6 +634,7 @@ class RoutingApi {
537
634
  * @param {String} labelId Utilization Label ID
538
635
  * @param {Object} opts Optional parameters
539
636
  * @param {Boolean} opts.forceDelete Remove all label usages (if found) without warning (default to false)
637
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
540
638
  */
541
639
  deleteRoutingUtilizationLabel(labelId, opts) {
542
640
  opts = opts || {};
@@ -556,7 +654,8 @@ class RoutingApi {
556
654
  null,
557
655
  ['PureCloud OAuth'],
558
656
  ['application/json'],
559
- ['application/json']
657
+ ['application/json'],
658
+ opts['customHeaders']
560
659
  );
561
660
  }
562
661
 
@@ -566,6 +665,7 @@ class RoutingApi {
566
665
  * @param {String} tagId Utilization Tag ID
567
666
  * @param {Object} opts Optional parameters
568
667
  * @param {Boolean} opts.forceDelete Remove all tag usages (if found) without warning (default to false)
668
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
569
669
  * deleteRoutingUtilizationTag is a preview method and is subject to both breaking and non-breaking changes at any time without notice
570
670
  */
571
671
  deleteRoutingUtilizationTag(tagId, opts) {
@@ -586,7 +686,8 @@ class RoutingApi {
586
686
  null,
587
687
  ['PureCloud OAuth'],
588
688
  ['application/json'],
589
- ['application/json']
689
+ ['application/json'],
690
+ opts['customHeaders']
590
691
  );
591
692
  }
592
693
 
@@ -594,8 +695,12 @@ class RoutingApi {
594
695
  * Delete wrap-up code
595
696
  *
596
697
  * @param {String} codeId Wrapup Code ID
698
+ * @param {Object} opts Optional parameters
699
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
597
700
  */
598
- deleteRoutingWrapupcode(codeId) {
701
+ deleteRoutingWrapupcode(codeId, opts) {
702
+ opts = opts || {};
703
+
599
704
  // verify the required parameter 'codeId' is set
600
705
  if (codeId === undefined || codeId === null || codeId === '') {
601
706
  throw 'Missing the required parameter "codeId" when calling deleteRoutingWrapupcode';
@@ -611,7 +716,8 @@ class RoutingApi {
611
716
  null,
612
717
  ['PureCloud OAuth'],
613
718
  ['application/json'],
614
- ['application/json']
719
+ ['application/json'],
720
+ opts['customHeaders']
615
721
  );
616
722
  }
617
723
 
@@ -620,8 +726,12 @@ class RoutingApi {
620
726
  *
621
727
  * @param {String} userId User ID
622
728
  * @param {String} languageId languageId
729
+ * @param {Object} opts Optional parameters
730
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
623
731
  */
624
- deleteUserRoutinglanguage(userId, languageId) {
732
+ deleteUserRoutinglanguage(userId, languageId, opts) {
733
+ opts = opts || {};
734
+
625
735
  // verify the required parameter 'userId' is set
626
736
  if (userId === undefined || userId === null || userId === '') {
627
737
  throw 'Missing the required parameter "userId" when calling deleteUserRoutinglanguage';
@@ -641,7 +751,8 @@ class RoutingApi {
641
751
  null,
642
752
  ['PureCloud OAuth'],
643
753
  ['application/json'],
644
- ['application/json']
754
+ ['application/json'],
755
+ opts['customHeaders']
645
756
  );
646
757
  }
647
758
 
@@ -650,8 +761,12 @@ class RoutingApi {
650
761
  *
651
762
  * @param {String} userId User ID
652
763
  * @param {String} skillId skillId
764
+ * @param {Object} opts Optional parameters
765
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
653
766
  */
654
- deleteUserRoutingskill(userId, skillId) {
767
+ deleteUserRoutingskill(userId, skillId, opts) {
768
+ opts = opts || {};
769
+
655
770
  // verify the required parameter 'userId' is set
656
771
  if (userId === undefined || userId === null || userId === '') {
657
772
  throw 'Missing the required parameter "userId" when calling deleteUserRoutingskill';
@@ -671,7 +786,8 @@ class RoutingApi {
671
786
  null,
672
787
  ['PureCloud OAuth'],
673
788
  ['application/json'],
674
- ['application/json']
789
+ ['application/json'],
790
+ opts['customHeaders']
675
791
  );
676
792
  }
677
793
 
@@ -679,8 +795,12 @@ class RoutingApi {
679
795
  * Retrieve a single benefit assessment.
680
796
  *
681
797
  * @param {String} assessmentId Benefit Assessment ID
798
+ * @param {Object} opts Optional parameters
799
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
682
800
  */
683
- getRoutingAssessment(assessmentId) {
801
+ getRoutingAssessment(assessmentId, opts) {
802
+ opts = opts || {};
803
+
684
804
  // verify the required parameter 'assessmentId' is set
685
805
  if (assessmentId === undefined || assessmentId === null || assessmentId === '') {
686
806
  throw 'Missing the required parameter "assessmentId" when calling getRoutingAssessment';
@@ -696,7 +816,8 @@ class RoutingApi {
696
816
  null,
697
817
  ['PureCloud OAuth'],
698
818
  ['application/json'],
699
- ['application/json']
819
+ ['application/json'],
820
+ opts['customHeaders']
700
821
  );
701
822
  }
702
823
 
@@ -709,6 +830,7 @@ class RoutingApi {
709
830
  * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
710
831
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
711
832
  * @param {Array.<String>} opts.queueId Queue ID(s) to filter assessments by.
833
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
712
834
  */
713
835
  getRoutingAssessments(opts) {
714
836
  opts = opts || {};
@@ -724,7 +846,8 @@ class RoutingApi {
724
846
  null,
725
847
  ['PureCloud OAuth'],
726
848
  ['application/json'],
727
- ['application/json']
849
+ ['application/json'],
850
+ opts['customHeaders']
728
851
  );
729
852
  }
730
853
 
@@ -732,8 +855,12 @@ class RoutingApi {
732
855
  * Retrieve a single benefit assessments job.
733
856
  *
734
857
  * @param {String} jobId Benefit Assessment Job ID
858
+ * @param {Object} opts Optional parameters
859
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
735
860
  */
736
- getRoutingAssessmentsJob(jobId) {
861
+ getRoutingAssessmentsJob(jobId, opts) {
862
+ opts = opts || {};
863
+
737
864
  // verify the required parameter 'jobId' is set
738
865
  if (jobId === undefined || jobId === null || jobId === '') {
739
866
  throw 'Missing the required parameter "jobId" when calling getRoutingAssessmentsJob';
@@ -749,7 +876,8 @@ class RoutingApi {
749
876
  null,
750
877
  ['PureCloud OAuth'],
751
878
  ['application/json'],
752
- ['application/json']
879
+ ['application/json'],
880
+ opts['customHeaders']
753
881
  );
754
882
  }
755
883
 
@@ -758,6 +886,7 @@ class RoutingApi {
758
886
  *
759
887
  * @param {Object} opts Optional parameters
760
888
  * @param {Array.<String>} opts.divisionId Division ID(s) to filter assessment jobs by.
889
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
761
890
  */
762
891
  getRoutingAssessmentsJobs(opts) {
763
892
  opts = opts || {};
@@ -773,15 +902,20 @@ class RoutingApi {
773
902
  null,
774
903
  ['PureCloud OAuth'],
775
904
  ['application/json'],
776
- ['application/json']
905
+ ['application/json'],
906
+ opts['customHeaders']
777
907
  );
778
908
  }
779
909
 
780
910
  /**
781
911
  * Get available media types
782
912
  *
913
+ * @param {Object} opts Optional parameters
914
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
783
915
  */
784
- getRoutingAvailablemediatypes() {
916
+ getRoutingAvailablemediatypes(opts) {
917
+ opts = opts || {};
918
+
785
919
 
786
920
  return this.apiClient.callApi(
787
921
  '/api/v2/routing/availablemediatypes',
@@ -793,15 +927,20 @@ class RoutingApi {
793
927
  null,
794
928
  ['PureCloud OAuth'],
795
929
  ['application/json'],
796
- ['application/json']
930
+ ['application/json'],
931
+ opts['customHeaders']
797
932
  );
798
933
  }
799
934
 
800
935
  /**
801
936
  * Get the user's Direct Routing Backup settings.
802
937
  *
938
+ * @param {Object} opts Optional parameters
939
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
803
940
  */
804
- getRoutingDirectroutingbackupSettingsMe() {
941
+ getRoutingDirectroutingbackupSettingsMe(opts) {
942
+ opts = opts || {};
943
+
805
944
 
806
945
  return this.apiClient.callApi(
807
946
  '/api/v2/routing/directroutingbackup/settings/me',
@@ -813,7 +952,8 @@ class RoutingApi {
813
952
  null,
814
953
  ['PureCloud OAuth'],
815
954
  ['application/json'],
816
- ['application/json']
955
+ ['application/json'],
956
+ opts['customHeaders']
817
957
  );
818
958
  }
819
959
 
@@ -823,6 +963,7 @@ class RoutingApi {
823
963
  * @param {String} domainId domain ID
824
964
  * @param {Object} opts Optional parameters
825
965
  * @param {Object} opts.expand Expand options. Valid values: settings
966
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
826
967
  */
827
968
  getRoutingEmailDomain(domainId, opts) {
828
969
  opts = opts || {};
@@ -842,7 +983,8 @@ class RoutingApi {
842
983
  null,
843
984
  ['PureCloud OAuth'],
844
985
  ['application/json'],
845
- ['application/json']
986
+ ['application/json'],
987
+ opts['customHeaders']
846
988
  );
847
989
  }
848
990
 
@@ -850,8 +992,12 @@ class RoutingApi {
850
992
  * Get domain dkim settings
851
993
  *
852
994
  * @param {String} domainId domain ID
995
+ * @param {Object} opts Optional parameters
996
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
853
997
  */
854
- getRoutingEmailDomainDkim(domainId) {
998
+ getRoutingEmailDomainDkim(domainId, opts) {
999
+ opts = opts || {};
1000
+
855
1001
  // verify the required parameter 'domainId' is set
856
1002
  if (domainId === undefined || domainId === null || domainId === '') {
857
1003
  throw 'Missing the required parameter "domainId" when calling getRoutingEmailDomainDkim';
@@ -867,7 +1013,8 @@ class RoutingApi {
867
1013
  null,
868
1014
  ['PureCloud OAuth'],
869
1015
  ['application/json'],
870
- ['application/json']
1016
+ ['application/json'],
1017
+ opts['customHeaders']
871
1018
  );
872
1019
  }
873
1020
 
@@ -875,8 +1022,12 @@ class RoutingApi {
875
1022
  * Get domain mail from settings
876
1023
  *
877
1024
  * @param {String} domainId domain ID
1025
+ * @param {Object} opts Optional parameters
1026
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
878
1027
  */
879
- getRoutingEmailDomainMailfrom(domainId) {
1028
+ getRoutingEmailDomainMailfrom(domainId, opts) {
1029
+ opts = opts || {};
1030
+
880
1031
  // verify the required parameter 'domainId' is set
881
1032
  if (domainId === undefined || domainId === null || domainId === '') {
882
1033
  throw 'Missing the required parameter "domainId" when calling getRoutingEmailDomainMailfrom';
@@ -892,7 +1043,8 @@ class RoutingApi {
892
1043
  null,
893
1044
  ['PureCloud OAuth'],
894
1045
  ['application/json'],
895
- ['application/json']
1046
+ ['application/json'],
1047
+ opts['customHeaders']
896
1048
  );
897
1049
  }
898
1050
 
@@ -903,6 +1055,7 @@ class RoutingApi {
903
1055
  * @param {String} routeId route ID
904
1056
  * @param {Object} opts Optional parameters
905
1057
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
1058
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
906
1059
  */
907
1060
  getRoutingEmailDomainRoute(domainName, routeId, opts) {
908
1061
  opts = opts || {};
@@ -926,7 +1079,8 @@ class RoutingApi {
926
1079
  null,
927
1080
  ['PureCloud OAuth'],
928
1081
  ['application/json'],
929
- ['application/json']
1082
+ ['application/json'],
1083
+ opts['customHeaders']
930
1084
  );
931
1085
  }
932
1086
 
@@ -935,8 +1089,12 @@ class RoutingApi {
935
1089
  *
936
1090
  * @param {String} domainName email domain
937
1091
  * @param {String} routeId route ID
1092
+ * @param {Object} opts Optional parameters
1093
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
938
1094
  */
939
- getRoutingEmailDomainRouteIdentityresolution(domainName, routeId) {
1095
+ getRoutingEmailDomainRouteIdentityresolution(domainName, routeId, opts) {
1096
+ opts = opts || {};
1097
+
940
1098
  // verify the required parameter 'domainName' is set
941
1099
  if (domainName === undefined || domainName === null || domainName === '') {
942
1100
  throw 'Missing the required parameter "domainName" when calling getRoutingEmailDomainRouteIdentityresolution';
@@ -956,7 +1114,8 @@ class RoutingApi {
956
1114
  null,
957
1115
  ['PureCloud OAuth'],
958
1116
  ['application/json'],
959
- ['application/json']
1117
+ ['application/json'],
1118
+ opts['customHeaders']
960
1119
  );
961
1120
  }
962
1121
 
@@ -969,6 +1128,7 @@ class RoutingApi {
969
1128
  * @param {Number} opts.pageNumber Page number (default to 1)
970
1129
  * @param {String} opts.pattern Filter routes by the route's pattern property
971
1130
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
1131
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
972
1132
  */
973
1133
  getRoutingEmailDomainRoutes(domainName, opts) {
974
1134
  opts = opts || {};
@@ -988,7 +1148,8 @@ class RoutingApi {
988
1148
  null,
989
1149
  ['PureCloud OAuth'],
990
1150
  ['application/json'],
991
- ['application/json']
1151
+ ['application/json'],
1152
+ opts['customHeaders']
992
1153
  );
993
1154
  }
994
1155
 
@@ -996,8 +1157,12 @@ class RoutingApi {
996
1157
  * Get domain verification settings
997
1158
  *
998
1159
  * @param {String} domainId domain ID
1160
+ * @param {Object} opts Optional parameters
1161
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
999
1162
  */
1000
- getRoutingEmailDomainVerification(domainId) {
1163
+ getRoutingEmailDomainVerification(domainId, opts) {
1164
+ opts = opts || {};
1165
+
1001
1166
  // verify the required parameter 'domainId' is set
1002
1167
  if (domainId === undefined || domainId === null || domainId === '') {
1003
1168
  throw 'Missing the required parameter "domainId" when calling getRoutingEmailDomainVerification';
@@ -1013,7 +1178,8 @@ class RoutingApi {
1013
1178
  null,
1014
1179
  ['PureCloud OAuth'],
1015
1180
  ['application/json'],
1016
- ['application/json']
1181
+ ['application/json'],
1182
+ opts['customHeaders']
1017
1183
  );
1018
1184
  }
1019
1185
 
@@ -1026,6 +1192,7 @@ class RoutingApi {
1026
1192
  * @param {Boolean} opts.excludeStatus Exclude MX record data (default to false)
1027
1193
  * @param {String} opts.filter Optional search filter that, if defined, use the **filter** syntax, eg: **mySearchedPattern**. Note that **** is considered no filter.
1028
1194
  * @param {Object} opts.expand Expand options. Valid values: settings
1195
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1029
1196
  */
1030
1197
  getRoutingEmailDomains(opts) {
1031
1198
  opts = opts || {};
@@ -1041,7 +1208,8 @@ class RoutingApi {
1041
1208
  null,
1042
1209
  ['PureCloud OAuth'],
1043
1210
  ['application/json'],
1044
- ['application/json']
1211
+ ['application/json'],
1212
+ opts['customHeaders']
1045
1213
  );
1046
1214
  }
1047
1215
 
@@ -1051,6 +1219,7 @@ class RoutingApi {
1051
1219
  * @param {String} domainId domain ID
1052
1220
  * @param {Object} opts Optional parameters
1053
1221
  * @param {Object} opts.expand Expand options. Valid values: settings
1222
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1054
1223
  */
1055
1224
  getRoutingEmailOutboundDomain(domainId, opts) {
1056
1225
  opts = opts || {};
@@ -1070,7 +1239,8 @@ class RoutingApi {
1070
1239
  null,
1071
1240
  ['PureCloud OAuth'],
1072
1241
  ['application/json'],
1073
- ['application/json']
1242
+ ['application/json'],
1243
+ opts['customHeaders']
1074
1244
  );
1075
1245
  }
1076
1246
 
@@ -1078,8 +1248,12 @@ class RoutingApi {
1078
1248
  * Get activation status (cname + dkim) of an outbound domain
1079
1249
  *
1080
1250
  * @param {String} domainId domain ID
1251
+ * @param {Object} opts Optional parameters
1252
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1081
1253
  */
1082
- getRoutingEmailOutboundDomainActivation(domainId) {
1254
+ getRoutingEmailOutboundDomainActivation(domainId, opts) {
1255
+ opts = opts || {};
1256
+
1083
1257
  // verify the required parameter 'domainId' is set
1084
1258
  if (domainId === undefined || domainId === null || domainId === '') {
1085
1259
  throw 'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomainActivation';
@@ -1095,7 +1269,8 @@ class RoutingApi {
1095
1269
  null,
1096
1270
  ['PureCloud OAuth'],
1097
1271
  ['application/json'],
1098
- ['application/json']
1272
+ ['application/json'],
1273
+ opts['customHeaders']
1099
1274
  );
1100
1275
  }
1101
1276
 
@@ -1107,6 +1282,7 @@ class RoutingApi {
1107
1282
  * @param {Number} opts.pageNumber Page number (default to 1)
1108
1283
  * @param {String} opts.filter Optional search filter that, if defined, use the **filter** syntax, eg: **mySearchedPattern**. Note that **** is considered no filter.
1109
1284
  * @param {Object} opts.expand Expand options. Valid values: settings
1285
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1110
1286
  */
1111
1287
  getRoutingEmailOutboundDomains(opts) {
1112
1288
  opts = opts || {};
@@ -1122,15 +1298,20 @@ class RoutingApi {
1122
1298
  null,
1123
1299
  ['PureCloud OAuth'],
1124
1300
  ['application/json'],
1125
- ['application/json']
1301
+ ['application/json'],
1302
+ opts['customHeaders']
1126
1303
  );
1127
1304
  }
1128
1305
 
1129
1306
  /**
1130
1307
  * Get email setup
1131
1308
  *
1309
+ * @param {Object} opts Optional parameters
1310
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1132
1311
  */
1133
- getRoutingEmailSetup() {
1312
+ getRoutingEmailSetup(opts) {
1313
+ opts = opts || {};
1314
+
1134
1315
 
1135
1316
  return this.apiClient.callApi(
1136
1317
  '/api/v2/routing/email/setup',
@@ -1142,7 +1323,8 @@ class RoutingApi {
1142
1323
  null,
1143
1324
  ['PureCloud OAuth'],
1144
1325
  ['application/json'],
1145
- ['application/json']
1326
+ ['application/json'],
1327
+ opts['customHeaders']
1146
1328
  );
1147
1329
  }
1148
1330
 
@@ -1150,8 +1332,12 @@ class RoutingApi {
1150
1332
  * Get a routing language
1151
1333
  *
1152
1334
  * @param {String} languageId Language ID
1335
+ * @param {Object} opts Optional parameters
1336
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1153
1337
  */
1154
- getRoutingLanguage(languageId) {
1338
+ getRoutingLanguage(languageId, opts) {
1339
+ opts = opts || {};
1340
+
1155
1341
  // verify the required parameter 'languageId' is set
1156
1342
  if (languageId === undefined || languageId === null || languageId === '') {
1157
1343
  throw 'Missing the required parameter "languageId" when calling getRoutingLanguage';
@@ -1167,7 +1353,8 @@ class RoutingApi {
1167
1353
  null,
1168
1354
  ['PureCloud OAuth'],
1169
1355
  ['application/json'],
1170
- ['application/json']
1356
+ ['application/json'],
1357
+ opts['customHeaders']
1171
1358
  );
1172
1359
  }
1173
1360
 
@@ -1180,6 +1367,7 @@ class RoutingApi {
1180
1367
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
1181
1368
  * @param {String} opts.name Name
1182
1369
  * @param {Array.<String>} opts.id id
1370
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1183
1371
  */
1184
1372
  getRoutingLanguages(opts) {
1185
1373
  opts = opts || {};
@@ -1195,7 +1383,8 @@ class RoutingApi {
1195
1383
  null,
1196
1384
  ['PureCloud OAuth'],
1197
1385
  ['application/json'],
1198
- ['application/json']
1386
+ ['application/json'],
1387
+ opts['customHeaders']
1199
1388
  );
1200
1389
  }
1201
1390
 
@@ -1203,8 +1392,12 @@ class RoutingApi {
1203
1392
  * Get a recipient
1204
1393
  *
1205
1394
  * @param {String} recipientId Recipient ID
1395
+ * @param {Object} opts Optional parameters
1396
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1206
1397
  */
1207
- getRoutingMessageRecipient(recipientId) {
1398
+ getRoutingMessageRecipient(recipientId, opts) {
1399
+ opts = opts || {};
1400
+
1208
1401
  // verify the required parameter 'recipientId' is set
1209
1402
  if (recipientId === undefined || recipientId === null || recipientId === '') {
1210
1403
  throw 'Missing the required parameter "recipientId" when calling getRoutingMessageRecipient';
@@ -1220,7 +1413,8 @@ class RoutingApi {
1220
1413
  null,
1221
1414
  ['PureCloud OAuth'],
1222
1415
  ['application/json'],
1223
- ['application/json']
1416
+ ['application/json'],
1417
+ opts['customHeaders']
1224
1418
  );
1225
1419
  }
1226
1420
 
@@ -1232,6 +1426,7 @@ class RoutingApi {
1232
1426
  * @param {String} opts.name Recipient Name
1233
1427
  * @param {Number} opts.pageSize Page size (default to 25)
1234
1428
  * @param {Number} opts.pageNumber Page number (default to 1)
1429
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1235
1430
  */
1236
1431
  getRoutingMessageRecipients(opts) {
1237
1432
  opts = opts || {};
@@ -1247,7 +1442,8 @@ class RoutingApi {
1247
1442
  null,
1248
1443
  ['PureCloud OAuth'],
1249
1444
  ['application/json'],
1250
- ['application/json']
1445
+ ['application/json'],
1446
+ opts['customHeaders']
1251
1447
  );
1252
1448
  }
1253
1449
 
@@ -1255,8 +1451,12 @@ class RoutingApi {
1255
1451
  * Retrieve a single predictor.
1256
1452
  *
1257
1453
  * @param {String} predictorId Predictor ID
1454
+ * @param {Object} opts Optional parameters
1455
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1258
1456
  */
1259
- getRoutingPredictor(predictorId) {
1457
+ getRoutingPredictor(predictorId, opts) {
1458
+ opts = opts || {};
1459
+
1260
1460
  // verify the required parameter 'predictorId' is set
1261
1461
  if (predictorId === undefined || predictorId === null || predictorId === '') {
1262
1462
  throw 'Missing the required parameter "predictorId" when calling getRoutingPredictor';
@@ -1272,7 +1472,8 @@ class RoutingApi {
1272
1472
  null,
1273
1473
  ['PureCloud OAuth'],
1274
1474
  ['application/json'],
1275
- ['application/json']
1475
+ ['application/json'],
1476
+ opts['customHeaders']
1276
1477
  );
1277
1478
  }
1278
1479
 
@@ -1281,8 +1482,12 @@ class RoutingApi {
1281
1482
  *
1282
1483
  * @param {String} predictorId Predictor ID
1283
1484
  * @param {String} modelId Model ID
1485
+ * @param {Object} opts Optional parameters
1486
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1284
1487
  */
1285
- getRoutingPredictorModelFeatures(predictorId, modelId) {
1488
+ getRoutingPredictorModelFeatures(predictorId, modelId, opts) {
1489
+ opts = opts || {};
1490
+
1286
1491
  // verify the required parameter 'predictorId' is set
1287
1492
  if (predictorId === undefined || predictorId === null || predictorId === '') {
1288
1493
  throw 'Missing the required parameter "predictorId" when calling getRoutingPredictorModelFeatures';
@@ -1302,7 +1507,8 @@ class RoutingApi {
1302
1507
  null,
1303
1508
  ['PureCloud OAuth'],
1304
1509
  ['application/json'],
1305
- ['application/json']
1510
+ ['application/json'],
1511
+ opts['customHeaders']
1306
1512
  );
1307
1513
  }
1308
1514
 
@@ -1310,8 +1516,12 @@ class RoutingApi {
1310
1516
  * Retrieve Predictor Models and Top Features.
1311
1517
  *
1312
1518
  * @param {String} predictorId Predictor ID
1519
+ * @param {Object} opts Optional parameters
1520
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1313
1521
  */
1314
- getRoutingPredictorModels(predictorId) {
1522
+ getRoutingPredictorModels(predictorId, opts) {
1523
+ opts = opts || {};
1524
+
1315
1525
  // verify the required parameter 'predictorId' is set
1316
1526
  if (predictorId === undefined || predictorId === null || predictorId === '') {
1317
1527
  throw 'Missing the required parameter "predictorId" when calling getRoutingPredictorModels';
@@ -1327,7 +1537,8 @@ class RoutingApi {
1327
1537
  null,
1328
1538
  ['PureCloud OAuth'],
1329
1539
  ['application/json'],
1330
- ['application/json']
1540
+ ['application/json'],
1541
+ opts['customHeaders']
1331
1542
  );
1332
1543
  }
1333
1544
 
@@ -1342,6 +1553,7 @@ class RoutingApi {
1342
1553
  * @param {Array.<String>} opts.queueId Comma-separated list of queue Ids to filter by.
1343
1554
  * @param {String} opts.kpiId Standard or custom KPI id used to filter predictors.
1344
1555
  * @param {Object} opts.state The state used to filter predictors.
1556
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1345
1557
  */
1346
1558
  getRoutingPredictors(opts) {
1347
1559
  opts = opts || {};
@@ -1357,7 +1569,8 @@ class RoutingApi {
1357
1569
  null,
1358
1570
  ['PureCloud OAuth'],
1359
1571
  ['application/json'],
1360
- ['application/json']
1572
+ ['application/json'],
1573
+ opts['customHeaders']
1361
1574
  );
1362
1575
  }
1363
1576
 
@@ -1367,6 +1580,7 @@ class RoutingApi {
1367
1580
  * @param {String} kpiId Key Performance Indicator ID
1368
1581
  * @param {Object} opts Optional parameters
1369
1582
  * @param {Array.<String>} opts.expand Parameter to request additional data to return in KPI payload
1583
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1370
1584
  * getRoutingPredictorsKeyperformanceindicator is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1371
1585
  */
1372
1586
  getRoutingPredictorsKeyperformanceindicator(kpiId, opts) {
@@ -1387,7 +1601,8 @@ class RoutingApi {
1387
1601
  null,
1388
1602
  ['PureCloud OAuth'],
1389
1603
  ['application/json'],
1390
- ['application/json']
1604
+ ['application/json'],
1605
+ opts['customHeaders']
1391
1606
  );
1392
1607
  }
1393
1608
 
@@ -1397,6 +1612,7 @@ class RoutingApi {
1397
1612
  * @param {Object} opts Optional parameters
1398
1613
  * @param {Object} opts.kpiGroup The Group of Key Performance Indicators to return
1399
1614
  * @param {Array.<String>} opts.expand Parameter to request additional data to return in KPI payload
1615
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1400
1616
  */
1401
1617
  getRoutingPredictorsKeyperformanceindicators(opts) {
1402
1618
  opts = opts || {};
@@ -1412,16 +1628,21 @@ class RoutingApi {
1412
1628
  null,
1413
1629
  ['PureCloud OAuth'],
1414
1630
  ['application/json'],
1415
- ['application/json']
1631
+ ['application/json'],
1632
+ opts['customHeaders']
1416
1633
  );
1417
1634
  }
1418
1635
 
1419
1636
  /**
1420
1637
  * Get a list of Key Performance Indicators Types available.
1421
1638
  *
1639
+ * @param {Object} opts Optional parameters
1640
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1422
1641
  * getRoutingPredictorsKeyperformanceindicatortypes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1423
1642
  */
1424
- getRoutingPredictorsKeyperformanceindicatortypes() {
1643
+ getRoutingPredictorsKeyperformanceindicatortypes(opts) {
1644
+ opts = opts || {};
1645
+
1425
1646
 
1426
1647
  return this.apiClient.callApi(
1427
1648
  '/api/v2/routing/predictors/keyperformanceindicatortypes',
@@ -1433,7 +1654,8 @@ class RoutingApi {
1433
1654
  null,
1434
1655
  ['PureCloud OAuth'],
1435
1656
  ['application/json'],
1436
- ['application/json']
1657
+ ['application/json'],
1658
+ opts['customHeaders']
1437
1659
  );
1438
1660
  }
1439
1661
 
@@ -1443,6 +1665,7 @@ class RoutingApi {
1443
1665
  * @param {String} queueId Queue ID
1444
1666
  * @param {Object} opts Optional parameters
1445
1667
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
1668
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1446
1669
  */
1447
1670
  getRoutingQueue(queueId, opts) {
1448
1671
  opts = opts || {};
@@ -1462,7 +1685,8 @@ class RoutingApi {
1462
1685
  null,
1463
1686
  ['PureCloud OAuth'],
1464
1687
  ['application/json'],
1465
- ['application/json']
1688
+ ['application/json'],
1689
+ opts['customHeaders']
1466
1690
  );
1467
1691
  }
1468
1692
 
@@ -1474,6 +1698,7 @@ class RoutingApi {
1474
1698
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
1475
1699
  * @param {String} opts.languageVariation Language variation
1476
1700
  * @param {Boolean} opts.fallbackToPrimaryAssistant Fall back to primary assistant if specified variation is not found
1701
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1477
1702
  */
1478
1703
  getRoutingQueueAssistant(queueId, opts) {
1479
1704
  opts = opts || {};
@@ -1493,7 +1718,8 @@ class RoutingApi {
1493
1718
  null,
1494
1719
  ['PureCloud OAuth'],
1495
1720
  ['application/json'],
1496
- ['application/json']
1721
+ ['application/json'],
1722
+ opts['customHeaders']
1497
1723
  );
1498
1724
  }
1499
1725
 
@@ -1502,8 +1728,12 @@ class RoutingApi {
1502
1728
  *
1503
1729
  * @param {String} queueId Queue id
1504
1730
  * @param {String} comparisonPeriodId ComparisonPeriod id
1731
+ * @param {Object} opts Optional parameters
1732
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1505
1733
  */
1506
- getRoutingQueueComparisonperiod(queueId, comparisonPeriodId) {
1734
+ getRoutingQueueComparisonperiod(queueId, comparisonPeriodId, opts) {
1735
+ opts = opts || {};
1736
+
1507
1737
  // verify the required parameter 'queueId' is set
1508
1738
  if (queueId === undefined || queueId === null || queueId === '') {
1509
1739
  throw 'Missing the required parameter "queueId" when calling getRoutingQueueComparisonperiod';
@@ -1523,7 +1753,8 @@ class RoutingApi {
1523
1753
  null,
1524
1754
  ['PureCloud OAuth'],
1525
1755
  ['application/json'],
1526
- ['application/json']
1756
+ ['application/json'],
1757
+ opts['customHeaders']
1527
1758
  );
1528
1759
  }
1529
1760
 
@@ -1531,8 +1762,12 @@ class RoutingApi {
1531
1762
  * Get list of comparison periods
1532
1763
  *
1533
1764
  * @param {String} queueId Queue id
1765
+ * @param {Object} opts Optional parameters
1766
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1534
1767
  */
1535
- getRoutingQueueComparisonperiods(queueId) {
1768
+ getRoutingQueueComparisonperiods(queueId, opts) {
1769
+ opts = opts || {};
1770
+
1536
1771
  // verify the required parameter 'queueId' is set
1537
1772
  if (queueId === undefined || queueId === null || queueId === '') {
1538
1773
  throw 'Missing the required parameter "queueId" when calling getRoutingQueueComparisonperiods';
@@ -1548,7 +1783,8 @@ class RoutingApi {
1548
1783
  null,
1549
1784
  ['PureCloud OAuth'],
1550
1785
  ['application/json'],
1551
- ['application/json']
1786
+ ['application/json'],
1787
+ opts['customHeaders']
1552
1788
  );
1553
1789
  }
1554
1790
 
@@ -1558,6 +1794,7 @@ class RoutingApi {
1558
1794
  * @param {String} queueId queueId
1559
1795
  * @param {Object} opts Optional parameters
1560
1796
  * @param {String} opts.conversationId conversationId
1797
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1561
1798
  */
1562
1799
  getRoutingQueueEstimatedwaittime(queueId, opts) {
1563
1800
  opts = opts || {};
@@ -1577,7 +1814,8 @@ class RoutingApi {
1577
1814
  null,
1578
1815
  ['PureCloud OAuth'],
1579
1816
  ['application/json'],
1580
- ['application/json']
1817
+ ['application/json'],
1818
+ opts['customHeaders']
1581
1819
  );
1582
1820
  }
1583
1821
 
@@ -1585,8 +1823,12 @@ class RoutingApi {
1585
1823
  * Get Queue IdentityResolution Settings.
1586
1824
  *
1587
1825
  * @param {String} queueId Queue ID
1826
+ * @param {Object} opts Optional parameters
1827
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1588
1828
  */
1589
- getRoutingQueueIdentityresolution(queueId) {
1829
+ getRoutingQueueIdentityresolution(queueId, opts) {
1830
+ opts = opts || {};
1831
+
1590
1832
  // verify the required parameter 'queueId' is set
1591
1833
  if (queueId === undefined || queueId === null || queueId === '') {
1592
1834
  throw 'Missing the required parameter "queueId" when calling getRoutingQueueIdentityresolution';
@@ -1602,7 +1844,8 @@ class RoutingApi {
1602
1844
  null,
1603
1845
  ['PureCloud OAuth'],
1604
1846
  ['application/json'],
1605
- ['application/json']
1847
+ ['application/json'],
1848
+ opts['customHeaders']
1606
1849
  );
1607
1850
  }
1608
1851
 
@@ -1613,6 +1856,7 @@ class RoutingApi {
1613
1856
  * @param {Object} mediaType mediaType
1614
1857
  * @param {Object} opts Optional parameters
1615
1858
  * @param {String} opts.labelId Unique id that represents the interaction label used with media type for EWT calculation
1859
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1616
1860
  */
1617
1861
  getRoutingQueueMediatypeEstimatedwaittime(queueId, mediaType, opts) {
1618
1862
  opts = opts || {};
@@ -1636,7 +1880,8 @@ class RoutingApi {
1636
1880
  null,
1637
1881
  ['PureCloud OAuth'],
1638
1882
  ['application/json'],
1639
- ['application/json']
1883
+ ['application/json'],
1884
+ opts['customHeaders']
1640
1885
  );
1641
1886
  }
1642
1887
 
@@ -1657,6 +1902,7 @@ class RoutingApi {
1657
1902
  * @param {Array.<String>} opts.presence Filter by presence
1658
1903
  * @param {Object} opts.memberBy Filter by member type
1659
1904
  * @param {Object} opts.joined Filter by joined status
1905
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1660
1906
  */
1661
1907
  getRoutingQueueMembers(queueId, opts) {
1662
1908
  opts = opts || {};
@@ -1676,7 +1922,8 @@ class RoutingApi {
1676
1922
  null,
1677
1923
  ['PureCloud OAuth'],
1678
1924
  ['application/json'],
1679
- ['application/json']
1925
+ ['application/json'],
1926
+ opts['customHeaders']
1680
1927
  );
1681
1928
  }
1682
1929
 
@@ -1696,6 +1943,7 @@ class RoutingApi {
1696
1943
  * @param {Array.<String>} opts.languages Filter by language
1697
1944
  * @param {Array.<String>} opts.routingStatus Filter by routing status
1698
1945
  * @param {Array.<String>} opts.presence Filter by presence
1946
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1699
1947
  * @deprecated
1700
1948
  */
1701
1949
  getRoutingQueueUsers(queueId, opts) {
@@ -1716,7 +1964,8 @@ class RoutingApi {
1716
1964
  null,
1717
1965
  ['PureCloud OAuth'],
1718
1966
  ['application/json'],
1719
- ['application/json']
1967
+ ['application/json'],
1968
+ opts['customHeaders']
1720
1969
  );
1721
1970
  }
1722
1971
 
@@ -1728,6 +1977,7 @@ class RoutingApi {
1728
1977
  * @param {Number} opts.pageSize Page size (default to 25)
1729
1978
  * @param {Number} opts.pageNumber Page number (default to 1)
1730
1979
  * @param {String} opts.name Wrapup code's name (trailing asterisks allowed)
1980
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1731
1981
  */
1732
1982
  getRoutingQueueWrapupcodes(queueId, opts) {
1733
1983
  opts = opts || {};
@@ -1747,7 +1997,8 @@ class RoutingApi {
1747
1997
  null,
1748
1998
  ['PureCloud OAuth'],
1749
1999
  ['application/json'],
1750
- ['application/json']
2000
+ ['application/json'],
2001
+ opts['customHeaders']
1751
2002
  );
1752
2003
  }
1753
2004
 
@@ -1765,6 +2016,7 @@ class RoutingApi {
1765
2016
  * @param {String} opts.cannedResponseLibraryId Include only queues explicitly associated with the specified canned response library ID
1766
2017
  * @param {Boolean} opts.hasPeer Include only queues with a peer ID
1767
2018
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
2019
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1768
2020
  */
1769
2021
  getRoutingQueues(opts) {
1770
2022
  opts = opts || {};
@@ -1780,7 +2032,8 @@ class RoutingApi {
1780
2032
  null,
1781
2033
  ['PureCloud OAuth'],
1782
2034
  ['application/json'],
1783
- ['application/json']
2035
+ ['application/json'],
2036
+ opts['customHeaders']
1784
2037
  );
1785
2038
  }
1786
2039
 
@@ -1795,6 +2048,7 @@ class RoutingApi {
1795
2048
  * @param {String} opts.name Name
1796
2049
  * @param {Array.<String>} opts.id Queue ID(s)
1797
2050
  * @param {Array.<String>} opts.divisionId Division ID(s)
2051
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1798
2052
  */
1799
2053
  getRoutingQueuesDivisionviews(opts) {
1800
2054
  opts = opts || {};
@@ -1810,7 +2064,8 @@ class RoutingApi {
1810
2064
  null,
1811
2065
  ['PureCloud OAuth'],
1812
2066
  ['application/json'],
1813
- ['application/json']
2067
+ ['application/json'],
2068
+ opts['customHeaders']
1814
2069
  );
1815
2070
  }
1816
2071
 
@@ -1821,6 +2076,7 @@ class RoutingApi {
1821
2076
  * @param {Number} opts.pageSize Page size [max value is 500] (default to 25)
1822
2077
  * @param {Number} opts.pageNumber Page number (default to 1)
1823
2078
  * @param {Object} opts.sortOrder Sort order (default to asc)
2079
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1824
2080
  */
1825
2081
  getRoutingQueuesDivisionviewsAll(opts) {
1826
2082
  opts = opts || {};
@@ -1836,7 +2092,8 @@ class RoutingApi {
1836
2092
  null,
1837
2093
  ['PureCloud OAuth'],
1838
2094
  ['application/json'],
1839
- ['application/json']
2095
+ ['application/json'],
2096
+ opts['customHeaders']
1840
2097
  );
1841
2098
  }
1842
2099
 
@@ -1848,6 +2105,7 @@ class RoutingApi {
1848
2105
  * @param {Number} opts.pageSize Page size (default to 25)
1849
2106
  * @param {Object} opts.joined Filter by joined status.
1850
2107
  * @param {Object} opts.sortOrder Note: results are sorted by name. (default to asc)
2108
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1851
2109
  */
1852
2110
  getRoutingQueuesMe(opts) {
1853
2111
  opts = opts || {};
@@ -1863,15 +2121,20 @@ class RoutingApi {
1863
2121
  null,
1864
2122
  ['PureCloud OAuth'],
1865
2123
  ['application/json'],
1866
- ['application/json']
2124
+ ['application/json'],
2125
+ opts['customHeaders']
1867
2126
  );
1868
2127
  }
1869
2128
 
1870
2129
  /**
1871
2130
  * Get an organization's routing settings
1872
2131
  *
2132
+ * @param {Object} opts Optional parameters
2133
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1873
2134
  */
1874
- getRoutingSettings() {
2135
+ getRoutingSettings(opts) {
2136
+ opts = opts || {};
2137
+
1875
2138
 
1876
2139
  return this.apiClient.callApi(
1877
2140
  '/api/v2/routing/settings',
@@ -1883,15 +2146,20 @@ class RoutingApi {
1883
2146
  null,
1884
2147
  ['PureCloud OAuth'],
1885
2148
  ['application/json'],
1886
- ['application/json']
2149
+ ['application/json'],
2150
+ opts['customHeaders']
1887
2151
  );
1888
2152
  }
1889
2153
 
1890
2154
  /**
1891
2155
  * Get Contact Center Settings
1892
2156
  *
2157
+ * @param {Object} opts Optional parameters
2158
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1893
2159
  */
1894
- getRoutingSettingsContactcenter() {
2160
+ getRoutingSettingsContactcenter(opts) {
2161
+ opts = opts || {};
2162
+
1895
2163
 
1896
2164
  return this.apiClient.callApi(
1897
2165
  '/api/v2/routing/settings/contactcenter',
@@ -1903,15 +2171,20 @@ class RoutingApi {
1903
2171
  null,
1904
2172
  ['PureCloud OAuth'],
1905
2173
  ['application/json'],
1906
- ['application/json']
2174
+ ['application/json'],
2175
+ opts['customHeaders']
1907
2176
  );
1908
2177
  }
1909
2178
 
1910
2179
  /**
1911
2180
  * Get Transcription Settings
1912
2181
  *
2182
+ * @param {Object} opts Optional parameters
2183
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1913
2184
  */
1914
- getRoutingSettingsTranscription() {
2185
+ getRoutingSettingsTranscription(opts) {
2186
+ opts = opts || {};
2187
+
1915
2188
 
1916
2189
  return this.apiClient.callApi(
1917
2190
  '/api/v2/routing/settings/transcription',
@@ -1923,7 +2196,8 @@ class RoutingApi {
1923
2196
  null,
1924
2197
  ['PureCloud OAuth'],
1925
2198
  ['application/json'],
1926
- ['application/json']
2199
+ ['application/json'],
2200
+ opts['customHeaders']
1927
2201
  );
1928
2202
  }
1929
2203
 
@@ -1931,8 +2205,12 @@ class RoutingApi {
1931
2205
  * Get Routing Skill
1932
2206
  *
1933
2207
  * @param {String} skillId Skill ID
2208
+ * @param {Object} opts Optional parameters
2209
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1934
2210
  */
1935
- getRoutingSkill(skillId) {
2211
+ getRoutingSkill(skillId, opts) {
2212
+ opts = opts || {};
2213
+
1936
2214
  // verify the required parameter 'skillId' is set
1937
2215
  if (skillId === undefined || skillId === null || skillId === '') {
1938
2216
  throw 'Missing the required parameter "skillId" when calling getRoutingSkill';
@@ -1948,7 +2226,8 @@ class RoutingApi {
1948
2226
  null,
1949
2227
  ['PureCloud OAuth'],
1950
2228
  ['application/json'],
1951
- ['application/json']
2229
+ ['application/json'],
2230
+ opts['customHeaders']
1952
2231
  );
1953
2232
  }
1954
2233
 
@@ -1956,8 +2235,12 @@ class RoutingApi {
1956
2235
  * Get skill group
1957
2236
  *
1958
2237
  * @param {String} skillGroupId Skill Group ID
2238
+ * @param {Object} opts Optional parameters
2239
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1959
2240
  */
1960
- getRoutingSkillgroup(skillGroupId) {
2241
+ getRoutingSkillgroup(skillGroupId, opts) {
2242
+ opts = opts || {};
2243
+
1961
2244
  // verify the required parameter 'skillGroupId' is set
1962
2245
  if (skillGroupId === undefined || skillGroupId === null || skillGroupId === '') {
1963
2246
  throw 'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroup';
@@ -1973,7 +2256,8 @@ class RoutingApi {
1973
2256
  null,
1974
2257
  ['PureCloud OAuth'],
1975
2258
  ['application/json'],
1976
- ['application/json']
2259
+ ['application/json'],
2260
+ opts['customHeaders']
1977
2261
  );
1978
2262
  }
1979
2263
 
@@ -1986,6 +2270,7 @@ class RoutingApi {
1986
2270
  * @param {String} opts.after The cursor that points to the next item
1987
2271
  * @param {String} opts.before The cursor that points to the previous item
1988
2272
  * @param {Object} opts.expand Expand the name on each user
2273
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1989
2274
  */
1990
2275
  getRoutingSkillgroupMembers(skillGroupId, opts) {
1991
2276
  opts = opts || {};
@@ -2005,7 +2290,8 @@ class RoutingApi {
2005
2290
  null,
2006
2291
  ['PureCloud OAuth'],
2007
2292
  ['application/json'],
2008
- ['application/json']
2293
+ ['application/json'],
2294
+ opts['customHeaders']
2009
2295
  );
2010
2296
  }
2011
2297
 
@@ -2015,6 +2301,7 @@ class RoutingApi {
2015
2301
  * @param {String} skillGroupId Skill Group ID
2016
2302
  * @param {Object} opts Optional parameters
2017
2303
  * @param {Object} opts.expand Expand the name on each user
2304
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2018
2305
  */
2019
2306
  getRoutingSkillgroupMembersDivisions(skillGroupId, opts) {
2020
2307
  opts = opts || {};
@@ -2034,7 +2321,8 @@ class RoutingApi {
2034
2321
  null,
2035
2322
  ['PureCloud OAuth'],
2036
2323
  ['application/json'],
2037
- ['application/json']
2324
+ ['application/json'],
2325
+ opts['customHeaders']
2038
2326
  );
2039
2327
  }
2040
2328
 
@@ -2046,6 +2334,7 @@ class RoutingApi {
2046
2334
  * @param {String} opts.name Return only skill group names whose names start with this value (case-insensitive matching)
2047
2335
  * @param {String} opts.after The cursor that points to the next item
2048
2336
  * @param {String} opts.before The cursor that points to the previous item
2337
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2049
2338
  */
2050
2339
  getRoutingSkillgroups(opts) {
2051
2340
  opts = opts || {};
@@ -2061,7 +2350,8 @@ class RoutingApi {
2061
2350
  null,
2062
2351
  ['PureCloud OAuth'],
2063
2352
  ['application/json'],
2064
- ['application/json']
2353
+ ['application/json'],
2354
+ opts['customHeaders']
2065
2355
  );
2066
2356
  }
2067
2357
 
@@ -2073,6 +2363,7 @@ class RoutingApi {
2073
2363
  * @param {Number} opts.pageNumber Page number (default to 1)
2074
2364
  * @param {String} opts.name Filter for results that start with this value
2075
2365
  * @param {Array.<String>} opts.id id
2366
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2076
2367
  */
2077
2368
  getRoutingSkills(opts) {
2078
2369
  opts = opts || {};
@@ -2088,7 +2379,8 @@ class RoutingApi {
2088
2379
  null,
2089
2380
  ['PureCloud OAuth'],
2090
2381
  ['application/json'],
2091
- ['application/json']
2382
+ ['application/json'],
2383
+ opts['customHeaders']
2092
2384
  );
2093
2385
  }
2094
2386
 
@@ -2096,8 +2388,12 @@ class RoutingApi {
2096
2388
  * Get an Address by Id for SMS
2097
2389
  *
2098
2390
  * @param {String} addressId Address ID
2391
+ * @param {Object} opts Optional parameters
2392
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2099
2393
  */
2100
- getRoutingSmsAddress(addressId) {
2394
+ getRoutingSmsAddress(addressId, opts) {
2395
+ opts = opts || {};
2396
+
2101
2397
  // verify the required parameter 'addressId' is set
2102
2398
  if (addressId === undefined || addressId === null || addressId === '') {
2103
2399
  throw 'Missing the required parameter "addressId" when calling getRoutingSmsAddress';
@@ -2113,7 +2409,8 @@ class RoutingApi {
2113
2409
  null,
2114
2410
  ['PureCloud OAuth'],
2115
2411
  ['application/json'],
2116
- ['application/json']
2412
+ ['application/json'],
2413
+ opts['customHeaders']
2117
2414
  );
2118
2415
  }
2119
2416
 
@@ -2123,6 +2420,7 @@ class RoutingApi {
2123
2420
  * @param {Object} opts Optional parameters
2124
2421
  * @param {Number} opts.pageSize Page size (default to 25)
2125
2422
  * @param {Number} opts.pageNumber Page number (default to 1)
2423
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2126
2424
  */
2127
2425
  getRoutingSmsAddresses(opts) {
2128
2426
  opts = opts || {};
@@ -2138,7 +2436,8 @@ class RoutingApi {
2138
2436
  null,
2139
2437
  ['PureCloud OAuth'],
2140
2438
  ['application/json'],
2141
- ['application/json']
2439
+ ['application/json'],
2440
+ opts['customHeaders']
2142
2441
  );
2143
2442
  }
2144
2443
 
@@ -2153,6 +2452,7 @@ class RoutingApi {
2153
2452
  * @param {String} opts.areaCode Area code that can be used to restrict the numbers returned
2154
2453
  * @param {String} opts.pattern A pattern to match phone numbers. Valid characters are '*' and [0-9a-zA-Z]. The '*' character will match any single digit.
2155
2454
  * @param {Object} opts.addressRequirement This indicates whether the phone number requires to have an Address registered.
2455
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2156
2456
  */
2157
2457
  getRoutingSmsAvailablephonenumbers(countryCode, phoneNumberType, opts) {
2158
2458
  opts = opts || {};
@@ -2176,7 +2476,8 @@ class RoutingApi {
2176
2476
  null,
2177
2477
  ['PureCloud OAuth'],
2178
2478
  ['application/json'],
2179
- ['application/json']
2479
+ ['application/json'],
2480
+ opts['customHeaders']
2180
2481
  );
2181
2482
  }
2182
2483
 
@@ -2184,8 +2485,12 @@ class RoutingApi {
2184
2485
  * Get a SMS identity resolution settings.
2185
2486
  *
2186
2487
  * @param {String} addressId Address ID
2488
+ * @param {Object} opts Optional parameters
2489
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2187
2490
  */
2188
- getRoutingSmsIdentityresolutionPhonenumber(addressId) {
2491
+ getRoutingSmsIdentityresolutionPhonenumber(addressId, opts) {
2492
+ opts = opts || {};
2493
+
2189
2494
  // verify the required parameter 'addressId' is set
2190
2495
  if (addressId === undefined || addressId === null || addressId === '') {
2191
2496
  throw 'Missing the required parameter "addressId" when calling getRoutingSmsIdentityresolutionPhonenumber';
@@ -2201,7 +2506,8 @@ class RoutingApi {
2201
2506
  null,
2202
2507
  ['PureCloud OAuth'],
2203
2508
  ['application/json'],
2204
- ['application/json']
2509
+ ['application/json'],
2510
+ opts['customHeaders']
2205
2511
  );
2206
2512
  }
2207
2513
 
@@ -2211,6 +2517,7 @@ class RoutingApi {
2211
2517
  * @param {String} phoneNumberId phone number
2212
2518
  * @param {Object} opts Optional parameters
2213
2519
  * @param {Object} opts.expand Expand response with additional information
2520
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2214
2521
  */
2215
2522
  getRoutingSmsPhonenumber(phoneNumberId, opts) {
2216
2523
  opts = opts || {};
@@ -2230,7 +2537,8 @@ class RoutingApi {
2230
2537
  null,
2231
2538
  ['PureCloud OAuth'],
2232
2539
  ['application/json'],
2233
- ['application/json']
2540
+ ['application/json'],
2541
+ opts['customHeaders']
2234
2542
  );
2235
2543
  }
2236
2544
 
@@ -2250,6 +2558,7 @@ class RoutingApi {
2250
2558
  * @param {String} opts.integrationId Filter on the Genesys Cloud integration id to which the phone number belongs to
2251
2559
  * @param {String} opts.supportedContentId Filter based on the supported content ID
2252
2560
  * @param {Array.<String>} opts.expand Which fields, if any, to expand
2561
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2253
2562
  */
2254
2563
  getRoutingSmsPhonenumbers(opts) {
2255
2564
  opts = opts || {};
@@ -2265,7 +2574,8 @@ class RoutingApi {
2265
2574
  null,
2266
2575
  ['PureCloud OAuth'],
2267
2576
  ['application/json'],
2268
- ['application/json']
2577
+ ['application/json'],
2578
+ opts['customHeaders']
2269
2579
  );
2270
2580
  }
2271
2581
 
@@ -2273,8 +2583,12 @@ class RoutingApi {
2273
2583
  * Get the user's Direct Routing Backup settings.
2274
2584
  *
2275
2585
  * @param {String} userId User ID
2586
+ * @param {Object} opts Optional parameters
2587
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2276
2588
  */
2277
- getRoutingUserDirectroutingbackupSettings(userId) {
2589
+ getRoutingUserDirectroutingbackupSettings(userId, opts) {
2590
+ opts = opts || {};
2591
+
2278
2592
  // verify the required parameter 'userId' is set
2279
2593
  if (userId === undefined || userId === null || userId === '') {
2280
2594
  throw 'Missing the required parameter "userId" when calling getRoutingUserDirectroutingbackupSettings';
@@ -2290,7 +2604,8 @@ class RoutingApi {
2290
2604
  null,
2291
2605
  ['PureCloud OAuth'],
2292
2606
  ['application/json'],
2293
- ['application/json']
2607
+ ['application/json'],
2608
+ opts['customHeaders']
2294
2609
  );
2295
2610
  }
2296
2611
 
@@ -2298,8 +2613,12 @@ class RoutingApi {
2298
2613
  * Get the user's max utilization settings. If not configured, the organization-wide default is returned.
2299
2614
  *
2300
2615
  * @param {String} userId User ID
2616
+ * @param {Object} opts Optional parameters
2617
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2301
2618
  */
2302
- getRoutingUserUtilization(userId) {
2619
+ getRoutingUserUtilization(userId, opts) {
2620
+ opts = opts || {};
2621
+
2303
2622
  // verify the required parameter 'userId' is set
2304
2623
  if (userId === undefined || userId === null || userId === '') {
2305
2624
  throw 'Missing the required parameter "userId" when calling getRoutingUserUtilization';
@@ -2315,15 +2634,20 @@ class RoutingApi {
2315
2634
  null,
2316
2635
  ['PureCloud OAuth'],
2317
2636
  ['application/json'],
2318
- ['application/json']
2637
+ ['application/json'],
2638
+ opts['customHeaders']
2319
2639
  );
2320
2640
  }
2321
2641
 
2322
2642
  /**
2323
2643
  * Get the organization-wide max utilization settings.
2324
2644
  *
2645
+ * @param {Object} opts Optional parameters
2646
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2325
2647
  */
2326
- getRoutingUtilization() {
2648
+ getRoutingUtilization(opts) {
2649
+ opts = opts || {};
2650
+
2327
2651
 
2328
2652
  return this.apiClient.callApi(
2329
2653
  '/api/v2/routing/utilization',
@@ -2335,7 +2659,8 @@ class RoutingApi {
2335
2659
  null,
2336
2660
  ['PureCloud OAuth'],
2337
2661
  ['application/json'],
2338
- ['application/json']
2662
+ ['application/json'],
2663
+ opts['customHeaders']
2339
2664
  );
2340
2665
  }
2341
2666
 
@@ -2343,8 +2668,12 @@ class RoutingApi {
2343
2668
  * Get details about this utilization label
2344
2669
  *
2345
2670
  * @param {String} labelId Utilization Label ID
2671
+ * @param {Object} opts Optional parameters
2672
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2346
2673
  */
2347
- getRoutingUtilizationLabel(labelId) {
2674
+ getRoutingUtilizationLabel(labelId, opts) {
2675
+ opts = opts || {};
2676
+
2348
2677
  // verify the required parameter 'labelId' is set
2349
2678
  if (labelId === undefined || labelId === null || labelId === '') {
2350
2679
  throw 'Missing the required parameter "labelId" when calling getRoutingUtilizationLabel';
@@ -2360,7 +2689,8 @@ class RoutingApi {
2360
2689
  null,
2361
2690
  ['PureCloud OAuth'],
2362
2691
  ['application/json'],
2363
- ['application/json']
2692
+ ['application/json'],
2693
+ opts['customHeaders']
2364
2694
  );
2365
2695
  }
2366
2696
 
@@ -2368,8 +2698,12 @@ class RoutingApi {
2368
2698
  * Get list of agent ids associated with a utilization label
2369
2699
  *
2370
2700
  * @param {String} labelId Utilization Label ID
2701
+ * @param {Object} opts Optional parameters
2702
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2371
2703
  */
2372
- getRoutingUtilizationLabelAgents(labelId) {
2704
+ getRoutingUtilizationLabelAgents(labelId, opts) {
2705
+ opts = opts || {};
2706
+
2373
2707
  // verify the required parameter 'labelId' is set
2374
2708
  if (labelId === undefined || labelId === null || labelId === '') {
2375
2709
  throw 'Missing the required parameter "labelId" when calling getRoutingUtilizationLabelAgents';
@@ -2385,7 +2719,8 @@ class RoutingApi {
2385
2719
  null,
2386
2720
  ['PureCloud OAuth'],
2387
2721
  ['application/json'],
2388
- ['application/json']
2722
+ ['application/json'],
2723
+ opts['customHeaders']
2389
2724
  );
2390
2725
  }
2391
2726
 
@@ -2397,6 +2732,7 @@ class RoutingApi {
2397
2732
  * @param {Number} opts.pageNumber Page number (default to 1)
2398
2733
  * @param {Object} opts.sortOrder Sort order by name (default to ascending)
2399
2734
  * @param {String} opts.name Utilization label's name (Wildcard is supported, e.g., 'label1*', '*label*'
2735
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2400
2736
  */
2401
2737
  getRoutingUtilizationLabels(opts) {
2402
2738
  opts = opts || {};
@@ -2412,7 +2748,8 @@ class RoutingApi {
2412
2748
  null,
2413
2749
  ['PureCloud OAuth'],
2414
2750
  ['application/json'],
2415
- ['application/json']
2751
+ ['application/json'],
2752
+ opts['customHeaders']
2416
2753
  );
2417
2754
  }
2418
2755
 
@@ -2420,9 +2757,13 @@ class RoutingApi {
2420
2757
  * Get details about this utilization tag
2421
2758
  *
2422
2759
  * @param {String} tagId Utilization Tag ID
2760
+ * @param {Object} opts Optional parameters
2761
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2423
2762
  * getRoutingUtilizationTag is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2424
2763
  */
2425
- getRoutingUtilizationTag(tagId) {
2764
+ getRoutingUtilizationTag(tagId, opts) {
2765
+ opts = opts || {};
2766
+
2426
2767
  // verify the required parameter 'tagId' is set
2427
2768
  if (tagId === undefined || tagId === null || tagId === '') {
2428
2769
  throw 'Missing the required parameter "tagId" when calling getRoutingUtilizationTag';
@@ -2438,7 +2779,8 @@ class RoutingApi {
2438
2779
  null,
2439
2780
  ['PureCloud OAuth'],
2440
2781
  ['application/json'],
2441
- ['application/json']
2782
+ ['application/json'],
2783
+ opts['customHeaders']
2442
2784
  );
2443
2785
  }
2444
2786
 
@@ -2446,9 +2788,13 @@ class RoutingApi {
2446
2788
  * Get list of agent ids associated with a utilization tag
2447
2789
  *
2448
2790
  * @param {String} tagId Utilization Tag ID
2791
+ * @param {Object} opts Optional parameters
2792
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2449
2793
  * getRoutingUtilizationTagAgents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2450
2794
  */
2451
- getRoutingUtilizationTagAgents(tagId) {
2795
+ getRoutingUtilizationTagAgents(tagId, opts) {
2796
+ opts = opts || {};
2797
+
2452
2798
  // verify the required parameter 'tagId' is set
2453
2799
  if (tagId === undefined || tagId === null || tagId === '') {
2454
2800
  throw 'Missing the required parameter "tagId" when calling getRoutingUtilizationTagAgents';
@@ -2464,7 +2810,8 @@ class RoutingApi {
2464
2810
  null,
2465
2811
  ['PureCloud OAuth'],
2466
2812
  ['application/json'],
2467
- ['application/json']
2813
+ ['application/json'],
2814
+ opts['customHeaders']
2468
2815
  );
2469
2816
  }
2470
2817
 
@@ -2476,6 +2823,7 @@ class RoutingApi {
2476
2823
  * @param {Number} opts.pageNumber Page number (default to 1)
2477
2824
  * @param {Object} opts.sortOrder Sort order by name (default to ascending)
2478
2825
  * @param {String} opts.name Utilization tag's name (Wildcard is supported, e.g., 'tag1*')
2826
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2479
2827
  * getRoutingUtilizationTags is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2480
2828
  */
2481
2829
  getRoutingUtilizationTags(opts) {
@@ -2492,7 +2840,8 @@ class RoutingApi {
2492
2840
  null,
2493
2841
  ['PureCloud OAuth'],
2494
2842
  ['application/json'],
2495
- ['application/json']
2843
+ ['application/json'],
2844
+ opts['customHeaders']
2496
2845
  );
2497
2846
  }
2498
2847
 
@@ -2500,8 +2849,12 @@ class RoutingApi {
2500
2849
  * Get details about this wrap-up code.
2501
2850
  *
2502
2851
  * @param {String} codeId Wrapup Code ID
2852
+ * @param {Object} opts Optional parameters
2853
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2503
2854
  */
2504
- getRoutingWrapupcode(codeId) {
2855
+ getRoutingWrapupcode(codeId, opts) {
2856
+ opts = opts || {};
2857
+
2505
2858
  // verify the required parameter 'codeId' is set
2506
2859
  if (codeId === undefined || codeId === null || codeId === '') {
2507
2860
  throw 'Missing the required parameter "codeId" when calling getRoutingWrapupcode';
@@ -2517,7 +2870,8 @@ class RoutingApi {
2517
2870
  null,
2518
2871
  ['PureCloud OAuth'],
2519
2872
  ['application/json'],
2520
- ['application/json']
2873
+ ['application/json'],
2874
+ opts['customHeaders']
2521
2875
  );
2522
2876
  }
2523
2877
 
@@ -2532,6 +2886,7 @@ class RoutingApi {
2532
2886
  * @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
2533
2887
  * @param {Array.<String>} opts.id Filter by wrapup code ID(s)
2534
2888
  * @param {Array.<String>} opts.divisionId Filter by division ID(s)
2889
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2535
2890
  */
2536
2891
  getRoutingWrapupcodes(opts) {
2537
2892
  opts = opts || {};
@@ -2547,7 +2902,8 @@ class RoutingApi {
2547
2902
  null,
2548
2903
  ['PureCloud OAuth'],
2549
2904
  ['application/json'],
2550
- ['application/json']
2905
+ ['application/json'],
2906
+ opts['customHeaders']
2551
2907
  );
2552
2908
  }
2553
2909
 
@@ -2555,8 +2911,12 @@ class RoutingApi {
2555
2911
  * Get a simplified wrap-up code.
2556
2912
  *
2557
2913
  * @param {String} codeId Wrapup Code ID
2914
+ * @param {Object} opts Optional parameters
2915
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2558
2916
  */
2559
- getRoutingWrapupcodesDivisionview(codeId) {
2917
+ getRoutingWrapupcodesDivisionview(codeId, opts) {
2918
+ opts = opts || {};
2919
+
2560
2920
  // verify the required parameter 'codeId' is set
2561
2921
  if (codeId === undefined || codeId === null || codeId === '') {
2562
2922
  throw 'Missing the required parameter "codeId" when calling getRoutingWrapupcodesDivisionview';
@@ -2572,7 +2932,8 @@ class RoutingApi {
2572
2932
  null,
2573
2933
  ['PureCloud OAuth'],
2574
2934
  ['application/json'],
2575
- ['application/json']
2935
+ ['application/json'],
2936
+ opts['customHeaders']
2576
2937
  );
2577
2938
  }
2578
2939
 
@@ -2586,6 +2947,7 @@ class RoutingApi {
2586
2947
  * @param {Array.<String>} opts.id Wrapup code ID(s)
2587
2948
  * @param {Array.<String>} opts.divisionId Division ID(s)
2588
2949
  * @param {Object} opts.includeState Wrapup code state(s) to include
2950
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2589
2951
  */
2590
2952
  getRoutingWrapupcodesDivisionviews(opts) {
2591
2953
  opts = opts || {};
@@ -2601,7 +2963,8 @@ class RoutingApi {
2601
2963
  null,
2602
2964
  ['PureCloud OAuth'],
2603
2965
  ['application/json'],
2604
- ['application/json']
2966
+ ['application/json'],
2967
+ opts['customHeaders']
2605
2968
  );
2606
2969
  }
2607
2970
 
@@ -2614,6 +2977,7 @@ class RoutingApi {
2614
2977
  * @param {Number} opts.pageNumber Page number (default to 1)
2615
2978
  * @param {Boolean} opts.joined Is joined to the queue (default to true)
2616
2979
  * @param {Array.<String>} opts.divisionId Division ID(s)
2980
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2617
2981
  */
2618
2982
  getUserQueues(userId, opts) {
2619
2983
  opts = opts || {};
@@ -2633,7 +2997,8 @@ class RoutingApi {
2633
2997
  null,
2634
2998
  ['PureCloud OAuth'],
2635
2999
  ['application/json'],
2636
- ['application/json']
3000
+ ['application/json'],
3001
+ opts['customHeaders']
2637
3002
  );
2638
3003
  }
2639
3004
 
@@ -2645,6 +3010,7 @@ class RoutingApi {
2645
3010
  * @param {Number} opts.pageSize Page size (default to 25)
2646
3011
  * @param {Number} opts.pageNumber Page number (default to 1)
2647
3012
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
3013
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2648
3014
  */
2649
3015
  getUserRoutinglanguages(userId, opts) {
2650
3016
  opts = opts || {};
@@ -2664,7 +3030,8 @@ class RoutingApi {
2664
3030
  null,
2665
3031
  ['PureCloud OAuth'],
2666
3032
  ['application/json'],
2667
- ['application/json']
3033
+ ['application/json'],
3034
+ opts['customHeaders']
2668
3035
  );
2669
3036
  }
2670
3037
 
@@ -2676,6 +3043,7 @@ class RoutingApi {
2676
3043
  * @param {Number} opts.pageSize Page size (default to 25)
2677
3044
  * @param {Number} opts.pageNumber Page number (default to 1)
2678
3045
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to ASC)
3046
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2679
3047
  */
2680
3048
  getUserRoutingskills(userId, opts) {
2681
3049
  opts = opts || {};
@@ -2695,7 +3063,8 @@ class RoutingApi {
2695
3063
  null,
2696
3064
  ['PureCloud OAuth'],
2697
3065
  ['application/json'],
2698
- ['application/json']
3066
+ ['application/json'],
3067
+ opts['customHeaders']
2699
3068
  );
2700
3069
  }
2701
3070
 
@@ -2707,6 +3076,7 @@ class RoutingApi {
2707
3076
  * @param {Number} opts.pageSize Page size (default to 25)
2708
3077
  * @param {String} opts.after The cursor that points to the next page
2709
3078
  * @param {String} opts.before The cursor that points to the previous page
3079
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2710
3080
  */
2711
3081
  getUserSkillgroups(userId, opts) {
2712
3082
  opts = opts || {};
@@ -2726,7 +3096,8 @@ class RoutingApi {
2726
3096
  null,
2727
3097
  ['PureCloud OAuth'],
2728
3098
  ['application/json'],
2729
- ['application/json']
3099
+ ['application/json'],
3100
+ opts['customHeaders']
2730
3101
  );
2731
3102
  }
2732
3103
 
@@ -2735,8 +3106,12 @@ class RoutingApi {
2735
3106
  * Returns an object indicating the updated values of all settable attributes. Supported attributes: skillIds, skillExpression, languageId, and priority.
2736
3107
  * @param {String} conversationId Conversation ID
2737
3108
  * @param {Object} body Conversation Attributes
3109
+ * @param {Object} opts Optional parameters
3110
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2738
3111
  */
2739
- patchRoutingConversation(conversationId, body) {
3112
+ patchRoutingConversation(conversationId, body, opts) {
3113
+ opts = opts || {};
3114
+
2740
3115
  // verify the required parameter 'conversationId' is set
2741
3116
  if (conversationId === undefined || conversationId === null || conversationId === '') {
2742
3117
  throw 'Missing the required parameter "conversationId" when calling patchRoutingConversation';
@@ -2756,7 +3131,8 @@ class RoutingApi {
2756
3131
  body,
2757
3132
  ['PureCloud OAuth'],
2758
3133
  ['application/json'],
2759
- ['application/json']
3134
+ ['application/json'],
3135
+ opts['customHeaders']
2760
3136
  );
2761
3137
  }
2762
3138
 
@@ -2765,8 +3141,12 @@ class RoutingApi {
2765
3141
  *
2766
3142
  * @param {String} domainId domain ID
2767
3143
  * @param {Object} body Domain settings
3144
+ * @param {Object} opts Optional parameters
3145
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2768
3146
  */
2769
- patchRoutingEmailDomain(domainId, body) {
3147
+ patchRoutingEmailDomain(domainId, body, opts) {
3148
+ opts = opts || {};
3149
+
2770
3150
  // verify the required parameter 'domainId' is set
2771
3151
  if (domainId === undefined || domainId === null || domainId === '') {
2772
3152
  throw 'Missing the required parameter "domainId" when calling patchRoutingEmailDomain';
@@ -2786,7 +3166,8 @@ class RoutingApi {
2786
3166
  body,
2787
3167
  ['PureCloud OAuth'],
2788
3168
  ['application/json'],
2789
- ['application/json']
3169
+ ['application/json'],
3170
+ opts['customHeaders']
2790
3171
  );
2791
3172
  }
2792
3173
 
@@ -2795,8 +3176,12 @@ class RoutingApi {
2795
3176
  *
2796
3177
  * @param {String} domainId domain ID
2797
3178
  * @param {Object} body Domain settings
3179
+ * @param {Object} opts Optional parameters
3180
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2798
3181
  */
2799
- patchRoutingEmailDomainValidate(domainId, body) {
3182
+ patchRoutingEmailDomainValidate(domainId, body, opts) {
3183
+ opts = opts || {};
3184
+
2800
3185
  // verify the required parameter 'domainId' is set
2801
3186
  if (domainId === undefined || domainId === null || domainId === '') {
2802
3187
  throw 'Missing the required parameter "domainId" when calling patchRoutingEmailDomainValidate';
@@ -2816,7 +3201,8 @@ class RoutingApi {
2816
3201
  body,
2817
3202
  ['PureCloud OAuth'],
2818
3203
  ['application/json'],
2819
- ['application/json']
3204
+ ['application/json'],
3205
+ opts['customHeaders']
2820
3206
  );
2821
3207
  }
2822
3208
 
@@ -2825,8 +3211,12 @@ class RoutingApi {
2825
3211
  *
2826
3212
  * @param {String} domainId domain ID
2827
3213
  * @param {Object} body Domain settings
3214
+ * @param {Object} opts Optional parameters
3215
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2828
3216
  */
2829
- patchRoutingEmailOutboundDomain(domainId, body) {
3217
+ patchRoutingEmailOutboundDomain(domainId, body, opts) {
3218
+ opts = opts || {};
3219
+
2830
3220
  // verify the required parameter 'domainId' is set
2831
3221
  if (domainId === undefined || domainId === null || domainId === '') {
2832
3222
  throw 'Missing the required parameter "domainId" when calling patchRoutingEmailOutboundDomain';
@@ -2846,7 +3236,8 @@ class RoutingApi {
2846
3236
  body,
2847
3237
  ['PureCloud OAuth'],
2848
3238
  ['application/json'],
2849
- ['application/json']
3239
+ ['application/json'],
3240
+ opts['customHeaders']
2850
3241
  );
2851
3242
  }
2852
3243
 
@@ -2856,6 +3247,7 @@ class RoutingApi {
2856
3247
  * @param {String} predictorId Predictor ID
2857
3248
  * @param {Object} opts Optional parameters
2858
3249
  * @param {Object} opts.body
3250
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2859
3251
  */
2860
3252
  patchRoutingPredictor(predictorId, opts) {
2861
3253
  opts = opts || {};
@@ -2875,7 +3267,8 @@ class RoutingApi {
2875
3267
  opts['body'],
2876
3268
  ['PureCloud OAuth'],
2877
3269
  ['application/json'],
2878
- ['application/json']
3270
+ ['application/json'],
3271
+ opts['customHeaders']
2879
3272
  );
2880
3273
  }
2881
3274
 
@@ -2885,6 +3278,7 @@ class RoutingApi {
2885
3278
  * @param {String} kpiId Key Performance Indicator ID
2886
3279
  * @param {Object} opts Optional parameters
2887
3280
  * @param {Object} opts.body
3281
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2888
3282
  * patchRoutingPredictorsKeyperformanceindicator is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2889
3283
  */
2890
3284
  patchRoutingPredictorsKeyperformanceindicator(kpiId, opts) {
@@ -2905,7 +3299,8 @@ class RoutingApi {
2905
3299
  opts['body'],
2906
3300
  ['PureCloud OAuth'],
2907
3301
  ['application/json'],
2908
- ['application/json']
3302
+ ['application/json'],
3303
+ opts['customHeaders']
2909
3304
  );
2910
3305
  }
2911
3306
 
@@ -2915,8 +3310,12 @@ class RoutingApi {
2915
3310
  * @param {String} queueId Queue ID
2916
3311
  * @param {String} memberId Member ID
2917
3312
  * @param {Object} body Queue Member
3313
+ * @param {Object} opts Optional parameters
3314
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2918
3315
  */
2919
- patchRoutingQueueMember(queueId, memberId, body) {
3316
+ patchRoutingQueueMember(queueId, memberId, body, opts) {
3317
+ opts = opts || {};
3318
+
2920
3319
  // verify the required parameter 'queueId' is set
2921
3320
  if (queueId === undefined || queueId === null || queueId === '') {
2922
3321
  throw 'Missing the required parameter "queueId" when calling patchRoutingQueueMember';
@@ -2940,7 +3339,8 @@ class RoutingApi {
2940
3339
  body,
2941
3340
  ['PureCloud OAuth'],
2942
3341
  ['application/json'],
2943
- ['application/json']
3342
+ ['application/json'],
3343
+ opts['customHeaders']
2944
3344
  );
2945
3345
  }
2946
3346
 
@@ -2949,8 +3349,12 @@ class RoutingApi {
2949
3349
  * Users can only be joined to queues where they have membership. Non-member user-queue pairs in the request will be disregarded. Note: This operation is processed asynchronously and the response data may not reflect the final state. Changes may take time to propagate. Query the GET endpoint after a delay to retrieve the current membership status.
2950
3350
  * @param {String} queueId Queue ID
2951
3351
  * @param {Array.<Object>} body Queue Members
3352
+ * @param {Object} opts Optional parameters
3353
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2952
3354
  */
2953
- patchRoutingQueueMembers(queueId, body) {
3355
+ patchRoutingQueueMembers(queueId, body, opts) {
3356
+ opts = opts || {};
3357
+
2954
3358
  // verify the required parameter 'queueId' is set
2955
3359
  if (queueId === undefined || queueId === null || queueId === '') {
2956
3360
  throw 'Missing the required parameter "queueId" when calling patchRoutingQueueMembers';
@@ -2970,7 +3374,8 @@ class RoutingApi {
2970
3374
  body,
2971
3375
  ['PureCloud OAuth'],
2972
3376
  ['application/json'],
2973
- ['application/json']
3377
+ ['application/json'],
3378
+ opts['customHeaders']
2974
3379
  );
2975
3380
  }
2976
3381
 
@@ -2980,9 +3385,13 @@ class RoutingApi {
2980
3385
  * @param {String} queueId Queue ID
2981
3386
  * @param {String} memberId Member ID
2982
3387
  * @param {Object} body Queue Member
3388
+ * @param {Object} opts Optional parameters
3389
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2983
3390
  * @deprecated
2984
3391
  */
2985
- patchRoutingQueueUser(queueId, memberId, body) {
3392
+ patchRoutingQueueUser(queueId, memberId, body, opts) {
3393
+ opts = opts || {};
3394
+
2986
3395
  // verify the required parameter 'queueId' is set
2987
3396
  if (queueId === undefined || queueId === null || queueId === '') {
2988
3397
  throw 'Missing the required parameter "queueId" when calling patchRoutingQueueUser';
@@ -3006,7 +3415,8 @@ class RoutingApi {
3006
3415
  body,
3007
3416
  ['PureCloud OAuth'],
3008
3417
  ['application/json'],
3009
- ['application/json']
3418
+ ['application/json'],
3419
+ opts['customHeaders']
3010
3420
  );
3011
3421
  }
3012
3422
 
@@ -3015,9 +3425,13 @@ class RoutingApi {
3015
3425
  *
3016
3426
  * @param {String} queueId Queue ID
3017
3427
  * @param {Array.<Object>} body Queue Members
3428
+ * @param {Object} opts Optional parameters
3429
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3018
3430
  * @deprecated
3019
3431
  */
3020
- patchRoutingQueueUsers(queueId, body) {
3432
+ patchRoutingQueueUsers(queueId, body, opts) {
3433
+ opts = opts || {};
3434
+
3021
3435
  // verify the required parameter 'queueId' is set
3022
3436
  if (queueId === undefined || queueId === null || queueId === '') {
3023
3437
  throw 'Missing the required parameter "queueId" when calling patchRoutingQueueUsers';
@@ -3037,7 +3451,8 @@ class RoutingApi {
3037
3451
  body,
3038
3452
  ['PureCloud OAuth'],
3039
3453
  ['application/json'],
3040
- ['application/json']
3454
+ ['application/json'],
3455
+ opts['customHeaders']
3041
3456
  );
3042
3457
  }
3043
3458
 
@@ -3045,8 +3460,12 @@ class RoutingApi {
3045
3460
  * Update Contact Center Settings
3046
3461
  *
3047
3462
  * @param {Object} body Contact Center Settings
3463
+ * @param {Object} opts Optional parameters
3464
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3048
3465
  */
3049
- patchRoutingSettingsContactcenter(body) {
3466
+ patchRoutingSettingsContactcenter(body, opts) {
3467
+ opts = opts || {};
3468
+
3050
3469
  // verify the required parameter 'body' is set
3051
3470
  if (body === undefined || body === null) {
3052
3471
  throw 'Missing the required parameter "body" when calling patchRoutingSettingsContactcenter';
@@ -3062,7 +3481,8 @@ class RoutingApi {
3062
3481
  body,
3063
3482
  ['PureCloud OAuth'],
3064
3483
  ['application/json'],
3065
- ['application/json']
3484
+ ['application/json'],
3485
+ opts['customHeaders']
3066
3486
  );
3067
3487
  }
3068
3488
 
@@ -3070,8 +3490,12 @@ class RoutingApi {
3070
3490
  * Patch Transcription Settings
3071
3491
  *
3072
3492
  * @param {Object} body Organization Settings
3493
+ * @param {Object} opts Optional parameters
3494
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3073
3495
  */
3074
- patchRoutingSettingsTranscription(body) {
3496
+ patchRoutingSettingsTranscription(body, opts) {
3497
+ opts = opts || {};
3498
+
3075
3499
  // verify the required parameter 'body' is set
3076
3500
  if (body === undefined || body === null) {
3077
3501
  throw 'Missing the required parameter "body" when calling patchRoutingSettingsTranscription';
@@ -3087,7 +3511,8 @@ class RoutingApi {
3087
3511
  body,
3088
3512
  ['PureCloud OAuth'],
3089
3513
  ['application/json'],
3090
- ['application/json']
3514
+ ['application/json'],
3515
+ opts['customHeaders']
3091
3516
  );
3092
3517
  }
3093
3518
 
@@ -3096,8 +3521,12 @@ class RoutingApi {
3096
3521
  *
3097
3522
  * @param {String} skillId Skill ID
3098
3523
  * @param {Object} body updateSkillDivisionRequest
3524
+ * @param {Object} opts Optional parameters
3525
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3099
3526
  */
3100
- patchRoutingSkill(skillId, body) {
3527
+ patchRoutingSkill(skillId, body, opts) {
3528
+ opts = opts || {};
3529
+
3101
3530
  // verify the required parameter 'skillId' is set
3102
3531
  if (skillId === undefined || skillId === null || skillId === '') {
3103
3532
  throw 'Missing the required parameter "skillId" when calling patchRoutingSkill';
@@ -3117,7 +3546,8 @@ class RoutingApi {
3117
3546
  body,
3118
3547
  ['PureCloud OAuth'],
3119
3548
  ['application/json'],
3120
- ['application/json']
3549
+ ['application/json'],
3550
+ opts['customHeaders']
3121
3551
  );
3122
3552
  }
3123
3553
 
@@ -3126,8 +3556,12 @@ class RoutingApi {
3126
3556
  *
3127
3557
  * @param {String} skillGroupId Skill Group ID
3128
3558
  * @param {Object} body Update skill groups
3559
+ * @param {Object} opts Optional parameters
3560
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3129
3561
  */
3130
- patchRoutingSkillgroup(skillGroupId, body) {
3562
+ patchRoutingSkillgroup(skillGroupId, body, opts) {
3563
+ opts = opts || {};
3564
+
3131
3565
  // verify the required parameter 'skillGroupId' is set
3132
3566
  if (skillGroupId === undefined || skillGroupId === null || skillGroupId === '') {
3133
3567
  throw 'Missing the required parameter "skillGroupId" when calling patchRoutingSkillgroup';
@@ -3147,7 +3581,8 @@ class RoutingApi {
3147
3581
  body,
3148
3582
  ['PureCloud OAuth'],
3149
3583
  ['application/json'],
3150
- ['application/json']
3584
+ ['application/json'],
3585
+ opts['customHeaders']
3151
3586
  );
3152
3587
  }
3153
3588
 
@@ -3156,8 +3591,12 @@ class RoutingApi {
3156
3591
  * Use this endpoint to assign a custom supported content profile to an MMS-capable phone number. If no supported content profile is set, the phone number uses the "SMS Default" profile, which allows all media types (\*\/\*) for inbound messages and specific image types (image/gif, image/jpeg, image/png) for outbound messages. To customize media filtering, provide a supported content profile ID in the request body.
3157
3592
  * @param {String} phoneNumberId phone number
3158
3593
  * @param {Object} body SmsPhoneNumberPatchRequest
3594
+ * @param {Object} opts Optional parameters
3595
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3159
3596
  */
3160
- patchRoutingSmsPhonenumber(phoneNumberId, body) {
3597
+ patchRoutingSmsPhonenumber(phoneNumberId, body, opts) {
3598
+ opts = opts || {};
3599
+
3161
3600
  // verify the required parameter 'phoneNumberId' is set
3162
3601
  if (phoneNumberId === undefined || phoneNumberId === null || phoneNumberId === '') {
3163
3602
  throw 'Missing the required parameter "phoneNumberId" when calling patchRoutingSmsPhonenumber';
@@ -3177,7 +3616,8 @@ class RoutingApi {
3177
3616
  body,
3178
3617
  ['PureCloud OAuth'],
3179
3618
  ['application/json'],
3180
- ['application/json']
3619
+ ['application/json'],
3620
+ opts['customHeaders']
3181
3621
  );
3182
3622
  }
3183
3623
 
@@ -3187,8 +3627,12 @@ class RoutingApi {
3187
3627
  * @param {String} queueId Queue ID
3188
3628
  * @param {String} userId User ID
3189
3629
  * @param {Object} body Queue Member
3630
+ * @param {Object} opts Optional parameters
3631
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3190
3632
  */
3191
- patchUserQueue(queueId, userId, body) {
3633
+ patchUserQueue(queueId, userId, body, opts) {
3634
+ opts = opts || {};
3635
+
3192
3636
  // verify the required parameter 'queueId' is set
3193
3637
  if (queueId === undefined || queueId === null || queueId === '') {
3194
3638
  throw 'Missing the required parameter "queueId" when calling patchUserQueue';
@@ -3212,7 +3656,8 @@ class RoutingApi {
3212
3656
  body,
3213
3657
  ['PureCloud OAuth'],
3214
3658
  ['application/json'],
3215
- ['application/json']
3659
+ ['application/json'],
3660
+ opts['customHeaders']
3216
3661
  );
3217
3662
  }
3218
3663
 
@@ -3223,6 +3668,7 @@ class RoutingApi {
3223
3668
  * @param {Array.<Object>} body User Queues
3224
3669
  * @param {Object} opts Optional parameters
3225
3670
  * @param {Array.<String>} opts.divisionId Division ID(s)
3671
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3226
3672
  */
3227
3673
  patchUserQueues(userId, body, opts) {
3228
3674
  opts = opts || {};
@@ -3246,7 +3692,8 @@ class RoutingApi {
3246
3692
  body,
3247
3693
  ['PureCloud OAuth'],
3248
3694
  ['application/json'],
3249
- ['application/json']
3695
+ ['application/json'],
3696
+ opts['customHeaders']
3250
3697
  );
3251
3698
  }
3252
3699
 
@@ -3256,8 +3703,12 @@ class RoutingApi {
3256
3703
  * @param {String} userId User ID
3257
3704
  * @param {String} languageId languageId
3258
3705
  * @param {Object} body Language
3706
+ * @param {Object} opts Optional parameters
3707
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3259
3708
  */
3260
- patchUserRoutinglanguage(userId, languageId, body) {
3709
+ patchUserRoutinglanguage(userId, languageId, body, opts) {
3710
+ opts = opts || {};
3711
+
3261
3712
  // verify the required parameter 'userId' is set
3262
3713
  if (userId === undefined || userId === null || userId === '') {
3263
3714
  throw 'Missing the required parameter "userId" when calling patchUserRoutinglanguage';
@@ -3281,7 +3732,8 @@ class RoutingApi {
3281
3732
  body,
3282
3733
  ['PureCloud OAuth'],
3283
3734
  ['application/json'],
3284
- ['application/json']
3735
+ ['application/json'],
3736
+ opts['customHeaders']
3285
3737
  );
3286
3738
  }
3287
3739
 
@@ -3290,8 +3742,12 @@ class RoutingApi {
3290
3742
  *
3291
3743
  * @param {String} userId User ID
3292
3744
  * @param {Array.<Object>} body Language
3745
+ * @param {Object} opts Optional parameters
3746
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3293
3747
  */
3294
- patchUserRoutinglanguagesBulk(userId, body) {
3748
+ patchUserRoutinglanguagesBulk(userId, body, opts) {
3749
+ opts = opts || {};
3750
+
3295
3751
  // verify the required parameter 'userId' is set
3296
3752
  if (userId === undefined || userId === null || userId === '') {
3297
3753
  throw 'Missing the required parameter "userId" when calling patchUserRoutinglanguagesBulk';
@@ -3311,7 +3767,8 @@ class RoutingApi {
3311
3767
  body,
3312
3768
  ['PureCloud OAuth'],
3313
3769
  ['application/json'],
3314
- ['application/json']
3770
+ ['application/json'],
3771
+ opts['customHeaders']
3315
3772
  );
3316
3773
  }
3317
3774
 
@@ -3320,8 +3777,12 @@ class RoutingApi {
3320
3777
  *
3321
3778
  * @param {String} userId User ID
3322
3779
  * @param {Array.<Object>} body Skill
3780
+ * @param {Object} opts Optional parameters
3781
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3323
3782
  */
3324
- patchUserRoutingskillsBulk(userId, body) {
3783
+ patchUserRoutingskillsBulk(userId, body, opts) {
3784
+ opts = opts || {};
3785
+
3325
3786
  // verify the required parameter 'userId' is set
3326
3787
  if (userId === undefined || userId === null || userId === '') {
3327
3788
  throw 'Missing the required parameter "userId" when calling patchUserRoutingskillsBulk';
@@ -3341,7 +3802,8 @@ class RoutingApi {
3341
3802
  body,
3342
3803
  ['PureCloud OAuth'],
3343
3804
  ['application/json'],
3344
- ['application/json']
3805
+ ['application/json'],
3806
+ opts['customHeaders']
3345
3807
  );
3346
3808
  }
3347
3809
 
@@ -3349,8 +3811,12 @@ class RoutingApi {
3349
3811
  * Query for queue observations
3350
3812
  *
3351
3813
  * @param {Object} body query
3814
+ * @param {Object} opts Optional parameters
3815
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3352
3816
  */
3353
- postAnalyticsQueuesObservationsQuery(body) {
3817
+ postAnalyticsQueuesObservationsQuery(body, opts) {
3818
+ opts = opts || {};
3819
+
3354
3820
  // verify the required parameter 'body' is set
3355
3821
  if (body === undefined || body === null) {
3356
3822
  throw 'Missing the required parameter "body" when calling postAnalyticsQueuesObservationsQuery';
@@ -3366,7 +3832,8 @@ class RoutingApi {
3366
3832
  body,
3367
3833
  ['PureCloud OAuth'],
3368
3834
  ['application/json'],
3369
- ['application/json']
3835
+ ['application/json'],
3836
+ opts['customHeaders']
3370
3837
  );
3371
3838
  }
3372
3839
 
@@ -3377,6 +3844,7 @@ class RoutingApi {
3377
3844
  * @param {Object} opts Optional parameters
3378
3845
  * @param {Number} opts.pageSize The desired page size
3379
3846
  * @param {Number} opts.pageNumber The desired page number
3847
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3380
3848
  */
3381
3849
  postAnalyticsRoutingActivityQuery(body, opts) {
3382
3850
  opts = opts || {};
@@ -3396,7 +3864,8 @@ class RoutingApi {
3396
3864
  body,
3397
3865
  ['PureCloud OAuth'],
3398
3866
  ['application/json'],
3399
- ['application/json']
3867
+ ['application/json'],
3868
+ opts['customHeaders']
3400
3869
  );
3401
3870
  }
3402
3871
 
@@ -3405,6 +3874,7 @@ class RoutingApi {
3405
3874
  *
3406
3875
  * @param {Object} opts Optional parameters
3407
3876
  * @param {Object} opts.body
3877
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3408
3878
  */
3409
3879
  postRoutingAssessments(opts) {
3410
3880
  opts = opts || {};
@@ -3420,7 +3890,8 @@ class RoutingApi {
3420
3890
  opts['body'],
3421
3891
  ['PureCloud OAuth'],
3422
3892
  ['application/json'],
3423
- ['application/json']
3893
+ ['application/json'],
3894
+ opts['customHeaders']
3424
3895
  );
3425
3896
  }
3426
3897
 
@@ -3429,6 +3900,7 @@ class RoutingApi {
3429
3900
  *
3430
3901
  * @param {Object} opts Optional parameters
3431
3902
  * @param {Object} opts.body
3903
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3432
3904
  */
3433
3905
  postRoutingAssessmentsJobs(opts) {
3434
3906
  opts = opts || {};
@@ -3444,7 +3916,8 @@ class RoutingApi {
3444
3916
  opts['body'],
3445
3917
  ['PureCloud OAuth'],
3446
3918
  ['application/json'],
3447
- ['application/json']
3919
+ ['application/json'],
3920
+ opts['customHeaders']
3448
3921
  );
3449
3922
  }
3450
3923
 
@@ -3452,8 +3925,12 @@ class RoutingApi {
3452
3925
  * Restart domain dkim
3453
3926
  *
3454
3927
  * @param {String} domainId domain ID
3928
+ * @param {Object} opts Optional parameters
3929
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3455
3930
  */
3456
- postRoutingEmailDomainDkim(domainId) {
3931
+ postRoutingEmailDomainDkim(domainId, opts) {
3932
+ opts = opts || {};
3933
+
3457
3934
  // verify the required parameter 'domainId' is set
3458
3935
  if (domainId === undefined || domainId === null || domainId === '') {
3459
3936
  throw 'Missing the required parameter "domainId" when calling postRoutingEmailDomainDkim';
@@ -3469,7 +3946,8 @@ class RoutingApi {
3469
3946
  null,
3470
3947
  ['PureCloud OAuth'],
3471
3948
  ['application/json'],
3472
- ['application/json']
3949
+ ['application/json'],
3950
+ opts['customHeaders']
3473
3951
  );
3474
3952
  }
3475
3953
 
@@ -3478,8 +3956,12 @@ class RoutingApi {
3478
3956
  *
3479
3957
  * @param {String} domainId domain ID
3480
3958
  * @param {Object} body Mail From Settings
3959
+ * @param {Object} opts Optional parameters
3960
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3481
3961
  */
3482
- postRoutingEmailDomainMailfrom(domainId, body) {
3962
+ postRoutingEmailDomainMailfrom(domainId, body, opts) {
3963
+ opts = opts || {};
3964
+
3483
3965
  // verify the required parameter 'domainId' is set
3484
3966
  if (domainId === undefined || domainId === null || domainId === '') {
3485
3967
  throw 'Missing the required parameter "domainId" when calling postRoutingEmailDomainMailfrom';
@@ -3499,7 +3981,8 @@ class RoutingApi {
3499
3981
  body,
3500
3982
  ['PureCloud OAuth'],
3501
3983
  ['application/json'],
3502
- ['application/json']
3984
+ ['application/json'],
3985
+ opts['customHeaders']
3503
3986
  );
3504
3987
  }
3505
3988
 
@@ -3508,8 +3991,12 @@ class RoutingApi {
3508
3991
  *
3509
3992
  * @param {String} domainName email domain
3510
3993
  * @param {Object} body Route
3994
+ * @param {Object} opts Optional parameters
3995
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3511
3996
  */
3512
- postRoutingEmailDomainRoutes(domainName, body) {
3997
+ postRoutingEmailDomainRoutes(domainName, body, opts) {
3998
+ opts = opts || {};
3999
+
3513
4000
  // verify the required parameter 'domainName' is set
3514
4001
  if (domainName === undefined || domainName === null || domainName === '') {
3515
4002
  throw 'Missing the required parameter "domainName" when calling postRoutingEmailDomainRoutes';
@@ -3529,7 +4016,8 @@ class RoutingApi {
3529
4016
  body,
3530
4017
  ['PureCloud OAuth'],
3531
4018
  ['application/json'],
3532
- ['application/json']
4019
+ ['application/json'],
4020
+ opts['customHeaders']
3533
4021
  );
3534
4022
  }
3535
4023
 
@@ -3539,6 +4027,7 @@ class RoutingApi {
3539
4027
  * @param {String} domainId domain ID
3540
4028
  * @param {Object} opts Optional parameters
3541
4029
  * @param {Object} opts.body TestMessage
4030
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3542
4031
  */
3543
4032
  postRoutingEmailDomainTestconnection(domainId, opts) {
3544
4033
  opts = opts || {};
@@ -3558,7 +4047,8 @@ class RoutingApi {
3558
4047
  opts['body'],
3559
4048
  ['PureCloud OAuth'],
3560
4049
  ['application/json'],
3561
- ['application/json']
4050
+ ['application/json'],
4051
+ opts['customHeaders']
3562
4052
  );
3563
4053
  }
3564
4054
 
@@ -3566,8 +4056,12 @@ class RoutingApi {
3566
4056
  * Restart domain verification
3567
4057
  *
3568
4058
  * @param {String} domainId domain ID
4059
+ * @param {Object} opts Optional parameters
4060
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3569
4061
  */
3570
- postRoutingEmailDomainVerification(domainId) {
4062
+ postRoutingEmailDomainVerification(domainId, opts) {
4063
+ opts = opts || {};
4064
+
3571
4065
  // verify the required parameter 'domainId' is set
3572
4066
  if (domainId === undefined || domainId === null || domainId === '') {
3573
4067
  throw 'Missing the required parameter "domainId" when calling postRoutingEmailDomainVerification';
@@ -3583,7 +4077,8 @@ class RoutingApi {
3583
4077
  null,
3584
4078
  ['PureCloud OAuth'],
3585
4079
  ['application/json'],
3586
- ['application/json']
4080
+ ['application/json'],
4081
+ opts['customHeaders']
3587
4082
  );
3588
4083
  }
3589
4084
 
@@ -3591,8 +4086,12 @@ class RoutingApi {
3591
4086
  * Create a domain
3592
4087
  *
3593
4088
  * @param {Object} body Domain
4089
+ * @param {Object} opts Optional parameters
4090
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3594
4091
  */
3595
- postRoutingEmailDomains(body) {
4092
+ postRoutingEmailDomains(body, opts) {
4093
+ opts = opts || {};
4094
+
3596
4095
  // verify the required parameter 'body' is set
3597
4096
  if (body === undefined || body === null) {
3598
4097
  throw 'Missing the required parameter "body" when calling postRoutingEmailDomains';
@@ -3608,7 +4107,8 @@ class RoutingApi {
3608
4107
  body,
3609
4108
  ['PureCloud OAuth'],
3610
4109
  ['application/json'],
3611
- ['application/json']
4110
+ ['application/json'],
4111
+ opts['customHeaders']
3612
4112
  );
3613
4113
  }
3614
4114
 
@@ -3618,6 +4118,7 @@ class RoutingApi {
3618
4118
  * @param {String} domainId domain ID
3619
4119
  * @param {Object} opts Optional parameters
3620
4120
  * @param {Object} opts.body TestMessage
4121
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3621
4122
  */
3622
4123
  postRoutingEmailOutboundDomainTestconnection(domainId, opts) {
3623
4124
  opts = opts || {};
@@ -3637,7 +4138,8 @@ class RoutingApi {
3637
4138
  opts['body'],
3638
4139
  ['PureCloud OAuth'],
3639
4140
  ['application/json'],
3640
- ['application/json']
4141
+ ['application/json'],
4142
+ opts['customHeaders']
3641
4143
  );
3642
4144
  }
3643
4145
 
@@ -3645,8 +4147,12 @@ class RoutingApi {
3645
4147
  * Create a domain
3646
4148
  *
3647
4149
  * @param {Object} body Domain
4150
+ * @param {Object} opts Optional parameters
4151
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3648
4152
  */
3649
- postRoutingEmailOutboundDomains(body) {
4153
+ postRoutingEmailOutboundDomains(body, opts) {
4154
+ opts = opts || {};
4155
+
3650
4156
  // verify the required parameter 'body' is set
3651
4157
  if (body === undefined || body === null) {
3652
4158
  throw 'Missing the required parameter "body" when calling postRoutingEmailOutboundDomains';
@@ -3662,7 +4168,8 @@ class RoutingApi {
3662
4168
  body,
3663
4169
  ['PureCloud OAuth'],
3664
4170
  ['application/json'],
3665
- ['application/json']
4171
+ ['application/json'],
4172
+ opts['customHeaders']
3666
4173
  );
3667
4174
  }
3668
4175
 
@@ -3670,8 +4177,12 @@ class RoutingApi {
3670
4177
  * Create a simulated domain
3671
4178
  *
3672
4179
  * @param {Object} body Domain
4180
+ * @param {Object} opts Optional parameters
4181
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3673
4182
  */
3674
- postRoutingEmailOutboundDomainsSimulated(body) {
4183
+ postRoutingEmailOutboundDomainsSimulated(body, opts) {
4184
+ opts = opts || {};
4185
+
3675
4186
  // verify the required parameter 'body' is set
3676
4187
  if (body === undefined || body === null) {
3677
4188
  throw 'Missing the required parameter "body" when calling postRoutingEmailOutboundDomainsSimulated';
@@ -3687,7 +4198,8 @@ class RoutingApi {
3687
4198
  body,
3688
4199
  ['PureCloud OAuth'],
3689
4200
  ['application/json'],
3690
- ['application/json']
4201
+ ['application/json'],
4202
+ opts['customHeaders']
3691
4203
  );
3692
4204
  }
3693
4205
 
@@ -3695,8 +4207,12 @@ class RoutingApi {
3695
4207
  * Create Language
3696
4208
  *
3697
4209
  * @param {Object} body Language
4210
+ * @param {Object} opts Optional parameters
4211
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3698
4212
  */
3699
- postRoutingLanguages(body) {
4213
+ postRoutingLanguages(body, opts) {
4214
+ opts = opts || {};
4215
+
3700
4216
  // verify the required parameter 'body' is set
3701
4217
  if (body === undefined || body === null) {
3702
4218
  throw 'Missing the required parameter "body" when calling postRoutingLanguages';
@@ -3712,7 +4228,8 @@ class RoutingApi {
3712
4228
  body,
3713
4229
  ['PureCloud OAuth'],
3714
4230
  ['application/json'],
3715
- ['application/json']
4231
+ ['application/json'],
4232
+ opts['customHeaders']
3716
4233
  );
3717
4234
  }
3718
4235
 
@@ -3721,6 +4238,7 @@ class RoutingApi {
3721
4238
  *
3722
4239
  * @param {Object} opts Optional parameters
3723
4240
  * @param {Object} opts.body
4241
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3724
4242
  */
3725
4243
  postRoutingPredictors(opts) {
3726
4244
  opts = opts || {};
@@ -3736,7 +4254,8 @@ class RoutingApi {
3736
4254
  opts['body'],
3737
4255
  ['PureCloud OAuth'],
3738
4256
  ['application/json'],
3739
- ['application/json']
4257
+ ['application/json'],
4258
+ opts['customHeaders']
3740
4259
  );
3741
4260
  }
3742
4261
 
@@ -3744,9 +4263,13 @@ class RoutingApi {
3744
4263
  * Create a custom Key Performance Indicator.
3745
4264
  *
3746
4265
  * @param {Object} body request
4266
+ * @param {Object} opts Optional parameters
4267
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3747
4268
  * postRoutingPredictorsKeyperformanceindicators is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3748
4269
  */
3749
- postRoutingPredictorsKeyperformanceindicators(body) {
4270
+ postRoutingPredictorsKeyperformanceindicators(body, opts) {
4271
+ opts = opts || {};
4272
+
3750
4273
  // verify the required parameter 'body' is set
3751
4274
  if (body === undefined || body === null) {
3752
4275
  throw 'Missing the required parameter "body" when calling postRoutingPredictorsKeyperformanceindicators';
@@ -3762,7 +4285,8 @@ class RoutingApi {
3762
4285
  body,
3763
4286
  ['PureCloud OAuth'],
3764
4287
  ['application/json'],
3765
- ['application/json']
4288
+ ['application/json'],
4289
+ opts['customHeaders']
3766
4290
  );
3767
4291
  }
3768
4292
 
@@ -3773,6 +4297,7 @@ class RoutingApi {
3773
4297
  * @param {Array.<Object>} body Queue Members
3774
4298
  * @param {Object} opts Optional parameters
3775
4299
  * @param {Boolean} opts._delete True to delete queue members (default to false)
4300
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3776
4301
  */
3777
4302
  postRoutingQueueMembers(queueId, body, opts) {
3778
4303
  opts = opts || {};
@@ -3796,7 +4321,8 @@ class RoutingApi {
3796
4321
  body,
3797
4322
  ['PureCloud OAuth'],
3798
4323
  ['application/json'],
3799
- ['application/json']
4324
+ ['application/json'],
4325
+ opts['customHeaders']
3800
4326
  );
3801
4327
  }
3802
4328
 
@@ -3807,6 +4333,7 @@ class RoutingApi {
3807
4333
  * @param {Array.<Object>} body Queue Members
3808
4334
  * @param {Object} opts Optional parameters
3809
4335
  * @param {Boolean} opts._delete True to delete queue members (default to false)
4336
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3810
4337
  * @deprecated
3811
4338
  */
3812
4339
  postRoutingQueueUsers(queueId, body, opts) {
@@ -3831,7 +4358,8 @@ class RoutingApi {
3831
4358
  body,
3832
4359
  ['PureCloud OAuth'],
3833
4360
  ['application/json'],
3834
- ['application/json']
4361
+ ['application/json'],
4362
+ opts['customHeaders']
3835
4363
  );
3836
4364
  }
3837
4365
 
@@ -3840,8 +4368,12 @@ class RoutingApi {
3840
4368
  *
3841
4369
  * @param {String} queueId Queue ID
3842
4370
  * @param {Array.<Object>} body List of wrapup codes
4371
+ * @param {Object} opts Optional parameters
4372
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3843
4373
  */
3844
- postRoutingQueueWrapupcodes(queueId, body) {
4374
+ postRoutingQueueWrapupcodes(queueId, body, opts) {
4375
+ opts = opts || {};
4376
+
3845
4377
  // verify the required parameter 'queueId' is set
3846
4378
  if (queueId === undefined || queueId === null || queueId === '') {
3847
4379
  throw 'Missing the required parameter "queueId" when calling postRoutingQueueWrapupcodes';
@@ -3861,7 +4393,8 @@ class RoutingApi {
3861
4393
  body,
3862
4394
  ['PureCloud OAuth'],
3863
4395
  ['application/json'],
3864
- ['application/json']
4396
+ ['application/json'],
4397
+ opts['customHeaders']
3865
4398
  );
3866
4399
  }
3867
4400
 
@@ -3869,8 +4402,12 @@ class RoutingApi {
3869
4402
  * Create a queue
3870
4403
  *
3871
4404
  * @param {Object} body Queue
4405
+ * @param {Object} opts Optional parameters
4406
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3872
4407
  */
3873
- postRoutingQueues(body) {
4408
+ postRoutingQueues(body, opts) {
4409
+ opts = opts || {};
4410
+
3874
4411
  // verify the required parameter 'body' is set
3875
4412
  if (body === undefined || body === null) {
3876
4413
  throw 'Missing the required parameter "body" when calling postRoutingQueues';
@@ -3886,7 +4423,8 @@ class RoutingApi {
3886
4423
  body,
3887
4424
  ['PureCloud OAuth'],
3888
4425
  ['application/json'],
3889
- ['application/json']
4426
+ ['application/json'],
4427
+ opts['customHeaders']
3890
4428
  );
3891
4429
  }
3892
4430
 
@@ -3896,6 +4434,7 @@ class RoutingApi {
3896
4434
  * @param {String} skillGroupId Skill Group ID
3897
4435
  * @param {Object} opts Optional parameters
3898
4436
  * @param {Object} opts.body
4437
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3899
4438
  */
3900
4439
  postRoutingSkillgroupMembersDivisions(skillGroupId, opts) {
3901
4440
  opts = opts || {};
@@ -3915,7 +4454,8 @@ class RoutingApi {
3915
4454
  opts['body'],
3916
4455
  ['PureCloud OAuth'],
3917
4456
  ['application/json'],
3918
- ['application/json']
4457
+ ['application/json'],
4458
+ opts['customHeaders']
3919
4459
  );
3920
4460
  }
3921
4461
 
@@ -3923,8 +4463,12 @@ class RoutingApi {
3923
4463
  * Create a skill group
3924
4464
  *
3925
4465
  * @param {Object} body Create skill group
4466
+ * @param {Object} opts Optional parameters
4467
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3926
4468
  */
3927
- postRoutingSkillgroups(body) {
4469
+ postRoutingSkillgroups(body, opts) {
4470
+ opts = opts || {};
4471
+
3928
4472
  // verify the required parameter 'body' is set
3929
4473
  if (body === undefined || body === null) {
3930
4474
  throw 'Missing the required parameter "body" when calling postRoutingSkillgroups';
@@ -3940,7 +4484,8 @@ class RoutingApi {
3940
4484
  body,
3941
4485
  ['PureCloud OAuth'],
3942
4486
  ['application/json'],
3943
- ['application/json']
4487
+ ['application/json'],
4488
+ opts['customHeaders']
3944
4489
  );
3945
4490
  }
3946
4491
 
@@ -3948,8 +4493,12 @@ class RoutingApi {
3948
4493
  * Create Skill
3949
4494
  *
3950
4495
  * @param {Object} body Skill
4496
+ * @param {Object} opts Optional parameters
4497
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3951
4498
  */
3952
- postRoutingSkills(body) {
4499
+ postRoutingSkills(body, opts) {
4500
+ opts = opts || {};
4501
+
3953
4502
  // verify the required parameter 'body' is set
3954
4503
  if (body === undefined || body === null) {
3955
4504
  throw 'Missing the required parameter "body" when calling postRoutingSkills';
@@ -3965,7 +4514,8 @@ class RoutingApi {
3965
4514
  body,
3966
4515
  ['PureCloud OAuth'],
3967
4516
  ['application/json'],
3968
- ['application/json']
4517
+ ['application/json'],
4518
+ opts['customHeaders']
3969
4519
  );
3970
4520
  }
3971
4521
 
@@ -3973,8 +4523,12 @@ class RoutingApi {
3973
4523
  * Provision an Address for SMS
3974
4524
  *
3975
4525
  * @param {Object} body SmsAddress
4526
+ * @param {Object} opts Optional parameters
4527
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
3976
4528
  */
3977
- postRoutingSmsAddresses(body) {
4529
+ postRoutingSmsAddresses(body, opts) {
4530
+ opts = opts || {};
4531
+
3978
4532
  // verify the required parameter 'body' is set
3979
4533
  if (body === undefined || body === null) {
3980
4534
  throw 'Missing the required parameter "body" when calling postRoutingSmsAddresses';
@@ -3990,7 +4544,8 @@ class RoutingApi {
3990
4544
  body,
3991
4545
  ['PureCloud OAuth'],
3992
4546
  ['application/json'],
3993
- ['application/json']
4547
+ ['application/json'],
4548
+ opts['customHeaders']
3994
4549
  );
3995
4550
  }
3996
4551
 
@@ -3998,8 +4553,12 @@ class RoutingApi {
3998
4553
  * Provision a phone number for SMS
3999
4554
  * When provisioning an MMS-capable phone number, if no supported content profile is specified in the request, the system automatically assigns the "SMS Default" profile. This default profile allows all media types (\*\/\*) for inbound messages and specific image types (image/gif, image/jpeg, image/png) for outbound messages. To use custom media filtering, specify a supported content profile ID in the request body.
4000
4555
  * @param {Object} body SmsPhoneNumber
4556
+ * @param {Object} opts Optional parameters
4557
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4001
4558
  */
4002
- postRoutingSmsPhonenumbers(body) {
4559
+ postRoutingSmsPhonenumbers(body, opts) {
4560
+ opts = opts || {};
4561
+
4003
4562
  // verify the required parameter 'body' is set
4004
4563
  if (body === undefined || body === null) {
4005
4564
  throw 'Missing the required parameter "body" when calling postRoutingSmsPhonenumbers';
@@ -4015,7 +4574,8 @@ class RoutingApi {
4015
4574
  body,
4016
4575
  ['PureCloud OAuth'],
4017
4576
  ['application/json'],
4018
- ['application/json']
4577
+ ['application/json'],
4578
+ opts['customHeaders']
4019
4579
  );
4020
4580
  }
4021
4581
 
@@ -4023,9 +4583,13 @@ class RoutingApi {
4023
4583
  * Provision an alphanumeric number for SMS
4024
4584
  *
4025
4585
  * @param {Object} body SmsPhoneNumber
4586
+ * @param {Object} opts Optional parameters
4587
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4026
4588
  * postRoutingSmsPhonenumbersAlphanumeric is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4027
4589
  */
4028
- postRoutingSmsPhonenumbersAlphanumeric(body) {
4590
+ postRoutingSmsPhonenumbersAlphanumeric(body, opts) {
4591
+ opts = opts || {};
4592
+
4029
4593
  // verify the required parameter 'body' is set
4030
4594
  if (body === undefined || body === null) {
4031
4595
  throw 'Missing the required parameter "body" when calling postRoutingSmsPhonenumbersAlphanumeric';
@@ -4041,7 +4605,8 @@ class RoutingApi {
4041
4605
  body,
4042
4606
  ['PureCloud OAuth'],
4043
4607
  ['application/json'],
4044
- ['application/json']
4608
+ ['application/json'],
4609
+ opts['customHeaders']
4045
4610
  );
4046
4611
  }
4047
4612
 
@@ -4049,8 +4614,12 @@ class RoutingApi {
4049
4614
  * Imports a phone number for SMS
4050
4615
  *
4051
4616
  * @param {Object} body SmsPhoneNumber
4617
+ * @param {Object} opts Optional parameters
4618
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4052
4619
  */
4053
- postRoutingSmsPhonenumbersImport(body) {
4620
+ postRoutingSmsPhonenumbersImport(body, opts) {
4621
+ opts = opts || {};
4622
+
4054
4623
  // verify the required parameter 'body' is set
4055
4624
  if (body === undefined || body === null) {
4056
4625
  throw 'Missing the required parameter "body" when calling postRoutingSmsPhonenumbersImport';
@@ -4066,7 +4635,8 @@ class RoutingApi {
4066
4635
  body,
4067
4636
  ['PureCloud OAuth'],
4068
4637
  ['application/json'],
4069
- ['application/json']
4638
+ ['application/json'],
4639
+ opts['customHeaders']
4070
4640
  );
4071
4641
  }
4072
4642
 
@@ -4074,8 +4644,12 @@ class RoutingApi {
4074
4644
  * Create a utilization label
4075
4645
  *
4076
4646
  * @param {Object} body UtilizationLabel
4647
+ * @param {Object} opts Optional parameters
4648
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4077
4649
  */
4078
- postRoutingUtilizationLabels(body) {
4650
+ postRoutingUtilizationLabels(body, opts) {
4651
+ opts = opts || {};
4652
+
4079
4653
  // verify the required parameter 'body' is set
4080
4654
  if (body === undefined || body === null) {
4081
4655
  throw 'Missing the required parameter "body" when calling postRoutingUtilizationLabels';
@@ -4091,7 +4665,8 @@ class RoutingApi {
4091
4665
  body,
4092
4666
  ['PureCloud OAuth'],
4093
4667
  ['application/json'],
4094
- ['application/json']
4668
+ ['application/json'],
4669
+ opts['customHeaders']
4095
4670
  );
4096
4671
  }
4097
4672
 
@@ -4099,9 +4674,13 @@ class RoutingApi {
4099
4674
  * Create an utilization tag
4100
4675
  *
4101
4676
  * @param {Object} body UtilizationTag
4677
+ * @param {Object} opts Optional parameters
4678
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4102
4679
  * postRoutingUtilizationTags is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4103
4680
  */
4104
- postRoutingUtilizationTags(body) {
4681
+ postRoutingUtilizationTags(body, opts) {
4682
+ opts = opts || {};
4683
+
4105
4684
  // verify the required parameter 'body' is set
4106
4685
  if (body === undefined || body === null) {
4107
4686
  throw 'Missing the required parameter "body" when calling postRoutingUtilizationTags';
@@ -4117,7 +4696,8 @@ class RoutingApi {
4117
4696
  body,
4118
4697
  ['PureCloud OAuth'],
4119
4698
  ['application/json'],
4120
- ['application/json']
4699
+ ['application/json'],
4700
+ opts['customHeaders']
4121
4701
  );
4122
4702
  }
4123
4703
 
@@ -4125,8 +4705,12 @@ class RoutingApi {
4125
4705
  * Create a wrap-up code
4126
4706
  *
4127
4707
  * @param {Object} body WrapupCode
4708
+ * @param {Object} opts Optional parameters
4709
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4128
4710
  */
4129
- postRoutingWrapupcodes(body) {
4711
+ postRoutingWrapupcodes(body, opts) {
4712
+ opts = opts || {};
4713
+
4130
4714
  // verify the required parameter 'body' is set
4131
4715
  if (body === undefined || body === null) {
4132
4716
  throw 'Missing the required parameter "body" when calling postRoutingWrapupcodes';
@@ -4142,7 +4726,8 @@ class RoutingApi {
4142
4726
  body,
4143
4727
  ['PureCloud OAuth'],
4144
4728
  ['application/json'],
4145
- ['application/json']
4729
+ ['application/json'],
4730
+ opts['customHeaders']
4146
4731
  );
4147
4732
  }
4148
4733
 
@@ -4151,8 +4736,12 @@ class RoutingApi {
4151
4736
  *
4152
4737
  * @param {String} userId User ID
4153
4738
  * @param {Object} body Language
4739
+ * @param {Object} opts Optional parameters
4740
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4154
4741
  */
4155
- postUserRoutinglanguages(userId, body) {
4742
+ postUserRoutinglanguages(userId, body, opts) {
4743
+ opts = opts || {};
4744
+
4156
4745
  // verify the required parameter 'userId' is set
4157
4746
  if (userId === undefined || userId === null || userId === '') {
4158
4747
  throw 'Missing the required parameter "userId" when calling postUserRoutinglanguages';
@@ -4172,7 +4761,8 @@ class RoutingApi {
4172
4761
  body,
4173
4762
  ['PureCloud OAuth'],
4174
4763
  ['application/json'],
4175
- ['application/json']
4764
+ ['application/json'],
4765
+ opts['customHeaders']
4176
4766
  );
4177
4767
  }
4178
4768
 
@@ -4181,8 +4771,12 @@ class RoutingApi {
4181
4771
  *
4182
4772
  * @param {String} userId User ID
4183
4773
  * @param {Object} body Skill
4774
+ * @param {Object} opts Optional parameters
4775
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4184
4776
  */
4185
- postUserRoutingskills(userId, body) {
4777
+ postUserRoutingskills(userId, body, opts) {
4778
+ opts = opts || {};
4779
+
4186
4780
  // verify the required parameter 'userId' is set
4187
4781
  if (userId === undefined || userId === null || userId === '') {
4188
4782
  throw 'Missing the required parameter "userId" when calling postUserRoutingskills';
@@ -4202,7 +4796,8 @@ class RoutingApi {
4202
4796
  body,
4203
4797
  ['PureCloud OAuth'],
4204
4798
  ['application/json'],
4205
- ['application/json']
4799
+ ['application/json'],
4800
+ opts['customHeaders']
4206
4801
  );
4207
4802
  }
4208
4803
 
@@ -4210,8 +4805,12 @@ class RoutingApi {
4210
4805
  * Update the user's Direct Routing Backup settings.
4211
4806
  *
4212
4807
  * @param {Object} body directRoutingBackup
4808
+ * @param {Object} opts Optional parameters
4809
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4213
4810
  */
4214
- putRoutingDirectroutingbackupSettingsMe(body) {
4811
+ putRoutingDirectroutingbackupSettingsMe(body, opts) {
4812
+ opts = opts || {};
4813
+
4215
4814
  // verify the required parameter 'body' is set
4216
4815
  if (body === undefined || body === null) {
4217
4816
  throw 'Missing the required parameter "body" when calling putRoutingDirectroutingbackupSettingsMe';
@@ -4227,7 +4826,8 @@ class RoutingApi {
4227
4826
  body,
4228
4827
  ['PureCloud OAuth'],
4229
4828
  ['application/json'],
4230
- ['application/json']
4829
+ ['application/json'],
4830
+ opts['customHeaders']
4231
4831
  );
4232
4832
  }
4233
4833
 
@@ -4237,8 +4837,12 @@ class RoutingApi {
4237
4837
  * @param {String} domainName email domain
4238
4838
  * @param {String} routeId route ID
4239
4839
  * @param {Object} body Route
4840
+ * @param {Object} opts Optional parameters
4841
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4240
4842
  */
4241
- putRoutingEmailDomainRoute(domainName, routeId, body) {
4843
+ putRoutingEmailDomainRoute(domainName, routeId, body, opts) {
4844
+ opts = opts || {};
4845
+
4242
4846
  // verify the required parameter 'domainName' is set
4243
4847
  if (domainName === undefined || domainName === null || domainName === '') {
4244
4848
  throw 'Missing the required parameter "domainName" when calling putRoutingEmailDomainRoute';
@@ -4262,7 +4866,8 @@ class RoutingApi {
4262
4866
  body,
4263
4867
  ['PureCloud OAuth'],
4264
4868
  ['application/json'],
4265
- ['application/json']
4869
+ ['application/json'],
4870
+ opts['customHeaders']
4266
4871
  );
4267
4872
  }
4268
4873
 
@@ -4272,8 +4877,12 @@ class RoutingApi {
4272
4877
  * @param {String} domainName email domain
4273
4878
  * @param {String} routeId route ID
4274
4879
  * @param {Object} body
4880
+ * @param {Object} opts Optional parameters
4881
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4275
4882
  */
4276
- putRoutingEmailDomainRouteIdentityresolution(domainName, routeId, body) {
4883
+ putRoutingEmailDomainRouteIdentityresolution(domainName, routeId, body, opts) {
4884
+ opts = opts || {};
4885
+
4277
4886
  // verify the required parameter 'domainName' is set
4278
4887
  if (domainName === undefined || domainName === null || domainName === '') {
4279
4888
  throw 'Missing the required parameter "domainName" when calling putRoutingEmailDomainRouteIdentityresolution';
@@ -4297,7 +4906,8 @@ class RoutingApi {
4297
4906
  body,
4298
4907
  ['PureCloud OAuth'],
4299
4908
  ['application/json'],
4300
- ['application/json']
4909
+ ['application/json'],
4910
+ opts['customHeaders']
4301
4911
  );
4302
4912
  }
4303
4913
 
@@ -4305,8 +4915,12 @@ class RoutingApi {
4305
4915
  * Request an activation status (cname + dkim) update of an outbound domain
4306
4916
  *
4307
4917
  * @param {String} domainId domain ID
4918
+ * @param {Object} opts Optional parameters
4919
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4308
4920
  */
4309
- putRoutingEmailOutboundDomainActivation(domainId) {
4921
+ putRoutingEmailOutboundDomainActivation(domainId, opts) {
4922
+ opts = opts || {};
4923
+
4310
4924
  // verify the required parameter 'domainId' is set
4311
4925
  if (domainId === undefined || domainId === null || domainId === '') {
4312
4926
  throw 'Missing the required parameter "domainId" when calling putRoutingEmailOutboundDomainActivation';
@@ -4322,7 +4936,8 @@ class RoutingApi {
4322
4936
  null,
4323
4937
  ['PureCloud OAuth'],
4324
4938
  ['application/json'],
4325
- ['application/json']
4939
+ ['application/json'],
4940
+ opts['customHeaders']
4326
4941
  );
4327
4942
  }
4328
4943
 
@@ -4331,8 +4946,12 @@ class RoutingApi {
4331
4946
  *
4332
4947
  * @param {String} recipientId Recipient ID
4333
4948
  * @param {Object} body Recipient
4949
+ * @param {Object} opts Optional parameters
4950
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4334
4951
  */
4335
- putRoutingMessageRecipient(recipientId, body) {
4952
+ putRoutingMessageRecipient(recipientId, body, opts) {
4953
+ opts = opts || {};
4954
+
4336
4955
  // verify the required parameter 'recipientId' is set
4337
4956
  if (recipientId === undefined || recipientId === null || recipientId === '') {
4338
4957
  throw 'Missing the required parameter "recipientId" when calling putRoutingMessageRecipient';
@@ -4352,7 +4971,8 @@ class RoutingApi {
4352
4971
  body,
4353
4972
  ['PureCloud OAuth'],
4354
4973
  ['application/json'],
4355
- ['application/json']
4974
+ ['application/json'],
4975
+ opts['customHeaders']
4356
4976
  );
4357
4977
  }
4358
4978
 
@@ -4361,8 +4981,12 @@ class RoutingApi {
4361
4981
  *
4362
4982
  * @param {String} queueId Queue ID
4363
4983
  * @param {Object} body Queue
4984
+ * @param {Object} opts Optional parameters
4985
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4364
4986
  */
4365
- putRoutingQueue(queueId, body) {
4987
+ putRoutingQueue(queueId, body, opts) {
4988
+ opts = opts || {};
4989
+
4366
4990
  // verify the required parameter 'queueId' is set
4367
4991
  if (queueId === undefined || queueId === null || queueId === '') {
4368
4992
  throw 'Missing the required parameter "queueId" when calling putRoutingQueue';
@@ -4382,7 +5006,8 @@ class RoutingApi {
4382
5006
  body,
4383
5007
  ['PureCloud OAuth'],
4384
5008
  ['application/json'],
4385
- ['application/json']
5009
+ ['application/json'],
5010
+ opts['customHeaders']
4386
5011
  );
4387
5012
  }
4388
5013
 
@@ -4391,8 +5016,12 @@ class RoutingApi {
4391
5016
  *
4392
5017
  * @param {String} queueId Queue ID
4393
5018
  * @param {Object} body
5019
+ * @param {Object} opts Optional parameters
5020
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4394
5021
  */
4395
- putRoutingQueueIdentityresolution(queueId, body) {
5022
+ putRoutingQueueIdentityresolution(queueId, body, opts) {
5023
+ opts = opts || {};
5024
+
4396
5025
  // verify the required parameter 'queueId' is set
4397
5026
  if (queueId === undefined || queueId === null || queueId === '') {
4398
5027
  throw 'Missing the required parameter "queueId" when calling putRoutingQueueIdentityresolution';
@@ -4412,7 +5041,8 @@ class RoutingApi {
4412
5041
  body,
4413
5042
  ['PureCloud OAuth'],
4414
5043
  ['application/json'],
4415
- ['application/json']
5044
+ ['application/json'],
5045
+ opts['customHeaders']
4416
5046
  );
4417
5047
  }
4418
5048
 
@@ -4420,8 +5050,12 @@ class RoutingApi {
4420
5050
  * Update an organization's routing settings
4421
5051
  *
4422
5052
  * @param {Object} body Organization Settings
5053
+ * @param {Object} opts Optional parameters
5054
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4423
5055
  */
4424
- putRoutingSettings(body) {
5056
+ putRoutingSettings(body, opts) {
5057
+ opts = opts || {};
5058
+
4425
5059
  // verify the required parameter 'body' is set
4426
5060
  if (body === undefined || body === null) {
4427
5061
  throw 'Missing the required parameter "body" when calling putRoutingSettings';
@@ -4437,7 +5071,8 @@ class RoutingApi {
4437
5071
  body,
4438
5072
  ['PureCloud OAuth'],
4439
5073
  ['application/json'],
4440
- ['application/json']
5074
+ ['application/json'],
5075
+ opts['customHeaders']
4441
5076
  );
4442
5077
  }
4443
5078
 
@@ -4445,8 +5080,12 @@ class RoutingApi {
4445
5080
  * Update Transcription Settings
4446
5081
  *
4447
5082
  * @param {Object} body Organization Settings
5083
+ * @param {Object} opts Optional parameters
5084
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4448
5085
  */
4449
- putRoutingSettingsTranscription(body) {
5086
+ putRoutingSettingsTranscription(body, opts) {
5087
+ opts = opts || {};
5088
+
4450
5089
  // verify the required parameter 'body' is set
4451
5090
  if (body === undefined || body === null) {
4452
5091
  throw 'Missing the required parameter "body" when calling putRoutingSettingsTranscription';
@@ -4462,7 +5101,8 @@ class RoutingApi {
4462
5101
  body,
4463
5102
  ['PureCloud OAuth'],
4464
5103
  ['application/json'],
4465
- ['application/json']
5104
+ ['application/json'],
5105
+ opts['customHeaders']
4466
5106
  );
4467
5107
  }
4468
5108
 
@@ -4471,8 +5111,12 @@ class RoutingApi {
4471
5111
  *
4472
5112
  * @param {String} addressId Address ID
4473
5113
  * @param {Object} body
5114
+ * @param {Object} opts Optional parameters
5115
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4474
5116
  */
4475
- putRoutingSmsIdentityresolutionPhonenumber(addressId, body) {
5117
+ putRoutingSmsIdentityresolutionPhonenumber(addressId, body, opts) {
5118
+ opts = opts || {};
5119
+
4476
5120
  // verify the required parameter 'addressId' is set
4477
5121
  if (addressId === undefined || addressId === null || addressId === '') {
4478
5122
  throw 'Missing the required parameter "addressId" when calling putRoutingSmsIdentityresolutionPhonenumber';
@@ -4492,7 +5136,8 @@ class RoutingApi {
4492
5136
  body,
4493
5137
  ['PureCloud OAuth'],
4494
5138
  ['application/json'],
4495
- ['application/json']
5139
+ ['application/json'],
5140
+ opts['customHeaders']
4496
5141
  );
4497
5142
  }
4498
5143
 
@@ -4501,8 +5146,12 @@ class RoutingApi {
4501
5146
  *
4502
5147
  * @param {String} userId User ID
4503
5148
  * @param {Object} body directRoutingBackup
5149
+ * @param {Object} opts Optional parameters
5150
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4504
5151
  */
4505
- putRoutingUserDirectroutingbackupSettings(userId, body) {
5152
+ putRoutingUserDirectroutingbackupSettings(userId, body, opts) {
5153
+ opts = opts || {};
5154
+
4506
5155
  // verify the required parameter 'userId' is set
4507
5156
  if (userId === undefined || userId === null || userId === '') {
4508
5157
  throw 'Missing the required parameter "userId" when calling putRoutingUserDirectroutingbackupSettings';
@@ -4522,7 +5171,8 @@ class RoutingApi {
4522
5171
  body,
4523
5172
  ['PureCloud OAuth'],
4524
5173
  ['application/json'],
4525
- ['application/json']
5174
+ ['application/json'],
5175
+ opts['customHeaders']
4526
5176
  );
4527
5177
  }
4528
5178
 
@@ -4531,8 +5181,12 @@ class RoutingApi {
4531
5181
  *
4532
5182
  * @param {String} userId User ID
4533
5183
  * @param {Object} body utilization
5184
+ * @param {Object} opts Optional parameters
5185
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4534
5186
  */
4535
- putRoutingUserUtilization(userId, body) {
5187
+ putRoutingUserUtilization(userId, body, opts) {
5188
+ opts = opts || {};
5189
+
4536
5190
  // verify the required parameter 'userId' is set
4537
5191
  if (userId === undefined || userId === null || userId === '') {
4538
5192
  throw 'Missing the required parameter "userId" when calling putRoutingUserUtilization';
@@ -4552,7 +5206,8 @@ class RoutingApi {
4552
5206
  body,
4553
5207
  ['PureCloud OAuth'],
4554
5208
  ['application/json'],
4555
- ['application/json']
5209
+ ['application/json'],
5210
+ opts['customHeaders']
4556
5211
  );
4557
5212
  }
4558
5213
 
@@ -4560,8 +5215,12 @@ class RoutingApi {
4560
5215
  * Update the organization-wide max utilization settings. Include only those media types requiring custom configuration.
4561
5216
  *
4562
5217
  * @param {Object} body utilization
5218
+ * @param {Object} opts Optional parameters
5219
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4563
5220
  */
4564
- putRoutingUtilization(body) {
5221
+ putRoutingUtilization(body, opts) {
5222
+ opts = opts || {};
5223
+
4565
5224
  // verify the required parameter 'body' is set
4566
5225
  if (body === undefined || body === null) {
4567
5226
  throw 'Missing the required parameter "body" when calling putRoutingUtilization';
@@ -4577,7 +5236,8 @@ class RoutingApi {
4577
5236
  body,
4578
5237
  ['PureCloud OAuth'],
4579
5238
  ['application/json'],
4580
- ['application/json']
5239
+ ['application/json'],
5240
+ opts['customHeaders']
4581
5241
  );
4582
5242
  }
4583
5243
 
@@ -4586,8 +5246,12 @@ class RoutingApi {
4586
5246
  *
4587
5247
  * @param {String} labelId Utilization Label ID
4588
5248
  * @param {Object} body UtilizationLabel
5249
+ * @param {Object} opts Optional parameters
5250
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4589
5251
  */
4590
- putRoutingUtilizationLabel(labelId, body) {
5252
+ putRoutingUtilizationLabel(labelId, body, opts) {
5253
+ opts = opts || {};
5254
+
4591
5255
  // verify the required parameter 'labelId' is set
4592
5256
  if (labelId === undefined || labelId === null || labelId === '') {
4593
5257
  throw 'Missing the required parameter "labelId" when calling putRoutingUtilizationLabel';
@@ -4607,7 +5271,8 @@ class RoutingApi {
4607
5271
  body,
4608
5272
  ['PureCloud OAuth'],
4609
5273
  ['application/json'],
4610
- ['application/json']
5274
+ ['application/json'],
5275
+ opts['customHeaders']
4611
5276
  );
4612
5277
  }
4613
5278
 
@@ -4616,8 +5281,12 @@ class RoutingApi {
4616
5281
  *
4617
5282
  * @param {String} codeId Wrapup Code ID
4618
5283
  * @param {Object} body WrapupCode
5284
+ * @param {Object} opts Optional parameters
5285
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4619
5286
  */
4620
- putRoutingWrapupcode(codeId, body) {
5287
+ putRoutingWrapupcode(codeId, body, opts) {
5288
+ opts = opts || {};
5289
+
4621
5290
  // verify the required parameter 'codeId' is set
4622
5291
  if (codeId === undefined || codeId === null || codeId === '') {
4623
5292
  throw 'Missing the required parameter "codeId" when calling putRoutingWrapupcode';
@@ -4637,7 +5306,8 @@ class RoutingApi {
4637
5306
  body,
4638
5307
  ['PureCloud OAuth'],
4639
5308
  ['application/json'],
4640
- ['application/json']
5309
+ ['application/json'],
5310
+ opts['customHeaders']
4641
5311
  );
4642
5312
  }
4643
5313
 
@@ -4647,8 +5317,12 @@ class RoutingApi {
4647
5317
  * @param {String} userId User ID
4648
5318
  * @param {String} skillId skillId
4649
5319
  * @param {Object} body Skill
5320
+ * @param {Object} opts Optional parameters
5321
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4650
5322
  */
4651
- putUserRoutingskill(userId, skillId, body) {
5323
+ putUserRoutingskill(userId, skillId, body, opts) {
5324
+ opts = opts || {};
5325
+
4652
5326
  // verify the required parameter 'userId' is set
4653
5327
  if (userId === undefined || userId === null || userId === '') {
4654
5328
  throw 'Missing the required parameter "userId" when calling putUserRoutingskill';
@@ -4672,7 +5346,8 @@ class RoutingApi {
4672
5346
  body,
4673
5347
  ['PureCloud OAuth'],
4674
5348
  ['application/json'],
4675
- ['application/json']
5349
+ ['application/json'],
5350
+ opts['customHeaders']
4676
5351
  );
4677
5352
  }
4678
5353
 
@@ -4681,8 +5356,12 @@ class RoutingApi {
4681
5356
  *
4682
5357
  * @param {String} userId User ID
4683
5358
  * @param {Array.<Object>} body Skill
5359
+ * @param {Object} opts Optional parameters
5360
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4684
5361
  */
4685
- putUserRoutingskillsBulk(userId, body) {
5362
+ putUserRoutingskillsBulk(userId, body, opts) {
5363
+ opts = opts || {};
5364
+
4686
5365
  // verify the required parameter 'userId' is set
4687
5366
  if (userId === undefined || userId === null || userId === '') {
4688
5367
  throw 'Missing the required parameter "userId" when calling putUserRoutingskillsBulk';
@@ -4702,7 +5381,8 @@ class RoutingApi {
4702
5381
  body,
4703
5382
  ['PureCloud OAuth'],
4704
5383
  ['application/json'],
4705
- ['application/json']
5384
+ ['application/json'],
5385
+ opts['customHeaders']
4706
5386
  );
4707
5387
  }
4708
5388