purecloud-platform-client-v2 177.0.0 → 178.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 +203 -73
- package/dist/web-amd/purecloud-platform-client-v2.js +203 -73
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +203 -73
- package/dist/web-cjs/purecloud-platform-client-v2.js +203 -73
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +292 -224
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -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/EmailsApi.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 +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +131 -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/TaskManagementApi.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 +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -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 178.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -20,6 +20,31 @@ class SpeechTextAnalyticsApi {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Delete a Speech and Text Analytics DictionaryFeedback by Id
|
|
25
|
+
*
|
|
26
|
+
* @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
|
|
27
|
+
*/
|
|
28
|
+
deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(dictionaryFeedbackId) {
|
|
29
|
+
// verify the required parameter 'dictionaryFeedbackId' is set
|
|
30
|
+
if (dictionaryFeedbackId === undefined || dictionaryFeedbackId === null) {
|
|
31
|
+
throw 'Missing the required parameter "dictionaryFeedbackId" when calling deleteSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId';
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
return this.apiClient.callApi(
|
|
35
|
+
'/api/v2/speechandtextanalytics/dictionaryfeedback/{dictionaryFeedbackId}',
|
|
36
|
+
'DELETE',
|
|
37
|
+
{ 'dictionaryFeedbackId': dictionaryFeedbackId },
|
|
38
|
+
{ },
|
|
39
|
+
{ },
|
|
40
|
+
{ },
|
|
41
|
+
null,
|
|
42
|
+
['PureCloud OAuth'],
|
|
43
|
+
['application/json'],
|
|
44
|
+
['application/json']
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
23
48
|
/**
|
|
24
49
|
* Delete a Speech and Text Analytics program by id
|
|
25
50
|
*
|
|
@@ -204,6 +229,57 @@ class SpeechTextAnalyticsApi {
|
|
|
204
229
|
);
|
|
205
230
|
}
|
|
206
231
|
|
|
232
|
+
/**
|
|
233
|
+
* Get the list of Speech and Text Analytics dictionary feedbacks
|
|
234
|
+
*
|
|
235
|
+
* @param {Object} opts Optional parameters
|
|
236
|
+
* @param {String} opts.dialect The key for filter the listing by dialect, dialect format is {language}-{country} where language follows ISO 639-1 standard and country follows ISO 3166-1 alpha 2 standard
|
|
237
|
+
* @param {String} opts.nextPage The key for listing the next page
|
|
238
|
+
* @param {Number} opts.pageSize The page size for the listing (default to 500)
|
|
239
|
+
*/
|
|
240
|
+
getSpeechandtextanalyticsDictionaryfeedback(opts) {
|
|
241
|
+
opts = opts || {};
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
return this.apiClient.callApi(
|
|
245
|
+
'/api/v2/speechandtextanalytics/dictionaryfeedback',
|
|
246
|
+
'GET',
|
|
247
|
+
{ },
|
|
248
|
+
{ 'dialect': opts['dialect'],'nextPage': opts['nextPage'],'pageSize': opts['pageSize'] },
|
|
249
|
+
{ },
|
|
250
|
+
{ },
|
|
251
|
+
null,
|
|
252
|
+
['PureCloud OAuth'],
|
|
253
|
+
['application/json'],
|
|
254
|
+
['application/json']
|
|
255
|
+
);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Get a Speech and Text Analytics dictionary feedback by id
|
|
260
|
+
*
|
|
261
|
+
* @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
|
|
262
|
+
*/
|
|
263
|
+
getSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(dictionaryFeedbackId) {
|
|
264
|
+
// verify the required parameter 'dictionaryFeedbackId' is set
|
|
265
|
+
if (dictionaryFeedbackId === undefined || dictionaryFeedbackId === null) {
|
|
266
|
+
throw 'Missing the required parameter "dictionaryFeedbackId" when calling getSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId';
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
return this.apiClient.callApi(
|
|
270
|
+
'/api/v2/speechandtextanalytics/dictionaryfeedback/{dictionaryFeedbackId}',
|
|
271
|
+
'GET',
|
|
272
|
+
{ 'dictionaryFeedbackId': dictionaryFeedbackId },
|
|
273
|
+
{ },
|
|
274
|
+
{ },
|
|
275
|
+
{ },
|
|
276
|
+
null,
|
|
277
|
+
['PureCloud OAuth'],
|
|
278
|
+
['application/json'],
|
|
279
|
+
['application/json']
|
|
280
|
+
);
|
|
281
|
+
}
|
|
282
|
+
|
|
207
283
|
/**
|
|
208
284
|
* Get a Speech and Text Analytics program by id
|
|
209
285
|
*
|
|
@@ -662,6 +738,31 @@ class SpeechTextAnalyticsApi {
|
|
|
662
738
|
);
|
|
663
739
|
}
|
|
664
740
|
|
|
741
|
+
/**
|
|
742
|
+
* Create a Speech and Text Analytics DictionaryFeedback
|
|
743
|
+
*
|
|
744
|
+
* @param {Object} body The DictionaryFeedback to create
|
|
745
|
+
*/
|
|
746
|
+
postSpeechandtextanalyticsDictionaryfeedback(body) {
|
|
747
|
+
// verify the required parameter 'body' is set
|
|
748
|
+
if (body === undefined || body === null) {
|
|
749
|
+
throw 'Missing the required parameter "body" when calling postSpeechandtextanalyticsDictionaryfeedback';
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
return this.apiClient.callApi(
|
|
753
|
+
'/api/v2/speechandtextanalytics/dictionaryfeedback',
|
|
754
|
+
'POST',
|
|
755
|
+
{ },
|
|
756
|
+
{ },
|
|
757
|
+
{ },
|
|
758
|
+
{ },
|
|
759
|
+
body,
|
|
760
|
+
['PureCloud OAuth'],
|
|
761
|
+
['application/json'],
|
|
762
|
+
['application/json']
|
|
763
|
+
);
|
|
764
|
+
}
|
|
765
|
+
|
|
665
766
|
/**
|
|
666
767
|
* Create new Speech and Text Analytics program
|
|
667
768
|
*
|
|
@@ -837,6 +938,35 @@ class SpeechTextAnalyticsApi {
|
|
|
837
938
|
);
|
|
838
939
|
}
|
|
839
940
|
|
|
941
|
+
/**
|
|
942
|
+
* Update existing Speech and Text Analytics dictionary feedback by id
|
|
943
|
+
*
|
|
944
|
+
* @param {String} dictionaryFeedbackId The Id of the Dictionary Feedback
|
|
945
|
+
* @param {Object} opts Optional parameters
|
|
946
|
+
* @param {Object} opts.body
|
|
947
|
+
*/
|
|
948
|
+
putSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId(dictionaryFeedbackId, opts) {
|
|
949
|
+
opts = opts || {};
|
|
950
|
+
|
|
951
|
+
// verify the required parameter 'dictionaryFeedbackId' is set
|
|
952
|
+
if (dictionaryFeedbackId === undefined || dictionaryFeedbackId === null) {
|
|
953
|
+
throw 'Missing the required parameter "dictionaryFeedbackId" when calling putSpeechandtextanalyticsDictionaryfeedbackDictionaryFeedbackId';
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
return this.apiClient.callApi(
|
|
957
|
+
'/api/v2/speechandtextanalytics/dictionaryfeedback/{dictionaryFeedbackId}',
|
|
958
|
+
'PUT',
|
|
959
|
+
{ 'dictionaryFeedbackId': dictionaryFeedbackId },
|
|
960
|
+
{ },
|
|
961
|
+
{ },
|
|
962
|
+
{ },
|
|
963
|
+
opts['body'],
|
|
964
|
+
['PureCloud OAuth'],
|
|
965
|
+
['application/json'],
|
|
966
|
+
['application/json']
|
|
967
|
+
);
|
|
968
|
+
}
|
|
969
|
+
|
|
840
970
|
/**
|
|
841
971
|
* Update existing Speech and Text Analytics program
|
|
842
972
|
*
|