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 IdentityProviderApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* IdentityProvider service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 250.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -24,8 +24,12 @@ class IdentityProviderApi {
|
|
|
24
24
|
* Delete Identity Provider
|
|
25
25
|
*
|
|
26
26
|
* @param {String} providerId Provider ID
|
|
27
|
+
* @param {Object} opts Optional parameters
|
|
28
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
27
29
|
*/
|
|
28
|
-
deleteIdentityprovider(providerId) {
|
|
30
|
+
deleteIdentityprovider(providerId, opts) {
|
|
31
|
+
opts = opts || {};
|
|
32
|
+
|
|
29
33
|
// verify the required parameter 'providerId' is set
|
|
30
34
|
if (providerId === undefined || providerId === null || providerId === '') {
|
|
31
35
|
throw 'Missing the required parameter "providerId" when calling deleteIdentityprovider';
|
|
@@ -41,15 +45,20 @@ class IdentityProviderApi {
|
|
|
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 ADFS Identity Provider
|
|
50
55
|
*
|
|
56
|
+
* @param {Object} opts Optional parameters
|
|
57
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
51
58
|
*/
|
|
52
|
-
deleteIdentityprovidersAdfs() {
|
|
59
|
+
deleteIdentityprovidersAdfs(opts) {
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
|
|
53
62
|
|
|
54
63
|
return this.apiClient.callApi(
|
|
55
64
|
'/api/v2/identityproviders/adfs',
|
|
@@ -61,15 +70,20 @@ class IdentityProviderApi {
|
|
|
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
|
* Delete Customer Interaction Center (CIC) Identity Provider
|
|
70
80
|
*
|
|
81
|
+
* @param {Object} opts Optional parameters
|
|
82
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
71
83
|
*/
|
|
72
|
-
deleteIdentityprovidersCic() {
|
|
84
|
+
deleteIdentityprovidersCic(opts) {
|
|
85
|
+
opts = opts || {};
|
|
86
|
+
|
|
73
87
|
|
|
74
88
|
return this.apiClient.callApi(
|
|
75
89
|
'/api/v2/identityproviders/cic',
|
|
@@ -81,15 +95,20 @@ class IdentityProviderApi {
|
|
|
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
|
|
|
88
103
|
/**
|
|
89
104
|
* Delete Generic SAML Identity Provider
|
|
90
105
|
*
|
|
106
|
+
* @param {Object} opts Optional parameters
|
|
107
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
91
108
|
*/
|
|
92
|
-
deleteIdentityprovidersGeneric() {
|
|
109
|
+
deleteIdentityprovidersGeneric(opts) {
|
|
110
|
+
opts = opts || {};
|
|
111
|
+
|
|
93
112
|
|
|
94
113
|
return this.apiClient.callApi(
|
|
95
114
|
'/api/v2/identityproviders/generic',
|
|
@@ -101,15 +120,20 @@ class IdentityProviderApi {
|
|
|
101
120
|
null,
|
|
102
121
|
['PureCloud OAuth'],
|
|
103
122
|
['application/json'],
|
|
104
|
-
['application/json']
|
|
123
|
+
['application/json'],
|
|
124
|
+
opts['customHeaders']
|
|
105
125
|
);
|
|
106
126
|
}
|
|
107
127
|
|
|
108
128
|
/**
|
|
109
129
|
* Delete G Suite Identity Provider
|
|
110
130
|
*
|
|
131
|
+
* @param {Object} opts Optional parameters
|
|
132
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
111
133
|
*/
|
|
112
|
-
deleteIdentityprovidersGsuite() {
|
|
134
|
+
deleteIdentityprovidersGsuite(opts) {
|
|
135
|
+
opts = opts || {};
|
|
136
|
+
|
|
113
137
|
|
|
114
138
|
return this.apiClient.callApi(
|
|
115
139
|
'/api/v2/identityproviders/gsuite',
|
|
@@ -121,15 +145,20 @@ class IdentityProviderApi {
|
|
|
121
145
|
null,
|
|
122
146
|
['PureCloud OAuth'],
|
|
123
147
|
['application/json'],
|
|
124
|
-
['application/json']
|
|
148
|
+
['application/json'],
|
|
149
|
+
opts['customHeaders']
|
|
125
150
|
);
|
|
126
151
|
}
|
|
127
152
|
|
|
128
153
|
/**
|
|
129
154
|
* Delete IdentityNow Provider
|
|
130
155
|
*
|
|
156
|
+
* @param {Object} opts Optional parameters
|
|
157
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
131
158
|
*/
|
|
132
|
-
deleteIdentityprovidersIdentitynow() {
|
|
159
|
+
deleteIdentityprovidersIdentitynow(opts) {
|
|
160
|
+
opts = opts || {};
|
|
161
|
+
|
|
133
162
|
|
|
134
163
|
return this.apiClient.callApi(
|
|
135
164
|
'/api/v2/identityproviders/identitynow',
|
|
@@ -141,15 +170,20 @@ class IdentityProviderApi {
|
|
|
141
170
|
null,
|
|
142
171
|
['PureCloud OAuth'],
|
|
143
172
|
['application/json'],
|
|
144
|
-
['application/json']
|
|
173
|
+
['application/json'],
|
|
174
|
+
opts['customHeaders']
|
|
145
175
|
);
|
|
146
176
|
}
|
|
147
177
|
|
|
148
178
|
/**
|
|
149
179
|
* Delete Okta Identity Provider
|
|
150
180
|
*
|
|
181
|
+
* @param {Object} opts Optional parameters
|
|
182
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
151
183
|
*/
|
|
152
|
-
deleteIdentityprovidersOkta() {
|
|
184
|
+
deleteIdentityprovidersOkta(opts) {
|
|
185
|
+
opts = opts || {};
|
|
186
|
+
|
|
153
187
|
|
|
154
188
|
return this.apiClient.callApi(
|
|
155
189
|
'/api/v2/identityproviders/okta',
|
|
@@ -161,15 +195,20 @@ class IdentityProviderApi {
|
|
|
161
195
|
null,
|
|
162
196
|
['PureCloud OAuth'],
|
|
163
197
|
['application/json'],
|
|
164
|
-
['application/json']
|
|
198
|
+
['application/json'],
|
|
199
|
+
opts['customHeaders']
|
|
165
200
|
);
|
|
166
201
|
}
|
|
167
202
|
|
|
168
203
|
/**
|
|
169
204
|
* Delete OneLogin Identity Provider
|
|
170
205
|
*
|
|
206
|
+
* @param {Object} opts Optional parameters
|
|
207
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
171
208
|
*/
|
|
172
|
-
deleteIdentityprovidersOnelogin() {
|
|
209
|
+
deleteIdentityprovidersOnelogin(opts) {
|
|
210
|
+
opts = opts || {};
|
|
211
|
+
|
|
173
212
|
|
|
174
213
|
return this.apiClient.callApi(
|
|
175
214
|
'/api/v2/identityproviders/onelogin',
|
|
@@ -181,15 +220,20 @@ class IdentityProviderApi {
|
|
|
181
220
|
null,
|
|
182
221
|
['PureCloud OAuth'],
|
|
183
222
|
['application/json'],
|
|
184
|
-
['application/json']
|
|
223
|
+
['application/json'],
|
|
224
|
+
opts['customHeaders']
|
|
185
225
|
);
|
|
186
226
|
}
|
|
187
227
|
|
|
188
228
|
/**
|
|
189
229
|
* Delete Ping Identity Provider
|
|
190
230
|
*
|
|
231
|
+
* @param {Object} opts Optional parameters
|
|
232
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
191
233
|
*/
|
|
192
|
-
deleteIdentityprovidersPing() {
|
|
234
|
+
deleteIdentityprovidersPing(opts) {
|
|
235
|
+
opts = opts || {};
|
|
236
|
+
|
|
193
237
|
|
|
194
238
|
return this.apiClient.callApi(
|
|
195
239
|
'/api/v2/identityproviders/ping',
|
|
@@ -201,15 +245,20 @@ class IdentityProviderApi {
|
|
|
201
245
|
null,
|
|
202
246
|
['PureCloud OAuth'],
|
|
203
247
|
['application/json'],
|
|
204
|
-
['application/json']
|
|
248
|
+
['application/json'],
|
|
249
|
+
opts['customHeaders']
|
|
205
250
|
);
|
|
206
251
|
}
|
|
207
252
|
|
|
208
253
|
/**
|
|
209
254
|
* Delete PureCloud Identity Provider
|
|
210
255
|
*
|
|
256
|
+
* @param {Object} opts Optional parameters
|
|
257
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
211
258
|
*/
|
|
212
|
-
deleteIdentityprovidersPurecloud() {
|
|
259
|
+
deleteIdentityprovidersPurecloud(opts) {
|
|
260
|
+
opts = opts || {};
|
|
261
|
+
|
|
213
262
|
|
|
214
263
|
return this.apiClient.callApi(
|
|
215
264
|
'/api/v2/identityproviders/purecloud',
|
|
@@ -221,15 +270,20 @@ class IdentityProviderApi {
|
|
|
221
270
|
null,
|
|
222
271
|
['PureCloud OAuth'],
|
|
223
272
|
['application/json'],
|
|
224
|
-
['application/json']
|
|
273
|
+
['application/json'],
|
|
274
|
+
opts['customHeaders']
|
|
225
275
|
);
|
|
226
276
|
}
|
|
227
277
|
|
|
228
278
|
/**
|
|
229
279
|
* Delete PureEngage Identity Provider
|
|
230
280
|
*
|
|
281
|
+
* @param {Object} opts Optional parameters
|
|
282
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
231
283
|
*/
|
|
232
|
-
deleteIdentityprovidersPureengage() {
|
|
284
|
+
deleteIdentityprovidersPureengage(opts) {
|
|
285
|
+
opts = opts || {};
|
|
286
|
+
|
|
233
287
|
|
|
234
288
|
return this.apiClient.callApi(
|
|
235
289
|
'/api/v2/identityproviders/pureengage',
|
|
@@ -241,15 +295,20 @@ class IdentityProviderApi {
|
|
|
241
295
|
null,
|
|
242
296
|
['PureCloud OAuth'],
|
|
243
297
|
['application/json'],
|
|
244
|
-
['application/json']
|
|
298
|
+
['application/json'],
|
|
299
|
+
opts['customHeaders']
|
|
245
300
|
);
|
|
246
301
|
}
|
|
247
302
|
|
|
248
303
|
/**
|
|
249
304
|
* Delete Salesforce Identity Provider
|
|
250
305
|
*
|
|
306
|
+
* @param {Object} opts Optional parameters
|
|
307
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
251
308
|
*/
|
|
252
|
-
deleteIdentityprovidersSalesforce() {
|
|
309
|
+
deleteIdentityprovidersSalesforce(opts) {
|
|
310
|
+
opts = opts || {};
|
|
311
|
+
|
|
253
312
|
|
|
254
313
|
return this.apiClient.callApi(
|
|
255
314
|
'/api/v2/identityproviders/salesforce',
|
|
@@ -261,7 +320,8 @@ class IdentityProviderApi {
|
|
|
261
320
|
null,
|
|
262
321
|
['PureCloud OAuth'],
|
|
263
322
|
['application/json'],
|
|
264
|
-
['application/json']
|
|
323
|
+
['application/json'],
|
|
324
|
+
opts['customHeaders']
|
|
265
325
|
);
|
|
266
326
|
}
|
|
267
327
|
|
|
@@ -269,8 +329,12 @@ class IdentityProviderApi {
|
|
|
269
329
|
* Get Identity Provider
|
|
270
330
|
*
|
|
271
331
|
* @param {String} providerId Provider ID
|
|
332
|
+
* @param {Object} opts Optional parameters
|
|
333
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
272
334
|
*/
|
|
273
|
-
getIdentityprovider(providerId) {
|
|
335
|
+
getIdentityprovider(providerId, opts) {
|
|
336
|
+
opts = opts || {};
|
|
337
|
+
|
|
274
338
|
// verify the required parameter 'providerId' is set
|
|
275
339
|
if (providerId === undefined || providerId === null || providerId === '') {
|
|
276
340
|
throw 'Missing the required parameter "providerId" when calling getIdentityprovider';
|
|
@@ -286,15 +350,20 @@ class IdentityProviderApi {
|
|
|
286
350
|
null,
|
|
287
351
|
['PureCloud OAuth'],
|
|
288
352
|
['application/json'],
|
|
289
|
-
['application/json']
|
|
353
|
+
['application/json'],
|
|
354
|
+
opts['customHeaders']
|
|
290
355
|
);
|
|
291
356
|
}
|
|
292
357
|
|
|
293
358
|
/**
|
|
294
359
|
* The list of identity providers
|
|
295
360
|
*
|
|
361
|
+
* @param {Object} opts Optional parameters
|
|
362
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
296
363
|
*/
|
|
297
|
-
getIdentityproviders() {
|
|
364
|
+
getIdentityproviders(opts) {
|
|
365
|
+
opts = opts || {};
|
|
366
|
+
|
|
298
367
|
|
|
299
368
|
return this.apiClient.callApi(
|
|
300
369
|
'/api/v2/identityproviders',
|
|
@@ -306,15 +375,20 @@ class IdentityProviderApi {
|
|
|
306
375
|
null,
|
|
307
376
|
['PureCloud OAuth'],
|
|
308
377
|
['application/json'],
|
|
309
|
-
['application/json']
|
|
378
|
+
['application/json'],
|
|
379
|
+
opts['customHeaders']
|
|
310
380
|
);
|
|
311
381
|
}
|
|
312
382
|
|
|
313
383
|
/**
|
|
314
384
|
* Get ADFS Identity Provider
|
|
315
385
|
*
|
|
386
|
+
* @param {Object} opts Optional parameters
|
|
387
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
316
388
|
*/
|
|
317
|
-
getIdentityprovidersAdfs() {
|
|
389
|
+
getIdentityprovidersAdfs(opts) {
|
|
390
|
+
opts = opts || {};
|
|
391
|
+
|
|
318
392
|
|
|
319
393
|
return this.apiClient.callApi(
|
|
320
394
|
'/api/v2/identityproviders/adfs',
|
|
@@ -326,15 +400,20 @@ class IdentityProviderApi {
|
|
|
326
400
|
null,
|
|
327
401
|
['PureCloud OAuth'],
|
|
328
402
|
['application/json'],
|
|
329
|
-
['application/json']
|
|
403
|
+
['application/json'],
|
|
404
|
+
opts['customHeaders']
|
|
330
405
|
);
|
|
331
406
|
}
|
|
332
407
|
|
|
333
408
|
/**
|
|
334
409
|
* Get Customer Interaction Center (CIC) Identity Provider
|
|
335
410
|
*
|
|
411
|
+
* @param {Object} opts Optional parameters
|
|
412
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
336
413
|
*/
|
|
337
|
-
getIdentityprovidersCic() {
|
|
414
|
+
getIdentityprovidersCic(opts) {
|
|
415
|
+
opts = opts || {};
|
|
416
|
+
|
|
338
417
|
|
|
339
418
|
return this.apiClient.callApi(
|
|
340
419
|
'/api/v2/identityproviders/cic',
|
|
@@ -346,15 +425,20 @@ class IdentityProviderApi {
|
|
|
346
425
|
null,
|
|
347
426
|
['PureCloud OAuth'],
|
|
348
427
|
['application/json'],
|
|
349
|
-
['application/json']
|
|
428
|
+
['application/json'],
|
|
429
|
+
opts['customHeaders']
|
|
350
430
|
);
|
|
351
431
|
}
|
|
352
432
|
|
|
353
433
|
/**
|
|
354
434
|
* Get Generic SAML Identity Provider
|
|
355
435
|
*
|
|
436
|
+
* @param {Object} opts Optional parameters
|
|
437
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
356
438
|
*/
|
|
357
|
-
getIdentityprovidersGeneric() {
|
|
439
|
+
getIdentityprovidersGeneric(opts) {
|
|
440
|
+
opts = opts || {};
|
|
441
|
+
|
|
358
442
|
|
|
359
443
|
return this.apiClient.callApi(
|
|
360
444
|
'/api/v2/identityproviders/generic',
|
|
@@ -366,15 +450,20 @@ class IdentityProviderApi {
|
|
|
366
450
|
null,
|
|
367
451
|
['PureCloud OAuth'],
|
|
368
452
|
['application/json'],
|
|
369
|
-
['application/json']
|
|
453
|
+
['application/json'],
|
|
454
|
+
opts['customHeaders']
|
|
370
455
|
);
|
|
371
456
|
}
|
|
372
457
|
|
|
373
458
|
/**
|
|
374
459
|
* Get G Suite Identity Provider
|
|
375
460
|
*
|
|
461
|
+
* @param {Object} opts Optional parameters
|
|
462
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
376
463
|
*/
|
|
377
|
-
getIdentityprovidersGsuite() {
|
|
464
|
+
getIdentityprovidersGsuite(opts) {
|
|
465
|
+
opts = opts || {};
|
|
466
|
+
|
|
378
467
|
|
|
379
468
|
return this.apiClient.callApi(
|
|
380
469
|
'/api/v2/identityproviders/gsuite',
|
|
@@ -386,15 +475,20 @@ class IdentityProviderApi {
|
|
|
386
475
|
null,
|
|
387
476
|
['PureCloud OAuth'],
|
|
388
477
|
['application/json'],
|
|
389
|
-
['application/json']
|
|
478
|
+
['application/json'],
|
|
479
|
+
opts['customHeaders']
|
|
390
480
|
);
|
|
391
481
|
}
|
|
392
482
|
|
|
393
483
|
/**
|
|
394
484
|
* Get IdentityNow Provider
|
|
395
485
|
*
|
|
486
|
+
* @param {Object} opts Optional parameters
|
|
487
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
396
488
|
*/
|
|
397
|
-
getIdentityprovidersIdentitynow() {
|
|
489
|
+
getIdentityprovidersIdentitynow(opts) {
|
|
490
|
+
opts = opts || {};
|
|
491
|
+
|
|
398
492
|
|
|
399
493
|
return this.apiClient.callApi(
|
|
400
494
|
'/api/v2/identityproviders/identitynow',
|
|
@@ -406,15 +500,20 @@ class IdentityProviderApi {
|
|
|
406
500
|
null,
|
|
407
501
|
['PureCloud OAuth'],
|
|
408
502
|
['application/json'],
|
|
409
|
-
['application/json']
|
|
503
|
+
['application/json'],
|
|
504
|
+
opts['customHeaders']
|
|
410
505
|
);
|
|
411
506
|
}
|
|
412
507
|
|
|
413
508
|
/**
|
|
414
509
|
* Get Okta Identity Provider
|
|
415
510
|
*
|
|
511
|
+
* @param {Object} opts Optional parameters
|
|
512
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
416
513
|
*/
|
|
417
|
-
getIdentityprovidersOkta() {
|
|
514
|
+
getIdentityprovidersOkta(opts) {
|
|
515
|
+
opts = opts || {};
|
|
516
|
+
|
|
418
517
|
|
|
419
518
|
return this.apiClient.callApi(
|
|
420
519
|
'/api/v2/identityproviders/okta',
|
|
@@ -426,15 +525,20 @@ class IdentityProviderApi {
|
|
|
426
525
|
null,
|
|
427
526
|
['PureCloud OAuth'],
|
|
428
527
|
['application/json'],
|
|
429
|
-
['application/json']
|
|
528
|
+
['application/json'],
|
|
529
|
+
opts['customHeaders']
|
|
430
530
|
);
|
|
431
531
|
}
|
|
432
532
|
|
|
433
533
|
/**
|
|
434
534
|
* Get OneLogin Identity Provider
|
|
435
535
|
*
|
|
536
|
+
* @param {Object} opts Optional parameters
|
|
537
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
436
538
|
*/
|
|
437
|
-
getIdentityprovidersOnelogin() {
|
|
539
|
+
getIdentityprovidersOnelogin(opts) {
|
|
540
|
+
opts = opts || {};
|
|
541
|
+
|
|
438
542
|
|
|
439
543
|
return this.apiClient.callApi(
|
|
440
544
|
'/api/v2/identityproviders/onelogin',
|
|
@@ -446,15 +550,20 @@ class IdentityProviderApi {
|
|
|
446
550
|
null,
|
|
447
551
|
['PureCloud OAuth'],
|
|
448
552
|
['application/json'],
|
|
449
|
-
['application/json']
|
|
553
|
+
['application/json'],
|
|
554
|
+
opts['customHeaders']
|
|
450
555
|
);
|
|
451
556
|
}
|
|
452
557
|
|
|
453
558
|
/**
|
|
454
559
|
* Get Ping Identity Provider
|
|
455
560
|
*
|
|
561
|
+
* @param {Object} opts Optional parameters
|
|
562
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
456
563
|
*/
|
|
457
|
-
getIdentityprovidersPing() {
|
|
564
|
+
getIdentityprovidersPing(opts) {
|
|
565
|
+
opts = opts || {};
|
|
566
|
+
|
|
458
567
|
|
|
459
568
|
return this.apiClient.callApi(
|
|
460
569
|
'/api/v2/identityproviders/ping',
|
|
@@ -466,15 +575,20 @@ class IdentityProviderApi {
|
|
|
466
575
|
null,
|
|
467
576
|
['PureCloud OAuth'],
|
|
468
577
|
['application/json'],
|
|
469
|
-
['application/json']
|
|
578
|
+
['application/json'],
|
|
579
|
+
opts['customHeaders']
|
|
470
580
|
);
|
|
471
581
|
}
|
|
472
582
|
|
|
473
583
|
/**
|
|
474
584
|
* Get PureCloud Identity Provider
|
|
475
585
|
*
|
|
586
|
+
* @param {Object} opts Optional parameters
|
|
587
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
476
588
|
*/
|
|
477
|
-
getIdentityprovidersPurecloud() {
|
|
589
|
+
getIdentityprovidersPurecloud(opts) {
|
|
590
|
+
opts = opts || {};
|
|
591
|
+
|
|
478
592
|
|
|
479
593
|
return this.apiClient.callApi(
|
|
480
594
|
'/api/v2/identityproviders/purecloud',
|
|
@@ -486,15 +600,20 @@ class IdentityProviderApi {
|
|
|
486
600
|
null,
|
|
487
601
|
['PureCloud OAuth'],
|
|
488
602
|
['application/json'],
|
|
489
|
-
['application/json']
|
|
603
|
+
['application/json'],
|
|
604
|
+
opts['customHeaders']
|
|
490
605
|
);
|
|
491
606
|
}
|
|
492
607
|
|
|
493
608
|
/**
|
|
494
609
|
* Get PureEngage Identity Provider
|
|
495
610
|
*
|
|
611
|
+
* @param {Object} opts Optional parameters
|
|
612
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
496
613
|
*/
|
|
497
|
-
getIdentityprovidersPureengage() {
|
|
614
|
+
getIdentityprovidersPureengage(opts) {
|
|
615
|
+
opts = opts || {};
|
|
616
|
+
|
|
498
617
|
|
|
499
618
|
return this.apiClient.callApi(
|
|
500
619
|
'/api/v2/identityproviders/pureengage',
|
|
@@ -506,15 +625,20 @@ class IdentityProviderApi {
|
|
|
506
625
|
null,
|
|
507
626
|
['PureCloud OAuth'],
|
|
508
627
|
['application/json'],
|
|
509
|
-
['application/json']
|
|
628
|
+
['application/json'],
|
|
629
|
+
opts['customHeaders']
|
|
510
630
|
);
|
|
511
631
|
}
|
|
512
632
|
|
|
513
633
|
/**
|
|
514
634
|
* Get Salesforce Identity Provider
|
|
515
635
|
*
|
|
636
|
+
* @param {Object} opts Optional parameters
|
|
637
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
516
638
|
*/
|
|
517
|
-
getIdentityprovidersSalesforce() {
|
|
639
|
+
getIdentityprovidersSalesforce(opts) {
|
|
640
|
+
opts = opts || {};
|
|
641
|
+
|
|
518
642
|
|
|
519
643
|
return this.apiClient.callApi(
|
|
520
644
|
'/api/v2/identityproviders/salesforce',
|
|
@@ -526,7 +650,8 @@ class IdentityProviderApi {
|
|
|
526
650
|
null,
|
|
527
651
|
['PureCloud OAuth'],
|
|
528
652
|
['application/json'],
|
|
529
|
-
['application/json']
|
|
653
|
+
['application/json'],
|
|
654
|
+
opts['customHeaders']
|
|
530
655
|
);
|
|
531
656
|
}
|
|
532
657
|
|
|
@@ -534,8 +659,12 @@ class IdentityProviderApi {
|
|
|
534
659
|
* Create Identity Provider
|
|
535
660
|
*
|
|
536
661
|
* @param {Object} body Provider
|
|
662
|
+
* @param {Object} opts Optional parameters
|
|
663
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
537
664
|
*/
|
|
538
|
-
postIdentityproviders(body) {
|
|
665
|
+
postIdentityproviders(body, opts) {
|
|
666
|
+
opts = opts || {};
|
|
667
|
+
|
|
539
668
|
// verify the required parameter 'body' is set
|
|
540
669
|
if (body === undefined || body === null) {
|
|
541
670
|
throw 'Missing the required parameter "body" when calling postIdentityproviders';
|
|
@@ -551,7 +680,8 @@ class IdentityProviderApi {
|
|
|
551
680
|
body,
|
|
552
681
|
['PureCloud OAuth'],
|
|
553
682
|
['application/json'],
|
|
554
|
-
['application/json']
|
|
683
|
+
['application/json'],
|
|
684
|
+
opts['customHeaders']
|
|
555
685
|
);
|
|
556
686
|
}
|
|
557
687
|
|
|
@@ -560,8 +690,12 @@ class IdentityProviderApi {
|
|
|
560
690
|
*
|
|
561
691
|
* @param {String} providerId Provider ID
|
|
562
692
|
* @param {Object} body Provider
|
|
693
|
+
* @param {Object} opts Optional parameters
|
|
694
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
563
695
|
*/
|
|
564
|
-
putIdentityprovider(providerId, body) {
|
|
696
|
+
putIdentityprovider(providerId, body, opts) {
|
|
697
|
+
opts = opts || {};
|
|
698
|
+
|
|
565
699
|
// verify the required parameter 'providerId' is set
|
|
566
700
|
if (providerId === undefined || providerId === null || providerId === '') {
|
|
567
701
|
throw 'Missing the required parameter "providerId" when calling putIdentityprovider';
|
|
@@ -581,7 +715,8 @@ class IdentityProviderApi {
|
|
|
581
715
|
body,
|
|
582
716
|
['PureCloud OAuth'],
|
|
583
717
|
['application/json'],
|
|
584
|
-
['application/json']
|
|
718
|
+
['application/json'],
|
|
719
|
+
opts['customHeaders']
|
|
585
720
|
);
|
|
586
721
|
}
|
|
587
722
|
|
|
@@ -589,8 +724,12 @@ class IdentityProviderApi {
|
|
|
589
724
|
* Update/Create ADFS Identity Provider
|
|
590
725
|
*
|
|
591
726
|
* @param {Object} body Provider
|
|
727
|
+
* @param {Object} opts Optional parameters
|
|
728
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
592
729
|
*/
|
|
593
|
-
putIdentityprovidersAdfs(body) {
|
|
730
|
+
putIdentityprovidersAdfs(body, opts) {
|
|
731
|
+
opts = opts || {};
|
|
732
|
+
|
|
594
733
|
// verify the required parameter 'body' is set
|
|
595
734
|
if (body === undefined || body === null) {
|
|
596
735
|
throw 'Missing the required parameter "body" when calling putIdentityprovidersAdfs';
|
|
@@ -606,7 +745,8 @@ class IdentityProviderApi {
|
|
|
606
745
|
body,
|
|
607
746
|
['PureCloud OAuth'],
|
|
608
747
|
['application/json'],
|
|
609
|
-
['application/json']
|
|
748
|
+
['application/json'],
|
|
749
|
+
opts['customHeaders']
|
|
610
750
|
);
|
|
611
751
|
}
|
|
612
752
|
|
|
@@ -614,8 +754,12 @@ class IdentityProviderApi {
|
|
|
614
754
|
* Update/Create Customer Interaction Center (CIC) Identity Provider
|
|
615
755
|
*
|
|
616
756
|
* @param {Object} body Provider
|
|
757
|
+
* @param {Object} opts Optional parameters
|
|
758
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
617
759
|
*/
|
|
618
|
-
putIdentityprovidersCic(body) {
|
|
760
|
+
putIdentityprovidersCic(body, opts) {
|
|
761
|
+
opts = opts || {};
|
|
762
|
+
|
|
619
763
|
// verify the required parameter 'body' is set
|
|
620
764
|
if (body === undefined || body === null) {
|
|
621
765
|
throw 'Missing the required parameter "body" when calling putIdentityprovidersCic';
|
|
@@ -631,7 +775,8 @@ class IdentityProviderApi {
|
|
|
631
775
|
body,
|
|
632
776
|
['PureCloud OAuth'],
|
|
633
777
|
['application/json'],
|
|
634
|
-
['application/json']
|
|
778
|
+
['application/json'],
|
|
779
|
+
opts['customHeaders']
|
|
635
780
|
);
|
|
636
781
|
}
|
|
637
782
|
|
|
@@ -639,8 +784,12 @@ class IdentityProviderApi {
|
|
|
639
784
|
* Update/Create Generic SAML Identity Provider
|
|
640
785
|
*
|
|
641
786
|
* @param {Object} body Provider
|
|
787
|
+
* @param {Object} opts Optional parameters
|
|
788
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
642
789
|
*/
|
|
643
|
-
putIdentityprovidersGeneric(body) {
|
|
790
|
+
putIdentityprovidersGeneric(body, opts) {
|
|
791
|
+
opts = opts || {};
|
|
792
|
+
|
|
644
793
|
// verify the required parameter 'body' is set
|
|
645
794
|
if (body === undefined || body === null) {
|
|
646
795
|
throw 'Missing the required parameter "body" when calling putIdentityprovidersGeneric';
|
|
@@ -656,7 +805,8 @@ class IdentityProviderApi {
|
|
|
656
805
|
body,
|
|
657
806
|
['PureCloud OAuth'],
|
|
658
807
|
['application/json'],
|
|
659
|
-
['application/json']
|
|
808
|
+
['application/json'],
|
|
809
|
+
opts['customHeaders']
|
|
660
810
|
);
|
|
661
811
|
}
|
|
662
812
|
|
|
@@ -664,8 +814,12 @@ class IdentityProviderApi {
|
|
|
664
814
|
* Update/Create G Suite Identity Provider
|
|
665
815
|
*
|
|
666
816
|
* @param {Object} body Provider
|
|
817
|
+
* @param {Object} opts Optional parameters
|
|
818
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
667
819
|
*/
|
|
668
|
-
putIdentityprovidersGsuite(body) {
|
|
820
|
+
putIdentityprovidersGsuite(body, opts) {
|
|
821
|
+
opts = opts || {};
|
|
822
|
+
|
|
669
823
|
// verify the required parameter 'body' is set
|
|
670
824
|
if (body === undefined || body === null) {
|
|
671
825
|
throw 'Missing the required parameter "body" when calling putIdentityprovidersGsuite';
|
|
@@ -681,7 +835,8 @@ class IdentityProviderApi {
|
|
|
681
835
|
body,
|
|
682
836
|
['PureCloud OAuth'],
|
|
683
837
|
['application/json'],
|
|
684
|
-
['application/json']
|
|
838
|
+
['application/json'],
|
|
839
|
+
opts['customHeaders']
|
|
685
840
|
);
|
|
686
841
|
}
|
|
687
842
|
|
|
@@ -689,8 +844,12 @@ class IdentityProviderApi {
|
|
|
689
844
|
* Update/Create IdentityNow Provider
|
|
690
845
|
*
|
|
691
846
|
* @param {Object} body Provider
|
|
847
|
+
* @param {Object} opts Optional parameters
|
|
848
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
692
849
|
*/
|
|
693
|
-
putIdentityprovidersIdentitynow(body) {
|
|
850
|
+
putIdentityprovidersIdentitynow(body, opts) {
|
|
851
|
+
opts = opts || {};
|
|
852
|
+
|
|
694
853
|
// verify the required parameter 'body' is set
|
|
695
854
|
if (body === undefined || body === null) {
|
|
696
855
|
throw 'Missing the required parameter "body" when calling putIdentityprovidersIdentitynow';
|
|
@@ -706,7 +865,8 @@ class IdentityProviderApi {
|
|
|
706
865
|
body,
|
|
707
866
|
['PureCloud OAuth'],
|
|
708
867
|
['application/json'],
|
|
709
|
-
['application/json']
|
|
868
|
+
['application/json'],
|
|
869
|
+
opts['customHeaders']
|
|
710
870
|
);
|
|
711
871
|
}
|
|
712
872
|
|
|
@@ -714,8 +874,12 @@ class IdentityProviderApi {
|
|
|
714
874
|
* Update/Create Okta Identity Provider
|
|
715
875
|
*
|
|
716
876
|
* @param {Object} body Provider
|
|
877
|
+
* @param {Object} opts Optional parameters
|
|
878
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
717
879
|
*/
|
|
718
|
-
putIdentityprovidersOkta(body) {
|
|
880
|
+
putIdentityprovidersOkta(body, opts) {
|
|
881
|
+
opts = opts || {};
|
|
882
|
+
|
|
719
883
|
// verify the required parameter 'body' is set
|
|
720
884
|
if (body === undefined || body === null) {
|
|
721
885
|
throw 'Missing the required parameter "body" when calling putIdentityprovidersOkta';
|
|
@@ -731,7 +895,8 @@ class IdentityProviderApi {
|
|
|
731
895
|
body,
|
|
732
896
|
['PureCloud OAuth'],
|
|
733
897
|
['application/json'],
|
|
734
|
-
['application/json']
|
|
898
|
+
['application/json'],
|
|
899
|
+
opts['customHeaders']
|
|
735
900
|
);
|
|
736
901
|
}
|
|
737
902
|
|
|
@@ -739,8 +904,12 @@ class IdentityProviderApi {
|
|
|
739
904
|
* Update/Create OneLogin Identity Provider
|
|
740
905
|
*
|
|
741
906
|
* @param {Object} body Provider
|
|
907
|
+
* @param {Object} opts Optional parameters
|
|
908
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
742
909
|
*/
|
|
743
|
-
putIdentityprovidersOnelogin(body) {
|
|
910
|
+
putIdentityprovidersOnelogin(body, opts) {
|
|
911
|
+
opts = opts || {};
|
|
912
|
+
|
|
744
913
|
// verify the required parameter 'body' is set
|
|
745
914
|
if (body === undefined || body === null) {
|
|
746
915
|
throw 'Missing the required parameter "body" when calling putIdentityprovidersOnelogin';
|
|
@@ -756,7 +925,8 @@ class IdentityProviderApi {
|
|
|
756
925
|
body,
|
|
757
926
|
['PureCloud OAuth'],
|
|
758
927
|
['application/json'],
|
|
759
|
-
['application/json']
|
|
928
|
+
['application/json'],
|
|
929
|
+
opts['customHeaders']
|
|
760
930
|
);
|
|
761
931
|
}
|
|
762
932
|
|
|
@@ -764,8 +934,12 @@ class IdentityProviderApi {
|
|
|
764
934
|
* Update/Create Ping Identity Provider
|
|
765
935
|
*
|
|
766
936
|
* @param {Object} body Provider
|
|
937
|
+
* @param {Object} opts Optional parameters
|
|
938
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
767
939
|
*/
|
|
768
|
-
putIdentityprovidersPing(body) {
|
|
940
|
+
putIdentityprovidersPing(body, opts) {
|
|
941
|
+
opts = opts || {};
|
|
942
|
+
|
|
769
943
|
// verify the required parameter 'body' is set
|
|
770
944
|
if (body === undefined || body === null) {
|
|
771
945
|
throw 'Missing the required parameter "body" when calling putIdentityprovidersPing';
|
|
@@ -781,7 +955,8 @@ class IdentityProviderApi {
|
|
|
781
955
|
body,
|
|
782
956
|
['PureCloud OAuth'],
|
|
783
957
|
['application/json'],
|
|
784
|
-
['application/json']
|
|
958
|
+
['application/json'],
|
|
959
|
+
opts['customHeaders']
|
|
785
960
|
);
|
|
786
961
|
}
|
|
787
962
|
|
|
@@ -789,8 +964,12 @@ class IdentityProviderApi {
|
|
|
789
964
|
* Update/Create PureCloud Identity Provider
|
|
790
965
|
*
|
|
791
966
|
* @param {Object} body Provider
|
|
967
|
+
* @param {Object} opts Optional parameters
|
|
968
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
792
969
|
*/
|
|
793
|
-
putIdentityprovidersPurecloud(body) {
|
|
970
|
+
putIdentityprovidersPurecloud(body, opts) {
|
|
971
|
+
opts = opts || {};
|
|
972
|
+
|
|
794
973
|
// verify the required parameter 'body' is set
|
|
795
974
|
if (body === undefined || body === null) {
|
|
796
975
|
throw 'Missing the required parameter "body" when calling putIdentityprovidersPurecloud';
|
|
@@ -806,7 +985,8 @@ class IdentityProviderApi {
|
|
|
806
985
|
body,
|
|
807
986
|
['PureCloud OAuth'],
|
|
808
987
|
['application/json'],
|
|
809
|
-
['application/json']
|
|
988
|
+
['application/json'],
|
|
989
|
+
opts['customHeaders']
|
|
810
990
|
);
|
|
811
991
|
}
|
|
812
992
|
|
|
@@ -814,8 +994,12 @@ class IdentityProviderApi {
|
|
|
814
994
|
* Update/Create PureEngage Identity Provider
|
|
815
995
|
*
|
|
816
996
|
* @param {Object} body Provider
|
|
997
|
+
* @param {Object} opts Optional parameters
|
|
998
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
817
999
|
*/
|
|
818
|
-
putIdentityprovidersPureengage(body) {
|
|
1000
|
+
putIdentityprovidersPureengage(body, opts) {
|
|
1001
|
+
opts = opts || {};
|
|
1002
|
+
|
|
819
1003
|
// verify the required parameter 'body' is set
|
|
820
1004
|
if (body === undefined || body === null) {
|
|
821
1005
|
throw 'Missing the required parameter "body" when calling putIdentityprovidersPureengage';
|
|
@@ -831,7 +1015,8 @@ class IdentityProviderApi {
|
|
|
831
1015
|
body,
|
|
832
1016
|
['PureCloud OAuth'],
|
|
833
1017
|
['application/json'],
|
|
834
|
-
['application/json']
|
|
1018
|
+
['application/json'],
|
|
1019
|
+
opts['customHeaders']
|
|
835
1020
|
);
|
|
836
1021
|
}
|
|
837
1022
|
|
|
@@ -839,8 +1024,12 @@ class IdentityProviderApi {
|
|
|
839
1024
|
* Update/Create Salesforce Identity Provider
|
|
840
1025
|
*
|
|
841
1026
|
* @param {Object} body Provider
|
|
1027
|
+
* @param {Object} opts Optional parameters
|
|
1028
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
842
1029
|
*/
|
|
843
|
-
putIdentityprovidersSalesforce(body) {
|
|
1030
|
+
putIdentityprovidersSalesforce(body, opts) {
|
|
1031
|
+
opts = opts || {};
|
|
1032
|
+
|
|
844
1033
|
// verify the required parameter 'body' is set
|
|
845
1034
|
if (body === undefined || body === null) {
|
|
846
1035
|
throw 'Missing the required parameter "body" when calling putIdentityprovidersSalesforce';
|
|
@@ -856,7 +1045,8 @@ class IdentityProviderApi {
|
|
|
856
1045
|
body,
|
|
857
1046
|
['PureCloud OAuth'],
|
|
858
1047
|
['application/json'],
|
|
859
|
-
['application/json']
|
|
1048
|
+
['application/json'],
|
|
1049
|
+
opts['customHeaders']
|
|
860
1050
|
);
|
|
861
1051
|
}
|
|
862
1052
|
|