purecloud-platform-client-v2 163.0.0 → 165.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 +206 -169
- package/dist/web-amd/purecloud-platform-client-v2.js +206 -169
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +206 -169
- package/dist/web-cjs/purecloud-platform-client-v2.js +206 -169
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +84 -66
- 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 +2 -2
- 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 +41 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.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 +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/InfrastructureAsCodeApi.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 +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -2
- 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 -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 +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +2 -97
- 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 +90 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +5 -3
- 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 +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -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 165.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1948,6 +1948,7 @@ class RoutingApi {
|
|
|
1948
1948
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1949
1949
|
* @param {Object} opts.sortBy Sort by (default to name)
|
|
1950
1950
|
* @param {Object} opts.sortOrder Sort order (default to ascending)
|
|
1951
|
+
* @param {Array.<String>} opts.id Filter by wrapup code ID(s)
|
|
1951
1952
|
* @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
|
|
1952
1953
|
* @param {Array.<String>} opts.divisionId Filter by division ID(s)
|
|
1953
1954
|
*/
|
|
@@ -1959,7 +1960,7 @@ class RoutingApi {
|
|
|
1959
1960
|
'/api/v2/routing/wrapupcodes',
|
|
1960
1961
|
'GET',
|
|
1961
1962
|
{ },
|
|
1962
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
1963
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
1963
1964
|
{ },
|
|
1964
1965
|
{ },
|
|
1965
1966
|
null,
|
|
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* TelephonyProvidersEdge service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 165.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -658,66 +658,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
658
658
|
);
|
|
659
659
|
}
|
|
660
660
|
|
|
661
|
-
/**
|
|
662
|
-
* Get line
|
|
663
|
-
*
|
|
664
|
-
* @param {String} edgeId Edge ID
|
|
665
|
-
* @param {String} lineId Line ID
|
|
666
|
-
*/
|
|
667
|
-
getTelephonyProvidersEdgeLine(edgeId, lineId) {
|
|
668
|
-
// verify the required parameter 'edgeId' is set
|
|
669
|
-
if (edgeId === undefined || edgeId === null) {
|
|
670
|
-
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeLine';
|
|
671
|
-
}
|
|
672
|
-
// verify the required parameter 'lineId' is set
|
|
673
|
-
if (lineId === undefined || lineId === null) {
|
|
674
|
-
throw 'Missing the required parameter "lineId" when calling getTelephonyProvidersEdgeLine';
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
return this.apiClient.callApi(
|
|
678
|
-
'/api/v2/telephony/providers/edges/{edgeId}/lines/{lineId}',
|
|
679
|
-
'GET',
|
|
680
|
-
{ 'edgeId': edgeId,'lineId': lineId },
|
|
681
|
-
{ },
|
|
682
|
-
{ },
|
|
683
|
-
{ },
|
|
684
|
-
null,
|
|
685
|
-
['PureCloud OAuth'],
|
|
686
|
-
['application/json'],
|
|
687
|
-
['application/json']
|
|
688
|
-
);
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
/**
|
|
692
|
-
* Get the list of lines.
|
|
693
|
-
*
|
|
694
|
-
* @param {String} edgeId Edge ID
|
|
695
|
-
* @param {Object} opts Optional parameters
|
|
696
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
697
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
698
|
-
*/
|
|
699
|
-
getTelephonyProvidersEdgeLines(edgeId, opts) {
|
|
700
|
-
opts = opts || {};
|
|
701
|
-
|
|
702
|
-
// verify the required parameter 'edgeId' is set
|
|
703
|
-
if (edgeId === undefined || edgeId === null) {
|
|
704
|
-
throw 'Missing the required parameter "edgeId" when calling getTelephonyProvidersEdgeLines';
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
return this.apiClient.callApi(
|
|
708
|
-
'/api/v2/telephony/providers/edges/{edgeId}/lines',
|
|
709
|
-
'GET',
|
|
710
|
-
{ 'edgeId': edgeId },
|
|
711
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
712
|
-
{ },
|
|
713
|
-
{ },
|
|
714
|
-
null,
|
|
715
|
-
['PureCloud OAuth'],
|
|
716
|
-
['application/json'],
|
|
717
|
-
['application/json']
|
|
718
|
-
);
|
|
719
|
-
}
|
|
720
|
-
|
|
721
661
|
/**
|
|
722
662
|
* Get an edge logical interface
|
|
723
663
|
*
|
|
@@ -1555,7 +1495,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1555
1495
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1556
1496
|
* @param {String} opts.name Name
|
|
1557
1497
|
* @param {String} opts.sortBy Value by which to sort (default to name)
|
|
1558
|
-
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
|
|
1498
|
+
* @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated. The edgeGroup value is deprecated.
|
|
1559
1499
|
*/
|
|
1560
1500
|
getTelephonyProvidersEdgesLines(opts) {
|
|
1561
1501
|
opts = opts || {};
|
|
@@ -3108,41 +3048,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
3108
3048
|
);
|
|
3109
3049
|
}
|
|
3110
3050
|
|
|
3111
|
-
/**
|
|
3112
|
-
* Update a line.
|
|
3113
|
-
*
|
|
3114
|
-
* @param {String} edgeId Edge ID
|
|
3115
|
-
* @param {String} lineId Line ID
|
|
3116
|
-
* @param {Object} body Line
|
|
3117
|
-
*/
|
|
3118
|
-
putTelephonyProvidersEdgeLine(edgeId, lineId, body) {
|
|
3119
|
-
// verify the required parameter 'edgeId' is set
|
|
3120
|
-
if (edgeId === undefined || edgeId === null) {
|
|
3121
|
-
throw 'Missing the required parameter "edgeId" when calling putTelephonyProvidersEdgeLine';
|
|
3122
|
-
}
|
|
3123
|
-
// verify the required parameter 'lineId' is set
|
|
3124
|
-
if (lineId === undefined || lineId === null) {
|
|
3125
|
-
throw 'Missing the required parameter "lineId" when calling putTelephonyProvidersEdgeLine';
|
|
3126
|
-
}
|
|
3127
|
-
// verify the required parameter 'body' is set
|
|
3128
|
-
if (body === undefined || body === null) {
|
|
3129
|
-
throw 'Missing the required parameter "body" when calling putTelephonyProvidersEdgeLine';
|
|
3130
|
-
}
|
|
3131
|
-
|
|
3132
|
-
return this.apiClient.callApi(
|
|
3133
|
-
'/api/v2/telephony/providers/edges/{edgeId}/lines/{lineId}',
|
|
3134
|
-
'PUT',
|
|
3135
|
-
{ 'edgeId': edgeId,'lineId': lineId },
|
|
3136
|
-
{ },
|
|
3137
|
-
{ },
|
|
3138
|
-
{ },
|
|
3139
|
-
body,
|
|
3140
|
-
['PureCloud OAuth'],
|
|
3141
|
-
['application/json'],
|
|
3142
|
-
['application/json']
|
|
3143
|
-
);
|
|
3144
|
-
}
|
|
3145
|
-
|
|
3146
3051
|
/**
|
|
3147
3052
|
* Update an edge logical interface.
|
|
3148
3053
|
*
|