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 TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 249.0.0
8
+ * @version 250.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -29,6 +29,7 @@ class TextbotsApi {
29
29
  * @param {Array.<String>} opts.botId Bot IDs. Maximum of 50
30
30
  * @param {Boolean} opts.virtualAgentEnabled Include or exclude virtual agent flows, only applies to GenesysBotFlows or GenesysDigitalBotFlows
31
31
  * @param {Number} opts.pageSize The maximum results to return. Maximum of 100 (default to 25)
32
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
32
33
  */
33
34
  getTextbotsBotsSearch(opts) {
34
35
  opts = opts || {};
@@ -44,7 +45,8 @@ class TextbotsApi {
44
45
  null,
45
46
  ['PureCloud OAuth'],
46
47
  ['application/json'],
47
- ['application/json']
48
+ ['application/json'],
49
+ opts['customHeaders']
48
50
  );
49
51
  }
50
52
 
@@ -53,8 +55,12 @@ class TextbotsApi {
53
55
  * Send a turn event to an executing bot flow and produce the next action to take.
54
56
  * @param {String} sessionId The bot flow session ID, typically obtained from 'POST /api/v2/textbots/botflows/sessions'
55
57
  * @param {Object} turnRequest
58
+ * @param {Object} opts Optional parameters
59
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
56
60
  */
57
- postTextbotsBotflowsSessionTurns(sessionId, turnRequest) {
61
+ postTextbotsBotflowsSessionTurns(sessionId, turnRequest, opts) {
62
+ opts = opts || {};
63
+
58
64
  // verify the required parameter 'sessionId' is set
59
65
  if (sessionId === undefined || sessionId === null || sessionId === '') {
60
66
  throw 'Missing the required parameter "sessionId" when calling postTextbotsBotflowsSessionTurns';
@@ -74,7 +80,8 @@ class TextbotsApi {
74
80
  turnRequest,
75
81
  ['PureCloud OAuth'],
76
82
  ['application/json'],
77
- ['application/json']
83
+ ['application/json'],
84
+ opts['customHeaders']
78
85
  );
79
86
  }
80
87
 
@@ -82,8 +89,12 @@ class TextbotsApi {
82
89
  * Create an execution instance of a bot flow definition.
83
90
  * The launch is asynchronous; use the returned instance ID to post turns to it using POST /api/v2/textbots/botflows/sessions/{sessionId}/turns.
84
91
  * @param {Object} launchRequest
92
+ * @param {Object} opts Optional parameters
93
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
85
94
  */
86
- postTextbotsBotflowsSessions(launchRequest) {
95
+ postTextbotsBotflowsSessions(launchRequest, opts) {
96
+ opts = opts || {};
97
+
87
98
  // verify the required parameter 'launchRequest' is set
88
99
  if (launchRequest === undefined || launchRequest === null) {
89
100
  throw 'Missing the required parameter "launchRequest" when calling postTextbotsBotflowsSessions';
@@ -99,7 +110,8 @@ class TextbotsApi {
99
110
  launchRequest,
100
111
  ['PureCloud OAuth'],
101
112
  ['application/json'],
102
- ['application/json']
113
+ ['application/json'],
114
+ opts['customHeaders']
103
115
  );
104
116
  }
105
117
 
@@ -107,8 +119,12 @@ class TextbotsApi {
107
119
  * Send an intent to a bot to start a dialog/interact with it via text
108
120
  * This will either start a bot with the given id or relay a communication to an existing bot session.
109
121
  * @param {Object} postTextRequest
122
+ * @param {Object} opts Optional parameters
123
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
110
124
  */
111
- postTextbotsBotsExecute(postTextRequest) {
125
+ postTextbotsBotsExecute(postTextRequest, opts) {
126
+ opts = opts || {};
127
+
112
128
  // verify the required parameter 'postTextRequest' is set
113
129
  if (postTextRequest === undefined || postTextRequest === null) {
114
130
  throw 'Missing the required parameter "postTextRequest" when calling postTextbotsBotsExecute';
@@ -124,7 +140,8 @@ class TextbotsApi {
124
140
  postTextRequest,
125
141
  ['PureCloud OAuth'],
126
142
  ['application/json'],
127
- ['application/json']
143
+ ['application/json'],
144
+ opts['customHeaders']
128
145
  );
129
146
  }
130
147
 
@@ -5,7 +5,7 @@ class TokensApi {
5
5
  /**
6
6
  * Tokens service.
7
7
  * @module purecloud-platform-client-v2/api/TokensApi
8
- * @version 249.0.0
8
+ * @version 250.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -24,8 +24,12 @@ class TokensApi {
24
24
  * Delete all auth tokens for the specified user.
25
25
  *
26
26
  * @param {String} userId User ID
27
+ * @param {Object} opts Optional parameters
28
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
27
29
  */
28
- deleteToken(userId) {
30
+ deleteToken(userId, opts) {
31
+ opts = opts || {};
32
+
29
33
  // verify the required parameter 'userId' is set
30
34
  if (userId === undefined || userId === null || userId === '') {
31
35
  throw 'Missing the required parameter "userId" when calling deleteToken';
@@ -41,15 +45,20 @@ class TokensApi {
41
45
  null,
42
46
  ['PureCloud OAuth'],
43
47
  ['application/json'],
44
- ['application/json']
48
+ ['application/json'],
49
+ opts['customHeaders']
45
50
  );
46
51
  }
47
52
 
48
53
  /**
49
54
  * Delete auth token used to make the request.
50
55
  *
56
+ * @param {Object} opts Optional parameters
57
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
51
58
  */
52
- deleteTokensMe() {
59
+ deleteTokensMe(opts) {
60
+ opts = opts || {};
61
+
53
62
 
54
63
  return this.apiClient.callApi(
55
64
  '/api/v2/tokens/me',
@@ -61,7 +70,8 @@ class TokensApi {
61
70
  null,
62
71
  ['PureCloud OAuth'],
63
72
  ['application/json'],
64
- ['application/json']
73
+ ['application/json'],
74
+ opts['customHeaders']
65
75
  );
66
76
  }
67
77
 
@@ -70,6 +80,7 @@ class TokensApi {
70
80
  *
71
81
  * @param {Object} opts Optional parameters
72
82
  * @param {Boolean} opts.preserveIdleTTL preserveIdleTTL indicates whether the idle token timeout should be reset or preserved. If preserveIdleTTL is true, then TTL value is not reset. If unset or false, the value is reset.
83
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
73
84
  */
74
85
  getTokensMe(opts) {
75
86
  opts = opts || {};
@@ -85,15 +96,20 @@ class TokensApi {
85
96
  null,
86
97
  ['PureCloud OAuth'],
87
98
  ['application/json'],
88
- ['application/json']
99
+ ['application/json'],
100
+ opts['customHeaders']
89
101
  );
90
102
  }
91
103
 
92
104
  /**
93
105
  * Get the current Idle Token Timeout Value
94
106
  *
107
+ * @param {Object} opts Optional parameters
108
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
95
109
  */
96
- getTokensTimeout() {
110
+ getTokensTimeout(opts) {
111
+ opts = opts || {};
112
+
97
113
 
98
114
  return this.apiClient.callApi(
99
115
  '/api/v2/tokens/timeout',
@@ -105,15 +121,20 @@ class TokensApi {
105
121
  null,
106
122
  ['PureCloud OAuth'],
107
123
  ['application/json'],
108
- ['application/json']
124
+ ['application/json'],
125
+ opts['customHeaders']
109
126
  );
110
127
  }
111
128
 
112
129
  /**
113
130
  * Verify user token
114
131
  *
132
+ * @param {Object} opts Optional parameters
133
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
115
134
  */
116
- headTokensMe() {
135
+ headTokensMe(opts) {
136
+ opts = opts || {};
137
+
117
138
 
118
139
  return this.apiClient.callApi(
119
140
  '/api/v2/tokens/me',
@@ -125,7 +146,8 @@ class TokensApi {
125
146
  null,
126
147
  ['PureCloud OAuth'],
127
148
  ['application/json'],
128
- ['application/json']
149
+ ['application/json'],
150
+ opts['customHeaders']
129
151
  );
130
152
  }
131
153
 
@@ -134,6 +156,7 @@ class TokensApi {
134
156
  *
135
157
  * @param {Object} opts Optional parameters
136
158
  * @param {Object} opts.body
159
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
137
160
  */
138
161
  putTokensTimeout(opts) {
139
162
  opts = opts || {};
@@ -149,7 +172,8 @@ class TokensApi {
149
172
  opts['body'],
150
173
  ['PureCloud OAuth'],
151
174
  ['application/json'],
152
- ['application/json']
175
+ ['application/json'],
176
+ opts['customHeaders']
153
177
  );
154
178
  }
155
179
 
@@ -5,7 +5,7 @@ class UploadsApi {
5
5
  /**
6
6
  * Uploads service.
7
7
  * @module purecloud-platform-client-v2/api/UploadsApi
8
- * @version 249.0.0
8
+ * @version 250.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -25,8 +25,12 @@ class UploadsApi {
25
25
  *
26
26
  * @param {String} knowledgeBaseId Knowledge base ID
27
27
  * @param {String} jobId Upload job ID
28
+ * @param {Object} opts Optional parameters
29
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
28
30
  */
29
- getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId, jobId) {
31
+ getKnowledgeKnowledgebaseUploadsUrlsJob(knowledgeBaseId, jobId, opts) {
32
+ opts = opts || {};
33
+
30
34
  // verify the required parameter 'knowledgeBaseId' is set
31
35
  if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
32
36
  throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseUploadsUrlsJob';
@@ -46,7 +50,8 @@ class UploadsApi {
46
50
  null,
47
51
  ['PureCloud OAuth'],
48
52
  ['application/json'],
49
- ['application/json']
53
+ ['application/json'],
54
+ opts['customHeaders']
50
55
  );
51
56
  }
52
57
 
@@ -54,8 +59,12 @@ class UploadsApi {
54
59
  * Generates pre-signed URL to upload a prize image for gamification contests
55
60
  *
56
61
  * @param {Object} body query
62
+ * @param {Object} opts Optional parameters
63
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
57
64
  */
58
- postGamificationContestsUploadsPrizeimages(body) {
65
+ postGamificationContestsUploadsPrizeimages(body, opts) {
66
+ opts = opts || {};
67
+
59
68
  // verify the required parameter 'body' is set
60
69
  if (body === undefined || body === null) {
61
70
  throw 'Missing the required parameter "body" when calling postGamificationContestsUploadsPrizeimages';
@@ -71,7 +80,8 @@ class UploadsApi {
71
80
  body,
72
81
  ['PureCloud OAuth'],
73
82
  ['application/json'],
74
- ['application/json']
83
+ ['application/json'],
84
+ opts['customHeaders']
75
85
  );
76
86
  }
77
87
 
@@ -79,8 +89,12 @@ class UploadsApi {
79
89
  * Generate presigned URL for uploading a file content to generate guide
80
90
  *
81
91
  * @param {Object} body query
92
+ * @param {Object} opts Optional parameters
93
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
82
94
  */
83
- postGuidesUploads(body) {
95
+ postGuidesUploads(body, opts) {
96
+ opts = opts || {};
97
+
84
98
  // verify the required parameter 'body' is set
85
99
  if (body === undefined || body === null) {
86
100
  throw 'Missing the required parameter "body" when calling postGuidesUploads';
@@ -96,7 +110,8 @@ class UploadsApi {
96
110
  body,
97
111
  ['PureCloud OAuth'],
98
112
  ['application/json'],
99
- ['application/json']
113
+ ['application/json'],
114
+ opts['customHeaders']
100
115
  );
101
116
  }
102
117
 
@@ -105,8 +120,12 @@ class UploadsApi {
105
120
  *
106
121
  * @param {String} actionId actionId
107
122
  * @param {Object} body Input used to request URL upload.
123
+ * @param {Object} opts Optional parameters
124
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
108
125
  */
109
- postIntegrationsActionDraftFunctionUpload(actionId, body) {
126
+ postIntegrationsActionDraftFunctionUpload(actionId, body, opts) {
127
+ opts = opts || {};
128
+
110
129
  // verify the required parameter 'actionId' is set
111
130
  if (actionId === undefined || actionId === null || actionId === '') {
112
131
  throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';
@@ -126,7 +145,8 @@ class UploadsApi {
126
145
  body,
127
146
  ['PureCloud OAuth'],
128
147
  ['application/json'],
129
- ['application/json']
148
+ ['application/json'],
149
+ opts['customHeaders']
130
150
  );
131
151
  }
132
152
 
@@ -134,8 +154,12 @@ class UploadsApi {
134
154
  * Creates a presigned URL for uploading a knowledge import file with a set of documents
135
155
  *
136
156
  * @param {Object} body query
157
+ * @param {Object} opts Optional parameters
158
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
137
159
  */
138
- postKnowledgeDocumentuploads(body) {
160
+ postKnowledgeDocumentuploads(body, opts) {
161
+ opts = opts || {};
162
+
139
163
  // verify the required parameter 'body' is set
140
164
  if (body === undefined || body === null) {
141
165
  throw 'Missing the required parameter "body" when calling postKnowledgeDocumentuploads';
@@ -151,7 +175,8 @@ class UploadsApi {
151
175
  body,
152
176
  ['PureCloud OAuth'],
153
177
  ['application/json'],
154
- ['application/json']
178
+ ['application/json'],
179
+ opts['customHeaders']
155
180
  );
156
181
  }
157
182
 
@@ -160,8 +185,12 @@ class UploadsApi {
160
185
  *
161
186
  * @param {String} knowledgeBaseId Knowledge base ID
162
187
  * @param {Object} body uploadRequest
188
+ * @param {Object} opts Optional parameters
189
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
163
190
  */
164
- postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId, body) {
191
+ postKnowledgeKnowledgebaseUploadsUrlsJobs(knowledgeBaseId, body, opts) {
192
+ opts = opts || {};
193
+
165
194
  // verify the required parameter 'knowledgeBaseId' is set
166
195
  if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
167
196
  throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseUploadsUrlsJobs';
@@ -181,7 +210,8 @@ class UploadsApi {
181
210
  body,
182
211
  ['PureCloud OAuth'],
183
212
  ['application/json'],
184
- ['application/json']
213
+ ['application/json'],
214
+ opts['customHeaders']
185
215
  );
186
216
  }
187
217
 
@@ -190,8 +220,12 @@ class UploadsApi {
190
220
  *
191
221
  * @param {String} minerId Miner ID
192
222
  * @param {Object} body query
223
+ * @param {Object} opts Optional parameters
224
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
193
225
  */
194
- postLanguageunderstandingMinerUploads(minerId, body) {
226
+ postLanguageunderstandingMinerUploads(minerId, body, opts) {
227
+ opts = opts || {};
228
+
195
229
  // verify the required parameter 'minerId' is set
196
230
  if (minerId === undefined || minerId === null || minerId === '') {
197
231
  throw 'Missing the required parameter "minerId" when calling postLanguageunderstandingMinerUploads';
@@ -211,7 +245,8 @@ class UploadsApi {
211
245
  body,
212
246
  ['PureCloud OAuth'],
213
247
  ['application/json'],
214
- ['application/json']
248
+ ['application/json'],
249
+ opts['customHeaders']
215
250
  );
216
251
  }
217
252
 
@@ -219,8 +254,12 @@ class UploadsApi {
219
254
  * Generates pre-signed URL to upload cover art for learning modules
220
255
  *
221
256
  * @param {Object} body query
257
+ * @param {Object} opts Optional parameters
258
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
222
259
  */
223
- postUploadsLearningCoverart(body) {
260
+ postUploadsLearningCoverart(body, opts) {
261
+ opts = opts || {};
262
+
224
263
  // verify the required parameter 'body' is set
225
264
  if (body === undefined || body === null) {
226
265
  throw 'Missing the required parameter "body" when calling postUploadsLearningCoverart';
@@ -236,7 +275,8 @@ class UploadsApi {
236
275
  body,
237
276
  ['PureCloud OAuth'],
238
277
  ['application/json'],
239
- ['application/json']
278
+ ['application/json'],
279
+ opts['customHeaders']
240
280
  );
241
281
  }
242
282
 
@@ -244,8 +284,12 @@ class UploadsApi {
244
284
  * Creates presigned url for uploading a public asset image
245
285
  *
246
286
  * @param {Object} body query
287
+ * @param {Object} opts Optional parameters
288
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
247
289
  */
248
- postUploadsPublicassetsImages(body) {
290
+ postUploadsPublicassetsImages(body, opts) {
291
+ opts = opts || {};
292
+
249
293
  // verify the required parameter 'body' is set
250
294
  if (body === undefined || body === null) {
251
295
  throw 'Missing the required parameter "body" when calling postUploadsPublicassetsImages';
@@ -261,7 +305,8 @@ class UploadsApi {
261
305
  body,
262
306
  ['PureCloud OAuth'],
263
307
  ['application/json'],
264
- ['application/json']
308
+ ['application/json'],
309
+ opts['customHeaders']
265
310
  );
266
311
  }
267
312
 
@@ -269,8 +314,12 @@ class UploadsApi {
269
314
  * Creates presigned url for uploading a recording file
270
315
  *
271
316
  * @param {Object} body query
317
+ * @param {Object} opts Optional parameters
318
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
272
319
  */
273
- postUploadsRecordings(body) {
320
+ postUploadsRecordings(body, opts) {
321
+ opts = opts || {};
322
+
274
323
  // verify the required parameter 'body' is set
275
324
  if (body === undefined || body === null) {
276
325
  throw 'Missing the required parameter "body" when calling postUploadsRecordings';
@@ -286,7 +335,8 @@ class UploadsApi {
286
335
  body,
287
336
  ['PureCloud OAuth'],
288
337
  ['application/json'],
289
- ['application/json']
338
+ ['application/json'],
339
+ opts['customHeaders']
290
340
  );
291
341
  }
292
342
 
@@ -294,8 +344,12 @@ class UploadsApi {
294
344
  * Creates presigned url for uploading WFM historical data file. Requires data in csv format.
295
345
  *
296
346
  * @param {Object} body query
347
+ * @param {Object} opts Optional parameters
348
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
297
349
  */
298
- postUploadsWorkforcemanagementHistoricaldataCsv(body) {
350
+ postUploadsWorkforcemanagementHistoricaldataCsv(body, opts) {
351
+ opts = opts || {};
352
+
299
353
  // verify the required parameter 'body' is set
300
354
  if (body === undefined || body === null) {
301
355
  throw 'Missing the required parameter "body" when calling postUploadsWorkforcemanagementHistoricaldataCsv';
@@ -311,7 +365,8 @@ class UploadsApi {
311
365
  body,
312
366
  ['PureCloud OAuth'],
313
367
  ['application/json'],
314
- ['application/json']
368
+ ['application/json'],
369
+ opts['customHeaders']
315
370
  );
316
371
  }
317
372