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 CaseManagementApi {
5
5
  /**
6
6
  * CaseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/CaseManagementApi
8
- * @version 249.0.0
8
+ * @version 250.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -24,9 +24,13 @@ class CaseManagementApi {
24
24
  * Delete a Case.
25
25
  *
26
26
  * @param {String} caseId Case ID
27
+ * @param {Object} opts Optional parameters
28
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
27
29
  * deleteCasemanagementCase is a preview method and is subject to both breaking and non-breaking changes at any time without notice
28
30
  */
29
- deleteCasemanagementCase(caseId) {
31
+ deleteCasemanagementCase(caseId, opts) {
32
+ opts = opts || {};
33
+
30
34
  // verify the required parameter 'caseId' is set
31
35
  if (caseId === undefined || caseId === null || caseId === '') {
32
36
  throw 'Missing the required parameter "caseId" when calling deleteCasemanagementCase';
@@ -42,7 +46,8 @@ class CaseManagementApi {
42
46
  null,
43
47
  ['PureCloud OAuth'],
44
48
  ['application/json'],
45
- ['application/json']
49
+ ['application/json'],
50
+ opts['customHeaders']
46
51
  );
47
52
  }
48
53
 
@@ -50,9 +55,13 @@ class CaseManagementApi {
50
55
  * Delete a Caseplan.
51
56
  *
52
57
  * @param {String} caseplanId Caseplan ID
58
+ * @param {Object} opts Optional parameters
59
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
53
60
  * deleteCasemanagementCaseplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
54
61
  */
55
- deleteCasemanagementCaseplan(caseplanId) {
62
+ deleteCasemanagementCaseplan(caseplanId, opts) {
63
+ opts = opts || {};
64
+
56
65
  // verify the required parameter 'caseplanId' is set
57
66
  if (caseplanId === undefined || caseplanId === null || caseplanId === '') {
58
67
  throw 'Missing the required parameter "caseplanId" when calling deleteCasemanagementCaseplan';
@@ -68,7 +77,8 @@ class CaseManagementApi {
68
77
  null,
69
78
  ['PureCloud OAuth'],
70
79
  ['application/json'],
71
- ['application/json']
80
+ ['application/json'],
81
+ opts['customHeaders']
72
82
  );
73
83
  }
74
84
 
@@ -78,6 +88,7 @@ class CaseManagementApi {
78
88
  * @param {String} caseId Case ID
79
89
  * @param {Object} opts Optional parameters
80
90
  * @param {Object} opts.expands Which fields to expand.
91
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
81
92
  * getCasemanagementCase is a preview method and is subject to both breaking and non-breaking changes at any time without notice
82
93
  */
83
94
  getCasemanagementCase(caseId, opts) {
@@ -98,7 +109,8 @@ class CaseManagementApi {
98
109
  null,
99
110
  ['PureCloud OAuth'],
100
111
  ['application/json'],
101
- ['application/json']
112
+ ['application/json'],
113
+ opts['customHeaders']
102
114
  );
103
115
  }
104
116
 
@@ -107,9 +119,13 @@ class CaseManagementApi {
107
119
  *
108
120
  * @param {String} caseId Case ID
109
121
  * @param {String} associationId Case Association ID
122
+ * @param {Object} opts Optional parameters
123
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
110
124
  * getCasemanagementCaseAssociation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
111
125
  */
112
- getCasemanagementCaseAssociation(caseId, associationId) {
126
+ getCasemanagementCaseAssociation(caseId, associationId, opts) {
127
+ opts = opts || {};
128
+
113
129
  // verify the required parameter 'caseId' is set
114
130
  if (caseId === undefined || caseId === null || caseId === '') {
115
131
  throw 'Missing the required parameter "caseId" when calling getCasemanagementCaseAssociation';
@@ -129,7 +145,8 @@ class CaseManagementApi {
129
145
  null,
130
146
  ['PureCloud OAuth'],
131
147
  ['application/json'],
132
- ['application/json']
148
+ ['application/json'],
149
+ opts['customHeaders']
133
150
  );
134
151
  }
135
152
 
@@ -141,6 +158,7 @@ class CaseManagementApi {
141
158
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
142
159
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
143
160
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
161
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
144
162
  * getCasemanagementCaseAssociations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
145
163
  */
146
164
  getCasemanagementCaseAssociations(caseId, opts) {
@@ -161,7 +179,8 @@ class CaseManagementApi {
161
179
  null,
162
180
  ['PureCloud OAuth'],
163
181
  ['application/json'],
164
- ['application/json']
182
+ ['application/json'],
183
+ opts['customHeaders']
165
184
  );
166
185
  }
167
186
 
@@ -170,9 +189,13 @@ class CaseManagementApi {
170
189
  *
171
190
  * @param {String} caseId Case ID
172
191
  * @param {String} stageId Stage ID
192
+ * @param {Object} opts Optional parameters
193
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
173
194
  * getCasemanagementCaseStage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
174
195
  */
175
- getCasemanagementCaseStage(caseId, stageId) {
196
+ getCasemanagementCaseStage(caseId, stageId, opts) {
197
+ opts = opts || {};
198
+
176
199
  // verify the required parameter 'caseId' is set
177
200
  if (caseId === undefined || caseId === null || caseId === '') {
178
201
  throw 'Missing the required parameter "caseId" when calling getCasemanagementCaseStage';
@@ -192,7 +215,8 @@ class CaseManagementApi {
192
215
  null,
193
216
  ['PureCloud OAuth'],
194
217
  ['application/json'],
195
- ['application/json']
218
+ ['application/json'],
219
+ opts['customHeaders']
196
220
  );
197
221
  }
198
222
 
@@ -202,9 +226,13 @@ class CaseManagementApi {
202
226
  * @param {String} caseId Case ID
203
227
  * @param {String} stageId Stage ID
204
228
  * @param {String} stepId Step ID
229
+ * @param {Object} opts Optional parameters
230
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
205
231
  * getCasemanagementCaseStageStep is a preview method and is subject to both breaking and non-breaking changes at any time without notice
206
232
  */
207
- getCasemanagementCaseStageStep(caseId, stageId, stepId) {
233
+ getCasemanagementCaseStageStep(caseId, stageId, stepId, opts) {
234
+ opts = opts || {};
235
+
208
236
  // verify the required parameter 'caseId' is set
209
237
  if (caseId === undefined || caseId === null || caseId === '') {
210
238
  throw 'Missing the required parameter "caseId" when calling getCasemanagementCaseStageStep';
@@ -228,7 +256,8 @@ class CaseManagementApi {
228
256
  null,
229
257
  ['PureCloud OAuth'],
230
258
  ['application/json'],
231
- ['application/json']
259
+ ['application/json'],
260
+ opts['customHeaders']
232
261
  );
233
262
  }
234
263
 
@@ -241,6 +270,7 @@ class CaseManagementApi {
241
270
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
242
271
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
243
272
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
273
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
244
274
  * getCasemanagementCaseStageSteps is a preview method and is subject to both breaking and non-breaking changes at any time without notice
245
275
  */
246
276
  getCasemanagementCaseStageSteps(caseId, stageId, opts) {
@@ -265,7 +295,8 @@ class CaseManagementApi {
265
295
  null,
266
296
  ['PureCloud OAuth'],
267
297
  ['application/json'],
268
- ['application/json']
298
+ ['application/json'],
299
+ opts['customHeaders']
269
300
  );
270
301
  }
271
302
 
@@ -277,6 +308,7 @@ class CaseManagementApi {
277
308
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
278
309
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
279
310
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
311
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
280
312
  * getCasemanagementCaseStages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
281
313
  */
282
314
  getCasemanagementCaseStages(caseId, opts) {
@@ -297,7 +329,8 @@ class CaseManagementApi {
297
329
  null,
298
330
  ['PureCloud OAuth'],
299
331
  ['application/json'],
300
- ['application/json']
332
+ ['application/json'],
333
+ opts['customHeaders']
301
334
  );
302
335
  }
303
336
 
@@ -306,9 +339,13 @@ class CaseManagementApi {
306
339
  *
307
340
  * @param {String} caseId Case ID
308
341
  * @param {String} jobId Job ID
342
+ * @param {Object} opts Optional parameters
343
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
309
344
  * getCasemanagementCaseTerminateJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
310
345
  */
311
- getCasemanagementCaseTerminateJob(caseId, jobId) {
346
+ getCasemanagementCaseTerminateJob(caseId, jobId, opts) {
347
+ opts = opts || {};
348
+
312
349
  // verify the required parameter 'caseId' is set
313
350
  if (caseId === undefined || caseId === null || caseId === '') {
314
351
  throw 'Missing the required parameter "caseId" when calling getCasemanagementCaseTerminateJob';
@@ -328,7 +365,8 @@ class CaseManagementApi {
328
365
  null,
329
366
  ['PureCloud OAuth'],
330
367
  ['application/json'],
331
- ['application/json']
368
+ ['application/json'],
369
+ opts['customHeaders']
332
370
  );
333
371
  }
334
372
 
@@ -336,9 +374,13 @@ class CaseManagementApi {
336
374
  * Get a Caseplan.
337
375
  *
338
376
  * @param {String} caseplanId Caseplan ID
377
+ * @param {Object} opts Optional parameters
378
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
339
379
  * getCasemanagementCaseplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
340
380
  */
341
- getCasemanagementCaseplan(caseplanId) {
381
+ getCasemanagementCaseplan(caseplanId, opts) {
382
+ opts = opts || {};
383
+
342
384
  // verify the required parameter 'caseplanId' is set
343
385
  if (caseplanId === undefined || caseplanId === null || caseplanId === '') {
344
386
  throw 'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplan';
@@ -354,7 +396,8 @@ class CaseManagementApi {
354
396
  null,
355
397
  ['PureCloud OAuth'],
356
398
  ['application/json'],
357
- ['application/json']
399
+ ['application/json'],
400
+ opts['customHeaders']
358
401
  );
359
402
  }
360
403
 
@@ -363,9 +406,13 @@ class CaseManagementApi {
363
406
  *
364
407
  * @param {String} caseplanId Caseplan ID
365
408
  * @param {String} versionId Version of the caseplan
409
+ * @param {Object} opts Optional parameters
410
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
366
411
  * getCasemanagementCaseplanVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
367
412
  */
368
- getCasemanagementCaseplanVersion(caseplanId, versionId) {
413
+ getCasemanagementCaseplanVersion(caseplanId, versionId, opts) {
414
+ opts = opts || {};
415
+
369
416
  // verify the required parameter 'caseplanId' is set
370
417
  if (caseplanId === undefined || caseplanId === null || caseplanId === '') {
371
418
  throw 'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersion';
@@ -385,7 +432,8 @@ class CaseManagementApi {
385
432
  null,
386
433
  ['PureCloud OAuth'],
387
434
  ['application/json'],
388
- ['application/json']
435
+ ['application/json'],
436
+ opts['customHeaders']
389
437
  );
390
438
  }
391
439
 
@@ -394,9 +442,13 @@ class CaseManagementApi {
394
442
  *
395
443
  * @param {String} caseplanId Caseplan ID
396
444
  * @param {String} versionId Version of the caseplan
445
+ * @param {Object} opts Optional parameters
446
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
397
447
  * getCasemanagementCaseplanVersionDataschemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
398
448
  */
399
- getCasemanagementCaseplanVersionDataschemas(caseplanId, versionId) {
449
+ getCasemanagementCaseplanVersionDataschemas(caseplanId, versionId, opts) {
450
+ opts = opts || {};
451
+
400
452
  // verify the required parameter 'caseplanId' is set
401
453
  if (caseplanId === undefined || caseplanId === null || caseplanId === '') {
402
454
  throw 'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionDataschemas';
@@ -416,7 +468,8 @@ class CaseManagementApi {
416
468
  null,
417
469
  ['PureCloud OAuth'],
418
470
  ['application/json'],
419
- ['application/json']
471
+ ['application/json'],
472
+ opts['customHeaders']
420
473
  );
421
474
  }
422
475
 
@@ -425,9 +478,13 @@ class CaseManagementApi {
425
478
  *
426
479
  * @param {String} caseplanId Caseplan ID
427
480
  * @param {String} versionId Version of the caseplan
481
+ * @param {Object} opts Optional parameters
482
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
428
483
  * getCasemanagementCaseplanVersionIntakesettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
429
484
  */
430
- getCasemanagementCaseplanVersionIntakesettings(caseplanId, versionId) {
485
+ getCasemanagementCaseplanVersionIntakesettings(caseplanId, versionId, opts) {
486
+ opts = opts || {};
487
+
431
488
  // verify the required parameter 'caseplanId' is set
432
489
  if (caseplanId === undefined || caseplanId === null || caseplanId === '') {
433
490
  throw 'Missing the required parameter "caseplanId" when calling getCasemanagementCaseplanVersionIntakesettings';
@@ -447,7 +504,8 @@ class CaseManagementApi {
447
504
  null,
448
505
  ['PureCloud OAuth'],
449
506
  ['application/json'],
450
- ['application/json']
507
+ ['application/json'],
508
+ opts['customHeaders']
451
509
  );
452
510
  }
453
511
 
@@ -459,6 +517,7 @@ class CaseManagementApi {
459
517
  * @param {String} stageplanId Stageplan ID
460
518
  * @param {Object} opts Optional parameters
461
519
  * @param {Array.<String>} opts.expands Which fields to expand.
520
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
462
521
  * getCasemanagementCaseplanVersionStageplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
463
522
  */
464
523
  getCasemanagementCaseplanVersionStageplan(caseplanId, versionId, stageplanId, opts) {
@@ -487,7 +546,8 @@ class CaseManagementApi {
487
546
  null,
488
547
  ['PureCloud OAuth'],
489
548
  ['application/json'],
490
- ['application/json']
549
+ ['application/json'],
550
+ opts['customHeaders']
491
551
  );
492
552
  }
493
553
 
@@ -500,6 +560,7 @@ class CaseManagementApi {
500
560
  * @param {String} stepplanId Stepplan ID
501
561
  * @param {Object} opts Optional parameters
502
562
  * @param {Array.<String>} opts.expands Which fields to expand.
563
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
503
564
  * getCasemanagementCaseplanVersionStageplanStepplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
504
565
  */
505
566
  getCasemanagementCaseplanVersionStageplanStepplan(caseplanId, versionId, stageplanId, stepplanId, opts) {
@@ -532,7 +593,8 @@ class CaseManagementApi {
532
593
  null,
533
594
  ['PureCloud OAuth'],
534
595
  ['application/json'],
535
- ['application/json']
596
+ ['application/json'],
597
+ opts['customHeaders']
536
598
  );
537
599
  }
538
600
 
@@ -547,6 +609,7 @@ class CaseManagementApi {
547
609
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
548
610
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
549
611
  * @param {Array.<String>} opts.expands Which fields to expand.
612
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
550
613
  * getCasemanagementCaseplanVersionStageplanStepplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
551
614
  */
552
615
  getCasemanagementCaseplanVersionStageplanStepplans(caseplanId, versionId, stageplanId, opts) {
@@ -575,7 +638,8 @@ class CaseManagementApi {
575
638
  null,
576
639
  ['PureCloud OAuth'],
577
640
  ['application/json'],
578
- ['application/json']
641
+ ['application/json'],
642
+ opts['customHeaders']
579
643
  );
580
644
  }
581
645
 
@@ -589,6 +653,7 @@ class CaseManagementApi {
589
653
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
590
654
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
591
655
  * @param {Array.<String>} opts.expands Which fields to expand.
656
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
592
657
  * getCasemanagementCaseplanVersionStageplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
593
658
  */
594
659
  getCasemanagementCaseplanVersionStageplans(caseplanId, versionId, opts) {
@@ -613,7 +678,8 @@ class CaseManagementApi {
613
678
  null,
614
679
  ['PureCloud OAuth'],
615
680
  ['application/json'],
616
- ['application/json']
681
+ ['application/json'],
682
+ opts['customHeaders']
617
683
  );
618
684
  }
619
685
 
@@ -625,6 +691,7 @@ class CaseManagementApi {
625
691
  * @param {Number} opts.pageSize Number of caseplans to return. Maximum of 200.
626
692
  * @param {String} opts.customerIntentId Filter by Customer Intent.
627
693
  * @param {String} opts.divisionIds Filter by Divisions.
694
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
628
695
  * getCasemanagementCaseplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
629
696
  */
630
697
  getCasemanagementCaseplans(opts) {
@@ -641,7 +708,8 @@ class CaseManagementApi {
641
708
  null,
642
709
  ['PureCloud OAuth'],
643
710
  ['application/json'],
644
- ['application/json']
711
+ ['application/json'],
712
+ opts['customHeaders']
645
713
  );
646
714
  }
647
715
 
@@ -654,6 +722,7 @@ class CaseManagementApi {
654
722
  * @param {Number} opts.pageSize Number of cases to return. Maximum of 200.
655
723
  * @param {String} opts.divisionIds Filter by Divisions
656
724
  * @param {Array.<String>} opts.expands Which fields to expand.
725
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
657
726
  * getCasemanagementCasesExternalcontact is a preview method and is subject to both breaking and non-breaking changes at any time without notice
658
727
  */
659
728
  getCasemanagementCasesExternalcontact(externalContactId, opts) {
@@ -674,7 +743,8 @@ class CaseManagementApi {
674
743
  null,
675
744
  ['PureCloud OAuth'],
676
745
  ['application/json'],
677
- ['application/json']
746
+ ['application/json'],
747
+ opts['customHeaders']
678
748
  );
679
749
  }
680
750
 
@@ -684,6 +754,7 @@ class CaseManagementApi {
684
754
  * @param {String} referenceId Reference
685
755
  * @param {Object} opts Optional parameters
686
756
  * @param {Object} opts.expands Which fields to expand.
757
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
687
758
  * getCasemanagementCasesReference is a preview method and is subject to both breaking and non-breaking changes at any time without notice
688
759
  */
689
760
  getCasemanagementCasesReference(referenceId, opts) {
@@ -704,7 +775,8 @@ class CaseManagementApi {
704
775
  null,
705
776
  ['PureCloud OAuth'],
706
777
  ['application/json'],
707
- ['application/json']
778
+ ['application/json'],
779
+ opts['customHeaders']
708
780
  );
709
781
  }
710
782
 
@@ -713,9 +785,13 @@ class CaseManagementApi {
713
785
  *
714
786
  * @param {String} caseId Case ID
715
787
  * @param {Object} body Date due
788
+ * @param {Object} opts Optional parameters
789
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
716
790
  * patchCasemanagementCaseDatedue is a preview method and is subject to both breaking and non-breaking changes at any time without notice
717
791
  */
718
- patchCasemanagementCaseDatedue(caseId, body) {
792
+ patchCasemanagementCaseDatedue(caseId, body, opts) {
793
+ opts = opts || {};
794
+
719
795
  // verify the required parameter 'caseId' is set
720
796
  if (caseId === undefined || caseId === null || caseId === '') {
721
797
  throw 'Missing the required parameter "caseId" when calling patchCasemanagementCaseDatedue';
@@ -735,7 +811,8 @@ class CaseManagementApi {
735
811
  body,
736
812
  ['PureCloud OAuth'],
737
813
  ['application/json'],
738
- ['application/json']
814
+ ['application/json'],
815
+ opts['customHeaders']
739
816
  );
740
817
  }
741
818
 
@@ -744,9 +821,13 @@ class CaseManagementApi {
744
821
  *
745
822
  * @param {String} caseId Case ID
746
823
  * @param {Object} body Priority
824
+ * @param {Object} opts Optional parameters
825
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
747
826
  * patchCasemanagementCasePriority is a preview method and is subject to both breaking and non-breaking changes at any time without notice
748
827
  */
749
- patchCasemanagementCasePriority(caseId, body) {
828
+ patchCasemanagementCasePriority(caseId, body, opts) {
829
+ opts = opts || {};
830
+
750
831
  // verify the required parameter 'caseId' is set
751
832
  if (caseId === undefined || caseId === null || caseId === '') {
752
833
  throw 'Missing the required parameter "caseId" when calling patchCasemanagementCasePriority';
@@ -766,7 +847,8 @@ class CaseManagementApi {
766
847
  body,
767
848
  ['PureCloud OAuth'],
768
849
  ['application/json'],
769
- ['application/json']
850
+ ['application/json'],
851
+ opts['customHeaders']
770
852
  );
771
853
  }
772
854
 
@@ -775,9 +857,13 @@ class CaseManagementApi {
775
857
  *
776
858
  * @param {String} caseId Case ID
777
859
  * @param {Object} body Summary
860
+ * @param {Object} opts Optional parameters
861
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
778
862
  * patchCasemanagementCaseSummary is a preview method and is subject to both breaking and non-breaking changes at any time without notice
779
863
  */
780
- patchCasemanagementCaseSummary(caseId, body) {
864
+ patchCasemanagementCaseSummary(caseId, body, opts) {
865
+ opts = opts || {};
866
+
781
867
  // verify the required parameter 'caseId' is set
782
868
  if (caseId === undefined || caseId === null || caseId === '') {
783
869
  throw 'Missing the required parameter "caseId" when calling patchCasemanagementCaseSummary';
@@ -797,7 +883,8 @@ class CaseManagementApi {
797
883
  body,
798
884
  ['PureCloud OAuth'],
799
885
  ['application/json'],
800
- ['application/json']
886
+ ['application/json'],
887
+ opts['customHeaders']
801
888
  );
802
889
  }
803
890
 
@@ -806,9 +893,13 @@ class CaseManagementApi {
806
893
  *
807
894
  * @param {String} caseplanId Caseplan ID
808
895
  * @param {Object} body Caseplan
896
+ * @param {Object} opts Optional parameters
897
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
809
898
  * patchCasemanagementCaseplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
810
899
  */
811
- patchCasemanagementCaseplan(caseplanId, body) {
900
+ patchCasemanagementCaseplan(caseplanId, body, opts) {
901
+ opts = opts || {};
902
+
812
903
  // verify the required parameter 'caseplanId' is set
813
904
  if (caseplanId === undefined || caseplanId === null || caseplanId === '') {
814
905
  throw 'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplan';
@@ -828,7 +919,8 @@ class CaseManagementApi {
828
919
  body,
829
920
  ['PureCloud OAuth'],
830
921
  ['application/json'],
831
- ['application/json']
922
+ ['application/json'],
923
+ opts['customHeaders']
832
924
  );
833
925
  }
834
926
 
@@ -838,9 +930,13 @@ class CaseManagementApi {
838
930
  * @param {String} caseplanId Caseplan ID
839
931
  * @param {String} stageplanId Stageplan ID
840
932
  * @param {Object} body Stageplan
933
+ * @param {Object} opts Optional parameters
934
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
841
935
  * patchCasemanagementCaseplanStageplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
842
936
  */
843
- patchCasemanagementCaseplanStageplan(caseplanId, stageplanId, body) {
937
+ patchCasemanagementCaseplanStageplan(caseplanId, stageplanId, body, opts) {
938
+ opts = opts || {};
939
+
844
940
  // verify the required parameter 'caseplanId' is set
845
941
  if (caseplanId === undefined || caseplanId === null || caseplanId === '') {
846
942
  throw 'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplanStageplan';
@@ -864,7 +960,8 @@ class CaseManagementApi {
864
960
  body,
865
961
  ['PureCloud OAuth'],
866
962
  ['application/json'],
867
- ['application/json']
963
+ ['application/json'],
964
+ opts['customHeaders']
868
965
  );
869
966
  }
870
967
 
@@ -875,9 +972,13 @@ class CaseManagementApi {
875
972
  * @param {String} stageplanId Stageplan ID
876
973
  * @param {String} stepplanId Stepplan ID
877
974
  * @param {Object} body Stepplan
975
+ * @param {Object} opts Optional parameters
976
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
878
977
  * patchCasemanagementCaseplanStageplanStepplan is a preview method and is subject to both breaking and non-breaking changes at any time without notice
879
978
  */
880
- patchCasemanagementCaseplanStageplanStepplan(caseplanId, stageplanId, stepplanId, body) {
979
+ patchCasemanagementCaseplanStageplanStepplan(caseplanId, stageplanId, stepplanId, body, opts) {
980
+ opts = opts || {};
981
+
881
982
  // verify the required parameter 'caseplanId' is set
882
983
  if (caseplanId === undefined || caseplanId === null || caseplanId === '') {
883
984
  throw 'Missing the required parameter "caseplanId" when calling patchCasemanagementCaseplanStageplanStepplan';
@@ -905,7 +1006,8 @@ class CaseManagementApi {
905
1006
  body,
906
1007
  ['PureCloud OAuth'],
907
1008
  ['application/json'],
908
- ['application/json']
1009
+ ['application/json'],
1010
+ opts['customHeaders']
909
1011
  );
910
1012
  }
911
1013
 
@@ -915,6 +1017,7 @@ class CaseManagementApi {
915
1017
  * @param {String} caseId Case ID.
916
1018
  * @param {Object} opts Optional parameters
917
1019
  * @param {Object} opts.body Case Association
1020
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
918
1021
  * postCasemanagementCaseAssociations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
919
1022
  */
920
1023
  postCasemanagementCaseAssociations(caseId, opts) {
@@ -935,7 +1038,8 @@ class CaseManagementApi {
935
1038
  opts['body'],
936
1039
  ['PureCloud OAuth'],
937
1040
  ['application/json'],
938
- ['application/json']
1041
+ ['application/json'],
1042
+ opts['customHeaders']
939
1043
  );
940
1044
  }
941
1045
 
@@ -943,9 +1047,13 @@ class CaseManagementApi {
943
1047
  * Create a Terminate Job for a Case.
944
1048
  *
945
1049
  * @param {String} caseId Case ID
1050
+ * @param {Object} opts Optional parameters
1051
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
946
1052
  * postCasemanagementCaseTerminateJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
947
1053
  */
948
- postCasemanagementCaseTerminateJobs(caseId) {
1054
+ postCasemanagementCaseTerminateJobs(caseId, opts) {
1055
+ opts = opts || {};
1056
+
949
1057
  // verify the required parameter 'caseId' is set
950
1058
  if (caseId === undefined || caseId === null || caseId === '') {
951
1059
  throw 'Missing the required parameter "caseId" when calling postCasemanagementCaseTerminateJobs';
@@ -961,7 +1069,8 @@ class CaseManagementApi {
961
1069
  null,
962
1070
  ['PureCloud OAuth'],
963
1071
  ['application/json'],
964
- ['application/json']
1072
+ ['application/json'],
1073
+ opts['customHeaders']
965
1074
  );
966
1075
  }
967
1076
 
@@ -969,9 +1078,13 @@ class CaseManagementApi {
969
1078
  * Publish Caseplan.
970
1079
  *
971
1080
  * @param {String} caseplanId Caseplan ID
1081
+ * @param {Object} opts Optional parameters
1082
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
972
1083
  * postCasemanagementCaseplanPublish is a preview method and is subject to both breaking and non-breaking changes at any time without notice
973
1084
  */
974
- postCasemanagementCaseplanPublish(caseplanId) {
1085
+ postCasemanagementCaseplanPublish(caseplanId, opts) {
1086
+ opts = opts || {};
1087
+
975
1088
  // verify the required parameter 'caseplanId' is set
976
1089
  if (caseplanId === undefined || caseplanId === null || caseplanId === '') {
977
1090
  throw 'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanPublish';
@@ -987,7 +1100,8 @@ class CaseManagementApi {
987
1100
  null,
988
1101
  ['PureCloud OAuth'],
989
1102
  ['application/json'],
990
- ['application/json']
1103
+ ['application/json'],
1104
+ opts['customHeaders']
991
1105
  );
992
1106
  }
993
1107
 
@@ -995,9 +1109,13 @@ class CaseManagementApi {
995
1109
  * Create Caseplan version.
996
1110
  *
997
1111
  * @param {String} caseplanId Caseplan ID
1112
+ * @param {Object} opts Optional parameters
1113
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
998
1114
  * postCasemanagementCaseplanVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
999
1115
  */
1000
- postCasemanagementCaseplanVersions(caseplanId) {
1116
+ postCasemanagementCaseplanVersions(caseplanId, opts) {
1117
+ opts = opts || {};
1118
+
1001
1119
  // verify the required parameter 'caseplanId' is set
1002
1120
  if (caseplanId === undefined || caseplanId === null || caseplanId === '') {
1003
1121
  throw 'Missing the required parameter "caseplanId" when calling postCasemanagementCaseplanVersions';
@@ -1013,7 +1131,8 @@ class CaseManagementApi {
1013
1131
  null,
1014
1132
  ['PureCloud OAuth'],
1015
1133
  ['application/json'],
1016
- ['application/json']
1134
+ ['application/json'],
1135
+ opts['customHeaders']
1017
1136
  );
1018
1137
  }
1019
1138
 
@@ -1021,9 +1140,13 @@ class CaseManagementApi {
1021
1140
  * Create a Caseplan.
1022
1141
  *
1023
1142
  * @param {Object} body Caseplan
1143
+ * @param {Object} opts Optional parameters
1144
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1024
1145
  * postCasemanagementCaseplans is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1025
1146
  */
1026
- postCasemanagementCaseplans(body) {
1147
+ postCasemanagementCaseplans(body, opts) {
1148
+ opts = opts || {};
1149
+
1027
1150
  // verify the required parameter 'body' is set
1028
1151
  if (body === undefined || body === null) {
1029
1152
  throw 'Missing the required parameter "body" when calling postCasemanagementCaseplans';
@@ -1039,7 +1162,8 @@ class CaseManagementApi {
1039
1162
  body,
1040
1163
  ['PureCloud OAuth'],
1041
1164
  ['application/json'],
1042
- ['application/json']
1165
+ ['application/json'],
1166
+ opts['customHeaders']
1043
1167
  );
1044
1168
  }
1045
1169
 
@@ -1047,9 +1171,13 @@ class CaseManagementApi {
1047
1171
  * Create a Case.
1048
1172
  *
1049
1173
  * @param {Object} body Case
1174
+ * @param {Object} opts Optional parameters
1175
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1050
1176
  * postCasemanagementCases is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1051
1177
  */
1052
- postCasemanagementCases(body) {
1178
+ postCasemanagementCases(body, opts) {
1179
+ opts = opts || {};
1180
+
1053
1181
  // verify the required parameter 'body' is set
1054
1182
  if (body === undefined || body === null) {
1055
1183
  throw 'Missing the required parameter "body" when calling postCasemanagementCases';
@@ -1065,7 +1193,8 @@ class CaseManagementApi {
1065
1193
  body,
1066
1194
  ['PureCloud OAuth'],
1067
1195
  ['application/json'],
1068
- ['application/json']
1196
+ ['application/json'],
1197
+ opts['customHeaders']
1069
1198
  );
1070
1199
  }
1071
1200
 
@@ -1074,6 +1203,7 @@ class CaseManagementApi {
1074
1203
  *
1075
1204
  * @param {Object} opts Optional parameters
1076
1205
  * @param {Object} opts.body Case Association
1206
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1077
1207
  * postCasemanagementCasesAssociationsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1078
1208
  */
1079
1209
  postCasemanagementCasesAssociationsQuery(opts) {
@@ -1090,7 +1220,8 @@ class CaseManagementApi {
1090
1220
  opts['body'],
1091
1221
  ['PureCloud OAuth'],
1092
1222
  ['application/json'],
1093
- ['application/json']
1223
+ ['application/json'],
1224
+ opts['customHeaders']
1094
1225
  );
1095
1226
  }
1096
1227