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 LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 249.0.0
8
+ * @version 250.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -24,8 +24,12 @@ class LanguageUnderstandingApi {
24
24
  * Delete an NLU Domain.
25
25
  *
26
26
  * @param {String} domainId ID of the NLU domain.
27
+ * @param {Object} opts Optional parameters
28
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
27
29
  */
28
- deleteLanguageunderstandingDomain(domainId) {
30
+ deleteLanguageunderstandingDomain(domainId, opts) {
31
+ opts = opts || {};
32
+
29
33
  // verify the required parameter 'domainId' is set
30
34
  if (domainId === undefined || domainId === null || domainId === '') {
31
35
  throw 'Missing the required parameter "domainId" when calling deleteLanguageunderstandingDomain';
@@ -41,7 +45,8 @@ class LanguageUnderstandingApi {
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
 
@@ -50,8 +55,12 @@ class LanguageUnderstandingApi {
50
55
  *
51
56
  * @param {String} domainId ID of the NLU domain.
52
57
  * @param {String} feedbackId ID of the Feedback
58
+ * @param {Object} opts Optional parameters
59
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
53
60
  */
54
- deleteLanguageunderstandingDomainFeedbackFeedbackId(domainId, feedbackId) {
61
+ deleteLanguageunderstandingDomainFeedbackFeedbackId(domainId, feedbackId, opts) {
62
+ opts = opts || {};
63
+
55
64
  // verify the required parameter 'domainId' is set
56
65
  if (domainId === undefined || domainId === null || domainId === '') {
57
66
  throw 'Missing the required parameter "domainId" when calling deleteLanguageunderstandingDomainFeedbackFeedbackId';
@@ -71,7 +80,8 @@ class LanguageUnderstandingApi {
71
80
  null,
72
81
  ['PureCloud OAuth'],
73
82
  ['application/json'],
74
- ['application/json']
83
+ ['application/json'],
84
+ opts['customHeaders']
75
85
  );
76
86
  }
77
87
 
@@ -80,8 +90,12 @@ class LanguageUnderstandingApi {
80
90
  *
81
91
  * @param {String} domainId ID of the NLU domain.
82
92
  * @param {String} domainVersionId ID of the NLU domain version.
93
+ * @param {Object} opts Optional parameters
94
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
83
95
  */
84
- deleteLanguageunderstandingDomainVersion(domainId, domainVersionId) {
96
+ deleteLanguageunderstandingDomainVersion(domainId, domainVersionId, opts) {
97
+ opts = opts || {};
98
+
85
99
  // verify the required parameter 'domainId' is set
86
100
  if (domainId === undefined || domainId === null || domainId === '') {
87
101
  throw 'Missing the required parameter "domainId" when calling deleteLanguageunderstandingDomainVersion';
@@ -101,7 +115,8 @@ class LanguageUnderstandingApi {
101
115
  null,
102
116
  ['PureCloud OAuth'],
103
117
  ['application/json'],
104
- ['application/json']
118
+ ['application/json'],
119
+ opts['customHeaders']
105
120
  );
106
121
  }
107
122
 
@@ -109,8 +124,12 @@ class LanguageUnderstandingApi {
109
124
  * Delete a miner.
110
125
  *
111
126
  * @param {String} minerId Miner ID
127
+ * @param {Object} opts Optional parameters
128
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
112
129
  */
113
- deleteLanguageunderstandingMiner(minerId) {
130
+ deleteLanguageunderstandingMiner(minerId, opts) {
131
+ opts = opts || {};
132
+
114
133
  // verify the required parameter 'minerId' is set
115
134
  if (minerId === undefined || minerId === null || minerId === '') {
116
135
  throw 'Missing the required parameter "minerId" when calling deleteLanguageunderstandingMiner';
@@ -126,7 +145,8 @@ class LanguageUnderstandingApi {
126
145
  null,
127
146
  ['PureCloud OAuth'],
128
147
  ['application/json'],
129
- ['application/json']
148
+ ['application/json'],
149
+ opts['customHeaders']
130
150
  );
131
151
  }
132
152
 
@@ -135,8 +155,12 @@ class LanguageUnderstandingApi {
135
155
  *
136
156
  * @param {String} minerId Miner ID
137
157
  * @param {String} draftId Draft ID
158
+ * @param {Object} opts Optional parameters
159
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
138
160
  */
139
- deleteLanguageunderstandingMinerDraft(minerId, draftId) {
161
+ deleteLanguageunderstandingMinerDraft(minerId, draftId, opts) {
162
+ opts = opts || {};
163
+
140
164
  // verify the required parameter 'minerId' is set
141
165
  if (minerId === undefined || minerId === null || minerId === '') {
142
166
  throw 'Missing the required parameter "minerId" when calling deleteLanguageunderstandingMinerDraft';
@@ -156,7 +180,8 @@ class LanguageUnderstandingApi {
156
180
  null,
157
181
  ['PureCloud OAuth'],
158
182
  ['application/json'],
159
- ['application/json']
183
+ ['application/json'],
184
+ opts['customHeaders']
160
185
  );
161
186
  }
162
187
 
@@ -164,8 +189,12 @@ class LanguageUnderstandingApi {
164
189
  * Find an NLU Domain.
165
190
  *
166
191
  * @param {String} domainId ID of the NLU domain.
192
+ * @param {Object} opts Optional parameters
193
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
167
194
  */
168
- getLanguageunderstandingDomain(domainId) {
195
+ getLanguageunderstandingDomain(domainId, opts) {
196
+ opts = opts || {};
197
+
169
198
  // verify the required parameter 'domainId' is set
170
199
  if (domainId === undefined || domainId === null || domainId === '') {
171
200
  throw 'Missing the required parameter "domainId" when calling getLanguageunderstandingDomain';
@@ -181,7 +210,8 @@ class LanguageUnderstandingApi {
181
210
  null,
182
211
  ['PureCloud OAuth'],
183
212
  ['application/json'],
184
- ['application/json']
213
+ ['application/json'],
214
+ opts['customHeaders']
185
215
  );
186
216
  }
187
217
 
@@ -202,6 +232,7 @@ class LanguageUnderstandingApi {
202
232
  * @param {Boolean} opts.includeTrainingUtterances Include Training Utterances. By default they're included. (default to true)
203
233
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned. This is considered only when enableCursorPagination=true
204
234
  * @param {Array.<String>} opts.fields Fields and properties to get, comma-separated
235
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
205
236
  */
206
237
  getLanguageunderstandingDomainFeedback(domainId, opts) {
207
238
  opts = opts || {};
@@ -221,7 +252,8 @@ class LanguageUnderstandingApi {
221
252
  null,
222
253
  ['PureCloud OAuth'],
223
254
  ['application/json'],
224
- ['application/json']
255
+ ['application/json'],
256
+ opts['customHeaders']
225
257
  );
226
258
  }
227
259
 
@@ -232,6 +264,7 @@ class LanguageUnderstandingApi {
232
264
  * @param {String} feedbackId ID of the Feedback
233
265
  * @param {Object} opts Optional parameters
234
266
  * @param {Array.<String>} opts.fields Fields and properties to get, comma-separated
267
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
235
268
  */
236
269
  getLanguageunderstandingDomainFeedbackFeedbackId(domainId, feedbackId, opts) {
237
270
  opts = opts || {};
@@ -255,7 +288,8 @@ class LanguageUnderstandingApi {
255
288
  null,
256
289
  ['PureCloud OAuth'],
257
290
  ['application/json'],
258
- ['application/json']
291
+ ['application/json'],
292
+ opts['customHeaders']
259
293
  );
260
294
  }
261
295
 
@@ -266,6 +300,7 @@ class LanguageUnderstandingApi {
266
300
  * @param {String} domainVersionId ID of the NLU domain version.
267
301
  * @param {Object} opts Optional parameters
268
302
  * @param {Boolean} opts.includeUtterances Whether utterances for intent definition should be included when marshalling response.
303
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
269
304
  */
270
305
  getLanguageunderstandingDomainVersion(domainId, domainVersionId, opts) {
271
306
  opts = opts || {};
@@ -289,7 +324,8 @@ class LanguageUnderstandingApi {
289
324
  null,
290
325
  ['PureCloud OAuth'],
291
326
  ['application/json'],
292
- ['application/json']
327
+ ['application/json'],
328
+ opts['customHeaders']
293
329
  );
294
330
  }
295
331
 
@@ -298,8 +334,12 @@ class LanguageUnderstandingApi {
298
334
  *
299
335
  * @param {String} domainId ID of the NLU domain.
300
336
  * @param {String} domainVersionId ID of the NLU domain version.
337
+ * @param {Object} opts Optional parameters
338
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
301
339
  */
302
- getLanguageunderstandingDomainVersionReport(domainId, domainVersionId) {
340
+ getLanguageunderstandingDomainVersionReport(domainId, domainVersionId, opts) {
341
+ opts = opts || {};
342
+
303
343
  // verify the required parameter 'domainId' is set
304
344
  if (domainId === undefined || domainId === null || domainId === '') {
305
345
  throw 'Missing the required parameter "domainId" when calling getLanguageunderstandingDomainVersionReport';
@@ -319,7 +359,8 @@ class LanguageUnderstandingApi {
319
359
  null,
320
360
  ['PureCloud OAuth'],
321
361
  ['application/json'],
322
- ['application/json']
362
+ ['application/json'],
363
+ opts['customHeaders']
323
364
  );
324
365
  }
325
366
 
@@ -331,6 +372,7 @@ class LanguageUnderstandingApi {
331
372
  * @param {Boolean} opts.includeUtterances Whether utterances for intent definition should be included when marshalling response.
332
373
  * @param {Number} opts.pageNumber Page number (default to 1)
333
374
  * @param {Number} opts.pageSize Page size (default to 25)
375
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
334
376
  */
335
377
  getLanguageunderstandingDomainVersions(domainId, opts) {
336
378
  opts = opts || {};
@@ -350,7 +392,8 @@ class LanguageUnderstandingApi {
350
392
  null,
351
393
  ['PureCloud OAuth'],
352
394
  ['application/json'],
353
- ['application/json']
395
+ ['application/json'],
396
+ opts['customHeaders']
354
397
  );
355
398
  }
356
399
 
@@ -360,6 +403,7 @@ class LanguageUnderstandingApi {
360
403
  * @param {Object} opts Optional parameters
361
404
  * @param {Number} opts.pageNumber Page number (default to 1)
362
405
  * @param {Number} opts.pageSize Page size (default to 25)
406
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
363
407
  */
364
408
  getLanguageunderstandingDomains(opts) {
365
409
  opts = opts || {};
@@ -375,7 +419,8 @@ class LanguageUnderstandingApi {
375
419
  null,
376
420
  ['PureCloud OAuth'],
377
421
  ['application/json'],
378
- ['application/json']
422
+ ['application/json'],
423
+ opts['customHeaders']
379
424
  );
380
425
  }
381
426
 
@@ -389,6 +434,7 @@ class LanguageUnderstandingApi {
389
434
  * @param {String} opts.text The phrase text filter applied to the listing
390
435
  * @param {Object} opts.sortOrder The sort order for the listing (default to desc)
391
436
  * @param {Object} opts.sortBy The field to sort by for the listing (default to dateModified)
437
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
392
438
  */
393
439
  getLanguageunderstandingIgnorephrase(languageCode, opts) {
394
440
  opts = opts || {};
@@ -408,7 +454,8 @@ class LanguageUnderstandingApi {
408
454
  null,
409
455
  ['PureCloud OAuth'],
410
456
  ['application/json'],
411
- ['application/json']
457
+ ['application/json'],
458
+ opts['customHeaders']
412
459
  );
413
460
  }
414
461
 
@@ -422,6 +469,7 @@ class LanguageUnderstandingApi {
422
469
  * @param {String} opts.text The topic text filter applied to the listing
423
470
  * @param {Object} opts.sortOrder The sort order for the listing (default to desc)
424
471
  * @param {Object} opts.sortBy The field to sort by for the listing (default to dateModified)
472
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
425
473
  */
426
474
  getLanguageunderstandingIgnoretopic(languageCode, opts) {
427
475
  opts = opts || {};
@@ -441,7 +489,8 @@ class LanguageUnderstandingApi {
441
489
  null,
442
490
  ['PureCloud OAuth'],
443
491
  ['application/json'],
444
- ['application/json']
492
+ ['application/json'],
493
+ opts['customHeaders']
445
494
  );
446
495
  }
447
496
 
@@ -449,8 +498,12 @@ class LanguageUnderstandingApi {
449
498
  * Get information about a miner.
450
499
  *
451
500
  * @param {String} minerId Miner ID
501
+ * @param {Object} opts Optional parameters
502
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
452
503
  */
453
- getLanguageunderstandingMiner(minerId) {
504
+ getLanguageunderstandingMiner(minerId, opts) {
505
+ opts = opts || {};
506
+
454
507
  // verify the required parameter 'minerId' is set
455
508
  if (minerId === undefined || minerId === null || minerId === '') {
456
509
  throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMiner';
@@ -466,7 +519,8 @@ class LanguageUnderstandingApi {
466
519
  null,
467
520
  ['PureCloud OAuth'],
468
521
  ['application/json'],
469
- ['application/json']
522
+ ['application/json'],
523
+ opts['customHeaders']
470
524
  );
471
525
  }
472
526
 
@@ -478,6 +532,7 @@ class LanguageUnderstandingApi {
478
532
  * @param {Object} opts Optional parameters
479
533
  * @param {String} opts.draftIntentId Parameter to filter a specific intent.
480
534
  * @param {String} opts.draftTopicId Parameter to filter a specific topic.
535
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
481
536
  */
482
537
  getLanguageunderstandingMinerDraft(minerId, draftId, opts) {
483
538
  opts = opts || {};
@@ -501,7 +556,8 @@ class LanguageUnderstandingApi {
501
556
  null,
502
557
  ['PureCloud OAuth'],
503
558
  ['application/json'],
504
- ['application/json']
559
+ ['application/json'],
560
+ opts['customHeaders']
505
561
  );
506
562
  }
507
563
 
@@ -509,8 +565,12 @@ class LanguageUnderstandingApi {
509
565
  * Retrieve the list of drafts created.
510
566
  *
511
567
  * @param {String} minerId Miner ID
568
+ * @param {Object} opts Optional parameters
569
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
512
570
  */
513
- getLanguageunderstandingMinerDrafts(minerId) {
571
+ getLanguageunderstandingMinerDrafts(minerId, opts) {
572
+ opts = opts || {};
573
+
514
574
  // verify the required parameter 'minerId' is set
515
575
  if (minerId === undefined || minerId === null || minerId === '') {
516
576
  throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerDrafts';
@@ -526,7 +586,8 @@ class LanguageUnderstandingApi {
526
586
  null,
527
587
  ['PureCloud OAuth'],
528
588
  ['application/json'],
529
- ['application/json']
589
+ ['application/json'],
590
+ opts['customHeaders']
530
591
  );
531
592
  }
532
593
 
@@ -537,6 +598,7 @@ class LanguageUnderstandingApi {
537
598
  * @param {String} intentId The ID of the intent to be retrieved.
538
599
  * @param {Object} opts Optional parameters
539
600
  * @param {Object} opts.expand Option to fetch utterances
601
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
540
602
  */
541
603
  getLanguageunderstandingMinerIntent(minerId, intentId, opts) {
542
604
  opts = opts || {};
@@ -560,7 +622,8 @@ class LanguageUnderstandingApi {
560
622
  null,
561
623
  ['PureCloud OAuth'],
562
624
  ['application/json'],
563
- ['application/json']
625
+ ['application/json'],
626
+ opts['customHeaders']
564
627
  );
565
628
  }
566
629
 
@@ -570,6 +633,7 @@ class LanguageUnderstandingApi {
570
633
  * @param {String} minerId Miner ID
571
634
  * @param {Object} opts Optional parameters
572
635
  * @param {Object} opts.expand Option to fetch utterances.
636
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
573
637
  */
574
638
  getLanguageunderstandingMinerIntents(minerId, opts) {
575
639
  opts = opts || {};
@@ -589,7 +653,8 @@ class LanguageUnderstandingApi {
589
653
  null,
590
654
  ['PureCloud OAuth'],
591
655
  ['application/json'],
592
- ['application/json']
656
+ ['application/json'],
657
+ opts['customHeaders']
593
658
  );
594
659
  }
595
660
 
@@ -600,6 +665,7 @@ class LanguageUnderstandingApi {
600
665
  * @param {String} topicId The ID of the topic to be retrieved.
601
666
  * @param {Object} opts Optional parameters
602
667
  * @param {Object} opts.expand Option to fetch phrases
668
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
603
669
  */
604
670
  getLanguageunderstandingMinerTopic(minerId, topicId, opts) {
605
671
  opts = opts || {};
@@ -623,7 +689,8 @@ class LanguageUnderstandingApi {
623
689
  null,
624
690
  ['PureCloud OAuth'],
625
691
  ['application/json'],
626
- ['application/json']
692
+ ['application/json'],
693
+ opts['customHeaders']
627
694
  );
628
695
  }
629
696
 
@@ -633,8 +700,12 @@ class LanguageUnderstandingApi {
633
700
  * @param {String} minerId Miner ID
634
701
  * @param {String} topicId The ID of the topic to be retrieved.
635
702
  * @param {String} phraseId The ID of the phrase to be retrieved.
703
+ * @param {Object} opts Optional parameters
704
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
636
705
  */
637
- getLanguageunderstandingMinerTopicPhrase(minerId, topicId, phraseId) {
706
+ getLanguageunderstandingMinerTopicPhrase(minerId, topicId, phraseId, opts) {
707
+ opts = opts || {};
708
+
638
709
  // verify the required parameter 'minerId' is set
639
710
  if (minerId === undefined || minerId === null || minerId === '') {
640
711
  throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopicPhrase';
@@ -658,7 +729,8 @@ class LanguageUnderstandingApi {
658
729
  null,
659
730
  ['PureCloud OAuth'],
660
731
  ['application/json'],
661
- ['application/json']
732
+ ['application/json'],
733
+ opts['customHeaders']
662
734
  );
663
735
  }
664
736
 
@@ -666,8 +738,12 @@ class LanguageUnderstandingApi {
666
738
  * Retrieve a list of mined topics.
667
739
  *
668
740
  * @param {String} minerId Miner ID
741
+ * @param {Object} opts Optional parameters
742
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
669
743
  */
670
- getLanguageunderstandingMinerTopics(minerId) {
744
+ getLanguageunderstandingMinerTopics(minerId, opts) {
745
+ opts = opts || {};
746
+
671
747
  // verify the required parameter 'minerId' is set
672
748
  if (minerId === undefined || minerId === null || minerId === '') {
673
749
  throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopics';
@@ -683,7 +759,8 @@ class LanguageUnderstandingApi {
683
759
  null,
684
760
  ['PureCloud OAuth'],
685
761
  ['application/json'],
686
- ['application/json']
762
+ ['application/json'],
763
+ opts['customHeaders']
687
764
  );
688
765
  }
689
766
 
@@ -692,6 +769,7 @@ class LanguageUnderstandingApi {
692
769
  *
693
770
  * @param {Object} opts Optional parameters
694
771
  * @param {String} opts.minerType Type of miner, either intent or topic
772
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
695
773
  */
696
774
  getLanguageunderstandingMiners(opts) {
697
775
  opts = opts || {};
@@ -707,15 +785,20 @@ class LanguageUnderstandingApi {
707
785
  null,
708
786
  ['PureCloud OAuth'],
709
787
  ['application/json'],
710
- ['application/json']
788
+ ['application/json'],
789
+ opts['customHeaders']
711
790
  );
712
791
  }
713
792
 
714
793
  /**
715
794
  * Get Organization Configuration
716
795
  *
796
+ * @param {Object} opts Optional parameters
797
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
717
798
  */
718
- getLanguageunderstandingSettings() {
799
+ getLanguageunderstandingSettings(opts) {
800
+ opts = opts || {};
801
+
719
802
 
720
803
  return this.apiClient.callApi(
721
804
  '/api/v2/languageunderstanding/settings',
@@ -727,7 +810,8 @@ class LanguageUnderstandingApi {
727
810
  null,
728
811
  ['PureCloud OAuth'],
729
812
  ['application/json'],
730
- ['application/json']
813
+ ['application/json'],
814
+ opts['customHeaders']
731
815
  );
732
816
  }
733
817
 
@@ -736,8 +820,12 @@ class LanguageUnderstandingApi {
736
820
  *
737
821
  * @param {String} domainId ID of the NLU domain.
738
822
  * @param {Object} body The updated NLU Domain.
823
+ * @param {Object} opts Optional parameters
824
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
739
825
  */
740
- patchLanguageunderstandingDomain(domainId, body) {
826
+ patchLanguageunderstandingDomain(domainId, body, opts) {
827
+ opts = opts || {};
828
+
741
829
  // verify the required parameter 'domainId' is set
742
830
  if (domainId === undefined || domainId === null || domainId === '') {
743
831
  throw 'Missing the required parameter "domainId" when calling patchLanguageunderstandingDomain';
@@ -757,7 +845,8 @@ class LanguageUnderstandingApi {
757
845
  body,
758
846
  ['PureCloud OAuth'],
759
847
  ['application/json'],
760
- ['application/json']
848
+ ['application/json'],
849
+ opts['customHeaders']
761
850
  );
762
851
  }
763
852
 
@@ -768,6 +857,7 @@ class LanguageUnderstandingApi {
768
857
  * @param {String} draftId Draft ID
769
858
  * @param {Object} opts Optional parameters
770
859
  * @param {Object} opts.body
860
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
771
861
  */
772
862
  patchLanguageunderstandingMinerDraft(minerId, draftId, opts) {
773
863
  opts = opts || {};
@@ -791,7 +881,8 @@ class LanguageUnderstandingApi {
791
881
  opts['body'],
792
882
  ['PureCloud OAuth'],
793
883
  ['application/json'],
794
- ['application/json']
884
+ ['application/json'],
885
+ opts['customHeaders']
795
886
  );
796
887
  }
797
888
 
@@ -800,8 +891,12 @@ class LanguageUnderstandingApi {
800
891
  *
801
892
  * @param {String} domainId ID of the NLU domain.
802
893
  * @param {Object} body The Feedback to create.
894
+ * @param {Object} opts Optional parameters
895
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
803
896
  */
804
- postLanguageunderstandingDomainFeedback(domainId, body) {
897
+ postLanguageunderstandingDomainFeedback(domainId, body, opts) {
898
+ opts = opts || {};
899
+
805
900
  // verify the required parameter 'domainId' is set
806
901
  if (domainId === undefined || domainId === null || domainId === '') {
807
902
  throw 'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainFeedback';
@@ -821,7 +916,8 @@ class LanguageUnderstandingApi {
821
916
  body,
822
917
  ['PureCloud OAuth'],
823
918
  ['application/json'],
824
- ['application/json']
919
+ ['application/json'],
920
+ opts['customHeaders']
825
921
  );
826
922
  }
827
923
 
@@ -831,8 +927,12 @@ class LanguageUnderstandingApi {
831
927
  * @param {String} domainId ID of the NLU domain.
832
928
  * @param {String} domainVersionId ID of the NLU domain version.
833
929
  * @param {Object} body The input data to perform detection on.
930
+ * @param {Object} opts Optional parameters
931
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
834
932
  */
835
- postLanguageunderstandingDomainVersionDetect(domainId, domainVersionId, body) {
933
+ postLanguageunderstandingDomainVersionDetect(domainId, domainVersionId, body, opts) {
934
+ opts = opts || {};
935
+
836
936
  // verify the required parameter 'domainId' is set
837
937
  if (domainId === undefined || domainId === null || domainId === '') {
838
938
  throw 'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersionDetect';
@@ -856,7 +956,8 @@ class LanguageUnderstandingApi {
856
956
  body,
857
957
  ['PureCloud OAuth'],
858
958
  ['application/json'],
859
- ['application/json']
959
+ ['application/json'],
960
+ opts['customHeaders']
860
961
  );
861
962
  }
862
963
 
@@ -865,8 +966,12 @@ class LanguageUnderstandingApi {
865
966
  *
866
967
  * @param {String} domainId ID of the NLU domain.
867
968
  * @param {String} domainVersionId ID of the NLU domain version.
969
+ * @param {Object} opts Optional parameters
970
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
868
971
  */
869
- postLanguageunderstandingDomainVersionPublish(domainId, domainVersionId) {
972
+ postLanguageunderstandingDomainVersionPublish(domainId, domainVersionId, opts) {
973
+ opts = opts || {};
974
+
870
975
  // verify the required parameter 'domainId' is set
871
976
  if (domainId === undefined || domainId === null || domainId === '') {
872
977
  throw 'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersionPublish';
@@ -886,7 +991,8 @@ class LanguageUnderstandingApi {
886
991
  null,
887
992
  ['PureCloud OAuth'],
888
993
  ['application/json'],
889
- ['application/json']
994
+ ['application/json'],
995
+ opts['customHeaders']
890
996
  );
891
997
  }
892
998
 
@@ -895,8 +1001,12 @@ class LanguageUnderstandingApi {
895
1001
  *
896
1002
  * @param {String} domainId ID of the NLU domain.
897
1003
  * @param {String} domainVersionId ID of the NLU domain version.
1004
+ * @param {Object} opts Optional parameters
1005
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
898
1006
  */
899
- postLanguageunderstandingDomainVersionTrain(domainId, domainVersionId) {
1007
+ postLanguageunderstandingDomainVersionTrain(domainId, domainVersionId, opts) {
1008
+ opts = opts || {};
1009
+
900
1010
  // verify the required parameter 'domainId' is set
901
1011
  if (domainId === undefined || domainId === null || domainId === '') {
902
1012
  throw 'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersionTrain';
@@ -916,7 +1026,8 @@ class LanguageUnderstandingApi {
916
1026
  null,
917
1027
  ['PureCloud OAuth'],
918
1028
  ['application/json'],
919
- ['application/json']
1029
+ ['application/json'],
1030
+ opts['customHeaders']
920
1031
  );
921
1032
  }
922
1033
 
@@ -927,6 +1038,7 @@ class LanguageUnderstandingApi {
927
1038
  * @param {Object} body The NLU Domain Version to create.
928
1039
  * @param {Object} opts Optional parameters
929
1040
  * @param {Boolean} opts.includeUtterances Whether utterances for intent definition should be included when marshalling response.
1041
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
930
1042
  */
931
1043
  postLanguageunderstandingDomainVersions(domainId, body, opts) {
932
1044
  opts = opts || {};
@@ -950,7 +1062,8 @@ class LanguageUnderstandingApi {
950
1062
  body,
951
1063
  ['PureCloud OAuth'],
952
1064
  ['application/json'],
953
- ['application/json']
1065
+ ['application/json'],
1066
+ opts['customHeaders']
954
1067
  );
955
1068
  }
956
1069
 
@@ -958,8 +1071,12 @@ class LanguageUnderstandingApi {
958
1071
  * Create an NLU Domain.
959
1072
  *
960
1073
  * @param {Object} body The NLU Domain to create.
1074
+ * @param {Object} opts Optional parameters
1075
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
961
1076
  */
962
- postLanguageunderstandingDomains(body) {
1077
+ postLanguageunderstandingDomains(body, opts) {
1078
+ opts = opts || {};
1079
+
963
1080
  // verify the required parameter 'body' is set
964
1081
  if (body === undefined || body === null) {
965
1082
  throw 'Missing the required parameter "body" when calling postLanguageunderstandingDomains';
@@ -975,7 +1092,8 @@ class LanguageUnderstandingApi {
975
1092
  body,
976
1093
  ['PureCloud OAuth'],
977
1094
  ['application/json'],
978
- ['application/json']
1095
+ ['application/json'],
1096
+ opts['customHeaders']
979
1097
  );
980
1098
  }
981
1099
 
@@ -984,8 +1102,12 @@ class LanguageUnderstandingApi {
984
1102
  *
985
1103
  * @param {String} languageCode Language Code
986
1104
  * @param {Object} body Request body containing phrases to be ignored
1105
+ * @param {Object} opts Optional parameters
1106
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
987
1107
  */
988
- postLanguageunderstandingIgnorephrase(languageCode, body) {
1108
+ postLanguageunderstandingIgnorephrase(languageCode, body, opts) {
1109
+ opts = opts || {};
1110
+
989
1111
  // verify the required parameter 'languageCode' is set
990
1112
  if (languageCode === undefined || languageCode === null || languageCode === '') {
991
1113
  throw 'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnorephrase';
@@ -1005,7 +1127,8 @@ class LanguageUnderstandingApi {
1005
1127
  body,
1006
1128
  ['PureCloud OAuth'],
1007
1129
  ['application/json'],
1008
- ['application/json']
1130
+ ['application/json'],
1131
+ opts['customHeaders']
1009
1132
  );
1010
1133
  }
1011
1134
 
@@ -1014,8 +1137,12 @@ class LanguageUnderstandingApi {
1014
1137
  *
1015
1138
  * @param {String} languageCode Language Code
1016
1139
  * @param {Object} body Request body containing entities to be removed
1140
+ * @param {Object} opts Optional parameters
1141
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1017
1142
  */
1018
- postLanguageunderstandingIgnorephraseRemove(languageCode, body) {
1143
+ postLanguageunderstandingIgnorephraseRemove(languageCode, body, opts) {
1144
+ opts = opts || {};
1145
+
1019
1146
  // verify the required parameter 'languageCode' is set
1020
1147
  if (languageCode === undefined || languageCode === null || languageCode === '') {
1021
1148
  throw 'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnorephraseRemove';
@@ -1035,7 +1162,8 @@ class LanguageUnderstandingApi {
1035
1162
  body,
1036
1163
  ['PureCloud OAuth'],
1037
1164
  ['application/json'],
1038
- ['application/json']
1165
+ ['application/json'],
1166
+ opts['customHeaders']
1039
1167
  );
1040
1168
  }
1041
1169
 
@@ -1044,8 +1172,12 @@ class LanguageUnderstandingApi {
1044
1172
  *
1045
1173
  * @param {String} languageCode Language Code
1046
1174
  * @param {Object} body Request body containing topics to be ignored
1175
+ * @param {Object} opts Optional parameters
1176
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1047
1177
  */
1048
- postLanguageunderstandingIgnoretopic(languageCode, body) {
1178
+ postLanguageunderstandingIgnoretopic(languageCode, body, opts) {
1179
+ opts = opts || {};
1180
+
1049
1181
  // verify the required parameter 'languageCode' is set
1050
1182
  if (languageCode === undefined || languageCode === null || languageCode === '') {
1051
1183
  throw 'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnoretopic';
@@ -1065,7 +1197,8 @@ class LanguageUnderstandingApi {
1065
1197
  body,
1066
1198
  ['PureCloud OAuth'],
1067
1199
  ['application/json'],
1068
- ['application/json']
1200
+ ['application/json'],
1201
+ opts['customHeaders']
1069
1202
  );
1070
1203
  }
1071
1204
 
@@ -1074,8 +1207,12 @@ class LanguageUnderstandingApi {
1074
1207
  *
1075
1208
  * @param {String} languageCode Language Code
1076
1209
  * @param {Object} body Request body containing entities to be removed
1210
+ * @param {Object} opts Optional parameters
1211
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1077
1212
  */
1078
- postLanguageunderstandingIgnoretopicRemove(languageCode, body) {
1213
+ postLanguageunderstandingIgnoretopicRemove(languageCode, body, opts) {
1214
+ opts = opts || {};
1215
+
1079
1216
  // verify the required parameter 'languageCode' is set
1080
1217
  if (languageCode === undefined || languageCode === null || languageCode === '') {
1081
1218
  throw 'Missing the required parameter "languageCode" when calling postLanguageunderstandingIgnoretopicRemove';
@@ -1095,7 +1232,8 @@ class LanguageUnderstandingApi {
1095
1232
  body,
1096
1233
  ['PureCloud OAuth'],
1097
1234
  ['application/json'],
1098
- ['application/json']
1235
+ ['application/json'],
1236
+ opts['customHeaders']
1099
1237
  );
1100
1238
  }
1101
1239
 
@@ -1104,8 +1242,12 @@ class LanguageUnderstandingApi {
1104
1242
  *
1105
1243
  * @param {String} minerId Miner ID
1106
1244
  * @param {Object} body Details for creating draft resource
1245
+ * @param {Object} opts Optional parameters
1246
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1107
1247
  */
1108
- postLanguageunderstandingMinerDrafts(minerId, body) {
1248
+ postLanguageunderstandingMinerDrafts(minerId, body, opts) {
1249
+ opts = opts || {};
1250
+
1109
1251
  // verify the required parameter 'minerId' is set
1110
1252
  if (minerId === undefined || minerId === null || minerId === '') {
1111
1253
  throw 'Missing the required parameter "minerId" when calling postLanguageunderstandingMinerDrafts';
@@ -1125,7 +1267,8 @@ class LanguageUnderstandingApi {
1125
1267
  body,
1126
1268
  ['PureCloud OAuth'],
1127
1269
  ['application/json'],
1128
- ['application/json']
1270
+ ['application/json'],
1271
+ opts['customHeaders']
1129
1272
  );
1130
1273
  }
1131
1274
 
@@ -1135,6 +1278,7 @@ class LanguageUnderstandingApi {
1135
1278
  * @param {String} minerId Miner ID
1136
1279
  * @param {Object} opts Optional parameters
1137
1280
  * @param {Object} opts.body
1281
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1138
1282
  */
1139
1283
  postLanguageunderstandingMinerExecute(minerId, opts) {
1140
1284
  opts = opts || {};
@@ -1154,7 +1298,8 @@ class LanguageUnderstandingApi {
1154
1298
  opts['body'],
1155
1299
  ['PureCloud OAuth'],
1156
1300
  ['application/json'],
1157
- ['application/json']
1301
+ ['application/json'],
1302
+ opts['customHeaders']
1158
1303
  );
1159
1304
  }
1160
1305
 
@@ -1162,8 +1307,12 @@ class LanguageUnderstandingApi {
1162
1307
  * Create a unique miner.
1163
1308
  *
1164
1309
  * @param {Object} body Details for creating a new miner resource.
1310
+ * @param {Object} opts Optional parameters
1311
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1165
1312
  */
1166
- postLanguageunderstandingMiners(body) {
1313
+ postLanguageunderstandingMiners(body, opts) {
1314
+ opts = opts || {};
1315
+
1167
1316
  // verify the required parameter 'body' is set
1168
1317
  if (body === undefined || body === null) {
1169
1318
  throw 'Missing the required parameter "body" when calling postLanguageunderstandingMiners';
@@ -1179,7 +1328,8 @@ class LanguageUnderstandingApi {
1179
1328
  body,
1180
1329
  ['PureCloud OAuth'],
1181
1330
  ['application/json'],
1182
- ['application/json']
1331
+ ['application/json'],
1332
+ opts['customHeaders']
1183
1333
  );
1184
1334
  }
1185
1335
 
@@ -1189,8 +1339,12 @@ class LanguageUnderstandingApi {
1189
1339
  * @param {String} domainId ID of the NLU domain.
1190
1340
  * @param {String} domainVersionId ID of the NLU domain version.
1191
1341
  * @param {Object} body The updated NLU Domain Version.
1342
+ * @param {Object} opts Optional parameters
1343
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1192
1344
  */
1193
- putLanguageunderstandingDomainVersion(domainId, domainVersionId, body) {
1345
+ putLanguageunderstandingDomainVersion(domainId, domainVersionId, body, opts) {
1346
+ opts = opts || {};
1347
+
1194
1348
  // verify the required parameter 'domainId' is set
1195
1349
  if (domainId === undefined || domainId === null || domainId === '') {
1196
1350
  throw 'Missing the required parameter "domainId" when calling putLanguageunderstandingDomainVersion';
@@ -1214,7 +1368,8 @@ class LanguageUnderstandingApi {
1214
1368
  body,
1215
1369
  ['PureCloud OAuth'],
1216
1370
  ['application/json'],
1217
- ['application/json']
1371
+ ['application/json'],
1372
+ opts['customHeaders']
1218
1373
  );
1219
1374
  }
1220
1375