purecloud-platform-client-v2 233.0.0 → 234.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +311 -965
  3. package/dist/web-amd/purecloud-platform-client-v2.js +311 -965
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +137 -366
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +137 -366
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +804 -821
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -30
  22. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +41 -1
  27. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +61 -880
  46. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/OutboundApi.js +26 -1
  61. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/RoutingApi.js +156 -1
  67. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -31
  71. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +7 -3
  73. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +2 -2
  90. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  93. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -745,7 +745,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
745
745
 
746
746
  /**
747
747
  * @module purecloud-platform-client-v2/ApiClient
748
- * @version 233.0.0
748
+ * @version 234.0.0
749
749
  */
750
750
  class ApiClient {
751
751
  /**
@@ -2314,7 +2314,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2314
2314
  /**
2315
2315
  * AIStudio service.
2316
2316
  * @module purecloud-platform-client-v2/api/AIStudioApi
2317
- * @version 233.0.0
2317
+ * @version 234.0.0
2318
2318
  */
2319
2319
 
2320
2320
  /**
@@ -2886,7 +2886,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2886
2886
  /**
2887
2887
  * AgentAssistants service.
2888
2888
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
2889
- * @version 233.0.0
2889
+ * @version 234.0.0
2890
2890
  */
2891
2891
 
2892
2892
  /**
@@ -3372,7 +3372,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3372
3372
  /**
3373
3373
  * AgentCopilot service.
3374
3374
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
3375
- * @version 233.0.0
3375
+ * @version 234.0.0
3376
3376
  */
3377
3377
 
3378
3378
  /**
@@ -3472,7 +3472,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3472
3472
  /**
3473
3473
  * AgentUI service.
3474
3474
  * @module purecloud-platform-client-v2/api/AgentUIApi
3475
- * @version 233.0.0
3475
+ * @version 234.0.0
3476
3476
  */
3477
3477
 
3478
3478
  /**
@@ -3603,7 +3603,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3603
3603
  /**
3604
3604
  * Alerting service.
3605
3605
  * @module purecloud-platform-client-v2/api/AlertingApi
3606
- * @version 233.0.0
3606
+ * @version 234.0.0
3607
3607
  */
3608
3608
 
3609
3609
  /**
@@ -4004,7 +4004,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
4004
4004
  /**
4005
4005
  * Analytics service.
4006
4006
  * @module purecloud-platform-client-v2/api/AnalyticsApi
4007
- * @version 233.0.0
4007
+ * @version 234.0.0
4008
4008
  */
4009
4009
 
4010
4010
  /**
@@ -7272,7 +7272,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7272
7272
  /**
7273
7273
  * Architect service.
7274
7274
  * @module purecloud-platform-client-v2/api/ArchitectApi
7275
- * @version 233.0.0
7275
+ * @version 234.0.0
7276
7276
  */
7277
7277
 
7278
7278
  /**
@@ -11567,7 +11567,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11567
11567
  /**
11568
11568
  * Audit service.
11569
11569
  * @module purecloud-platform-client-v2/api/AuditApi
11570
- * @version 233.0.0
11570
+ * @version 234.0.0
11571
11571
  */
11572
11572
 
11573
11573
  /**
@@ -11768,7 +11768,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11768
11768
  /**
11769
11769
  * Authorization service.
11770
11770
  * @module purecloud-platform-client-v2/api/AuthorizationApi
11771
- * @version 233.0.0
11771
+ * @version 234.0.0
11772
11772
  */
11773
11773
 
11774
11774
  /**
@@ -13483,7 +13483,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13483
13483
  /**
13484
13484
  * Billing service.
13485
13485
  * @module purecloud-platform-client-v2/api/BillingApi
13486
- * @version 233.0.0
13486
+ * @version 234.0.0
13487
13487
  */
13488
13488
 
13489
13489
  /**
@@ -13739,7 +13739,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13739
13739
  /**
13740
13740
  * BusinessRules service.
13741
13741
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
13742
- * @version 233.0.0
13742
+ * @version 234.0.0
13743
13743
  */
13744
13744
 
13745
13745
  /**
@@ -13760,7 +13760,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13760
13760
  * @param {String} tableId Table ID
13761
13761
  * @param {Object} opts Optional parameters
13762
13762
  * @param {Boolean} opts.forceDelete Force delete decision table (under certain conditions) (default to false)
13763
- * deleteBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13764
13763
  */
13765
13764
  deleteBusinessrulesDecisiontable(tableId, opts) {
13766
13765
  opts = opts || {};
@@ -13789,7 +13788,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13789
13788
  *
13790
13789
  * @param {String} tableId Table ID
13791
13790
  * @param {Number} tableVersion Table Version
13792
- * deleteBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13793
13791
  */
13794
13792
  deleteBusinessrulesDecisiontableVersion(tableId, tableVersion) {
13795
13793
  // verify the required parameter 'tableId' is set
@@ -13821,7 +13819,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13821
13819
  * @param {String} tableId Table ID
13822
13820
  * @param {Number} tableVersion Table Version
13823
13821
  * @param {String} rowId Row ID
13824
- * deleteBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13825
13822
  */
13826
13823
  deleteBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId) {
13827
13824
  // verify the required parameter 'tableId' is set
@@ -13855,7 +13852,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13855
13852
  * Delete a schema
13856
13853
  *
13857
13854
  * @param {String} schemaId Schema ID
13858
- * deleteBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13859
13855
  */
13860
13856
  deleteBusinessrulesSchema(schemaId) {
13861
13857
  // verify the required parameter 'schemaId' is set
@@ -13881,7 +13877,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13881
13877
  * Get a decision table
13882
13878
  *
13883
13879
  * @param {String} tableId Table ID
13884
- * getBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13885
13880
  */
13886
13881
  getBusinessrulesDecisiontable(tableId) {
13887
13882
  // verify the required parameter 'tableId' is set
@@ -13908,7 +13903,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13908
13903
  *
13909
13904
  * @param {String} tableId Table ID
13910
13905
  * @param {Number} tableVersion Table Version
13911
- * getBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13912
13906
  */
13913
13907
  getBusinessrulesDecisiontableVersion(tableId, tableVersion) {
13914
13908
  // verify the required parameter 'tableId' is set
@@ -13940,7 +13934,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13940
13934
  * @param {String} tableId Table ID
13941
13935
  * @param {Number} tableVersion Table Version
13942
13936
  * @param {String} rowId Row ID
13943
- * getBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13944
13937
  */
13945
13938
  getBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId) {
13946
13939
  // verify the required parameter 'tableId' is set
@@ -13978,7 +13971,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13978
13971
  * @param {Object} opts Optional parameters
13979
13972
  * @param {String} opts.pageNumber Page number of the entities to return. Defaults to 1.
13980
13973
  * @param {String} opts.pageSize Number of entities to return. Maximum of 100. Defaults to 25.
13981
- * getBusinessrulesDecisiontableVersionRows is a preview method and is subject to both breaking and non-breaking changes at any time without notice
13982
13974
  */
13983
13975
  getBusinessrulesDecisiontableVersionRows(tableId, tableVersion, opts) {
13984
13976
  opts = opts || {};
@@ -14013,7 +14005,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14013
14005
  * @param {Object} opts Optional parameters
14014
14006
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
14015
14007
  * @param {String} opts.pageSize Number of entities to return. Maximum of 100.
14016
- * getBusinessrulesDecisiontableVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14017
14008
  */
14018
14009
  getBusinessrulesDecisiontableVersions(tableId, opts) {
14019
14010
  opts = opts || {};
@@ -14045,7 +14036,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14045
14036
  * @param {String} opts.pageSize Number of entities to return. Maximum of 100.
14046
14037
  * @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.
14047
14038
  * @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.
14048
- * getBusinessrulesDecisiontables is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14049
14039
  */
14050
14040
  getBusinessrulesDecisiontables(opts) {
14051
14041
  opts = opts || {};
@@ -14076,7 +14066,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14076
14066
  * @param {Boolean} opts.withPublishedVersion Filters results to only decision tables that have at least one version in Published status
14077
14067
  * @param {Array.<String>} opts.expand Fields to expand in response
14078
14068
  * @param {Array.<String>} opts.ids Decision table IDs to search for
14079
- * getBusinessrulesDecisiontablesSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14080
14069
  */
14081
14070
  getBusinessrulesDecisiontablesSearch(opts) {
14082
14071
  opts = opts || {};
@@ -14100,7 +14089,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14100
14089
  * Get a schema
14101
14090
  *
14102
14091
  * @param {String} schemaId Schema ID
14103
- * getBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14104
14092
  */
14105
14093
  getBusinessrulesSchema(schemaId) {
14106
14094
  // verify the required parameter 'schemaId' is set
@@ -14125,7 +14113,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14125
14113
  /**
14126
14114
  * Get a list of schemas.
14127
14115
  *
14128
- * getBusinessrulesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14129
14116
  */
14130
14117
  getBusinessrulesSchemas() {
14131
14118
 
@@ -14147,7 +14134,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14147
14134
  * Get a specific named core type.
14148
14135
  *
14149
14136
  * @param {String} coreTypeName The core type's name
14150
- * getBusinessrulesSchemasCoretype is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14151
14137
  */
14152
14138
  getBusinessrulesSchemasCoretype(coreTypeName) {
14153
14139
  // verify the required parameter 'coreTypeName' is set
@@ -14172,7 +14158,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14172
14158
  /**
14173
14159
  * Get the core types from which all schemas are built.
14174
14160
  *
14175
- * getBusinessrulesSchemasCoretypes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14176
14161
  */
14177
14162
  getBusinessrulesSchemasCoretypes() {
14178
14163
 
@@ -14195,7 +14180,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14195
14180
  *
14196
14181
  * @param {String} tableId Table ID
14197
14182
  * @param {Object} body Decision Table
14198
- * patchBusinessrulesDecisiontable is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14199
14183
  */
14200
14184
  patchBusinessrulesDecisiontable(tableId, body) {
14201
14185
  // verify the required parameter 'tableId' is set
@@ -14227,7 +14211,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14227
14211
  * @param {String} tableId Table ID
14228
14212
  * @param {Number} tableVersion Table Version
14229
14213
  * @param {Object} body Decision Table
14230
- * patchBusinessrulesDecisiontableVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14231
14214
  */
14232
14215
  patchBusinessrulesDecisiontableVersion(tableId, tableVersion, body) {
14233
14216
  // verify the required parameter 'tableId' is set
@@ -14262,7 +14245,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14262
14245
  *
14263
14246
  * @param {String} tableId Table ID
14264
14247
  * @param {Object} body Decision Table
14265
- * postBusinessrulesDecisiontableExecute is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14266
14248
  */
14267
14249
  postBusinessrulesDecisiontableExecute(tableId, body) {
14268
14250
  // verify the required parameter 'tableId' is set
@@ -14294,7 +14276,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14294
14276
  * @param {String} tableId Table ID
14295
14277
  * @param {Number} tableVersion Table Version
14296
14278
  * @param {Object} body Decision Table
14297
- * postBusinessrulesDecisiontableVersionCopy is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14298
14279
  */
14299
14280
  postBusinessrulesDecisiontableVersionCopy(tableId, tableVersion, body) {
14300
14281
  // verify the required parameter 'tableId' is set
@@ -14330,7 +14311,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14330
14311
  * @param {String} tableId Table ID
14331
14312
  * @param {Number} tableVersion Table Version
14332
14313
  * @param {Object} body Decision Table
14333
- * postBusinessrulesDecisiontableVersionExecute is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14334
14314
  */
14335
14315
  postBusinessrulesDecisiontableVersionExecute(tableId, tableVersion, body) {
14336
14316
  // verify the required parameter 'tableId' is set
@@ -14366,7 +14346,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14366
14346
  * @param {String} tableId Table ID
14367
14347
  * @param {Number} tableVersion Table Version
14368
14348
  * @param {Object} body Create decision table row request
14369
- * postBusinessrulesDecisiontableVersionRows is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14370
14349
  */
14371
14350
  postBusinessrulesDecisiontableVersionRows(tableId, tableVersion, body) {
14372
14351
  // verify the required parameter 'tableId' is set
@@ -14405,7 +14384,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14405
14384
  * @param {Object} opts Optional parameters
14406
14385
  * @param {String} opts.pageNumber Page number of the entities to return. Defaults to 1.
14407
14386
  * @param {String} opts.pageSize Number of entities to return. Maximum of 100. Defaults to 25.
14408
- * postBusinessrulesDecisiontableVersionRowsSearch is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14409
14387
  */
14410
14388
  postBusinessrulesDecisiontableVersionRowsSearch(tableId, tableVersion, body, opts) {
14411
14389
  opts = opts || {};
@@ -14442,7 +14420,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14442
14420
  *
14443
14421
  * @param {String} tableId Table ID
14444
14422
  * @param {Number} tableVersion Table Version
14445
- * postBusinessrulesDecisiontableVersionSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14446
14423
  */
14447
14424
  postBusinessrulesDecisiontableVersionSync(tableId, tableVersion) {
14448
14425
  // verify the required parameter 'tableId' is set
@@ -14472,7 +14449,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14472
14449
  * Create a new decision table version
14473
14450
  *
14474
14451
  * @param {String} tableId Table ID
14475
- * postBusinessrulesDecisiontableVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14476
14452
  */
14477
14453
  postBusinessrulesDecisiontableVersions(tableId) {
14478
14454
  // verify the required parameter 'tableId' is set
@@ -14498,7 +14474,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14498
14474
  * Create a decision table
14499
14475
  *
14500
14476
  * @param {Object} body Decision Table
14501
- * postBusinessrulesDecisiontables is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14502
14477
  */
14503
14478
  postBusinessrulesDecisiontables(body) {
14504
14479
  // verify the required parameter 'body' is set
@@ -14524,7 +14499,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14524
14499
  * Create a schema
14525
14500
  *
14526
14501
  * @param {Object} body Business Rules Schema Create Request
14527
- * postBusinessrulesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14528
14502
  */
14529
14503
  postBusinessrulesSchemas(body) {
14530
14504
  // verify the required parameter 'body' is set
@@ -14551,7 +14525,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14551
14525
  *
14552
14526
  * @param {String} tableId Table ID
14553
14527
  * @param {Number} tableVersion Table Version
14554
- * putBusinessrulesDecisiontableVersionPublish is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14555
14528
  */
14556
14529
  putBusinessrulesDecisiontableVersionPublish(tableId, tableVersion) {
14557
14530
  // verify the required parameter 'tableId' is set
@@ -14584,7 +14557,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14584
14557
  * @param {Number} tableVersion Table Version
14585
14558
  * @param {String} rowId Row ID
14586
14559
  * @param {Object} body Full update decision table row request
14587
- * putBusinessrulesDecisiontableVersionRow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14588
14560
  */
14589
14561
  putBusinessrulesDecisiontableVersionRow(tableId, tableVersion, rowId, body) {
14590
14562
  // verify the required parameter 'tableId' is set
@@ -14623,7 +14595,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14623
14595
  *
14624
14596
  * @param {String} schemaId Schema ID
14625
14597
  * @param {Object} body Business Rules Schema Update Request
14626
- * putBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14627
14598
  */
14628
14599
  putBusinessrulesSchema(schemaId, body) {
14629
14600
  // verify the required parameter 'schemaId' is set
@@ -14655,7 +14626,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14655
14626
  /**
14656
14627
  * CarrierServices service.
14657
14628
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
14658
- * @version 233.0.0
14629
+ * @version 234.0.0
14659
14630
  */
14660
14631
 
14661
14632
  /**
@@ -14725,7 +14696,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14725
14696
  /**
14726
14697
  * Chat service.
14727
14698
  * @module purecloud-platform-client-v2/api/ChatApi
14728
- * @version 233.0.0
14699
+ * @version 234.0.0
14729
14700
  */
14730
14701
 
14731
14702
  /**
@@ -15706,7 +15677,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15706
15677
  /**
15707
15678
  * Coaching service.
15708
15679
  * @module purecloud-platform-client-v2/api/CoachingApi
15709
- * @version 233.0.0
15680
+ * @version 234.0.0
15710
15681
  */
15711
15682
 
15712
15683
  /**
@@ -16283,7 +16254,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16283
16254
  /**
16284
16255
  * ContentManagement service.
16285
16256
  * @module purecloud-platform-client-v2/api/ContentManagementApi
16286
- * @version 233.0.0
16257
+ * @version 234.0.0
16287
16258
  */
16288
16259
 
16289
16260
  /**
@@ -17364,7 +17335,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17364
17335
  /**
17365
17336
  * Conversations service.
17366
17337
  * @module purecloud-platform-client-v2/api/ConversationsApi
17367
- * @version 233.0.0
17338
+ * @version 234.0.0
17368
17339
  */
17369
17340
 
17370
17341
  /**
@@ -21183,6 +21154,46 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21183
21154
  );
21184
21155
  }
21185
21156
 
21157
+ /**
21158
+ * Update conversation participant on behalf of a user
21159
+ *
21160
+ * @param {String} conversationId conversationId
21161
+ * @param {String} participantId participantId
21162
+ * @param {String} userId userId
21163
+ * @param {Object} body Participant request
21164
+ */
21165
+ patchConversationsCallParticipantUserUserId(conversationId, participantId, userId, body) {
21166
+ // verify the required parameter 'conversationId' is set
21167
+ if (conversationId === undefined || conversationId === null || conversationId === '') {
21168
+ throw 'Missing the required parameter "conversationId" when calling patchConversationsCallParticipantUserUserId';
21169
+ }
21170
+ // verify the required parameter 'participantId' is set
21171
+ if (participantId === undefined || participantId === null || participantId === '') {
21172
+ throw 'Missing the required parameter "participantId" when calling patchConversationsCallParticipantUserUserId';
21173
+ }
21174
+ // verify the required parameter 'userId' is set
21175
+ if (userId === undefined || userId === null || userId === '') {
21176
+ throw 'Missing the required parameter "userId" when calling patchConversationsCallParticipantUserUserId';
21177
+ }
21178
+ // verify the required parameter 'body' is set
21179
+ if (body === undefined || body === null) {
21180
+ throw 'Missing the required parameter "body" when calling patchConversationsCallParticipantUserUserId';
21181
+ }
21182
+
21183
+ return this.apiClient.callApi(
21184
+ '/api/v2/conversations/calls/{conversationId}/participants/{participantId}/user/{userId}',
21185
+ 'PATCH',
21186
+ { 'conversationId': conversationId,'participantId': participantId,'userId': userId },
21187
+ { },
21188
+ { },
21189
+ { },
21190
+ body,
21191
+ ['PureCloud OAuth'],
21192
+ ['application/json'],
21193
+ ['application/json']
21194
+ );
21195
+ }
21196
+
21186
21197
  /**
21187
21198
  * Update a conversation by disconnecting all of the participants
21188
21199
  *
@@ -25921,7 +25932,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25921
25932
  /**
25922
25933
  * DataExtensions service.
25923
25934
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
25924
- * @version 233.0.0
25935
+ * @version 234.0.0
25925
25936
  */
25926
25937
 
25927
25938
  /**
@@ -26007,7 +26018,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26007
26018
  /**
26008
26019
  * DataPrivacy service.
26009
26020
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
26010
- * @version 233.0.0
26021
+ * @version 234.0.0
26011
26022
  */
26012
26023
 
26013
26024
  /**
@@ -26177,7 +26188,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26177
26188
  /**
26178
26189
  * Downloads service.
26179
26190
  * @module purecloud-platform-client-v2/api/DownloadsApi
26180
- * @version 233.0.0
26191
+ * @version 234.0.0
26181
26192
  */
26182
26193
 
26183
26194
  /**
@@ -26229,7 +26240,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26229
26240
  /**
26230
26241
  * Emails service.
26231
26242
  * @module purecloud-platform-client-v2/api/EmailsApi
26232
- * @version 233.0.0
26243
+ * @version 234.0.0
26233
26244
  */
26234
26245
 
26235
26246
  /**
@@ -26358,7 +26369,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26358
26369
  /**
26359
26370
  * EmployeeEngagement service.
26360
26371
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
26361
- * @version 233.0.0
26372
+ * @version 234.0.0
26362
26373
  */
26363
26374
 
26364
26375
  /**
@@ -26509,7 +26520,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26509
26520
  /**
26510
26521
  * Events service.
26511
26522
  * @module purecloud-platform-client-v2/api/EventsApi
26512
- * @version 233.0.0
26523
+ * @version 234.0.0
26513
26524
  */
26514
26525
 
26515
26526
  /**
@@ -26605,7 +26616,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26605
26616
  /**
26606
26617
  * ExternalContacts service.
26607
26618
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
26608
- * @version 233.0.0
26619
+ * @version 234.0.0
26609
26620
  */
26610
26621
 
26611
26622
  /**
@@ -29852,7 +29863,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29852
29863
  /**
29853
29864
  * Fax service.
29854
29865
  * @module purecloud-platform-client-v2/api/FaxApi
29855
- * @version 233.0.0
29866
+ * @version 234.0.0
29856
29867
  */
29857
29868
 
29858
29869
  /**
@@ -30067,7 +30078,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30067
30078
  /**
30068
30079
  * Flows service.
30069
30080
  * @module purecloud-platform-client-v2/api/FlowsApi
30070
- * @version 233.0.0
30081
+ * @version 234.0.0
30071
30082
  */
30072
30083
 
30073
30084
  /**
@@ -30276,7 +30287,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30276
30287
  /**
30277
30288
  * Gamification service.
30278
30289
  * @module purecloud-platform-client-v2/api/GamificationApi
30279
- * @version 233.0.0
30290
+ * @version 234.0.0
30280
30291
  */
30281
30292
 
30282
30293
  /**
@@ -32789,7 +32800,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32789
32800
  /**
32790
32801
  * GeneralDataProtectionRegulation service.
32791
32802
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
32792
- * @version 233.0.0
32803
+ * @version 234.0.0
32793
32804
  */
32794
32805
 
32795
32806
  /**
@@ -32919,7 +32930,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32919
32930
  /**
32920
32931
  * Geolocation service.
32921
32932
  * @module purecloud-platform-client-v2/api/GeolocationApi
32922
- * @version 233.0.0
32933
+ * @version 234.0.0
32923
32934
  */
32924
32935
 
32925
32936
  /**
@@ -33050,7 +33061,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33050
33061
  /**
33051
33062
  * Greetings service.
33052
33063
  * @module purecloud-platform-client-v2/api/GreetingsApi
33053
- * @version 233.0.0
33064
+ * @version 234.0.0
33054
33065
  */
33055
33066
 
33056
33067
  /**
@@ -33592,7 +33603,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33592
33603
  /**
33593
33604
  * Groups service.
33594
33605
  * @module purecloud-platform-client-v2/api/GroupsApi
33595
- * @version 233.0.0
33606
+ * @version 234.0.0
33596
33607
  */
33597
33608
 
33598
33609
  /**
@@ -34111,7 +34122,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34111
34122
  /**
34112
34123
  * IdentityProvider service.
34113
34124
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
34114
- * @version 233.0.0
34125
+ * @version 234.0.0
34115
34126
  */
34116
34127
 
34117
34128
  /**
@@ -34972,7 +34983,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34972
34983
  /**
34973
34984
  * InfrastructureAsCode service.
34974
34985
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
34975
- * @version 233.0.0
34986
+ * @version 234.0.0
34976
34987
  */
34977
34988
 
34978
34989
  /**
@@ -35139,7 +35150,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35139
35150
  /**
35140
35151
  * Integrations service.
35141
35152
  * @module purecloud-platform-client-v2/api/IntegrationsApi
35142
- * @version 233.0.0
35153
+ * @version 234.0.0
35143
35154
  */
35144
35155
 
35145
35156
  /**
@@ -37787,7 +37798,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37787
37798
  /**
37788
37799
  * Journey service.
37789
37800
  * @module purecloud-platform-client-v2/api/JourneyApi
37790
- * @version 233.0.0
37801
+ * @version 234.0.0
37791
37802
  */
37792
37803
 
37793
37804
  /**
@@ -39884,7 +39895,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39884
39895
  /**
39885
39896
  * Knowledge service.
39886
39897
  * @module purecloud-platform-client-v2/api/KnowledgeApi
39887
- * @version 233.0.0
39898
+ * @version 234.0.0
39888
39899
  */
39889
39900
 
39890
39901
  /**
@@ -40109,114 +40120,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40109
40120
  );
40110
40121
  }
40111
40122
 
40112
- /**
40113
- * Delete category
40114
- *
40115
- * @param {String} categoryId Category ID
40116
- * @param {String} knowledgeBaseId Knowledge base ID
40117
- * @param {Object} languageCode Language code, format: iso2-LOCALE
40118
- * @deprecated
40119
- */
40120
- deleteKnowledgeKnowledgebaseLanguageCategory(categoryId, knowledgeBaseId, languageCode) {
40121
- // verify the required parameter 'categoryId' is set
40122
- if (categoryId === undefined || categoryId === null || categoryId === '') {
40123
- throw 'Missing the required parameter "categoryId" when calling deleteKnowledgeKnowledgebaseLanguageCategory';
40124
- }
40125
- // verify the required parameter 'knowledgeBaseId' is set
40126
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
40127
- throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageCategory';
40128
- }
40129
- // verify the required parameter 'languageCode' is set
40130
- if (languageCode === undefined || languageCode === null || languageCode === '') {
40131
- throw 'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageCategory';
40132
- }
40133
-
40134
- return this.apiClient.callApi(
40135
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}',
40136
- 'DELETE',
40137
- { 'categoryId': categoryId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
40138
- { },
40139
- { },
40140
- { },
40141
- null,
40142
- ['PureCloud OAuth'],
40143
- ['application/json'],
40144
- ['application/json']
40145
- );
40146
- }
40147
-
40148
- /**
40149
- * Delete document
40150
- *
40151
- * @param {String} documentId Document ID
40152
- * @param {String} knowledgeBaseId Knowledge base ID
40153
- * @param {Object} languageCode Language code, format: iso2-LOCALE
40154
- * @deprecated
40155
- */
40156
- deleteKnowledgeKnowledgebaseLanguageDocument(documentId, knowledgeBaseId, languageCode) {
40157
- // verify the required parameter 'documentId' is set
40158
- if (documentId === undefined || documentId === null || documentId === '') {
40159
- throw 'Missing the required parameter "documentId" when calling deleteKnowledgeKnowledgebaseLanguageDocument';
40160
- }
40161
- // verify the required parameter 'knowledgeBaseId' is set
40162
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
40163
- throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageDocument';
40164
- }
40165
- // verify the required parameter 'languageCode' is set
40166
- if (languageCode === undefined || languageCode === null || languageCode === '') {
40167
- throw 'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageDocument';
40168
- }
40169
-
40170
- return this.apiClient.callApi(
40171
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}',
40172
- 'DELETE',
40173
- { 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
40174
- { },
40175
- { },
40176
- { },
40177
- null,
40178
- ['PureCloud OAuth'],
40179
- ['application/json'],
40180
- ['application/json']
40181
- );
40182
- }
40183
-
40184
- /**
40185
- * Delete import operation
40186
- *
40187
- * @param {String} knowledgeBaseId Knowledge base ID
40188
- * @param {Object} languageCode Language code, format: iso2-LOCALE
40189
- * @param {String} importId Import ID
40190
- * @deprecated
40191
- */
40192
- deleteKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId, languageCode, importId) {
40193
- // verify the required parameter 'knowledgeBaseId' is set
40194
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
40195
- throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';
40196
- }
40197
- // verify the required parameter 'languageCode' is set
40198
- if (languageCode === undefined || languageCode === null || languageCode === '') {
40199
- throw 'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';
40200
- }
40201
- // verify the required parameter 'importId' is set
40202
- if (importId === undefined || importId === null || importId === '') {
40203
- throw 'Missing the required parameter "importId" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';
40204
- }
40205
-
40206
- return this.apiClient.callApi(
40207
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}',
40208
- 'DELETE',
40209
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'importId': importId },
40210
- { },
40211
- { },
40212
- { },
40213
- null,
40214
- ['PureCloud OAuth'],
40215
- ['application/json'],
40216
- ['application/json']
40217
- );
40218
- }
40219
-
40220
40123
  /**
40221
40124
  * Delete Salesforce Knowledge integration source
40222
40125
  *
@@ -41040,312 +40943,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41040
40943
  );
41041
40944
  }
41042
40945
 
41043
- /**
41044
- * Get categories
41045
- *
41046
- * @param {String} knowledgeBaseId Knowledge base ID
41047
- * @param {Object} languageCode Language code, format: iso2-LOCALE
41048
- * @param {Object} opts Optional parameters
41049
- * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
41050
- * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
41051
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
41052
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
41053
- * @param {String} opts.name Filter to return the categories that starts with the given category name.
41054
- * @deprecated
41055
- */
41056
- getKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId, languageCode, opts) {
41057
- opts = opts || {};
41058
-
41059
- // verify the required parameter 'knowledgeBaseId' is set
41060
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
41061
- throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageCategories';
41062
- }
41063
- // verify the required parameter 'languageCode' is set
41064
- if (languageCode === undefined || languageCode === null || languageCode === '') {
41065
- throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageCategories';
41066
- }
41067
-
41068
- return this.apiClient.callApi(
41069
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories',
41070
- 'GET',
41071
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
41072
- { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'] },
41073
- { },
41074
- { },
41075
- null,
41076
- ['PureCloud OAuth'],
41077
- ['application/json'],
41078
- ['application/json']
41079
- );
41080
- }
41081
-
41082
- /**
41083
- * Get category
41084
- *
41085
- * @param {String} categoryId Category ID
41086
- * @param {String} knowledgeBaseId Knowledge base ID
41087
- * @param {Object} languageCode Language code, format: iso2-LOCALE
41088
- * @deprecated
41089
- */
41090
- getKnowledgeKnowledgebaseLanguageCategory(categoryId, knowledgeBaseId, languageCode) {
41091
- // verify the required parameter 'categoryId' is set
41092
- if (categoryId === undefined || categoryId === null || categoryId === '') {
41093
- throw 'Missing the required parameter "categoryId" when calling getKnowledgeKnowledgebaseLanguageCategory';
41094
- }
41095
- // verify the required parameter 'knowledgeBaseId' is set
41096
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
41097
- throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageCategory';
41098
- }
41099
- // verify the required parameter 'languageCode' is set
41100
- if (languageCode === undefined || languageCode === null || languageCode === '') {
41101
- throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageCategory';
41102
- }
41103
-
41104
- return this.apiClient.callApi(
41105
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}',
41106
- 'GET',
41107
- { 'categoryId': categoryId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
41108
- { },
41109
- { },
41110
- { },
41111
- null,
41112
- ['PureCloud OAuth'],
41113
- ['application/json'],
41114
- ['application/json']
41115
- );
41116
- }
41117
-
41118
- /**
41119
- * Get document
41120
- *
41121
- * @param {String} documentId Document ID
41122
- * @param {String} knowledgeBaseId Knowledge base ID
41123
- * @param {Object} languageCode Language code, format: iso2-LOCALE
41124
- * @deprecated
41125
- */
41126
- getKnowledgeKnowledgebaseLanguageDocument(documentId, knowledgeBaseId, languageCode) {
41127
- // verify the required parameter 'documentId' is set
41128
- if (documentId === undefined || documentId === null || documentId === '') {
41129
- throw 'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseLanguageDocument';
41130
- }
41131
- // verify the required parameter 'knowledgeBaseId' is set
41132
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
41133
- throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocument';
41134
- }
41135
- // verify the required parameter 'languageCode' is set
41136
- if (languageCode === undefined || languageCode === null || languageCode === '') {
41137
- throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocument';
41138
- }
41139
-
41140
- return this.apiClient.callApi(
41141
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}',
41142
- 'GET',
41143
- { 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
41144
- { },
41145
- { },
41146
- { },
41147
- null,
41148
- ['PureCloud OAuth'],
41149
- ['application/json'],
41150
- ['application/json']
41151
- );
41152
- }
41153
-
41154
- /**
41155
- * Get document content upload status
41156
- *
41157
- * @param {String} documentId Document ID
41158
- * @param {String} knowledgeBaseId Knowledge base ID
41159
- * @param {Object} languageCode Language code, format: iso2-LOCALE
41160
- * @param {String} uploadId UploadId
41161
- * @deprecated
41162
- */
41163
- getKnowledgeKnowledgebaseLanguageDocumentUpload(documentId, knowledgeBaseId, languageCode, uploadId) {
41164
- // verify the required parameter 'documentId' is set
41165
- if (documentId === undefined || documentId === null || documentId === '') {
41166
- throw 'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';
41167
- }
41168
- // verify the required parameter 'knowledgeBaseId' is set
41169
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
41170
- throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';
41171
- }
41172
- // verify the required parameter 'languageCode' is set
41173
- if (languageCode === undefined || languageCode === null || languageCode === '') {
41174
- throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';
41175
- }
41176
- // verify the required parameter 'uploadId' is set
41177
- if (uploadId === undefined || uploadId === null || uploadId === '') {
41178
- throw 'Missing the required parameter "uploadId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';
41179
- }
41180
-
41181
- return this.apiClient.callApi(
41182
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}/uploads/{uploadId}',
41183
- 'GET',
41184
- { 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'uploadId': uploadId },
41185
- { },
41186
- { },
41187
- { },
41188
- null,
41189
- ['PureCloud OAuth'],
41190
- ['application/json'],
41191
- ['application/json']
41192
- );
41193
- }
41194
-
41195
- /**
41196
- * Get documents
41197
- *
41198
- * @param {String} knowledgeBaseId Knowledge base ID
41199
- * @param {Object} languageCode Language code, format: iso2-LOCALE
41200
- * @param {Object} opts Optional parameters
41201
- * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
41202
- * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
41203
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
41204
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
41205
- * @param {String} opts.categories Filter by categories ids, comma separated values expected.
41206
- * @param {String} opts.title Filter by document title.
41207
- * @param {Object} opts.sortBy Sort by.
41208
- * @param {Object} opts.sortOrder Sort Order.
41209
- * @param {Array.<String>} opts.documentIds Comma-separated list of document identifiers to fetch by.
41210
- * @deprecated
41211
- */
41212
- getKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, opts) {
41213
- opts = opts || {};
41214
-
41215
- // verify the required parameter 'knowledgeBaseId' is set
41216
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
41217
- throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocuments';
41218
- }
41219
- // verify the required parameter 'languageCode' is set
41220
- if (languageCode === undefined || languageCode === null || languageCode === '') {
41221
- throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocuments';
41222
- }
41223
-
41224
- return this.apiClient.callApi(
41225
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
41226
- 'GET',
41227
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
41228
- { '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') },
41229
- { },
41230
- { },
41231
- null,
41232
- ['PureCloud OAuth'],
41233
- ['application/json'],
41234
- ['application/json']
41235
- );
41236
- }
41237
-
41238
- /**
41239
- * Get import operation report
41240
- *
41241
- * @param {String} knowledgeBaseId Knowledge base ID
41242
- * @param {Object} languageCode Language code, format: iso2-LOCALE
41243
- * @param {String} importId Import ID
41244
- * @deprecated
41245
- */
41246
- getKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId, languageCode, importId) {
41247
- // verify the required parameter 'knowledgeBaseId' is set
41248
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
41249
- throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';
41250
- }
41251
- // verify the required parameter 'languageCode' is set
41252
- if (languageCode === undefined || languageCode === null || languageCode === '') {
41253
- throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';
41254
- }
41255
- // verify the required parameter 'importId' is set
41256
- if (importId === undefined || importId === null || importId === '') {
41257
- throw 'Missing the required parameter "importId" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';
41258
- }
41259
-
41260
- return this.apiClient.callApi(
41261
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}',
41262
- 'GET',
41263
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'importId': importId },
41264
- { },
41265
- { },
41266
- { },
41267
- null,
41268
- ['PureCloud OAuth'],
41269
- ['application/json'],
41270
- ['application/json']
41271
- );
41272
- }
41273
-
41274
- /**
41275
- * Get training detail
41276
- *
41277
- * @param {String} knowledgeBaseId Knowledge base ID
41278
- * @param {Object} languageCode Language code, format: iso2-LOCALE
41279
- * @param {String} trainingId Training ID
41280
- * @deprecated
41281
- */
41282
- getKnowledgeKnowledgebaseLanguageTraining(knowledgeBaseId, languageCode, trainingId) {
41283
- // verify the required parameter 'knowledgeBaseId' is set
41284
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
41285
- throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageTraining';
41286
- }
41287
- // verify the required parameter 'languageCode' is set
41288
- if (languageCode === undefined || languageCode === null || languageCode === '') {
41289
- throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageTraining';
41290
- }
41291
- // verify the required parameter 'trainingId' is set
41292
- if (trainingId === undefined || trainingId === null || trainingId === '') {
41293
- throw 'Missing the required parameter "trainingId" when calling getKnowledgeKnowledgebaseLanguageTraining';
41294
- }
41295
-
41296
- return this.apiClient.callApi(
41297
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings/{trainingId}',
41298
- 'GET',
41299
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'trainingId': trainingId },
41300
- { },
41301
- { },
41302
- { },
41303
- null,
41304
- ['PureCloud OAuth'],
41305
- ['application/json'],
41306
- ['application/json']
41307
- );
41308
- }
41309
-
41310
- /**
41311
- * Get all trainings information for a knowledgebase
41312
- *
41313
- * @param {String} knowledgeBaseId Knowledge base ID
41314
- * @param {Object} languageCode Language code, format: iso2-LOCALE
41315
- * @param {Object} opts Optional parameters
41316
- * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
41317
- * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
41318
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
41319
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
41320
- * @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
41321
- * @deprecated
41322
- */
41323
- getKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId, languageCode, opts) {
41324
- opts = opts || {};
41325
-
41326
- // verify the required parameter 'knowledgeBaseId' is set
41327
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
41328
- throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageTrainings';
41329
- }
41330
- // verify the required parameter 'languageCode' is set
41331
- if (languageCode === undefined || languageCode === null || languageCode === '') {
41332
- throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageTrainings';
41333
- }
41334
-
41335
- return this.apiClient.callApi(
41336
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings',
41337
- 'GET',
41338
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
41339
- { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'knowledgeDocumentsState': opts['knowledgeDocumentsState'] },
41340
- { },
41341
- { },
41342
- null,
41343
- ['PureCloud OAuth'],
41344
- ['application/json'],
41345
- ['application/json']
41346
- );
41347
- }
41348
-
41349
40946
  /**
41350
40947
  * Get operations
41351
40948
  *
@@ -42058,165 +41655,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42058
41655
  );
42059
41656
  }
42060
41657
 
42061
- /**
42062
- * Update category
42063
- *
42064
- * @param {String} categoryId Category ID
42065
- * @param {String} knowledgeBaseId Knowledge base ID
42066
- * @param {Object} languageCode Language code, format: iso2-LOCALE
42067
- * @param {Object} body
42068
- * @deprecated
42069
- */
42070
- patchKnowledgeKnowledgebaseLanguageCategory(categoryId, knowledgeBaseId, languageCode, body) {
42071
- // verify the required parameter 'categoryId' is set
42072
- if (categoryId === undefined || categoryId === null || categoryId === '') {
42073
- throw 'Missing the required parameter "categoryId" when calling patchKnowledgeKnowledgebaseLanguageCategory';
42074
- }
42075
- // verify the required parameter 'knowledgeBaseId' is set
42076
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
42077
- throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageCategory';
42078
- }
42079
- // verify the required parameter 'languageCode' is set
42080
- if (languageCode === undefined || languageCode === null || languageCode === '') {
42081
- throw 'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageCategory';
42082
- }
42083
- // verify the required parameter 'body' is set
42084
- if (body === undefined || body === null) {
42085
- throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageCategory';
42086
- }
42087
-
42088
- return this.apiClient.callApi(
42089
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}',
42090
- 'PATCH',
42091
- { 'categoryId': categoryId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
42092
- { },
42093
- { },
42094
- { },
42095
- body,
42096
- ['PureCloud OAuth'],
42097
- ['application/json'],
42098
- ['application/json']
42099
- );
42100
- }
42101
-
42102
- /**
42103
- * Update document
42104
- *
42105
- * @param {String} documentId Document ID
42106
- * @param {String} knowledgeBaseId Knowledge base ID
42107
- * @param {Object} languageCode Language code, format: iso2-LOCALE
42108
- * @param {Object} body
42109
- * @deprecated
42110
- */
42111
- patchKnowledgeKnowledgebaseLanguageDocument(documentId, knowledgeBaseId, languageCode, body) {
42112
- // verify the required parameter 'documentId' is set
42113
- if (documentId === undefined || documentId === null || documentId === '') {
42114
- throw 'Missing the required parameter "documentId" when calling patchKnowledgeKnowledgebaseLanguageDocument';
42115
- }
42116
- // verify the required parameter 'knowledgeBaseId' is set
42117
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
42118
- throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocument';
42119
- }
42120
- // verify the required parameter 'languageCode' is set
42121
- if (languageCode === undefined || languageCode === null || languageCode === '') {
42122
- throw 'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocument';
42123
- }
42124
- // verify the required parameter 'body' is set
42125
- if (body === undefined || body === null) {
42126
- throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocument';
42127
- }
42128
-
42129
- return this.apiClient.callApi(
42130
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}',
42131
- 'PATCH',
42132
- { 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
42133
- { },
42134
- { },
42135
- { },
42136
- body,
42137
- ['PureCloud OAuth'],
42138
- ['application/json'],
42139
- ['application/json']
42140
- );
42141
- }
42142
-
42143
- /**
42144
- * Update documents collection
42145
- *
42146
- * @param {String} knowledgeBaseId Knowledge base ID
42147
- * @param {Object} languageCode Language code, format: iso2-LOCALE
42148
- * @param {Array.<Object>} body
42149
- * @deprecated
42150
- */
42151
- patchKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, body) {
42152
- // verify the required parameter 'knowledgeBaseId' is set
42153
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
42154
- throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocuments';
42155
- }
42156
- // verify the required parameter 'languageCode' is set
42157
- if (languageCode === undefined || languageCode === null || languageCode === '') {
42158
- throw 'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocuments';
42159
- }
42160
- // verify the required parameter 'body' is set
42161
- if (body === undefined || body === null) {
42162
- throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocuments';
42163
- }
42164
-
42165
- return this.apiClient.callApi(
42166
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
42167
- 'PATCH',
42168
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
42169
- { },
42170
- { },
42171
- { },
42172
- body,
42173
- ['PureCloud OAuth'],
42174
- ['application/json'],
42175
- ['application/json']
42176
- );
42177
- }
42178
-
42179
- /**
42180
- * Start import operation
42181
- *
42182
- * @param {String} knowledgeBaseId Knowledge base ID
42183
- * @param {Object} languageCode Language code, format: iso2-LOCALE
42184
- * @param {String} importId Import ID
42185
- * @param {Object} body
42186
- * @deprecated
42187
- */
42188
- patchKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId, languageCode, importId, body) {
42189
- // verify the required parameter 'knowledgeBaseId' is set
42190
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
42191
- throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';
42192
- }
42193
- // verify the required parameter 'languageCode' is set
42194
- if (languageCode === undefined || languageCode === null || languageCode === '') {
42195
- throw 'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';
42196
- }
42197
- // verify the required parameter 'importId' is set
42198
- if (importId === undefined || importId === null || importId === '') {
42199
- throw 'Missing the required parameter "importId" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';
42200
- }
42201
- // verify the required parameter 'body' is set
42202
- if (body === undefined || body === null) {
42203
- throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';
42204
- }
42205
-
42206
- return this.apiClient.callApi(
42207
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}',
42208
- 'PATCH',
42209
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'importId': importId },
42210
- { },
42211
- { },
42212
- { },
42213
- body,
42214
- ['PureCloud OAuth'],
42215
- ['application/json'],
42216
- ['application/json']
42217
- );
42218
- }
42219
-
42220
41658
  /**
42221
41659
  * Send update to the parse operation
42222
41660
  *
@@ -43186,222 +42624,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43186
42624
  );
43187
42625
  }
43188
42626
 
43189
- /**
43190
- * Create new category
43191
- *
43192
- * @param {String} knowledgeBaseId Knowledge base ID
43193
- * @param {Object} languageCode Language code, format: iso2-LOCALE
43194
- * @param {Object} body
43195
- * @deprecated
43196
- */
43197
- postKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId, languageCode, body) {
43198
- // verify the required parameter 'knowledgeBaseId' is set
43199
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
43200
- throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageCategories';
43201
- }
43202
- // verify the required parameter 'languageCode' is set
43203
- if (languageCode === undefined || languageCode === null || languageCode === '') {
43204
- throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageCategories';
43205
- }
43206
- // verify the required parameter 'body' is set
43207
- if (body === undefined || body === null) {
43208
- throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageCategories';
43209
- }
43210
-
43211
- return this.apiClient.callApi(
43212
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories',
43213
- 'POST',
43214
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
43215
- { },
43216
- { },
43217
- { },
43218
- body,
43219
- ['PureCloud OAuth'],
43220
- ['application/json'],
43221
- ['application/json']
43222
- );
43223
- }
43224
-
43225
- /**
43226
- * Upload Article Content
43227
- *
43228
- * @param {String} documentId Document ID
43229
- * @param {String} knowledgeBaseId Knowledge base ID
43230
- * @param {Object} languageCode Language code, format: iso2-LOCALE
43231
- * @param {Object} body
43232
- * @deprecated
43233
- */
43234
- postKnowledgeKnowledgebaseLanguageDocumentUploads(documentId, knowledgeBaseId, languageCode, body) {
43235
- // verify the required parameter 'documentId' is set
43236
- if (documentId === undefined || documentId === null || documentId === '') {
43237
- throw 'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';
43238
- }
43239
- // verify the required parameter 'knowledgeBaseId' is set
43240
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
43241
- throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';
43242
- }
43243
- // verify the required parameter 'languageCode' is set
43244
- if (languageCode === undefined || languageCode === null || languageCode === '') {
43245
- throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';
43246
- }
43247
- // verify the required parameter 'body' is set
43248
- if (body === undefined || body === null) {
43249
- throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';
43250
- }
43251
-
43252
- return this.apiClient.callApi(
43253
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}/uploads',
43254
- 'POST',
43255
- { 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
43256
- { },
43257
- { },
43258
- { },
43259
- body,
43260
- ['PureCloud OAuth'],
43261
- ['application/json'],
43262
- ['application/json']
43263
- );
43264
- }
43265
-
43266
- /**
43267
- * Create document
43268
- *
43269
- * @param {String} knowledgeBaseId Knowledge base ID
43270
- * @param {Object} languageCode Language code, format: iso2-LOCALE
43271
- * @param {Object} body
43272
- * @deprecated
43273
- */
43274
- postKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, body) {
43275
- // verify the required parameter 'knowledgeBaseId' is set
43276
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
43277
- throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocuments';
43278
- }
43279
- // verify the required parameter 'languageCode' is set
43280
- if (languageCode === undefined || languageCode === null || languageCode === '') {
43281
- throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocuments';
43282
- }
43283
- // verify the required parameter 'body' is set
43284
- if (body === undefined || body === null) {
43285
- throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocuments';
43286
- }
43287
-
43288
- return this.apiClient.callApi(
43289
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
43290
- 'POST',
43291
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
43292
- { },
43293
- { },
43294
- { },
43295
- body,
43296
- ['PureCloud OAuth'],
43297
- ['application/json'],
43298
- ['application/json']
43299
- );
43300
- }
43301
-
43302
- /**
43303
- * Create import operation
43304
- *
43305
- * @param {String} knowledgeBaseId Knowledge base ID
43306
- * @param {Object} languageCode Language code, format: iso2-LOCALE
43307
- * @param {Object} body
43308
- * @deprecated
43309
- */
43310
- postKnowledgeKnowledgebaseLanguageDocumentsImports(knowledgeBaseId, languageCode, body) {
43311
- // verify the required parameter 'knowledgeBaseId' is set
43312
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
43313
- throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';
43314
- }
43315
- // verify the required parameter 'languageCode' is set
43316
- if (languageCode === undefined || languageCode === null || languageCode === '') {
43317
- throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';
43318
- }
43319
- // verify the required parameter 'body' is set
43320
- if (body === undefined || body === null) {
43321
- throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';
43322
- }
43323
-
43324
- return this.apiClient.callApi(
43325
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports',
43326
- 'POST',
43327
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
43328
- { },
43329
- { },
43330
- { },
43331
- body,
43332
- ['PureCloud OAuth'],
43333
- ['application/json'],
43334
- ['application/json']
43335
- );
43336
- }
43337
-
43338
- /**
43339
- * Promote trained documents from draft state to active.
43340
- *
43341
- * @param {String} knowledgeBaseId Knowledge base ID
43342
- * @param {Object} languageCode Language code, format: iso2-LOCALE
43343
- * @param {String} trainingId Training ID
43344
- * @deprecated
43345
- */
43346
- postKnowledgeKnowledgebaseLanguageTrainingPromote(knowledgeBaseId, languageCode, trainingId) {
43347
- // verify the required parameter 'knowledgeBaseId' is set
43348
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
43349
- throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';
43350
- }
43351
- // verify the required parameter 'languageCode' is set
43352
- if (languageCode === undefined || languageCode === null || languageCode === '') {
43353
- throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';
43354
- }
43355
- // verify the required parameter 'trainingId' is set
43356
- if (trainingId === undefined || trainingId === null || trainingId === '') {
43357
- throw 'Missing the required parameter "trainingId" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';
43358
- }
43359
-
43360
- return this.apiClient.callApi(
43361
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings/{trainingId}/promote',
43362
- 'POST',
43363
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'trainingId': trainingId },
43364
- { },
43365
- { },
43366
- { },
43367
- null,
43368
- ['PureCloud OAuth'],
43369
- ['application/json'],
43370
- ['application/json']
43371
- );
43372
- }
43373
-
43374
- /**
43375
- * Trigger training
43376
- *
43377
- * @param {String} knowledgeBaseId Knowledge base ID
43378
- * @param {Object} languageCode Language code, format: iso2-LOCALE
43379
- * @deprecated
43380
- */
43381
- postKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId, languageCode) {
43382
- // verify the required parameter 'knowledgeBaseId' is set
43383
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
43384
- throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageTrainings';
43385
- }
43386
- // verify the required parameter 'languageCode' is set
43387
- if (languageCode === undefined || languageCode === null || languageCode === '') {
43388
- throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageTrainings';
43389
- }
43390
-
43391
- return this.apiClient.callApi(
43392
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings',
43393
- 'POST',
43394
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
43395
- { },
43396
- { },
43397
- { },
43398
- null,
43399
- ['PureCloud OAuth'],
43400
- ['application/json'],
43401
- ['application/json']
43402
- );
43403
- }
43404
-
43405
42627
  /**
43406
42628
  * Import the parsed articles
43407
42629
  *
@@ -43467,36 +42689,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43467
42689
  );
43468
42690
  }
43469
42691
 
43470
- /**
43471
- * Search Documents
43472
- *
43473
- * @param {String} knowledgeBaseId Knowledge base ID
43474
- * @param {Object} opts Optional parameters
43475
- * @param {Object} opts.body
43476
- * @deprecated
43477
- */
43478
- postKnowledgeKnowledgebaseSearch(knowledgeBaseId, opts) {
43479
- opts = opts || {};
43480
-
43481
- // verify the required parameter 'knowledgeBaseId' is set
43482
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
43483
- throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';
43484
- }
43485
-
43486
- return this.apiClient.callApi(
43487
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search',
43488
- 'POST',
43489
- { 'knowledgeBaseId': knowledgeBaseId },
43490
- { },
43491
- { },
43492
- { },
43493
- opts['body'],
43494
- ['PureCloud OAuth'],
43495
- ['application/json'],
43496
- ['application/json']
43497
- );
43498
- }
43499
-
43500
42692
  /**
43501
42693
  * Create Salesforce Knowledge integration source
43502
42694
  *
@@ -43786,7 +42978,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43786
42978
  /**
43787
42979
  * LanguageUnderstanding service.
43788
42980
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
43789
- * @version 233.0.0
42981
+ * @version 234.0.0
43790
42982
  */
43791
42983
 
43792
42984
  /**
@@ -45005,7 +44197,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45005
44197
  /**
45006
44198
  * Languages service.
45007
44199
  * @module purecloud-platform-client-v2/api/LanguagesApi
45008
- * @version 233.0.0
44200
+ * @version 234.0.0
45009
44201
  */
45010
44202
 
45011
44203
  /**
@@ -45227,7 +44419,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45227
44419
  /**
45228
44420
  * Learning service.
45229
44421
  * @module purecloud-platform-client-v2/api/LearningApi
45230
- * @version 233.0.0
44422
+ * @version 234.0.0
45231
44423
  */
45232
44424
 
45233
44425
  /**
@@ -46260,7 +45452,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46260
45452
  /**
46261
45453
  * License service.
46262
45454
  * @module purecloud-platform-client-v2/api/LicenseApi
46263
- * @version 233.0.0
45455
+ * @version 234.0.0
46264
45456
  */
46265
45457
 
46266
45458
  /**
@@ -46498,7 +45690,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46498
45690
  /**
46499
45691
  * Locations service.
46500
45692
  * @module purecloud-platform-client-v2/api/LocationsApi
46501
- * @version 233.0.0
45693
+ * @version 234.0.0
46502
45694
  */
46503
45695
 
46504
45696
  /**
@@ -46734,7 +45926,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46734
45926
  /**
46735
45927
  * LogCapture service.
46736
45928
  * @module purecloud-platform-client-v2/api/LogCaptureApi
46737
- * @version 233.0.0
45929
+ * @version 234.0.0
46738
45930
  */
46739
45931
 
46740
45932
  /**
@@ -46933,7 +46125,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46933
46125
  /**
46934
46126
  * Messaging service.
46935
46127
  * @module purecloud-platform-client-v2/api/MessagingApi
46936
- * @version 233.0.0
46128
+ * @version 234.0.0
46937
46129
  */
46938
46130
 
46939
46131
  /**
@@ -47292,7 +46484,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47292
46484
  /**
47293
46485
  * MobileDevices service.
47294
46486
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
47295
- * @version 233.0.0
46487
+ * @version 234.0.0
47296
46488
  */
47297
46489
 
47298
46490
  /**
@@ -47443,7 +46635,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47443
46635
  /**
47444
46636
  * Notifications service.
47445
46637
  * @module purecloud-platform-client-v2/api/NotificationsApi
47446
- * @version 233.0.0
46638
+ * @version 234.0.0
47447
46639
  */
47448
46640
 
47449
46641
  /**
@@ -47676,7 +46868,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47676
46868
  /**
47677
46869
  * OAuth service.
47678
46870
  * @module purecloud-platform-client-v2/api/OAuthApi
47679
- * @version 233.0.0
46871
+ * @version 234.0.0
47680
46872
  */
47681
46873
 
47682
46874
  /**
@@ -48042,7 +47234,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48042
47234
  /**
48043
47235
  * Objects service.
48044
47236
  * @module purecloud-platform-client-v2/api/ObjectsApi
48045
- * @version 233.0.0
47237
+ * @version 234.0.0
48046
47238
  */
48047
47239
 
48048
47240
  /**
@@ -48366,7 +47558,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48366
47558
  /**
48367
47559
  * OperationalEvents service.
48368
47560
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
48369
- * @version 233.0.0
47561
+ * @version 234.0.0
48370
47562
  */
48371
47563
 
48372
47564
  /**
@@ -48483,7 +47675,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48483
47675
  /**
48484
47676
  * Organization service.
48485
47677
  * @module purecloud-platform-client-v2/api/OrganizationApi
48486
- * @version 233.0.0
47678
+ * @version 234.0.0
48487
47679
  */
48488
47680
 
48489
47681
  /**
@@ -48958,7 +48150,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48958
48150
  /**
48959
48151
  * OrganizationAuthorization service.
48960
48152
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
48961
- * @version 233.0.0
48153
+ * @version 234.0.0
48962
48154
  */
48963
48155
 
48964
48156
  /**
@@ -50352,7 +49544,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50352
49544
  /**
50353
49545
  * Outbound service.
50354
49546
  * @module purecloud-platform-client-v2/api/OutboundApi
50355
- * @version 233.0.0
49547
+ * @version 234.0.0
50356
49548
  */
50357
49549
 
50358
49550
  /**
@@ -53570,6 +52762,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53570
52762
  );
53571
52763
  }
53572
52764
 
52765
+ /**
52766
+ * Get performance data for a list of campaigns
52767
+ *
52768
+ * @param {Array.<String>} body Campaign IDs. Maximum of 50 IDs allowed.
52769
+ */
52770
+ postOutboundCampaignsPerformanceQuery(body) {
52771
+ // verify the required parameter 'body' is set
52772
+ if (body === undefined || body === null) {
52773
+ throw 'Missing the required parameter "body" when calling postOutboundCampaignsPerformanceQuery';
52774
+ }
52775
+
52776
+ return this.apiClient.callApi(
52777
+ '/api/v2/outbound/campaigns/performance/query',
52778
+ 'POST',
52779
+ { },
52780
+ { },
52781
+ { },
52782
+ { },
52783
+ body,
52784
+ ['PureCloud OAuth'],
52785
+ ['application/json'],
52786
+ ['application/json']
52787
+ );
52788
+ }
52789
+
53573
52790
  /**
53574
52791
  * Get progress for a list of campaigns
53575
52792
  *
@@ -55074,7 +54291,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55074
54291
  /**
55075
54292
  * Presence service.
55076
54293
  * @module purecloud-platform-client-v2/api/PresenceApi
55077
- * @version 233.0.0
54294
+ * @version 234.0.0
55078
54295
  */
55079
54296
 
55080
54297
  /**
@@ -55818,7 +55035,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55818
55035
  /**
55819
55036
  * ProcessAutomation service.
55820
55037
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
55821
- * @version 233.0.0
55038
+ * @version 234.0.0
55822
55039
  */
55823
55040
 
55824
55041
  /**
@@ -56057,7 +55274,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56057
55274
  /**
56058
55275
  * Quality service.
56059
55276
  * @module purecloud-platform-client-v2/api/QualityApi
56060
- * @version 233.0.0
55277
+ * @version 234.0.0
56061
55278
  */
56062
55279
 
56063
55280
  /**
@@ -58002,7 +57219,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58002
57219
  /**
58003
57220
  * Recording service.
58004
57221
  * @module purecloud-platform-client-v2/api/RecordingApi
58005
- * @version 233.0.0
57222
+ * @version 234.0.0
58006
57223
  */
58007
57224
 
58008
57225
  /**
@@ -59607,7 +58824,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59607
58824
  /**
59608
58825
  * ResponseManagement service.
59609
58826
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
59610
- * @version 233.0.0
58827
+ * @version 234.0.0
59611
58828
  */
59612
58829
 
59613
58830
  /**
@@ -60117,7 +59334,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60117
59334
  /**
60118
59335
  * Routing service.
60119
59336
  * @module purecloud-platform-client-v2/api/RoutingApi
60120
- * @version 233.0.0
59337
+ * @version 234.0.0
60121
59338
  */
60122
59339
 
60123
59340
  /**
@@ -60932,6 +60149,56 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60932
60149
  );
60933
60150
  }
60934
60151
 
60152
+ /**
60153
+ * Get domain dkim settings
60154
+ *
60155
+ * @param {String} domainId domain ID
60156
+ */
60157
+ getRoutingEmailDomainDkim(domainId) {
60158
+ // verify the required parameter 'domainId' is set
60159
+ if (domainId === undefined || domainId === null || domainId === '') {
60160
+ throw 'Missing the required parameter "domainId" when calling getRoutingEmailDomainDkim';
60161
+ }
60162
+
60163
+ return this.apiClient.callApi(
60164
+ '/api/v2/routing/email/domains/{domainId}/dkim',
60165
+ 'GET',
60166
+ { 'domainId': domainId },
60167
+ { },
60168
+ { },
60169
+ { },
60170
+ null,
60171
+ ['PureCloud OAuth'],
60172
+ ['application/json'],
60173
+ ['application/json']
60174
+ );
60175
+ }
60176
+
60177
+ /**
60178
+ * Get domain mail from settings
60179
+ *
60180
+ * @param {String} domainId domain ID
60181
+ */
60182
+ getRoutingEmailDomainMailfrom(domainId) {
60183
+ // verify the required parameter 'domainId' is set
60184
+ if (domainId === undefined || domainId === null || domainId === '') {
60185
+ throw 'Missing the required parameter "domainId" when calling getRoutingEmailDomainMailfrom';
60186
+ }
60187
+
60188
+ return this.apiClient.callApi(
60189
+ '/api/v2/routing/email/domains/{domainId}/mailfrom',
60190
+ 'GET',
60191
+ { 'domainId': domainId },
60192
+ { },
60193
+ { },
60194
+ { },
60195
+ null,
60196
+ ['PureCloud OAuth'],
60197
+ ['application/json'],
60198
+ ['application/json']
60199
+ );
60200
+ }
60201
+
60935
60202
  /**
60936
60203
  * Get a route
60937
60204
  *
@@ -61028,6 +60295,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61028
60295
  );
61029
60296
  }
61030
60297
 
60298
+ /**
60299
+ * Get domain verification settings
60300
+ *
60301
+ * @param {String} domainId domain ID
60302
+ */
60303
+ getRoutingEmailDomainVerification(domainId) {
60304
+ // verify the required parameter 'domainId' is set
60305
+ if (domainId === undefined || domainId === null || domainId === '') {
60306
+ throw 'Missing the required parameter "domainId" when calling getRoutingEmailDomainVerification';
60307
+ }
60308
+
60309
+ return this.apiClient.callApi(
60310
+ '/api/v2/routing/email/domains/{domainId}/verification',
60311
+ 'GET',
60312
+ { 'domainId': domainId },
60313
+ { },
60314
+ { },
60315
+ { },
60316
+ null,
60317
+ ['PureCloud OAuth'],
60318
+ ['application/json'],
60319
+ ['application/json']
60320
+ );
60321
+ }
60322
+
61031
60323
  /**
61032
60324
  * Get domains
61033
60325
  *
@@ -63316,6 +62608,61 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63316
62608
  );
63317
62609
  }
63318
62610
 
62611
+ /**
62612
+ * Restart domain dkim
62613
+ *
62614
+ * @param {String} domainId domain ID
62615
+ */
62616
+ postRoutingEmailDomainDkim(domainId) {
62617
+ // verify the required parameter 'domainId' is set
62618
+ if (domainId === undefined || domainId === null || domainId === '') {
62619
+ throw 'Missing the required parameter "domainId" when calling postRoutingEmailDomainDkim';
62620
+ }
62621
+
62622
+ return this.apiClient.callApi(
62623
+ '/api/v2/routing/email/domains/{domainId}/dkim',
62624
+ 'POST',
62625
+ { 'domainId': domainId },
62626
+ { },
62627
+ { },
62628
+ { },
62629
+ null,
62630
+ ['PureCloud OAuth'],
62631
+ ['application/json'],
62632
+ ['application/json']
62633
+ );
62634
+ }
62635
+
62636
+ /**
62637
+ * Set domain mail from settings
62638
+ *
62639
+ * @param {String} domainId domain ID
62640
+ * @param {Object} body Mail From Settings
62641
+ */
62642
+ postRoutingEmailDomainMailfrom(domainId, body) {
62643
+ // verify the required parameter 'domainId' is set
62644
+ if (domainId === undefined || domainId === null || domainId === '') {
62645
+ throw 'Missing the required parameter "domainId" when calling postRoutingEmailDomainMailfrom';
62646
+ }
62647
+ // verify the required parameter 'body' is set
62648
+ if (body === undefined || body === null) {
62649
+ throw 'Missing the required parameter "body" when calling postRoutingEmailDomainMailfrom';
62650
+ }
62651
+
62652
+ return this.apiClient.callApi(
62653
+ '/api/v2/routing/email/domains/{domainId}/mailfrom',
62654
+ 'POST',
62655
+ { 'domainId': domainId },
62656
+ { },
62657
+ { },
62658
+ { },
62659
+ body,
62660
+ ['PureCloud OAuth'],
62661
+ ['application/json'],
62662
+ ['application/json']
62663
+ );
62664
+ }
62665
+
63319
62666
  /**
63320
62667
  * Create a route
63321
62668
  *
@@ -63375,6 +62722,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63375
62722
  );
63376
62723
  }
63377
62724
 
62725
+ /**
62726
+ * Restart domain verification
62727
+ *
62728
+ * @param {String} domainId domain ID
62729
+ */
62730
+ postRoutingEmailDomainVerification(domainId) {
62731
+ // verify the required parameter 'domainId' is set
62732
+ if (domainId === undefined || domainId === null || domainId === '') {
62733
+ throw 'Missing the required parameter "domainId" when calling postRoutingEmailDomainVerification';
62734
+ }
62735
+
62736
+ return this.apiClient.callApi(
62737
+ '/api/v2/routing/email/domains/{domainId}/verification',
62738
+ 'POST',
62739
+ { 'domainId': domainId },
62740
+ { },
62741
+ { },
62742
+ { },
62743
+ null,
62744
+ ['PureCloud OAuth'],
62745
+ ['application/json'],
62746
+ ['application/json']
62747
+ );
62748
+ }
62749
+
63378
62750
  /**
63379
62751
  * Create a domain
63380
62752
  *
@@ -64445,7 +63817,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64445
63817
  /**
64446
63818
  * SCIM service.
64447
63819
  * @module purecloud-platform-client-v2/api/SCIMApi
64448
- * @version 233.0.0
63820
+ * @version 234.0.0
64449
63821
  */
64450
63822
 
64451
63823
  /**
@@ -65322,7 +64694,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65322
64694
  /**
65323
64695
  * ScreenRecording service.
65324
64696
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
65325
- * @version 233.0.0
64697
+ * @version 234.0.0
65326
64698
  */
65327
64699
 
65328
64700
  /**
@@ -65367,7 +64739,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65367
64739
  /**
65368
64740
  * Scripts service.
65369
64741
  * @module purecloud-platform-client-v2/api/ScriptsApi
65370
- * @version 233.0.0
64742
+ * @version 234.0.0
65371
64743
  */
65372
64744
 
65373
64745
  /**
@@ -65843,7 +65215,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65843
65215
  /**
65844
65216
  * Search service.
65845
65217
  * @module purecloud-platform-client-v2/api/SearchApi
65846
- * @version 233.0.0
65218
+ * @version 234.0.0
65847
65219
  */
65848
65220
 
65849
65221
  /**
@@ -66240,36 +65612,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66240
65612
  );
66241
65613
  }
66242
65614
 
66243
- /**
66244
- * Search Documents
66245
- *
66246
- * @param {String} knowledgeBaseId Knowledge base ID
66247
- * @param {Object} opts Optional parameters
66248
- * @param {Object} opts.body
66249
- * @deprecated
66250
- */
66251
- postKnowledgeKnowledgebaseSearch(knowledgeBaseId, opts) {
66252
- opts = opts || {};
66253
-
66254
- // verify the required parameter 'knowledgeBaseId' is set
66255
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
66256
- throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';
66257
- }
66258
-
66259
- return this.apiClient.callApi(
66260
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search',
66261
- 'POST',
66262
- { 'knowledgeBaseId': knowledgeBaseId },
66263
- { },
66264
- { },
66265
- { },
66266
- opts['body'],
66267
- ['PureCloud OAuth'],
66268
- ['application/json'],
66269
- ['application/json']
66270
- );
66271
- }
66272
-
66273
65615
  /**
66274
65616
  * Search locations
66275
65617
  *
@@ -66561,7 +65903,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66561
65903
  /**
66562
65904
  * Settings service.
66563
65905
  * @module purecloud-platform-client-v2/api/SettingsApi
66564
- * @version 233.0.0
65906
+ * @version 234.0.0
66565
65907
  */
66566
65908
 
66567
65909
  /**
@@ -66909,7 +66251,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66909
66251
  /**
66910
66252
  * SocialMedia service.
66911
66253
  * @module purecloud-platform-client-v2/api/SocialMediaApi
66912
- * @version 233.0.0
66254
+ * @version 234.0.0
66913
66255
  */
66914
66256
 
66915
66257
  /**
@@ -67252,8 +66594,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67252
66594
  * Get a single escalation rule.
67253
66595
  *
67254
66596
  * @param {String} escalationRuleId escalationRuleId
66597
+ * @param {Object} opts Optional parameters
66598
+ * @param {Object} opts.expand which fields, if any, to expand
67255
66599
  */
67256
- getSocialmediaEscalationrule(escalationRuleId) {
66600
+ getSocialmediaEscalationrule(escalationRuleId, opts) {
66601
+ opts = opts || {};
66602
+
67257
66603
  // verify the required parameter 'escalationRuleId' is set
67258
66604
  if (escalationRuleId === undefined || escalationRuleId === null || escalationRuleId === '') {
67259
66605
  throw 'Missing the required parameter "escalationRuleId" when calling getSocialmediaEscalationrule';
@@ -67263,7 +66609,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67263
66609
  '/api/v2/socialmedia/escalationrules/{escalationRuleId}',
67264
66610
  'GET',
67265
66611
  { 'escalationRuleId': escalationRuleId },
67266
- { },
66612
+ { 'expand': opts['expand'] },
67267
66613
  { },
67268
66614
  { },
67269
66615
  null,
@@ -68500,7 +67846,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68500
67846
  /**
68501
67847
  * SpeechTextAnalytics service.
68502
67848
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
68503
- * @version 233.0.0
67849
+ * @version 234.0.0
68504
67850
  */
68505
67851
 
68506
67852
  /**
@@ -70147,7 +69493,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
70147
69493
  /**
70148
69494
  * Stations service.
70149
69495
  * @module purecloud-platform-client-v2/api/StationsApi
70150
- * @version 233.0.0
69496
+ * @version 234.0.0
70151
69497
  */
70152
69498
 
70153
69499
  /**
@@ -70249,7 +69595,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
70249
69595
  /**
70250
69596
  * Suggest service.
70251
69597
  * @module purecloud-platform-client-v2/api/SuggestApi
70252
- * @version 233.0.0
69598
+ * @version 234.0.0
70253
69599
  */
70254
69600
 
70255
69601
  /**
@@ -70388,7 +69734,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
70388
69734
  /**
70389
69735
  * TaskManagement service.
70390
69736
  * @module purecloud-platform-client-v2/api/TaskManagementApi
70391
- * @version 233.0.0
69737
+ * @version 234.0.0
70392
69738
  */
70393
69739
 
70394
69740
  /**
@@ -72550,7 +71896,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72550
71896
  /**
72551
71897
  * Teams service.
72552
71898
  * @module purecloud-platform-client-v2/api/TeamsApi
72553
- * @version 233.0.0
71899
+ * @version 234.0.0
72554
71900
  */
72555
71901
 
72556
71902
  /**
@@ -72855,7 +72201,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72855
72201
  /**
72856
72202
  * Telephony service.
72857
72203
  * @module purecloud-platform-client-v2/api/TelephonyApi
72858
- * @version 233.0.0
72204
+ * @version 234.0.0
72859
72205
  */
72860
72206
 
72861
72207
  /**
@@ -73141,7 +72487,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73141
72487
  /**
73142
72488
  * TelephonyProvidersEdge service.
73143
72489
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
73144
- * @version 233.0.0
72490
+ * @version 234.0.0
73145
72491
  */
73146
72492
 
73147
72493
  /**
@@ -76634,7 +75980,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
76634
75980
  /**
76635
75981
  * Textbots service.
76636
75982
  * @module purecloud-platform-client-v2/api/TextbotsApi
76637
- * @version 233.0.0
75983
+ * @version 234.0.0
76638
75984
  */
76639
75985
 
76640
75986
  /**
@@ -76763,7 +76109,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
76763
76109
  /**
76764
76110
  * Tokens service.
76765
76111
  * @module purecloud-platform-client-v2/api/TokensApi
76766
- * @version 233.0.0
76112
+ * @version 234.0.0
76767
76113
  */
76768
76114
 
76769
76115
  /**
@@ -76917,7 +76263,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
76917
76263
  /**
76918
76264
  * Uploads service.
76919
76265
  * @module purecloud-platform-client-v2/api/UploadsApi
76920
- * @version 233.0.0
76266
+ * @version 234.0.0
76921
76267
  */
76922
76268
 
76923
76269
  /**
@@ -77208,7 +76554,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77208
76554
  /**
77209
76555
  * Usage service.
77210
76556
  * @module purecloud-platform-client-v2/api/UsageApi
77211
- * @version 233.0.0
76557
+ * @version 234.0.0
77212
76558
  */
77213
76559
 
77214
76560
  /**
@@ -77543,7 +76889,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77543
76889
  /**
77544
76890
  * UserRecordings service.
77545
76891
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
77546
- * @version 233.0.0
76892
+ * @version 234.0.0
77547
76893
  */
77548
76894
 
77549
76895
  /**
@@ -77727,7 +77073,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77727
77073
  /**
77728
77074
  * Users service.
77729
77075
  * @module purecloud-platform-client-v2/api/UsersApi
77730
- * @version 233.0.0
77076
+ * @version 234.0.0
77731
77077
  */
77732
77078
 
77733
77079
  /**
@@ -80736,7 +80082,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
80736
80082
  /**
80737
80083
  * Utilities service.
80738
80084
  * @module purecloud-platform-client-v2/api/UtilitiesApi
80739
- * @version 233.0.0
80085
+ * @version 234.0.0
80740
80086
  */
80741
80087
 
80742
80088
  /**
@@ -80847,7 +80193,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
80847
80193
  /**
80848
80194
  * Voicemail service.
80849
80195
  * @module purecloud-platform-client-v2/api/VoicemailApi
80850
- * @version 233.0.0
80196
+ * @version 234.0.0
80851
80197
  */
80852
80198
 
80853
80199
  /**
@@ -81569,7 +80915,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
81569
80915
  /**
81570
80916
  * WebChat service.
81571
80917
  * @module purecloud-platform-client-v2/api/WebChatApi
81572
- * @version 233.0.0
80918
+ * @version 234.0.0
81573
80919
  */
81574
80920
 
81575
80921
  /**
@@ -82132,7 +81478,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82132
81478
  /**
82133
81479
  * WebDeployments service.
82134
81480
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
82135
- * @version 233.0.0
81481
+ * @version 234.0.0
82136
81482
  */
82137
81483
 
82138
81484
  /**
@@ -82570,7 +81916,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82570
81916
  }
82571
81917
 
82572
81918
  /**
82573
- * Exchange an oAuth code (obtained using the Authorization Code Flow) for a JWT that can be used by webdeployments.
81919
+ * Exchange an oAuth code (obtained using the Authorization Code Flow or Implicit flow) for a JWT that can be used by webdeployments.
82574
81920
  *
82575
81921
  * @param {Object} body webDeploymentsOAuthExchangeRequest
82576
81922
  */
@@ -82714,7 +82060,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82714
82060
  /**
82715
82061
  * WebMessaging service.
82716
82062
  * @module purecloud-platform-client-v2/api/WebMessagingApi
82717
- * @version 233.0.0
82063
+ * @version 234.0.0
82718
82064
  */
82719
82065
 
82720
82066
  /**
@@ -82860,7 +82206,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82860
82206
  /**
82861
82207
  * Widgets service.
82862
82208
  * @module purecloud-platform-client-v2/api/WidgetsApi
82863
- * @version 233.0.0
82209
+ * @version 234.0.0
82864
82210
  */
82865
82211
 
82866
82212
  /**
@@ -83011,7 +82357,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83011
82357
  /**
83012
82358
  * WorkforceManagement service.
83013
82359
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
83014
- * @version 233.0.0
82360
+ * @version 234.0.0
83015
82361
  */
83016
82362
 
83017
82363
  /**
@@ -91011,7 +90357,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
91011
90357
  * </pre>
91012
90358
  * </p>
91013
90359
  * @module purecloud-platform-client-v2/index
91014
- * @version 233.0.0
90360
+ * @version 234.0.0
91015
90361
  */
91016
90362
  class platformClient {
91017
90363
  constructor() {