purecloud-platform-client-v2 149.1.0 → 151.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 +2 -2
- package/dist/node/purecloud-platform-client-v2.js +1114 -77
- package/dist/web-amd/purecloud-platform-client-v2.js +1114 -77
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +1114 -77
- package/dist/web-cjs/purecloud-platform-client-v2.js +1114 -77
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +1082 -425
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +81 -8
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +57 -0
- package/src/purecloud-platform-client-v2/api/EventsApi.js +101 -0
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +216 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +185 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +196 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +26 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +93 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +26 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +71 -1
- package/src/purecloud-platform-client-v2/index.js +13 -1
|
@@ -5,7 +5,7 @@ class PresenceApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Presence service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 151.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -20,6 +20,31 @@ class PresenceApi {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Delete a Presence Source
|
|
25
|
+
*
|
|
26
|
+
* @param {String} sourceId Presence Source ID
|
|
27
|
+
*/
|
|
28
|
+
deletePresenceSource(sourceId) {
|
|
29
|
+
// verify the required parameter 'sourceId' is set
|
|
30
|
+
if (sourceId === undefined || sourceId === null) {
|
|
31
|
+
throw 'Missing the required parameter "sourceId" when calling deletePresenceSource';
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
return this.apiClient.callApi(
|
|
35
|
+
'/api/v2/presence/sources/{sourceId}',
|
|
36
|
+
'DELETE',
|
|
37
|
+
{ 'sourceId': sourceId },
|
|
38
|
+
{ },
|
|
39
|
+
{ },
|
|
40
|
+
{ },
|
|
41
|
+
null,
|
|
42
|
+
['PureCloud OAuth'],
|
|
43
|
+
['application/json'],
|
|
44
|
+
['application/json']
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
23
48
|
/**
|
|
24
49
|
* Delete a Presence Definition
|
|
25
50
|
*
|
|
@@ -45,6 +70,80 @@ class PresenceApi {
|
|
|
45
70
|
);
|
|
46
71
|
}
|
|
47
72
|
|
|
73
|
+
/**
|
|
74
|
+
* Get a Presence Source
|
|
75
|
+
*
|
|
76
|
+
* @param {String} sourceId Presence Source ID
|
|
77
|
+
*/
|
|
78
|
+
getPresenceSource(sourceId) {
|
|
79
|
+
// verify the required parameter 'sourceId' is set
|
|
80
|
+
if (sourceId === undefined || sourceId === null) {
|
|
81
|
+
throw 'Missing the required parameter "sourceId" when calling getPresenceSource';
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return this.apiClient.callApi(
|
|
85
|
+
'/api/v2/presence/sources/{sourceId}',
|
|
86
|
+
'GET',
|
|
87
|
+
{ 'sourceId': sourceId },
|
|
88
|
+
{ },
|
|
89
|
+
{ },
|
|
90
|
+
{ },
|
|
91
|
+
null,
|
|
92
|
+
['PureCloud OAuth'],
|
|
93
|
+
['application/json'],
|
|
94
|
+
['application/json']
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Get a list of Presence Sources
|
|
100
|
+
*
|
|
101
|
+
* @param {Object} opts Optional parameters
|
|
102
|
+
* @param {String} opts.deactivated Deactivated query can be TRUE or FALSE (default to false)
|
|
103
|
+
*/
|
|
104
|
+
getPresenceSources(opts) {
|
|
105
|
+
opts = opts || {};
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
return this.apiClient.callApi(
|
|
109
|
+
'/api/v2/presence/sources',
|
|
110
|
+
'GET',
|
|
111
|
+
{ },
|
|
112
|
+
{ 'deactivated': opts['deactivated'] },
|
|
113
|
+
{ },
|
|
114
|
+
{ },
|
|
115
|
+
null,
|
|
116
|
+
['PureCloud OAuth'],
|
|
117
|
+
['application/json'],
|
|
118
|
+
['application/json']
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Get a user's Primary Presence Source
|
|
124
|
+
*
|
|
125
|
+
* @param {String} userId user ID
|
|
126
|
+
*/
|
|
127
|
+
getPresenceUserPrimarysource(userId) {
|
|
128
|
+
// verify the required parameter 'userId' is set
|
|
129
|
+
if (userId === undefined || userId === null) {
|
|
130
|
+
throw 'Missing the required parameter "userId" when calling getPresenceUserPrimarysource';
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
return this.apiClient.callApi(
|
|
134
|
+
'/api/v2/presence/users/{userId}/primarysource',
|
|
135
|
+
'GET',
|
|
136
|
+
{ 'userId': userId },
|
|
137
|
+
{ },
|
|
138
|
+
{ },
|
|
139
|
+
{ },
|
|
140
|
+
null,
|
|
141
|
+
['PureCloud OAuth'],
|
|
142
|
+
['application/json'],
|
|
143
|
+
['application/json']
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
|
|
48
147
|
/**
|
|
49
148
|
* Get a Presence Definition
|
|
50
149
|
*
|
|
@@ -241,6 +340,31 @@ class PresenceApi {
|
|
|
241
340
|
);
|
|
242
341
|
}
|
|
243
342
|
|
|
343
|
+
/**
|
|
344
|
+
* Create a Presence Source
|
|
345
|
+
*
|
|
346
|
+
* @param {Object} body The Presence Source to create
|
|
347
|
+
*/
|
|
348
|
+
postPresenceSources(body) {
|
|
349
|
+
// verify the required parameter 'body' is set
|
|
350
|
+
if (body === undefined || body === null) {
|
|
351
|
+
throw 'Missing the required parameter "body" when calling postPresenceSources';
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
return this.apiClient.callApi(
|
|
355
|
+
'/api/v2/presence/sources',
|
|
356
|
+
'POST',
|
|
357
|
+
{ },
|
|
358
|
+
{ },
|
|
359
|
+
{ },
|
|
360
|
+
{ },
|
|
361
|
+
body,
|
|
362
|
+
['PureCloud OAuth'],
|
|
363
|
+
['application/json'],
|
|
364
|
+
['application/json']
|
|
365
|
+
);
|
|
366
|
+
}
|
|
367
|
+
|
|
244
368
|
/**
|
|
245
369
|
* Create a Presence Definition
|
|
246
370
|
*
|
|
@@ -266,6 +390,66 @@ class PresenceApi {
|
|
|
266
390
|
);
|
|
267
391
|
}
|
|
268
392
|
|
|
393
|
+
/**
|
|
394
|
+
* Update a Presence Source
|
|
395
|
+
*
|
|
396
|
+
* @param {String} sourceId Presence Source ID
|
|
397
|
+
* @param {Object} body The updated Presence Source
|
|
398
|
+
*/
|
|
399
|
+
putPresenceSource(sourceId, body) {
|
|
400
|
+
// verify the required parameter 'sourceId' is set
|
|
401
|
+
if (sourceId === undefined || sourceId === null) {
|
|
402
|
+
throw 'Missing the required parameter "sourceId" when calling putPresenceSource';
|
|
403
|
+
}
|
|
404
|
+
// verify the required parameter 'body' is set
|
|
405
|
+
if (body === undefined || body === null) {
|
|
406
|
+
throw 'Missing the required parameter "body" when calling putPresenceSource';
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
return this.apiClient.callApi(
|
|
410
|
+
'/api/v2/presence/sources/{sourceId}',
|
|
411
|
+
'PUT',
|
|
412
|
+
{ 'sourceId': sourceId },
|
|
413
|
+
{ },
|
|
414
|
+
{ },
|
|
415
|
+
{ },
|
|
416
|
+
body,
|
|
417
|
+
['PureCloud OAuth'],
|
|
418
|
+
['application/json'],
|
|
419
|
+
['application/json']
|
|
420
|
+
);
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* Update a user's Primary Presence Source
|
|
425
|
+
*
|
|
426
|
+
* @param {String} userId user ID
|
|
427
|
+
* @param {Object} body Primary Source
|
|
428
|
+
*/
|
|
429
|
+
putPresenceUserPrimarysource(userId, body) {
|
|
430
|
+
// verify the required parameter 'userId' is set
|
|
431
|
+
if (userId === undefined || userId === null) {
|
|
432
|
+
throw 'Missing the required parameter "userId" when calling putPresenceUserPrimarysource';
|
|
433
|
+
}
|
|
434
|
+
// verify the required parameter 'body' is set
|
|
435
|
+
if (body === undefined || body === null) {
|
|
436
|
+
throw 'Missing the required parameter "body" when calling putPresenceUserPrimarysource';
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
return this.apiClient.callApi(
|
|
440
|
+
'/api/v2/presence/users/{userId}/primarysource',
|
|
441
|
+
'PUT',
|
|
442
|
+
{ 'userId': userId },
|
|
443
|
+
{ },
|
|
444
|
+
{ },
|
|
445
|
+
{ },
|
|
446
|
+
body,
|
|
447
|
+
['PureCloud OAuth'],
|
|
448
|
+
['application/json'],
|
|
449
|
+
['application/json']
|
|
450
|
+
);
|
|
451
|
+
}
|
|
452
|
+
|
|
269
453
|
/**
|
|
270
454
|
* Update a Presence Definition
|
|
271
455
|
*
|
|
@@ -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 151.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -46,7 +46,7 @@ class ProcessAutomationApi {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Retrieve a single Trigger matching id
|
|
49
|
+
* Retrieve a single Trigger matching id
|
|
50
50
|
*
|
|
51
51
|
* @param {String} triggerId triggerId
|
|
52
52
|
*/
|
|
@@ -71,13 +71,13 @@ class ProcessAutomationApi {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
* Retrieves all triggers
|
|
74
|
+
* Retrieves all triggers, optionally filtered by query parameters.
|
|
75
75
|
*
|
|
76
76
|
* @param {Object} opts Optional parameters
|
|
77
77
|
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
78
78
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
79
79
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
80
|
-
* @param {String} opts.topicName Topic name
|
|
80
|
+
* @param {String} opts.topicName Topic name(s). Separated by commas
|
|
81
81
|
* @param {Boolean} opts.enabled Boolean indicating desired enabled state of triggers
|
|
82
82
|
*/
|
|
83
83
|
getProcessautomationTriggers(opts) {
|
|
@@ -5,7 +5,7 @@ class RecordingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Recording service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 151.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1110,7 +1110,7 @@ class RecordingApi {
|
|
|
1110
1110
|
|
|
1111
1111
|
/**
|
|
1112
1112
|
* Create a recording bulk job.
|
|
1113
|
-
* Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state.
|
|
1113
|
+
* Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state. Furthermore, the recording:recording:viewSensitiveData permission is required to access recordings with PCI DSS and/or PII data. If the requester does not have that permission and includeRecordingsWithSensitiveData is set to true, then their request will be rejected.
|
|
1114
1114
|
* @param {Object} body query
|
|
1115
1115
|
*/
|
|
1116
1116
|
postRecordingJobs(body) {
|
|
@@ -5,7 +5,7 @@ class RoutingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Routing service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 151.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -100,6 +100,31 @@ class RoutingApi {
|
|
|
100
100
|
);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
+
/**
|
|
104
|
+
* Delete an outbound domain
|
|
105
|
+
*
|
|
106
|
+
* @param {String} domainId domain ID
|
|
107
|
+
*/
|
|
108
|
+
deleteRoutingEmailOutboundDomain(domainId) {
|
|
109
|
+
// verify the required parameter 'domainId' is set
|
|
110
|
+
if (domainId === undefined || domainId === null) {
|
|
111
|
+
throw 'Missing the required parameter "domainId" when calling deleteRoutingEmailOutboundDomain';
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
return this.apiClient.callApi(
|
|
115
|
+
'/api/v2/routing/email/outbound/domains/{domainId}',
|
|
116
|
+
'DELETE',
|
|
117
|
+
{ 'domainId': domainId },
|
|
118
|
+
{ },
|
|
119
|
+
{ },
|
|
120
|
+
{ },
|
|
121
|
+
null,
|
|
122
|
+
['PureCloud OAuth'],
|
|
123
|
+
['application/json'],
|
|
124
|
+
['application/json']
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
|
|
103
128
|
/**
|
|
104
129
|
* Delete single predictor.
|
|
105
130
|
*
|
|
@@ -701,6 +726,101 @@ class RoutingApi {
|
|
|
701
726
|
);
|
|
702
727
|
}
|
|
703
728
|
|
|
729
|
+
/**
|
|
730
|
+
* Get domain
|
|
731
|
+
*
|
|
732
|
+
* @param {String} domainId domain ID
|
|
733
|
+
*/
|
|
734
|
+
getRoutingEmailOutboundDomain(domainId) {
|
|
735
|
+
// verify the required parameter 'domainId' is set
|
|
736
|
+
if (domainId === undefined || domainId === null) {
|
|
737
|
+
throw 'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomain';
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
return this.apiClient.callApi(
|
|
741
|
+
'/api/v2/routing/email/outbound/domains/{domainId}',
|
|
742
|
+
'GET',
|
|
743
|
+
{ 'domainId': domainId },
|
|
744
|
+
{ },
|
|
745
|
+
{ },
|
|
746
|
+
{ },
|
|
747
|
+
null,
|
|
748
|
+
['PureCloud OAuth'],
|
|
749
|
+
['application/json'],
|
|
750
|
+
['application/json']
|
|
751
|
+
);
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* Get activation status (cname + dkim) of an outbound domain
|
|
756
|
+
*
|
|
757
|
+
* @param {String} domainId domain ID
|
|
758
|
+
*/
|
|
759
|
+
getRoutingEmailOutboundDomainActivation(domainId) {
|
|
760
|
+
// verify the required parameter 'domainId' is set
|
|
761
|
+
if (domainId === undefined || domainId === null) {
|
|
762
|
+
throw 'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomainActivation';
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
return this.apiClient.callApi(
|
|
766
|
+
'/api/v2/routing/email/outbound/domains/{domainId}/activation',
|
|
767
|
+
'GET',
|
|
768
|
+
{ 'domainId': domainId },
|
|
769
|
+
{ },
|
|
770
|
+
{ },
|
|
771
|
+
{ },
|
|
772
|
+
null,
|
|
773
|
+
['PureCloud OAuth'],
|
|
774
|
+
['application/json'],
|
|
775
|
+
['application/json']
|
|
776
|
+
);
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* Search a domain across organizations
|
|
781
|
+
*
|
|
782
|
+
* @param {String} domainId domain ID
|
|
783
|
+
*/
|
|
784
|
+
getRoutingEmailOutboundDomainSearch(domainId) {
|
|
785
|
+
// verify the required parameter 'domainId' is set
|
|
786
|
+
if (domainId === undefined || domainId === null) {
|
|
787
|
+
throw 'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomainSearch';
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
return this.apiClient.callApi(
|
|
791
|
+
'/api/v2/routing/email/outbound/domains/{domainId}/search',
|
|
792
|
+
'GET',
|
|
793
|
+
{ 'domainId': domainId },
|
|
794
|
+
{ },
|
|
795
|
+
{ },
|
|
796
|
+
{ },
|
|
797
|
+
null,
|
|
798
|
+
['PureCloud OAuth'],
|
|
799
|
+
['application/json'],
|
|
800
|
+
['application/json']
|
|
801
|
+
);
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* Get outbound domains
|
|
806
|
+
*
|
|
807
|
+
*/
|
|
808
|
+
getRoutingEmailOutboundDomains() {
|
|
809
|
+
|
|
810
|
+
return this.apiClient.callApi(
|
|
811
|
+
'/api/v2/routing/email/outbound/domains',
|
|
812
|
+
'GET',
|
|
813
|
+
{ },
|
|
814
|
+
{ },
|
|
815
|
+
{ },
|
|
816
|
+
{ },
|
|
817
|
+
null,
|
|
818
|
+
['PureCloud OAuth'],
|
|
819
|
+
['application/json'],
|
|
820
|
+
['application/json']
|
|
821
|
+
);
|
|
822
|
+
}
|
|
823
|
+
|
|
704
824
|
/**
|
|
705
825
|
* Get email setup
|
|
706
826
|
*
|
|
@@ -2338,6 +2458,56 @@ class RoutingApi {
|
|
|
2338
2458
|
);
|
|
2339
2459
|
}
|
|
2340
2460
|
|
|
2461
|
+
/**
|
|
2462
|
+
* Create a domain
|
|
2463
|
+
*
|
|
2464
|
+
* @param {Object} body Domain
|
|
2465
|
+
*/
|
|
2466
|
+
postRoutingEmailOutboundDomains(body) {
|
|
2467
|
+
// verify the required parameter 'body' is set
|
|
2468
|
+
if (body === undefined || body === null) {
|
|
2469
|
+
throw 'Missing the required parameter "body" when calling postRoutingEmailOutboundDomains';
|
|
2470
|
+
}
|
|
2471
|
+
|
|
2472
|
+
return this.apiClient.callApi(
|
|
2473
|
+
'/api/v2/routing/email/outbound/domains',
|
|
2474
|
+
'POST',
|
|
2475
|
+
{ },
|
|
2476
|
+
{ },
|
|
2477
|
+
{ },
|
|
2478
|
+
{ },
|
|
2479
|
+
body,
|
|
2480
|
+
['PureCloud OAuth'],
|
|
2481
|
+
['application/json'],
|
|
2482
|
+
['application/json']
|
|
2483
|
+
);
|
|
2484
|
+
}
|
|
2485
|
+
|
|
2486
|
+
/**
|
|
2487
|
+
* Create a simulated domain
|
|
2488
|
+
*
|
|
2489
|
+
* @param {Object} body Domain
|
|
2490
|
+
*/
|
|
2491
|
+
postRoutingEmailOutboundDomainsSimulated(body) {
|
|
2492
|
+
// verify the required parameter 'body' is set
|
|
2493
|
+
if (body === undefined || body === null) {
|
|
2494
|
+
throw 'Missing the required parameter "body" when calling postRoutingEmailOutboundDomainsSimulated';
|
|
2495
|
+
}
|
|
2496
|
+
|
|
2497
|
+
return this.apiClient.callApi(
|
|
2498
|
+
'/api/v2/routing/email/outbound/domains/simulated',
|
|
2499
|
+
'POST',
|
|
2500
|
+
{ },
|
|
2501
|
+
{ },
|
|
2502
|
+
{ },
|
|
2503
|
+
{ },
|
|
2504
|
+
body,
|
|
2505
|
+
['PureCloud OAuth'],
|
|
2506
|
+
['application/json'],
|
|
2507
|
+
['application/json']
|
|
2508
|
+
);
|
|
2509
|
+
}
|
|
2510
|
+
|
|
2341
2511
|
/**
|
|
2342
2512
|
* Create Language
|
|
2343
2513
|
*
|
|
@@ -2705,6 +2875,31 @@ class RoutingApi {
|
|
|
2705
2875
|
);
|
|
2706
2876
|
}
|
|
2707
2877
|
|
|
2878
|
+
/**
|
|
2879
|
+
* Request an activation status (cname + dkim) update of an outbound domain
|
|
2880
|
+
*
|
|
2881
|
+
* @param {String} domainId domain ID
|
|
2882
|
+
*/
|
|
2883
|
+
putRoutingEmailOutboundDomainActivation(domainId) {
|
|
2884
|
+
// verify the required parameter 'domainId' is set
|
|
2885
|
+
if (domainId === undefined || domainId === null) {
|
|
2886
|
+
throw 'Missing the required parameter "domainId" when calling putRoutingEmailOutboundDomainActivation';
|
|
2887
|
+
}
|
|
2888
|
+
|
|
2889
|
+
return this.apiClient.callApi(
|
|
2890
|
+
'/api/v2/routing/email/outbound/domains/{domainId}/activation',
|
|
2891
|
+
'PUT',
|
|
2892
|
+
{ 'domainId': domainId },
|
|
2893
|
+
{ },
|
|
2894
|
+
{ },
|
|
2895
|
+
{ },
|
|
2896
|
+
null,
|
|
2897
|
+
['PureCloud OAuth'],
|
|
2898
|
+
['application/json'],
|
|
2899
|
+
['application/json']
|
|
2900
|
+
);
|
|
2901
|
+
}
|
|
2902
|
+
|
|
2708
2903
|
/**
|
|
2709
2904
|
* Update a recipient
|
|
2710
2905
|
*
|
|
@@ -5,7 +5,7 @@ class SearchApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Search service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 151.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -534,6 +534,31 @@ class SearchApi {
|
|
|
534
534
|
);
|
|
535
535
|
}
|
|
536
536
|
|
|
537
|
+
/**
|
|
538
|
+
* Search users assigned to teams
|
|
539
|
+
*
|
|
540
|
+
* @param {Object} body Search request options
|
|
541
|
+
*/
|
|
542
|
+
postUsersSearchTeamsAssign(body) {
|
|
543
|
+
// verify the required parameter 'body' is set
|
|
544
|
+
if (body === undefined || body === null) {
|
|
545
|
+
throw 'Missing the required parameter "body" when calling postUsersSearchTeamsAssign';
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
return this.apiClient.callApi(
|
|
549
|
+
'/api/v2/users/search/teams/assign',
|
|
550
|
+
'POST',
|
|
551
|
+
{ },
|
|
552
|
+
{ },
|
|
553
|
+
{ },
|
|
554
|
+
{ },
|
|
555
|
+
body,
|
|
556
|
+
['PureCloud OAuth'],
|
|
557
|
+
['application/json'],
|
|
558
|
+
['application/json']
|
|
559
|
+
);
|
|
560
|
+
}
|
|
561
|
+
|
|
537
562
|
/**
|
|
538
563
|
* Search voicemails
|
|
539
564
|
*
|