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 SocialMediaApi {
5
5
  /**
6
6
  * SocialMedia service.
7
7
  * @module purecloud-platform-client-v2/api/SocialMediaApi
8
- * @version 249.0.0
8
+ * @version 250.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -24,8 +24,12 @@ class SocialMediaApi {
24
24
  * Delete an escalation rule.
25
25
  *
26
26
  * @param {String} escalationRuleId escalationRuleId
27
+ * @param {Object} opts Optional parameters
28
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
27
29
  */
28
- deleteSocialmediaEscalationrule(escalationRuleId) {
30
+ deleteSocialmediaEscalationrule(escalationRuleId, opts) {
31
+ opts = opts || {};
32
+
29
33
  // verify the required parameter 'escalationRuleId' is set
30
34
  if (escalationRuleId === undefined || escalationRuleId === null || escalationRuleId === '') {
31
35
  throw 'Missing the required parameter "escalationRuleId" when calling deleteSocialmediaEscalationrule';
@@ -41,7 +45,8 @@ class SocialMediaApi {
41
45
  null,
42
46
  ['PureCloud OAuth'],
43
47
  ['application/json'],
44
- ['application/json']
48
+ ['application/json'],
49
+ opts['customHeaders']
45
50
  );
46
51
  }
47
52
 
@@ -49,9 +54,13 @@ class SocialMediaApi {
49
54
  * Delete a social media message.
50
55
  *
51
56
  * @param {String} messageId messageId
57
+ * @param {Object} opts Optional parameters
58
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
52
59
  * deleteSocialmediaMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
53
60
  */
54
- deleteSocialmediaMessage(messageId) {
61
+ deleteSocialmediaMessage(messageId, opts) {
62
+ opts = opts || {};
63
+
55
64
  // verify the required parameter 'messageId' is set
56
65
  if (messageId === undefined || messageId === null || messageId === '') {
57
66
  throw 'Missing the required parameter "messageId" when calling deleteSocialmediaMessage';
@@ -67,7 +76,8 @@ class SocialMediaApi {
67
76
  null,
68
77
  ['PureCloud OAuth'],
69
78
  ['application/json'],
70
- ['application/json']
79
+ ['application/json'],
80
+ opts['customHeaders']
71
81
  );
72
82
  }
73
83
 
@@ -77,6 +87,7 @@ class SocialMediaApi {
77
87
  * @param {String} topicId topicId
78
88
  * @param {Object} opts Optional parameters
79
89
  * @param {Boolean} opts.hardDelete Determines whether a Social topic should be soft-deleted or hard-deleted (permanently removed). Set to false (soft-delete) by default.
90
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
80
91
  */
81
92
  deleteSocialmediaTopic(topicId, opts) {
82
93
  opts = opts || {};
@@ -96,7 +107,8 @@ class SocialMediaApi {
96
107
  null,
97
108
  ['PureCloud OAuth'],
98
109
  ['application/json'],
99
- ['application/json']
110
+ ['application/json'],
111
+ opts['customHeaders']
100
112
  );
101
113
  }
102
114
 
@@ -107,6 +119,7 @@ class SocialMediaApi {
107
119
  * @param {String} facebookIngestionRuleId facebookIngestionRuleId
108
120
  * @param {Object} opts Optional parameters
109
121
  * @param {Boolean} opts.hardDelete Determines whether a Facebook data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
122
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
110
123
  */
111
124
  deleteSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId, facebookIngestionRuleId, opts) {
112
125
  opts = opts || {};
@@ -130,7 +143,8 @@ class SocialMediaApi {
130
143
  null,
131
144
  ['PureCloud OAuth'],
132
145
  ['application/json'],
133
- ['application/json']
146
+ ['application/json'],
147
+ opts['customHeaders']
134
148
  );
135
149
  }
136
150
 
@@ -141,6 +155,7 @@ class SocialMediaApi {
141
155
  * @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
142
156
  * @param {Object} opts Optional parameters
143
157
  * @param {Boolean} opts.hardDelete Determines whether a Google Business Profile data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
158
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
144
159
  * deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
145
160
  */
146
161
  deleteSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId, googleBusinessProfileIngestionRuleId, opts) {
@@ -165,7 +180,8 @@ class SocialMediaApi {
165
180
  null,
166
181
  ['PureCloud OAuth'],
167
182
  ['application/json'],
168
- ['application/json']
183
+ ['application/json'],
184
+ opts['customHeaders']
169
185
  );
170
186
  }
171
187
 
@@ -176,6 +192,7 @@ class SocialMediaApi {
176
192
  * @param {String} instagramIngestionRuleId instagramIngestionRuleId
177
193
  * @param {Object} opts Optional parameters
178
194
  * @param {Boolean} opts.hardDelete Determines whether a Instagram data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
195
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
179
196
  */
180
197
  deleteSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(topicId, instagramIngestionRuleId, opts) {
181
198
  opts = opts || {};
@@ -199,7 +216,8 @@ class SocialMediaApi {
199
216
  null,
200
217
  ['PureCloud OAuth'],
201
218
  ['application/json'],
202
- ['application/json']
219
+ ['application/json'],
220
+ opts['customHeaders']
203
221
  );
204
222
  }
205
223
 
@@ -210,6 +228,7 @@ class SocialMediaApi {
210
228
  * @param {String} openId openId
211
229
  * @param {Object} opts Optional parameters
212
230
  * @param {Boolean} opts.hardDelete Determines whether a open data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
231
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
213
232
  */
214
233
  deleteSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
215
234
  opts = opts || {};
@@ -233,7 +252,8 @@ class SocialMediaApi {
233
252
  null,
234
253
  ['PureCloud OAuth'],
235
254
  ['application/json'],
236
- ['application/json']
255
+ ['application/json'],
256
+ opts['customHeaders']
237
257
  );
238
258
  }
239
259
 
@@ -244,6 +264,7 @@ class SocialMediaApi {
244
264
  * @param {String} twitterIngestionRuleId twitterIngestionRuleId
245
265
  * @param {Object} opts Optional parameters
246
266
  * @param {Boolean} opts.hardDelete Determines whether a X (formally Twitter) data ingestion rule should be soft-deleted (have it's state set to deleted) or hard-deleted (permanently removed). Set to false (soft-delete) by default. (default to false)
267
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
247
268
  */
248
269
  deleteSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId, twitterIngestionRuleId, opts) {
249
270
  opts = opts || {};
@@ -267,7 +288,8 @@ class SocialMediaApi {
267
288
  null,
268
289
  ['PureCloud OAuth'],
269
290
  ['application/json'],
270
- ['application/json']
291
+ ['application/json'],
292
+ opts['customHeaders']
271
293
  );
272
294
  }
273
295
 
@@ -275,8 +297,12 @@ class SocialMediaApi {
275
297
  * Get status for async query for social media aggregates
276
298
  *
277
299
  * @param {String} jobId jobId
300
+ * @param {Object} opts Optional parameters
301
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
278
302
  */
279
- getSocialmediaAnalyticsAggregatesJob(jobId) {
303
+ getSocialmediaAnalyticsAggregatesJob(jobId, opts) {
304
+ opts = opts || {};
305
+
280
306
  // verify the required parameter 'jobId' is set
281
307
  if (jobId === undefined || jobId === null || jobId === '') {
282
308
  throw 'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsAggregatesJob';
@@ -292,7 +318,8 @@ class SocialMediaApi {
292
318
  null,
293
319
  ['PureCloud OAuth'],
294
320
  ['application/json'],
295
- ['application/json']
321
+ ['application/json'],
322
+ opts['customHeaders']
296
323
  );
297
324
  }
298
325
 
@@ -302,6 +329,7 @@ class SocialMediaApi {
302
329
  * @param {String} jobId jobId
303
330
  * @param {Object} opts Optional parameters
304
331
  * @param {String} opts.cursor Cursor token to retrieve next page
332
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
305
333
  */
306
334
  getSocialmediaAnalyticsAggregatesJobResults(jobId, opts) {
307
335
  opts = opts || {};
@@ -321,7 +349,8 @@ class SocialMediaApi {
321
349
  null,
322
350
  ['PureCloud OAuth'],
323
351
  ['application/json'],
324
- ['application/json']
352
+ ['application/json'],
353
+ opts['customHeaders']
325
354
  );
326
355
  }
327
356
 
@@ -329,8 +358,12 @@ class SocialMediaApi {
329
358
  * Get status for async query for social media messages job
330
359
  *
331
360
  * @param {String} jobId jobId
361
+ * @param {Object} opts Optional parameters
362
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
332
363
  */
333
- getSocialmediaAnalyticsMessagesJob(jobId) {
364
+ getSocialmediaAnalyticsMessagesJob(jobId, opts) {
365
+ opts = opts || {};
366
+
334
367
  // verify the required parameter 'jobId' is set
335
368
  if (jobId === undefined || jobId === null || jobId === '') {
336
369
  throw 'Missing the required parameter "jobId" when calling getSocialmediaAnalyticsMessagesJob';
@@ -346,7 +379,8 @@ class SocialMediaApi {
346
379
  null,
347
380
  ['PureCloud OAuth'],
348
381
  ['application/json'],
349
- ['application/json']
382
+ ['application/json'],
383
+ opts['customHeaders']
350
384
  );
351
385
  }
352
386
 
@@ -356,6 +390,7 @@ class SocialMediaApi {
356
390
  * @param {String} jobId jobId
357
391
  * @param {Object} opts Optional parameters
358
392
  * @param {String} opts.cursor Cursor token to retrieve next page
393
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
359
394
  */
360
395
  getSocialmediaAnalyticsMessagesJobResults(jobId, opts) {
361
396
  opts = opts || {};
@@ -375,7 +410,8 @@ class SocialMediaApi {
375
410
  null,
376
411
  ['PureCloud OAuth'],
377
412
  ['application/json'],
378
- ['application/json']
413
+ ['application/json'],
414
+ opts['customHeaders']
379
415
  );
380
416
  }
381
417
 
@@ -385,6 +421,7 @@ class SocialMediaApi {
385
421
  * @param {String} escalationRuleId escalationRuleId
386
422
  * @param {Object} opts Optional parameters
387
423
  * @param {Object} opts.expand which fields, if any, to expand
424
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
388
425
  */
389
426
  getSocialmediaEscalationrule(escalationRuleId, opts) {
390
427
  opts = opts || {};
@@ -404,7 +441,8 @@ class SocialMediaApi {
404
441
  null,
405
442
  ['PureCloud OAuth'],
406
443
  ['application/json'],
407
- ['application/json']
444
+ ['application/json'],
445
+ opts['customHeaders']
408
446
  );
409
447
  }
410
448
 
@@ -415,6 +453,7 @@ class SocialMediaApi {
415
453
  * @param {Object} opts Optional parameters
416
454
  * @param {Number} opts.pageNumber Page number (default to 1)
417
455
  * @param {Number} opts.pageSize Page size (default to 25)
456
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
418
457
  */
419
458
  getSocialmediaEscalationrules(divisionId, opts) {
420
459
  opts = opts || {};
@@ -434,7 +473,8 @@ class SocialMediaApi {
434
473
  null,
435
474
  ['PureCloud OAuth'],
436
475
  ['application/json'],
437
- ['application/json']
476
+ ['application/json'],
477
+ opts['customHeaders']
438
478
  );
439
479
  }
440
480
 
@@ -444,6 +484,7 @@ class SocialMediaApi {
444
484
  * @param {String} topicId topicId
445
485
  * @param {Object} opts Optional parameters
446
486
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
487
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
447
488
  */
448
489
  getSocialmediaTopic(topicId, opts) {
449
490
  opts = opts || {};
@@ -463,7 +504,8 @@ class SocialMediaApi {
463
504
  null,
464
505
  ['PureCloud OAuth'],
465
506
  ['application/json'],
466
- ['application/json']
507
+ ['application/json'],
508
+ opts['customHeaders']
467
509
  );
468
510
  }
469
511
 
@@ -475,6 +517,7 @@ class SocialMediaApi {
475
517
  * @param {Number} opts.pageNumber Page number (default to 1)
476
518
  * @param {Number} opts.pageSize Page size (default to 25)
477
519
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
520
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
478
521
  */
479
522
  getSocialmediaTopicDataingestionrules(topicId, opts) {
480
523
  opts = opts || {};
@@ -494,7 +537,8 @@ class SocialMediaApi {
494
537
  null,
495
538
  ['PureCloud OAuth'],
496
539
  ['application/json'],
497
- ['application/json']
540
+ ['application/json'],
541
+ opts['customHeaders']
498
542
  );
499
543
  }
500
544
 
@@ -505,6 +549,7 @@ class SocialMediaApi {
505
549
  * @param {String} facebookIngestionRuleId facebookIngestionRuleId
506
550
  * @param {Object} opts Optional parameters
507
551
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
552
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
508
553
  */
509
554
  getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId, facebookIngestionRuleId, opts) {
510
555
  opts = opts || {};
@@ -528,7 +573,8 @@ class SocialMediaApi {
528
573
  null,
529
574
  ['PureCloud OAuth'],
530
575
  ['application/json'],
531
- ['application/json']
576
+ ['application/json'],
577
+ opts['customHeaders']
532
578
  );
533
579
  }
534
580
 
@@ -540,6 +586,7 @@ class SocialMediaApi {
540
586
  * @param {String} dataIngestionRuleVersion version
541
587
  * @param {Object} opts Optional parameters
542
588
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
589
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
543
590
  */
544
591
  getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersion(topicId, facebookIngestionRuleId, dataIngestionRuleVersion, opts) {
545
592
  opts = opts || {};
@@ -567,7 +614,8 @@ class SocialMediaApi {
567
614
  null,
568
615
  ['PureCloud OAuth'],
569
616
  ['application/json'],
570
- ['application/json']
617
+ ['application/json'],
618
+ opts['customHeaders']
571
619
  );
572
620
  }
573
621
 
@@ -580,6 +628,7 @@ class SocialMediaApi {
580
628
  * @param {Number} opts.pageNumber Page number (default to 1)
581
629
  * @param {Number} opts.pageSize Page size (default to 25)
582
630
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
631
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
583
632
  */
584
633
  getSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleIdVersions(topicId, facebookIngestionRuleId, opts) {
585
634
  opts = opts || {};
@@ -603,7 +652,8 @@ class SocialMediaApi {
603
652
  null,
604
653
  ['PureCloud OAuth'],
605
654
  ['application/json'],
606
- ['application/json']
655
+ ['application/json'],
656
+ opts['customHeaders']
607
657
  );
608
658
  }
609
659
 
@@ -614,6 +664,7 @@ class SocialMediaApi {
614
664
  * @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
615
665
  * @param {Object} opts Optional parameters
616
666
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
667
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
617
668
  * getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
618
669
  */
619
670
  getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId, googleBusinessProfileIngestionRuleId, opts) {
@@ -638,7 +689,8 @@ class SocialMediaApi {
638
689
  null,
639
690
  ['PureCloud OAuth'],
640
691
  ['application/json'],
641
- ['application/json']
692
+ ['application/json'],
693
+ opts['customHeaders']
642
694
  );
643
695
  }
644
696
 
@@ -650,6 +702,7 @@ class SocialMediaApi {
650
702
  * @param {String} dataIngestionRuleVersion version
651
703
  * @param {Object} opts Optional parameters
652
704
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
705
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
653
706
  * getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
654
707
  */
655
708
  getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersion(topicId, googleBusinessProfileIngestionRuleId, dataIngestionRuleVersion, opts) {
@@ -678,7 +731,8 @@ class SocialMediaApi {
678
731
  null,
679
732
  ['PureCloud OAuth'],
680
733
  ['application/json'],
681
- ['application/json']
734
+ ['application/json'],
735
+ opts['customHeaders']
682
736
  );
683
737
  }
684
738
 
@@ -691,6 +745,7 @@ class SocialMediaApi {
691
745
  * @param {Number} opts.pageNumber Page number (default to 1)
692
746
  * @param {Number} opts.pageSize Page size (default to 25)
693
747
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
748
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
694
749
  * getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
695
750
  */
696
751
  getSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleIdVersions(topicId, googleBusinessProfileIngestionRuleId, opts) {
@@ -715,7 +770,8 @@ class SocialMediaApi {
715
770
  null,
716
771
  ['PureCloud OAuth'],
717
772
  ['application/json'],
718
- ['application/json']
773
+ ['application/json'],
774
+ opts['customHeaders']
719
775
  );
720
776
  }
721
777
 
@@ -726,6 +782,7 @@ class SocialMediaApi {
726
782
  * @param {String} instagramIngestionRuleId instagramIngestionRuleId
727
783
  * @param {Object} opts Optional parameters
728
784
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
785
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
729
786
  */
730
787
  getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(topicId, instagramIngestionRuleId, opts) {
731
788
  opts = opts || {};
@@ -749,7 +806,8 @@ class SocialMediaApi {
749
806
  null,
750
807
  ['PureCloud OAuth'],
751
808
  ['application/json'],
752
- ['application/json']
809
+ ['application/json'],
810
+ opts['customHeaders']
753
811
  );
754
812
  }
755
813
 
@@ -761,6 +819,7 @@ class SocialMediaApi {
761
819
  * @param {String} dataIngestionRuleVersion version
762
820
  * @param {Object} opts Optional parameters
763
821
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
822
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
764
823
  */
765
824
  getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersion(topicId, instagramIngestionRuleId, dataIngestionRuleVersion, opts) {
766
825
  opts = opts || {};
@@ -788,7 +847,8 @@ class SocialMediaApi {
788
847
  null,
789
848
  ['PureCloud OAuth'],
790
849
  ['application/json'],
791
- ['application/json']
850
+ ['application/json'],
851
+ opts['customHeaders']
792
852
  );
793
853
  }
794
854
 
@@ -801,6 +861,7 @@ class SocialMediaApi {
801
861
  * @param {Number} opts.pageNumber Page number (default to 1)
802
862
  * @param {Number} opts.pageSize Page size (default to 25)
803
863
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
864
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
804
865
  */
805
866
  getSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleIdVersions(topicId, instagramIngestionRuleId, opts) {
806
867
  opts = opts || {};
@@ -824,7 +885,8 @@ class SocialMediaApi {
824
885
  null,
825
886
  ['PureCloud OAuth'],
826
887
  ['application/json'],
827
- ['application/json']
888
+ ['application/json'],
889
+ opts['customHeaders']
828
890
  );
829
891
  }
830
892
 
@@ -835,6 +897,7 @@ class SocialMediaApi {
835
897
  * @param {String} openId openId
836
898
  * @param {Object} opts Optional parameters
837
899
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
900
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
838
901
  */
839
902
  getSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
840
903
  opts = opts || {};
@@ -858,7 +921,8 @@ class SocialMediaApi {
858
921
  null,
859
922
  ['PureCloud OAuth'],
860
923
  ['application/json'],
861
- ['application/json']
924
+ ['application/json'],
925
+ opts['customHeaders']
862
926
  );
863
927
  }
864
928
 
@@ -870,6 +934,7 @@ class SocialMediaApi {
870
934
  * @param {String} dataIngestionRuleVersion version
871
935
  * @param {Object} opts Optional parameters
872
936
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
937
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
873
938
  */
874
939
  getSocialmediaTopicDataingestionrulesOpenOpenIdVersion(topicId, openId, dataIngestionRuleVersion, opts) {
875
940
  opts = opts || {};
@@ -897,7 +962,8 @@ class SocialMediaApi {
897
962
  null,
898
963
  ['PureCloud OAuth'],
899
964
  ['application/json'],
900
- ['application/json']
965
+ ['application/json'],
966
+ opts['customHeaders']
901
967
  );
902
968
  }
903
969
 
@@ -910,6 +976,7 @@ class SocialMediaApi {
910
976
  * @param {Number} opts.pageNumber Page number (default to 1)
911
977
  * @param {Number} opts.pageSize Page size (default to 25)
912
978
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
979
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
913
980
  */
914
981
  getSocialmediaTopicDataingestionrulesOpenOpenIdVersions(topicId, openId, opts) {
915
982
  opts = opts || {};
@@ -933,7 +1000,8 @@ class SocialMediaApi {
933
1000
  null,
934
1001
  ['PureCloud OAuth'],
935
1002
  ['application/json'],
936
- ['application/json']
1003
+ ['application/json'],
1004
+ opts['customHeaders']
937
1005
  );
938
1006
  }
939
1007
 
@@ -944,6 +1012,7 @@ class SocialMediaApi {
944
1012
  * @param {String} twitterIngestionRuleId twitterIngestionRuleId
945
1013
  * @param {Object} opts Optional parameters
946
1014
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
1015
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
947
1016
  */
948
1017
  getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId, twitterIngestionRuleId, opts) {
949
1018
  opts = opts || {};
@@ -967,7 +1036,8 @@ class SocialMediaApi {
967
1036
  null,
968
1037
  ['PureCloud OAuth'],
969
1038
  ['application/json'],
970
- ['application/json']
1039
+ ['application/json'],
1040
+ opts['customHeaders']
971
1041
  );
972
1042
  }
973
1043
 
@@ -979,6 +1049,7 @@ class SocialMediaApi {
979
1049
  * @param {String} dataIngestionRuleVersion version
980
1050
  * @param {Object} opts Optional parameters
981
1051
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted item in the result.
1052
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
982
1053
  */
983
1054
  getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersion(topicId, twitterIngestionRuleId, dataIngestionRuleVersion, opts) {
984
1055
  opts = opts || {};
@@ -1006,7 +1077,8 @@ class SocialMediaApi {
1006
1077
  null,
1007
1078
  ['PureCloud OAuth'],
1008
1079
  ['application/json'],
1009
- ['application/json']
1080
+ ['application/json'],
1081
+ opts['customHeaders']
1010
1082
  );
1011
1083
  }
1012
1084
 
@@ -1019,6 +1091,7 @@ class SocialMediaApi {
1019
1091
  * @param {Number} opts.pageNumber Page number (default to 1)
1020
1092
  * @param {Number} opts.pageSize Page size (default to 25)
1021
1093
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
1094
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1022
1095
  */
1023
1096
  getSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleIdVersions(topicId, twitterIngestionRuleId, opts) {
1024
1097
  opts = opts || {};
@@ -1042,7 +1115,8 @@ class SocialMediaApi {
1042
1115
  null,
1043
1116
  ['PureCloud OAuth'],
1044
1117
  ['application/json'],
1045
- ['application/json']
1118
+ ['application/json'],
1119
+ opts['customHeaders']
1046
1120
  );
1047
1121
  }
1048
1122
 
@@ -1056,6 +1130,7 @@ class SocialMediaApi {
1056
1130
  * @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
1057
1131
  * @param {String} opts.name Search for topic by name that contains the given search string, search is case insensitive
1058
1132
  * @param {Array.<String>} opts.ids One or more topic IDs to search through the topics.
1133
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1059
1134
  */
1060
1135
  getSocialmediaTopics(opts) {
1061
1136
  opts = opts || {};
@@ -1071,7 +1146,8 @@ class SocialMediaApi {
1071
1146
  null,
1072
1147
  ['PureCloud OAuth'],
1073
1148
  ['application/json'],
1074
- ['application/json']
1149
+ ['application/json'],
1150
+ opts['customHeaders']
1075
1151
  );
1076
1152
  }
1077
1153
 
@@ -1081,6 +1157,7 @@ class SocialMediaApi {
1081
1157
  * @param {String} topicId topicId
1082
1158
  * @param {Object} opts Optional parameters
1083
1159
  * @param {Object} opts.body
1160
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1084
1161
  */
1085
1162
  patchSocialmediaTopic(topicId, opts) {
1086
1163
  opts = opts || {};
@@ -1100,7 +1177,8 @@ class SocialMediaApi {
1100
1177
  opts['body'],
1101
1178
  ['PureCloud OAuth'],
1102
1179
  ['application/json'],
1103
- ['application/json']
1180
+ ['application/json'],
1181
+ opts['customHeaders']
1104
1182
  );
1105
1183
  }
1106
1184
 
@@ -1111,6 +1189,7 @@ class SocialMediaApi {
1111
1189
  * @param {String} facebookIngestionRuleId facebookIngestionRuleId
1112
1190
  * @param {Object} opts Optional parameters
1113
1191
  * @param {Object} opts.body
1192
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1114
1193
  */
1115
1194
  patchSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId, facebookIngestionRuleId, opts) {
1116
1195
  opts = opts || {};
@@ -1134,7 +1213,8 @@ class SocialMediaApi {
1134
1213
  opts['body'],
1135
1214
  ['PureCloud OAuth'],
1136
1215
  ['application/json'],
1137
- ['application/json']
1216
+ ['application/json'],
1217
+ opts['customHeaders']
1138
1218
  );
1139
1219
  }
1140
1220
 
@@ -1145,6 +1225,7 @@ class SocialMediaApi {
1145
1225
  * @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
1146
1226
  * @param {Object} opts Optional parameters
1147
1227
  * @param {Object} opts.body
1228
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1148
1229
  * patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1149
1230
  */
1150
1231
  patchSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId, googleBusinessProfileIngestionRuleId, opts) {
@@ -1169,7 +1250,8 @@ class SocialMediaApi {
1169
1250
  opts['body'],
1170
1251
  ['PureCloud OAuth'],
1171
1252
  ['application/json'],
1172
- ['application/json']
1253
+ ['application/json'],
1254
+ opts['customHeaders']
1173
1255
  );
1174
1256
  }
1175
1257
 
@@ -1180,6 +1262,7 @@ class SocialMediaApi {
1180
1262
  * @param {String} instagramIngestionRuleId instagramIngestionRuleId
1181
1263
  * @param {Object} opts Optional parameters
1182
1264
  * @param {Object} opts.body
1265
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1183
1266
  */
1184
1267
  patchSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(topicId, instagramIngestionRuleId, opts) {
1185
1268
  opts = opts || {};
@@ -1203,7 +1286,8 @@ class SocialMediaApi {
1203
1286
  opts['body'],
1204
1287
  ['PureCloud OAuth'],
1205
1288
  ['application/json'],
1206
- ['application/json']
1289
+ ['application/json'],
1290
+ opts['customHeaders']
1207
1291
  );
1208
1292
  }
1209
1293
 
@@ -1214,6 +1298,7 @@ class SocialMediaApi {
1214
1298
  * @param {String} openId openId
1215
1299
  * @param {Object} opts Optional parameters
1216
1300
  * @param {Object} opts.body
1301
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1217
1302
  */
1218
1303
  patchSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
1219
1304
  opts = opts || {};
@@ -1237,7 +1322,8 @@ class SocialMediaApi {
1237
1322
  opts['body'],
1238
1323
  ['PureCloud OAuth'],
1239
1324
  ['application/json'],
1240
- ['application/json']
1325
+ ['application/json'],
1326
+ opts['customHeaders']
1241
1327
  );
1242
1328
  }
1243
1329
 
@@ -1248,6 +1334,7 @@ class SocialMediaApi {
1248
1334
  * @param {String} twitterIngestionRuleId twitterIngestionRuleId
1249
1335
  * @param {Object} opts Optional parameters
1250
1336
  * @param {Object} opts.body
1337
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1251
1338
  */
1252
1339
  patchSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId, twitterIngestionRuleId, opts) {
1253
1340
  opts = opts || {};
@@ -1271,7 +1358,8 @@ class SocialMediaApi {
1271
1358
  opts['body'],
1272
1359
  ['PureCloud OAuth'],
1273
1360
  ['application/json'],
1274
- ['application/json']
1361
+ ['application/json'],
1362
+ opts['customHeaders']
1275
1363
  );
1276
1364
  }
1277
1365
 
@@ -1279,8 +1367,12 @@ class SocialMediaApi {
1279
1367
  * Query for social media aggregates asynchronously
1280
1368
  *
1281
1369
  * @param {Object} body query
1370
+ * @param {Object} opts Optional parameters
1371
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1282
1372
  */
1283
- postSocialmediaAnalyticsAggregatesJobs(body) {
1373
+ postSocialmediaAnalyticsAggregatesJobs(body, opts) {
1374
+ opts = opts || {};
1375
+
1284
1376
  // verify the required parameter 'body' is set
1285
1377
  if (body === undefined || body === null) {
1286
1378
  throw 'Missing the required parameter "body" when calling postSocialmediaAnalyticsAggregatesJobs';
@@ -1296,7 +1388,8 @@ class SocialMediaApi {
1296
1388
  body,
1297
1389
  ['PureCloud OAuth'],
1298
1390
  ['application/json'],
1299
- ['application/json']
1391
+ ['application/json'],
1392
+ opts['customHeaders']
1300
1393
  );
1301
1394
  }
1302
1395
 
@@ -1304,8 +1397,12 @@ class SocialMediaApi {
1304
1397
  * Query for social media messages asynchronously
1305
1398
  *
1306
1399
  * @param {Object} body query
1400
+ * @param {Object} opts Optional parameters
1401
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1307
1402
  */
1308
- postSocialmediaAnalyticsMessagesJobs(body) {
1403
+ postSocialmediaAnalyticsMessagesJobs(body, opts) {
1404
+ opts = opts || {};
1405
+
1309
1406
  // verify the required parameter 'body' is set
1310
1407
  if (body === undefined || body === null) {
1311
1408
  throw 'Missing the required parameter "body" when calling postSocialmediaAnalyticsMessagesJobs';
@@ -1321,7 +1418,8 @@ class SocialMediaApi {
1321
1418
  body,
1322
1419
  ['PureCloud OAuth'],
1323
1420
  ['application/json'],
1324
- ['application/json']
1421
+ ['application/json'],
1422
+ opts['customHeaders']
1325
1423
  );
1326
1424
  }
1327
1425
 
@@ -1330,6 +1428,7 @@ class SocialMediaApi {
1330
1428
  *
1331
1429
  * @param {Object} opts Optional parameters
1332
1430
  * @param {Object} opts.body
1431
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1333
1432
  */
1334
1433
  postSocialmediaEscalationrules(opts) {
1335
1434
  opts = opts || {};
@@ -1345,7 +1444,8 @@ class SocialMediaApi {
1345
1444
  opts['body'],
1346
1445
  ['PureCloud OAuth'],
1347
1446
  ['application/json'],
1348
- ['application/json']
1447
+ ['application/json'],
1448
+ opts['customHeaders']
1349
1449
  );
1350
1450
  }
1351
1451
 
@@ -1355,6 +1455,7 @@ class SocialMediaApi {
1355
1455
  * @param {String} divisionId One division ID
1356
1456
  * @param {Object} opts Optional parameters
1357
1457
  * @param {Object} opts.body
1458
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1358
1459
  */
1359
1460
  postSocialmediaEscalationsMessages(divisionId, opts) {
1360
1461
  opts = opts || {};
@@ -1374,7 +1475,8 @@ class SocialMediaApi {
1374
1475
  opts['body'],
1375
1476
  ['PureCloud OAuth'],
1376
1477
  ['application/json'],
1377
- ['application/json']
1478
+ ['application/json'],
1479
+ opts['customHeaders']
1378
1480
  );
1379
1481
  }
1380
1482
 
@@ -1384,6 +1486,7 @@ class SocialMediaApi {
1384
1486
  * @param {String} topicId topicId
1385
1487
  * @param {Object} opts Optional parameters
1386
1488
  * @param {Object} opts.body
1489
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1387
1490
  */
1388
1491
  postSocialmediaTopicDataingestionrulesFacebook(topicId, opts) {
1389
1492
  opts = opts || {};
@@ -1403,7 +1506,8 @@ class SocialMediaApi {
1403
1506
  opts['body'],
1404
1507
  ['PureCloud OAuth'],
1405
1508
  ['application/json'],
1406
- ['application/json']
1509
+ ['application/json'],
1510
+ opts['customHeaders']
1407
1511
  );
1408
1512
  }
1409
1513
 
@@ -1413,6 +1517,7 @@ class SocialMediaApi {
1413
1517
  * @param {String} topicId topicId
1414
1518
  * @param {Object} opts Optional parameters
1415
1519
  * @param {Object} opts.body
1520
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1416
1521
  * postSocialmediaTopicDataingestionrulesGooglebusinessprofile is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1417
1522
  */
1418
1523
  postSocialmediaTopicDataingestionrulesGooglebusinessprofile(topicId, opts) {
@@ -1433,7 +1538,8 @@ class SocialMediaApi {
1433
1538
  opts['body'],
1434
1539
  ['PureCloud OAuth'],
1435
1540
  ['application/json'],
1436
- ['application/json']
1541
+ ['application/json'],
1542
+ opts['customHeaders']
1437
1543
  );
1438
1544
  }
1439
1545
 
@@ -1443,6 +1549,7 @@ class SocialMediaApi {
1443
1549
  * @param {String} topicId topicId
1444
1550
  * @param {Object} opts Optional parameters
1445
1551
  * @param {Object} opts.body
1552
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1446
1553
  */
1447
1554
  postSocialmediaTopicDataingestionrulesInstagram(topicId, opts) {
1448
1555
  opts = opts || {};
@@ -1462,7 +1569,8 @@ class SocialMediaApi {
1462
1569
  opts['body'],
1463
1570
  ['PureCloud OAuth'],
1464
1571
  ['application/json'],
1465
- ['application/json']
1572
+ ['application/json'],
1573
+ opts['customHeaders']
1466
1574
  );
1467
1575
  }
1468
1576
 
@@ -1472,6 +1580,7 @@ class SocialMediaApi {
1472
1580
  * @param {String} topicId topicId
1473
1581
  * @param {Object} opts Optional parameters
1474
1582
  * @param {Object} opts.body
1583
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1475
1584
  */
1476
1585
  postSocialmediaTopicDataingestionrulesOpen(topicId, opts) {
1477
1586
  opts = opts || {};
@@ -1491,7 +1600,8 @@ class SocialMediaApi {
1491
1600
  opts['body'],
1492
1601
  ['PureCloud OAuth'],
1493
1602
  ['application/json'],
1494
- ['application/json']
1603
+ ['application/json'],
1604
+ opts['customHeaders']
1495
1605
  );
1496
1606
  }
1497
1607
 
@@ -1501,8 +1611,12 @@ class SocialMediaApi {
1501
1611
  * @param {String} topicId Topic ID
1502
1612
  * @param {String} ruleId Data Ingestion Rule ID
1503
1613
  * @param {Array.<Object>} body NormalizedMessage
1614
+ * @param {Object} opts Optional parameters
1615
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1504
1616
  */
1505
- postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk(topicId, ruleId, body) {
1617
+ postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk(topicId, ruleId, body, opts) {
1618
+ opts = opts || {};
1619
+
1506
1620
  // verify the required parameter 'topicId' is set
1507
1621
  if (topicId === undefined || topicId === null || topicId === '') {
1508
1622
  throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdMessagesBulk';
@@ -1526,7 +1640,8 @@ class SocialMediaApi {
1526
1640
  body,
1527
1641
  ['PureCloud OAuth'],
1528
1642
  ['application/json'],
1529
- ['application/json']
1643
+ ['application/json'],
1644
+ opts['customHeaders']
1530
1645
  );
1531
1646
  }
1532
1647
 
@@ -1536,8 +1651,12 @@ class SocialMediaApi {
1536
1651
  * @param {String} topicId Topic ID
1537
1652
  * @param {String} ruleId Data Ingestion Rule ID
1538
1653
  * @param {Object} body NormalizedEvent
1654
+ * @param {Object} opts Optional parameters
1655
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1539
1656
  */
1540
- postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk(topicId, ruleId, body) {
1657
+ postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk(topicId, ruleId, body, opts) {
1658
+ opts = opts || {};
1659
+
1541
1660
  // verify the required parameter 'topicId' is set
1542
1661
  if (topicId === undefined || topicId === null || topicId === '') {
1543
1662
  throw 'Missing the required parameter "topicId" when calling postSocialmediaTopicDataingestionrulesOpenRuleIdReactionsBulk';
@@ -1561,7 +1680,8 @@ class SocialMediaApi {
1561
1680
  body,
1562
1681
  ['PureCloud OAuth'],
1563
1682
  ['application/json'],
1564
- ['application/json']
1683
+ ['application/json'],
1684
+ opts['customHeaders']
1565
1685
  );
1566
1686
  }
1567
1687
 
@@ -1571,6 +1691,7 @@ class SocialMediaApi {
1571
1691
  * @param {String} topicId topicId
1572
1692
  * @param {Object} opts Optional parameters
1573
1693
  * @param {Object} opts.body
1694
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1574
1695
  */
1575
1696
  postSocialmediaTopicDataingestionrulesTwitter(topicId, opts) {
1576
1697
  opts = opts || {};
@@ -1590,7 +1711,8 @@ class SocialMediaApi {
1590
1711
  opts['body'],
1591
1712
  ['PureCloud OAuth'],
1592
1713
  ['application/json'],
1593
- ['application/json']
1714
+ ['application/json'],
1715
+ opts['customHeaders']
1594
1716
  );
1595
1717
  }
1596
1718
 
@@ -1599,6 +1721,7 @@ class SocialMediaApi {
1599
1721
  *
1600
1722
  * @param {Object} opts Optional parameters
1601
1723
  * @param {Object} opts.body
1724
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1602
1725
  */
1603
1726
  postSocialmediaTopics(opts) {
1604
1727
  opts = opts || {};
@@ -1614,7 +1737,8 @@ class SocialMediaApi {
1614
1737
  opts['body'],
1615
1738
  ['PureCloud OAuth'],
1616
1739
  ['application/json'],
1617
- ['application/json']
1740
+ ['application/json'],
1741
+ opts['customHeaders']
1618
1742
  );
1619
1743
  }
1620
1744
 
@@ -1622,8 +1746,12 @@ class SocialMediaApi {
1622
1746
  * Retrieves historical tweet count for search terms, optional countries list and the current limit and usage for the organization.
1623
1747
  *
1624
1748
  * @param {Object} body TwitterDataHistoricalTweetRequest
1749
+ * @param {Object} opts Optional parameters
1750
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1625
1751
  */
1626
- postSocialmediaTwitterHistoricalTweets(body) {
1752
+ postSocialmediaTwitterHistoricalTweets(body, opts) {
1753
+ opts = opts || {};
1754
+
1627
1755
  // verify the required parameter 'body' is set
1628
1756
  if (body === undefined || body === null) {
1629
1757
  throw 'Missing the required parameter "body" when calling postSocialmediaTwitterHistoricalTweets';
@@ -1639,7 +1767,8 @@ class SocialMediaApi {
1639
1767
  body,
1640
1768
  ['PureCloud OAuth'],
1641
1769
  ['application/json'],
1642
- ['application/json']
1770
+ ['application/json'],
1771
+ opts['customHeaders']
1643
1772
  );
1644
1773
  }
1645
1774
 
@@ -1649,6 +1778,7 @@ class SocialMediaApi {
1649
1778
  * @param {String} escalationRuleId escalationRuleId
1650
1779
  * @param {Object} opts Optional parameters
1651
1780
  * @param {Object} opts.body
1781
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1652
1782
  */
1653
1783
  putSocialmediaEscalationrule(escalationRuleId, opts) {
1654
1784
  opts = opts || {};
@@ -1668,7 +1798,8 @@ class SocialMediaApi {
1668
1798
  opts['body'],
1669
1799
  ['PureCloud OAuth'],
1670
1800
  ['application/json'],
1671
- ['application/json']
1801
+ ['application/json'],
1802
+ opts['customHeaders']
1672
1803
  );
1673
1804
  }
1674
1805
 
@@ -1679,6 +1810,7 @@ class SocialMediaApi {
1679
1810
  * @param {String} facebookIngestionRuleId facebookIngestionRuleId
1680
1811
  * @param {Object} opts Optional parameters
1681
1812
  * @param {Object} opts.body
1813
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1682
1814
  */
1683
1815
  putSocialmediaTopicDataingestionrulesFacebookFacebookIngestionRuleId(topicId, facebookIngestionRuleId, opts) {
1684
1816
  opts = opts || {};
@@ -1702,7 +1834,8 @@ class SocialMediaApi {
1702
1834
  opts['body'],
1703
1835
  ['PureCloud OAuth'],
1704
1836
  ['application/json'],
1705
- ['application/json']
1837
+ ['application/json'],
1838
+ opts['customHeaders']
1706
1839
  );
1707
1840
  }
1708
1841
 
@@ -1713,6 +1846,7 @@ class SocialMediaApi {
1713
1846
  * @param {String} googleBusinessProfileIngestionRuleId googleBusinessProfileIngestionRuleId
1714
1847
  * @param {Object} opts Optional parameters
1715
1848
  * @param {Object} opts.body
1849
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1716
1850
  * putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1717
1851
  */
1718
1852
  putSocialmediaTopicDataingestionrulesGooglebusinessprofileGoogleBusinessProfileIngestionRuleId(topicId, googleBusinessProfileIngestionRuleId, opts) {
@@ -1737,7 +1871,8 @@ class SocialMediaApi {
1737
1871
  opts['body'],
1738
1872
  ['PureCloud OAuth'],
1739
1873
  ['application/json'],
1740
- ['application/json']
1874
+ ['application/json'],
1875
+ opts['customHeaders']
1741
1876
  );
1742
1877
  }
1743
1878
 
@@ -1748,6 +1883,7 @@ class SocialMediaApi {
1748
1883
  * @param {String} instagramIngestionRuleId instagramIngestionRuleId
1749
1884
  * @param {Object} opts Optional parameters
1750
1885
  * @param {Object} opts.body
1886
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1751
1887
  */
1752
1888
  putSocialmediaTopicDataingestionrulesInstagramInstagramIngestionRuleId(topicId, instagramIngestionRuleId, opts) {
1753
1889
  opts = opts || {};
@@ -1771,7 +1907,8 @@ class SocialMediaApi {
1771
1907
  opts['body'],
1772
1908
  ['PureCloud OAuth'],
1773
1909
  ['application/json'],
1774
- ['application/json']
1910
+ ['application/json'],
1911
+ opts['customHeaders']
1775
1912
  );
1776
1913
  }
1777
1914
 
@@ -1782,6 +1919,7 @@ class SocialMediaApi {
1782
1919
  * @param {String} openId openId
1783
1920
  * @param {Object} opts Optional parameters
1784
1921
  * @param {Object} opts.body
1922
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1785
1923
  */
1786
1924
  putSocialmediaTopicDataingestionrulesOpenOpenId(topicId, openId, opts) {
1787
1925
  opts = opts || {};
@@ -1805,7 +1943,8 @@ class SocialMediaApi {
1805
1943
  opts['body'],
1806
1944
  ['PureCloud OAuth'],
1807
1945
  ['application/json'],
1808
- ['application/json']
1946
+ ['application/json'],
1947
+ opts['customHeaders']
1809
1948
  );
1810
1949
  }
1811
1950
 
@@ -1816,6 +1955,7 @@ class SocialMediaApi {
1816
1955
  * @param {String} twitterIngestionRuleId twitterIngestionRuleId
1817
1956
  * @param {Object} opts Optional parameters
1818
1957
  * @param {Object} opts.body
1958
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1819
1959
  */
1820
1960
  putSocialmediaTopicDataingestionrulesTwitterTwitterIngestionRuleId(topicId, twitterIngestionRuleId, opts) {
1821
1961
  opts = opts || {};
@@ -1839,7 +1979,8 @@ class SocialMediaApi {
1839
1979
  opts['body'],
1840
1980
  ['PureCloud OAuth'],
1841
1981
  ['application/json'],
1842
- ['application/json']
1982
+ ['application/json'],
1983
+ opts['customHeaders']
1843
1984
  );
1844
1985
  }
1845
1986