purecloud-platform-client-v2 232.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 +327 -974
- package/dist/web-amd/purecloud-platform-client-v2.js +327 -974
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +151 -375
- package/dist/web-cjs/purecloud-platform-client-v2.js +218 -497
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +639 -580
- 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 +3 -32
- 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 +11 -5
- 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 +3 -2
- 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 +3 -3
- 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
|
|
@@ -14526,8 +14501,7 @@ class BusinessRulesApi {
|
|
|
14526
14501
|
/**
|
|
14527
14502
|
* Create a schema
|
|
14528
14503
|
*
|
|
14529
|
-
* @param {Object} body Schema
|
|
14530
|
-
* postBusinessrulesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14504
|
+
* @param {Object} body Business Rules Schema Create Request
|
|
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
|
|
@@ -14625,8 +14597,7 @@ class BusinessRulesApi {
|
|
|
14625
14597
|
* Update a schema
|
|
14626
14598
|
*
|
|
14627
14599
|
* @param {String} schemaId Schema ID
|
|
14628
|
-
* @param {Object} body
|
|
14629
|
-
* putBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
14600
|
+
* @param {Object} body Business Rules Schema Update Request
|
|
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
|
/**
|
|
@@ -30639,6 +30650,7 @@ class GamificationApi {
|
|
|
30639
30650
|
* @param {String} opts.sortMetricId Sort Metric Id
|
|
30640
30651
|
* @param {Object} opts.sortOrder Sort order (default to asc)
|
|
30641
30652
|
* @param {String} opts.userIds A list of up to 100 comma-separated user Ids
|
|
30653
|
+
* @param {String} opts.reportsTo The reportsTo used by ABAC policies.
|
|
30642
30654
|
*/
|
|
30643
30655
|
getGamificationInsights(filterType, filterId, granularity, comparativePeriodStartWorkday, primaryPeriodStartWorkday, opts) {
|
|
30644
30656
|
opts = opts || {};
|
|
@@ -30668,7 +30680,7 @@ class GamificationApi {
|
|
|
30668
30680
|
'/api/v2/gamification/insights',
|
|
30669
30681
|
'GET',
|
|
30670
30682
|
{ },
|
|
30671
|
-
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday,'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortKey': opts['sortKey'],'sortMetricId': opts['sortMetricId'],'sortOrder': opts['sortOrder'],'userIds': opts['userIds'] },
|
|
30683
|
+
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday,'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortKey': opts['sortKey'],'sortMetricId': opts['sortMetricId'],'sortOrder': opts['sortOrder'],'userIds': opts['userIds'],'reportsTo': opts['reportsTo'] },
|
|
30672
30684
|
{ },
|
|
30673
30685
|
{ },
|
|
30674
30686
|
null,
|
|
@@ -30840,8 +30852,12 @@ class GamificationApi {
|
|
|
30840
30852
|
* @param {String} filterId ID for the filter type.
|
|
30841
30853
|
* @param {Object} granularity Granularity
|
|
30842
30854
|
* @param {String} startWorkday The start work day. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
30855
|
+
* @param {Object} opts Optional parameters
|
|
30856
|
+
* @param {String} opts.reportsTo The reportsTo used by ABAC policies.
|
|
30843
30857
|
*/
|
|
30844
|
-
getGamificationInsightsMembers(filterType, filterId, granularity, startWorkday) {
|
|
30858
|
+
getGamificationInsightsMembers(filterType, filterId, granularity, startWorkday, opts) {
|
|
30859
|
+
opts = opts || {};
|
|
30860
|
+
|
|
30845
30861
|
// verify the required parameter 'filterType' is set
|
|
30846
30862
|
if (filterType === undefined || filterType === null) {
|
|
30847
30863
|
throw 'Missing the required parameter "filterType" when calling getGamificationInsightsMembers';
|
|
@@ -30863,7 +30879,7 @@ class GamificationApi {
|
|
|
30863
30879
|
'/api/v2/gamification/insights/members',
|
|
30864
30880
|
'GET',
|
|
30865
30881
|
{ },
|
|
30866
|
-
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'startWorkday': startWorkday },
|
|
30882
|
+
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'startWorkday': startWorkday,'reportsTo': opts['reportsTo'] },
|
|
30867
30883
|
{ },
|
|
30868
30884
|
{ },
|
|
30869
30885
|
null,
|
|
@@ -30886,6 +30902,7 @@ class GamificationApi {
|
|
|
30886
30902
|
* @param {String} opts.sortMetricId Sort Metric Id
|
|
30887
30903
|
* @param {Number} opts.sectionSize The number of top and bottom users to return before ties
|
|
30888
30904
|
* @param {String} opts.userIds A list of up to 100 comma-separated user Ids
|
|
30905
|
+
* @param {String} opts.reportsTo The reportsTo used by ABAC policies.
|
|
30889
30906
|
*/
|
|
30890
30907
|
getGamificationInsightsRankings(filterType, filterId, granularity, comparativePeriodStartWorkday, primaryPeriodStartWorkday, sortKey, opts) {
|
|
30891
30908
|
opts = opts || {};
|
|
@@ -30919,7 +30936,7 @@ class GamificationApi {
|
|
|
30919
30936
|
'/api/v2/gamification/insights/rankings',
|
|
30920
30937
|
'GET',
|
|
30921
30938
|
{ },
|
|
30922
|
-
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday,'sortKey': sortKey,'sortMetricId': opts['sortMetricId'],'sectionSize': opts['sectionSize'],'userIds': opts['userIds'] },
|
|
30939
|
+
{ 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday,'sortKey': sortKey,'sortMetricId': opts['sortMetricId'],'sectionSize': opts['sectionSize'],'userIds': opts['userIds'],'reportsTo': opts['reportsTo'] },
|
|
30923
30940
|
{ },
|
|
30924
30941
|
{ },
|
|
30925
30942
|
null,
|
|
@@ -32786,7 +32803,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
32786
32803
|
/**
|
|
32787
32804
|
* GeneralDataProtectionRegulation service.
|
|
32788
32805
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
32789
|
-
* @version
|
|
32806
|
+
* @version 234.0.0
|
|
32790
32807
|
*/
|
|
32791
32808
|
|
|
32792
32809
|
/**
|
|
@@ -32916,7 +32933,7 @@ class GeolocationApi {
|
|
|
32916
32933
|
/**
|
|
32917
32934
|
* Geolocation service.
|
|
32918
32935
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
32919
|
-
* @version
|
|
32936
|
+
* @version 234.0.0
|
|
32920
32937
|
*/
|
|
32921
32938
|
|
|
32922
32939
|
/**
|
|
@@ -33047,7 +33064,7 @@ class GreetingsApi {
|
|
|
33047
33064
|
/**
|
|
33048
33065
|
* Greetings service.
|
|
33049
33066
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
33050
|
-
* @version
|
|
33067
|
+
* @version 234.0.0
|
|
33051
33068
|
*/
|
|
33052
33069
|
|
|
33053
33070
|
/**
|
|
@@ -33589,7 +33606,7 @@ class GroupsApi {
|
|
|
33589
33606
|
/**
|
|
33590
33607
|
* Groups service.
|
|
33591
33608
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
33592
|
-
* @version
|
|
33609
|
+
* @version 234.0.0
|
|
33593
33610
|
*/
|
|
33594
33611
|
|
|
33595
33612
|
/**
|
|
@@ -34108,7 +34125,7 @@ class IdentityProviderApi {
|
|
|
34108
34125
|
/**
|
|
34109
34126
|
* IdentityProvider service.
|
|
34110
34127
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
34111
|
-
* @version
|
|
34128
|
+
* @version 234.0.0
|
|
34112
34129
|
*/
|
|
34113
34130
|
|
|
34114
34131
|
/**
|
|
@@ -34969,7 +34986,7 @@ class InfrastructureAsCodeApi {
|
|
|
34969
34986
|
/**
|
|
34970
34987
|
* InfrastructureAsCode service.
|
|
34971
34988
|
* @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
|
|
34972
|
-
* @version
|
|
34989
|
+
* @version 234.0.0
|
|
34973
34990
|
*/
|
|
34974
34991
|
|
|
34975
34992
|
/**
|
|
@@ -35136,7 +35153,7 @@ class IntegrationsApi {
|
|
|
35136
35153
|
/**
|
|
35137
35154
|
* Integrations service.
|
|
35138
35155
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
35139
|
-
* @version
|
|
35156
|
+
* @version 234.0.0
|
|
35140
35157
|
*/
|
|
35141
35158
|
|
|
35142
35159
|
/**
|
|
@@ -37784,7 +37801,7 @@ class JourneyApi {
|
|
|
37784
37801
|
/**
|
|
37785
37802
|
* Journey service.
|
|
37786
37803
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
37787
|
-
* @version
|
|
37804
|
+
* @version 234.0.0
|
|
37788
37805
|
*/
|
|
37789
37806
|
|
|
37790
37807
|
/**
|
|
@@ -39881,7 +39898,7 @@ class KnowledgeApi {
|
|
|
39881
39898
|
/**
|
|
39882
39899
|
* Knowledge service.
|
|
39883
39900
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
39884
|
-
* @version
|
|
39901
|
+
* @version 234.0.0
|
|
39885
39902
|
*/
|
|
39886
39903
|
|
|
39887
39904
|
/**
|
|
@@ -40106,114 +40123,6 @@ class KnowledgeApi {
|
|
|
40106
40123
|
);
|
|
40107
40124
|
}
|
|
40108
40125
|
|
|
40109
|
-
/**
|
|
40110
|
-
* Delete category
|
|
40111
|
-
*
|
|
40112
|
-
* @param {String} categoryId Category ID
|
|
40113
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
40114
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
40115
|
-
* @deprecated
|
|
40116
|
-
*/
|
|
40117
|
-
deleteKnowledgeKnowledgebaseLanguageCategory(categoryId, knowledgeBaseId, languageCode) {
|
|
40118
|
-
// verify the required parameter 'categoryId' is set
|
|
40119
|
-
if (categoryId === undefined || categoryId === null || categoryId === '') {
|
|
40120
|
-
throw 'Missing the required parameter "categoryId" when calling deleteKnowledgeKnowledgebaseLanguageCategory';
|
|
40121
|
-
}
|
|
40122
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
40123
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
40124
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageCategory';
|
|
40125
|
-
}
|
|
40126
|
-
// verify the required parameter 'languageCode' is set
|
|
40127
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
40128
|
-
throw 'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageCategory';
|
|
40129
|
-
}
|
|
40130
|
-
|
|
40131
|
-
return this.apiClient.callApi(
|
|
40132
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}',
|
|
40133
|
-
'DELETE',
|
|
40134
|
-
{ 'categoryId': categoryId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
40135
|
-
{ },
|
|
40136
|
-
{ },
|
|
40137
|
-
{ },
|
|
40138
|
-
null,
|
|
40139
|
-
['PureCloud OAuth'],
|
|
40140
|
-
['application/json'],
|
|
40141
|
-
['application/json']
|
|
40142
|
-
);
|
|
40143
|
-
}
|
|
40144
|
-
|
|
40145
|
-
/**
|
|
40146
|
-
* Delete document
|
|
40147
|
-
*
|
|
40148
|
-
* @param {String} documentId Document ID
|
|
40149
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
40150
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
40151
|
-
* @deprecated
|
|
40152
|
-
*/
|
|
40153
|
-
deleteKnowledgeKnowledgebaseLanguageDocument(documentId, knowledgeBaseId, languageCode) {
|
|
40154
|
-
// verify the required parameter 'documentId' is set
|
|
40155
|
-
if (documentId === undefined || documentId === null || documentId === '') {
|
|
40156
|
-
throw 'Missing the required parameter "documentId" when calling deleteKnowledgeKnowledgebaseLanguageDocument';
|
|
40157
|
-
}
|
|
40158
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
40159
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
40160
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageDocument';
|
|
40161
|
-
}
|
|
40162
|
-
// verify the required parameter 'languageCode' is set
|
|
40163
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
40164
|
-
throw 'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageDocument';
|
|
40165
|
-
}
|
|
40166
|
-
|
|
40167
|
-
return this.apiClient.callApi(
|
|
40168
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}',
|
|
40169
|
-
'DELETE',
|
|
40170
|
-
{ 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
40171
|
-
{ },
|
|
40172
|
-
{ },
|
|
40173
|
-
{ },
|
|
40174
|
-
null,
|
|
40175
|
-
['PureCloud OAuth'],
|
|
40176
|
-
['application/json'],
|
|
40177
|
-
['application/json']
|
|
40178
|
-
);
|
|
40179
|
-
}
|
|
40180
|
-
|
|
40181
|
-
/**
|
|
40182
|
-
* Delete import operation
|
|
40183
|
-
*
|
|
40184
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
40185
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
40186
|
-
* @param {String} importId Import ID
|
|
40187
|
-
* @deprecated
|
|
40188
|
-
*/
|
|
40189
|
-
deleteKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId, languageCode, importId) {
|
|
40190
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
40191
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
40192
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
40193
|
-
}
|
|
40194
|
-
// verify the required parameter 'languageCode' is set
|
|
40195
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
40196
|
-
throw 'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
40197
|
-
}
|
|
40198
|
-
// verify the required parameter 'importId' is set
|
|
40199
|
-
if (importId === undefined || importId === null || importId === '') {
|
|
40200
|
-
throw 'Missing the required parameter "importId" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
40201
|
-
}
|
|
40202
|
-
|
|
40203
|
-
return this.apiClient.callApi(
|
|
40204
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}',
|
|
40205
|
-
'DELETE',
|
|
40206
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'importId': importId },
|
|
40207
|
-
{ },
|
|
40208
|
-
{ },
|
|
40209
|
-
{ },
|
|
40210
|
-
null,
|
|
40211
|
-
['PureCloud OAuth'],
|
|
40212
|
-
['application/json'],
|
|
40213
|
-
['application/json']
|
|
40214
|
-
);
|
|
40215
|
-
}
|
|
40216
|
-
|
|
40217
40126
|
/**
|
|
40218
40127
|
* Delete Salesforce Knowledge integration source
|
|
40219
40128
|
*
|
|
@@ -41037,312 +40946,6 @@ class KnowledgeApi {
|
|
|
41037
40946
|
);
|
|
41038
40947
|
}
|
|
41039
40948
|
|
|
41040
|
-
/**
|
|
41041
|
-
* Get categories
|
|
41042
|
-
*
|
|
41043
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
41044
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
41045
|
-
* @param {Object} opts Optional parameters
|
|
41046
|
-
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
41047
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
41048
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
41049
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
41050
|
-
* @param {String} opts.name Filter to return the categories that starts with the given category name.
|
|
41051
|
-
* @deprecated
|
|
41052
|
-
*/
|
|
41053
|
-
getKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId, languageCode, opts) {
|
|
41054
|
-
opts = opts || {};
|
|
41055
|
-
|
|
41056
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
41057
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
41058
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageCategories';
|
|
41059
|
-
}
|
|
41060
|
-
// verify the required parameter 'languageCode' is set
|
|
41061
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
41062
|
-
throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageCategories';
|
|
41063
|
-
}
|
|
41064
|
-
|
|
41065
|
-
return this.apiClient.callApi(
|
|
41066
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories',
|
|
41067
|
-
'GET',
|
|
41068
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
41069
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'] },
|
|
41070
|
-
{ },
|
|
41071
|
-
{ },
|
|
41072
|
-
null,
|
|
41073
|
-
['PureCloud OAuth'],
|
|
41074
|
-
['application/json'],
|
|
41075
|
-
['application/json']
|
|
41076
|
-
);
|
|
41077
|
-
}
|
|
41078
|
-
|
|
41079
|
-
/**
|
|
41080
|
-
* Get category
|
|
41081
|
-
*
|
|
41082
|
-
* @param {String} categoryId Category ID
|
|
41083
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
41084
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
41085
|
-
* @deprecated
|
|
41086
|
-
*/
|
|
41087
|
-
getKnowledgeKnowledgebaseLanguageCategory(categoryId, knowledgeBaseId, languageCode) {
|
|
41088
|
-
// verify the required parameter 'categoryId' is set
|
|
41089
|
-
if (categoryId === undefined || categoryId === null || categoryId === '') {
|
|
41090
|
-
throw 'Missing the required parameter "categoryId" when calling getKnowledgeKnowledgebaseLanguageCategory';
|
|
41091
|
-
}
|
|
41092
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
41093
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
41094
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageCategory';
|
|
41095
|
-
}
|
|
41096
|
-
// verify the required parameter 'languageCode' is set
|
|
41097
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
41098
|
-
throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageCategory';
|
|
41099
|
-
}
|
|
41100
|
-
|
|
41101
|
-
return this.apiClient.callApi(
|
|
41102
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}',
|
|
41103
|
-
'GET',
|
|
41104
|
-
{ 'categoryId': categoryId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
41105
|
-
{ },
|
|
41106
|
-
{ },
|
|
41107
|
-
{ },
|
|
41108
|
-
null,
|
|
41109
|
-
['PureCloud OAuth'],
|
|
41110
|
-
['application/json'],
|
|
41111
|
-
['application/json']
|
|
41112
|
-
);
|
|
41113
|
-
}
|
|
41114
|
-
|
|
41115
|
-
/**
|
|
41116
|
-
* Get document
|
|
41117
|
-
*
|
|
41118
|
-
* @param {String} documentId Document ID
|
|
41119
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
41120
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
41121
|
-
* @deprecated
|
|
41122
|
-
*/
|
|
41123
|
-
getKnowledgeKnowledgebaseLanguageDocument(documentId, knowledgeBaseId, languageCode) {
|
|
41124
|
-
// verify the required parameter 'documentId' is set
|
|
41125
|
-
if (documentId === undefined || documentId === null || documentId === '') {
|
|
41126
|
-
throw 'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseLanguageDocument';
|
|
41127
|
-
}
|
|
41128
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
41129
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
41130
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocument';
|
|
41131
|
-
}
|
|
41132
|
-
// verify the required parameter 'languageCode' is set
|
|
41133
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
41134
|
-
throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocument';
|
|
41135
|
-
}
|
|
41136
|
-
|
|
41137
|
-
return this.apiClient.callApi(
|
|
41138
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}',
|
|
41139
|
-
'GET',
|
|
41140
|
-
{ 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
41141
|
-
{ },
|
|
41142
|
-
{ },
|
|
41143
|
-
{ },
|
|
41144
|
-
null,
|
|
41145
|
-
['PureCloud OAuth'],
|
|
41146
|
-
['application/json'],
|
|
41147
|
-
['application/json']
|
|
41148
|
-
);
|
|
41149
|
-
}
|
|
41150
|
-
|
|
41151
|
-
/**
|
|
41152
|
-
* Get document content upload status
|
|
41153
|
-
*
|
|
41154
|
-
* @param {String} documentId Document ID
|
|
41155
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
41156
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
41157
|
-
* @param {String} uploadId UploadId
|
|
41158
|
-
* @deprecated
|
|
41159
|
-
*/
|
|
41160
|
-
getKnowledgeKnowledgebaseLanguageDocumentUpload(documentId, knowledgeBaseId, languageCode, uploadId) {
|
|
41161
|
-
// verify the required parameter 'documentId' is set
|
|
41162
|
-
if (documentId === undefined || documentId === null || documentId === '') {
|
|
41163
|
-
throw 'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';
|
|
41164
|
-
}
|
|
41165
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
41166
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
41167
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';
|
|
41168
|
-
}
|
|
41169
|
-
// verify the required parameter 'languageCode' is set
|
|
41170
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
41171
|
-
throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';
|
|
41172
|
-
}
|
|
41173
|
-
// verify the required parameter 'uploadId' is set
|
|
41174
|
-
if (uploadId === undefined || uploadId === null || uploadId === '') {
|
|
41175
|
-
throw 'Missing the required parameter "uploadId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';
|
|
41176
|
-
}
|
|
41177
|
-
|
|
41178
|
-
return this.apiClient.callApi(
|
|
41179
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}/uploads/{uploadId}',
|
|
41180
|
-
'GET',
|
|
41181
|
-
{ 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'uploadId': uploadId },
|
|
41182
|
-
{ },
|
|
41183
|
-
{ },
|
|
41184
|
-
{ },
|
|
41185
|
-
null,
|
|
41186
|
-
['PureCloud OAuth'],
|
|
41187
|
-
['application/json'],
|
|
41188
|
-
['application/json']
|
|
41189
|
-
);
|
|
41190
|
-
}
|
|
41191
|
-
|
|
41192
|
-
/**
|
|
41193
|
-
* Get documents
|
|
41194
|
-
*
|
|
41195
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
41196
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
41197
|
-
* @param {Object} opts Optional parameters
|
|
41198
|
-
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
41199
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
41200
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
41201
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
41202
|
-
* @param {String} opts.categories Filter by categories ids, comma separated values expected.
|
|
41203
|
-
* @param {String} opts.title Filter by document title.
|
|
41204
|
-
* @param {Object} opts.sortBy Sort by.
|
|
41205
|
-
* @param {Object} opts.sortOrder Sort Order.
|
|
41206
|
-
* @param {Array.<String>} opts.documentIds Comma-separated list of document identifiers to fetch by.
|
|
41207
|
-
* @deprecated
|
|
41208
|
-
*/
|
|
41209
|
-
getKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, opts) {
|
|
41210
|
-
opts = opts || {};
|
|
41211
|
-
|
|
41212
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
41213
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
41214
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocuments';
|
|
41215
|
-
}
|
|
41216
|
-
// verify the required parameter 'languageCode' is set
|
|
41217
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
41218
|
-
throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocuments';
|
|
41219
|
-
}
|
|
41220
|
-
|
|
41221
|
-
return this.apiClient.callApi(
|
|
41222
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
|
|
41223
|
-
'GET',
|
|
41224
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
41225
|
-
{ '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') },
|
|
41226
|
-
{ },
|
|
41227
|
-
{ },
|
|
41228
|
-
null,
|
|
41229
|
-
['PureCloud OAuth'],
|
|
41230
|
-
['application/json'],
|
|
41231
|
-
['application/json']
|
|
41232
|
-
);
|
|
41233
|
-
}
|
|
41234
|
-
|
|
41235
|
-
/**
|
|
41236
|
-
* Get import operation report
|
|
41237
|
-
*
|
|
41238
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
41239
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
41240
|
-
* @param {String} importId Import ID
|
|
41241
|
-
* @deprecated
|
|
41242
|
-
*/
|
|
41243
|
-
getKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId, languageCode, importId) {
|
|
41244
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
41245
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
41246
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
41247
|
-
}
|
|
41248
|
-
// verify the required parameter 'languageCode' is set
|
|
41249
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
41250
|
-
throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
41251
|
-
}
|
|
41252
|
-
// verify the required parameter 'importId' is set
|
|
41253
|
-
if (importId === undefined || importId === null || importId === '') {
|
|
41254
|
-
throw 'Missing the required parameter "importId" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
41255
|
-
}
|
|
41256
|
-
|
|
41257
|
-
return this.apiClient.callApi(
|
|
41258
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}',
|
|
41259
|
-
'GET',
|
|
41260
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'importId': importId },
|
|
41261
|
-
{ },
|
|
41262
|
-
{ },
|
|
41263
|
-
{ },
|
|
41264
|
-
null,
|
|
41265
|
-
['PureCloud OAuth'],
|
|
41266
|
-
['application/json'],
|
|
41267
|
-
['application/json']
|
|
41268
|
-
);
|
|
41269
|
-
}
|
|
41270
|
-
|
|
41271
|
-
/**
|
|
41272
|
-
* Get training detail
|
|
41273
|
-
*
|
|
41274
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
41275
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
41276
|
-
* @param {String} trainingId Training ID
|
|
41277
|
-
* @deprecated
|
|
41278
|
-
*/
|
|
41279
|
-
getKnowledgeKnowledgebaseLanguageTraining(knowledgeBaseId, languageCode, trainingId) {
|
|
41280
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
41281
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
41282
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageTraining';
|
|
41283
|
-
}
|
|
41284
|
-
// verify the required parameter 'languageCode' is set
|
|
41285
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
41286
|
-
throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageTraining';
|
|
41287
|
-
}
|
|
41288
|
-
// verify the required parameter 'trainingId' is set
|
|
41289
|
-
if (trainingId === undefined || trainingId === null || trainingId === '') {
|
|
41290
|
-
throw 'Missing the required parameter "trainingId" when calling getKnowledgeKnowledgebaseLanguageTraining';
|
|
41291
|
-
}
|
|
41292
|
-
|
|
41293
|
-
return this.apiClient.callApi(
|
|
41294
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings/{trainingId}',
|
|
41295
|
-
'GET',
|
|
41296
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'trainingId': trainingId },
|
|
41297
|
-
{ },
|
|
41298
|
-
{ },
|
|
41299
|
-
{ },
|
|
41300
|
-
null,
|
|
41301
|
-
['PureCloud OAuth'],
|
|
41302
|
-
['application/json'],
|
|
41303
|
-
['application/json']
|
|
41304
|
-
);
|
|
41305
|
-
}
|
|
41306
|
-
|
|
41307
|
-
/**
|
|
41308
|
-
* Get all trainings information for a knowledgebase
|
|
41309
|
-
*
|
|
41310
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
41311
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
41312
|
-
* @param {Object} opts Optional parameters
|
|
41313
|
-
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
41314
|
-
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
41315
|
-
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
41316
|
-
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
41317
|
-
* @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
|
|
41318
|
-
* @deprecated
|
|
41319
|
-
*/
|
|
41320
|
-
getKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId, languageCode, opts) {
|
|
41321
|
-
opts = opts || {};
|
|
41322
|
-
|
|
41323
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
41324
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
41325
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageTrainings';
|
|
41326
|
-
}
|
|
41327
|
-
// verify the required parameter 'languageCode' is set
|
|
41328
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
41329
|
-
throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageTrainings';
|
|
41330
|
-
}
|
|
41331
|
-
|
|
41332
|
-
return this.apiClient.callApi(
|
|
41333
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings',
|
|
41334
|
-
'GET',
|
|
41335
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
41336
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'knowledgeDocumentsState': opts['knowledgeDocumentsState'] },
|
|
41337
|
-
{ },
|
|
41338
|
-
{ },
|
|
41339
|
-
null,
|
|
41340
|
-
['PureCloud OAuth'],
|
|
41341
|
-
['application/json'],
|
|
41342
|
-
['application/json']
|
|
41343
|
-
);
|
|
41344
|
-
}
|
|
41345
|
-
|
|
41346
40949
|
/**
|
|
41347
40950
|
* Get operations
|
|
41348
40951
|
*
|
|
@@ -42055,165 +41658,6 @@ class KnowledgeApi {
|
|
|
42055
41658
|
);
|
|
42056
41659
|
}
|
|
42057
41660
|
|
|
42058
|
-
/**
|
|
42059
|
-
* Update category
|
|
42060
|
-
*
|
|
42061
|
-
* @param {String} categoryId Category ID
|
|
42062
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
42063
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
42064
|
-
* @param {Object} body
|
|
42065
|
-
* @deprecated
|
|
42066
|
-
*/
|
|
42067
|
-
patchKnowledgeKnowledgebaseLanguageCategory(categoryId, knowledgeBaseId, languageCode, body) {
|
|
42068
|
-
// verify the required parameter 'categoryId' is set
|
|
42069
|
-
if (categoryId === undefined || categoryId === null || categoryId === '') {
|
|
42070
|
-
throw 'Missing the required parameter "categoryId" when calling patchKnowledgeKnowledgebaseLanguageCategory';
|
|
42071
|
-
}
|
|
42072
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
42073
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
42074
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageCategory';
|
|
42075
|
-
}
|
|
42076
|
-
// verify the required parameter 'languageCode' is set
|
|
42077
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
42078
|
-
throw 'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageCategory';
|
|
42079
|
-
}
|
|
42080
|
-
// verify the required parameter 'body' is set
|
|
42081
|
-
if (body === undefined || body === null) {
|
|
42082
|
-
throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageCategory';
|
|
42083
|
-
}
|
|
42084
|
-
|
|
42085
|
-
return this.apiClient.callApi(
|
|
42086
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}',
|
|
42087
|
-
'PATCH',
|
|
42088
|
-
{ 'categoryId': categoryId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
42089
|
-
{ },
|
|
42090
|
-
{ },
|
|
42091
|
-
{ },
|
|
42092
|
-
body,
|
|
42093
|
-
['PureCloud OAuth'],
|
|
42094
|
-
['application/json'],
|
|
42095
|
-
['application/json']
|
|
42096
|
-
);
|
|
42097
|
-
}
|
|
42098
|
-
|
|
42099
|
-
/**
|
|
42100
|
-
* Update document
|
|
42101
|
-
*
|
|
42102
|
-
* @param {String} documentId Document ID
|
|
42103
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
42104
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
42105
|
-
* @param {Object} body
|
|
42106
|
-
* @deprecated
|
|
42107
|
-
*/
|
|
42108
|
-
patchKnowledgeKnowledgebaseLanguageDocument(documentId, knowledgeBaseId, languageCode, body) {
|
|
42109
|
-
// verify the required parameter 'documentId' is set
|
|
42110
|
-
if (documentId === undefined || documentId === null || documentId === '') {
|
|
42111
|
-
throw 'Missing the required parameter "documentId" when calling patchKnowledgeKnowledgebaseLanguageDocument';
|
|
42112
|
-
}
|
|
42113
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
42114
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
42115
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocument';
|
|
42116
|
-
}
|
|
42117
|
-
// verify the required parameter 'languageCode' is set
|
|
42118
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
42119
|
-
throw 'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocument';
|
|
42120
|
-
}
|
|
42121
|
-
// verify the required parameter 'body' is set
|
|
42122
|
-
if (body === undefined || body === null) {
|
|
42123
|
-
throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocument';
|
|
42124
|
-
}
|
|
42125
|
-
|
|
42126
|
-
return this.apiClient.callApi(
|
|
42127
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}',
|
|
42128
|
-
'PATCH',
|
|
42129
|
-
{ 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
42130
|
-
{ },
|
|
42131
|
-
{ },
|
|
42132
|
-
{ },
|
|
42133
|
-
body,
|
|
42134
|
-
['PureCloud OAuth'],
|
|
42135
|
-
['application/json'],
|
|
42136
|
-
['application/json']
|
|
42137
|
-
);
|
|
42138
|
-
}
|
|
42139
|
-
|
|
42140
|
-
/**
|
|
42141
|
-
* Update documents collection
|
|
42142
|
-
*
|
|
42143
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
42144
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
42145
|
-
* @param {Array.<Object>} body
|
|
42146
|
-
* @deprecated
|
|
42147
|
-
*/
|
|
42148
|
-
patchKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, body) {
|
|
42149
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
42150
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
42151
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocuments';
|
|
42152
|
-
}
|
|
42153
|
-
// verify the required parameter 'languageCode' is set
|
|
42154
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
42155
|
-
throw 'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocuments';
|
|
42156
|
-
}
|
|
42157
|
-
// verify the required parameter 'body' is set
|
|
42158
|
-
if (body === undefined || body === null) {
|
|
42159
|
-
throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocuments';
|
|
42160
|
-
}
|
|
42161
|
-
|
|
42162
|
-
return this.apiClient.callApi(
|
|
42163
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
|
|
42164
|
-
'PATCH',
|
|
42165
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
42166
|
-
{ },
|
|
42167
|
-
{ },
|
|
42168
|
-
{ },
|
|
42169
|
-
body,
|
|
42170
|
-
['PureCloud OAuth'],
|
|
42171
|
-
['application/json'],
|
|
42172
|
-
['application/json']
|
|
42173
|
-
);
|
|
42174
|
-
}
|
|
42175
|
-
|
|
42176
|
-
/**
|
|
42177
|
-
* Start import operation
|
|
42178
|
-
*
|
|
42179
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
42180
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
42181
|
-
* @param {String} importId Import ID
|
|
42182
|
-
* @param {Object} body
|
|
42183
|
-
* @deprecated
|
|
42184
|
-
*/
|
|
42185
|
-
patchKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId, languageCode, importId, body) {
|
|
42186
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
42187
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
42188
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
42189
|
-
}
|
|
42190
|
-
// verify the required parameter 'languageCode' is set
|
|
42191
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
42192
|
-
throw 'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
42193
|
-
}
|
|
42194
|
-
// verify the required parameter 'importId' is set
|
|
42195
|
-
if (importId === undefined || importId === null || importId === '') {
|
|
42196
|
-
throw 'Missing the required parameter "importId" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
42197
|
-
}
|
|
42198
|
-
// verify the required parameter 'body' is set
|
|
42199
|
-
if (body === undefined || body === null) {
|
|
42200
|
-
throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';
|
|
42201
|
-
}
|
|
42202
|
-
|
|
42203
|
-
return this.apiClient.callApi(
|
|
42204
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}',
|
|
42205
|
-
'PATCH',
|
|
42206
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'importId': importId },
|
|
42207
|
-
{ },
|
|
42208
|
-
{ },
|
|
42209
|
-
{ },
|
|
42210
|
-
body,
|
|
42211
|
-
['PureCloud OAuth'],
|
|
42212
|
-
['application/json'],
|
|
42213
|
-
['application/json']
|
|
42214
|
-
);
|
|
42215
|
-
}
|
|
42216
|
-
|
|
42217
41661
|
/**
|
|
42218
41662
|
* Send update to the parse operation
|
|
42219
41663
|
*
|
|
@@ -43183,222 +42627,6 @@ class KnowledgeApi {
|
|
|
43183
42627
|
);
|
|
43184
42628
|
}
|
|
43185
42629
|
|
|
43186
|
-
/**
|
|
43187
|
-
* Create new category
|
|
43188
|
-
*
|
|
43189
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
43190
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
43191
|
-
* @param {Object} body
|
|
43192
|
-
* @deprecated
|
|
43193
|
-
*/
|
|
43194
|
-
postKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId, languageCode, body) {
|
|
43195
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
43196
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
43197
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageCategories';
|
|
43198
|
-
}
|
|
43199
|
-
// verify the required parameter 'languageCode' is set
|
|
43200
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
43201
|
-
throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageCategories';
|
|
43202
|
-
}
|
|
43203
|
-
// verify the required parameter 'body' is set
|
|
43204
|
-
if (body === undefined || body === null) {
|
|
43205
|
-
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageCategories';
|
|
43206
|
-
}
|
|
43207
|
-
|
|
43208
|
-
return this.apiClient.callApi(
|
|
43209
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories',
|
|
43210
|
-
'POST',
|
|
43211
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
43212
|
-
{ },
|
|
43213
|
-
{ },
|
|
43214
|
-
{ },
|
|
43215
|
-
body,
|
|
43216
|
-
['PureCloud OAuth'],
|
|
43217
|
-
['application/json'],
|
|
43218
|
-
['application/json']
|
|
43219
|
-
);
|
|
43220
|
-
}
|
|
43221
|
-
|
|
43222
|
-
/**
|
|
43223
|
-
* Upload Article Content
|
|
43224
|
-
*
|
|
43225
|
-
* @param {String} documentId Document ID
|
|
43226
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
43227
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
43228
|
-
* @param {Object} body
|
|
43229
|
-
* @deprecated
|
|
43230
|
-
*/
|
|
43231
|
-
postKnowledgeKnowledgebaseLanguageDocumentUploads(documentId, knowledgeBaseId, languageCode, body) {
|
|
43232
|
-
// verify the required parameter 'documentId' is set
|
|
43233
|
-
if (documentId === undefined || documentId === null || documentId === '') {
|
|
43234
|
-
throw 'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';
|
|
43235
|
-
}
|
|
43236
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
43237
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
43238
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';
|
|
43239
|
-
}
|
|
43240
|
-
// verify the required parameter 'languageCode' is set
|
|
43241
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
43242
|
-
throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';
|
|
43243
|
-
}
|
|
43244
|
-
// verify the required parameter 'body' is set
|
|
43245
|
-
if (body === undefined || body === null) {
|
|
43246
|
-
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';
|
|
43247
|
-
}
|
|
43248
|
-
|
|
43249
|
-
return this.apiClient.callApi(
|
|
43250
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}/uploads',
|
|
43251
|
-
'POST',
|
|
43252
|
-
{ 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
43253
|
-
{ },
|
|
43254
|
-
{ },
|
|
43255
|
-
{ },
|
|
43256
|
-
body,
|
|
43257
|
-
['PureCloud OAuth'],
|
|
43258
|
-
['application/json'],
|
|
43259
|
-
['application/json']
|
|
43260
|
-
);
|
|
43261
|
-
}
|
|
43262
|
-
|
|
43263
|
-
/**
|
|
43264
|
-
* Create document
|
|
43265
|
-
*
|
|
43266
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
43267
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
43268
|
-
* @param {Object} body
|
|
43269
|
-
* @deprecated
|
|
43270
|
-
*/
|
|
43271
|
-
postKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, body) {
|
|
43272
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
43273
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
43274
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocuments';
|
|
43275
|
-
}
|
|
43276
|
-
// verify the required parameter 'languageCode' is set
|
|
43277
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
43278
|
-
throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocuments';
|
|
43279
|
-
}
|
|
43280
|
-
// verify the required parameter 'body' is set
|
|
43281
|
-
if (body === undefined || body === null) {
|
|
43282
|
-
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocuments';
|
|
43283
|
-
}
|
|
43284
|
-
|
|
43285
|
-
return this.apiClient.callApi(
|
|
43286
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
|
|
43287
|
-
'POST',
|
|
43288
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
43289
|
-
{ },
|
|
43290
|
-
{ },
|
|
43291
|
-
{ },
|
|
43292
|
-
body,
|
|
43293
|
-
['PureCloud OAuth'],
|
|
43294
|
-
['application/json'],
|
|
43295
|
-
['application/json']
|
|
43296
|
-
);
|
|
43297
|
-
}
|
|
43298
|
-
|
|
43299
|
-
/**
|
|
43300
|
-
* Create import operation
|
|
43301
|
-
*
|
|
43302
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
43303
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
43304
|
-
* @param {Object} body
|
|
43305
|
-
* @deprecated
|
|
43306
|
-
*/
|
|
43307
|
-
postKnowledgeKnowledgebaseLanguageDocumentsImports(knowledgeBaseId, languageCode, body) {
|
|
43308
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
43309
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
43310
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';
|
|
43311
|
-
}
|
|
43312
|
-
// verify the required parameter 'languageCode' is set
|
|
43313
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
43314
|
-
throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';
|
|
43315
|
-
}
|
|
43316
|
-
// verify the required parameter 'body' is set
|
|
43317
|
-
if (body === undefined || body === null) {
|
|
43318
|
-
throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';
|
|
43319
|
-
}
|
|
43320
|
-
|
|
43321
|
-
return this.apiClient.callApi(
|
|
43322
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports',
|
|
43323
|
-
'POST',
|
|
43324
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
43325
|
-
{ },
|
|
43326
|
-
{ },
|
|
43327
|
-
{ },
|
|
43328
|
-
body,
|
|
43329
|
-
['PureCloud OAuth'],
|
|
43330
|
-
['application/json'],
|
|
43331
|
-
['application/json']
|
|
43332
|
-
);
|
|
43333
|
-
}
|
|
43334
|
-
|
|
43335
|
-
/**
|
|
43336
|
-
* Promote trained documents from draft state to active.
|
|
43337
|
-
*
|
|
43338
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
43339
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
43340
|
-
* @param {String} trainingId Training ID
|
|
43341
|
-
* @deprecated
|
|
43342
|
-
*/
|
|
43343
|
-
postKnowledgeKnowledgebaseLanguageTrainingPromote(knowledgeBaseId, languageCode, trainingId) {
|
|
43344
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
43345
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
43346
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';
|
|
43347
|
-
}
|
|
43348
|
-
// verify the required parameter 'languageCode' is set
|
|
43349
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
43350
|
-
throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';
|
|
43351
|
-
}
|
|
43352
|
-
// verify the required parameter 'trainingId' is set
|
|
43353
|
-
if (trainingId === undefined || trainingId === null || trainingId === '') {
|
|
43354
|
-
throw 'Missing the required parameter "trainingId" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';
|
|
43355
|
-
}
|
|
43356
|
-
|
|
43357
|
-
return this.apiClient.callApi(
|
|
43358
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings/{trainingId}/promote',
|
|
43359
|
-
'POST',
|
|
43360
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'trainingId': trainingId },
|
|
43361
|
-
{ },
|
|
43362
|
-
{ },
|
|
43363
|
-
{ },
|
|
43364
|
-
null,
|
|
43365
|
-
['PureCloud OAuth'],
|
|
43366
|
-
['application/json'],
|
|
43367
|
-
['application/json']
|
|
43368
|
-
);
|
|
43369
|
-
}
|
|
43370
|
-
|
|
43371
|
-
/**
|
|
43372
|
-
* Trigger training
|
|
43373
|
-
*
|
|
43374
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
43375
|
-
* @param {Object} languageCode Language code, format: iso2-LOCALE
|
|
43376
|
-
* @deprecated
|
|
43377
|
-
*/
|
|
43378
|
-
postKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId, languageCode) {
|
|
43379
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
43380
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
43381
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageTrainings';
|
|
43382
|
-
}
|
|
43383
|
-
// verify the required parameter 'languageCode' is set
|
|
43384
|
-
if (languageCode === undefined || languageCode === null || languageCode === '') {
|
|
43385
|
-
throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageTrainings';
|
|
43386
|
-
}
|
|
43387
|
-
|
|
43388
|
-
return this.apiClient.callApi(
|
|
43389
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings',
|
|
43390
|
-
'POST',
|
|
43391
|
-
{ 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
|
|
43392
|
-
{ },
|
|
43393
|
-
{ },
|
|
43394
|
-
{ },
|
|
43395
|
-
null,
|
|
43396
|
-
['PureCloud OAuth'],
|
|
43397
|
-
['application/json'],
|
|
43398
|
-
['application/json']
|
|
43399
|
-
);
|
|
43400
|
-
}
|
|
43401
|
-
|
|
43402
42630
|
/**
|
|
43403
42631
|
* Import the parsed articles
|
|
43404
42632
|
*
|
|
@@ -43464,36 +42692,6 @@ class KnowledgeApi {
|
|
|
43464
42692
|
);
|
|
43465
42693
|
}
|
|
43466
42694
|
|
|
43467
|
-
/**
|
|
43468
|
-
* Search Documents
|
|
43469
|
-
*
|
|
43470
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
43471
|
-
* @param {Object} opts Optional parameters
|
|
43472
|
-
* @param {Object} opts.body
|
|
43473
|
-
* @deprecated
|
|
43474
|
-
*/
|
|
43475
|
-
postKnowledgeKnowledgebaseSearch(knowledgeBaseId, opts) {
|
|
43476
|
-
opts = opts || {};
|
|
43477
|
-
|
|
43478
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
43479
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
43480
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';
|
|
43481
|
-
}
|
|
43482
|
-
|
|
43483
|
-
return this.apiClient.callApi(
|
|
43484
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search',
|
|
43485
|
-
'POST',
|
|
43486
|
-
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
43487
|
-
{ },
|
|
43488
|
-
{ },
|
|
43489
|
-
{ },
|
|
43490
|
-
opts['body'],
|
|
43491
|
-
['PureCloud OAuth'],
|
|
43492
|
-
['application/json'],
|
|
43493
|
-
['application/json']
|
|
43494
|
-
);
|
|
43495
|
-
}
|
|
43496
|
-
|
|
43497
42695
|
/**
|
|
43498
42696
|
* Create Salesforce Knowledge integration source
|
|
43499
42697
|
*
|
|
@@ -43783,7 +42981,7 @@ class LanguageUnderstandingApi {
|
|
|
43783
42981
|
/**
|
|
43784
42982
|
* LanguageUnderstanding service.
|
|
43785
42983
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
43786
|
-
* @version
|
|
42984
|
+
* @version 234.0.0
|
|
43787
42985
|
*/
|
|
43788
42986
|
|
|
43789
42987
|
/**
|
|
@@ -45002,7 +44200,7 @@ class LanguagesApi {
|
|
|
45002
44200
|
/**
|
|
45003
44201
|
* Languages service.
|
|
45004
44202
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
45005
|
-
* @version
|
|
44203
|
+
* @version 234.0.0
|
|
45006
44204
|
*/
|
|
45007
44205
|
|
|
45008
44206
|
/**
|
|
@@ -45224,7 +44422,7 @@ class LearningApi {
|
|
|
45224
44422
|
/**
|
|
45225
44423
|
* Learning service.
|
|
45226
44424
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
45227
|
-
* @version
|
|
44425
|
+
* @version 234.0.0
|
|
45228
44426
|
*/
|
|
45229
44427
|
|
|
45230
44428
|
/**
|
|
@@ -46257,7 +45455,7 @@ class LicenseApi {
|
|
|
46257
45455
|
/**
|
|
46258
45456
|
* License service.
|
|
46259
45457
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
46260
|
-
* @version
|
|
45458
|
+
* @version 234.0.0
|
|
46261
45459
|
*/
|
|
46262
45460
|
|
|
46263
45461
|
/**
|
|
@@ -46495,7 +45693,7 @@ class LocationsApi {
|
|
|
46495
45693
|
/**
|
|
46496
45694
|
* Locations service.
|
|
46497
45695
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
46498
|
-
* @version
|
|
45696
|
+
* @version 234.0.0
|
|
46499
45697
|
*/
|
|
46500
45698
|
|
|
46501
45699
|
/**
|
|
@@ -46731,7 +45929,7 @@ class LogCaptureApi {
|
|
|
46731
45929
|
/**
|
|
46732
45930
|
* LogCapture service.
|
|
46733
45931
|
* @module purecloud-platform-client-v2/api/LogCaptureApi
|
|
46734
|
-
* @version
|
|
45932
|
+
* @version 234.0.0
|
|
46735
45933
|
*/
|
|
46736
45934
|
|
|
46737
45935
|
/**
|
|
@@ -46930,7 +46128,7 @@ class MessagingApi {
|
|
|
46930
46128
|
/**
|
|
46931
46129
|
* Messaging service.
|
|
46932
46130
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
46933
|
-
* @version
|
|
46131
|
+
* @version 234.0.0
|
|
46934
46132
|
*/
|
|
46935
46133
|
|
|
46936
46134
|
/**
|
|
@@ -47289,7 +46487,7 @@ class MobileDevicesApi {
|
|
|
47289
46487
|
/**
|
|
47290
46488
|
* MobileDevices service.
|
|
47291
46489
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
47292
|
-
* @version
|
|
46490
|
+
* @version 234.0.0
|
|
47293
46491
|
*/
|
|
47294
46492
|
|
|
47295
46493
|
/**
|
|
@@ -47440,7 +46638,7 @@ class NotificationsApi {
|
|
|
47440
46638
|
/**
|
|
47441
46639
|
* Notifications service.
|
|
47442
46640
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
47443
|
-
* @version
|
|
46641
|
+
* @version 234.0.0
|
|
47444
46642
|
*/
|
|
47445
46643
|
|
|
47446
46644
|
/**
|
|
@@ -47673,7 +46871,7 @@ class OAuthApi {
|
|
|
47673
46871
|
/**
|
|
47674
46872
|
* OAuth service.
|
|
47675
46873
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
47676
|
-
* @version
|
|
46874
|
+
* @version 234.0.0
|
|
47677
46875
|
*/
|
|
47678
46876
|
|
|
47679
46877
|
/**
|
|
@@ -48039,7 +47237,7 @@ class ObjectsApi {
|
|
|
48039
47237
|
/**
|
|
48040
47238
|
* Objects service.
|
|
48041
47239
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
48042
|
-
* @version
|
|
47240
|
+
* @version 234.0.0
|
|
48043
47241
|
*/
|
|
48044
47242
|
|
|
48045
47243
|
/**
|
|
@@ -48363,7 +47561,7 @@ class OperationalEventsApi {
|
|
|
48363
47561
|
/**
|
|
48364
47562
|
* OperationalEvents service.
|
|
48365
47563
|
* @module purecloud-platform-client-v2/api/OperationalEventsApi
|
|
48366
|
-
* @version
|
|
47564
|
+
* @version 234.0.0
|
|
48367
47565
|
*/
|
|
48368
47566
|
|
|
48369
47567
|
/**
|
|
@@ -48480,7 +47678,7 @@ class OrganizationApi {
|
|
|
48480
47678
|
/**
|
|
48481
47679
|
* Organization service.
|
|
48482
47680
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
48483
|
-
* @version
|
|
47681
|
+
* @version 234.0.0
|
|
48484
47682
|
*/
|
|
48485
47683
|
|
|
48486
47684
|
/**
|
|
@@ -48955,7 +48153,7 @@ class OrganizationAuthorizationApi {
|
|
|
48955
48153
|
/**
|
|
48956
48154
|
* OrganizationAuthorization service.
|
|
48957
48155
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
48958
|
-
* @version
|
|
48156
|
+
* @version 234.0.0
|
|
48959
48157
|
*/
|
|
48960
48158
|
|
|
48961
48159
|
/**
|
|
@@ -50349,7 +49547,7 @@ class OutboundApi {
|
|
|
50349
49547
|
/**
|
|
50350
49548
|
* Outbound service.
|
|
50351
49549
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
50352
|
-
* @version
|
|
49550
|
+
* @version 234.0.0
|
|
50353
49551
|
*/
|
|
50354
49552
|
|
|
50355
49553
|
/**
|
|
@@ -53567,6 +52765,31 @@ class OutboundApi {
|
|
|
53567
52765
|
);
|
|
53568
52766
|
}
|
|
53569
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
|
+
|
|
53570
52793
|
/**
|
|
53571
52794
|
* Get progress for a list of campaigns
|
|
53572
52795
|
*
|
|
@@ -55071,7 +54294,7 @@ class PresenceApi {
|
|
|
55071
54294
|
/**
|
|
55072
54295
|
* Presence service.
|
|
55073
54296
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
55074
|
-
* @version
|
|
54297
|
+
* @version 234.0.0
|
|
55075
54298
|
*/
|
|
55076
54299
|
|
|
55077
54300
|
/**
|
|
@@ -55815,7 +55038,7 @@ class ProcessAutomationApi {
|
|
|
55815
55038
|
/**
|
|
55816
55039
|
* ProcessAutomation service.
|
|
55817
55040
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
55818
|
-
* @version
|
|
55041
|
+
* @version 234.0.0
|
|
55819
55042
|
*/
|
|
55820
55043
|
|
|
55821
55044
|
/**
|
|
@@ -56054,7 +55277,7 @@ class QualityApi {
|
|
|
56054
55277
|
/**
|
|
56055
55278
|
* Quality service.
|
|
56056
55279
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
56057
|
-
* @version
|
|
55280
|
+
* @version 234.0.0
|
|
56058
55281
|
*/
|
|
56059
55282
|
|
|
56060
55283
|
/**
|
|
@@ -57999,7 +57222,7 @@ class RecordingApi {
|
|
|
57999
57222
|
/**
|
|
58000
57223
|
* Recording service.
|
|
58001
57224
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
58002
|
-
* @version
|
|
57225
|
+
* @version 234.0.0
|
|
58003
57226
|
*/
|
|
58004
57227
|
|
|
58005
57228
|
/**
|
|
@@ -59604,7 +58827,7 @@ class ResponseManagementApi {
|
|
|
59604
58827
|
/**
|
|
59605
58828
|
* ResponseManagement service.
|
|
59606
58829
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
59607
|
-
* @version
|
|
58830
|
+
* @version 234.0.0
|
|
59608
58831
|
*/
|
|
59609
58832
|
|
|
59610
58833
|
/**
|
|
@@ -60114,7 +59337,7 @@ class RoutingApi {
|
|
|
60114
59337
|
/**
|
|
60115
59338
|
* Routing service.
|
|
60116
59339
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
60117
|
-
* @version
|
|
59340
|
+
* @version 234.0.0
|
|
60118
59341
|
*/
|
|
60119
59342
|
|
|
60120
59343
|
/**
|
|
@@ -60929,6 +60152,56 @@ class RoutingApi {
|
|
|
60929
60152
|
);
|
|
60930
60153
|
}
|
|
60931
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
|
+
|
|
60932
60205
|
/**
|
|
60933
60206
|
* Get a route
|
|
60934
60207
|
*
|
|
@@ -61025,6 +60298,31 @@ class RoutingApi {
|
|
|
61025
60298
|
);
|
|
61026
60299
|
}
|
|
61027
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
|
+
|
|
61028
60326
|
/**
|
|
61029
60327
|
* Get domains
|
|
61030
60328
|
*
|
|
@@ -63313,6 +62611,61 @@ class RoutingApi {
|
|
|
63313
62611
|
);
|
|
63314
62612
|
}
|
|
63315
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
|
+
|
|
63316
62669
|
/**
|
|
63317
62670
|
* Create a route
|
|
63318
62671
|
*
|
|
@@ -63372,6 +62725,31 @@ class RoutingApi {
|
|
|
63372
62725
|
);
|
|
63373
62726
|
}
|
|
63374
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
|
+
|
|
63375
62753
|
/**
|
|
63376
62754
|
* Create a domain
|
|
63377
62755
|
*
|
|
@@ -64442,7 +63820,7 @@ class SCIMApi {
|
|
|
64442
63820
|
/**
|
|
64443
63821
|
* SCIM service.
|
|
64444
63822
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
64445
|
-
* @version
|
|
63823
|
+
* @version 234.0.0
|
|
64446
63824
|
*/
|
|
64447
63825
|
|
|
64448
63826
|
/**
|
|
@@ -65319,7 +64697,7 @@ class ScreenRecordingApi {
|
|
|
65319
64697
|
/**
|
|
65320
64698
|
* ScreenRecording service.
|
|
65321
64699
|
* @module purecloud-platform-client-v2/api/ScreenRecordingApi
|
|
65322
|
-
* @version
|
|
64700
|
+
* @version 234.0.0
|
|
65323
64701
|
*/
|
|
65324
64702
|
|
|
65325
64703
|
/**
|
|
@@ -65364,7 +64742,7 @@ class ScriptsApi {
|
|
|
65364
64742
|
/**
|
|
65365
64743
|
* Scripts service.
|
|
65366
64744
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
65367
|
-
* @version
|
|
64745
|
+
* @version 234.0.0
|
|
65368
64746
|
*/
|
|
65369
64747
|
|
|
65370
64748
|
/**
|
|
@@ -65840,7 +65218,7 @@ class SearchApi {
|
|
|
65840
65218
|
/**
|
|
65841
65219
|
* Search service.
|
|
65842
65220
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
65843
|
-
* @version
|
|
65221
|
+
* @version 234.0.0
|
|
65844
65222
|
*/
|
|
65845
65223
|
|
|
65846
65224
|
/**
|
|
@@ -66237,36 +65615,6 @@ class SearchApi {
|
|
|
66237
65615
|
);
|
|
66238
65616
|
}
|
|
66239
65617
|
|
|
66240
|
-
/**
|
|
66241
|
-
* Search Documents
|
|
66242
|
-
*
|
|
66243
|
-
* @param {String} knowledgeBaseId Knowledge base ID
|
|
66244
|
-
* @param {Object} opts Optional parameters
|
|
66245
|
-
* @param {Object} opts.body
|
|
66246
|
-
* @deprecated
|
|
66247
|
-
*/
|
|
66248
|
-
postKnowledgeKnowledgebaseSearch(knowledgeBaseId, opts) {
|
|
66249
|
-
opts = opts || {};
|
|
66250
|
-
|
|
66251
|
-
// verify the required parameter 'knowledgeBaseId' is set
|
|
66252
|
-
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
66253
|
-
throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';
|
|
66254
|
-
}
|
|
66255
|
-
|
|
66256
|
-
return this.apiClient.callApi(
|
|
66257
|
-
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search',
|
|
66258
|
-
'POST',
|
|
66259
|
-
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
66260
|
-
{ },
|
|
66261
|
-
{ },
|
|
66262
|
-
{ },
|
|
66263
|
-
opts['body'],
|
|
66264
|
-
['PureCloud OAuth'],
|
|
66265
|
-
['application/json'],
|
|
66266
|
-
['application/json']
|
|
66267
|
-
);
|
|
66268
|
-
}
|
|
66269
|
-
|
|
66270
65618
|
/**
|
|
66271
65619
|
* Search locations
|
|
66272
65620
|
*
|
|
@@ -66558,7 +65906,7 @@ class SettingsApi {
|
|
|
66558
65906
|
/**
|
|
66559
65907
|
* Settings service.
|
|
66560
65908
|
* @module purecloud-platform-client-v2/api/SettingsApi
|
|
66561
|
-
* @version
|
|
65909
|
+
* @version 234.0.0
|
|
66562
65910
|
*/
|
|
66563
65911
|
|
|
66564
65912
|
/**
|
|
@@ -66906,7 +66254,7 @@ class SocialMediaApi {
|
|
|
66906
66254
|
/**
|
|
66907
66255
|
* SocialMedia service.
|
|
66908
66256
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
66909
|
-
* @version
|
|
66257
|
+
* @version 234.0.0
|
|
66910
66258
|
*/
|
|
66911
66259
|
|
|
66912
66260
|
/**
|
|
@@ -67249,8 +66597,12 @@ class SocialMediaApi {
|
|
|
67249
66597
|
* Get a single escalation rule.
|
|
67250
66598
|
*
|
|
67251
66599
|
* @param {String} escalationRuleId escalationRuleId
|
|
66600
|
+
* @param {Object} opts Optional parameters
|
|
66601
|
+
* @param {Object} opts.expand which fields, if any, to expand
|
|
67252
66602
|
*/
|
|
67253
|
-
getSocialmediaEscalationrule(escalationRuleId) {
|
|
66603
|
+
getSocialmediaEscalationrule(escalationRuleId, opts) {
|
|
66604
|
+
opts = opts || {};
|
|
66605
|
+
|
|
67254
66606
|
// verify the required parameter 'escalationRuleId' is set
|
|
67255
66607
|
if (escalationRuleId === undefined || escalationRuleId === null || escalationRuleId === '') {
|
|
67256
66608
|
throw 'Missing the required parameter "escalationRuleId" when calling getSocialmediaEscalationrule';
|
|
@@ -67260,7 +66612,7 @@ class SocialMediaApi {
|
|
|
67260
66612
|
'/api/v2/socialmedia/escalationrules/{escalationRuleId}',
|
|
67261
66613
|
'GET',
|
|
67262
66614
|
{ 'escalationRuleId': escalationRuleId },
|
|
67263
|
-
{
|
|
66615
|
+
{ 'expand': opts['expand'] },
|
|
67264
66616
|
{ },
|
|
67265
66617
|
{ },
|
|
67266
66618
|
null,
|
|
@@ -68497,7 +67849,7 @@ class SpeechTextAnalyticsApi {
|
|
|
68497
67849
|
/**
|
|
68498
67850
|
* SpeechTextAnalytics service.
|
|
68499
67851
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
68500
|
-
* @version
|
|
67852
|
+
* @version 234.0.0
|
|
68501
67853
|
*/
|
|
68502
67854
|
|
|
68503
67855
|
/**
|
|
@@ -69404,6 +68756,7 @@ class SpeechTextAnalyticsApi {
|
|
|
69404
68756
|
* @param {Object} opts Optional parameters
|
|
69405
68757
|
* @param {String} opts.nextPage The key for listing the next page
|
|
69406
68758
|
* @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 500. (default to 20)
|
|
68759
|
+
* @param {Number} opts.pageNumber The page number for the listing
|
|
69407
68760
|
* @param {Object} opts.state Topic state. Defaults to latest
|
|
69408
68761
|
* @param {String} opts.name Case insensitive partial name to filter by
|
|
69409
68762
|
* @param {Array.<String>} opts.ids Comma separated Topic IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
|
|
@@ -69419,7 +68772,7 @@ class SpeechTextAnalyticsApi {
|
|
|
69419
68772
|
'/api/v2/speechandtextanalytics/topics',
|
|
69420
68773
|
'GET',
|
|
69421
68774
|
{ },
|
|
69422
|
-
{ 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'],'state': opts['state'],'name': opts['name'],'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi'),'dialects': this.apiClient.buildCollectionParam(opts['dialects'], 'multi'),'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
68775
|
+
{ 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'state': opts['state'],'name': opts['name'],'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi'),'dialects': this.apiClient.buildCollectionParam(opts['dialects'], 'multi'),'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
|
|
69423
68776
|
{ },
|
|
69424
68777
|
{ },
|
|
69425
68778
|
null,
|
|
@@ -70143,7 +69496,7 @@ class StationsApi {
|
|
|
70143
69496
|
/**
|
|
70144
69497
|
* Stations service.
|
|
70145
69498
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
70146
|
-
* @version
|
|
69499
|
+
* @version 234.0.0
|
|
70147
69500
|
*/
|
|
70148
69501
|
|
|
70149
69502
|
/**
|
|
@@ -70245,7 +69598,7 @@ class SuggestApi {
|
|
|
70245
69598
|
/**
|
|
70246
69599
|
* Suggest service.
|
|
70247
69600
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
70248
|
-
* @version
|
|
69601
|
+
* @version 234.0.0
|
|
70249
69602
|
*/
|
|
70250
69603
|
|
|
70251
69604
|
/**
|
|
@@ -70384,7 +69737,7 @@ class TaskManagementApi {
|
|
|
70384
69737
|
/**
|
|
70385
69738
|
* TaskManagement service.
|
|
70386
69739
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
70387
|
-
* @version
|
|
69740
|
+
* @version 234.0.0
|
|
70388
69741
|
*/
|
|
70389
69742
|
|
|
70390
69743
|
/**
|
|
@@ -70791,7 +70144,7 @@ class TaskManagementApi {
|
|
|
70791
70144
|
*
|
|
70792
70145
|
* @param {String} workitemId Workitem ID
|
|
70793
70146
|
* @param {Object} opts Optional parameters
|
|
70794
|
-
* @param {
|
|
70147
|
+
* @param {Array.<String>} opts.expands Which fields to expand. Comma separated if more than one.
|
|
70795
70148
|
*/
|
|
70796
70149
|
getTaskmanagementWorkitem(workitemId, opts) {
|
|
70797
70150
|
opts = opts || {};
|
|
@@ -70805,7 +70158,7 @@ class TaskManagementApi {
|
|
|
70805
70158
|
'/api/v2/taskmanagement/workitems/{workitemId}',
|
|
70806
70159
|
'GET',
|
|
70807
70160
|
{ 'workitemId': workitemId },
|
|
70808
|
-
{ 'expands': opts['expands'] },
|
|
70161
|
+
{ 'expands': this.apiClient.buildCollectionParam(opts['expands'], 'multi') },
|
|
70809
70162
|
{ },
|
|
70810
70163
|
{ },
|
|
70811
70164
|
null,
|
|
@@ -72546,7 +71899,7 @@ class TeamsApi {
|
|
|
72546
71899
|
/**
|
|
72547
71900
|
* Teams service.
|
|
72548
71901
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
72549
|
-
* @version
|
|
71902
|
+
* @version 234.0.0
|
|
72550
71903
|
*/
|
|
72551
71904
|
|
|
72552
71905
|
/**
|
|
@@ -72851,7 +72204,7 @@ class TelephonyApi {
|
|
|
72851
72204
|
/**
|
|
72852
72205
|
* Telephony service.
|
|
72853
72206
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
72854
|
-
* @version
|
|
72207
|
+
* @version 234.0.0
|
|
72855
72208
|
*/
|
|
72856
72209
|
|
|
72857
72210
|
/**
|
|
@@ -73137,7 +72490,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
73137
72490
|
/**
|
|
73138
72491
|
* TelephonyProvidersEdge service.
|
|
73139
72492
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
73140
|
-
* @version
|
|
72493
|
+
* @version 234.0.0
|
|
73141
72494
|
*/
|
|
73142
72495
|
|
|
73143
72496
|
/**
|
|
@@ -76630,7 +75983,7 @@ class TextbotsApi {
|
|
|
76630
75983
|
/**
|
|
76631
75984
|
* Textbots service.
|
|
76632
75985
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
76633
|
-
* @version
|
|
75986
|
+
* @version 234.0.0
|
|
76634
75987
|
*/
|
|
76635
75988
|
|
|
76636
75989
|
/**
|
|
@@ -76759,7 +76112,7 @@ class TokensApi {
|
|
|
76759
76112
|
/**
|
|
76760
76113
|
* Tokens service.
|
|
76761
76114
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
76762
|
-
* @version
|
|
76115
|
+
* @version 234.0.0
|
|
76763
76116
|
*/
|
|
76764
76117
|
|
|
76765
76118
|
/**
|
|
@@ -76913,7 +76266,7 @@ class UploadsApi {
|
|
|
76913
76266
|
/**
|
|
76914
76267
|
* Uploads service.
|
|
76915
76268
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
76916
|
-
* @version
|
|
76269
|
+
* @version 234.0.0
|
|
76917
76270
|
*/
|
|
76918
76271
|
|
|
76919
76272
|
/**
|
|
@@ -77204,7 +76557,7 @@ class UsageApi {
|
|
|
77204
76557
|
/**
|
|
77205
76558
|
* Usage service.
|
|
77206
76559
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
77207
|
-
* @version
|
|
76560
|
+
* @version 234.0.0
|
|
77208
76561
|
*/
|
|
77209
76562
|
|
|
77210
76563
|
/**
|
|
@@ -77539,7 +76892,7 @@ class UserRecordingsApi {
|
|
|
77539
76892
|
/**
|
|
77540
76893
|
* UserRecordings service.
|
|
77541
76894
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
77542
|
-
* @version
|
|
76895
|
+
* @version 234.0.0
|
|
77543
76896
|
*/
|
|
77544
76897
|
|
|
77545
76898
|
/**
|
|
@@ -77723,7 +77076,7 @@ class UsersApi {
|
|
|
77723
77076
|
/**
|
|
77724
77077
|
* Users service.
|
|
77725
77078
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
77726
|
-
* @version
|
|
77079
|
+
* @version 234.0.0
|
|
77727
77080
|
*/
|
|
77728
77081
|
|
|
77729
77082
|
/**
|
|
@@ -80732,7 +80085,7 @@ class UtilitiesApi {
|
|
|
80732
80085
|
/**
|
|
80733
80086
|
* Utilities service.
|
|
80734
80087
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
80735
|
-
* @version
|
|
80088
|
+
* @version 234.0.0
|
|
80736
80089
|
*/
|
|
80737
80090
|
|
|
80738
80091
|
/**
|
|
@@ -80843,7 +80196,7 @@ class VoicemailApi {
|
|
|
80843
80196
|
/**
|
|
80844
80197
|
* Voicemail service.
|
|
80845
80198
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
80846
|
-
* @version
|
|
80199
|
+
* @version 234.0.0
|
|
80847
80200
|
*/
|
|
80848
80201
|
|
|
80849
80202
|
/**
|
|
@@ -81565,7 +80918,7 @@ class WebChatApi {
|
|
|
81565
80918
|
/**
|
|
81566
80919
|
* WebChat service.
|
|
81567
80920
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
81568
|
-
* @version
|
|
80921
|
+
* @version 234.0.0
|
|
81569
80922
|
*/
|
|
81570
80923
|
|
|
81571
80924
|
/**
|
|
@@ -82128,7 +81481,7 @@ class WebDeploymentsApi {
|
|
|
82128
81481
|
/**
|
|
82129
81482
|
* WebDeployments service.
|
|
82130
81483
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
82131
|
-
* @version
|
|
81484
|
+
* @version 234.0.0
|
|
82132
81485
|
*/
|
|
82133
81486
|
|
|
82134
81487
|
/**
|
|
@@ -82566,7 +81919,7 @@ class WebDeploymentsApi {
|
|
|
82566
81919
|
}
|
|
82567
81920
|
|
|
82568
81921
|
/**
|
|
82569
|
-
* 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.
|
|
82570
81923
|
*
|
|
82571
81924
|
* @param {Object} body webDeploymentsOAuthExchangeRequest
|
|
82572
81925
|
*/
|
|
@@ -82710,7 +82063,7 @@ class WebMessagingApi {
|
|
|
82710
82063
|
/**
|
|
82711
82064
|
* WebMessaging service.
|
|
82712
82065
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
82713
|
-
* @version
|
|
82066
|
+
* @version 234.0.0
|
|
82714
82067
|
*/
|
|
82715
82068
|
|
|
82716
82069
|
/**
|
|
@@ -82856,7 +82209,7 @@ class WidgetsApi {
|
|
|
82856
82209
|
/**
|
|
82857
82210
|
* Widgets service.
|
|
82858
82211
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
82859
|
-
* @version
|
|
82212
|
+
* @version 234.0.0
|
|
82860
82213
|
*/
|
|
82861
82214
|
|
|
82862
82215
|
/**
|
|
@@ -83007,7 +82360,7 @@ class WorkforceManagementApi {
|
|
|
83007
82360
|
/**
|
|
83008
82361
|
* WorkforceManagement service.
|
|
83009
82362
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
83010
|
-
* @version
|
|
82363
|
+
* @version 234.0.0
|
|
83011
82364
|
*/
|
|
83012
82365
|
|
|
83013
82366
|
/**
|
|
@@ -91007,7 +90360,7 @@ class WorkforceManagementApi {
|
|
|
91007
90360
|
* </pre>
|
|
91008
90361
|
* </p>
|
|
91009
90362
|
* @module purecloud-platform-client-v2/index
|
|
91010
|
-
* @version
|
|
90363
|
+
* @version 234.0.0
|
|
91011
90364
|
*/
|
|
91012
90365
|
class platformClient {
|
|
91013
90366
|
constructor() {
|