purecloud-platform-client-v2 206.0.0 → 208.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 +100 -3
- package/dist/node/purecloud-platform-client-v2.js +979 -173
- package/dist/web-amd/purecloud-platform-client-v2.js +979 -173
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +341 -176
- package/dist/web-cjs/purecloud-platform-client-v2.js +358 -179
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +1646 -606
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +40 -18
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +7 -6
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +2 -2
- 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/CarrierServicesApi.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 +2 -3
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +3 -2
- 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/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +234 -8
- 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 +31 -11
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +136 -4
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +5 -21
- 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/LogCaptureApi.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/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +48 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +101 -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 +12 -12
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +55 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +4 -4
- 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/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +7 -3
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +55 -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 +38 -12
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +56 -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/configuration.js +81 -0
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class OutboundApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Outbound service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 208.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -2982,6 +2982,56 @@ class OutboundApi {
|
|
|
2982
2982
|
);
|
|
2983
2983
|
}
|
|
2984
2984
|
|
|
2985
|
+
/**
|
|
2986
|
+
* Start the campaign
|
|
2987
|
+
*
|
|
2988
|
+
* @param {String} campaignId Campaign ID
|
|
2989
|
+
*/
|
|
2990
|
+
postOutboundCampaignStart(campaignId) {
|
|
2991
|
+
// verify the required parameter 'campaignId' is set
|
|
2992
|
+
if (campaignId === undefined || campaignId === null) {
|
|
2993
|
+
throw 'Missing the required parameter "campaignId" when calling postOutboundCampaignStart';
|
|
2994
|
+
}
|
|
2995
|
+
|
|
2996
|
+
return this.apiClient.callApi(
|
|
2997
|
+
'/api/v2/outbound/campaigns/{campaignId}/start',
|
|
2998
|
+
'POST',
|
|
2999
|
+
{ 'campaignId': campaignId },
|
|
3000
|
+
{ },
|
|
3001
|
+
{ },
|
|
3002
|
+
{ },
|
|
3003
|
+
null,
|
|
3004
|
+
['PureCloud OAuth'],
|
|
3005
|
+
['application/json'],
|
|
3006
|
+
['application/json']
|
|
3007
|
+
);
|
|
3008
|
+
}
|
|
3009
|
+
|
|
3010
|
+
/**
|
|
3011
|
+
* Stop the campaign
|
|
3012
|
+
*
|
|
3013
|
+
* @param {String} campaignId Campaign ID
|
|
3014
|
+
*/
|
|
3015
|
+
postOutboundCampaignStop(campaignId) {
|
|
3016
|
+
// verify the required parameter 'campaignId' is set
|
|
3017
|
+
if (campaignId === undefined || campaignId === null) {
|
|
3018
|
+
throw 'Missing the required parameter "campaignId" when calling postOutboundCampaignStop';
|
|
3019
|
+
}
|
|
3020
|
+
|
|
3021
|
+
return this.apiClient.callApi(
|
|
3022
|
+
'/api/v2/outbound/campaigns/{campaignId}/stop',
|
|
3023
|
+
'POST',
|
|
3024
|
+
{ 'campaignId': campaignId },
|
|
3025
|
+
{ },
|
|
3026
|
+
{ },
|
|
3027
|
+
{ },
|
|
3028
|
+
null,
|
|
3029
|
+
['PureCloud OAuth'],
|
|
3030
|
+
['application/json'],
|
|
3031
|
+
['application/json']
|
|
3032
|
+
);
|
|
3033
|
+
}
|
|
3034
|
+
|
|
2985
3035
|
/**
|
|
2986
3036
|
* Create Campaign Rule
|
|
2987
3037
|
*
|
|
@@ -3681,6 +3731,56 @@ class OutboundApi {
|
|
|
3681
3731
|
);
|
|
3682
3732
|
}
|
|
3683
3733
|
|
|
3734
|
+
/**
|
|
3735
|
+
* Start the campaign
|
|
3736
|
+
* Documented permissions are applicable based on campaign type.
|
|
3737
|
+
* @param {String} messagingCampaignId The Messaging Campaign ID
|
|
3738
|
+
*/
|
|
3739
|
+
postOutboundMessagingcampaignStart(messagingCampaignId) {
|
|
3740
|
+
// verify the required parameter 'messagingCampaignId' is set
|
|
3741
|
+
if (messagingCampaignId === undefined || messagingCampaignId === null) {
|
|
3742
|
+
throw 'Missing the required parameter "messagingCampaignId" when calling postOutboundMessagingcampaignStart';
|
|
3743
|
+
}
|
|
3744
|
+
|
|
3745
|
+
return this.apiClient.callApi(
|
|
3746
|
+
'/api/v2/outbound/messagingcampaigns/{messagingCampaignId}/start',
|
|
3747
|
+
'POST',
|
|
3748
|
+
{ 'messagingCampaignId': messagingCampaignId },
|
|
3749
|
+
{ },
|
|
3750
|
+
{ },
|
|
3751
|
+
{ },
|
|
3752
|
+
null,
|
|
3753
|
+
['PureCloud OAuth'],
|
|
3754
|
+
['application/json'],
|
|
3755
|
+
['application/json']
|
|
3756
|
+
);
|
|
3757
|
+
}
|
|
3758
|
+
|
|
3759
|
+
/**
|
|
3760
|
+
* Stop the campaign
|
|
3761
|
+
* Documented permissions are applicable based on campaign type.
|
|
3762
|
+
* @param {String} messagingCampaignId The Messaging Campaign ID
|
|
3763
|
+
*/
|
|
3764
|
+
postOutboundMessagingcampaignStop(messagingCampaignId) {
|
|
3765
|
+
// verify the required parameter 'messagingCampaignId' is set
|
|
3766
|
+
if (messagingCampaignId === undefined || messagingCampaignId === null) {
|
|
3767
|
+
throw 'Missing the required parameter "messagingCampaignId" when calling postOutboundMessagingcampaignStop';
|
|
3768
|
+
}
|
|
3769
|
+
|
|
3770
|
+
return this.apiClient.callApi(
|
|
3771
|
+
'/api/v2/outbound/messagingcampaigns/{messagingCampaignId}/stop',
|
|
3772
|
+
'POST',
|
|
3773
|
+
{ 'messagingCampaignId': messagingCampaignId },
|
|
3774
|
+
{ },
|
|
3775
|
+
{ },
|
|
3776
|
+
{ },
|
|
3777
|
+
null,
|
|
3778
|
+
['PureCloud OAuth'],
|
|
3779
|
+
['application/json'],
|
|
3780
|
+
['application/json']
|
|
3781
|
+
);
|
|
3782
|
+
}
|
|
3783
|
+
|
|
3684
3784
|
/**
|
|
3685
3785
|
* Create a Messaging Campaign
|
|
3686
3786
|
*
|
|
@@ -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 208.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -590,7 +590,7 @@ class RoutingApi {
|
|
|
590
590
|
}
|
|
591
591
|
|
|
592
592
|
/**
|
|
593
|
-
* Remove routing language from user
|
|
593
|
+
* Remove a routing language from a user
|
|
594
594
|
*
|
|
595
595
|
* @param {String} userId User ID
|
|
596
596
|
* @param {String} languageId languageId
|
|
@@ -620,7 +620,7 @@ class RoutingApi {
|
|
|
620
620
|
}
|
|
621
621
|
|
|
622
622
|
/**
|
|
623
|
-
* Remove routing skill from user
|
|
623
|
+
* Remove a routing skill from a user
|
|
624
624
|
*
|
|
625
625
|
* @param {String} userId User ID
|
|
626
626
|
* @param {String} skillId skillId
|
|
@@ -2399,7 +2399,7 @@ class RoutingApi {
|
|
|
2399
2399
|
}
|
|
2400
2400
|
|
|
2401
2401
|
/**
|
|
2402
|
-
* List routing
|
|
2402
|
+
* List routing languages assigned to a user
|
|
2403
2403
|
*
|
|
2404
2404
|
* @param {String} userId User ID
|
|
2405
2405
|
* @param {Object} opts Optional parameters
|
|
@@ -2430,7 +2430,7 @@ class RoutingApi {
|
|
|
2430
2430
|
}
|
|
2431
2431
|
|
|
2432
2432
|
/**
|
|
2433
|
-
* List routing skills
|
|
2433
|
+
* List routing skills assigned to a user
|
|
2434
2434
|
*
|
|
2435
2435
|
* @param {String} userId User ID
|
|
2436
2436
|
* @param {Object} opts Optional parameters
|
|
@@ -2892,7 +2892,7 @@ class RoutingApi {
|
|
|
2892
2892
|
}
|
|
2893
2893
|
|
|
2894
2894
|
/**
|
|
2895
|
-
* Update routing language proficiency
|
|
2895
|
+
* Update an assigned routing language's proficiency
|
|
2896
2896
|
*
|
|
2897
2897
|
* @param {String} userId User ID
|
|
2898
2898
|
* @param {String} languageId languageId
|
|
@@ -2927,7 +2927,7 @@ class RoutingApi {
|
|
|
2927
2927
|
}
|
|
2928
2928
|
|
|
2929
2929
|
/**
|
|
2930
|
-
*
|
|
2930
|
+
* Assign multiple routing languages to a user. Max 50 routing languages in request body
|
|
2931
2931
|
*
|
|
2932
2932
|
* @param {String} userId User ID
|
|
2933
2933
|
* @param {Array.<Object>} body Language
|
|
@@ -2957,7 +2957,7 @@ class RoutingApi {
|
|
|
2957
2957
|
}
|
|
2958
2958
|
|
|
2959
2959
|
/**
|
|
2960
|
-
*
|
|
2960
|
+
* Assign multiple routing skills to a user
|
|
2961
2961
|
*
|
|
2962
2962
|
* @param {String} userId User ID
|
|
2963
2963
|
* @param {Array.<Object>} body Skill
|
|
@@ -3653,7 +3653,7 @@ class RoutingApi {
|
|
|
3653
3653
|
}
|
|
3654
3654
|
|
|
3655
3655
|
/**
|
|
3656
|
-
*
|
|
3656
|
+
* Assign a routing language to a user
|
|
3657
3657
|
*
|
|
3658
3658
|
* @param {String} userId User ID
|
|
3659
3659
|
* @param {Object} body Language
|
|
@@ -3683,7 +3683,7 @@ class RoutingApi {
|
|
|
3683
3683
|
}
|
|
3684
3684
|
|
|
3685
3685
|
/**
|
|
3686
|
-
*
|
|
3686
|
+
* Assign a routing skill to a user
|
|
3687
3687
|
*
|
|
3688
3688
|
* @param {String} userId User ID
|
|
3689
3689
|
* @param {Object} body Skill
|
|
@@ -4083,7 +4083,7 @@ class RoutingApi {
|
|
|
4083
4083
|
}
|
|
4084
4084
|
|
|
4085
4085
|
/**
|
|
4086
|
-
* Update routing skill proficiency
|
|
4086
|
+
* Update an assigned routing skill's proficiency
|
|
4087
4087
|
*
|
|
4088
4088
|
* @param {String} userId User ID
|
|
4089
4089
|
* @param {String} skillId skillId
|
|
@@ -4118,7 +4118,7 @@ class RoutingApi {
|
|
|
4118
4118
|
}
|
|
4119
4119
|
|
|
4120
4120
|
/**
|
|
4121
|
-
*
|
|
4121
|
+
* Assign multiple routing skills to a user, replacing any current assignments
|
|
4122
4122
|
*
|
|
4123
4123
|
* @param {String} userId User ID
|
|
4124
4124
|
* @param {Array.<Object>} body Skill
|
|
@@ -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 208.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -188,6 +188,35 @@ class SearchApi {
|
|
|
188
188
|
);
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
+
/**
|
|
192
|
+
* Search sites using the q64 value returned from a previous search
|
|
193
|
+
*
|
|
194
|
+
* @param {String} q64 q64
|
|
195
|
+
* @param {Object} opts Optional parameters
|
|
196
|
+
* @param {Array.<String>} opts.expand expand
|
|
197
|
+
*/
|
|
198
|
+
getTelephonyProvidersEdgesSitesSearch(q64, opts) {
|
|
199
|
+
opts = opts || {};
|
|
200
|
+
|
|
201
|
+
// verify the required parameter 'q64' is set
|
|
202
|
+
if (q64 === undefined || q64 === null) {
|
|
203
|
+
throw 'Missing the required parameter "q64" when calling getTelephonyProvidersEdgesSitesSearch';
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
return this.apiClient.callApi(
|
|
207
|
+
'/api/v2/telephony/providers/edges/sites/search',
|
|
208
|
+
'GET',
|
|
209
|
+
{ },
|
|
210
|
+
{ 'q64': q64,'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
211
|
+
{ },
|
|
212
|
+
{ },
|
|
213
|
+
null,
|
|
214
|
+
['PureCloud OAuth'],
|
|
215
|
+
['application/json'],
|
|
216
|
+
['application/json']
|
|
217
|
+
);
|
|
218
|
+
}
|
|
219
|
+
|
|
191
220
|
/**
|
|
192
221
|
* Search users using the q64 value returned from a previous search
|
|
193
222
|
*
|
|
@@ -561,6 +590,31 @@ class SearchApi {
|
|
|
561
590
|
);
|
|
562
591
|
}
|
|
563
592
|
|
|
593
|
+
/**
|
|
594
|
+
* Search sites
|
|
595
|
+
*
|
|
596
|
+
* @param {Object} body Search request options
|
|
597
|
+
*/
|
|
598
|
+
postTelephonyProvidersEdgesSitesSearch(body) {
|
|
599
|
+
// verify the required parameter 'body' is set
|
|
600
|
+
if (body === undefined || body === null) {
|
|
601
|
+
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSitesSearch';
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
return this.apiClient.callApi(
|
|
605
|
+
'/api/v2/telephony/providers/edges/sites/search',
|
|
606
|
+
'POST',
|
|
607
|
+
{ },
|
|
608
|
+
{ },
|
|
609
|
+
{ },
|
|
610
|
+
{ },
|
|
611
|
+
body,
|
|
612
|
+
['PureCloud OAuth'],
|
|
613
|
+
['application/json'],
|
|
614
|
+
['application/json']
|
|
615
|
+
);
|
|
616
|
+
}
|
|
617
|
+
|
|
564
618
|
/**
|
|
565
619
|
* Search users
|
|
566
620
|
*
|
|
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* SpeechTextAnalytics service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 208.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -824,13 +824,13 @@ class SpeechTextAnalyticsApi {
|
|
|
824
824
|
}
|
|
825
825
|
|
|
826
826
|
/**
|
|
827
|
-
* Translate
|
|
827
|
+
* Translate a single interaction recording (or an email conversation)
|
|
828
828
|
*
|
|
829
829
|
* @param {String} languageId Target translation language
|
|
830
830
|
* @param {String} conversationId Conversation id
|
|
831
831
|
* @param {Object} opts Optional parameters
|
|
832
|
-
* @param {String} opts.communicationId Communication id associated with the conversation
|
|
833
|
-
* @param {String} opts.recordingId Recording id associated with the communication
|
|
832
|
+
* @param {String} opts.communicationId Communication id associated with the conversation. Please provide a valid communicationId when requesting non-email interactions.
|
|
833
|
+
* @param {String} opts.recordingId Recording id associated with the communication. Please provide a valid recordingId when requesting voice interactions.
|
|
834
834
|
* getSpeechandtextanalyticsTranslationsLanguageConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
835
835
|
*/
|
|
836
836
|
getSpeechandtextanalyticsTranslationsLanguageConversation(languageId, conversationId, opts) {
|
|
@@ -5,7 +5,7 @@ class TeamsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Teams service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 208.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -79,8 +79,12 @@ class TeamsApi {
|
|
|
79
79
|
* Get team
|
|
80
80
|
*
|
|
81
81
|
* @param {String} teamId Team ID
|
|
82
|
+
* @param {Object} opts Optional parameters
|
|
83
|
+
* @param {Object} opts.expand Expand the division name
|
|
82
84
|
*/
|
|
83
|
-
getTeam(teamId) {
|
|
85
|
+
getTeam(teamId, opts) {
|
|
86
|
+
opts = opts || {};
|
|
87
|
+
|
|
84
88
|
// verify the required parameter 'teamId' is set
|
|
85
89
|
if (teamId === undefined || teamId === null) {
|
|
86
90
|
throw 'Missing the required parameter "teamId" when calling getTeam';
|
|
@@ -90,7 +94,7 @@ class TeamsApi {
|
|
|
90
94
|
'/api/v2/teams/{teamId}',
|
|
91
95
|
'GET',
|
|
92
96
|
{ 'teamId': teamId },
|
|
93
|
-
{
|
|
97
|
+
{ 'expand': opts['expand'] },
|
|
94
98
|
{ },
|
|
95
99
|
{ },
|
|
96
100
|
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 208.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1982,6 +1982,35 @@ class TelephonyProvidersEdgeApi {
|
|
|
1982
1982
|
);
|
|
1983
1983
|
}
|
|
1984
1984
|
|
|
1985
|
+
/**
|
|
1986
|
+
* Search sites using the q64 value returned from a previous search
|
|
1987
|
+
*
|
|
1988
|
+
* @param {String} q64 q64
|
|
1989
|
+
* @param {Object} opts Optional parameters
|
|
1990
|
+
* @param {Array.<String>} opts.expand expand
|
|
1991
|
+
*/
|
|
1992
|
+
getTelephonyProvidersEdgesSitesSearch(q64, opts) {
|
|
1993
|
+
opts = opts || {};
|
|
1994
|
+
|
|
1995
|
+
// verify the required parameter 'q64' is set
|
|
1996
|
+
if (q64 === undefined || q64 === null) {
|
|
1997
|
+
throw 'Missing the required parameter "q64" when calling getTelephonyProvidersEdgesSitesSearch';
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
return this.apiClient.callApi(
|
|
2001
|
+
'/api/v2/telephony/providers/edges/sites/search',
|
|
2002
|
+
'GET',
|
|
2003
|
+
{ },
|
|
2004
|
+
{ 'q64': q64,'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
2005
|
+
{ },
|
|
2006
|
+
{ },
|
|
2007
|
+
null,
|
|
2008
|
+
['PureCloud OAuth'],
|
|
2009
|
+
['application/json'],
|
|
2010
|
+
['application/json']
|
|
2011
|
+
);
|
|
2012
|
+
}
|
|
2013
|
+
|
|
1985
2014
|
/**
|
|
1986
2015
|
* Get a list of Edge-compatible time zones
|
|
1987
2016
|
*
|
|
@@ -2911,6 +2940,31 @@ class TelephonyProvidersEdgeApi {
|
|
|
2911
2940
|
);
|
|
2912
2941
|
}
|
|
2913
2942
|
|
|
2943
|
+
/**
|
|
2944
|
+
* Search sites
|
|
2945
|
+
*
|
|
2946
|
+
* @param {Object} body Search request options
|
|
2947
|
+
*/
|
|
2948
|
+
postTelephonyProvidersEdgesSitesSearch(body) {
|
|
2949
|
+
// verify the required parameter 'body' is set
|
|
2950
|
+
if (body === undefined || body === null) {
|
|
2951
|
+
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesSitesSearch';
|
|
2952
|
+
}
|
|
2953
|
+
|
|
2954
|
+
return this.apiClient.callApi(
|
|
2955
|
+
'/api/v2/telephony/providers/edges/sites/search',
|
|
2956
|
+
'POST',
|
|
2957
|
+
{ },
|
|
2958
|
+
{ },
|
|
2959
|
+
{ },
|
|
2960
|
+
{ },
|
|
2961
|
+
body,
|
|
2962
|
+
['PureCloud OAuth'],
|
|
2963
|
+
['application/json'],
|
|
2964
|
+
['application/json']
|
|
2965
|
+
);
|
|
2966
|
+
}
|
|
2967
|
+
|
|
2914
2968
|
/**
|
|
2915
2969
|
* Create a Trunk Base Settings object
|
|
2916
2970
|
*
|