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 DataExtensionsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* DataExtensions service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 250.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -24,8 +24,12 @@ class DataExtensionsApi {
|
|
|
24
24
|
* Get a specific named core type.
|
|
25
25
|
*
|
|
26
26
|
* @param {Object} coretypeName The core type's name
|
|
27
|
+
* @param {Object} opts Optional parameters
|
|
28
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
27
29
|
*/
|
|
28
|
-
getDataextensionsCoretype(coretypeName) {
|
|
30
|
+
getDataextensionsCoretype(coretypeName, opts) {
|
|
31
|
+
opts = opts || {};
|
|
32
|
+
|
|
29
33
|
// verify the required parameter 'coretypeName' is set
|
|
30
34
|
if (coretypeName === undefined || coretypeName === null || coretypeName === '') {
|
|
31
35
|
throw 'Missing the required parameter "coretypeName" when calling getDataextensionsCoretype';
|
|
@@ -41,15 +45,20 @@ class DataExtensionsApi {
|
|
|
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
|
* Get the core types from which all schemas are built.
|
|
50
55
|
*
|
|
56
|
+
* @param {Object} opts Optional parameters
|
|
57
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
51
58
|
*/
|
|
52
|
-
getDataextensionsCoretypes() {
|
|
59
|
+
getDataextensionsCoretypes(opts) {
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
|
|
53
62
|
|
|
54
63
|
return this.apiClient.callApi(
|
|
55
64
|
'/api/v2/dataextensions/coretypes',
|
|
@@ -61,15 +70,20 @@ class DataExtensionsApi {
|
|
|
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
|
|
|
68
78
|
/**
|
|
69
79
|
* Get quantitative limits on schemas
|
|
70
80
|
*
|
|
81
|
+
* @param {Object} opts Optional parameters
|
|
82
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
71
83
|
*/
|
|
72
|
-
getDataextensionsLimits() {
|
|
84
|
+
getDataextensionsLimits(opts) {
|
|
85
|
+
opts = opts || {};
|
|
86
|
+
|
|
73
87
|
|
|
74
88
|
return this.apiClient.callApi(
|
|
75
89
|
'/api/v2/dataextensions/limits',
|
|
@@ -81,7 +95,8 @@ class DataExtensionsApi {
|
|
|
81
95
|
null,
|
|
82
96
|
['PureCloud OAuth'],
|
|
83
97
|
['application/json'],
|
|
84
|
-
['application/json']
|
|
98
|
+
['application/json'],
|
|
99
|
+
opts['customHeaders']
|
|
85
100
|
);
|
|
86
101
|
}
|
|
87
102
|
|
|
@@ -5,7 +5,7 @@ class DataPrivacyApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* DataPrivacy service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 250.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -24,8 +24,12 @@ class DataPrivacyApi {
|
|
|
24
24
|
* Delete a masking rule.
|
|
25
25
|
*
|
|
26
26
|
* @param {String} ruleId ruleId
|
|
27
|
+
* @param {Object} opts Optional parameters
|
|
28
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
27
29
|
*/
|
|
28
|
-
deleteDataprivacyMaskingrule(ruleId) {
|
|
30
|
+
deleteDataprivacyMaskingrule(ruleId, opts) {
|
|
31
|
+
opts = opts || {};
|
|
32
|
+
|
|
29
33
|
// verify the required parameter 'ruleId' is set
|
|
30
34
|
if (ruleId === undefined || ruleId === null || ruleId === '') {
|
|
31
35
|
throw 'Missing the required parameter "ruleId" when calling deleteDataprivacyMaskingrule';
|
|
@@ -41,7 +45,8 @@ class DataPrivacyApi {
|
|
|
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 DataPrivacyApi {
|
|
|
49
54
|
* Fetch details about a masking rule.
|
|
50
55
|
*
|
|
51
56
|
* @param {String} ruleId ruleId
|
|
57
|
+
* @param {Object} opts Optional parameters
|
|
58
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
52
59
|
*/
|
|
53
|
-
getDataprivacyMaskingrule(ruleId) {
|
|
60
|
+
getDataprivacyMaskingrule(ruleId, opts) {
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
|
|
54
63
|
// verify the required parameter 'ruleId' is set
|
|
55
64
|
if (ruleId === undefined || ruleId === null || ruleId === '') {
|
|
56
65
|
throw 'Missing the required parameter "ruleId" when calling getDataprivacyMaskingrule';
|
|
@@ -66,15 +75,20 @@ class DataPrivacyApi {
|
|
|
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
|
|
|
73
83
|
/**
|
|
74
84
|
* Retrieve the list of masking rules.
|
|
75
85
|
*
|
|
86
|
+
* @param {Object} opts Optional parameters
|
|
87
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
76
88
|
*/
|
|
77
|
-
getDataprivacyMaskingrules() {
|
|
89
|
+
getDataprivacyMaskingrules(opts) {
|
|
90
|
+
opts = opts || {};
|
|
91
|
+
|
|
78
92
|
|
|
79
93
|
return this.apiClient.callApi(
|
|
80
94
|
'/api/v2/dataprivacy/maskingrules',
|
|
@@ -86,7 +100,8 @@ class DataPrivacyApi {
|
|
|
86
100
|
null,
|
|
87
101
|
['PureCloud OAuth'],
|
|
88
102
|
['application/json'],
|
|
89
|
-
['application/json']
|
|
103
|
+
['application/json'],
|
|
104
|
+
opts['customHeaders']
|
|
90
105
|
);
|
|
91
106
|
}
|
|
92
107
|
|
|
@@ -96,6 +111,7 @@ class DataPrivacyApi {
|
|
|
96
111
|
* @param {String} ruleId ruleId
|
|
97
112
|
* @param {Object} opts Optional parameters
|
|
98
113
|
* @param {Object} opts.body
|
|
114
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
99
115
|
*/
|
|
100
116
|
patchDataprivacyMaskingrule(ruleId, opts) {
|
|
101
117
|
opts = opts || {};
|
|
@@ -115,7 +131,8 @@ class DataPrivacyApi {
|
|
|
115
131
|
opts['body'],
|
|
116
132
|
['PureCloud OAuth'],
|
|
117
133
|
['application/json'],
|
|
118
|
-
['application/json']
|
|
134
|
+
['application/json'],
|
|
135
|
+
opts['customHeaders']
|
|
119
136
|
);
|
|
120
137
|
}
|
|
121
138
|
|
|
@@ -123,8 +140,12 @@ class DataPrivacyApi {
|
|
|
123
140
|
* Create a new masking rule resource.
|
|
124
141
|
*
|
|
125
142
|
* @param {Object} body Details for creating masking rule resource
|
|
143
|
+
* @param {Object} opts Optional parameters
|
|
144
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
126
145
|
*/
|
|
127
|
-
postDataprivacyMaskingrules(body) {
|
|
146
|
+
postDataprivacyMaskingrules(body, opts) {
|
|
147
|
+
opts = opts || {};
|
|
148
|
+
|
|
128
149
|
// verify the required parameter 'body' is set
|
|
129
150
|
if (body === undefined || body === null) {
|
|
130
151
|
throw 'Missing the required parameter "body" when calling postDataprivacyMaskingrules';
|
|
@@ -140,7 +161,8 @@ class DataPrivacyApi {
|
|
|
140
161
|
body,
|
|
141
162
|
['PureCloud OAuth'],
|
|
142
163
|
['application/json'],
|
|
143
|
-
['application/json']
|
|
164
|
+
['application/json'],
|
|
165
|
+
opts['customHeaders']
|
|
144
166
|
);
|
|
145
167
|
}
|
|
146
168
|
|
|
@@ -148,8 +170,12 @@ class DataPrivacyApi {
|
|
|
148
170
|
* Validate masking before creating.
|
|
149
171
|
*
|
|
150
172
|
* @param {Object} body Text to be masked
|
|
173
|
+
* @param {Object} opts Optional parameters
|
|
174
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
151
175
|
*/
|
|
152
|
-
postDataprivacyMaskingrulesValidate(body) {
|
|
176
|
+
postDataprivacyMaskingrulesValidate(body, opts) {
|
|
177
|
+
opts = opts || {};
|
|
178
|
+
|
|
153
179
|
// verify the required parameter 'body' is set
|
|
154
180
|
if (body === undefined || body === null) {
|
|
155
181
|
throw 'Missing the required parameter "body" when calling postDataprivacyMaskingrulesValidate';
|
|
@@ -165,7 +191,8 @@ class DataPrivacyApi {
|
|
|
165
191
|
body,
|
|
166
192
|
['PureCloud OAuth'],
|
|
167
193
|
['application/json'],
|
|
168
|
-
['application/json']
|
|
194
|
+
['application/json'],
|
|
195
|
+
opts['customHeaders']
|
|
169
196
|
);
|
|
170
197
|
}
|
|
171
198
|
|
|
@@ -5,7 +5,7 @@ class DownloadsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Downloads service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 250.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -28,6 +28,7 @@ class DownloadsApi {
|
|
|
28
28
|
* @param {String} opts.contentDisposition
|
|
29
29
|
* @param {Boolean} opts.issueRedirect (default to true)
|
|
30
30
|
* @param {Boolean} opts.redirectToAuth (default to true)
|
|
31
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
31
32
|
*/
|
|
32
33
|
getDownload(downloadId, opts) {
|
|
33
34
|
opts = opts || {};
|
|
@@ -47,7 +48,8 @@ class DownloadsApi {
|
|
|
47
48
|
null,
|
|
48
49
|
['PureCloud OAuth'],
|
|
49
50
|
['application/json'],
|
|
50
|
-
['application/json']
|
|
51
|
+
['application/json'],
|
|
52
|
+
opts['customHeaders']
|
|
51
53
|
);
|
|
52
54
|
}
|
|
53
55
|
|
|
@@ -5,7 +5,7 @@ class EmailsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Emails service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 250.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -23,8 +23,12 @@ class EmailsApi {
|
|
|
23
23
|
/**
|
|
24
24
|
* Reset email threading settings to default
|
|
25
25
|
*
|
|
26
|
+
* @param {Object} opts Optional parameters
|
|
27
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
26
28
|
*/
|
|
27
|
-
deleteEmailsSettingsThreading() {
|
|
29
|
+
deleteEmailsSettingsThreading(opts) {
|
|
30
|
+
opts = opts || {};
|
|
31
|
+
|
|
28
32
|
|
|
29
33
|
return this.apiClient.callApi(
|
|
30
34
|
'/api/v2/emails/settings/threading',
|
|
@@ -36,15 +40,20 @@ class EmailsApi {
|
|
|
36
40
|
null,
|
|
37
41
|
['PureCloud OAuth'],
|
|
38
42
|
['application/json'],
|
|
39
|
-
['application/json']
|
|
43
|
+
['application/json'],
|
|
44
|
+
opts['customHeaders']
|
|
40
45
|
);
|
|
41
46
|
}
|
|
42
47
|
|
|
43
48
|
/**
|
|
44
49
|
* Get email Contact Center settings
|
|
45
50
|
*
|
|
51
|
+
* @param {Object} opts Optional parameters
|
|
52
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
46
53
|
*/
|
|
47
|
-
getEmailsSettings() {
|
|
54
|
+
getEmailsSettings(opts) {
|
|
55
|
+
opts = opts || {};
|
|
56
|
+
|
|
48
57
|
|
|
49
58
|
return this.apiClient.callApi(
|
|
50
59
|
'/api/v2/emails/settings',
|
|
@@ -56,15 +65,20 @@ class EmailsApi {
|
|
|
56
65
|
null,
|
|
57
66
|
['PureCloud OAuth'],
|
|
58
67
|
['application/json'],
|
|
59
|
-
['application/json']
|
|
68
|
+
['application/json'],
|
|
69
|
+
opts['customHeaders']
|
|
60
70
|
);
|
|
61
71
|
}
|
|
62
72
|
|
|
63
73
|
/**
|
|
64
74
|
* Get email threading settings
|
|
65
75
|
*
|
|
76
|
+
* @param {Object} opts Optional parameters
|
|
77
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
66
78
|
*/
|
|
67
|
-
getEmailsSettingsThreading() {
|
|
79
|
+
getEmailsSettingsThreading(opts) {
|
|
80
|
+
opts = opts || {};
|
|
81
|
+
|
|
68
82
|
|
|
69
83
|
return this.apiClient.callApi(
|
|
70
84
|
'/api/v2/emails/settings/threading',
|
|
@@ -76,7 +90,8 @@ class EmailsApi {
|
|
|
76
90
|
null,
|
|
77
91
|
['PureCloud OAuth'],
|
|
78
92
|
['application/json'],
|
|
79
|
-
['application/json']
|
|
93
|
+
['application/json'],
|
|
94
|
+
opts['customHeaders']
|
|
80
95
|
);
|
|
81
96
|
}
|
|
82
97
|
|
|
@@ -85,6 +100,7 @@ class EmailsApi {
|
|
|
85
100
|
*
|
|
86
101
|
* @param {Object} opts Optional parameters
|
|
87
102
|
* @param {Object} opts.body
|
|
103
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
88
104
|
*/
|
|
89
105
|
patchEmailsSettings(opts) {
|
|
90
106
|
opts = opts || {};
|
|
@@ -100,7 +116,8 @@ class EmailsApi {
|
|
|
100
116
|
opts['body'],
|
|
101
117
|
['PureCloud OAuth'],
|
|
102
118
|
['application/json'],
|
|
103
|
-
['application/json']
|
|
119
|
+
['application/json'],
|
|
120
|
+
opts['customHeaders']
|
|
104
121
|
);
|
|
105
122
|
}
|
|
106
123
|
|
|
@@ -109,6 +126,7 @@ class EmailsApi {
|
|
|
109
126
|
*
|
|
110
127
|
* @param {Object} opts Optional parameters
|
|
111
128
|
* @param {Object} opts.body
|
|
129
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
112
130
|
*/
|
|
113
131
|
patchEmailsSettingsThreading(opts) {
|
|
114
132
|
opts = opts || {};
|
|
@@ -124,7 +142,8 @@ class EmailsApi {
|
|
|
124
142
|
opts['body'],
|
|
125
143
|
['PureCloud OAuth'],
|
|
126
144
|
['application/json'],
|
|
127
|
-
['application/json']
|
|
145
|
+
['application/json'],
|
|
146
|
+
opts['customHeaders']
|
|
128
147
|
);
|
|
129
148
|
}
|
|
130
149
|
|
|
@@ -5,7 +5,7 @@ class EmployeeEngagementApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* EmployeeEngagement service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 250.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -24,8 +24,12 @@ class EmployeeEngagementApi {
|
|
|
24
24
|
* Deletes a celebration
|
|
25
25
|
*
|
|
26
26
|
* @param {String} celebrationId The ID of the celebration
|
|
27
|
+
* @param {Object} opts Optional parameters
|
|
28
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
27
29
|
*/
|
|
28
|
-
deleteEmployeeengagementCelebration(celebrationId) {
|
|
30
|
+
deleteEmployeeengagementCelebration(celebrationId, opts) {
|
|
31
|
+
opts = opts || {};
|
|
32
|
+
|
|
29
33
|
// verify the required parameter 'celebrationId' is set
|
|
30
34
|
if (celebrationId === undefined || celebrationId === null || celebrationId === '') {
|
|
31
35
|
throw 'Missing the required parameter "celebrationId" when calling deleteEmployeeengagementCelebration';
|
|
@@ -41,7 +45,8 @@ class EmployeeEngagementApi {
|
|
|
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
|
|
|
@@ -51,6 +56,7 @@ class EmployeeEngagementApi {
|
|
|
51
56
|
* @param {Object} opts Optional parameters
|
|
52
57
|
* @param {Number} opts.pageNumber (default to 1)
|
|
53
58
|
* @param {Number} opts.pageSize (default to 25)
|
|
59
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
54
60
|
*/
|
|
55
61
|
getEmployeeengagementCelebrations(opts) {
|
|
56
62
|
opts = opts || {};
|
|
@@ -66,7 +72,8 @@ class EmployeeEngagementApi {
|
|
|
66
72
|
null,
|
|
67
73
|
['PureCloud OAuth'],
|
|
68
74
|
['application/json'],
|
|
69
|
-
['application/json']
|
|
75
|
+
['application/json'],
|
|
76
|
+
opts['customHeaders']
|
|
70
77
|
);
|
|
71
78
|
}
|
|
72
79
|
|
|
@@ -74,8 +81,12 @@ class EmployeeEngagementApi {
|
|
|
74
81
|
* Gets a single recognition
|
|
75
82
|
*
|
|
76
83
|
* @param {String} recognitionId The Recognition ID
|
|
84
|
+
* @param {Object} opts Optional parameters
|
|
85
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
77
86
|
*/
|
|
78
|
-
getEmployeeengagementRecognition(recognitionId) {
|
|
87
|
+
getEmployeeengagementRecognition(recognitionId, opts) {
|
|
88
|
+
opts = opts || {};
|
|
89
|
+
|
|
79
90
|
// verify the required parameter 'recognitionId' is set
|
|
80
91
|
if (recognitionId === undefined || recognitionId === null || recognitionId === '') {
|
|
81
92
|
throw 'Missing the required parameter "recognitionId" when calling getEmployeeengagementRecognition';
|
|
@@ -91,7 +102,8 @@ class EmployeeEngagementApi {
|
|
|
91
102
|
null,
|
|
92
103
|
['PureCloud OAuth'],
|
|
93
104
|
['application/json'],
|
|
94
|
-
['application/json']
|
|
105
|
+
['application/json'],
|
|
106
|
+
opts['customHeaders']
|
|
95
107
|
);
|
|
96
108
|
}
|
|
97
109
|
|
|
@@ -105,6 +117,7 @@ class EmployeeEngagementApi {
|
|
|
105
117
|
* @param {Date} opts.dateEnd The end date of the search range. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
|
|
106
118
|
* @param {Number} opts.pageSize Page size (default to 100)
|
|
107
119
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
120
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
108
121
|
*/
|
|
109
122
|
getEmployeeengagementRecognitions(opts) {
|
|
110
123
|
opts = opts || {};
|
|
@@ -120,7 +133,8 @@ class EmployeeEngagementApi {
|
|
|
120
133
|
null,
|
|
121
134
|
['PureCloud OAuth'],
|
|
122
135
|
['application/json'],
|
|
123
|
-
['application/json']
|
|
136
|
+
['application/json'],
|
|
137
|
+
opts['customHeaders']
|
|
124
138
|
);
|
|
125
139
|
}
|
|
126
140
|
|
|
@@ -129,8 +143,12 @@ class EmployeeEngagementApi {
|
|
|
129
143
|
*
|
|
130
144
|
* @param {String} celebrationId The ID of the celebration
|
|
131
145
|
* @param {Object} body Patch Celebration state
|
|
146
|
+
* @param {Object} opts Optional parameters
|
|
147
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
132
148
|
*/
|
|
133
|
-
patchEmployeeengagementCelebration(celebrationId, body) {
|
|
149
|
+
patchEmployeeengagementCelebration(celebrationId, body, opts) {
|
|
150
|
+
opts = opts || {};
|
|
151
|
+
|
|
134
152
|
// verify the required parameter 'celebrationId' is set
|
|
135
153
|
if (celebrationId === undefined || celebrationId === null || celebrationId === '') {
|
|
136
154
|
throw 'Missing the required parameter "celebrationId" when calling patchEmployeeengagementCelebration';
|
|
@@ -150,7 +168,8 @@ class EmployeeEngagementApi {
|
|
|
150
168
|
body,
|
|
151
169
|
['PureCloud OAuth'],
|
|
152
170
|
['application/json'],
|
|
153
|
-
['application/json']
|
|
171
|
+
['application/json'],
|
|
172
|
+
opts['customHeaders']
|
|
154
173
|
);
|
|
155
174
|
}
|
|
156
175
|
|
|
@@ -158,8 +177,12 @@ class EmployeeEngagementApi {
|
|
|
158
177
|
* Creates a recognition
|
|
159
178
|
*
|
|
160
179
|
* @param {Object} body Create Recognition
|
|
180
|
+
* @param {Object} opts Optional parameters
|
|
181
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
161
182
|
*/
|
|
162
|
-
postEmployeeengagementRecognitions(body) {
|
|
183
|
+
postEmployeeengagementRecognitions(body, opts) {
|
|
184
|
+
opts = opts || {};
|
|
185
|
+
|
|
163
186
|
// verify the required parameter 'body' is set
|
|
164
187
|
if (body === undefined || body === null) {
|
|
165
188
|
throw 'Missing the required parameter "body" when calling postEmployeeengagementRecognitions';
|
|
@@ -175,7 +198,8 @@ class EmployeeEngagementApi {
|
|
|
175
198
|
body,
|
|
176
199
|
['PureCloud OAuth'],
|
|
177
200
|
['application/json'],
|
|
178
|
-
['application/json']
|
|
201
|
+
['application/json'],
|
|
202
|
+
opts['customHeaders']
|
|
179
203
|
);
|
|
180
204
|
}
|
|
181
205
|
|
|
@@ -5,7 +5,7 @@ class EventsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Events service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 250.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -24,8 +24,12 @@ class EventsApi {
|
|
|
24
24
|
* Publish Conversation Batch Events
|
|
25
25
|
*
|
|
26
26
|
* @param {Object} body batchRequest
|
|
27
|
+
* @param {Object} opts Optional parameters
|
|
28
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
27
29
|
*/
|
|
28
|
-
postEventsConversations(body) {
|
|
30
|
+
postEventsConversations(body, opts) {
|
|
31
|
+
opts = opts || {};
|
|
32
|
+
|
|
29
33
|
// verify the required parameter 'body' is set
|
|
30
34
|
if (body === undefined || body === null) {
|
|
31
35
|
throw 'Missing the required parameter "body" when calling postEventsConversations';
|
|
@@ -41,7 +45,8 @@ class EventsApi {
|
|
|
41
45
|
body,
|
|
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 EventsApi {
|
|
|
49
54
|
* Publish User Presence Status Batch Events
|
|
50
55
|
*
|
|
51
56
|
* @param {Object} body batchRequest
|
|
57
|
+
* @param {Object} opts Optional parameters
|
|
58
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
52
59
|
*/
|
|
53
|
-
postEventsUsersPresence(body) {
|
|
60
|
+
postEventsUsersPresence(body, opts) {
|
|
61
|
+
opts = opts || {};
|
|
62
|
+
|
|
54
63
|
// verify the required parameter 'body' is set
|
|
55
64
|
if (body === undefined || body === null) {
|
|
56
65
|
throw 'Missing the required parameter "body" when calling postEventsUsersPresence';
|
|
@@ -66,7 +75,8 @@ class EventsApi {
|
|
|
66
75
|
body,
|
|
67
76
|
['PureCloud OAuth'],
|
|
68
77
|
['application/json'],
|
|
69
|
-
['application/json']
|
|
78
|
+
['application/json'],
|
|
79
|
+
opts['customHeaders']
|
|
70
80
|
);
|
|
71
81
|
}
|
|
72
82
|
|
|
@@ -74,8 +84,12 @@ class EventsApi {
|
|
|
74
84
|
* Publish Agent Routing Status Batch Events
|
|
75
85
|
*
|
|
76
86
|
* @param {Object} body batchRequest
|
|
87
|
+
* @param {Object} opts Optional parameters
|
|
88
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
77
89
|
*/
|
|
78
|
-
postEventsUsersRoutingstatus(body) {
|
|
90
|
+
postEventsUsersRoutingstatus(body, opts) {
|
|
91
|
+
opts = opts || {};
|
|
92
|
+
|
|
79
93
|
// verify the required parameter 'body' is set
|
|
80
94
|
if (body === undefined || body === null) {
|
|
81
95
|
throw 'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';
|
|
@@ -91,7 +105,8 @@ class EventsApi {
|
|
|
91
105
|
body,
|
|
92
106
|
['PureCloud OAuth'],
|
|
93
107
|
['application/json'],
|
|
94
|
-
['application/json']
|
|
108
|
+
['application/json'],
|
|
109
|
+
opts['customHeaders']
|
|
95
110
|
);
|
|
96
111
|
}
|
|
97
112
|
|