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 ContentManagementApi {
5
5
  /**
6
6
  * ContentManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8
- * @version 249.0.0
8
+ * @version 250.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -26,6 +26,7 @@ class ContentManagementApi {
26
26
  * @param {String} documentId Document ID
27
27
  * @param {Object} opts Optional parameters
28
28
  * @param {Boolean} opts.override Override any lock on the document
29
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
29
30
  */
30
31
  deleteContentmanagementDocument(documentId, opts) {
31
32
  opts = opts || {};
@@ -45,7 +46,8 @@ class ContentManagementApi {
45
46
  null,
46
47
  ['PureCloud OAuth'],
47
48
  ['application/json'],
48
- ['application/json']
49
+ ['application/json'],
50
+ opts['customHeaders']
49
51
  );
50
52
  }
51
53
 
@@ -53,8 +55,12 @@ class ContentManagementApi {
53
55
  * Deletes an existing share.
54
56
  * This revokes sharing rights specified in the share record
55
57
  * @param {String} shareId Share ID
58
+ * @param {Object} opts Optional parameters
59
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
56
60
  */
57
- deleteContentmanagementShare(shareId) {
61
+ deleteContentmanagementShare(shareId, opts) {
62
+ opts = opts || {};
63
+
58
64
  // verify the required parameter 'shareId' is set
59
65
  if (shareId === undefined || shareId === null || shareId === '') {
60
66
  throw 'Missing the required parameter "shareId" when calling deleteContentmanagementShare';
@@ -70,7 +76,8 @@ class ContentManagementApi {
70
76
  null,
71
77
  ['PureCloud OAuth'],
72
78
  ['application/json'],
73
- ['application/json']
79
+ ['application/json'],
80
+ opts['customHeaders']
74
81
  );
75
82
  }
76
83
 
@@ -78,8 +85,12 @@ class ContentManagementApi {
78
85
  * Cancel the command for this status
79
86
  *
80
87
  * @param {String} statusId Status ID
88
+ * @param {Object} opts Optional parameters
89
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
81
90
  */
82
- deleteContentmanagementStatusStatusId(statusId) {
91
+ deleteContentmanagementStatusStatusId(statusId, opts) {
92
+ opts = opts || {};
93
+
83
94
  // verify the required parameter 'statusId' is set
84
95
  if (statusId === undefined || statusId === null || statusId === '') {
85
96
  throw 'Missing the required parameter "statusId" when calling deleteContentmanagementStatusStatusId';
@@ -95,7 +106,8 @@ class ContentManagementApi {
95
106
  null,
96
107
  ['PureCloud OAuth'],
97
108
  ['application/json'],
98
- ['application/json']
109
+ ['application/json'],
110
+ opts['customHeaders']
99
111
  );
100
112
  }
101
113
 
@@ -105,6 +117,7 @@ class ContentManagementApi {
105
117
  * @param {String} workspaceId Workspace ID
106
118
  * @param {Object} opts Optional parameters
107
119
  * @param {String} opts.moveChildrenToWorkspaceId New location for objects in deleted workspace.
120
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
108
121
  */
109
122
  deleteContentmanagementWorkspace(workspaceId, opts) {
110
123
  opts = opts || {};
@@ -124,7 +137,8 @@ class ContentManagementApi {
124
137
  null,
125
138
  ['PureCloud OAuth'],
126
139
  ['application/json'],
127
- ['application/json']
140
+ ['application/json'],
141
+ opts['customHeaders']
128
142
  );
129
143
  }
130
144
 
@@ -133,8 +147,12 @@ class ContentManagementApi {
133
147
  *
134
148
  * @param {String} workspaceId Workspace ID
135
149
  * @param {String} memberId Member ID
150
+ * @param {Object} opts Optional parameters
151
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
136
152
  */
137
- deleteContentmanagementWorkspaceMember(workspaceId, memberId) {
153
+ deleteContentmanagementWorkspaceMember(workspaceId, memberId, opts) {
154
+ opts = opts || {};
155
+
138
156
  // verify the required parameter 'workspaceId' is set
139
157
  if (workspaceId === undefined || workspaceId === null || workspaceId === '') {
140
158
  throw 'Missing the required parameter "workspaceId" when calling deleteContentmanagementWorkspaceMember';
@@ -154,7 +172,8 @@ class ContentManagementApi {
154
172
  null,
155
173
  ['PureCloud OAuth'],
156
174
  ['application/json'],
157
- ['application/json']
175
+ ['application/json'],
176
+ opts['customHeaders']
158
177
  );
159
178
  }
160
179
 
@@ -163,8 +182,12 @@ class ContentManagementApi {
163
182
  * Delete a tag from a workspace. Will remove this tag from all documents.
164
183
  * @param {String} workspaceId Workspace ID
165
184
  * @param {String} tagId Tag ID
185
+ * @param {Object} opts Optional parameters
186
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
166
187
  */
167
- deleteContentmanagementWorkspaceTagvalue(workspaceId, tagId) {
188
+ deleteContentmanagementWorkspaceTagvalue(workspaceId, tagId, opts) {
189
+ opts = opts || {};
190
+
168
191
  // verify the required parameter 'workspaceId' is set
169
192
  if (workspaceId === undefined || workspaceId === null || workspaceId === '') {
170
193
  throw 'Missing the required parameter "workspaceId" when calling deleteContentmanagementWorkspaceTagvalue';
@@ -184,7 +207,8 @@ class ContentManagementApi {
184
207
  null,
185
208
  ['PureCloud OAuth'],
186
209
  ['application/json'],
187
- ['application/json']
210
+ ['application/json'],
211
+ opts['customHeaders']
188
212
  );
189
213
  }
190
214
 
@@ -194,6 +218,7 @@ class ContentManagementApi {
194
218
  * @param {String} documentId Document ID
195
219
  * @param {Object} opts Optional parameters
196
220
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
221
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
197
222
  */
198
223
  getContentmanagementDocument(documentId, opts) {
199
224
  opts = opts || {};
@@ -213,7 +238,8 @@ class ContentManagementApi {
213
238
  null,
214
239
  ['PureCloud OAuth'],
215
240
  ['application/json'],
216
- ['application/json']
241
+ ['application/json'],
242
+ opts['customHeaders']
217
243
  );
218
244
  }
219
245
 
@@ -224,6 +250,7 @@ class ContentManagementApi {
224
250
  * @param {Object} opts Optional parameters
225
251
  * @param {Object} opts.disposition Request how the content will be downloaded: a file attachment or inline. Default is attachment.
226
252
  * @param {String} opts.contentType The requested format for the specified document. If supported, the document will be returned in that format. Example contentType=audio/wav
253
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
227
254
  */
228
255
  getContentmanagementDocumentContent(documentId, opts) {
229
256
  opts = opts || {};
@@ -243,7 +270,8 @@ class ContentManagementApi {
243
270
  null,
244
271
  ['PureCloud OAuth'],
245
272
  ['application/json'],
246
- ['application/json']
273
+ ['application/json'],
274
+ opts['customHeaders']
247
275
  );
248
276
  }
249
277
 
@@ -258,6 +286,7 @@ class ContentManagementApi {
258
286
  * @param {Number} opts.pageNumber Page number (default to 1)
259
287
  * @param {String} opts.sortBy name or dateCreated
260
288
  * @param {String} opts.sortOrder ascending or descending (default to ascending)
289
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
261
290
  * @deprecated
262
291
  */
263
292
  getContentmanagementDocuments(workspaceId, opts) {
@@ -278,7 +307,8 @@ class ContentManagementApi {
278
307
  null,
279
308
  ['PureCloud OAuth'],
280
309
  ['application/json'],
281
- ['application/json']
310
+ ['application/json'],
311
+ opts['customHeaders']
282
312
  );
283
313
  }
284
314
 
@@ -292,6 +322,7 @@ class ContentManagementApi {
292
322
  * @param {String} opts.sortBy name or dateCreated (default to name)
293
323
  * @param {String} opts.sortOrder ascending or descending (default to ascending)
294
324
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
325
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
295
326
  */
296
327
  getContentmanagementQuery(queryPhrase, opts) {
297
328
  opts = opts || {};
@@ -311,7 +342,8 @@ class ContentManagementApi {
311
342
  null,
312
343
  ['PureCloud OAuth'],
313
344
  ['application/json'],
314
- ['application/json']
345
+ ['application/json'],
346
+ opts['customHeaders']
315
347
  );
316
348
  }
317
349
 
@@ -319,8 +351,12 @@ class ContentManagementApi {
319
351
  * Get a Security Profile
320
352
  *
321
353
  * @param {String} securityProfileId Security Profile Id
354
+ * @param {Object} opts Optional parameters
355
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
322
356
  */
323
- getContentmanagementSecurityprofile(securityProfileId) {
357
+ getContentmanagementSecurityprofile(securityProfileId, opts) {
358
+ opts = opts || {};
359
+
324
360
  // verify the required parameter 'securityProfileId' is set
325
361
  if (securityProfileId === undefined || securityProfileId === null || securityProfileId === '') {
326
362
  throw 'Missing the required parameter "securityProfileId" when calling getContentmanagementSecurityprofile';
@@ -336,15 +372,20 @@ class ContentManagementApi {
336
372
  null,
337
373
  ['PureCloud OAuth'],
338
374
  ['application/json'],
339
- ['application/json']
375
+ ['application/json'],
376
+ opts['customHeaders']
340
377
  );
341
378
  }
342
379
 
343
380
  /**
344
381
  * Get a List of Security Profiles
345
382
  *
383
+ * @param {Object} opts Optional parameters
384
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
346
385
  */
347
- getContentmanagementSecurityprofiles() {
386
+ getContentmanagementSecurityprofiles(opts) {
387
+ opts = opts || {};
388
+
348
389
 
349
390
  return this.apiClient.callApi(
350
391
  '/api/v2/contentmanagement/securityprofiles',
@@ -356,7 +397,8 @@ class ContentManagementApi {
356
397
  null,
357
398
  ['PureCloud OAuth'],
358
399
  ['application/json'],
359
- ['application/json']
400
+ ['application/json'],
401
+ opts['customHeaders']
360
402
  );
361
403
  }
362
404
 
@@ -366,6 +408,7 @@ class ContentManagementApi {
366
408
  * @param {String} shareId Share ID
367
409
  * @param {Object} opts Optional parameters
368
410
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
411
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
369
412
  */
370
413
  getContentmanagementShare(shareId, opts) {
371
414
  opts = opts || {};
@@ -385,7 +428,8 @@ class ContentManagementApi {
385
428
  null,
386
429
  ['PureCloud OAuth'],
387
430
  ['application/json'],
388
- ['application/json']
431
+ ['application/json'],
432
+ opts['customHeaders']
389
433
  );
390
434
  }
391
435
 
@@ -397,6 +441,7 @@ class ContentManagementApi {
397
441
  * @param {Object} opts.disposition Request how the share content will be downloaded: attached as a file or inline. Default is attachment. (default to attachment)
398
442
  * @param {String} opts.contentType The requested format for the specified document. If supported, the document will be returned in that format. Example contentType=audio/wav
399
443
  * @param {Object} opts.expand Expand some document fields
444
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
400
445
  */
401
446
  getContentmanagementSharedSharedId(sharedId, opts) {
402
447
  opts = opts || {};
@@ -416,7 +461,8 @@ class ContentManagementApi {
416
461
  null,
417
462
  ['PureCloud OAuth'],
418
463
  ['application/json'],
419
- ['application/json']
464
+ ['application/json'],
465
+ opts['customHeaders']
420
466
  );
421
467
  }
422
468
 
@@ -428,6 +474,7 @@ class ContentManagementApi {
428
474
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
429
475
  * @param {Number} opts.pageSize Page size (default to 25)
430
476
  * @param {Number} opts.pageNumber Page number (default to 1)
477
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
431
478
  */
432
479
  getContentmanagementShares(opts) {
433
480
  opts = opts || {};
@@ -443,7 +490,8 @@ class ContentManagementApi {
443
490
  null,
444
491
  ['PureCloud OAuth'],
445
492
  ['application/json'],
446
- ['application/json']
493
+ ['application/json'],
494
+ opts['customHeaders']
447
495
  );
448
496
  }
449
497
 
@@ -453,6 +501,7 @@ class ContentManagementApi {
453
501
  * @param {Object} opts Optional parameters
454
502
  * @param {Number} opts.pageSize Page size (default to 25)
455
503
  * @param {Number} opts.pageNumber Page number (default to 1)
504
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
456
505
  */
457
506
  getContentmanagementStatus(opts) {
458
507
  opts = opts || {};
@@ -468,7 +517,8 @@ class ContentManagementApi {
468
517
  null,
469
518
  ['PureCloud OAuth'],
470
519
  ['application/json'],
471
- ['application/json']
520
+ ['application/json'],
521
+ opts['customHeaders']
472
522
  );
473
523
  }
474
524
 
@@ -476,8 +526,12 @@ class ContentManagementApi {
476
526
  * Get a status.
477
527
  *
478
528
  * @param {String} statusId Status ID
529
+ * @param {Object} opts Optional parameters
530
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
479
531
  */
480
- getContentmanagementStatusStatusId(statusId) {
532
+ getContentmanagementStatusStatusId(statusId, opts) {
533
+ opts = opts || {};
534
+
481
535
  // verify the required parameter 'statusId' is set
482
536
  if (statusId === undefined || statusId === null || statusId === '') {
483
537
  throw 'Missing the required parameter "statusId" when calling getContentmanagementStatusStatusId';
@@ -493,15 +547,20 @@ class ContentManagementApi {
493
547
  null,
494
548
  ['PureCloud OAuth'],
495
549
  ['application/json'],
496
- ['application/json']
550
+ ['application/json'],
551
+ opts['customHeaders']
497
552
  );
498
553
  }
499
554
 
500
555
  /**
501
556
  * Get usage details.
502
557
  *
558
+ * @param {Object} opts Optional parameters
559
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
503
560
  */
504
- getContentmanagementUsage() {
561
+ getContentmanagementUsage(opts) {
562
+ opts = opts || {};
563
+
505
564
 
506
565
  return this.apiClient.callApi(
507
566
  '/api/v2/contentmanagement/usage',
@@ -513,7 +572,8 @@ class ContentManagementApi {
513
572
  null,
514
573
  ['PureCloud OAuth'],
515
574
  ['application/json'],
516
- ['application/json']
575
+ ['application/json'],
576
+ opts['customHeaders']
517
577
  );
518
578
  }
519
579
 
@@ -523,6 +583,7 @@ class ContentManagementApi {
523
583
  * @param {String} workspaceId Workspace ID
524
584
  * @param {Object} opts Optional parameters
525
585
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
586
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
526
587
  */
527
588
  getContentmanagementWorkspace(workspaceId, opts) {
528
589
  opts = opts || {};
@@ -542,7 +603,8 @@ class ContentManagementApi {
542
603
  null,
543
604
  ['PureCloud OAuth'],
544
605
  ['application/json'],
545
- ['application/json']
606
+ ['application/json'],
607
+ opts['customHeaders']
546
608
  );
547
609
  }
548
610
 
@@ -556,6 +618,7 @@ class ContentManagementApi {
556
618
  * @param {Number} opts.pageNumber Page number (default to 1)
557
619
  * @param {String} opts.sortBy name or dateCreated
558
620
  * @param {String} opts.sortOrder ascending or descending (default to ascending)
621
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
559
622
  */
560
623
  getContentmanagementWorkspaceDocuments(workspaceId, opts) {
561
624
  opts = opts || {};
@@ -575,7 +638,8 @@ class ContentManagementApi {
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
 
@@ -586,6 +650,7 @@ class ContentManagementApi {
586
650
  * @param {String} memberId Member ID
587
651
  * @param {Object} opts Optional parameters
588
652
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
653
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
589
654
  */
590
655
  getContentmanagementWorkspaceMember(workspaceId, memberId, opts) {
591
656
  opts = opts || {};
@@ -609,7 +674,8 @@ class ContentManagementApi {
609
674
  null,
610
675
  ['PureCloud OAuth'],
611
676
  ['application/json'],
612
- ['application/json']
677
+ ['application/json'],
678
+ opts['customHeaders']
613
679
  );
614
680
  }
615
681
 
@@ -621,6 +687,7 @@ class ContentManagementApi {
621
687
  * @param {Number} opts.pageSize Page size (default to 25)
622
688
  * @param {Number} opts.pageNumber Page number (default to 1)
623
689
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
690
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
624
691
  */
625
692
  getContentmanagementWorkspaceMembers(workspaceId, opts) {
626
693
  opts = opts || {};
@@ -640,7 +707,8 @@ class ContentManagementApi {
640
707
  null,
641
708
  ['PureCloud OAuth'],
642
709
  ['application/json'],
643
- ['application/json']
710
+ ['application/json'],
711
+ opts['customHeaders']
644
712
  );
645
713
  }
646
714
 
@@ -651,6 +719,7 @@ class ContentManagementApi {
651
719
  * @param {String} tagId Tag ID
652
720
  * @param {Object} opts Optional parameters
653
721
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
722
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
654
723
  */
655
724
  getContentmanagementWorkspaceTagvalue(workspaceId, tagId, opts) {
656
725
  opts = opts || {};
@@ -674,7 +743,8 @@ class ContentManagementApi {
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
 
@@ -687,6 +757,7 @@ class ContentManagementApi {
687
757
  * @param {Number} opts.pageSize Page size (default to 25)
688
758
  * @param {Number} opts.pageNumber Page number (default to 1)
689
759
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
760
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
690
761
  */
691
762
  getContentmanagementWorkspaceTagvalues(workspaceId, opts) {
692
763
  opts = opts || {};
@@ -706,7 +777,8 @@ class ContentManagementApi {
706
777
  null,
707
778
  ['PureCloud OAuth'],
708
779
  ['application/json'],
709
- ['application/json']
780
+ ['application/json'],
781
+ opts['customHeaders']
710
782
  );
711
783
  }
712
784
 
@@ -718,6 +790,7 @@ class ContentManagementApi {
718
790
  * @param {Number} opts.pageNumber Page number (default to 1)
719
791
  * @param {Array.<String>} opts.access Requested access level.
720
792
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
793
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
721
794
  */
722
795
  getContentmanagementWorkspaces(opts) {
723
796
  opts = opts || {};
@@ -733,7 +806,8 @@ class ContentManagementApi {
733
806
  null,
734
807
  ['PureCloud OAuth'],
735
808
  ['application/json'],
736
- ['application/json']
809
+ ['application/json'],
810
+ opts['customHeaders']
737
811
  );
738
812
  }
739
813
 
@@ -745,6 +819,7 @@ class ContentManagementApi {
745
819
  * @param {Object} opts Optional parameters
746
820
  * @param {Object} opts.expand Expand some document fields
747
821
  * @param {Boolean} opts.override Override any lock on the document
822
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
748
823
  */
749
824
  postContentmanagementDocument(documentId, body, opts) {
750
825
  opts = opts || {};
@@ -768,7 +843,8 @@ class ContentManagementApi {
768
843
  body,
769
844
  ['PureCloud OAuth'],
770
845
  ['application/json'],
771
- ['application/json']
846
+ ['application/json'],
847
+ opts['customHeaders']
772
848
  );
773
849
  }
774
850
 
@@ -779,6 +855,7 @@ class ContentManagementApi {
779
855
  * @param {Object} body Replace Request
780
856
  * @param {Object} opts Optional parameters
781
857
  * @param {Boolean} opts.override Override any lock on the document
858
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
782
859
  */
783
860
  postContentmanagementDocumentContent(documentId, body, opts) {
784
861
  opts = opts || {};
@@ -802,7 +879,8 @@ class ContentManagementApi {
802
879
  body,
803
880
  ['PureCloud OAuth'],
804
881
  ['application/json'],
805
- ['application/json']
882
+ ['application/json'],
883
+ opts['customHeaders']
806
884
  );
807
885
  }
808
886
 
@@ -814,6 +892,7 @@ class ContentManagementApi {
814
892
  * @param {String} opts.copySource Copy a document within a workspace or to a new workspace. Provide a document ID as the copy source.
815
893
  * @param {String} opts.moveSource Move a document to a new workspace. Provide a document ID as the move source.
816
894
  * @param {Boolean} opts.override Override any lock on the source document
895
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
817
896
  */
818
897
  postContentmanagementDocuments(body, opts) {
819
898
  opts = opts || {};
@@ -833,7 +912,8 @@ class ContentManagementApi {
833
912
  body,
834
913
  ['PureCloud OAuth'],
835
914
  ['application/json'],
836
- ['application/json']
915
+ ['application/json'],
916
+ opts['customHeaders']
837
917
  );
838
918
  }
839
919
 
@@ -843,6 +923,7 @@ class ContentManagementApi {
843
923
  * @param {Object} body Allows for a filtered query returning facet information
844
924
  * @param {Object} opts Optional parameters
845
925
  * @param {Object} opts.expand Expand some document fields
926
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
846
927
  */
847
928
  postContentmanagementQuery(body, opts) {
848
929
  opts = opts || {};
@@ -862,7 +943,8 @@ class ContentManagementApi {
862
943
  body,
863
944
  ['PureCloud OAuth'],
864
945
  ['application/json'],
865
- ['application/json']
946
+ ['application/json'],
947
+ opts['customHeaders']
866
948
  );
867
949
  }
868
950
 
@@ -870,8 +952,12 @@ class ContentManagementApi {
870
952
  * Creates a new share or updates an existing share if the entity has already been shared
871
953
  *
872
954
  * @param {Object} body CreateShareRequest - entity id and type and a single member or list of members are required
955
+ * @param {Object} opts Optional parameters
956
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
873
957
  */
874
- postContentmanagementShares(body) {
958
+ postContentmanagementShares(body, opts) {
959
+ opts = opts || {};
960
+
875
961
  // verify the required parameter 'body' is set
876
962
  if (body === undefined || body === null) {
877
963
  throw 'Missing the required parameter "body" when calling postContentmanagementShares';
@@ -887,7 +973,8 @@ class ContentManagementApi {
887
973
  body,
888
974
  ['PureCloud OAuth'],
889
975
  ['application/json'],
890
- ['application/json']
976
+ ['application/json'],
977
+ opts['customHeaders']
891
978
  );
892
979
  }
893
980
 
@@ -896,8 +983,12 @@ class ContentManagementApi {
896
983
  *
897
984
  * @param {String} workspaceId Workspace ID
898
985
  * @param {Object} body tag
986
+ * @param {Object} opts Optional parameters
987
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
899
988
  */
900
- postContentmanagementWorkspaceTagvalues(workspaceId, body) {
989
+ postContentmanagementWorkspaceTagvalues(workspaceId, body, opts) {
990
+ opts = opts || {};
991
+
901
992
  // verify the required parameter 'workspaceId' is set
902
993
  if (workspaceId === undefined || workspaceId === null || workspaceId === '') {
903
994
  throw 'Missing the required parameter "workspaceId" when calling postContentmanagementWorkspaceTagvalues';
@@ -917,7 +1008,8 @@ class ContentManagementApi {
917
1008
  body,
918
1009
  ['PureCloud OAuth'],
919
1010
  ['application/json'],
920
- ['application/json']
1011
+ ['application/json'],
1012
+ opts['customHeaders']
921
1013
  );
922
1014
  }
923
1015
 
@@ -928,6 +1020,7 @@ class ContentManagementApi {
928
1020
  * @param {Object} body query
929
1021
  * @param {Object} opts Optional parameters
930
1022
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
1023
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
931
1024
  */
932
1025
  postContentmanagementWorkspaceTagvaluesQuery(workspaceId, body, opts) {
933
1026
  opts = opts || {};
@@ -951,7 +1044,8 @@ class ContentManagementApi {
951
1044
  body,
952
1045
  ['PureCloud OAuth'],
953
1046
  ['application/json'],
954
- ['application/json']
1047
+ ['application/json'],
1048
+ opts['customHeaders']
955
1049
  );
956
1050
  }
957
1051
 
@@ -959,8 +1053,12 @@ class ContentManagementApi {
959
1053
  * Create a group workspace
960
1054
  *
961
1055
  * @param {Object} body Workspace
1056
+ * @param {Object} opts Optional parameters
1057
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
962
1058
  */
963
- postContentmanagementWorkspaces(body) {
1059
+ postContentmanagementWorkspaces(body, opts) {
1060
+ opts = opts || {};
1061
+
964
1062
  // verify the required parameter 'body' is set
965
1063
  if (body === undefined || body === null) {
966
1064
  throw 'Missing the required parameter "body" when calling postContentmanagementWorkspaces';
@@ -976,7 +1074,8 @@ class ContentManagementApi {
976
1074
  body,
977
1075
  ['PureCloud OAuth'],
978
1076
  ['application/json'],
979
- ['application/json']
1077
+ ['application/json'],
1078
+ opts['customHeaders']
980
1079
  );
981
1080
  }
982
1081
 
@@ -985,8 +1084,12 @@ class ContentManagementApi {
985
1084
  *
986
1085
  * @param {String} workspaceId Workspace ID
987
1086
  * @param {Object} body Workspace
1087
+ * @param {Object} opts Optional parameters
1088
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
988
1089
  */
989
- putContentmanagementWorkspace(workspaceId, body) {
1090
+ putContentmanagementWorkspace(workspaceId, body, opts) {
1091
+ opts = opts || {};
1092
+
990
1093
  // verify the required parameter 'workspaceId' is set
991
1094
  if (workspaceId === undefined || workspaceId === null || workspaceId === '') {
992
1095
  throw 'Missing the required parameter "workspaceId" when calling putContentmanagementWorkspace';
@@ -1006,7 +1109,8 @@ class ContentManagementApi {
1006
1109
  body,
1007
1110
  ['PureCloud OAuth'],
1008
1111
  ['application/json'],
1009
- ['application/json']
1112
+ ['application/json'],
1113
+ opts['customHeaders']
1010
1114
  );
1011
1115
  }
1012
1116
 
@@ -1016,8 +1120,12 @@ class ContentManagementApi {
1016
1120
  * @param {String} workspaceId Workspace ID
1017
1121
  * @param {String} memberId Member ID
1018
1122
  * @param {Object} body Workspace Member
1123
+ * @param {Object} opts Optional parameters
1124
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1019
1125
  */
1020
- putContentmanagementWorkspaceMember(workspaceId, memberId, body) {
1126
+ putContentmanagementWorkspaceMember(workspaceId, memberId, body, opts) {
1127
+ opts = opts || {};
1128
+
1021
1129
  // verify the required parameter 'workspaceId' is set
1022
1130
  if (workspaceId === undefined || workspaceId === null || workspaceId === '') {
1023
1131
  throw 'Missing the required parameter "workspaceId" when calling putContentmanagementWorkspaceMember';
@@ -1041,7 +1149,8 @@ class ContentManagementApi {
1041
1149
  body,
1042
1150
  ['PureCloud OAuth'],
1043
1151
  ['application/json'],
1044
- ['application/json']
1152
+ ['application/json'],
1153
+ opts['customHeaders']
1045
1154
  );
1046
1155
  }
1047
1156
 
@@ -1051,8 +1160,12 @@ class ContentManagementApi {
1051
1160
  * @param {String} workspaceId Workspace ID
1052
1161
  * @param {String} tagId Tag ID
1053
1162
  * @param {Object} body Workspace
1163
+ * @param {Object} opts Optional parameters
1164
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1054
1165
  */
1055
- putContentmanagementWorkspaceTagvalue(workspaceId, tagId, body) {
1166
+ putContentmanagementWorkspaceTagvalue(workspaceId, tagId, body, opts) {
1167
+ opts = opts || {};
1168
+
1056
1169
  // verify the required parameter 'workspaceId' is set
1057
1170
  if (workspaceId === undefined || workspaceId === null || workspaceId === '') {
1058
1171
  throw 'Missing the required parameter "workspaceId" when calling putContentmanagementWorkspaceTagvalue';
@@ -1076,7 +1189,8 @@ class ContentManagementApi {
1076
1189
  body,
1077
1190
  ['PureCloud OAuth'],
1078
1191
  ['application/json'],
1079
- ['application/json']
1192
+ ['application/json'],
1193
+ opts['customHeaders']
1080
1194
  );
1081
1195
  }
1082
1196