purecloud-platform-client-v2 233.0.0 → 234.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 +3 -3
- package/dist/node/purecloud-platform-client-v2.js +311 -965
- package/dist/web-amd/purecloud-platform-client-v2.js +311 -965
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +137 -366
- package/dist/web-cjs/purecloud-platform-client-v2.js +137 -366
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +804 -821
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
- 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 +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/BusinessRulesApi.js +1 -30
- 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 +41 -1
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.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 +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 +61 -880
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +26 -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 +156 -1
- 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 +1 -31
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +7 -3
- 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/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 +2 -2
- 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
|
@@ -748,7 +748,7 @@ class Configuration {
|
|
|
748
748
|
|
|
749
749
|
/**
|
|
750
750
|
* @module purecloud-platform-client-v2/ApiClient
|
|
751
|
-
* @version
|
|
751
|
+
* @version 234.0.0
|
|
752
752
|
*/
|
|
753
753
|
class ApiClient {
|
|
754
754
|
/**
|
|
@@ -2317,7 +2317,7 @@ class AIStudioApi {
|
|
|
2317
2317
|
/**
|
|
2318
2318
|
* AIStudio service.
|
|
2319
2319
|
* @module purecloud-platform-client-v2/api/AIStudioApi
|
|
2320
|
-
* @version
|
|
2320
|
+
* @version 234.0.0
|
|
2321
2321
|
*/
|
|
2322
2322
|
|
|
2323
2323
|
/**
|
|
@@ -2889,7 +2889,7 @@ class AgentAssistantsApi {
|
|
|
2889
2889
|
/**
|
|
2890
2890
|
* AgentAssistants service.
|
|
2891
2891
|
* @module purecloud-platform-client-v2/api/AgentAssistantsApi
|
|
2892
|
-
* @version
|
|
2892
|
+
* @version 234.0.0
|
|
2893
2893
|
*/
|
|
2894
2894
|
|
|
2895
2895
|
/**
|
|
@@ -3375,7 +3375,7 @@ class AgentCopilotApi {
|
|
|
3375
3375
|
/**
|
|
3376
3376
|
* AgentCopilot service.
|
|
3377
3377
|
* @module purecloud-platform-client-v2/api/AgentCopilotApi
|
|
3378
|
-
* @version
|
|
3378
|
+
* @version 234.0.0
|
|
3379
3379
|
*/
|
|
3380
3380
|
|
|
3381
3381
|
/**
|
|
@@ -3475,7 +3475,7 @@ class AgentUIApi {
|
|
|
3475
3475
|
/**
|
|
3476
3476
|
* AgentUI service.
|
|
3477
3477
|
* @module purecloud-platform-client-v2/api/AgentUIApi
|
|
3478
|
-
* @version
|
|
3478
|
+
* @version 234.0.0
|
|
3479
3479
|
*/
|
|
3480
3480
|
|
|
3481
3481
|
/**
|
|
@@ -3606,7 +3606,7 @@ class AlertingApi {
|
|
|
3606
3606
|
/**
|
|
3607
3607
|
* Alerting service.
|
|
3608
3608
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
3609
|
-
* @version
|
|
3609
|
+
* @version 234.0.0
|
|
3610
3610
|
*/
|
|
3611
3611
|
|
|
3612
3612
|
/**
|
|
@@ -4007,7 +4007,7 @@ class AnalyticsApi {
|
|
|
4007
4007
|
/**
|
|
4008
4008
|
* Analytics service.
|
|
4009
4009
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
4010
|
-
* @version
|
|
4010
|
+
* @version 234.0.0
|
|
4011
4011
|
*/
|
|
4012
4012
|
|
|
4013
4013
|
/**
|
|
@@ -7275,7 +7275,7 @@ class ArchitectApi {
|
|
|
7275
7275
|
/**
|
|
7276
7276
|
* Architect service.
|
|
7277
7277
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
7278
|
-
* @version
|
|
7278
|
+
* @version 234.0.0
|
|
7279
7279
|
*/
|
|
7280
7280
|
|
|
7281
7281
|
/**
|
|
@@ -11570,7 +11570,7 @@ class AuditApi {
|
|
|
11570
11570
|
/**
|
|
11571
11571
|
* Audit service.
|
|
11572
11572
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
11573
|
-
* @version
|
|
11573
|
+
* @version 234.0.0
|
|
11574
11574
|
*/
|
|
11575
11575
|
|
|
11576
11576
|
/**
|
|
@@ -11771,7 +11771,7 @@ class AuthorizationApi {
|
|
|
11771
11771
|
/**
|
|
11772
11772
|
* Authorization service.
|
|
11773
11773
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
11774
|
-
* @version
|
|
11774
|
+
* @version 234.0.0
|
|
11775
11775
|
*/
|
|
11776
11776
|
|
|
11777
11777
|
/**
|
|
@@ -13486,7 +13486,7 @@ class BillingApi {
|
|
|
13486
13486
|
/**
|
|
13487
13487
|
* Billing service.
|
|
13488
13488
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
13489
|
-
* @version
|
|
13489
|
+
* @version 234.0.0
|
|
13490
13490
|
*/
|
|
13491
13491
|
|
|
13492
13492
|
/**
|
|
@@ -13742,7 +13742,7 @@ class BusinessRulesApi {
|
|
|
13742
13742
|
/**
|
|
13743
13743
|
* BusinessRules service.
|
|
13744
13744
|
* @module purecloud-platform-client-v2/api/BusinessRulesApi
|
|
13745
|
-
* @version
|
|
13745
|
+
* @version 234.0.0
|
|
13746
13746
|
*/
|
|
13747
13747
|
|
|
13748
13748
|
/**
|
|
@@ -13763,7 +13763,6 @@ class BusinessRulesApi {
|
|
|
13763
13763
|
* @param {String} tableId Table ID
|
|
13764
13764
|
* @param {Object} opts Optional parameters
|
|
13765
13765
|
* @param {Boolean} opts.forceDelete Force delete decision table (under certain conditions) (default to false)
|
|
13766
|
-
* deleteBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13767
13766
|
*/
|
|
13768
13767
|
deleteBusinessrulesDecisiontable(tableId, opts) {
|
|
13769
13768
|
opts = opts || {};
|
|
@@ -13792,7 +13791,6 @@ class BusinessRulesApi {
|
|
|
13792
13791
|
*
|
|
13793
13792
|
* @param {String} tableId Table ID
|
|
13794
13793
|
* @param {Number} tableVersion Table Version
|
|
13795
|
-
* deleteBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13796
13794
|
*/
|
|
13797
13795
|
deleteBusinessrulesDecisiontableVersion(tableId, tableVersion) {
|
|
13798
13796
|
// verify the required parameter 'tableId' is set
|
|
@@ -13824,7 +13822,6 @@ class BusinessRulesApi {
|
|
|
13824
13822
|
* @param {String} tableId Table ID
|
|
13825
13823
|
* @param {Number} tableVersion Table Version
|
|
13826
13824
|
* @param {String} rowId Row ID
|
|
13827
|
-
* deleteBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13828
13825
|
*/
|
|
13829
13826
|
deleteBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId) {
|
|
13830
13827
|
// verify the required parameter 'tableId' is set
|
|
@@ -13858,7 +13855,6 @@ class BusinessRulesApi {
|
|
|
13858
13855
|
* Delete a schema
|
|
13859
13856
|
*
|
|
13860
13857
|
* @param {String} schemaId Schema ID
|
|
13861
|
-
* deleteBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13862
13858
|
*/
|
|
13863
13859
|
deleteBusinessrulesSchema(schemaId) {
|
|
13864
13860
|
// verify the required parameter 'schemaId' is set
|
|
@@ -13884,7 +13880,6 @@ class BusinessRulesApi {
|
|
|
13884
13880
|
* Get a decision table
|
|
13885
13881
|
*
|
|
13886
13882
|
* @param {String} tableId Table ID
|
|
13887
|
-
* getBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13888
13883
|
*/
|
|
13889
13884
|
getBusinessrulesDecisiontable(tableId) {
|
|
13890
13885
|
// verify the required parameter 'tableId' is set
|
|
@@ -13911,7 +13906,6 @@ class BusinessRulesApi {
|
|
|
13911
13906
|
*
|
|
13912
13907
|
* @param {String} tableId Table ID
|
|
13913
13908
|
* @param {Number} tableVersion Table Version
|
|
13914
|
-
* getBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13915
13909
|
*/
|
|
13916
13910
|
getBusinessrulesDecisiontableVersion(tableId, tableVersion) {
|
|
13917
13911
|
// verify the required parameter 'tableId' is set
|
|
@@ -13943,7 +13937,6 @@ class BusinessRulesApi {
|
|
|
13943
13937
|
* @param {String} tableId Table ID
|
|
13944
13938
|
* @param {Number} tableVersion Table Version
|
|
13945
13939
|
* @param {String} rowId Row ID
|
|
13946
|
-
* getBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13947
13940
|
*/
|
|
13948
13941
|
getBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId) {
|
|
13949
13942
|
// verify the required parameter 'tableId' is set
|
|
@@ -13981,7 +13974,6 @@ class BusinessRulesApi {
|
|
|
13981
13974
|
* @param {Object} opts Optional parameters
|
|
13982
13975
|
* @param {String} opts.pageNumber Page number of the entities to return. Defaults to 1.
|
|
13983
13976
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 100. Defaults to 25.
|
|
13984
|
-
* getBusinessrulesDecisiontableVersionRows is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
13985
13977
|
*/
|
|
13986
13978
|
getBusinessrulesDecisiontableVersionRows(tableId, tableVersion, opts) {
|
|
13987
13979
|
opts = opts || {};
|
|
@@ -14016,7 +14008,6 @@ class BusinessRulesApi {
|
|
|
14016
14008
|
* @param {Object} opts Optional parameters
|
|
14017
14009
|
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
14018
14010
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
14019
|
-
* getBusinessrulesDecisiontableVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14020
14011
|
*/
|
|
14021
14012
|
getBusinessrulesDecisiontableVersions(tableId, opts) {
|
|
14022
14013
|
opts = opts || {};
|
|
@@ -14048,7 +14039,6 @@ class BusinessRulesApi {
|
|
|
14048
14039
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 100.
|
|
14049
14040
|
* @param {Array.<String>} opts.divisionIds One or more comma separated divisions to filters decision tables by. If nothing is provided, the decision tables associated with the list of divisions that the user has access to will be returned.
|
|
14050
14041
|
* @param {String} opts.name Search for decision tables with a name that contains the given search string. Search is case insensitive and will match any table that contains this string in any part of the name.
|
|
14051
|
-
* getBusinessrulesDecisiontables is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14052
14042
|
*/
|
|
14053
14043
|
getBusinessrulesDecisiontables(opts) {
|
|
14054
14044
|
opts = opts || {};
|
|
@@ -14079,7 +14069,6 @@ class BusinessRulesApi {
|
|
|
14079
14069
|
* @param {Boolean} opts.withPublishedVersion Filters results to only decision tables that have at least one version in Published status
|
|
14080
14070
|
* @param {Array.<String>} opts.expand Fields to expand in response
|
|
14081
14071
|
* @param {Array.<String>} opts.ids Decision table IDs to search for
|
|
14082
|
-
* getBusinessrulesDecisiontablesSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14083
14072
|
*/
|
|
14084
14073
|
getBusinessrulesDecisiontablesSearch(opts) {
|
|
14085
14074
|
opts = opts || {};
|
|
@@ -14103,7 +14092,6 @@ class BusinessRulesApi {
|
|
|
14103
14092
|
* Get a schema
|
|
14104
14093
|
*
|
|
14105
14094
|
* @param {String} schemaId Schema ID
|
|
14106
|
-
* getBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14107
14095
|
*/
|
|
14108
14096
|
getBusinessrulesSchema(schemaId) {
|
|
14109
14097
|
// verify the required parameter 'schemaId' is set
|
|
@@ -14128,7 +14116,6 @@ class BusinessRulesApi {
|
|
|
14128
14116
|
/**
|
|
14129
14117
|
* Get a list of schemas.
|
|
14130
14118
|
*
|
|
14131
|
-
* getBusinessrulesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14132
14119
|
*/
|
|
14133
14120
|
getBusinessrulesSchemas() {
|
|
14134
14121
|
|
|
@@ -14150,7 +14137,6 @@ class BusinessRulesApi {
|
|
|
14150
14137
|
* Get a specific named core type.
|
|
14151
14138
|
*
|
|
14152
14139
|
* @param {String} coreTypeName The core type's name
|
|
14153
|
-
* getBusinessrulesSchemasCoretype is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14154
14140
|
*/
|
|
14155
14141
|
getBusinessrulesSchemasCoretype(coreTypeName) {
|
|
14156
14142
|
// verify the required parameter 'coreTypeName' is set
|
|
@@ -14175,7 +14161,6 @@ class BusinessRulesApi {
|
|
|
14175
14161
|
/**
|
|
14176
14162
|
* Get the core types from which all schemas are built.
|
|
14177
14163
|
*
|
|
14178
|
-
* getBusinessrulesSchemasCoretypes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14179
14164
|
*/
|
|
14180
14165
|
getBusinessrulesSchemasCoretypes() {
|
|
14181
14166
|
|
|
@@ -14198,7 +14183,6 @@ class BusinessRulesApi {
|
|
|
14198
14183
|
*
|
|
14199
14184
|
* @param {String} tableId Table ID
|
|
14200
14185
|
* @param {Object} body Decision Table
|
|
14201
|
-
* patchBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14202
14186
|
*/
|
|
14203
14187
|
patchBusinessrulesDecisiontable(tableId, body) {
|
|
14204
14188
|
// verify the required parameter 'tableId' is set
|
|
@@ -14230,7 +14214,6 @@ class BusinessRulesApi {
|
|
|
14230
14214
|
* @param {String} tableId Table ID
|
|
14231
14215
|
* @param {Number} tableVersion Table Version
|
|
14232
14216
|
* @param {Object} body Decision Table
|
|
14233
|
-
* patchBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14234
14217
|
*/
|
|
14235
14218
|
patchBusinessrulesDecisiontableVersion(tableId, tableVersion, body) {
|
|
14236
14219
|
// verify the required parameter 'tableId' is set
|
|
@@ -14265,7 +14248,6 @@ class BusinessRulesApi {
|
|
|
14265
14248
|
*
|
|
14266
14249
|
* @param {String} tableId Table ID
|
|
14267
14250
|
* @param {Object} body Decision Table
|
|
14268
|
-
* postBusinessrulesDecisiontableExecute is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14269
14251
|
*/
|
|
14270
14252
|
postBusinessrulesDecisiontableExecute(tableId, body) {
|
|
14271
14253
|
// verify the required parameter 'tableId' is set
|
|
@@ -14297,7 +14279,6 @@ class BusinessRulesApi {
|
|
|
14297
14279
|
* @param {String} tableId Table ID
|
|
14298
14280
|
* @param {Number} tableVersion Table Version
|
|
14299
14281
|
* @param {Object} body Decision Table
|
|
14300
|
-
* postBusinessrulesDecisiontableVersionCopy is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14301
14282
|
*/
|
|
14302
14283
|
postBusinessrulesDecisiontableVersionCopy(tableId, tableVersion, body) {
|
|
14303
14284
|
// verify the required parameter 'tableId' is set
|
|
@@ -14333,7 +14314,6 @@ class BusinessRulesApi {
|
|
|
14333
14314
|
* @param {String} tableId Table ID
|
|
14334
14315
|
* @param {Number} tableVersion Table Version
|
|
14335
14316
|
* @param {Object} body Decision Table
|
|
14336
|
-
* postBusinessrulesDecisiontableVersionExecute is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14337
14317
|
*/
|
|
14338
14318
|
postBusinessrulesDecisiontableVersionExecute(tableId, tableVersion, body) {
|
|
14339
14319
|
// verify the required parameter 'tableId' is set
|
|
@@ -14369,7 +14349,6 @@ class BusinessRulesApi {
|
|
|
14369
14349
|
* @param {String} tableId Table ID
|
|
14370
14350
|
* @param {Number} tableVersion Table Version
|
|
14371
14351
|
* @param {Object} body Create decision table row request
|
|
14372
|
-
* postBusinessrulesDecisiontableVersionRows is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14373
14352
|
*/
|
|
14374
14353
|
postBusinessrulesDecisiontableVersionRows(tableId, tableVersion, body) {
|
|
14375
14354
|
// verify the required parameter 'tableId' is set
|
|
@@ -14408,7 +14387,6 @@ class BusinessRulesApi {
|
|
|
14408
14387
|
* @param {Object} opts Optional parameters
|
|
14409
14388
|
* @param {String} opts.pageNumber Page number of the entities to return. Defaults to 1.
|
|
14410
14389
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 100. Defaults to 25.
|
|
14411
|
-
* postBusinessrulesDecisiontableVersionRowsSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14412
14390
|
*/
|
|
14413
14391
|
postBusinessrulesDecisiontableVersionRowsSearch(tableId, tableVersion, body, opts) {
|
|
14414
14392
|
opts = opts || {};
|
|
@@ -14445,7 +14423,6 @@ class BusinessRulesApi {
|
|
|
14445
14423
|
*
|
|
14446
14424
|
* @param {String} tableId Table ID
|
|
14447
14425
|
* @param {Number} tableVersion Table Version
|
|
14448
|
-
* postBusinessrulesDecisiontableVersionSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14449
14426
|
*/
|
|
14450
14427
|
postBusinessrulesDecisiontableVersionSync(tableId, tableVersion) {
|
|
14451
14428
|
// verify the required parameter 'tableId' is set
|
|
@@ -14475,7 +14452,6 @@ class BusinessRulesApi {
|
|
|
14475
14452
|
* Create a new decision table version
|
|
14476
14453
|
*
|
|
14477
14454
|
* @param {String} tableId Table ID
|
|
14478
|
-
* postBusinessrulesDecisiontableVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14479
14455
|
*/
|
|
14480
14456
|
postBusinessrulesDecisiontableVersions(tableId) {
|
|
14481
14457
|
// verify the required parameter 'tableId' is set
|
|
@@ -14501,7 +14477,6 @@ class BusinessRulesApi {
|
|
|
14501
14477
|
* Create a decision table
|
|
14502
14478
|
*
|
|
14503
14479
|
* @param {Object} body Decision Table
|
|
14504
|
-
* postBusinessrulesDecisiontables is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14505
14480
|
*/
|
|
14506
14481
|
postBusinessrulesDecisiontables(body) {
|
|
14507
14482
|
// verify the required parameter 'body' is set
|
|
@@ -14527,7 +14502,6 @@ class BusinessRulesApi {
|
|
|
14527
14502
|
* Create a schema
|
|
14528
14503
|
*
|
|
14529
14504
|
* @param {Object} body Business Rules Schema Create Request
|
|
14530
|
-
* postBusinessrulesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14531
14505
|
*/
|
|
14532
14506
|
postBusinessrulesSchemas(body) {
|
|
14533
14507
|
// verify the required parameter 'body' is set
|
|
@@ -14554,7 +14528,6 @@ class BusinessRulesApi {
|
|
|
14554
14528
|
*
|
|
14555
14529
|
* @param {String} tableId Table ID
|
|
14556
14530
|
* @param {Number} tableVersion Table Version
|
|
14557
|
-
* putBusinessrulesDecisiontableVersionPublish is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14558
14531
|
*/
|
|
14559
14532
|
putBusinessrulesDecisiontableVersionPublish(tableId, tableVersion) {
|
|
14560
14533
|
// verify the required parameter 'tableId' is set
|
|
@@ -14587,7 +14560,6 @@ class BusinessRulesApi {
|
|
|
14587
14560
|
* @param {Number} tableVersion Table Version
|
|
14588
14561
|
* @param {String} rowId Row ID
|
|
14589
14562
|
* @param {Object} body Full update decision table row request
|
|
14590
|
-
* putBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14591
14563
|
*/
|
|
14592
14564
|
putBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId, body) {
|
|
14593
14565
|
// verify the required parameter 'tableId' is set
|
|
@@ -14626,7 +14598,6 @@ class BusinessRulesApi {
|
|
|
14626
14598
|
*
|
|
14627
14599
|
* @param {String} schemaId Schema ID
|
|
14628
14600
|
* @param {Object} body Business Rules Schema Update Request
|
|
14629
|
-
* putBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14630
14601
|
*/
|
|
14631
14602
|
putBusinessrulesSchema(schemaId, body) {
|
|
14632
14603
|
// verify the required parameter 'schemaId' is set
|
|
@@ -14658,7 +14629,7 @@ class CarrierServicesApi {
|
|
|
14658
14629
|
/**
|
|
14659
14630
|
* CarrierServices service.
|
|
14660
14631
|
* @module purecloud-platform-client-v2/api/CarrierServicesApi
|
|
14661
|
-
* @version
|
|
14632
|
+
* @version 234.0.0
|
|
14662
14633
|
*/
|
|
14663
14634
|
|
|
14664
14635
|
/**
|
|
@@ -14728,7 +14699,7 @@ class ChatApi {
|
|
|
14728
14699
|
/**
|
|
14729
14700
|
* Chat service.
|
|
14730
14701
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
14731
|
-
* @version
|
|
14702
|
+
* @version 234.0.0
|
|
14732
14703
|
*/
|
|
14733
14704
|
|
|
14734
14705
|
/**
|
|
@@ -15709,7 +15680,7 @@ class CoachingApi {
|
|
|
15709
15680
|
/**
|
|
15710
15681
|
* Coaching service.
|
|
15711
15682
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
15712
|
-
* @version
|
|
15683
|
+
* @version 234.0.0
|
|
15713
15684
|
*/
|
|
15714
15685
|
|
|
15715
15686
|
/**
|
|
@@ -16286,7 +16257,7 @@ class ContentManagementApi {
|
|
|
16286
16257
|
/**
|
|
16287
16258
|
* ContentManagement service.
|
|
16288
16259
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
16289
|
-
* @version
|
|
16260
|
+
* @version 234.0.0
|
|
16290
16261
|
*/
|
|
16291
16262
|
|
|
16292
16263
|
/**
|
|
@@ -17367,7 +17338,7 @@ class ConversationsApi {
|
|
|
17367
17338
|
/**
|
|
17368
17339
|
* Conversations service.
|
|
17369
17340
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
17370
|
-
* @version
|
|
17341
|
+
* @version 234.0.0
|
|
17371
17342
|
*/
|
|
17372
17343
|
|
|
17373
17344
|
/**
|
|
@@ -21186,6 +21157,46 @@ class ConversationsApi {
|
|
|
21186
21157
|
);
|
|
21187
21158
|
}
|
|
21188
21159
|
|
|
21160
|
+
/**
|
|
21161
|
+
* Update conversation participant on behalf of a user
|
|
21162
|
+
*
|
|
21163
|
+
* @param {String} conversationId conversationId
|
|
21164
|
+
* @param {String} participantId participantId
|
|
21165
|
+
* @param {String} userId userId
|
|
21166
|
+
* @param {Object} body Participant request
|
|
21167
|
+
*/
|
|
21168
|
+
patchConversationsCallParticipantUserUserId(conversationId, participantId, userId, body) {
|
|
21169
|
+
// verify the required parameter 'conversationId' is set
|
|
21170
|
+
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
21171
|
+
throw 'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantUserUserId';
|
|
21172
|
+
}
|
|
21173
|
+
// verify the required parameter 'participantId' is set
|
|
21174
|
+
if (participantId === undefined || participantId === null || participantId === '') {
|
|
21175
|
+
throw 'Missing the required parameter "participantId" when calling patchConversationsCallParticipantUserUserId';
|
|
21176
|
+
}
|
|
21177
|
+
// verify the required parameter 'userId' is set
|
|
21178
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
21179
|
+
throw 'Missing the required parameter "userId" when calling patchConversationsCallParticipantUserUserId';
|
|
21180
|
+
}
|
|
21181
|
+
// verify the required parameter 'body' is set
|
|
21182
|
+
if (body === undefined || body === null) {
|
|
21183
|
+
throw 'Missing the required parameter "body" when calling patchConversationsCallParticipantUserUserId';
|
|
21184
|
+
}
|
|
21185
|
+
|
|
21186
|
+
return this.apiClient.callApi(
|
|
21187
|
+
'/api/v2/conversations/calls/{conversationId}/participants/{participantId}/user/{userId}',
|
|
21188
|
+
'PATCH',
|
|
21189
|
+
{ 'conversationId': conversationId,'participantId': participantId,'userId': userId },
|
|
21190
|
+
{ },
|
|
21191
|
+
{ },
|
|
21192
|
+
{ },
|
|
21193
|
+
body,
|
|
21194
|
+
['PureCloud OAuth'],
|
|
21195
|
+
['application/json'],
|
|
21196
|
+
['application/json']
|
|
21197
|
+
);
|
|
21198
|
+
}
|
|
21199
|
+
|
|
21189
21200
|
/**
|
|
21190
21201
|
* Update a conversation by disconnecting all of the participants
|
|
21191
21202
|
*
|
|
@@ -25924,7 +25935,7 @@ class DataExtensionsApi {
|
|
|
25924
25935
|
/**
|
|
25925
25936
|
* DataExtensions service.
|
|
25926
25937
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
25927
|
-
* @version
|
|
25938
|
+
* @version 234.0.0
|
|
25928
25939
|
*/
|
|
25929
25940
|
|
|
25930
25941
|
/**
|
|
@@ -26010,7 +26021,7 @@ class DataPrivacyApi {
|
|
|
26010
26021
|
/**
|
|
26011
26022
|
* DataPrivacy service.
|
|
26012
26023
|
* @module purecloud-platform-client-v2/api/DataPrivacyApi
|
|
26013
|
-
* @version
|
|
26024
|
+
* @version 234.0.0
|
|
26014
26025
|
*/
|
|
26015
26026
|
|
|
26016
26027
|
/**
|
|
@@ -26180,7 +26191,7 @@ class DownloadsApi {
|
|
|
26180
26191
|
/**
|
|
26181
26192
|
* Downloads service.
|
|
26182
26193
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
26183
|
-
* @version
|
|
26194
|
+
* @version 234.0.0
|
|
26184
26195
|
*/
|
|
26185
26196
|
|
|
26186
26197
|
/**
|
|
@@ -26232,7 +26243,7 @@ class EmailsApi {
|
|
|
26232
26243
|
/**
|
|
26233
26244
|
* Emails service.
|
|
26234
26245
|
* @module purecloud-platform-client-v2/api/EmailsApi
|
|
26235
|
-
* @version
|
|
26246
|
+
* @version 234.0.0
|
|
26236
26247
|
*/
|
|
26237
26248
|
|
|
26238
26249
|
/**
|
|
@@ -26361,7 +26372,7 @@ class EmployeeEngagementApi {
|
|
|
26361
26372
|
/**
|
|
26362
26373
|
* EmployeeEngagement service.
|
|
26363
26374
|
* @module purecloud-platform-client-v2/api/EmployeeEngagementApi
|
|
26364
|
-
* @version
|
|
26375
|
+
* @version 234.0.0
|
|
26365
26376
|
*/
|
|
26366
26377
|
|
|
26367
26378
|
/**
|
|
@@ -26512,7 +26523,7 @@ class EventsApi {
|
|
|
26512
26523
|
/**
|
|
26513
26524
|
* Events service.
|
|
26514
26525
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
26515
|
-
* @version
|
|
26526
|
+
* @version 234.0.0
|
|
26516
26527
|
*/
|
|
26517
26528
|
|
|
26518
26529
|
/**
|
|
@@ -26608,7 +26619,7 @@ class ExternalContactsApi {
|
|
|
26608
26619
|
/**
|
|
26609
26620
|
* ExternalContacts service.
|
|
26610
26621
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
26611
|
-
* @version
|
|
26622
|
+
* @version 234.0.0
|
|
26612
26623
|
*/
|
|
26613
26624
|
|
|
26614
26625
|
/**
|
|
@@ -29855,7 +29866,7 @@ class FaxApi {
|
|
|
29855
29866
|
/**
|
|
29856
29867
|
* Fax service.
|
|
29857
29868
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
29858
|
-
* @version
|
|
29869
|
+
* @version 234.0.0
|
|
29859
29870
|
*/
|
|
29860
29871
|
|
|
29861
29872
|
/**
|
|
@@ -30070,7 +30081,7 @@ class FlowsApi {
|
|
|
30070
30081
|
/**
|
|
30071
30082
|
* Flows service.
|
|
30072
30083
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
30073
|
-
* @version
|
|
30084
|
+
* @version 234.0.0
|
|
30074
30085
|
*/
|
|
30075
30086
|
|
|
30076
30087
|
/**
|
|
@@ -30279,7 +30290,7 @@ class GamificationApi {
|
|
|
30279
30290
|
/**
|
|
30280
30291
|
* Gamification service.
|
|
30281
30292
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
30282
|
-
* @version
|
|
30293
|
+
* @version 234.0.0
|
|
30283
30294
|
*/
|
|
30284
30295
|
|
|
30285
30296
|
/**
|
|
@@ -32792,7 +32803,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
32792
32803
|
/**
|
|
32793
32804
|
* GeneralDataProtectionRegulation service.
|
|
32794
32805
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
32795
|
-
* @version
|
|
32806
|
+
* @version 234.0.0
|
|
32796
32807
|
*/
|
|
32797
32808
|
|
|
32798
32809
|
/**
|
|
@@ -32922,7 +32933,7 @@ class GeolocationApi {
|
|
|
32922
32933
|
/**
|
|
32923
32934
|
* Geolocation service.
|
|
32924
32935
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
32925
|
-
* @version
|
|
32936
|
+
* @version 234.0.0
|
|
32926
32937
|
*/
|
|
32927
32938
|
|
|
32928
32939
|
/**
|
|
@@ -33053,7 +33064,7 @@ class GreetingsApi {
|
|
|
33053
33064
|
/**
|
|
33054
33065
|
* Greetings service.
|
|
33055
33066
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
33056
|
-
* @version
|
|
33067
|
+
* @version 234.0.0
|
|
33057
33068
|
*/
|
|
33058
33069
|
|
|
33059
33070
|
/**
|
|
@@ -33595,7 +33606,7 @@ class GroupsApi {
|
|
|
33595
33606
|
/**
|
|
33596
33607
|
* Groups service.
|
|
33597
33608
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
33598
|
-
* @version
|
|
33609
|
+
* @version 234.0.0
|
|
33599
33610
|
*/
|
|
33600
33611
|
|
|
33601
33612
|
/**
|
|
@@ -34114,7 +34125,7 @@ class IdentityProviderApi {
|
|
|
34114
34125
|
/**
|
|
34115
34126
|
* IdentityProvider service.
|
|
34116
34127
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
34117
|
-
* @version
|
|
34128
|
+
* @version 234.0.0
|
|
34118
34129
|
*/
|
|
34119
34130
|
|
|
34120
34131
|
/**
|
|
@@ -34975,7 +34986,7 @@ class InfrastructureAsCodeApi {
|
|
|
34975
34986
|
/**
|
|
34976
34987
|
* InfrastructureAsCode service.
|
|
34977
34988
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
34978
|
-
* @version
|
|
34989
|
+
* @version 234.0.0
|
|
34979
34990
|
*/
|
|
34980
34991
|
|
|
34981
34992
|
/**
|
|
@@ -35142,7 +35153,7 @@ class IntegrationsApi {
|
|
|
35142
35153
|
/**
|
|
35143
35154
|
* Integrations service.
|
|
35144
35155
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
35145
|
-
* @version
|
|
35156
|
+
* @version 234.0.0
|
|
35146
35157
|
*/
|
|
35147
35158
|
|
|
35148
35159
|
/**
|
|
@@ -37790,7 +37801,7 @@ class JourneyApi {
|
|
|
37790
37801
|
/**
|
|
37791
37802
|
* Journey service.
|
|
37792
37803
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
37793
|
-
* @version
|
|
37804
|
+
* @version 234.0.0
|
|
37794
37805
|
*/
|
|
37795
37806
|
|
|
37796
37807
|
/**
|
|
@@ -39887,7 +39898,7 @@ class KnowledgeApi {
|
|
|
39887
39898
|
/**
|
|
39888
39899
|
* Knowledge service.
|
|
39889
39900
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
39890
|
-
* @version
|
|
39901
|
+
* @version 234.0.0
|
|
39891
39902
|
*/
|
|
39892
39903
|
|
|
39893
39904
|
/**
|
|
@@ -40112,114 +40123,6 @@ class KnowledgeApi {
|
|
|
40112
40123
|
);
|
|
40113
40124
|
}
|
|
40114
40125
|
|
|
40115
|
-
/**
|
|
40116
|
-
* Delete category
|
|
40117
|
-
*
|
|
40118
|
-
* @param {String} categoryId Category ID
|
|
40119
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
40120
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
40121
|
-
* @deprecated
|
|
40122
|
-
*/
|
|
40123
|
-
deleteKnowledgeKnowledgebaseLanguageCategory(categoryId, knowledgeBaseId, languageCode) {
|
|
40124
|
-
// verify the required parameter 'categoryId' is set
|
|
40125
|
-
if (categoryId === undefined || categoryId === null || categoryId === '') {
|
|
40126
|
-
throw 'Missing the required parameter "categoryId" when calling deleteKnowledgeKnowledgebaseLanguageCategory';
|
|
40127
|
-
}
|
|
40128
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
40129
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
40130
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageCategory';
|
|
40131
|
-
}
|
|
40132
|
-
// verify the required parameter 'languageCode' is set
|
|
40133
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
40134
|
-
throw 'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageCategory';
|
|
40135
|
-
}
|
|
40136
|
-
|
|
40137
|
-
return this.apiClient.callApi(
|
|
40138
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}',
|
|
40139
|
-
'DELETE',
|
|
40140
|
-
{ 'categoryId': categoryId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
40141
|
-
{ },
|
|
40142
|
-
{ },
|
|
40143
|
-
{ },
|
|
40144
|
-
null,
|
|
40145
|
-
['PureCloud OAuth'],
|
|
40146
|
-
['application/json'],
|
|
40147
|
-
['application/json']
|
|
40148
|
-
);
|
|
40149
|
-
}
|
|
40150
|
-
|
|
40151
|
-
/**
|
|
40152
|
-
* Delete document
|
|
40153
|
-
*
|
|
40154
|
-
* @param {String} documentId Document ID
|
|
40155
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
40156
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
40157
|
-
* @deprecated
|
|
40158
|
-
*/
|
|
40159
|
-
deleteKnowledgeKnowledgebaseLanguageDocument(documentId, knowledgeBaseId, languageCode) {
|
|
40160
|
-
// verify the required parameter 'documentId' is set
|
|
40161
|
-
if (documentId === undefined || documentId === null || documentId === '') {
|
|
40162
|
-
throw 'Missing the required parameter "documentId" when calling deleteKnowledgeKnowledgebaseLanguageDocument';
|
|
40163
|
-
}
|
|
40164
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
40165
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
40166
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageDocument';
|
|
40167
|
-
}
|
|
40168
|
-
// verify the required parameter 'languageCode' is set
|
|
40169
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
40170
|
-
throw 'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageDocument';
|
|
40171
|
-
}
|
|
40172
|
-
|
|
40173
|
-
return this.apiClient.callApi(
|
|
40174
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}',
|
|
40175
|
-
'DELETE',
|
|
40176
|
-
{ 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
40177
|
-
{ },
|
|
40178
|
-
{ },
|
|
40179
|
-
{ },
|
|
40180
|
-
null,
|
|
40181
|
-
['PureCloud OAuth'],
|
|
40182
|
-
['application/json'],
|
|
40183
|
-
['application/json']
|
|
40184
|
-
);
|
|
40185
|
-
}
|
|
40186
|
-
|
|
40187
|
-
/**
|
|
40188
|
-
* Delete import operation
|
|
40189
|
-
*
|
|
40190
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
40191
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
40192
|
-
* @param {String} importId Import ID
|
|
40193
|
-
* @deprecated
|
|
40194
|
-
*/
|
|
40195
|
-
deleteKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId, languageCode, importId) {
|
|
40196
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
40197
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
40198
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
40199
|
-
}
|
|
40200
|
-
// verify the required parameter 'languageCode' is set
|
|
40201
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
40202
|
-
throw 'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
40203
|
-
}
|
|
40204
|
-
// verify the required parameter 'importId' is set
|
|
40205
|
-
if (importId === undefined || importId === null || importId === '') {
|
|
40206
|
-
throw 'Missing the required parameter "importId" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
40207
|
-
}
|
|
40208
|
-
|
|
40209
|
-
return this.apiClient.callApi(
|
|
40210
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}',
|
|
40211
|
-
'DELETE',
|
|
40212
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'importId': importId },
|
|
40213
|
-
{ },
|
|
40214
|
-
{ },
|
|
40215
|
-
{ },
|
|
40216
|
-
null,
|
|
40217
|
-
['PureCloud OAuth'],
|
|
40218
|
-
['application/json'],
|
|
40219
|
-
['application/json']
|
|
40220
|
-
);
|
|
40221
|
-
}
|
|
40222
|
-
|
|
40223
40126
|
/**
|
|
40224
40127
|
* Delete Salesforce Knowledge integration source
|
|
40225
40128
|
*
|
|
@@ -41043,312 +40946,6 @@ class KnowledgeApi {
|
|
|
41043
40946
|
);
|
|
41044
40947
|
}
|
|
41045
40948
|
|
|
41046
|
-
/**
|
|
41047
|
-
* Get categories
|
|
41048
|
-
*
|
|
41049
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
41050
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
41051
|
-
* @param {Object} opts Optional parameters
|
|
41052
|
-
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
41053
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
41054
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
41055
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
41056
|
-
* @param {String} opts.name Filter to return the categories that starts with the given category name.
|
|
41057
|
-
* @deprecated
|
|
41058
|
-
*/
|
|
41059
|
-
getKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId, languageCode, opts) {
|
|
41060
|
-
opts = opts || {};
|
|
41061
|
-
|
|
41062
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
41063
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
41064
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageCategories';
|
|
41065
|
-
}
|
|
41066
|
-
// verify the required parameter 'languageCode' is set
|
|
41067
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
41068
|
-
throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageCategories';
|
|
41069
|
-
}
|
|
41070
|
-
|
|
41071
|
-
return this.apiClient.callApi(
|
|
41072
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories',
|
|
41073
|
-
'GET',
|
|
41074
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
41075
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'] },
|
|
41076
|
-
{ },
|
|
41077
|
-
{ },
|
|
41078
|
-
null,
|
|
41079
|
-
['PureCloud OAuth'],
|
|
41080
|
-
['application/json'],
|
|
41081
|
-
['application/json']
|
|
41082
|
-
);
|
|
41083
|
-
}
|
|
41084
|
-
|
|
41085
|
-
/**
|
|
41086
|
-
* Get category
|
|
41087
|
-
*
|
|
41088
|
-
* @param {String} categoryId Category ID
|
|
41089
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
41090
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
41091
|
-
* @deprecated
|
|
41092
|
-
*/
|
|
41093
|
-
getKnowledgeKnowledgebaseLanguageCategory(categoryId, knowledgeBaseId, languageCode) {
|
|
41094
|
-
// verify the required parameter 'categoryId' is set
|
|
41095
|
-
if (categoryId === undefined || categoryId === null || categoryId === '') {
|
|
41096
|
-
throw 'Missing the required parameter "categoryId" when calling getKnowledgeKnowledgebaseLanguageCategory';
|
|
41097
|
-
}
|
|
41098
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
41099
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
41100
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageCategory';
|
|
41101
|
-
}
|
|
41102
|
-
// verify the required parameter 'languageCode' is set
|
|
41103
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
41104
|
-
throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageCategory';
|
|
41105
|
-
}
|
|
41106
|
-
|
|
41107
|
-
return this.apiClient.callApi(
|
|
41108
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}',
|
|
41109
|
-
'GET',
|
|
41110
|
-
{ 'categoryId': categoryId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
41111
|
-
{ },
|
|
41112
|
-
{ },
|
|
41113
|
-
{ },
|
|
41114
|
-
null,
|
|
41115
|
-
['PureCloud OAuth'],
|
|
41116
|
-
['application/json'],
|
|
41117
|
-
['application/json']
|
|
41118
|
-
);
|
|
41119
|
-
}
|
|
41120
|
-
|
|
41121
|
-
/**
|
|
41122
|
-
* Get document
|
|
41123
|
-
*
|
|
41124
|
-
* @param {String} documentId Document ID
|
|
41125
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
41126
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
41127
|
-
* @deprecated
|
|
41128
|
-
*/
|
|
41129
|
-
getKnowledgeKnowledgebaseLanguageDocument(documentId, knowledgeBaseId, languageCode) {
|
|
41130
|
-
// verify the required parameter 'documentId' is set
|
|
41131
|
-
if (documentId === undefined || documentId === null || documentId === '') {
|
|
41132
|
-
throw 'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseLanguageDocument';
|
|
41133
|
-
}
|
|
41134
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
41135
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
41136
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocument';
|
|
41137
|
-
}
|
|
41138
|
-
// verify the required parameter 'languageCode' is set
|
|
41139
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
41140
|
-
throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocument';
|
|
41141
|
-
}
|
|
41142
|
-
|
|
41143
|
-
return this.apiClient.callApi(
|
|
41144
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}',
|
|
41145
|
-
'GET',
|
|
41146
|
-
{ 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
41147
|
-
{ },
|
|
41148
|
-
{ },
|
|
41149
|
-
{ },
|
|
41150
|
-
null,
|
|
41151
|
-
['PureCloud OAuth'],
|
|
41152
|
-
['application/json'],
|
|
41153
|
-
['application/json']
|
|
41154
|
-
);
|
|
41155
|
-
}
|
|
41156
|
-
|
|
41157
|
-
/**
|
|
41158
|
-
* Get document content upload status
|
|
41159
|
-
*
|
|
41160
|
-
* @param {String} documentId Document ID
|
|
41161
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
41162
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
41163
|
-
* @param {String} uploadId UploadId
|
|
41164
|
-
* @deprecated
|
|
41165
|
-
*/
|
|
41166
|
-
getKnowledgeKnowledgebaseLanguageDocumentUpload(documentId, knowledgeBaseId, languageCode, uploadId) {
|
|
41167
|
-
// verify the required parameter 'documentId' is set
|
|
41168
|
-
if (documentId === undefined || documentId === null || documentId === '') {
|
|
41169
|
-
throw 'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';
|
|
41170
|
-
}
|
|
41171
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
41172
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
41173
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';
|
|
41174
|
-
}
|
|
41175
|
-
// verify the required parameter 'languageCode' is set
|
|
41176
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
41177
|
-
throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';
|
|
41178
|
-
}
|
|
41179
|
-
// verify the required parameter 'uploadId' is set
|
|
41180
|
-
if (uploadId === undefined || uploadId === null || uploadId === '') {
|
|
41181
|
-
throw 'Missing the required parameter "uploadId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';
|
|
41182
|
-
}
|
|
41183
|
-
|
|
41184
|
-
return this.apiClient.callApi(
|
|
41185
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}/uploads/{uploadId}',
|
|
41186
|
-
'GET',
|
|
41187
|
-
{ 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'uploadId': uploadId },
|
|
41188
|
-
{ },
|
|
41189
|
-
{ },
|
|
41190
|
-
{ },
|
|
41191
|
-
null,
|
|
41192
|
-
['PureCloud OAuth'],
|
|
41193
|
-
['application/json'],
|
|
41194
|
-
['application/json']
|
|
41195
|
-
);
|
|
41196
|
-
}
|
|
41197
|
-
|
|
41198
|
-
/**
|
|
41199
|
-
* Get documents
|
|
41200
|
-
*
|
|
41201
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
41202
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
41203
|
-
* @param {Object} opts Optional parameters
|
|
41204
|
-
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
41205
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
41206
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
41207
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
41208
|
-
* @param {String} opts.categories Filter by categories ids, comma separated values expected.
|
|
41209
|
-
* @param {String} opts.title Filter by document title.
|
|
41210
|
-
* @param {Object} opts.sortBy Sort by.
|
|
41211
|
-
* @param {Object} opts.sortOrder Sort Order.
|
|
41212
|
-
* @param {Array.<String>} opts.documentIds Comma-separated list of document identifiers to fetch by.
|
|
41213
|
-
* @deprecated
|
|
41214
|
-
*/
|
|
41215
|
-
getKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, opts) {
|
|
41216
|
-
opts = opts || {};
|
|
41217
|
-
|
|
41218
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
41219
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
41220
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocuments';
|
|
41221
|
-
}
|
|
41222
|
-
// verify the required parameter 'languageCode' is set
|
|
41223
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
41224
|
-
throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocuments';
|
|
41225
|
-
}
|
|
41226
|
-
|
|
41227
|
-
return this.apiClient.callApi(
|
|
41228
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
|
|
41229
|
-
'GET',
|
|
41230
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
41231
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'categories': opts['categories'],'title': opts['title'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'documentIds': this.apiClient.buildCollectionParam(opts['documentIds'], 'multi') },
|
|
41232
|
-
{ },
|
|
41233
|
-
{ },
|
|
41234
|
-
null,
|
|
41235
|
-
['PureCloud OAuth'],
|
|
41236
|
-
['application/json'],
|
|
41237
|
-
['application/json']
|
|
41238
|
-
);
|
|
41239
|
-
}
|
|
41240
|
-
|
|
41241
|
-
/**
|
|
41242
|
-
* Get import operation report
|
|
41243
|
-
*
|
|
41244
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
41245
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
41246
|
-
* @param {String} importId Import ID
|
|
41247
|
-
* @deprecated
|
|
41248
|
-
*/
|
|
41249
|
-
getKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId, languageCode, importId) {
|
|
41250
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
41251
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
41252
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
41253
|
-
}
|
|
41254
|
-
// verify the required parameter 'languageCode' is set
|
|
41255
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
41256
|
-
throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
41257
|
-
}
|
|
41258
|
-
// verify the required parameter 'importId' is set
|
|
41259
|
-
if (importId === undefined || importId === null || importId === '') {
|
|
41260
|
-
throw 'Missing the required parameter "importId" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
41261
|
-
}
|
|
41262
|
-
|
|
41263
|
-
return this.apiClient.callApi(
|
|
41264
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}',
|
|
41265
|
-
'GET',
|
|
41266
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'importId': importId },
|
|
41267
|
-
{ },
|
|
41268
|
-
{ },
|
|
41269
|
-
{ },
|
|
41270
|
-
null,
|
|
41271
|
-
['PureCloud OAuth'],
|
|
41272
|
-
['application/json'],
|
|
41273
|
-
['application/json']
|
|
41274
|
-
);
|
|
41275
|
-
}
|
|
41276
|
-
|
|
41277
|
-
/**
|
|
41278
|
-
* Get training detail
|
|
41279
|
-
*
|
|
41280
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
41281
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
41282
|
-
* @param {String} trainingId Training ID
|
|
41283
|
-
* @deprecated
|
|
41284
|
-
*/
|
|
41285
|
-
getKnowledgeKnowledgebaseLanguageTraining(knowledgeBaseId, languageCode, trainingId) {
|
|
41286
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
41287
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
41288
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageTraining';
|
|
41289
|
-
}
|
|
41290
|
-
// verify the required parameter 'languageCode' is set
|
|
41291
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
41292
|
-
throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageTraining';
|
|
41293
|
-
}
|
|
41294
|
-
// verify the required parameter 'trainingId' is set
|
|
41295
|
-
if (trainingId === undefined || trainingId === null || trainingId === '') {
|
|
41296
|
-
throw 'Missing the required parameter "trainingId" when calling getKnowledgeKnowledgebaseLanguageTraining';
|
|
41297
|
-
}
|
|
41298
|
-
|
|
41299
|
-
return this.apiClient.callApi(
|
|
41300
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings/{trainingId}',
|
|
41301
|
-
'GET',
|
|
41302
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'trainingId': trainingId },
|
|
41303
|
-
{ },
|
|
41304
|
-
{ },
|
|
41305
|
-
{ },
|
|
41306
|
-
null,
|
|
41307
|
-
['PureCloud OAuth'],
|
|
41308
|
-
['application/json'],
|
|
41309
|
-
['application/json']
|
|
41310
|
-
);
|
|
41311
|
-
}
|
|
41312
|
-
|
|
41313
|
-
/**
|
|
41314
|
-
* Get all trainings information for a knowledgebase
|
|
41315
|
-
*
|
|
41316
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
41317
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
41318
|
-
* @param {Object} opts Optional parameters
|
|
41319
|
-
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
41320
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
41321
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
41322
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
41323
|
-
* @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
|
|
41324
|
-
* @deprecated
|
|
41325
|
-
*/
|
|
41326
|
-
getKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId, languageCode, opts) {
|
|
41327
|
-
opts = opts || {};
|
|
41328
|
-
|
|
41329
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
41330
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
41331
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageTrainings';
|
|
41332
|
-
}
|
|
41333
|
-
// verify the required parameter 'languageCode' is set
|
|
41334
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
41335
|
-
throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageTrainings';
|
|
41336
|
-
}
|
|
41337
|
-
|
|
41338
|
-
return this.apiClient.callApi(
|
|
41339
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings',
|
|
41340
|
-
'GET',
|
|
41341
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
41342
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'knowledgeDocumentsState': opts['knowledgeDocumentsState'] },
|
|
41343
|
-
{ },
|
|
41344
|
-
{ },
|
|
41345
|
-
null,
|
|
41346
|
-
['PureCloud OAuth'],
|
|
41347
|
-
['application/json'],
|
|
41348
|
-
['application/json']
|
|
41349
|
-
);
|
|
41350
|
-
}
|
|
41351
|
-
|
|
41352
40949
|
/**
|
|
41353
40950
|
* Get operations
|
|
41354
40951
|
*
|
|
@@ -42061,165 +41658,6 @@ class KnowledgeApi {
|
|
|
42061
41658
|
);
|
|
42062
41659
|
}
|
|
42063
41660
|
|
|
42064
|
-
/**
|
|
42065
|
-
* Update category
|
|
42066
|
-
*
|
|
42067
|
-
* @param {String} categoryId Category ID
|
|
42068
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
42069
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
42070
|
-
* @param {Object} body
|
|
42071
|
-
* @deprecated
|
|
42072
|
-
*/
|
|
42073
|
-
patchKnowledgeKnowledgebaseLanguageCategory(categoryId, knowledgeBaseId, languageCode, body) {
|
|
42074
|
-
// verify the required parameter 'categoryId' is set
|
|
42075
|
-
if (categoryId === undefined || categoryId === null || categoryId === '') {
|
|
42076
|
-
throw 'Missing the required parameter "categoryId" when calling patchKnowledgeKnowledgebaseLanguageCategory';
|
|
42077
|
-
}
|
|
42078
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
42079
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
42080
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageCategory';
|
|
42081
|
-
}
|
|
42082
|
-
// verify the required parameter 'languageCode' is set
|
|
42083
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
42084
|
-
throw 'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageCategory';
|
|
42085
|
-
}
|
|
42086
|
-
// verify the required parameter 'body' is set
|
|
42087
|
-
if (body === undefined || body === null) {
|
|
42088
|
-
throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageCategory';
|
|
42089
|
-
}
|
|
42090
|
-
|
|
42091
|
-
return this.apiClient.callApi(
|
|
42092
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}',
|
|
42093
|
-
'PATCH',
|
|
42094
|
-
{ 'categoryId': categoryId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
42095
|
-
{ },
|
|
42096
|
-
{ },
|
|
42097
|
-
{ },
|
|
42098
|
-
body,
|
|
42099
|
-
['PureCloud OAuth'],
|
|
42100
|
-
['application/json'],
|
|
42101
|
-
['application/json']
|
|
42102
|
-
);
|
|
42103
|
-
}
|
|
42104
|
-
|
|
42105
|
-
/**
|
|
42106
|
-
* Update document
|
|
42107
|
-
*
|
|
42108
|
-
* @param {String} documentId Document ID
|
|
42109
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
42110
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
42111
|
-
* @param {Object} body
|
|
42112
|
-
* @deprecated
|
|
42113
|
-
*/
|
|
42114
|
-
patchKnowledgeKnowledgebaseLanguageDocument(documentId, knowledgeBaseId, languageCode, body) {
|
|
42115
|
-
// verify the required parameter 'documentId' is set
|
|
42116
|
-
if (documentId === undefined || documentId === null || documentId === '') {
|
|
42117
|
-
throw 'Missing the required parameter "documentId" when calling patchKnowledgeKnowledgebaseLanguageDocument';
|
|
42118
|
-
}
|
|
42119
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
42120
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
42121
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocument';
|
|
42122
|
-
}
|
|
42123
|
-
// verify the required parameter 'languageCode' is set
|
|
42124
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
42125
|
-
throw 'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocument';
|
|
42126
|
-
}
|
|
42127
|
-
// verify the required parameter 'body' is set
|
|
42128
|
-
if (body === undefined || body === null) {
|
|
42129
|
-
throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocument';
|
|
42130
|
-
}
|
|
42131
|
-
|
|
42132
|
-
return this.apiClient.callApi(
|
|
42133
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}',
|
|
42134
|
-
'PATCH',
|
|
42135
|
-
{ 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
42136
|
-
{ },
|
|
42137
|
-
{ },
|
|
42138
|
-
{ },
|
|
42139
|
-
body,
|
|
42140
|
-
['PureCloud OAuth'],
|
|
42141
|
-
['application/json'],
|
|
42142
|
-
['application/json']
|
|
42143
|
-
);
|
|
42144
|
-
}
|
|
42145
|
-
|
|
42146
|
-
/**
|
|
42147
|
-
* Update documents collection
|
|
42148
|
-
*
|
|
42149
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
42150
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
42151
|
-
* @param {Array.<Object>} body
|
|
42152
|
-
* @deprecated
|
|
42153
|
-
*/
|
|
42154
|
-
patchKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, body) {
|
|
42155
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
42156
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
42157
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocuments';
|
|
42158
|
-
}
|
|
42159
|
-
// verify the required parameter 'languageCode' is set
|
|
42160
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
42161
|
-
throw 'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocuments';
|
|
42162
|
-
}
|
|
42163
|
-
// verify the required parameter 'body' is set
|
|
42164
|
-
if (body === undefined || body === null) {
|
|
42165
|
-
throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocuments';
|
|
42166
|
-
}
|
|
42167
|
-
|
|
42168
|
-
return this.apiClient.callApi(
|
|
42169
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
|
|
42170
|
-
'PATCH',
|
|
42171
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
42172
|
-
{ },
|
|
42173
|
-
{ },
|
|
42174
|
-
{ },
|
|
42175
|
-
body,
|
|
42176
|
-
['PureCloud OAuth'],
|
|
42177
|
-
['application/json'],
|
|
42178
|
-
['application/json']
|
|
42179
|
-
);
|
|
42180
|
-
}
|
|
42181
|
-
|
|
42182
|
-
/**
|
|
42183
|
-
* Start import operation
|
|
42184
|
-
*
|
|
42185
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
42186
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
42187
|
-
* @param {String} importId Import ID
|
|
42188
|
-
* @param {Object} body
|
|
42189
|
-
* @deprecated
|
|
42190
|
-
*/
|
|
42191
|
-
patchKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId, languageCode, importId, body) {
|
|
42192
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
42193
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
42194
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
42195
|
-
}
|
|
42196
|
-
// verify the required parameter 'languageCode' is set
|
|
42197
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
42198
|
-
throw 'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
42199
|
-
}
|
|
42200
|
-
// verify the required parameter 'importId' is set
|
|
42201
|
-
if (importId === undefined || importId === null || importId === '') {
|
|
42202
|
-
throw 'Missing the required parameter "importId" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
42203
|
-
}
|
|
42204
|
-
// verify the required parameter 'body' is set
|
|
42205
|
-
if (body === undefined || body === null) {
|
|
42206
|
-
throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
42207
|
-
}
|
|
42208
|
-
|
|
42209
|
-
return this.apiClient.callApi(
|
|
42210
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}',
|
|
42211
|
-
'PATCH',
|
|
42212
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'importId': importId },
|
|
42213
|
-
{ },
|
|
42214
|
-
{ },
|
|
42215
|
-
{ },
|
|
42216
|
-
body,
|
|
42217
|
-
['PureCloud OAuth'],
|
|
42218
|
-
['application/json'],
|
|
42219
|
-
['application/json']
|
|
42220
|
-
);
|
|
42221
|
-
}
|
|
42222
|
-
|
|
42223
41661
|
/**
|
|
42224
41662
|
* Send update to the parse operation
|
|
42225
41663
|
*
|
|
@@ -43189,222 +42627,6 @@ class KnowledgeApi {
|
|
|
43189
42627
|
);
|
|
43190
42628
|
}
|
|
43191
42629
|
|
|
43192
|
-
/**
|
|
43193
|
-
* Create new category
|
|
43194
|
-
*
|
|
43195
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
43196
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
43197
|
-
* @param {Object} body
|
|
43198
|
-
* @deprecated
|
|
43199
|
-
*/
|
|
43200
|
-
postKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId, languageCode, body) {
|
|
43201
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
43202
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
43203
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageCategories';
|
|
43204
|
-
}
|
|
43205
|
-
// verify the required parameter 'languageCode' is set
|
|
43206
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
43207
|
-
throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageCategories';
|
|
43208
|
-
}
|
|
43209
|
-
// verify the required parameter 'body' is set
|
|
43210
|
-
if (body === undefined || body === null) {
|
|
43211
|
-
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageCategories';
|
|
43212
|
-
}
|
|
43213
|
-
|
|
43214
|
-
return this.apiClient.callApi(
|
|
43215
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories',
|
|
43216
|
-
'POST',
|
|
43217
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
43218
|
-
{ },
|
|
43219
|
-
{ },
|
|
43220
|
-
{ },
|
|
43221
|
-
body,
|
|
43222
|
-
['PureCloud OAuth'],
|
|
43223
|
-
['application/json'],
|
|
43224
|
-
['application/json']
|
|
43225
|
-
);
|
|
43226
|
-
}
|
|
43227
|
-
|
|
43228
|
-
/**
|
|
43229
|
-
* Upload Article Content
|
|
43230
|
-
*
|
|
43231
|
-
* @param {String} documentId Document ID
|
|
43232
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
43233
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
43234
|
-
* @param {Object} body
|
|
43235
|
-
* @deprecated
|
|
43236
|
-
*/
|
|
43237
|
-
postKnowledgeKnowledgebaseLanguageDocumentUploads(documentId, knowledgeBaseId, languageCode, body) {
|
|
43238
|
-
// verify the required parameter 'documentId' is set
|
|
43239
|
-
if (documentId === undefined || documentId === null || documentId === '') {
|
|
43240
|
-
throw 'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';
|
|
43241
|
-
}
|
|
43242
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
43243
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
43244
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';
|
|
43245
|
-
}
|
|
43246
|
-
// verify the required parameter 'languageCode' is set
|
|
43247
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
43248
|
-
throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';
|
|
43249
|
-
}
|
|
43250
|
-
// verify the required parameter 'body' is set
|
|
43251
|
-
if (body === undefined || body === null) {
|
|
43252
|
-
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';
|
|
43253
|
-
}
|
|
43254
|
-
|
|
43255
|
-
return this.apiClient.callApi(
|
|
43256
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}/uploads',
|
|
43257
|
-
'POST',
|
|
43258
|
-
{ 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
43259
|
-
{ },
|
|
43260
|
-
{ },
|
|
43261
|
-
{ },
|
|
43262
|
-
body,
|
|
43263
|
-
['PureCloud OAuth'],
|
|
43264
|
-
['application/json'],
|
|
43265
|
-
['application/json']
|
|
43266
|
-
);
|
|
43267
|
-
}
|
|
43268
|
-
|
|
43269
|
-
/**
|
|
43270
|
-
* Create document
|
|
43271
|
-
*
|
|
43272
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
43273
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
43274
|
-
* @param {Object} body
|
|
43275
|
-
* @deprecated
|
|
43276
|
-
*/
|
|
43277
|
-
postKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, body) {
|
|
43278
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
43279
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
43280
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocuments';
|
|
43281
|
-
}
|
|
43282
|
-
// verify the required parameter 'languageCode' is set
|
|
43283
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
43284
|
-
throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocuments';
|
|
43285
|
-
}
|
|
43286
|
-
// verify the required parameter 'body' is set
|
|
43287
|
-
if (body === undefined || body === null) {
|
|
43288
|
-
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocuments';
|
|
43289
|
-
}
|
|
43290
|
-
|
|
43291
|
-
return this.apiClient.callApi(
|
|
43292
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
|
|
43293
|
-
'POST',
|
|
43294
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
43295
|
-
{ },
|
|
43296
|
-
{ },
|
|
43297
|
-
{ },
|
|
43298
|
-
body,
|
|
43299
|
-
['PureCloud OAuth'],
|
|
43300
|
-
['application/json'],
|
|
43301
|
-
['application/json']
|
|
43302
|
-
);
|
|
43303
|
-
}
|
|
43304
|
-
|
|
43305
|
-
/**
|
|
43306
|
-
* Create import operation
|
|
43307
|
-
*
|
|
43308
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
43309
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
43310
|
-
* @param {Object} body
|
|
43311
|
-
* @deprecated
|
|
43312
|
-
*/
|
|
43313
|
-
postKnowledgeKnowledgebaseLanguageDocumentsImports(knowledgeBaseId, languageCode, body) {
|
|
43314
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
43315
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
43316
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';
|
|
43317
|
-
}
|
|
43318
|
-
// verify the required parameter 'languageCode' is set
|
|
43319
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
43320
|
-
throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';
|
|
43321
|
-
}
|
|
43322
|
-
// verify the required parameter 'body' is set
|
|
43323
|
-
if (body === undefined || body === null) {
|
|
43324
|
-
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';
|
|
43325
|
-
}
|
|
43326
|
-
|
|
43327
|
-
return this.apiClient.callApi(
|
|
43328
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports',
|
|
43329
|
-
'POST',
|
|
43330
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
43331
|
-
{ },
|
|
43332
|
-
{ },
|
|
43333
|
-
{ },
|
|
43334
|
-
body,
|
|
43335
|
-
['PureCloud OAuth'],
|
|
43336
|
-
['application/json'],
|
|
43337
|
-
['application/json']
|
|
43338
|
-
);
|
|
43339
|
-
}
|
|
43340
|
-
|
|
43341
|
-
/**
|
|
43342
|
-
* Promote trained documents from draft state to active.
|
|
43343
|
-
*
|
|
43344
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
43345
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
43346
|
-
* @param {String} trainingId Training ID
|
|
43347
|
-
* @deprecated
|
|
43348
|
-
*/
|
|
43349
|
-
postKnowledgeKnowledgebaseLanguageTrainingPromote(knowledgeBaseId, languageCode, trainingId) {
|
|
43350
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
43351
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
43352
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';
|
|
43353
|
-
}
|
|
43354
|
-
// verify the required parameter 'languageCode' is set
|
|
43355
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
43356
|
-
throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';
|
|
43357
|
-
}
|
|
43358
|
-
// verify the required parameter 'trainingId' is set
|
|
43359
|
-
if (trainingId === undefined || trainingId === null || trainingId === '') {
|
|
43360
|
-
throw 'Missing the required parameter "trainingId" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';
|
|
43361
|
-
}
|
|
43362
|
-
|
|
43363
|
-
return this.apiClient.callApi(
|
|
43364
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings/{trainingId}/promote',
|
|
43365
|
-
'POST',
|
|
43366
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'trainingId': trainingId },
|
|
43367
|
-
{ },
|
|
43368
|
-
{ },
|
|
43369
|
-
{ },
|
|
43370
|
-
null,
|
|
43371
|
-
['PureCloud OAuth'],
|
|
43372
|
-
['application/json'],
|
|
43373
|
-
['application/json']
|
|
43374
|
-
);
|
|
43375
|
-
}
|
|
43376
|
-
|
|
43377
|
-
/**
|
|
43378
|
-
* Trigger training
|
|
43379
|
-
*
|
|
43380
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
43381
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
43382
|
-
* @deprecated
|
|
43383
|
-
*/
|
|
43384
|
-
postKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId, languageCode) {
|
|
43385
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
43386
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
43387
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageTrainings';
|
|
43388
|
-
}
|
|
43389
|
-
// verify the required parameter 'languageCode' is set
|
|
43390
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
43391
|
-
throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageTrainings';
|
|
43392
|
-
}
|
|
43393
|
-
|
|
43394
|
-
return this.apiClient.callApi(
|
|
43395
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings',
|
|
43396
|
-
'POST',
|
|
43397
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
43398
|
-
{ },
|
|
43399
|
-
{ },
|
|
43400
|
-
{ },
|
|
43401
|
-
null,
|
|
43402
|
-
['PureCloud OAuth'],
|
|
43403
|
-
['application/json'],
|
|
43404
|
-
['application/json']
|
|
43405
|
-
);
|
|
43406
|
-
}
|
|
43407
|
-
|
|
43408
42630
|
/**
|
|
43409
42631
|
* Import the parsed articles
|
|
43410
42632
|
*
|
|
@@ -43470,36 +42692,6 @@ class KnowledgeApi {
|
|
|
43470
42692
|
);
|
|
43471
42693
|
}
|
|
43472
42694
|
|
|
43473
|
-
/**
|
|
43474
|
-
* Search Documents
|
|
43475
|
-
*
|
|
43476
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
43477
|
-
* @param {Object} opts Optional parameters
|
|
43478
|
-
* @param {Object} opts.body
|
|
43479
|
-
* @deprecated
|
|
43480
|
-
*/
|
|
43481
|
-
postKnowledgeKnowledgebaseSearch(knowledgeBaseId, opts) {
|
|
43482
|
-
opts = opts || {};
|
|
43483
|
-
|
|
43484
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
43485
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
43486
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';
|
|
43487
|
-
}
|
|
43488
|
-
|
|
43489
|
-
return this.apiClient.callApi(
|
|
43490
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search',
|
|
43491
|
-
'POST',
|
|
43492
|
-
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
43493
|
-
{ },
|
|
43494
|
-
{ },
|
|
43495
|
-
{ },
|
|
43496
|
-
opts['body'],
|
|
43497
|
-
['PureCloud OAuth'],
|
|
43498
|
-
['application/json'],
|
|
43499
|
-
['application/json']
|
|
43500
|
-
);
|
|
43501
|
-
}
|
|
43502
|
-
|
|
43503
42695
|
/**
|
|
43504
42696
|
* Create Salesforce Knowledge integration source
|
|
43505
42697
|
*
|
|
@@ -43789,7 +42981,7 @@ class LanguageUnderstandingApi {
|
|
|
43789
42981
|
/**
|
|
43790
42982
|
* LanguageUnderstanding service.
|
|
43791
42983
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
43792
|
-
* @version
|
|
42984
|
+
* @version 234.0.0
|
|
43793
42985
|
*/
|
|
43794
42986
|
|
|
43795
42987
|
/**
|
|
@@ -45008,7 +44200,7 @@ class LanguagesApi {
|
|
|
45008
44200
|
/**
|
|
45009
44201
|
* Languages service.
|
|
45010
44202
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
45011
|
-
* @version
|
|
44203
|
+
* @version 234.0.0
|
|
45012
44204
|
*/
|
|
45013
44205
|
|
|
45014
44206
|
/**
|
|
@@ -45230,7 +44422,7 @@ class LearningApi {
|
|
|
45230
44422
|
/**
|
|
45231
44423
|
* Learning service.
|
|
45232
44424
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
45233
|
-
* @version
|
|
44425
|
+
* @version 234.0.0
|
|
45234
44426
|
*/
|
|
45235
44427
|
|
|
45236
44428
|
/**
|
|
@@ -46263,7 +45455,7 @@ class LicenseApi {
|
|
|
46263
45455
|
/**
|
|
46264
45456
|
* License service.
|
|
46265
45457
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
46266
|
-
* @version
|
|
45458
|
+
* @version 234.0.0
|
|
46267
45459
|
*/
|
|
46268
45460
|
|
|
46269
45461
|
/**
|
|
@@ -46501,7 +45693,7 @@ class LocationsApi {
|
|
|
46501
45693
|
/**
|
|
46502
45694
|
* Locations service.
|
|
46503
45695
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
46504
|
-
* @version
|
|
45696
|
+
* @version 234.0.0
|
|
46505
45697
|
*/
|
|
46506
45698
|
|
|
46507
45699
|
/**
|
|
@@ -46737,7 +45929,7 @@ class LogCaptureApi {
|
|
|
46737
45929
|
/**
|
|
46738
45930
|
* LogCapture service.
|
|
46739
45931
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
46740
|
-
* @version
|
|
45932
|
+
* @version 234.0.0
|
|
46741
45933
|
*/
|
|
46742
45934
|
|
|
46743
45935
|
/**
|
|
@@ -46936,7 +46128,7 @@ class MessagingApi {
|
|
|
46936
46128
|
/**
|
|
46937
46129
|
* Messaging service.
|
|
46938
46130
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
46939
|
-
* @version
|
|
46131
|
+
* @version 234.0.0
|
|
46940
46132
|
*/
|
|
46941
46133
|
|
|
46942
46134
|
/**
|
|
@@ -47295,7 +46487,7 @@ class MobileDevicesApi {
|
|
|
47295
46487
|
/**
|
|
47296
46488
|
* MobileDevices service.
|
|
47297
46489
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
47298
|
-
* @version
|
|
46490
|
+
* @version 234.0.0
|
|
47299
46491
|
*/
|
|
47300
46492
|
|
|
47301
46493
|
/**
|
|
@@ -47446,7 +46638,7 @@ class NotificationsApi {
|
|
|
47446
46638
|
/**
|
|
47447
46639
|
* Notifications service.
|
|
47448
46640
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
47449
|
-
* @version
|
|
46641
|
+
* @version 234.0.0
|
|
47450
46642
|
*/
|
|
47451
46643
|
|
|
47452
46644
|
/**
|
|
@@ -47679,7 +46871,7 @@ class OAuthApi {
|
|
|
47679
46871
|
/**
|
|
47680
46872
|
* OAuth service.
|
|
47681
46873
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
47682
|
-
* @version
|
|
46874
|
+
* @version 234.0.0
|
|
47683
46875
|
*/
|
|
47684
46876
|
|
|
47685
46877
|
/**
|
|
@@ -48045,7 +47237,7 @@ class ObjectsApi {
|
|
|
48045
47237
|
/**
|
|
48046
47238
|
* Objects service.
|
|
48047
47239
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
48048
|
-
* @version
|
|
47240
|
+
* @version 234.0.0
|
|
48049
47241
|
*/
|
|
48050
47242
|
|
|
48051
47243
|
/**
|
|
@@ -48369,7 +47561,7 @@ class OperationalEventsApi {
|
|
|
48369
47561
|
/**
|
|
48370
47562
|
* OperationalEvents service.
|
|
48371
47563
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
48372
|
-
* @version
|
|
47564
|
+
* @version 234.0.0
|
|
48373
47565
|
*/
|
|
48374
47566
|
|
|
48375
47567
|
/**
|
|
@@ -48486,7 +47678,7 @@ class OrganizationApi {
|
|
|
48486
47678
|
/**
|
|
48487
47679
|
* Organization service.
|
|
48488
47680
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
48489
|
-
* @version
|
|
47681
|
+
* @version 234.0.0
|
|
48490
47682
|
*/
|
|
48491
47683
|
|
|
48492
47684
|
/**
|
|
@@ -48961,7 +48153,7 @@ class OrganizationAuthorizationApi {
|
|
|
48961
48153
|
/**
|
|
48962
48154
|
* OrganizationAuthorization service.
|
|
48963
48155
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
48964
|
-
* @version
|
|
48156
|
+
* @version 234.0.0
|
|
48965
48157
|
*/
|
|
48966
48158
|
|
|
48967
48159
|
/**
|
|
@@ -50355,7 +49547,7 @@ class OutboundApi {
|
|
|
50355
49547
|
/**
|
|
50356
49548
|
* Outbound service.
|
|
50357
49549
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
50358
|
-
* @version
|
|
49550
|
+
* @version 234.0.0
|
|
50359
49551
|
*/
|
|
50360
49552
|
|
|
50361
49553
|
/**
|
|
@@ -53573,6 +52765,31 @@ class OutboundApi {
|
|
|
53573
52765
|
);
|
|
53574
52766
|
}
|
|
53575
52767
|
|
|
52768
|
+
/**
|
|
52769
|
+
* Get performance data for a list of campaigns
|
|
52770
|
+
*
|
|
52771
|
+
* @param {Array.<String>} body Campaign IDs. Maximum of 50 IDs allowed.
|
|
52772
|
+
*/
|
|
52773
|
+
postOutboundCampaignsPerformanceQuery(body) {
|
|
52774
|
+
// verify the required parameter 'body' is set
|
|
52775
|
+
if (body === undefined || body === null) {
|
|
52776
|
+
throw 'Missing the required parameter "body" when calling postOutboundCampaignsPerformanceQuery';
|
|
52777
|
+
}
|
|
52778
|
+
|
|
52779
|
+
return this.apiClient.callApi(
|
|
52780
|
+
'/api/v2/outbound/campaigns/performance/query',
|
|
52781
|
+
'POST',
|
|
52782
|
+
{ },
|
|
52783
|
+
{ },
|
|
52784
|
+
{ },
|
|
52785
|
+
{ },
|
|
52786
|
+
body,
|
|
52787
|
+
['PureCloud OAuth'],
|
|
52788
|
+
['application/json'],
|
|
52789
|
+
['application/json']
|
|
52790
|
+
);
|
|
52791
|
+
}
|
|
52792
|
+
|
|
53576
52793
|
/**
|
|
53577
52794
|
* Get progress for a list of campaigns
|
|
53578
52795
|
*
|
|
@@ -55077,7 +54294,7 @@ class PresenceApi {
|
|
|
55077
54294
|
/**
|
|
55078
54295
|
* Presence service.
|
|
55079
54296
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
55080
|
-
* @version
|
|
54297
|
+
* @version 234.0.0
|
|
55081
54298
|
*/
|
|
55082
54299
|
|
|
55083
54300
|
/**
|
|
@@ -55821,7 +55038,7 @@ class ProcessAutomationApi {
|
|
|
55821
55038
|
/**
|
|
55822
55039
|
* ProcessAutomation service.
|
|
55823
55040
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
55824
|
-
* @version
|
|
55041
|
+
* @version 234.0.0
|
|
55825
55042
|
*/
|
|
55826
55043
|
|
|
55827
55044
|
/**
|
|
@@ -56060,7 +55277,7 @@ class QualityApi {
|
|
|
56060
55277
|
/**
|
|
56061
55278
|
* Quality service.
|
|
56062
55279
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
56063
|
-
* @version
|
|
55280
|
+
* @version 234.0.0
|
|
56064
55281
|
*/
|
|
56065
55282
|
|
|
56066
55283
|
/**
|
|
@@ -58005,7 +57222,7 @@ class RecordingApi {
|
|
|
58005
57222
|
/**
|
|
58006
57223
|
* Recording service.
|
|
58007
57224
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
58008
|
-
* @version
|
|
57225
|
+
* @version 234.0.0
|
|
58009
57226
|
*/
|
|
58010
57227
|
|
|
58011
57228
|
/**
|
|
@@ -59610,7 +58827,7 @@ class ResponseManagementApi {
|
|
|
59610
58827
|
/**
|
|
59611
58828
|
* ResponseManagement service.
|
|
59612
58829
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
59613
|
-
* @version
|
|
58830
|
+
* @version 234.0.0
|
|
59614
58831
|
*/
|
|
59615
58832
|
|
|
59616
58833
|
/**
|
|
@@ -60120,7 +59337,7 @@ class RoutingApi {
|
|
|
60120
59337
|
/**
|
|
60121
59338
|
* Routing service.
|
|
60122
59339
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
60123
|
-
* @version
|
|
59340
|
+
* @version 234.0.0
|
|
60124
59341
|
*/
|
|
60125
59342
|
|
|
60126
59343
|
/**
|
|
@@ -60935,6 +60152,56 @@ class RoutingApi {
|
|
|
60935
60152
|
);
|
|
60936
60153
|
}
|
|
60937
60154
|
|
|
60155
|
+
/**
|
|
60156
|
+
* Get domain dkim settings
|
|
60157
|
+
*
|
|
60158
|
+
* @param {String} domainId domain ID
|
|
60159
|
+
*/
|
|
60160
|
+
getRoutingEmailDomainDkim(domainId) {
|
|
60161
|
+
// verify the required parameter 'domainId' is set
|
|
60162
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
60163
|
+
throw 'Missing the required parameter "domainId" when calling getRoutingEmailDomainDkim';
|
|
60164
|
+
}
|
|
60165
|
+
|
|
60166
|
+
return this.apiClient.callApi(
|
|
60167
|
+
'/api/v2/routing/email/domains/{domainId}/dkim',
|
|
60168
|
+
'GET',
|
|
60169
|
+
{ 'domainId': domainId },
|
|
60170
|
+
{ },
|
|
60171
|
+
{ },
|
|
60172
|
+
{ },
|
|
60173
|
+
null,
|
|
60174
|
+
['PureCloud OAuth'],
|
|
60175
|
+
['application/json'],
|
|
60176
|
+
['application/json']
|
|
60177
|
+
);
|
|
60178
|
+
}
|
|
60179
|
+
|
|
60180
|
+
/**
|
|
60181
|
+
* Get domain mail from settings
|
|
60182
|
+
*
|
|
60183
|
+
* @param {String} domainId domain ID
|
|
60184
|
+
*/
|
|
60185
|
+
getRoutingEmailDomainMailfrom(domainId) {
|
|
60186
|
+
// verify the required parameter 'domainId' is set
|
|
60187
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
60188
|
+
throw 'Missing the required parameter "domainId" when calling getRoutingEmailDomainMailfrom';
|
|
60189
|
+
}
|
|
60190
|
+
|
|
60191
|
+
return this.apiClient.callApi(
|
|
60192
|
+
'/api/v2/routing/email/domains/{domainId}/mailfrom',
|
|
60193
|
+
'GET',
|
|
60194
|
+
{ 'domainId': domainId },
|
|
60195
|
+
{ },
|
|
60196
|
+
{ },
|
|
60197
|
+
{ },
|
|
60198
|
+
null,
|
|
60199
|
+
['PureCloud OAuth'],
|
|
60200
|
+
['application/json'],
|
|
60201
|
+
['application/json']
|
|
60202
|
+
);
|
|
60203
|
+
}
|
|
60204
|
+
|
|
60938
60205
|
/**
|
|
60939
60206
|
* Get a route
|
|
60940
60207
|
*
|
|
@@ -61031,6 +60298,31 @@ class RoutingApi {
|
|
|
61031
60298
|
);
|
|
61032
60299
|
}
|
|
61033
60300
|
|
|
60301
|
+
/**
|
|
60302
|
+
* Get domain verification settings
|
|
60303
|
+
*
|
|
60304
|
+
* @param {String} domainId domain ID
|
|
60305
|
+
*/
|
|
60306
|
+
getRoutingEmailDomainVerification(domainId) {
|
|
60307
|
+
// verify the required parameter 'domainId' is set
|
|
60308
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
60309
|
+
throw 'Missing the required parameter "domainId" when calling getRoutingEmailDomainVerification';
|
|
60310
|
+
}
|
|
60311
|
+
|
|
60312
|
+
return this.apiClient.callApi(
|
|
60313
|
+
'/api/v2/routing/email/domains/{domainId}/verification',
|
|
60314
|
+
'GET',
|
|
60315
|
+
{ 'domainId': domainId },
|
|
60316
|
+
{ },
|
|
60317
|
+
{ },
|
|
60318
|
+
{ },
|
|
60319
|
+
null,
|
|
60320
|
+
['PureCloud OAuth'],
|
|
60321
|
+
['application/json'],
|
|
60322
|
+
['application/json']
|
|
60323
|
+
);
|
|
60324
|
+
}
|
|
60325
|
+
|
|
61034
60326
|
/**
|
|
61035
60327
|
* Get domains
|
|
61036
60328
|
*
|
|
@@ -63319,6 +62611,61 @@ class RoutingApi {
|
|
|
63319
62611
|
);
|
|
63320
62612
|
}
|
|
63321
62613
|
|
|
62614
|
+
/**
|
|
62615
|
+
* Restart domain dkim
|
|
62616
|
+
*
|
|
62617
|
+
* @param {String} domainId domain ID
|
|
62618
|
+
*/
|
|
62619
|
+
postRoutingEmailDomainDkim(domainId) {
|
|
62620
|
+
// verify the required parameter 'domainId' is set
|
|
62621
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
62622
|
+
throw 'Missing the required parameter "domainId" when calling postRoutingEmailDomainDkim';
|
|
62623
|
+
}
|
|
62624
|
+
|
|
62625
|
+
return this.apiClient.callApi(
|
|
62626
|
+
'/api/v2/routing/email/domains/{domainId}/dkim',
|
|
62627
|
+
'POST',
|
|
62628
|
+
{ 'domainId': domainId },
|
|
62629
|
+
{ },
|
|
62630
|
+
{ },
|
|
62631
|
+
{ },
|
|
62632
|
+
null,
|
|
62633
|
+
['PureCloud OAuth'],
|
|
62634
|
+
['application/json'],
|
|
62635
|
+
['application/json']
|
|
62636
|
+
);
|
|
62637
|
+
}
|
|
62638
|
+
|
|
62639
|
+
/**
|
|
62640
|
+
* Set domain mail from settings
|
|
62641
|
+
*
|
|
62642
|
+
* @param {String} domainId domain ID
|
|
62643
|
+
* @param {Object} body Mail From Settings
|
|
62644
|
+
*/
|
|
62645
|
+
postRoutingEmailDomainMailfrom(domainId, body) {
|
|
62646
|
+
// verify the required parameter 'domainId' is set
|
|
62647
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
62648
|
+
throw 'Missing the required parameter "domainId" when calling postRoutingEmailDomainMailfrom';
|
|
62649
|
+
}
|
|
62650
|
+
// verify the required parameter 'body' is set
|
|
62651
|
+
if (body === undefined || body === null) {
|
|
62652
|
+
throw 'Missing the required parameter "body" when calling postRoutingEmailDomainMailfrom';
|
|
62653
|
+
}
|
|
62654
|
+
|
|
62655
|
+
return this.apiClient.callApi(
|
|
62656
|
+
'/api/v2/routing/email/domains/{domainId}/mailfrom',
|
|
62657
|
+
'POST',
|
|
62658
|
+
{ 'domainId': domainId },
|
|
62659
|
+
{ },
|
|
62660
|
+
{ },
|
|
62661
|
+
{ },
|
|
62662
|
+
body,
|
|
62663
|
+
['PureCloud OAuth'],
|
|
62664
|
+
['application/json'],
|
|
62665
|
+
['application/json']
|
|
62666
|
+
);
|
|
62667
|
+
}
|
|
62668
|
+
|
|
63322
62669
|
/**
|
|
63323
62670
|
* Create a route
|
|
63324
62671
|
*
|
|
@@ -63378,6 +62725,31 @@ class RoutingApi {
|
|
|
63378
62725
|
);
|
|
63379
62726
|
}
|
|
63380
62727
|
|
|
62728
|
+
/**
|
|
62729
|
+
* Restart domain verification
|
|
62730
|
+
*
|
|
62731
|
+
* @param {String} domainId domain ID
|
|
62732
|
+
*/
|
|
62733
|
+
postRoutingEmailDomainVerification(domainId) {
|
|
62734
|
+
// verify the required parameter 'domainId' is set
|
|
62735
|
+
if (domainId === undefined || domainId === null || domainId === '') {
|
|
62736
|
+
throw 'Missing the required parameter "domainId" when calling postRoutingEmailDomainVerification';
|
|
62737
|
+
}
|
|
62738
|
+
|
|
62739
|
+
return this.apiClient.callApi(
|
|
62740
|
+
'/api/v2/routing/email/domains/{domainId}/verification',
|
|
62741
|
+
'POST',
|
|
62742
|
+
{ 'domainId': domainId },
|
|
62743
|
+
{ },
|
|
62744
|
+
{ },
|
|
62745
|
+
{ },
|
|
62746
|
+
null,
|
|
62747
|
+
['PureCloud OAuth'],
|
|
62748
|
+
['application/json'],
|
|
62749
|
+
['application/json']
|
|
62750
|
+
);
|
|
62751
|
+
}
|
|
62752
|
+
|
|
63381
62753
|
/**
|
|
63382
62754
|
* Create a domain
|
|
63383
62755
|
*
|
|
@@ -64448,7 +63820,7 @@ class SCIMApi {
|
|
|
64448
63820
|
/**
|
|
64449
63821
|
* SCIM service.
|
|
64450
63822
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
64451
|
-
* @version
|
|
63823
|
+
* @version 234.0.0
|
|
64452
63824
|
*/
|
|
64453
63825
|
|
|
64454
63826
|
/**
|
|
@@ -65325,7 +64697,7 @@ class ScreenRecordingApi {
|
|
|
65325
64697
|
/**
|
|
65326
64698
|
* ScreenRecording service.
|
|
65327
64699
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
65328
|
-
* @version
|
|
64700
|
+
* @version 234.0.0
|
|
65329
64701
|
*/
|
|
65330
64702
|
|
|
65331
64703
|
/**
|
|
@@ -65370,7 +64742,7 @@ class ScriptsApi {
|
|
|
65370
64742
|
/**
|
|
65371
64743
|
* Scripts service.
|
|
65372
64744
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
65373
|
-
* @version
|
|
64745
|
+
* @version 234.0.0
|
|
65374
64746
|
*/
|
|
65375
64747
|
|
|
65376
64748
|
/**
|
|
@@ -65846,7 +65218,7 @@ class SearchApi {
|
|
|
65846
65218
|
/**
|
|
65847
65219
|
* Search service.
|
|
65848
65220
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
65849
|
-
* @version
|
|
65221
|
+
* @version 234.0.0
|
|
65850
65222
|
*/
|
|
65851
65223
|
|
|
65852
65224
|
/**
|
|
@@ -66243,36 +65615,6 @@ class SearchApi {
|
|
|
66243
65615
|
);
|
|
66244
65616
|
}
|
|
66245
65617
|
|
|
66246
|
-
/**
|
|
66247
|
-
* Search Documents
|
|
66248
|
-
*
|
|
66249
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
66250
|
-
* @param {Object} opts Optional parameters
|
|
66251
|
-
* @param {Object} opts.body
|
|
66252
|
-
* @deprecated
|
|
66253
|
-
*/
|
|
66254
|
-
postKnowledgeKnowledgebaseSearch(knowledgeBaseId, opts) {
|
|
66255
|
-
opts = opts || {};
|
|
66256
|
-
|
|
66257
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
66258
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
66259
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';
|
|
66260
|
-
}
|
|
66261
|
-
|
|
66262
|
-
return this.apiClient.callApi(
|
|
66263
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search',
|
|
66264
|
-
'POST',
|
|
66265
|
-
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
66266
|
-
{ },
|
|
66267
|
-
{ },
|
|
66268
|
-
{ },
|
|
66269
|
-
opts['body'],
|
|
66270
|
-
['PureCloud OAuth'],
|
|
66271
|
-
['application/json'],
|
|
66272
|
-
['application/json']
|
|
66273
|
-
);
|
|
66274
|
-
}
|
|
66275
|
-
|
|
66276
65618
|
/**
|
|
66277
65619
|
* Search locations
|
|
66278
65620
|
*
|
|
@@ -66564,7 +65906,7 @@ class SettingsApi {
|
|
|
66564
65906
|
/**
|
|
66565
65907
|
* Settings service.
|
|
66566
65908
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
66567
|
-
* @version
|
|
65909
|
+
* @version 234.0.0
|
|
66568
65910
|
*/
|
|
66569
65911
|
|
|
66570
65912
|
/**
|
|
@@ -66912,7 +66254,7 @@ class SocialMediaApi {
|
|
|
66912
66254
|
/**
|
|
66913
66255
|
* SocialMedia service.
|
|
66914
66256
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
66915
|
-
* @version
|
|
66257
|
+
* @version 234.0.0
|
|
66916
66258
|
*/
|
|
66917
66259
|
|
|
66918
66260
|
/**
|
|
@@ -67255,8 +66597,12 @@ class SocialMediaApi {
|
|
|
67255
66597
|
* Get a single escalation rule.
|
|
67256
66598
|
*
|
|
67257
66599
|
* @param {String} escalationRuleId escalationRuleId
|
|
66600
|
+
* @param {Object} opts Optional parameters
|
|
66601
|
+
* @param {Object} opts.expand which fields, if any, to expand
|
|
67258
66602
|
*/
|
|
67259
|
-
getSocialmediaEscalationrule(escalationRuleId) {
|
|
66603
|
+
getSocialmediaEscalationrule(escalationRuleId, opts) {
|
|
66604
|
+
opts = opts || {};
|
|
66605
|
+
|
|
67260
66606
|
// verify the required parameter 'escalationRuleId' is set
|
|
67261
66607
|
if (escalationRuleId === undefined || escalationRuleId === null || escalationRuleId === '') {
|
|
67262
66608
|
throw 'Missing the required parameter "escalationRuleId" when calling getSocialmediaEscalationrule';
|
|
@@ -67266,7 +66612,7 @@ class SocialMediaApi {
|
|
|
67266
66612
|
'/api/v2/socialmedia/escalationrules/{escalationRuleId}',
|
|
67267
66613
|
'GET',
|
|
67268
66614
|
{ 'escalationRuleId': escalationRuleId },
|
|
67269
|
-
{
|
|
66615
|
+
{ 'expand': opts['expand'] },
|
|
67270
66616
|
{ },
|
|
67271
66617
|
{ },
|
|
67272
66618
|
null,
|
|
@@ -68503,7 +67849,7 @@ class SpeechTextAnalyticsApi {
|
|
|
68503
67849
|
/**
|
|
68504
67850
|
* SpeechTextAnalytics service.
|
|
68505
67851
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
68506
|
-
* @version
|
|
67852
|
+
* @version 234.0.0
|
|
68507
67853
|
*/
|
|
68508
67854
|
|
|
68509
67855
|
/**
|
|
@@ -70150,7 +69496,7 @@ class StationsApi {
|
|
|
70150
69496
|
/**
|
|
70151
69497
|
* Stations service.
|
|
70152
69498
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
70153
|
-
* @version
|
|
69499
|
+
* @version 234.0.0
|
|
70154
69500
|
*/
|
|
70155
69501
|
|
|
70156
69502
|
/**
|
|
@@ -70252,7 +69598,7 @@ class SuggestApi {
|
|
|
70252
69598
|
/**
|
|
70253
69599
|
* Suggest service.
|
|
70254
69600
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
70255
|
-
* @version
|
|
69601
|
+
* @version 234.0.0
|
|
70256
69602
|
*/
|
|
70257
69603
|
|
|
70258
69604
|
/**
|
|
@@ -70391,7 +69737,7 @@ class TaskManagementApi {
|
|
|
70391
69737
|
/**
|
|
70392
69738
|
* TaskManagement service.
|
|
70393
69739
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
70394
|
-
* @version
|
|
69740
|
+
* @version 234.0.0
|
|
70395
69741
|
*/
|
|
70396
69742
|
|
|
70397
69743
|
/**
|
|
@@ -72553,7 +71899,7 @@ class TeamsApi {
|
|
|
72553
71899
|
/**
|
|
72554
71900
|
* Teams service.
|
|
72555
71901
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
72556
|
-
* @version
|
|
71902
|
+
* @version 234.0.0
|
|
72557
71903
|
*/
|
|
72558
71904
|
|
|
72559
71905
|
/**
|
|
@@ -72858,7 +72204,7 @@ class TelephonyApi {
|
|
|
72858
72204
|
/**
|
|
72859
72205
|
* Telephony service.
|
|
72860
72206
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
72861
|
-
* @version
|
|
72207
|
+
* @version 234.0.0
|
|
72862
72208
|
*/
|
|
72863
72209
|
|
|
72864
72210
|
/**
|
|
@@ -73144,7 +72490,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
73144
72490
|
/**
|
|
73145
72491
|
* TelephonyProvidersEdge service.
|
|
73146
72492
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
73147
|
-
* @version
|
|
72493
|
+
* @version 234.0.0
|
|
73148
72494
|
*/
|
|
73149
72495
|
|
|
73150
72496
|
/**
|
|
@@ -76637,7 +75983,7 @@ class TextbotsApi {
|
|
|
76637
75983
|
/**
|
|
76638
75984
|
* Textbots service.
|
|
76639
75985
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
76640
|
-
* @version
|
|
75986
|
+
* @version 234.0.0
|
|
76641
75987
|
*/
|
|
76642
75988
|
|
|
76643
75989
|
/**
|
|
@@ -76766,7 +76112,7 @@ class TokensApi {
|
|
|
76766
76112
|
/**
|
|
76767
76113
|
* Tokens service.
|
|
76768
76114
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
76769
|
-
* @version
|
|
76115
|
+
* @version 234.0.0
|
|
76770
76116
|
*/
|
|
76771
76117
|
|
|
76772
76118
|
/**
|
|
@@ -76920,7 +76266,7 @@ class UploadsApi {
|
|
|
76920
76266
|
/**
|
|
76921
76267
|
* Uploads service.
|
|
76922
76268
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
76923
|
-
* @version
|
|
76269
|
+
* @version 234.0.0
|
|
76924
76270
|
*/
|
|
76925
76271
|
|
|
76926
76272
|
/**
|
|
@@ -77211,7 +76557,7 @@ class UsageApi {
|
|
|
77211
76557
|
/**
|
|
77212
76558
|
* Usage service.
|
|
77213
76559
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
77214
|
-
* @version
|
|
76560
|
+
* @version 234.0.0
|
|
77215
76561
|
*/
|
|
77216
76562
|
|
|
77217
76563
|
/**
|
|
@@ -77546,7 +76892,7 @@ class UserRecordingsApi {
|
|
|
77546
76892
|
/**
|
|
77547
76893
|
* UserRecordings service.
|
|
77548
76894
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
77549
|
-
* @version
|
|
76895
|
+
* @version 234.0.0
|
|
77550
76896
|
*/
|
|
77551
76897
|
|
|
77552
76898
|
/**
|
|
@@ -77730,7 +77076,7 @@ class UsersApi {
|
|
|
77730
77076
|
/**
|
|
77731
77077
|
* Users service.
|
|
77732
77078
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
77733
|
-
* @version
|
|
77079
|
+
* @version 234.0.0
|
|
77734
77080
|
*/
|
|
77735
77081
|
|
|
77736
77082
|
/**
|
|
@@ -80739,7 +80085,7 @@ class UtilitiesApi {
|
|
|
80739
80085
|
/**
|
|
80740
80086
|
* Utilities service.
|
|
80741
80087
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
80742
|
-
* @version
|
|
80088
|
+
* @version 234.0.0
|
|
80743
80089
|
*/
|
|
80744
80090
|
|
|
80745
80091
|
/**
|
|
@@ -80850,7 +80196,7 @@ class VoicemailApi {
|
|
|
80850
80196
|
/**
|
|
80851
80197
|
* Voicemail service.
|
|
80852
80198
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
80853
|
-
* @version
|
|
80199
|
+
* @version 234.0.0
|
|
80854
80200
|
*/
|
|
80855
80201
|
|
|
80856
80202
|
/**
|
|
@@ -81572,7 +80918,7 @@ class WebChatApi {
|
|
|
81572
80918
|
/**
|
|
81573
80919
|
* WebChat service.
|
|
81574
80920
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
81575
|
-
* @version
|
|
80921
|
+
* @version 234.0.0
|
|
81576
80922
|
*/
|
|
81577
80923
|
|
|
81578
80924
|
/**
|
|
@@ -82135,7 +81481,7 @@ class WebDeploymentsApi {
|
|
|
82135
81481
|
/**
|
|
82136
81482
|
* WebDeployments service.
|
|
82137
81483
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
82138
|
-
* @version
|
|
81484
|
+
* @version 234.0.0
|
|
82139
81485
|
*/
|
|
82140
81486
|
|
|
82141
81487
|
/**
|
|
@@ -82573,7 +81919,7 @@ class WebDeploymentsApi {
|
|
|
82573
81919
|
}
|
|
82574
81920
|
|
|
82575
81921
|
/**
|
|
82576
|
-
* Exchange an oAuth code (obtained using the Authorization Code Flow) for a JWT that can be used by webdeployments.
|
|
81922
|
+
* Exchange an oAuth code (obtained using the Authorization Code Flow or Implicit flow) for a JWT that can be used by webdeployments.
|
|
82577
81923
|
*
|
|
82578
81924
|
* @param {Object} body webDeploymentsOAuthExchangeRequest
|
|
82579
81925
|
*/
|
|
@@ -82717,7 +82063,7 @@ class WebMessagingApi {
|
|
|
82717
82063
|
/**
|
|
82718
82064
|
* WebMessaging service.
|
|
82719
82065
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
82720
|
-
* @version
|
|
82066
|
+
* @version 234.0.0
|
|
82721
82067
|
*/
|
|
82722
82068
|
|
|
82723
82069
|
/**
|
|
@@ -82863,7 +82209,7 @@ class WidgetsApi {
|
|
|
82863
82209
|
/**
|
|
82864
82210
|
* Widgets service.
|
|
82865
82211
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
82866
|
-
* @version
|
|
82212
|
+
* @version 234.0.0
|
|
82867
82213
|
*/
|
|
82868
82214
|
|
|
82869
82215
|
/**
|
|
@@ -83014,7 +82360,7 @@ class WorkforceManagementApi {
|
|
|
83014
82360
|
/**
|
|
83015
82361
|
* WorkforceManagement service.
|
|
83016
82362
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
83017
|
-
* @version
|
|
82363
|
+
* @version 234.0.0
|
|
83018
82364
|
*/
|
|
83019
82365
|
|
|
83020
82366
|
/**
|
|
@@ -91014,7 +90360,7 @@ class WorkforceManagementApi {
|
|
|
91014
90360
|
* </pre>
|
|
91015
90361
|
* </p>
|
|
91016
90362
|
* @module purecloud-platform-client-v2/index
|
|
91017
|
-
* @version
|
|
90363
|
+
* @version 234.0.0
|
|
91018
90364
|
*/
|
|
91019
90365
|
class platformClient {
|
|
91020
90366
|
constructor() {
|