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.
- package/README.md +34 -3
- package/dist/node/purecloud-platform-client-v2.js +20042 -5569
- package/dist/web-amd/purecloud-platform-client-v2.js +20042 -5569
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +11159 -5369
- package/dist/web-cjs/purecloud-platform-client-v2.js +11159 -5369
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +10600 -2242
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +26 -2
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +136 -40
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +130 -39
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +18 -6
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +29 -9
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +86 -26
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +917 -224
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +754 -226
- package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.js +36 -11
- package/src/purecloud-platform-client-v2/api/AuditApi.js +38 -12
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +302 -91
- package/src/purecloud-platform-client-v2/api/BackgroundAssistantApi.js +7 -3
- package/src/purecloud-platform-client-v2/api/BillingApi.js +41 -13
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +180 -53
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +11 -4
- package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +187 -56
- package/src/purecloud-platform-client-v2/api/ChatApi.js +223 -65
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +124 -37
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +165 -51
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1992 -578
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +22 -7
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +39 -12
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +4 -2
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +28 -9
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +35 -11
- package/src/purecloud-platform-client-v2/api/EventsApi.js +22 -7
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +700 -206
- package/src/purecloud-platform-client-v2/api/FaxApi.js +49 -15
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +42 -13
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +419 -125
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +21 -7
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +29 -9
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +106 -32
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +103 -31
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +267 -77
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +20 -7
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +461 -139
- package/src/purecloud-platform-client-v2/api/IntentsApi.js +93 -28
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +872 -120
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +618 -185
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +221 -66
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +53 -16
- package/src/purecloud-platform-client-v2/api/LearningApi.js +199 -60
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +51 -16
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +45 -14
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +34 -11
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +84 -25
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +28 -9
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +41 -13
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +72 -22
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +58 -18
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +21 -7
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +122 -36
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +297 -87
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1066 -312
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +162 -48
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +41 -13
- package/src/purecloud-platform-client-v2/api/QualityApi.js +409 -121
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +351 -108
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +113 -34
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +964 -284
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +123 -39
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +50 -17
- package/src/purecloud-platform-client-v2/api/SearchApi.js +147 -44
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +87 -26
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +208 -67
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +389 -114
- package/src/purecloud-platform-client-v2/api/StationsApi.js +18 -6
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +13 -5
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +473 -138
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +55 -17
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +80 -24
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +751 -220
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +25 -8
- package/src/purecloud-platform-client-v2/api/TokensApi.js +35 -11
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +78 -23
- package/src/purecloud-platform-client-v2/api/UsageApi.js +62 -19
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +27 -9
- package/src/purecloud-platform-client-v2/api/UsersApi.js +717 -228
- package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +52 -16
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +25 -8
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +154 -46
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +126 -37
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +120 -36
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +25 -8
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +36 -11
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +2475 -577
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class ProcessAutomationApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* ProcessAutomation service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 250.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -24,8 +24,12 @@ class ProcessAutomationApi {
|
|
|
24
24
|
* Delete a Trigger
|
|
25
25
|
*
|
|
26
26
|
* @param {String} triggerId triggerId
|
|
27
|
+
* @param {Object} opts Optional parameters
|
|
28
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
27
29
|
*/
|
|
28
|
-
deleteProcessautomationTrigger(triggerId) {
|
|
30
|
+
deleteProcessautomationTrigger(triggerId, opts) {
|
|
31
|
+
opts = opts || {};
|
|
32
|
+
|
|
29
33
|
// verify the required parameter 'triggerId' is set
|
|
30
34
|
if (triggerId === undefined || triggerId === null || triggerId === '') {
|
|
31
35
|
throw 'Missing the required parameter "triggerId" when calling deleteProcessautomationTrigger';
|
|
@@ -41,7 +45,8 @@ class ProcessAutomationApi {
|
|
|
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,8 +54,12 @@ class ProcessAutomationApi {
|
|
|
49
54
|
* Retrieve a single Trigger matching id
|
|
50
55
|
*
|
|
51
56
|
* @param {String} triggerId triggerId
|
|
57
|
+
* @param {Object} opts Optional parameters
|
|
58
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
52
59
|
*/
|
|
53
|
-
getProcessautomationTrigger(triggerId) {
|
|
60
|
+
getProcessautomationTrigger(triggerId, opts) {
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
|
|
54
63
|
// verify the required parameter 'triggerId' is set
|
|
55
64
|
if (triggerId === undefined || triggerId === null || triggerId === '') {
|
|
56
65
|
throw 'Missing the required parameter "triggerId" when calling getProcessautomationTrigger';
|
|
@@ -66,7 +75,8 @@ class ProcessAutomationApi {
|
|
|
66
75
|
null,
|
|
67
76
|
['PureCloud OAuth'],
|
|
68
77
|
['application/json'],
|
|
69
|
-
['application/json']
|
|
78
|
+
['application/json'],
|
|
79
|
+
opts['customHeaders']
|
|
70
80
|
);
|
|
71
81
|
}
|
|
72
82
|
|
|
@@ -80,6 +90,7 @@ class ProcessAutomationApi {
|
|
|
80
90
|
* @param {String} opts.topicName Topic name(s). Separated by commas
|
|
81
91
|
* @param {Boolean} opts.enabled Boolean indicating desired enabled state of triggers
|
|
82
92
|
* @param {Boolean} opts.hasDelayBy Boolean to filter based on delayBySeconds being set in triggers. Default returns all, true returns only those with delayBySeconds set, false returns those without delayBySeconds set.
|
|
93
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
83
94
|
*/
|
|
84
95
|
getProcessautomationTriggers(opts) {
|
|
85
96
|
opts = opts || {};
|
|
@@ -95,7 +106,8 @@ class ProcessAutomationApi {
|
|
|
95
106
|
null,
|
|
96
107
|
['PureCloud OAuth'],
|
|
97
108
|
['application/json'],
|
|
98
|
-
['application/json']
|
|
109
|
+
['application/json'],
|
|
110
|
+
opts['customHeaders']
|
|
99
111
|
);
|
|
100
112
|
}
|
|
101
113
|
|
|
@@ -106,6 +118,7 @@ class ProcessAutomationApi {
|
|
|
106
118
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
107
119
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
108
120
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
121
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
109
122
|
*/
|
|
110
123
|
getProcessautomationTriggersTopics(opts) {
|
|
111
124
|
opts = opts || {};
|
|
@@ -121,7 +134,8 @@ class ProcessAutomationApi {
|
|
|
121
134
|
null,
|
|
122
135
|
['PureCloud OAuth'],
|
|
123
136
|
['application/json'],
|
|
124
|
-
['application/json']
|
|
137
|
+
['application/json'],
|
|
138
|
+
opts['customHeaders']
|
|
125
139
|
);
|
|
126
140
|
}
|
|
127
141
|
|
|
@@ -131,6 +145,7 @@ class ProcessAutomationApi {
|
|
|
131
145
|
* @param {String} triggerId triggerId
|
|
132
146
|
* @param {Object} opts Optional parameters
|
|
133
147
|
* @param {String} opts.body eventBody
|
|
148
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
134
149
|
*/
|
|
135
150
|
postProcessautomationTriggerTest(triggerId, opts) {
|
|
136
151
|
opts = opts || {};
|
|
@@ -150,7 +165,8 @@ class ProcessAutomationApi {
|
|
|
150
165
|
opts['body'],
|
|
151
166
|
['PureCloud OAuth'],
|
|
152
167
|
['application/json'],
|
|
153
|
-
['application/json']
|
|
168
|
+
['application/json'],
|
|
169
|
+
opts['customHeaders']
|
|
154
170
|
);
|
|
155
171
|
}
|
|
156
172
|
|
|
@@ -158,8 +174,12 @@ class ProcessAutomationApi {
|
|
|
158
174
|
* Create a Trigger
|
|
159
175
|
*
|
|
160
176
|
* @param {Object} body Input used to create a Trigger.
|
|
177
|
+
* @param {Object} opts Optional parameters
|
|
178
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
161
179
|
*/
|
|
162
|
-
postProcessautomationTriggers(body) {
|
|
180
|
+
postProcessautomationTriggers(body, opts) {
|
|
181
|
+
opts = opts || {};
|
|
182
|
+
|
|
163
183
|
// verify the required parameter 'body' is set
|
|
164
184
|
if (body === undefined || body === null) {
|
|
165
185
|
throw 'Missing the required parameter "body" when calling postProcessautomationTriggers';
|
|
@@ -175,7 +195,8 @@ class ProcessAutomationApi {
|
|
|
175
195
|
body,
|
|
176
196
|
['PureCloud OAuth'],
|
|
177
197
|
['application/json'],
|
|
178
|
-
['application/json']
|
|
198
|
+
['application/json'],
|
|
199
|
+
opts['customHeaders']
|
|
179
200
|
);
|
|
180
201
|
}
|
|
181
202
|
|
|
@@ -185,6 +206,7 @@ class ProcessAutomationApi {
|
|
|
185
206
|
* @param {String} topicName topicName
|
|
186
207
|
* @param {Object} opts Optional parameters
|
|
187
208
|
* @param {String} opts.body eventBody
|
|
209
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
188
210
|
*/
|
|
189
211
|
postProcessautomationTriggersTopicTest(topicName, opts) {
|
|
190
212
|
opts = opts || {};
|
|
@@ -204,7 +226,8 @@ class ProcessAutomationApi {
|
|
|
204
226
|
opts['body'],
|
|
205
227
|
['PureCloud OAuth'],
|
|
206
228
|
['application/json'],
|
|
207
|
-
['application/json']
|
|
229
|
+
['application/json'],
|
|
230
|
+
opts['customHeaders']
|
|
208
231
|
);
|
|
209
232
|
}
|
|
210
233
|
|
|
@@ -213,8 +236,12 @@ class ProcessAutomationApi {
|
|
|
213
236
|
*
|
|
214
237
|
* @param {String} triggerId triggerId
|
|
215
238
|
* @param {Object} body Input to update Trigger. (topicName cannot be updated, a new trigger must be created to use a new topicName)
|
|
239
|
+
* @param {Object} opts Optional parameters
|
|
240
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
216
241
|
*/
|
|
217
|
-
putProcessautomationTrigger(triggerId, body) {
|
|
242
|
+
putProcessautomationTrigger(triggerId, body, opts) {
|
|
243
|
+
opts = opts || {};
|
|
244
|
+
|
|
218
245
|
// verify the required parameter 'triggerId' is set
|
|
219
246
|
if (triggerId === undefined || triggerId === null || triggerId === '') {
|
|
220
247
|
throw 'Missing the required parameter "triggerId" when calling putProcessautomationTrigger';
|
|
@@ -234,7 +261,8 @@ class ProcessAutomationApi {
|
|
|
234
261
|
body,
|
|
235
262
|
['PureCloud OAuth'],
|
|
236
263
|
['application/json'],
|
|
237
|
-
['application/json']
|
|
264
|
+
['application/json'],
|
|
265
|
+
opts['customHeaders']
|
|
238
266
|
);
|
|
239
267
|
}
|
|
240
268
|
|