purecloud-platform-client-v2 128.0.0 → 131.1.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 -8
- package/dist/node/purecloud-platform-client-v2.js +681 -100
- package/dist/web-amd/purecloud-platform-client-v2.js +681 -100
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +681 -100
- package/dist/web-cjs/purecloud-platform-client-v2.js +681 -100
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +524 -50
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +46 -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 +5 -3
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +176 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -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 +121 -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 +30 -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 +3 -3
- 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 +156 -0
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +51 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +8 -8
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +8 -4
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -21
- 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/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +22 -2
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +2 -2
- 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 +1 -1
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -6873,7 +6873,7 @@ class Configuration {
|
|
|
6873
6873
|
|
|
6874
6874
|
/**
|
|
6875
6875
|
* @module purecloud-platform-client-v2/ApiClient
|
|
6876
|
-
* @version
|
|
6876
|
+
* @version 131.1.0
|
|
6877
6877
|
*/
|
|
6878
6878
|
class ApiClient {
|
|
6879
6879
|
/**
|
|
@@ -7813,7 +7813,7 @@ class ApiClient {
|
|
|
7813
7813
|
|
|
7814
7814
|
// set header parameters
|
|
7815
7815
|
request.set(that.defaultHeaders).set(that.normalizeParams(headerParams));
|
|
7816
|
-
//request.set({ 'purecloud-sdk': '
|
|
7816
|
+
//request.set({ 'purecloud-sdk': '131.1.0' });
|
|
7817
7817
|
|
|
7818
7818
|
// set request timeout
|
|
7819
7819
|
request.timeout(that.timeout);
|
|
@@ -7913,7 +7913,7 @@ class AlertingApi {
|
|
|
7913
7913
|
/**
|
|
7914
7914
|
* Alerting service.
|
|
7915
7915
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
7916
|
-
* @version
|
|
7916
|
+
* @version 131.1.0
|
|
7917
7917
|
*/
|
|
7918
7918
|
|
|
7919
7919
|
/**
|
|
@@ -8227,7 +8227,7 @@ class AnalyticsApi {
|
|
|
8227
8227
|
/**
|
|
8228
8228
|
* Analytics service.
|
|
8229
8229
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
8230
|
-
* @version
|
|
8230
|
+
* @version 131.1.0
|
|
8231
8231
|
*/
|
|
8232
8232
|
|
|
8233
8233
|
/**
|
|
@@ -8728,6 +8728,26 @@ class AnalyticsApi {
|
|
|
8728
8728
|
);
|
|
8729
8729
|
}
|
|
8730
8730
|
|
|
8731
|
+
/**
|
|
8732
|
+
* Get AnalyticsReportingSettings for an organization
|
|
8733
|
+
*
|
|
8734
|
+
*/
|
|
8735
|
+
getAnalyticsReportingSettings() {
|
|
8736
|
+
|
|
8737
|
+
return this.apiClient.callApi(
|
|
8738
|
+
'/api/v2/analytics/reporting/settings',
|
|
8739
|
+
'GET',
|
|
8740
|
+
{ },
|
|
8741
|
+
{ },
|
|
8742
|
+
{ },
|
|
8743
|
+
{ },
|
|
8744
|
+
null,
|
|
8745
|
+
['PureCloud OAuth'],
|
|
8746
|
+
['application/json'],
|
|
8747
|
+
['application/json']
|
|
8748
|
+
);
|
|
8749
|
+
}
|
|
8750
|
+
|
|
8731
8751
|
/**
|
|
8732
8752
|
* Get a list of report time periods.
|
|
8733
8753
|
*
|
|
@@ -8823,6 +8843,31 @@ class AnalyticsApi {
|
|
|
8823
8843
|
);
|
|
8824
8844
|
}
|
|
8825
8845
|
|
|
8846
|
+
/**
|
|
8847
|
+
* Patch AnalyticsReportingSettings values for an organization
|
|
8848
|
+
*
|
|
8849
|
+
* @param {Object} body AnalyticsReportingSettingsRequest
|
|
8850
|
+
*/
|
|
8851
|
+
patchAnalyticsReportingSettings(body) {
|
|
8852
|
+
// verify the required parameter 'body' is set
|
|
8853
|
+
if (body === undefined || body === null) {
|
|
8854
|
+
throw 'Missing the required parameter "body" when calling patchAnalyticsReportingSettings';
|
|
8855
|
+
}
|
|
8856
|
+
|
|
8857
|
+
return this.apiClient.callApi(
|
|
8858
|
+
'/api/v2/analytics/reporting/settings',
|
|
8859
|
+
'PATCH',
|
|
8860
|
+
{ },
|
|
8861
|
+
{ },
|
|
8862
|
+
{ },
|
|
8863
|
+
{ },
|
|
8864
|
+
body,
|
|
8865
|
+
['PureCloud OAuth'],
|
|
8866
|
+
['application/json'],
|
|
8867
|
+
['application/json']
|
|
8868
|
+
);
|
|
8869
|
+
}
|
|
8870
|
+
|
|
8826
8871
|
/**
|
|
8827
8872
|
* Query for bot aggregates
|
|
8828
8873
|
*
|
|
@@ -9364,7 +9409,7 @@ class ArchitectApi {
|
|
|
9364
9409
|
/**
|
|
9365
9410
|
* Architect service.
|
|
9366
9411
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
9367
|
-
* @version
|
|
9412
|
+
* @version 131.1.0
|
|
9368
9413
|
*/
|
|
9369
9414
|
|
|
9370
9415
|
/**
|
|
@@ -12360,7 +12405,7 @@ class AuditApi {
|
|
|
12360
12405
|
/**
|
|
12361
12406
|
* Audit service.
|
|
12362
12407
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
12363
|
-
* @version
|
|
12408
|
+
* @version 131.1.0
|
|
12364
12409
|
*/
|
|
12365
12410
|
|
|
12366
12411
|
/**
|
|
@@ -12531,7 +12576,7 @@ class AuthorizationApi {
|
|
|
12531
12576
|
/**
|
|
12532
12577
|
* Authorization service.
|
|
12533
12578
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
12534
|
-
* @version
|
|
12579
|
+
* @version 131.1.0
|
|
12535
12580
|
*/
|
|
12536
12581
|
|
|
12537
12582
|
/**
|
|
@@ -13714,7 +13759,7 @@ class BillingApi {
|
|
|
13714
13759
|
/**
|
|
13715
13760
|
* Billing service.
|
|
13716
13761
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
13717
|
-
* @version
|
|
13762
|
+
* @version 131.1.0
|
|
13718
13763
|
*/
|
|
13719
13764
|
|
|
13720
13765
|
/**
|
|
@@ -13794,7 +13839,7 @@ class ChatApi {
|
|
|
13794
13839
|
/**
|
|
13795
13840
|
* Chat service.
|
|
13796
13841
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
13797
|
-
* @version
|
|
13842
|
+
* @version 131.1.0
|
|
13798
13843
|
*/
|
|
13799
13844
|
|
|
13800
13845
|
/**
|
|
@@ -13885,7 +13930,7 @@ class CoachingApi {
|
|
|
13885
13930
|
/**
|
|
13886
13931
|
* Coaching service.
|
|
13887
13932
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
13888
|
-
* @version
|
|
13933
|
+
* @version 131.1.0
|
|
13889
13934
|
*/
|
|
13890
13935
|
|
|
13891
13936
|
/**
|
|
@@ -14084,6 +14129,7 @@ class CoachingApi {
|
|
|
14084
14129
|
* @param {Array.<String>} opts.relationships Relationships to filter by
|
|
14085
14130
|
* @param {String} opts.completionInterval Appointment completion start and end to filter by. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
|
|
14086
14131
|
* @param {Object} opts.overdue Overdue status to filter by
|
|
14132
|
+
* @param {Object} opts.intervalCondition Filter condition for interval
|
|
14087
14133
|
*/
|
|
14088
14134
|
getCoachingAppointments(userIds, opts) {
|
|
14089
14135
|
opts = opts || {};
|
|
@@ -14097,7 +14143,7 @@ class CoachingApi {
|
|
|
14097
14143
|
'/api/v2/coaching/appointments',
|
|
14098
14144
|
'GET',
|
|
14099
14145
|
{ },
|
|
14100
|
-
{ 'userIds': this.apiClient.buildCollectionParam(userIds, 'multi'),'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'] },
|
|
14146
|
+
{ 'userIds': this.apiClient.buildCollectionParam(userIds, 'multi'),'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'intervalCondition': opts['intervalCondition'] },
|
|
14101
14147
|
{ },
|
|
14102
14148
|
{ },
|
|
14103
14149
|
null,
|
|
@@ -14120,6 +14166,7 @@ class CoachingApi {
|
|
|
14120
14166
|
* @param {Array.<String>} opts.relationships Relationships to filter by
|
|
14121
14167
|
* @param {String} opts.completionInterval Appointment completion start and end to filter by. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
|
|
14122
14168
|
* @param {Object} opts.overdue Overdue status to filter by
|
|
14169
|
+
* @param {Object} opts.intervalCondition Filter condition for interval
|
|
14123
14170
|
*/
|
|
14124
14171
|
getCoachingAppointmentsMe(opts) {
|
|
14125
14172
|
opts = opts || {};
|
|
@@ -14129,7 +14176,7 @@ class CoachingApi {
|
|
|
14129
14176
|
'/api/v2/coaching/appointments/me',
|
|
14130
14177
|
'GET',
|
|
14131
14178
|
{ },
|
|
14132
|
-
{ 'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'] },
|
|
14179
|
+
{ 'interval': opts['interval'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'statuses': this.apiClient.buildCollectionParam(opts['statuses'], 'multi'),'facilitatorIds': this.apiClient.buildCollectionParam(opts['facilitatorIds'], 'multi'),'sortOrder': opts['sortOrder'],'relationships': this.apiClient.buildCollectionParam(opts['relationships'], 'multi'),'completionInterval': opts['completionInterval'],'overdue': opts['overdue'],'intervalCondition': opts['intervalCondition'] },
|
|
14133
14180
|
{ },
|
|
14134
14181
|
{ },
|
|
14135
14182
|
null,
|
|
@@ -14460,7 +14507,7 @@ class ContentManagementApi {
|
|
|
14460
14507
|
/**
|
|
14461
14508
|
* ContentManagement service.
|
|
14462
14509
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
14463
|
-
* @version
|
|
14510
|
+
* @version 131.1.0
|
|
14464
14511
|
*/
|
|
14465
14512
|
|
|
14466
14513
|
/**
|
|
@@ -15600,7 +15647,7 @@ class ConversationsApi {
|
|
|
15600
15647
|
/**
|
|
15601
15648
|
* Conversations service.
|
|
15602
15649
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
15603
|
-
* @version
|
|
15650
|
+
* @version 131.1.0
|
|
15604
15651
|
*/
|
|
15605
15652
|
|
|
15606
15653
|
/**
|
|
@@ -15890,6 +15937,31 @@ class ConversationsApi {
|
|
|
15890
15937
|
);
|
|
15891
15938
|
}
|
|
15892
15939
|
|
|
15940
|
+
/**
|
|
15941
|
+
* Delete a supported content profile
|
|
15942
|
+
*
|
|
15943
|
+
* @param {String} supportedContentId Supported Content ID
|
|
15944
|
+
*/
|
|
15945
|
+
deleteConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
|
|
15946
|
+
// verify the required parameter 'supportedContentId' is set
|
|
15947
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
15948
|
+
throw 'Missing the required parameter "supportedContentId" when calling deleteConversationsMessagingSupportedcontentSupportedContentId';
|
|
15949
|
+
}
|
|
15950
|
+
|
|
15951
|
+
return this.apiClient.callApi(
|
|
15952
|
+
'/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
|
|
15953
|
+
'DELETE',
|
|
15954
|
+
{ 'supportedContentId': supportedContentId },
|
|
15955
|
+
{ },
|
|
15956
|
+
{ },
|
|
15957
|
+
{ },
|
|
15958
|
+
null,
|
|
15959
|
+
['PureCloud OAuth'],
|
|
15960
|
+
['application/json'],
|
|
15961
|
+
['application/json']
|
|
15962
|
+
);
|
|
15963
|
+
}
|
|
15964
|
+
|
|
15893
15965
|
/**
|
|
15894
15966
|
* Get a conversation by id
|
|
15895
15967
|
*
|
|
@@ -17482,6 +17554,76 @@ class ConversationsApi {
|
|
|
17482
17554
|
);
|
|
17483
17555
|
}
|
|
17484
17556
|
|
|
17557
|
+
/**
|
|
17558
|
+
* Get a list of Supported Content profiles
|
|
17559
|
+
*
|
|
17560
|
+
* @param {Object} opts Optional parameters
|
|
17561
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
17562
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
17563
|
+
*/
|
|
17564
|
+
getConversationsMessagingSupportedcontent(opts) {
|
|
17565
|
+
opts = opts || {};
|
|
17566
|
+
|
|
17567
|
+
|
|
17568
|
+
return this.apiClient.callApi(
|
|
17569
|
+
'/api/v2/conversations/messaging/supportedcontent',
|
|
17570
|
+
'GET',
|
|
17571
|
+
{ },
|
|
17572
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
17573
|
+
{ },
|
|
17574
|
+
{ },
|
|
17575
|
+
null,
|
|
17576
|
+
['PureCloud OAuth'],
|
|
17577
|
+
['application/json'],
|
|
17578
|
+
['application/json']
|
|
17579
|
+
);
|
|
17580
|
+
}
|
|
17581
|
+
|
|
17582
|
+
/**
|
|
17583
|
+
* Get the organization's default supported content profile that will be used as the default when creating an integration.
|
|
17584
|
+
* When an integration is created a supported content ID may be assigned to it. If the supported content ID is not supplied, the default supported content profile will be assigned to it.
|
|
17585
|
+
*/
|
|
17586
|
+
getConversationsMessagingSupportedcontentDefault() {
|
|
17587
|
+
|
|
17588
|
+
return this.apiClient.callApi(
|
|
17589
|
+
'/api/v2/conversations/messaging/supportedcontent/default',
|
|
17590
|
+
'GET',
|
|
17591
|
+
{ },
|
|
17592
|
+
{ },
|
|
17593
|
+
{ },
|
|
17594
|
+
{ },
|
|
17595
|
+
null,
|
|
17596
|
+
['PureCloud OAuth'],
|
|
17597
|
+
['application/json'],
|
|
17598
|
+
['application/json']
|
|
17599
|
+
);
|
|
17600
|
+
}
|
|
17601
|
+
|
|
17602
|
+
/**
|
|
17603
|
+
* Get a supported content profile
|
|
17604
|
+
*
|
|
17605
|
+
* @param {String} supportedContentId Supported Content ID
|
|
17606
|
+
*/
|
|
17607
|
+
getConversationsMessagingSupportedcontentSupportedContentId(supportedContentId) {
|
|
17608
|
+
// verify the required parameter 'supportedContentId' is set
|
|
17609
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
17610
|
+
throw 'Missing the required parameter "supportedContentId" when calling getConversationsMessagingSupportedcontentSupportedContentId';
|
|
17611
|
+
}
|
|
17612
|
+
|
|
17613
|
+
return this.apiClient.callApi(
|
|
17614
|
+
'/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
|
|
17615
|
+
'GET',
|
|
17616
|
+
{ 'supportedContentId': supportedContentId },
|
|
17617
|
+
{ },
|
|
17618
|
+
{ },
|
|
17619
|
+
{ },
|
|
17620
|
+
null,
|
|
17621
|
+
['PureCloud OAuth'],
|
|
17622
|
+
['application/json'],
|
|
17623
|
+
['application/json']
|
|
17624
|
+
);
|
|
17625
|
+
}
|
|
17626
|
+
|
|
17485
17627
|
/**
|
|
17486
17628
|
* Get conversation threading window timeline for each messaging type
|
|
17487
17629
|
* Conversation messaging threading timeline is a setting defined for each messenger type in your organization. This setting will dictate whether a new message is added to the most recent existing conversation, or creates a new Conversation. If the existing Conversation is still in a connected state the threading timeline setting will never play a role. After the conversation is disconnected, if an inbound message is received or an outbound message is sent after the setting for threading timeline expires, a new conversation is created.
|
|
@@ -18563,6 +18705,36 @@ class ConversationsApi {
|
|
|
18563
18705
|
);
|
|
18564
18706
|
}
|
|
18565
18707
|
|
|
18708
|
+
/**
|
|
18709
|
+
* Update a supported content profile
|
|
18710
|
+
*
|
|
18711
|
+
* @param {String} supportedContentId Supported Content ID
|
|
18712
|
+
* @param {Object} body SupportedContent
|
|
18713
|
+
*/
|
|
18714
|
+
patchConversationsMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
|
|
18715
|
+
// verify the required parameter 'supportedContentId' is set
|
|
18716
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
18717
|
+
throw 'Missing the required parameter "supportedContentId" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
|
|
18718
|
+
}
|
|
18719
|
+
// verify the required parameter 'body' is set
|
|
18720
|
+
if (body === undefined || body === null) {
|
|
18721
|
+
throw 'Missing the required parameter "body" when calling patchConversationsMessagingSupportedcontentSupportedContentId';
|
|
18722
|
+
}
|
|
18723
|
+
|
|
18724
|
+
return this.apiClient.callApi(
|
|
18725
|
+
'/api/v2/conversations/messaging/supportedcontent/{supportedContentId}',
|
|
18726
|
+
'PATCH',
|
|
18727
|
+
{ 'supportedContentId': supportedContentId },
|
|
18728
|
+
{ },
|
|
18729
|
+
{ },
|
|
18730
|
+
{ },
|
|
18731
|
+
body,
|
|
18732
|
+
['PureCloud OAuth'],
|
|
18733
|
+
['application/json'],
|
|
18734
|
+
['application/json']
|
|
18735
|
+
);
|
|
18736
|
+
}
|
|
18737
|
+
|
|
18566
18738
|
/**
|
|
18567
18739
|
* Index conversation properties
|
|
18568
18740
|
*
|
|
@@ -19798,6 +19970,31 @@ class ConversationsApi {
|
|
|
19798
19970
|
);
|
|
19799
19971
|
}
|
|
19800
19972
|
|
|
19973
|
+
/**
|
|
19974
|
+
* Create a Supported Content profile
|
|
19975
|
+
*
|
|
19976
|
+
* @param {Object} body SupportedContent
|
|
19977
|
+
*/
|
|
19978
|
+
postConversationsMessagingSupportedcontent(body) {
|
|
19979
|
+
// verify the required parameter 'body' is set
|
|
19980
|
+
if (body === undefined || body === null) {
|
|
19981
|
+
throw 'Missing the required parameter "body" when calling postConversationsMessagingSupportedcontent';
|
|
19982
|
+
}
|
|
19983
|
+
|
|
19984
|
+
return this.apiClient.callApi(
|
|
19985
|
+
'/api/v2/conversations/messaging/supportedcontent',
|
|
19986
|
+
'POST',
|
|
19987
|
+
{ },
|
|
19988
|
+
{ },
|
|
19989
|
+
{ },
|
|
19990
|
+
{ },
|
|
19991
|
+
body,
|
|
19992
|
+
['PureCloud OAuth'],
|
|
19993
|
+
['application/json'],
|
|
19994
|
+
['application/json']
|
|
19995
|
+
);
|
|
19996
|
+
}
|
|
19997
|
+
|
|
19801
19998
|
/**
|
|
19802
19999
|
* Set flagged reason on conversation participant to indicate bad conversation quality.
|
|
19803
20000
|
*
|
|
@@ -19958,6 +20155,31 @@ class ConversationsApi {
|
|
|
19958
20155
|
);
|
|
19959
20156
|
}
|
|
19960
20157
|
|
|
20158
|
+
/**
|
|
20159
|
+
* Set the organization's default supported content profile that may be assigned to an integration when it is created.
|
|
20160
|
+
* When an integration is created a supported content ID may be assigned to it. If the supported content ID is not supplied, the default supported content profile will be assigned to it.
|
|
20161
|
+
* @param {Object} body SupportedContent
|
|
20162
|
+
*/
|
|
20163
|
+
putConversationsMessagingSupportedcontentDefault(body) {
|
|
20164
|
+
// verify the required parameter 'body' is set
|
|
20165
|
+
if (body === undefined || body === null) {
|
|
20166
|
+
throw 'Missing the required parameter "body" when calling putConversationsMessagingSupportedcontentDefault';
|
|
20167
|
+
}
|
|
20168
|
+
|
|
20169
|
+
return this.apiClient.callApi(
|
|
20170
|
+
'/api/v2/conversations/messaging/supportedcontent/default',
|
|
20171
|
+
'PUT',
|
|
20172
|
+
{ },
|
|
20173
|
+
{ },
|
|
20174
|
+
{ },
|
|
20175
|
+
{ },
|
|
20176
|
+
body,
|
|
20177
|
+
['PureCloud OAuth'],
|
|
20178
|
+
['application/json'],
|
|
20179
|
+
['application/json']
|
|
20180
|
+
);
|
|
20181
|
+
}
|
|
20182
|
+
|
|
19961
20183
|
/**
|
|
19962
20184
|
* Update conversation threading window timeline for each messaging type
|
|
19963
20185
|
* PUT Conversation messaging threading timeline is intended to set the conversation threading settings for ALL messengerTypes. If you omit a messengerType in the request body then the setting for that messengerType will use the platform default value. The PUT replaces the existing setting(s) that were previously set for each messengerType.
|
|
@@ -19989,7 +20211,7 @@ class DataExtensionsApi {
|
|
|
19989
20211
|
/**
|
|
19990
20212
|
* DataExtensions service.
|
|
19991
20213
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
19992
|
-
* @version
|
|
20214
|
+
* @version 131.1.0
|
|
19993
20215
|
*/
|
|
19994
20216
|
|
|
19995
20217
|
/**
|
|
@@ -20075,7 +20297,7 @@ class ExternalContactsApi {
|
|
|
20075
20297
|
/**
|
|
20076
20298
|
* ExternalContacts service.
|
|
20077
20299
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
20078
|
-
* @version
|
|
20300
|
+
* @version 131.1.0
|
|
20079
20301
|
*/
|
|
20080
20302
|
|
|
20081
20303
|
/**
|
|
@@ -21818,7 +22040,7 @@ class FaxApi {
|
|
|
21818
22040
|
/**
|
|
21819
22041
|
* Fax service.
|
|
21820
22042
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
21821
|
-
* @version
|
|
22043
|
+
* @version 131.1.0
|
|
21822
22044
|
*/
|
|
21823
22045
|
|
|
21824
22046
|
/**
|
|
@@ -21989,7 +22211,7 @@ class FlowsApi {
|
|
|
21989
22211
|
/**
|
|
21990
22212
|
* Flows service.
|
|
21991
22213
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
21992
|
-
* @version
|
|
22214
|
+
* @version 131.1.0
|
|
21993
22215
|
*/
|
|
21994
22216
|
|
|
21995
22217
|
/**
|
|
@@ -22060,7 +22282,7 @@ class GamificationApi {
|
|
|
22060
22282
|
/**
|
|
22061
22283
|
* Gamification service.
|
|
22062
22284
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
22063
|
-
* @version
|
|
22285
|
+
* @version 131.1.0
|
|
22064
22286
|
*/
|
|
22065
22287
|
|
|
22066
22288
|
/**
|
|
@@ -22328,6 +22550,31 @@ class GamificationApi {
|
|
|
22328
22550
|
);
|
|
22329
22551
|
}
|
|
22330
22552
|
|
|
22553
|
+
/**
|
|
22554
|
+
* Members of a given performance profile
|
|
22555
|
+
*
|
|
22556
|
+
* @param {String} performanceProfileId Performance Profile Id
|
|
22557
|
+
*/
|
|
22558
|
+
getGamificationProfileMembers(performanceProfileId) {
|
|
22559
|
+
// verify the required parameter 'performanceProfileId' is set
|
|
22560
|
+
if (performanceProfileId === undefined || performanceProfileId === null) {
|
|
22561
|
+
throw 'Missing the required parameter "performanceProfileId" when calling getGamificationProfileMembers';
|
|
22562
|
+
}
|
|
22563
|
+
|
|
22564
|
+
return this.apiClient.callApi(
|
|
22565
|
+
'/api/v2/gamification/profiles/{performanceProfileId}/members',
|
|
22566
|
+
'GET',
|
|
22567
|
+
{ 'performanceProfileId': performanceProfileId },
|
|
22568
|
+
{ },
|
|
22569
|
+
{ },
|
|
22570
|
+
{ },
|
|
22571
|
+
null,
|
|
22572
|
+
['PureCloud OAuth'],
|
|
22573
|
+
['application/json'],
|
|
22574
|
+
['application/json']
|
|
22575
|
+
);
|
|
22576
|
+
}
|
|
22577
|
+
|
|
22331
22578
|
/**
|
|
22332
22579
|
* Performance profile gamified metric by id
|
|
22333
22580
|
*
|
|
@@ -23182,6 +23429,101 @@ class GamificationApi {
|
|
|
23182
23429
|
);
|
|
23183
23430
|
}
|
|
23184
23431
|
|
|
23432
|
+
/**
|
|
23433
|
+
* Assign members to a given performance profile
|
|
23434
|
+
*
|
|
23435
|
+
* @param {String} performanceProfileId Performance Profile Id
|
|
23436
|
+
* @param {Object} body assignUsers
|
|
23437
|
+
*/
|
|
23438
|
+
postGamificationProfileMembers(performanceProfileId, body) {
|
|
23439
|
+
// verify the required parameter 'performanceProfileId' is set
|
|
23440
|
+
if (performanceProfileId === undefined || performanceProfileId === null) {
|
|
23441
|
+
throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembers';
|
|
23442
|
+
}
|
|
23443
|
+
// verify the required parameter 'body' is set
|
|
23444
|
+
if (body === undefined || body === null) {
|
|
23445
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfileMembers';
|
|
23446
|
+
}
|
|
23447
|
+
|
|
23448
|
+
return this.apiClient.callApi(
|
|
23449
|
+
'/api/v2/gamification/profiles/{performanceProfileId}/members',
|
|
23450
|
+
'POST',
|
|
23451
|
+
{ 'performanceProfileId': performanceProfileId },
|
|
23452
|
+
{ },
|
|
23453
|
+
{ },
|
|
23454
|
+
{ },
|
|
23455
|
+
body,
|
|
23456
|
+
['PureCloud OAuth'],
|
|
23457
|
+
['application/json'],
|
|
23458
|
+
['application/json']
|
|
23459
|
+
);
|
|
23460
|
+
}
|
|
23461
|
+
|
|
23462
|
+
/**
|
|
23463
|
+
* Validate member assignment
|
|
23464
|
+
*
|
|
23465
|
+
* @param {String} performanceProfileId Performance Profile Id
|
|
23466
|
+
* @param {Object} body memberAssignments
|
|
23467
|
+
*/
|
|
23468
|
+
postGamificationProfileMembersValidate(performanceProfileId, body) {
|
|
23469
|
+
// verify the required parameter 'performanceProfileId' is set
|
|
23470
|
+
if (performanceProfileId === undefined || performanceProfileId === null) {
|
|
23471
|
+
throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembersValidate';
|
|
23472
|
+
}
|
|
23473
|
+
// verify the required parameter 'body' is set
|
|
23474
|
+
if (body === undefined || body === null) {
|
|
23475
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfileMembersValidate';
|
|
23476
|
+
}
|
|
23477
|
+
|
|
23478
|
+
return this.apiClient.callApi(
|
|
23479
|
+
'/api/v2/gamification/profiles/{performanceProfileId}/members/validate',
|
|
23480
|
+
'POST',
|
|
23481
|
+
{ 'performanceProfileId': performanceProfileId },
|
|
23482
|
+
{ },
|
|
23483
|
+
{ },
|
|
23484
|
+
{ },
|
|
23485
|
+
body,
|
|
23486
|
+
['PureCloud OAuth'],
|
|
23487
|
+
['application/json'],
|
|
23488
|
+
['application/json']
|
|
23489
|
+
);
|
|
23490
|
+
}
|
|
23491
|
+
|
|
23492
|
+
/**
|
|
23493
|
+
* Creates a linked metric
|
|
23494
|
+
*
|
|
23495
|
+
* @param {String} sourceProfileId Source Performance Profile Id
|
|
23496
|
+
* @param {String} sourceMetricId Source Metric Id
|
|
23497
|
+
* @param {Object} body linkedMetric
|
|
23498
|
+
*/
|
|
23499
|
+
postGamificationProfileMetricLink(sourceProfileId, sourceMetricId, body) {
|
|
23500
|
+
// verify the required parameter 'sourceProfileId' is set
|
|
23501
|
+
if (sourceProfileId === undefined || sourceProfileId === null) {
|
|
23502
|
+
throw 'Missing the required parameter "sourceProfileId" when calling postGamificationProfileMetricLink';
|
|
23503
|
+
}
|
|
23504
|
+
// verify the required parameter 'sourceMetricId' is set
|
|
23505
|
+
if (sourceMetricId === undefined || sourceMetricId === null) {
|
|
23506
|
+
throw 'Missing the required parameter "sourceMetricId" when calling postGamificationProfileMetricLink';
|
|
23507
|
+
}
|
|
23508
|
+
// verify the required parameter 'body' is set
|
|
23509
|
+
if (body === undefined || body === null) {
|
|
23510
|
+
throw 'Missing the required parameter "body" when calling postGamificationProfileMetricLink';
|
|
23511
|
+
}
|
|
23512
|
+
|
|
23513
|
+
return this.apiClient.callApi(
|
|
23514
|
+
'/api/v2/gamification/profiles/{sourceProfileId}/metrics/{sourceMetricId}/link',
|
|
23515
|
+
'POST',
|
|
23516
|
+
{ 'sourceProfileId': sourceProfileId,'sourceMetricId': sourceMetricId },
|
|
23517
|
+
{ },
|
|
23518
|
+
{ },
|
|
23519
|
+
{ },
|
|
23520
|
+
body,
|
|
23521
|
+
['PureCloud OAuth'],
|
|
23522
|
+
['application/json'],
|
|
23523
|
+
['application/json']
|
|
23524
|
+
);
|
|
23525
|
+
}
|
|
23526
|
+
|
|
23185
23527
|
/**
|
|
23186
23528
|
* Creates a gamified metric with a given metric definition and metric objective under in a performance profile
|
|
23187
23529
|
*
|
|
@@ -23366,7 +23708,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
23366
23708
|
/**
|
|
23367
23709
|
* GeneralDataProtectionRegulation service.
|
|
23368
23710
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
23369
|
-
* @version
|
|
23711
|
+
* @version 131.1.0
|
|
23370
23712
|
*/
|
|
23371
23713
|
|
|
23372
23714
|
/**
|
|
@@ -23496,7 +23838,7 @@ class GeolocationApi {
|
|
|
23496
23838
|
/**
|
|
23497
23839
|
* Geolocation service.
|
|
23498
23840
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
23499
|
-
* @version
|
|
23841
|
+
* @version 131.1.0
|
|
23500
23842
|
*/
|
|
23501
23843
|
|
|
23502
23844
|
/**
|
|
@@ -23627,7 +23969,7 @@ class GreetingsApi {
|
|
|
23627
23969
|
/**
|
|
23628
23970
|
* Greetings service.
|
|
23629
23971
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
23630
|
-
* @version
|
|
23972
|
+
* @version 131.1.0
|
|
23631
23973
|
*/
|
|
23632
23974
|
|
|
23633
23975
|
/**
|
|
@@ -24082,7 +24424,7 @@ class GroupsApi {
|
|
|
24082
24424
|
/**
|
|
24083
24425
|
* Groups service.
|
|
24084
24426
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
24085
|
-
* @version
|
|
24427
|
+
* @version 131.1.0
|
|
24086
24428
|
*/
|
|
24087
24429
|
|
|
24088
24430
|
/**
|
|
@@ -24487,7 +24829,7 @@ class IdentityProviderApi {
|
|
|
24487
24829
|
/**
|
|
24488
24830
|
* IdentityProvider service.
|
|
24489
24831
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
24490
|
-
* @version
|
|
24832
|
+
* @version 131.1.0
|
|
24491
24833
|
*/
|
|
24492
24834
|
|
|
24493
24835
|
/**
|
|
@@ -25243,7 +25585,7 @@ class IntegrationsApi {
|
|
|
25243
25585
|
/**
|
|
25244
25586
|
* Integrations service.
|
|
25245
25587
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
25246
|
-
* @version
|
|
25588
|
+
* @version 131.1.0
|
|
25247
25589
|
*/
|
|
25248
25590
|
|
|
25249
25591
|
/**
|
|
@@ -25900,6 +26242,35 @@ class IntegrationsApi {
|
|
|
25900
26242
|
);
|
|
25901
26243
|
}
|
|
25902
26244
|
|
|
26245
|
+
/**
|
|
26246
|
+
* UC integration client application configuration.
|
|
26247
|
+
* This endpoint returns basic UI configuration data for all Unified Communications integrations client applications enabled for the current organization.
|
|
26248
|
+
* @param {Object} opts Optional parameters
|
|
26249
|
+
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
26250
|
+
* @param {Number} opts.pageNumber The page number requested (default to 1)
|
|
26251
|
+
* @param {String} opts.sortBy variable name requested to sort by
|
|
26252
|
+
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
26253
|
+
* @param {String} opts.nextPage next page token
|
|
26254
|
+
* @param {String} opts.previousPage Previous page token
|
|
26255
|
+
*/
|
|
26256
|
+
getIntegrationsClientappsUnifiedcommunications(opts) {
|
|
26257
|
+
opts = opts || {};
|
|
26258
|
+
|
|
26259
|
+
|
|
26260
|
+
return this.apiClient.callApi(
|
|
26261
|
+
'/api/v2/integrations/clientapps/unifiedcommunications',
|
|
26262
|
+
'GET',
|
|
26263
|
+
{ },
|
|
26264
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
|
|
26265
|
+
{ },
|
|
26266
|
+
{ },
|
|
26267
|
+
null,
|
|
26268
|
+
['PureCloud OAuth'],
|
|
26269
|
+
['application/json'],
|
|
26270
|
+
['application/json']
|
|
26271
|
+
);
|
|
26272
|
+
}
|
|
26273
|
+
|
|
25903
26274
|
/**
|
|
25904
26275
|
* Get a single credential with sensitive fields redacted
|
|
25905
26276
|
*
|
|
@@ -26889,7 +27260,7 @@ class JourneyApi {
|
|
|
26889
27260
|
/**
|
|
26890
27261
|
* Journey service.
|
|
26891
27262
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
26892
|
-
* @version
|
|
27263
|
+
* @version 131.1.0
|
|
26893
27264
|
*/
|
|
26894
27265
|
|
|
26895
27266
|
/**
|
|
@@ -27600,7 +27971,7 @@ class KnowledgeApi {
|
|
|
27600
27971
|
/**
|
|
27601
27972
|
* Knowledge service.
|
|
27602
27973
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
27603
|
-
* @version
|
|
27974
|
+
* @version 131.1.0
|
|
27604
27975
|
*/
|
|
27605
27976
|
|
|
27606
27977
|
/**
|
|
@@ -28500,7 +28871,7 @@ class LanguageUnderstandingApi {
|
|
|
28500
28871
|
/**
|
|
28501
28872
|
* LanguageUnderstanding service.
|
|
28502
28873
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
28503
|
-
* @version
|
|
28874
|
+
* @version 131.1.0
|
|
28504
28875
|
*/
|
|
28505
28876
|
|
|
28506
28877
|
/**
|
|
@@ -28958,7 +29329,7 @@ class LanguageUnderstandingApi {
|
|
|
28958
29329
|
* @param {String} minerId Miner ID
|
|
28959
29330
|
* @param {String} intentId The ID of the intent to be retrieved.
|
|
28960
29331
|
* @param {Object} opts Optional parameters
|
|
28961
|
-
* @param {
|
|
29332
|
+
* @param {Object} opts.expand Option to fetch utterances
|
|
28962
29333
|
*/
|
|
28963
29334
|
getLanguageunderstandingMinerIntent(minerId, intentId, opts) {
|
|
28964
29335
|
opts = opts || {};
|
|
@@ -28991,7 +29362,7 @@ class LanguageUnderstandingApi {
|
|
|
28991
29362
|
*
|
|
28992
29363
|
* @param {String} minerId Miner ID
|
|
28993
29364
|
* @param {Object} opts Optional parameters
|
|
28994
|
-
* @param {
|
|
29365
|
+
* @param {Object} opts.expand Option to fetch utterances.
|
|
28995
29366
|
*/
|
|
28996
29367
|
getLanguageunderstandingMinerIntents(minerId, opts) {
|
|
28997
29368
|
opts = opts || {};
|
|
@@ -29404,7 +29775,7 @@ class LanguagesApi {
|
|
|
29404
29775
|
/**
|
|
29405
29776
|
* Languages service.
|
|
29406
29777
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
29407
|
-
* @version
|
|
29778
|
+
* @version 131.1.0
|
|
29408
29779
|
*/
|
|
29409
29780
|
|
|
29410
29781
|
/**
|
|
@@ -29672,7 +30043,7 @@ class LearningApi {
|
|
|
29672
30043
|
/**
|
|
29673
30044
|
* Learning service.
|
|
29674
30045
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
29675
|
-
* @version
|
|
30046
|
+
* @version 131.1.0
|
|
29676
30047
|
*/
|
|
29677
30048
|
|
|
29678
30049
|
/**
|
|
@@ -30263,7 +30634,7 @@ class LicenseApi {
|
|
|
30263
30634
|
/**
|
|
30264
30635
|
* License service.
|
|
30265
30636
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
30266
|
-
* @version
|
|
30637
|
+
* @version 131.1.0
|
|
30267
30638
|
*/
|
|
30268
30639
|
|
|
30269
30640
|
/**
|
|
@@ -30501,7 +30872,7 @@ class LocationsApi {
|
|
|
30501
30872
|
/**
|
|
30502
30873
|
* Locations service.
|
|
30503
30874
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
30504
|
-
* @version
|
|
30875
|
+
* @version 131.1.0
|
|
30505
30876
|
*/
|
|
30506
30877
|
|
|
30507
30878
|
/**
|
|
@@ -30733,11 +31104,162 @@ class LocationsApi {
|
|
|
30733
31104
|
|
|
30734
31105
|
}
|
|
30735
31106
|
|
|
31107
|
+
class MessagingApi {
|
|
31108
|
+
/**
|
|
31109
|
+
* Messaging service.
|
|
31110
|
+
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
31111
|
+
* @version 131.1.0
|
|
31112
|
+
*/
|
|
31113
|
+
|
|
31114
|
+
/**
|
|
31115
|
+
* Constructs a new MessagingApi.
|
|
31116
|
+
* @alias module:purecloud-platform-client-v2/api/MessagingApi
|
|
31117
|
+
* @class
|
|
31118
|
+
* @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
|
|
31119
|
+
* default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
|
|
31120
|
+
*/
|
|
31121
|
+
constructor(apiClient) {
|
|
31122
|
+
this.apiClient = apiClient || ApiClient.instance;
|
|
31123
|
+
}
|
|
31124
|
+
|
|
31125
|
+
|
|
31126
|
+
/**
|
|
31127
|
+
* Delete a supported content profile
|
|
31128
|
+
*
|
|
31129
|
+
* @param {String} supportedContentId Supported Content ID
|
|
31130
|
+
*/
|
|
31131
|
+
deleteMessagingSupportedcontentSupportedContentId(supportedContentId) {
|
|
31132
|
+
// verify the required parameter 'supportedContentId' is set
|
|
31133
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
31134
|
+
throw 'Missing the required parameter "supportedContentId" when calling deleteMessagingSupportedcontentSupportedContentId';
|
|
31135
|
+
}
|
|
31136
|
+
|
|
31137
|
+
return this.apiClient.callApi(
|
|
31138
|
+
'/api/v2/messaging/supportedcontent/{supportedContentId}',
|
|
31139
|
+
'DELETE',
|
|
31140
|
+
{ 'supportedContentId': supportedContentId },
|
|
31141
|
+
{ },
|
|
31142
|
+
{ },
|
|
31143
|
+
{ },
|
|
31144
|
+
null,
|
|
31145
|
+
['PureCloud OAuth'],
|
|
31146
|
+
['application/json'],
|
|
31147
|
+
['application/json']
|
|
31148
|
+
);
|
|
31149
|
+
}
|
|
31150
|
+
|
|
31151
|
+
/**
|
|
31152
|
+
* Get a list of Supported Content profiles
|
|
31153
|
+
*
|
|
31154
|
+
* @param {Object} opts Optional parameters
|
|
31155
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
31156
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
31157
|
+
*/
|
|
31158
|
+
getMessagingSupportedcontent(opts) {
|
|
31159
|
+
opts = opts || {};
|
|
31160
|
+
|
|
31161
|
+
|
|
31162
|
+
return this.apiClient.callApi(
|
|
31163
|
+
'/api/v2/messaging/supportedcontent',
|
|
31164
|
+
'GET',
|
|
31165
|
+
{ },
|
|
31166
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
31167
|
+
{ },
|
|
31168
|
+
{ },
|
|
31169
|
+
null,
|
|
31170
|
+
['PureCloud OAuth'],
|
|
31171
|
+
['application/json'],
|
|
31172
|
+
['application/json']
|
|
31173
|
+
);
|
|
31174
|
+
}
|
|
31175
|
+
|
|
31176
|
+
/**
|
|
31177
|
+
* Get a supported content profile
|
|
31178
|
+
*
|
|
31179
|
+
* @param {String} supportedContentId Supported Content ID
|
|
31180
|
+
*/
|
|
31181
|
+
getMessagingSupportedcontentSupportedContentId(supportedContentId) {
|
|
31182
|
+
// verify the required parameter 'supportedContentId' is set
|
|
31183
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
31184
|
+
throw 'Missing the required parameter "supportedContentId" when calling getMessagingSupportedcontentSupportedContentId';
|
|
31185
|
+
}
|
|
31186
|
+
|
|
31187
|
+
return this.apiClient.callApi(
|
|
31188
|
+
'/api/v2/messaging/supportedcontent/{supportedContentId}',
|
|
31189
|
+
'GET',
|
|
31190
|
+
{ 'supportedContentId': supportedContentId },
|
|
31191
|
+
{ },
|
|
31192
|
+
{ },
|
|
31193
|
+
{ },
|
|
31194
|
+
null,
|
|
31195
|
+
['PureCloud OAuth'],
|
|
31196
|
+
['application/json'],
|
|
31197
|
+
['application/json']
|
|
31198
|
+
);
|
|
31199
|
+
}
|
|
31200
|
+
|
|
31201
|
+
/**
|
|
31202
|
+
* Update a supported content profile
|
|
31203
|
+
*
|
|
31204
|
+
* @param {String} supportedContentId Supported Content ID
|
|
31205
|
+
* @param {Object} body SupportedContent
|
|
31206
|
+
*/
|
|
31207
|
+
patchMessagingSupportedcontentSupportedContentId(supportedContentId, body) {
|
|
31208
|
+
// verify the required parameter 'supportedContentId' is set
|
|
31209
|
+
if (supportedContentId === undefined || supportedContentId === null) {
|
|
31210
|
+
throw 'Missing the required parameter "supportedContentId" when calling patchMessagingSupportedcontentSupportedContentId';
|
|
31211
|
+
}
|
|
31212
|
+
// verify the required parameter 'body' is set
|
|
31213
|
+
if (body === undefined || body === null) {
|
|
31214
|
+
throw 'Missing the required parameter "body" when calling patchMessagingSupportedcontentSupportedContentId';
|
|
31215
|
+
}
|
|
31216
|
+
|
|
31217
|
+
return this.apiClient.callApi(
|
|
31218
|
+
'/api/v2/messaging/supportedcontent/{supportedContentId}',
|
|
31219
|
+
'PATCH',
|
|
31220
|
+
{ 'supportedContentId': supportedContentId },
|
|
31221
|
+
{ },
|
|
31222
|
+
{ },
|
|
31223
|
+
{ },
|
|
31224
|
+
body,
|
|
31225
|
+
['PureCloud OAuth'],
|
|
31226
|
+
['application/json'],
|
|
31227
|
+
['application/json']
|
|
31228
|
+
);
|
|
31229
|
+
}
|
|
31230
|
+
|
|
31231
|
+
/**
|
|
31232
|
+
* Create a Supported Content profile
|
|
31233
|
+
*
|
|
31234
|
+
* @param {Object} body SupportedContent
|
|
31235
|
+
*/
|
|
31236
|
+
postMessagingSupportedcontent(body) {
|
|
31237
|
+
// verify the required parameter 'body' is set
|
|
31238
|
+
if (body === undefined || body === null) {
|
|
31239
|
+
throw 'Missing the required parameter "body" when calling postMessagingSupportedcontent';
|
|
31240
|
+
}
|
|
31241
|
+
|
|
31242
|
+
return this.apiClient.callApi(
|
|
31243
|
+
'/api/v2/messaging/supportedcontent',
|
|
31244
|
+
'POST',
|
|
31245
|
+
{ },
|
|
31246
|
+
{ },
|
|
31247
|
+
{ },
|
|
31248
|
+
{ },
|
|
31249
|
+
body,
|
|
31250
|
+
['PureCloud OAuth'],
|
|
31251
|
+
['application/json'],
|
|
31252
|
+
['application/json']
|
|
31253
|
+
);
|
|
31254
|
+
}
|
|
31255
|
+
|
|
31256
|
+
}
|
|
31257
|
+
|
|
30736
31258
|
class MobileDevicesApi {
|
|
30737
31259
|
/**
|
|
30738
31260
|
* MobileDevices service.
|
|
30739
31261
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
30740
|
-
* @version
|
|
31262
|
+
* @version 131.1.0
|
|
30741
31263
|
*/
|
|
30742
31264
|
|
|
30743
31265
|
/**
|
|
@@ -30888,7 +31410,7 @@ class NotificationsApi {
|
|
|
30888
31410
|
/**
|
|
30889
31411
|
* Notifications service.
|
|
30890
31412
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
30891
|
-
* @version
|
|
31413
|
+
* @version 131.1.0
|
|
30892
31414
|
*/
|
|
30893
31415
|
|
|
30894
31416
|
/**
|
|
@@ -31113,7 +31635,7 @@ class OAuthApi {
|
|
|
31113
31635
|
/**
|
|
31114
31636
|
* OAuth service.
|
|
31115
31637
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
31116
|
-
* @version
|
|
31638
|
+
* @version 131.1.0
|
|
31117
31639
|
*/
|
|
31118
31640
|
|
|
31119
31641
|
/**
|
|
@@ -31471,7 +31993,7 @@ class ObjectsApi {
|
|
|
31471
31993
|
/**
|
|
31472
31994
|
* Objects service.
|
|
31473
31995
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
31474
|
-
* @version
|
|
31996
|
+
* @version 131.1.0
|
|
31475
31997
|
*/
|
|
31476
31998
|
|
|
31477
31999
|
/**
|
|
@@ -31742,7 +32264,7 @@ class OrganizationApi {
|
|
|
31742
32264
|
/**
|
|
31743
32265
|
* Organization service.
|
|
31744
32266
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
31745
|
-
* @version
|
|
32267
|
+
* @version 131.1.0
|
|
31746
32268
|
*/
|
|
31747
32269
|
|
|
31748
32270
|
/**
|
|
@@ -32145,7 +32667,7 @@ class OrganizationAuthorizationApi {
|
|
|
32145
32667
|
/**
|
|
32146
32668
|
* OrganizationAuthorization service.
|
|
32147
32669
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
32148
|
-
* @version
|
|
32670
|
+
* @version 131.1.0
|
|
32149
32671
|
*/
|
|
32150
32672
|
|
|
32151
32673
|
/**
|
|
@@ -33070,7 +33592,7 @@ class OutboundApi {
|
|
|
33070
33592
|
/**
|
|
33071
33593
|
* Outbound service.
|
|
33072
33594
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
33073
|
-
* @version
|
|
33595
|
+
* @version 131.1.0
|
|
33074
33596
|
*/
|
|
33075
33597
|
|
|
33076
33598
|
/**
|
|
@@ -36096,7 +36618,7 @@ class PresenceApi {
|
|
|
36096
36618
|
/**
|
|
36097
36619
|
* Presence service.
|
|
36098
36620
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
36099
|
-
* @version
|
|
36621
|
+
* @version 131.1.0
|
|
36100
36622
|
*/
|
|
36101
36623
|
|
|
36102
36624
|
/**
|
|
@@ -36468,7 +36990,7 @@ class QualityApi {
|
|
|
36468
36990
|
/**
|
|
36469
36991
|
* Quality service.
|
|
36470
36992
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
36471
|
-
* @version
|
|
36993
|
+
* @version 131.1.0
|
|
36472
36994
|
*/
|
|
36473
36995
|
|
|
36474
36996
|
/**
|
|
@@ -37087,6 +37609,31 @@ class QualityApi {
|
|
|
37087
37609
|
);
|
|
37088
37610
|
}
|
|
37089
37611
|
|
|
37612
|
+
/**
|
|
37613
|
+
* Retrieve a list of the latest published evaluation form versions by context ids
|
|
37614
|
+
*
|
|
37615
|
+
* @param {Array.<String>} contextId A comma-delimited list of valid evaluation form context ids
|
|
37616
|
+
*/
|
|
37617
|
+
getQualityFormsEvaluationsBulkContexts(contextId) {
|
|
37618
|
+
// verify the required parameter 'contextId' is set
|
|
37619
|
+
if (contextId === undefined || contextId === null) {
|
|
37620
|
+
throw 'Missing the required parameter "contextId" when calling getQualityFormsEvaluationsBulkContexts';
|
|
37621
|
+
}
|
|
37622
|
+
|
|
37623
|
+
return this.apiClient.callApi(
|
|
37624
|
+
'/api/v2/quality/forms/evaluations/bulk/contexts',
|
|
37625
|
+
'GET',
|
|
37626
|
+
{ },
|
|
37627
|
+
{ 'contextId': this.apiClient.buildCollectionParam(contextId, 'multi') },
|
|
37628
|
+
{ },
|
|
37629
|
+
{ },
|
|
37630
|
+
null,
|
|
37631
|
+
['PureCloud OAuth'],
|
|
37632
|
+
['application/json'],
|
|
37633
|
+
['application/json']
|
|
37634
|
+
);
|
|
37635
|
+
}
|
|
37636
|
+
|
|
37090
37637
|
/**
|
|
37091
37638
|
* Get a survey form
|
|
37092
37639
|
*
|
|
@@ -37601,6 +38148,31 @@ class QualityApi {
|
|
|
37601
38148
|
);
|
|
37602
38149
|
}
|
|
37603
38150
|
|
|
38151
|
+
/**
|
|
38152
|
+
* Query for evaluation aggregates for the current user
|
|
38153
|
+
*
|
|
38154
|
+
* @param {Object} body query
|
|
38155
|
+
*/
|
|
38156
|
+
postQualityEvaluationsAggregatesQueryMe(body) {
|
|
38157
|
+
// verify the required parameter 'body' is set
|
|
38158
|
+
if (body === undefined || body === null) {
|
|
38159
|
+
throw 'Missing the required parameter "body" when calling postQualityEvaluationsAggregatesQueryMe';
|
|
38160
|
+
}
|
|
38161
|
+
|
|
38162
|
+
return this.apiClient.callApi(
|
|
38163
|
+
'/api/v2/quality/evaluations/aggregates/query/me',
|
|
38164
|
+
'POST',
|
|
38165
|
+
{ },
|
|
38166
|
+
{ },
|
|
38167
|
+
{ },
|
|
38168
|
+
{ },
|
|
38169
|
+
body,
|
|
38170
|
+
['PureCloud OAuth'],
|
|
38171
|
+
['application/json'],
|
|
38172
|
+
['application/json']
|
|
38173
|
+
);
|
|
38174
|
+
}
|
|
38175
|
+
|
|
37604
38176
|
/**
|
|
37605
38177
|
* Score evaluation
|
|
37606
38178
|
*
|
|
@@ -37996,7 +38568,7 @@ class RecordingApi {
|
|
|
37996
38568
|
/**
|
|
37997
38569
|
* Recording service.
|
|
37998
38570
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
37999
|
-
* @version
|
|
38571
|
+
* @version 131.1.0
|
|
38000
38572
|
*/
|
|
38001
38573
|
|
|
38002
38574
|
/**
|
|
@@ -38202,11 +38774,11 @@ class RecordingApi {
|
|
|
38202
38774
|
* @param {String} conversationId Conversation ID
|
|
38203
38775
|
* @param {String} recordingId Recording ID
|
|
38204
38776
|
* @param {Object} opts Optional parameters
|
|
38205
|
-
* @param {Object} opts.formatId The desired media format. (default to WEBM)
|
|
38206
|
-
* @param {Object} opts.emailFormatId The desired media format when downloading an email recording. (default to EML)
|
|
38207
|
-
* @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. (default to ZIP)
|
|
38208
|
-
* @param {Object} opts.messageFormatId The desired media format when downloading a message recording. (default to ZIP)
|
|
38209
|
-
* @param {Boolean} opts.download requesting a download format of the recording (default to false)
|
|
38777
|
+
* @param {Object} opts.formatId The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE (default to WEBM)
|
|
38778
|
+
* @param {Object} opts.emailFormatId The desired media format when downloading an email recording. Valid values:EML,NONE (default to EML)
|
|
38779
|
+
* @param {Object} opts.chatFormatId The desired media format when downloading a chat recording. Valid values:ZIP,NONE (default to ZIP)
|
|
38780
|
+
* @param {Object} opts.messageFormatId The desired media format when downloading a message recording. Valid values:ZIP,NONE (default to ZIP)
|
|
38781
|
+
* @param {Boolean} opts.download requesting a download format of the recording. Valid values:true,false (default to false)
|
|
38210
38782
|
* @param {String} opts.fileName the name of the downloaded fileName
|
|
38211
38783
|
* @param {String} opts.locale The locale for the requested file when downloading, as an ISO 639-1 code
|
|
38212
38784
|
*/
|
|
@@ -38302,7 +38874,7 @@ class RecordingApi {
|
|
|
38302
38874
|
}
|
|
38303
38875
|
|
|
38304
38876
|
/**
|
|
38305
|
-
* Get recording metadata for a conversation. Does not return playable media.
|
|
38877
|
+
* Get recording metadata for a conversation. Does not return playable media. Annotations won't be included in the response if recording:recording:view permission is missing.
|
|
38306
38878
|
*
|
|
38307
38879
|
* @param {String} conversationId Conversation ID
|
|
38308
38880
|
*/
|
|
@@ -38362,7 +38934,7 @@ class RecordingApi {
|
|
|
38362
38934
|
* @param {String} conversationId Conversation ID
|
|
38363
38935
|
* @param {Object} opts Optional parameters
|
|
38364
38936
|
* @param {Number} opts.maxWaitMs The maximum number of milliseconds to wait for the recording to be ready. Must be a positive value. (default to 5000)
|
|
38365
|
-
* @param {Object} opts.formatId The desired media format (default to WEBM)
|
|
38937
|
+
* @param {Object} opts.formatId The desired media format . Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE. (default to WEBM)
|
|
38366
38938
|
*/
|
|
38367
38939
|
getConversationRecordings(conversationId, opts) {
|
|
38368
38940
|
opts = opts || {};
|
|
@@ -39519,7 +40091,7 @@ class ResponseManagementApi {
|
|
|
39519
40091
|
/**
|
|
39520
40092
|
* ResponseManagement service.
|
|
39521
40093
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
39522
|
-
* @version
|
|
40094
|
+
* @version 131.1.0
|
|
39523
40095
|
*/
|
|
39524
40096
|
|
|
39525
40097
|
/**
|
|
@@ -39844,7 +40416,7 @@ class RoutingApi {
|
|
|
39844
40416
|
/**
|
|
39845
40417
|
* Routing service.
|
|
39846
40418
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
39847
|
-
* @version
|
|
40419
|
+
* @version 131.1.0
|
|
39848
40420
|
*/
|
|
39849
40421
|
|
|
39850
40422
|
/**
|
|
@@ -41282,10 +41854,14 @@ class RoutingApi {
|
|
|
41282
41854
|
*
|
|
41283
41855
|
* @param {Object} opts Optional parameters
|
|
41284
41856
|
* @param {String} opts.phoneNumber Filter on phone number address. Allowable characters are the digits '0-9' and the wild card character '\\*'. If just digits are present, a contains search is done on the address pattern. For example, '317' could be matched anywhere in the address. An '\\*' will match multiple digits. For example, to match a specific area code within the US a pattern like '1317*' could be used.
|
|
41285
|
-
* @param {
|
|
41286
|
-
* @param {
|
|
41857
|
+
* @param {Array.<String>} opts.phoneNumberType Filter on phone number type
|
|
41858
|
+
* @param {Array.<String>} opts.phoneNumberStatus Filter on phone number status
|
|
41859
|
+
* @param {Array.<String>} opts.countryCode Filter on country code
|
|
41287
41860
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
41288
41861
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
41862
|
+
* @param {Object} opts.sortBy Optional field to sort results
|
|
41863
|
+
* @param {Object} opts.sortOrder Sort order
|
|
41864
|
+
* @param {String} opts.language A language tag (which is sometimes referred to as a \"locale identifier\") to use to localize country field and sort operations (default to en-US)
|
|
41289
41865
|
*/
|
|
41290
41866
|
getRoutingSmsPhonenumbers(opts) {
|
|
41291
41867
|
opts = opts || {};
|
|
@@ -41295,7 +41871,7 @@ class RoutingApi {
|
|
|
41295
41871
|
'/api/v2/routing/sms/phonenumbers',
|
|
41296
41872
|
'GET',
|
|
41297
41873
|
{ },
|
|
41298
|
-
{ 'phoneNumber': opts['phoneNumber'],'phoneNumberType': opts['phoneNumberType'],'phoneNumberStatus': opts['phoneNumberStatus'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
41874
|
+
{ 'phoneNumber': opts['phoneNumber'],'phoneNumberType': this.apiClient.buildCollectionParam(opts['phoneNumberType'], 'multi'),'phoneNumberStatus': this.apiClient.buildCollectionParam(opts['phoneNumberStatus'], 'multi'),'countryCode': this.apiClient.buildCollectionParam(opts['countryCode'], 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'language': opts['language'] },
|
|
41299
41875
|
{ },
|
|
41300
41876
|
{ },
|
|
41301
41877
|
null,
|
|
@@ -42763,7 +43339,7 @@ class SCIMApi {
|
|
|
42763
43339
|
/**
|
|
42764
43340
|
* SCIM service.
|
|
42765
43341
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
42766
|
-
* @version
|
|
43342
|
+
* @version 131.1.0
|
|
42767
43343
|
*/
|
|
42768
43344
|
|
|
42769
43345
|
/**
|
|
@@ -43640,7 +44216,7 @@ class ScriptsApi {
|
|
|
43640
44216
|
/**
|
|
43641
44217
|
* Scripts service.
|
|
43642
44218
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
43643
|
-
* @version
|
|
44219
|
+
* @version 131.1.0
|
|
43644
44220
|
*/
|
|
43645
44221
|
|
|
43646
44222
|
/**
|
|
@@ -43993,7 +44569,7 @@ class SearchApi {
|
|
|
43993
44569
|
/**
|
|
43994
44570
|
* Search service.
|
|
43995
44571
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
43996
|
-
* @version
|
|
44572
|
+
* @version 131.1.0
|
|
43997
44573
|
*/
|
|
43998
44574
|
|
|
43999
44575
|
/**
|
|
@@ -44528,7 +45104,7 @@ class SpeechTextAnalyticsApi {
|
|
|
44528
45104
|
/**
|
|
44529
45105
|
* SpeechTextAnalytics service.
|
|
44530
45106
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
44531
|
-
* @version
|
|
45107
|
+
* @version 131.1.0
|
|
44532
45108
|
*/
|
|
44533
45109
|
|
|
44534
45110
|
/**
|
|
@@ -44697,26 +45273,6 @@ class SpeechTextAnalyticsApi {
|
|
|
44697
45273
|
);
|
|
44698
45274
|
}
|
|
44699
45275
|
|
|
44700
|
-
/**
|
|
44701
|
-
* Get list of supported Speech & Text Analytics dialects
|
|
44702
|
-
* This api has been deprecated. Use api/v2/topics/dialects instead
|
|
44703
|
-
*/
|
|
44704
|
-
getSpeechandtextanalyticsDialects() {
|
|
44705
|
-
|
|
44706
|
-
return this.apiClient.callApi(
|
|
44707
|
-
'/api/v2/speechandtextanalytics/dialects',
|
|
44708
|
-
'GET',
|
|
44709
|
-
{ },
|
|
44710
|
-
{ },
|
|
44711
|
-
{ },
|
|
44712
|
-
{ },
|
|
44713
|
-
null,
|
|
44714
|
-
['PureCloud OAuth'],
|
|
44715
|
-
['application/json'],
|
|
44716
|
-
['application/json']
|
|
44717
|
-
);
|
|
44718
|
-
}
|
|
44719
|
-
|
|
44720
45276
|
/**
|
|
44721
45277
|
* Get a Speech & Text Analytics program by id
|
|
44722
45278
|
*
|
|
@@ -45401,7 +45957,7 @@ class StationsApi {
|
|
|
45401
45957
|
/**
|
|
45402
45958
|
* Stations service.
|
|
45403
45959
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
45404
|
-
* @version
|
|
45960
|
+
* @version 131.1.0
|
|
45405
45961
|
*/
|
|
45406
45962
|
|
|
45407
45963
|
/**
|
|
@@ -45548,7 +46104,7 @@ class SuggestApi {
|
|
|
45548
46104
|
/**
|
|
45549
46105
|
* Suggest service.
|
|
45550
46106
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
45551
|
-
* @version
|
|
46107
|
+
* @version 131.1.0
|
|
45552
46108
|
*/
|
|
45553
46109
|
|
|
45554
46110
|
/**
|
|
@@ -45687,7 +46243,7 @@ class TelephonyApi {
|
|
|
45687
46243
|
/**
|
|
45688
46244
|
* Telephony service.
|
|
45689
46245
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
45690
|
-
* @version
|
|
46246
|
+
* @version 131.1.0
|
|
45691
46247
|
*/
|
|
45692
46248
|
|
|
45693
46249
|
/**
|
|
@@ -45795,7 +46351,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
45795
46351
|
/**
|
|
45796
46352
|
* TelephonyProvidersEdge service.
|
|
45797
46353
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
45798
|
-
* @version
|
|
46354
|
+
* @version 131.1.0
|
|
45799
46355
|
*/
|
|
45800
46356
|
|
|
45801
46357
|
/**
|
|
@@ -47133,6 +47689,26 @@ class TelephonyProvidersEdgeApi {
|
|
|
47133
47689
|
);
|
|
47134
47690
|
}
|
|
47135
47691
|
|
|
47692
|
+
/**
|
|
47693
|
+
* List of edges more than 4 edge versions behind the latest software.
|
|
47694
|
+
*
|
|
47695
|
+
*/
|
|
47696
|
+
getTelephonyProvidersEdgesExpired() {
|
|
47697
|
+
|
|
47698
|
+
return this.apiClient.callApi(
|
|
47699
|
+
'/api/v2/telephony/providers/edges/expired',
|
|
47700
|
+
'GET',
|
|
47701
|
+
{ },
|
|
47702
|
+
{ },
|
|
47703
|
+
{ },
|
|
47704
|
+
{ },
|
|
47705
|
+
null,
|
|
47706
|
+
['PureCloud OAuth'],
|
|
47707
|
+
['application/json'],
|
|
47708
|
+
['application/json']
|
|
47709
|
+
);
|
|
47710
|
+
}
|
|
47711
|
+
|
|
47136
47712
|
/**
|
|
47137
47713
|
* Get an extension by ID.
|
|
47138
47714
|
*
|
|
@@ -47189,7 +47765,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
47189
47765
|
* @param {Object} opts Optional parameters
|
|
47190
47766
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
47191
47767
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
47192
|
-
* @param {String} opts.sortBy Sort by
|
|
47768
|
+
* @param {String} opts.sortBy Sort by
|
|
47193
47769
|
* @param {String} opts._number Number
|
|
47194
47770
|
*/
|
|
47195
47771
|
getTelephonyProvidersEdgesExtensionpools(opts) {
|
|
@@ -49408,7 +49984,7 @@ class TextbotsApi {
|
|
|
49408
49984
|
/**
|
|
49409
49985
|
* Textbots service.
|
|
49410
49986
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
49411
|
-
* @version
|
|
49987
|
+
* @version 131.1.0
|
|
49412
49988
|
*/
|
|
49413
49989
|
|
|
49414
49990
|
/**
|
|
@@ -49536,7 +50112,7 @@ class TokensApi {
|
|
|
49536
50112
|
/**
|
|
49537
50113
|
* Tokens service.
|
|
49538
50114
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
49539
|
-
* @version
|
|
50115
|
+
* @version 131.1.0
|
|
49540
50116
|
*/
|
|
49541
50117
|
|
|
49542
50118
|
/**
|
|
@@ -49642,7 +50218,7 @@ class UploadsApi {
|
|
|
49642
50218
|
/**
|
|
49643
50219
|
* Uploads service.
|
|
49644
50220
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
49645
|
-
* @version
|
|
50221
|
+
* @version 131.1.0
|
|
49646
50222
|
*/
|
|
49647
50223
|
|
|
49648
50224
|
/**
|
|
@@ -49818,7 +50394,7 @@ class UsageApi {
|
|
|
49818
50394
|
/**
|
|
49819
50395
|
* Usage service.
|
|
49820
50396
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
49821
|
-
* @version
|
|
50397
|
+
* @version 131.1.0
|
|
49822
50398
|
*/
|
|
49823
50399
|
|
|
49824
50400
|
/**
|
|
@@ -49889,7 +50465,7 @@ class UserRecordingsApi {
|
|
|
49889
50465
|
/**
|
|
49890
50466
|
* UserRecordings service.
|
|
49891
50467
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
49892
|
-
* @version
|
|
50468
|
+
* @version 131.1.0
|
|
49893
50469
|
*/
|
|
49894
50470
|
|
|
49895
50471
|
/**
|
|
@@ -50073,7 +50649,7 @@ class UsersApi {
|
|
|
50073
50649
|
/**
|
|
50074
50650
|
* Users service.
|
|
50075
50651
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
50076
|
-
* @version
|
|
50652
|
+
* @version 131.1.0
|
|
50077
50653
|
*/
|
|
50078
50654
|
|
|
50079
50655
|
/**
|
|
@@ -52375,7 +52951,7 @@ class UtilitiesApi {
|
|
|
52375
52951
|
/**
|
|
52376
52952
|
* Utilities service.
|
|
52377
52953
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
52378
|
-
* @version
|
|
52954
|
+
* @version 131.1.0
|
|
52379
52955
|
*/
|
|
52380
52956
|
|
|
52381
52957
|
/**
|
|
@@ -52411,7 +52987,7 @@ class UtilitiesApi {
|
|
|
52411
52987
|
}
|
|
52412
52988
|
|
|
52413
52989
|
/**
|
|
52414
|
-
* Get public ip address ranges for
|
|
52990
|
+
* Get public ip address ranges for Genesys Cloud
|
|
52415
52991
|
*
|
|
52416
52992
|
*/
|
|
52417
52993
|
getIpranges() {
|
|
@@ -52486,7 +53062,7 @@ class VoicemailApi {
|
|
|
52486
53062
|
/**
|
|
52487
53063
|
* Voicemail service.
|
|
52488
53064
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
52489
|
-
* @version
|
|
53065
|
+
* @version 131.1.0
|
|
52490
53066
|
*/
|
|
52491
53067
|
|
|
52492
53068
|
/**
|
|
@@ -53153,7 +53729,7 @@ class WebChatApi {
|
|
|
53153
53729
|
/**
|
|
53154
53730
|
* WebChat service.
|
|
53155
53731
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
53156
|
-
* @version
|
|
53732
|
+
* @version 131.1.0
|
|
53157
53733
|
*/
|
|
53158
53734
|
|
|
53159
53735
|
/**
|
|
@@ -53697,7 +54273,7 @@ class WebDeploymentsApi {
|
|
|
53697
54273
|
/**
|
|
53698
54274
|
* WebDeployments service.
|
|
53699
54275
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
53700
|
-
* @version
|
|
54276
|
+
* @version 131.1.0
|
|
53701
54277
|
*/
|
|
53702
54278
|
|
|
53703
54279
|
/**
|
|
@@ -54052,7 +54628,7 @@ class WebMessagingApi {
|
|
|
54052
54628
|
/**
|
|
54053
54629
|
* WebMessaging service.
|
|
54054
54630
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
54055
|
-
* @version
|
|
54631
|
+
* @version 131.1.0
|
|
54056
54632
|
*/
|
|
54057
54633
|
|
|
54058
54634
|
/**
|
|
@@ -54098,7 +54674,7 @@ class WidgetsApi {
|
|
|
54098
54674
|
/**
|
|
54099
54675
|
* Widgets service.
|
|
54100
54676
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
54101
|
-
* @version
|
|
54677
|
+
* @version 131.1.0
|
|
54102
54678
|
*/
|
|
54103
54679
|
|
|
54104
54680
|
/**
|
|
@@ -54244,7 +54820,7 @@ class WorkforceManagementApi {
|
|
|
54244
54820
|
/**
|
|
54245
54821
|
* WorkforceManagement service.
|
|
54246
54822
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
54247
|
-
* @version
|
|
54823
|
+
* @version 131.1.0
|
|
54248
54824
|
*/
|
|
54249
54825
|
|
|
54250
54826
|
/**
|
|
@@ -58275,7 +58851,7 @@ class WorkforceManagementApi {
|
|
|
58275
58851
|
* </pre>
|
|
58276
58852
|
* </p>
|
|
58277
58853
|
* @module purecloud-platform-client-v2/index
|
|
58278
|
-
* @version
|
|
58854
|
+
* @version 131.1.0
|
|
58279
58855
|
*/
|
|
58280
58856
|
class platformClient {
|
|
58281
58857
|
constructor() {
|
|
@@ -58429,6 +59005,11 @@ class platformClient {
|
|
|
58429
59005
|
* @property {module:purecloud-platform-client-v2/api/LocationsApi}
|
|
58430
59006
|
*/
|
|
58431
59007
|
this.LocationsApi = LocationsApi;
|
|
59008
|
+
/**
|
|
59009
|
+
* The MessagingApi service constructor.
|
|
59010
|
+
* @property {module:purecloud-platform-client-v2/api/MessagingApi}
|
|
59011
|
+
*/
|
|
59012
|
+
this.MessagingApi = MessagingApi;
|
|
58432
59013
|
/**
|
|
58433
59014
|
* The MobileDevicesApi service constructor.
|
|
58434
59015
|
* @property {module:purecloud-platform-client-v2/api/MobileDevicesApi}
|