purecloud-platform-client-v2 232.0.0 → 234.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +327 -974
  3. package/dist/web-amd/purecloud-platform-client-v2.js +327 -974
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +151 -375
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +218 -497
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +639 -580
  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 +3 -32
  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 +11 -5
  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 +3 -2
  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 +3 -3
  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 232.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 232.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 232.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 232.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 232.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 232.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 232.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 232.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 232.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 232.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 232.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 232.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
@@ -14523,8 +14498,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14523
14498
  /**
14524
14499
  * Create a schema
14525
14500
  *
14526
- * @param {Object} body Schema
14527
- * postBusinessrulesSchemas is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14501
+ * @param {Object} body Business Rules Schema Create Request
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
@@ -14622,8 +14594,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14622
14594
  * Update a schema
14623
14595
  *
14624
14596
  * @param {String} schemaId Schema ID
14625
- * @param {Object} body Data Schema
14626
- * putBusinessrulesSchema is a preview method and is subject to both breaking and non-breaking changes at any time without notice
14597
+ * @param {Object} body Business Rules Schema Update Request
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 232.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 232.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 232.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 232.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 232.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 232.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 232.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 232.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 232.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 232.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 232.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 232.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 232.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 232.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 232.0.0
30290
+ * @version 234.0.0
30280
30291
  */
30281
30292
 
30282
30293
  /**
@@ -30636,6 +30647,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30636
30647
  * @param {String} opts.sortMetricId Sort Metric Id
30637
30648
  * @param {Object} opts.sortOrder Sort order (default to asc)
30638
30649
  * @param {String} opts.userIds A list of up to 100 comma-separated user Ids
30650
+ * @param {String} opts.reportsTo The reportsTo used by ABAC policies.
30639
30651
  */
30640
30652
  getGamificationInsights(filterType, filterId, granularity, comparativePeriodStartWorkday, primaryPeriodStartWorkday, opts) {
30641
30653
  opts = opts || {};
@@ -30665,7 +30677,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30665
30677
  '/api/v2/gamification/insights',
30666
30678
  'GET',
30667
30679
  { },
30668
- { 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday,'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortKey': opts['sortKey'],'sortMetricId': opts['sortMetricId'],'sortOrder': opts['sortOrder'],'userIds': opts['userIds'] },
30680
+ { 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday,'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortKey': opts['sortKey'],'sortMetricId': opts['sortMetricId'],'sortOrder': opts['sortOrder'],'userIds': opts['userIds'],'reportsTo': opts['reportsTo'] },
30669
30681
  { },
30670
30682
  { },
30671
30683
  null,
@@ -30837,8 +30849,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30837
30849
  * @param {String} filterId ID for the filter type.
30838
30850
  * @param {Object} granularity Granularity
30839
30851
  * @param {String} startWorkday The start work day. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
30852
+ * @param {Object} opts Optional parameters
30853
+ * @param {String} opts.reportsTo The reportsTo used by ABAC policies.
30840
30854
  */
30841
- getGamificationInsightsMembers(filterType, filterId, granularity, startWorkday) {
30855
+ getGamificationInsightsMembers(filterType, filterId, granularity, startWorkday, opts) {
30856
+ opts = opts || {};
30857
+
30842
30858
  // verify the required parameter 'filterType' is set
30843
30859
  if (filterType === undefined || filterType === null) {
30844
30860
  throw 'Missing the required parameter "filterType" when calling getGamificationInsightsMembers';
@@ -30860,7 +30876,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30860
30876
  '/api/v2/gamification/insights/members',
30861
30877
  'GET',
30862
30878
  { },
30863
- { 'filterType': filterType,'filterId': filterId,'granularity': granularity,'startWorkday': startWorkday },
30879
+ { 'filterType': filterType,'filterId': filterId,'granularity': granularity,'startWorkday': startWorkday,'reportsTo': opts['reportsTo'] },
30864
30880
  { },
30865
30881
  { },
30866
30882
  null,
@@ -30883,6 +30899,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30883
30899
  * @param {String} opts.sortMetricId Sort Metric Id
30884
30900
  * @param {Number} opts.sectionSize The number of top and bottom users to return before ties
30885
30901
  * @param {String} opts.userIds A list of up to 100 comma-separated user Ids
30902
+ * @param {String} opts.reportsTo The reportsTo used by ABAC policies.
30886
30903
  */
30887
30904
  getGamificationInsightsRankings(filterType, filterId, granularity, comparativePeriodStartWorkday, primaryPeriodStartWorkday, sortKey, opts) {
30888
30905
  opts = opts || {};
@@ -30916,7 +30933,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30916
30933
  '/api/v2/gamification/insights/rankings',
30917
30934
  'GET',
30918
30935
  { },
30919
- { 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday,'sortKey': sortKey,'sortMetricId': opts['sortMetricId'],'sectionSize': opts['sectionSize'],'userIds': opts['userIds'] },
30936
+ { 'filterType': filterType,'filterId': filterId,'granularity': granularity,'comparativePeriodStartWorkday': comparativePeriodStartWorkday,'primaryPeriodStartWorkday': primaryPeriodStartWorkday,'sortKey': sortKey,'sortMetricId': opts['sortMetricId'],'sectionSize': opts['sectionSize'],'userIds': opts['userIds'],'reportsTo': opts['reportsTo'] },
30920
30937
  { },
30921
30938
  { },
30922
30939
  null,
@@ -32783,7 +32800,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32783
32800
  /**
32784
32801
  * GeneralDataProtectionRegulation service.
32785
32802
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
32786
- * @version 232.0.0
32803
+ * @version 234.0.0
32787
32804
  */
32788
32805
 
32789
32806
  /**
@@ -32913,7 +32930,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32913
32930
  /**
32914
32931
  * Geolocation service.
32915
32932
  * @module purecloud-platform-client-v2/api/GeolocationApi
32916
- * @version 232.0.0
32933
+ * @version 234.0.0
32917
32934
  */
32918
32935
 
32919
32936
  /**
@@ -33044,7 +33061,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33044
33061
  /**
33045
33062
  * Greetings service.
33046
33063
  * @module purecloud-platform-client-v2/api/GreetingsApi
33047
- * @version 232.0.0
33064
+ * @version 234.0.0
33048
33065
  */
33049
33066
 
33050
33067
  /**
@@ -33586,7 +33603,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33586
33603
  /**
33587
33604
  * Groups service.
33588
33605
  * @module purecloud-platform-client-v2/api/GroupsApi
33589
- * @version 232.0.0
33606
+ * @version 234.0.0
33590
33607
  */
33591
33608
 
33592
33609
  /**
@@ -34105,7 +34122,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34105
34122
  /**
34106
34123
  * IdentityProvider service.
34107
34124
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
34108
- * @version 232.0.0
34125
+ * @version 234.0.0
34109
34126
  */
34110
34127
 
34111
34128
  /**
@@ -34966,7 +34983,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34966
34983
  /**
34967
34984
  * InfrastructureAsCode service.
34968
34985
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
34969
- * @version 232.0.0
34986
+ * @version 234.0.0
34970
34987
  */
34971
34988
 
34972
34989
  /**
@@ -35133,7 +35150,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35133
35150
  /**
35134
35151
  * Integrations service.
35135
35152
  * @module purecloud-platform-client-v2/api/IntegrationsApi
35136
- * @version 232.0.0
35153
+ * @version 234.0.0
35137
35154
  */
35138
35155
 
35139
35156
  /**
@@ -37781,7 +37798,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37781
37798
  /**
37782
37799
  * Journey service.
37783
37800
  * @module purecloud-platform-client-v2/api/JourneyApi
37784
- * @version 232.0.0
37801
+ * @version 234.0.0
37785
37802
  */
37786
37803
 
37787
37804
  /**
@@ -39878,7 +39895,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39878
39895
  /**
39879
39896
  * Knowledge service.
39880
39897
  * @module purecloud-platform-client-v2/api/KnowledgeApi
39881
- * @version 232.0.0
39898
+ * @version 234.0.0
39882
39899
  */
39883
39900
 
39884
39901
  /**
@@ -40103,114 +40120,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40103
40120
  );
40104
40121
  }
40105
40122
 
40106
- /**
40107
- * Delete category
40108
- *
40109
- * @param {String} categoryId Category ID
40110
- * @param {String} knowledgeBaseId Knowledge base ID
40111
- * @param {Object} languageCode Language code, format: iso2-LOCALE
40112
- * @deprecated
40113
- */
40114
- deleteKnowledgeKnowledgebaseLanguageCategory(categoryId, knowledgeBaseId, languageCode) {
40115
- // verify the required parameter 'categoryId' is set
40116
- if (categoryId === undefined || categoryId === null || categoryId === '') {
40117
- throw 'Missing the required parameter "categoryId" when calling deleteKnowledgeKnowledgebaseLanguageCategory';
40118
- }
40119
- // verify the required parameter 'knowledgeBaseId' is set
40120
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
40121
- throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageCategory';
40122
- }
40123
- // verify the required parameter 'languageCode' is set
40124
- if (languageCode === undefined || languageCode === null || languageCode === '') {
40125
- throw 'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageCategory';
40126
- }
40127
-
40128
- return this.apiClient.callApi(
40129
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}',
40130
- 'DELETE',
40131
- { 'categoryId': categoryId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
40132
- { },
40133
- { },
40134
- { },
40135
- null,
40136
- ['PureCloud OAuth'],
40137
- ['application/json'],
40138
- ['application/json']
40139
- );
40140
- }
40141
-
40142
- /**
40143
- * Delete document
40144
- *
40145
- * @param {String} documentId Document ID
40146
- * @param {String} knowledgeBaseId Knowledge base ID
40147
- * @param {Object} languageCode Language code, format: iso2-LOCALE
40148
- * @deprecated
40149
- */
40150
- deleteKnowledgeKnowledgebaseLanguageDocument(documentId, knowledgeBaseId, languageCode) {
40151
- // verify the required parameter 'documentId' is set
40152
- if (documentId === undefined || documentId === null || documentId === '') {
40153
- throw 'Missing the required parameter "documentId" when calling deleteKnowledgeKnowledgebaseLanguageDocument';
40154
- }
40155
- // verify the required parameter 'knowledgeBaseId' is set
40156
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
40157
- throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageDocument';
40158
- }
40159
- // verify the required parameter 'languageCode' is set
40160
- if (languageCode === undefined || languageCode === null || languageCode === '') {
40161
- throw 'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageDocument';
40162
- }
40163
-
40164
- return this.apiClient.callApi(
40165
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}',
40166
- 'DELETE',
40167
- { 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
40168
- { },
40169
- { },
40170
- { },
40171
- null,
40172
- ['PureCloud OAuth'],
40173
- ['application/json'],
40174
- ['application/json']
40175
- );
40176
- }
40177
-
40178
- /**
40179
- * Delete import operation
40180
- *
40181
- * @param {String} knowledgeBaseId Knowledge base ID
40182
- * @param {Object} languageCode Language code, format: iso2-LOCALE
40183
- * @param {String} importId Import ID
40184
- * @deprecated
40185
- */
40186
- deleteKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId, languageCode, importId) {
40187
- // verify the required parameter 'knowledgeBaseId' is set
40188
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
40189
- throw 'Missing the required parameter "knowledgeBaseId" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';
40190
- }
40191
- // verify the required parameter 'languageCode' is set
40192
- if (languageCode === undefined || languageCode === null || languageCode === '') {
40193
- throw 'Missing the required parameter "languageCode" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';
40194
- }
40195
- // verify the required parameter 'importId' is set
40196
- if (importId === undefined || importId === null || importId === '') {
40197
- throw 'Missing the required parameter "importId" when calling deleteKnowledgeKnowledgebaseLanguageDocumentsImport';
40198
- }
40199
-
40200
- return this.apiClient.callApi(
40201
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}',
40202
- 'DELETE',
40203
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'importId': importId },
40204
- { },
40205
- { },
40206
- { },
40207
- null,
40208
- ['PureCloud OAuth'],
40209
- ['application/json'],
40210
- ['application/json']
40211
- );
40212
- }
40213
-
40214
40123
  /**
40215
40124
  * Delete Salesforce Knowledge integration source
40216
40125
  *
@@ -41034,312 +40943,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41034
40943
  );
41035
40944
  }
41036
40945
 
41037
- /**
41038
- * Get categories
41039
- *
41040
- * @param {String} knowledgeBaseId Knowledge base ID
41041
- * @param {Object} languageCode Language code, format: iso2-LOCALE
41042
- * @param {Object} opts Optional parameters
41043
- * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
41044
- * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
41045
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
41046
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
41047
- * @param {String} opts.name Filter to return the categories that starts with the given category name.
41048
- * @deprecated
41049
- */
41050
- getKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId, languageCode, opts) {
41051
- opts = opts || {};
41052
-
41053
- // verify the required parameter 'knowledgeBaseId' is set
41054
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
41055
- throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageCategories';
41056
- }
41057
- // verify the required parameter 'languageCode' is set
41058
- if (languageCode === undefined || languageCode === null || languageCode === '') {
41059
- throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageCategories';
41060
- }
41061
-
41062
- return this.apiClient.callApi(
41063
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories',
41064
- 'GET',
41065
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
41066
- { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'name': opts['name'] },
41067
- { },
41068
- { },
41069
- null,
41070
- ['PureCloud OAuth'],
41071
- ['application/json'],
41072
- ['application/json']
41073
- );
41074
- }
41075
-
41076
- /**
41077
- * Get category
41078
- *
41079
- * @param {String} categoryId Category ID
41080
- * @param {String} knowledgeBaseId Knowledge base ID
41081
- * @param {Object} languageCode Language code, format: iso2-LOCALE
41082
- * @deprecated
41083
- */
41084
- getKnowledgeKnowledgebaseLanguageCategory(categoryId, knowledgeBaseId, languageCode) {
41085
- // verify the required parameter 'categoryId' is set
41086
- if (categoryId === undefined || categoryId === null || categoryId === '') {
41087
- throw 'Missing the required parameter "categoryId" when calling getKnowledgeKnowledgebaseLanguageCategory';
41088
- }
41089
- // verify the required parameter 'knowledgeBaseId' is set
41090
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
41091
- throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageCategory';
41092
- }
41093
- // verify the required parameter 'languageCode' is set
41094
- if (languageCode === undefined || languageCode === null || languageCode === '') {
41095
- throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageCategory';
41096
- }
41097
-
41098
- return this.apiClient.callApi(
41099
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}',
41100
- 'GET',
41101
- { 'categoryId': categoryId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
41102
- { },
41103
- { },
41104
- { },
41105
- null,
41106
- ['PureCloud OAuth'],
41107
- ['application/json'],
41108
- ['application/json']
41109
- );
41110
- }
41111
-
41112
- /**
41113
- * Get document
41114
- *
41115
- * @param {String} documentId Document ID
41116
- * @param {String} knowledgeBaseId Knowledge base ID
41117
- * @param {Object} languageCode Language code, format: iso2-LOCALE
41118
- * @deprecated
41119
- */
41120
- getKnowledgeKnowledgebaseLanguageDocument(documentId, knowledgeBaseId, languageCode) {
41121
- // verify the required parameter 'documentId' is set
41122
- if (documentId === undefined || documentId === null || documentId === '') {
41123
- throw 'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseLanguageDocument';
41124
- }
41125
- // verify the required parameter 'knowledgeBaseId' is set
41126
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
41127
- throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocument';
41128
- }
41129
- // verify the required parameter 'languageCode' is set
41130
- if (languageCode === undefined || languageCode === null || languageCode === '') {
41131
- throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocument';
41132
- }
41133
-
41134
- return this.apiClient.callApi(
41135
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}',
41136
- 'GET',
41137
- { 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
41138
- { },
41139
- { },
41140
- { },
41141
- null,
41142
- ['PureCloud OAuth'],
41143
- ['application/json'],
41144
- ['application/json']
41145
- );
41146
- }
41147
-
41148
- /**
41149
- * Get document content upload status
41150
- *
41151
- * @param {String} documentId Document ID
41152
- * @param {String} knowledgeBaseId Knowledge base ID
41153
- * @param {Object} languageCode Language code, format: iso2-LOCALE
41154
- * @param {String} uploadId UploadId
41155
- * @deprecated
41156
- */
41157
- getKnowledgeKnowledgebaseLanguageDocumentUpload(documentId, knowledgeBaseId, languageCode, uploadId) {
41158
- // verify the required parameter 'documentId' is set
41159
- if (documentId === undefined || documentId === null || documentId === '') {
41160
- throw 'Missing the required parameter "documentId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';
41161
- }
41162
- // verify the required parameter 'knowledgeBaseId' is set
41163
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
41164
- throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';
41165
- }
41166
- // verify the required parameter 'languageCode' is set
41167
- if (languageCode === undefined || languageCode === null || languageCode === '') {
41168
- throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';
41169
- }
41170
- // verify the required parameter 'uploadId' is set
41171
- if (uploadId === undefined || uploadId === null || uploadId === '') {
41172
- throw 'Missing the required parameter "uploadId" when calling getKnowledgeKnowledgebaseLanguageDocumentUpload';
41173
- }
41174
-
41175
- return this.apiClient.callApi(
41176
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}/uploads/{uploadId}',
41177
- 'GET',
41178
- { 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'uploadId': uploadId },
41179
- { },
41180
- { },
41181
- { },
41182
- null,
41183
- ['PureCloud OAuth'],
41184
- ['application/json'],
41185
- ['application/json']
41186
- );
41187
- }
41188
-
41189
- /**
41190
- * Get documents
41191
- *
41192
- * @param {String} knowledgeBaseId Knowledge base ID
41193
- * @param {Object} languageCode Language code, format: iso2-LOCALE
41194
- * @param {Object} opts Optional parameters
41195
- * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
41196
- * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
41197
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
41198
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
41199
- * @param {String} opts.categories Filter by categories ids, comma separated values expected.
41200
- * @param {String} opts.title Filter by document title.
41201
- * @param {Object} opts.sortBy Sort by.
41202
- * @param {Object} opts.sortOrder Sort Order.
41203
- * @param {Array.<String>} opts.documentIds Comma-separated list of document identifiers to fetch by.
41204
- * @deprecated
41205
- */
41206
- getKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, opts) {
41207
- opts = opts || {};
41208
-
41209
- // verify the required parameter 'knowledgeBaseId' is set
41210
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
41211
- throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocuments';
41212
- }
41213
- // verify the required parameter 'languageCode' is set
41214
- if (languageCode === undefined || languageCode === null || languageCode === '') {
41215
- throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocuments';
41216
- }
41217
-
41218
- return this.apiClient.callApi(
41219
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
41220
- 'GET',
41221
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
41222
- { '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') },
41223
- { },
41224
- { },
41225
- null,
41226
- ['PureCloud OAuth'],
41227
- ['application/json'],
41228
- ['application/json']
41229
- );
41230
- }
41231
-
41232
- /**
41233
- * Get import operation report
41234
- *
41235
- * @param {String} knowledgeBaseId Knowledge base ID
41236
- * @param {Object} languageCode Language code, format: iso2-LOCALE
41237
- * @param {String} importId Import ID
41238
- * @deprecated
41239
- */
41240
- getKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId, languageCode, importId) {
41241
- // verify the required parameter 'knowledgeBaseId' is set
41242
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
41243
- throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';
41244
- }
41245
- // verify the required parameter 'languageCode' is set
41246
- if (languageCode === undefined || languageCode === null || languageCode === '') {
41247
- throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';
41248
- }
41249
- // verify the required parameter 'importId' is set
41250
- if (importId === undefined || importId === null || importId === '') {
41251
- throw 'Missing the required parameter "importId" when calling getKnowledgeKnowledgebaseLanguageDocumentsImport';
41252
- }
41253
-
41254
- return this.apiClient.callApi(
41255
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}',
41256
- 'GET',
41257
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'importId': importId },
41258
- { },
41259
- { },
41260
- { },
41261
- null,
41262
- ['PureCloud OAuth'],
41263
- ['application/json'],
41264
- ['application/json']
41265
- );
41266
- }
41267
-
41268
- /**
41269
- * Get training detail
41270
- *
41271
- * @param {String} knowledgeBaseId Knowledge base ID
41272
- * @param {Object} languageCode Language code, format: iso2-LOCALE
41273
- * @param {String} trainingId Training ID
41274
- * @deprecated
41275
- */
41276
- getKnowledgeKnowledgebaseLanguageTraining(knowledgeBaseId, languageCode, trainingId) {
41277
- // verify the required parameter 'knowledgeBaseId' is set
41278
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
41279
- throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageTraining';
41280
- }
41281
- // verify the required parameter 'languageCode' is set
41282
- if (languageCode === undefined || languageCode === null || languageCode === '') {
41283
- throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageTraining';
41284
- }
41285
- // verify the required parameter 'trainingId' is set
41286
- if (trainingId === undefined || trainingId === null || trainingId === '') {
41287
- throw 'Missing the required parameter "trainingId" when calling getKnowledgeKnowledgebaseLanguageTraining';
41288
- }
41289
-
41290
- return this.apiClient.callApi(
41291
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings/{trainingId}',
41292
- 'GET',
41293
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'trainingId': trainingId },
41294
- { },
41295
- { },
41296
- { },
41297
- null,
41298
- ['PureCloud OAuth'],
41299
- ['application/json'],
41300
- ['application/json']
41301
- );
41302
- }
41303
-
41304
- /**
41305
- * Get all trainings information for a knowledgebase
41306
- *
41307
- * @param {String} knowledgeBaseId Knowledge base ID
41308
- * @param {Object} languageCode Language code, format: iso2-LOCALE
41309
- * @param {Object} opts Optional parameters
41310
- * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
41311
- * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
41312
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
41313
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
41314
- * @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
41315
- * @deprecated
41316
- */
41317
- getKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId, languageCode, opts) {
41318
- opts = opts || {};
41319
-
41320
- // verify the required parameter 'knowledgeBaseId' is set
41321
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
41322
- throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseLanguageTrainings';
41323
- }
41324
- // verify the required parameter 'languageCode' is set
41325
- if (languageCode === undefined || languageCode === null || languageCode === '') {
41326
- throw 'Missing the required parameter "languageCode" when calling getKnowledgeKnowledgebaseLanguageTrainings';
41327
- }
41328
-
41329
- return this.apiClient.callApi(
41330
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings',
41331
- 'GET',
41332
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
41333
- { 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'knowledgeDocumentsState': opts['knowledgeDocumentsState'] },
41334
- { },
41335
- { },
41336
- null,
41337
- ['PureCloud OAuth'],
41338
- ['application/json'],
41339
- ['application/json']
41340
- );
41341
- }
41342
-
41343
40946
  /**
41344
40947
  * Get operations
41345
40948
  *
@@ -42052,165 +41655,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42052
41655
  );
42053
41656
  }
42054
41657
 
42055
- /**
42056
- * Update category
42057
- *
42058
- * @param {String} categoryId Category ID
42059
- * @param {String} knowledgeBaseId Knowledge base ID
42060
- * @param {Object} languageCode Language code, format: iso2-LOCALE
42061
- * @param {Object} body
42062
- * @deprecated
42063
- */
42064
- patchKnowledgeKnowledgebaseLanguageCategory(categoryId, knowledgeBaseId, languageCode, body) {
42065
- // verify the required parameter 'categoryId' is set
42066
- if (categoryId === undefined || categoryId === null || categoryId === '') {
42067
- throw 'Missing the required parameter "categoryId" when calling patchKnowledgeKnowledgebaseLanguageCategory';
42068
- }
42069
- // verify the required parameter 'knowledgeBaseId' is set
42070
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
42071
- throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageCategory';
42072
- }
42073
- // verify the required parameter 'languageCode' is set
42074
- if (languageCode === undefined || languageCode === null || languageCode === '') {
42075
- throw 'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageCategory';
42076
- }
42077
- // verify the required parameter 'body' is set
42078
- if (body === undefined || body === null) {
42079
- throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageCategory';
42080
- }
42081
-
42082
- return this.apiClient.callApi(
42083
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories/{categoryId}',
42084
- 'PATCH',
42085
- { 'categoryId': categoryId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
42086
- { },
42087
- { },
42088
- { },
42089
- body,
42090
- ['PureCloud OAuth'],
42091
- ['application/json'],
42092
- ['application/json']
42093
- );
42094
- }
42095
-
42096
- /**
42097
- * Update document
42098
- *
42099
- * @param {String} documentId Document ID
42100
- * @param {String} knowledgeBaseId Knowledge base ID
42101
- * @param {Object} languageCode Language code, format: iso2-LOCALE
42102
- * @param {Object} body
42103
- * @deprecated
42104
- */
42105
- patchKnowledgeKnowledgebaseLanguageDocument(documentId, knowledgeBaseId, languageCode, body) {
42106
- // verify the required parameter 'documentId' is set
42107
- if (documentId === undefined || documentId === null || documentId === '') {
42108
- throw 'Missing the required parameter "documentId" when calling patchKnowledgeKnowledgebaseLanguageDocument';
42109
- }
42110
- // verify the required parameter 'knowledgeBaseId' is set
42111
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
42112
- throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocument';
42113
- }
42114
- // verify the required parameter 'languageCode' is set
42115
- if (languageCode === undefined || languageCode === null || languageCode === '') {
42116
- throw 'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocument';
42117
- }
42118
- // verify the required parameter 'body' is set
42119
- if (body === undefined || body === null) {
42120
- throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocument';
42121
- }
42122
-
42123
- return this.apiClient.callApi(
42124
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}',
42125
- 'PATCH',
42126
- { 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
42127
- { },
42128
- { },
42129
- { },
42130
- body,
42131
- ['PureCloud OAuth'],
42132
- ['application/json'],
42133
- ['application/json']
42134
- );
42135
- }
42136
-
42137
- /**
42138
- * Update documents collection
42139
- *
42140
- * @param {String} knowledgeBaseId Knowledge base ID
42141
- * @param {Object} languageCode Language code, format: iso2-LOCALE
42142
- * @param {Array.<Object>} body
42143
- * @deprecated
42144
- */
42145
- patchKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, body) {
42146
- // verify the required parameter 'knowledgeBaseId' is set
42147
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
42148
- throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocuments';
42149
- }
42150
- // verify the required parameter 'languageCode' is set
42151
- if (languageCode === undefined || languageCode === null || languageCode === '') {
42152
- throw 'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocuments';
42153
- }
42154
- // verify the required parameter 'body' is set
42155
- if (body === undefined || body === null) {
42156
- throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocuments';
42157
- }
42158
-
42159
- return this.apiClient.callApi(
42160
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
42161
- 'PATCH',
42162
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
42163
- { },
42164
- { },
42165
- { },
42166
- body,
42167
- ['PureCloud OAuth'],
42168
- ['application/json'],
42169
- ['application/json']
42170
- );
42171
- }
42172
-
42173
- /**
42174
- * Start import operation
42175
- *
42176
- * @param {String} knowledgeBaseId Knowledge base ID
42177
- * @param {Object} languageCode Language code, format: iso2-LOCALE
42178
- * @param {String} importId Import ID
42179
- * @param {Object} body
42180
- * @deprecated
42181
- */
42182
- patchKnowledgeKnowledgebaseLanguageDocumentsImport(knowledgeBaseId, languageCode, importId, body) {
42183
- // verify the required parameter 'knowledgeBaseId' is set
42184
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
42185
- throw 'Missing the required parameter "knowledgeBaseId" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';
42186
- }
42187
- // verify the required parameter 'languageCode' is set
42188
- if (languageCode === undefined || languageCode === null || languageCode === '') {
42189
- throw 'Missing the required parameter "languageCode" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';
42190
- }
42191
- // verify the required parameter 'importId' is set
42192
- if (importId === undefined || importId === null || importId === '') {
42193
- throw 'Missing the required parameter "importId" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';
42194
- }
42195
- // verify the required parameter 'body' is set
42196
- if (body === undefined || body === null) {
42197
- throw 'Missing the required parameter "body" when calling patchKnowledgeKnowledgebaseLanguageDocumentsImport';
42198
- }
42199
-
42200
- return this.apiClient.callApi(
42201
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports/{importId}',
42202
- 'PATCH',
42203
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'importId': importId },
42204
- { },
42205
- { },
42206
- { },
42207
- body,
42208
- ['PureCloud OAuth'],
42209
- ['application/json'],
42210
- ['application/json']
42211
- );
42212
- }
42213
-
42214
41658
  /**
42215
41659
  * Send update to the parse operation
42216
41660
  *
@@ -43180,222 +42624,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43180
42624
  );
43181
42625
  }
43182
42626
 
43183
- /**
43184
- * Create new category
43185
- *
43186
- * @param {String} knowledgeBaseId Knowledge base ID
43187
- * @param {Object} languageCode Language code, format: iso2-LOCALE
43188
- * @param {Object} body
43189
- * @deprecated
43190
- */
43191
- postKnowledgeKnowledgebaseLanguageCategories(knowledgeBaseId, languageCode, body) {
43192
- // verify the required parameter 'knowledgeBaseId' is set
43193
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
43194
- throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageCategories';
43195
- }
43196
- // verify the required parameter 'languageCode' is set
43197
- if (languageCode === undefined || languageCode === null || languageCode === '') {
43198
- throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageCategories';
43199
- }
43200
- // verify the required parameter 'body' is set
43201
- if (body === undefined || body === null) {
43202
- throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageCategories';
43203
- }
43204
-
43205
- return this.apiClient.callApi(
43206
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/categories',
43207
- 'POST',
43208
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
43209
- { },
43210
- { },
43211
- { },
43212
- body,
43213
- ['PureCloud OAuth'],
43214
- ['application/json'],
43215
- ['application/json']
43216
- );
43217
- }
43218
-
43219
- /**
43220
- * Upload Article Content
43221
- *
43222
- * @param {String} documentId Document ID
43223
- * @param {String} knowledgeBaseId Knowledge base ID
43224
- * @param {Object} languageCode Language code, format: iso2-LOCALE
43225
- * @param {Object} body
43226
- * @deprecated
43227
- */
43228
- postKnowledgeKnowledgebaseLanguageDocumentUploads(documentId, knowledgeBaseId, languageCode, body) {
43229
- // verify the required parameter 'documentId' is set
43230
- if (documentId === undefined || documentId === null || documentId === '') {
43231
- throw 'Missing the required parameter "documentId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';
43232
- }
43233
- // verify the required parameter 'knowledgeBaseId' is set
43234
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
43235
- throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';
43236
- }
43237
- // verify the required parameter 'languageCode' is set
43238
- if (languageCode === undefined || languageCode === null || languageCode === '') {
43239
- throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';
43240
- }
43241
- // verify the required parameter 'body' is set
43242
- if (body === undefined || body === null) {
43243
- throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocumentUploads';
43244
- }
43245
-
43246
- return this.apiClient.callApi(
43247
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/{documentId}/uploads',
43248
- 'POST',
43249
- { 'documentId': documentId,'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
43250
- { },
43251
- { },
43252
- { },
43253
- body,
43254
- ['PureCloud OAuth'],
43255
- ['application/json'],
43256
- ['application/json']
43257
- );
43258
- }
43259
-
43260
- /**
43261
- * Create document
43262
- *
43263
- * @param {String} knowledgeBaseId Knowledge base ID
43264
- * @param {Object} languageCode Language code, format: iso2-LOCALE
43265
- * @param {Object} body
43266
- * @deprecated
43267
- */
43268
- postKnowledgeKnowledgebaseLanguageDocuments(knowledgeBaseId, languageCode, body) {
43269
- // verify the required parameter 'knowledgeBaseId' is set
43270
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
43271
- throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocuments';
43272
- }
43273
- // verify the required parameter 'languageCode' is set
43274
- if (languageCode === undefined || languageCode === null || languageCode === '') {
43275
- throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocuments';
43276
- }
43277
- // verify the required parameter 'body' is set
43278
- if (body === undefined || body === null) {
43279
- throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocuments';
43280
- }
43281
-
43282
- return this.apiClient.callApi(
43283
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents',
43284
- 'POST',
43285
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
43286
- { },
43287
- { },
43288
- { },
43289
- body,
43290
- ['PureCloud OAuth'],
43291
- ['application/json'],
43292
- ['application/json']
43293
- );
43294
- }
43295
-
43296
- /**
43297
- * Create import operation
43298
- *
43299
- * @param {String} knowledgeBaseId Knowledge base ID
43300
- * @param {Object} languageCode Language code, format: iso2-LOCALE
43301
- * @param {Object} body
43302
- * @deprecated
43303
- */
43304
- postKnowledgeKnowledgebaseLanguageDocumentsImports(knowledgeBaseId, languageCode, body) {
43305
- // verify the required parameter 'knowledgeBaseId' is set
43306
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
43307
- throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';
43308
- }
43309
- // verify the required parameter 'languageCode' is set
43310
- if (languageCode === undefined || languageCode === null || languageCode === '') {
43311
- throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';
43312
- }
43313
- // verify the required parameter 'body' is set
43314
- if (body === undefined || body === null) {
43315
- throw 'Missing the required parameter "body" when calling postKnowledgeKnowledgebaseLanguageDocumentsImports';
43316
- }
43317
-
43318
- return this.apiClient.callApi(
43319
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/documents/imports',
43320
- 'POST',
43321
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
43322
- { },
43323
- { },
43324
- { },
43325
- body,
43326
- ['PureCloud OAuth'],
43327
- ['application/json'],
43328
- ['application/json']
43329
- );
43330
- }
43331
-
43332
- /**
43333
- * Promote trained documents from draft state to active.
43334
- *
43335
- * @param {String} knowledgeBaseId Knowledge base ID
43336
- * @param {Object} languageCode Language code, format: iso2-LOCALE
43337
- * @param {String} trainingId Training ID
43338
- * @deprecated
43339
- */
43340
- postKnowledgeKnowledgebaseLanguageTrainingPromote(knowledgeBaseId, languageCode, trainingId) {
43341
- // verify the required parameter 'knowledgeBaseId' is set
43342
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
43343
- throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';
43344
- }
43345
- // verify the required parameter 'languageCode' is set
43346
- if (languageCode === undefined || languageCode === null || languageCode === '') {
43347
- throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';
43348
- }
43349
- // verify the required parameter 'trainingId' is set
43350
- if (trainingId === undefined || trainingId === null || trainingId === '') {
43351
- throw 'Missing the required parameter "trainingId" when calling postKnowledgeKnowledgebaseLanguageTrainingPromote';
43352
- }
43353
-
43354
- return this.apiClient.callApi(
43355
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings/{trainingId}/promote',
43356
- 'POST',
43357
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode,'trainingId': trainingId },
43358
- { },
43359
- { },
43360
- { },
43361
- null,
43362
- ['PureCloud OAuth'],
43363
- ['application/json'],
43364
- ['application/json']
43365
- );
43366
- }
43367
-
43368
- /**
43369
- * Trigger training
43370
- *
43371
- * @param {String} knowledgeBaseId Knowledge base ID
43372
- * @param {Object} languageCode Language code, format: iso2-LOCALE
43373
- * @deprecated
43374
- */
43375
- postKnowledgeKnowledgebaseLanguageTrainings(knowledgeBaseId, languageCode) {
43376
- // verify the required parameter 'knowledgeBaseId' is set
43377
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
43378
- throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseLanguageTrainings';
43379
- }
43380
- // verify the required parameter 'languageCode' is set
43381
- if (languageCode === undefined || languageCode === null || languageCode === '') {
43382
- throw 'Missing the required parameter "languageCode" when calling postKnowledgeKnowledgebaseLanguageTrainings';
43383
- }
43384
-
43385
- return this.apiClient.callApi(
43386
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/languages/{languageCode}/trainings',
43387
- 'POST',
43388
- { 'knowledgeBaseId': knowledgeBaseId,'languageCode': languageCode },
43389
- { },
43390
- { },
43391
- { },
43392
- null,
43393
- ['PureCloud OAuth'],
43394
- ['application/json'],
43395
- ['application/json']
43396
- );
43397
- }
43398
-
43399
42627
  /**
43400
42628
  * Import the parsed articles
43401
42629
  *
@@ -43461,36 +42689,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43461
42689
  );
43462
42690
  }
43463
42691
 
43464
- /**
43465
- * Search Documents
43466
- *
43467
- * @param {String} knowledgeBaseId Knowledge base ID
43468
- * @param {Object} opts Optional parameters
43469
- * @param {Object} opts.body
43470
- * @deprecated
43471
- */
43472
- postKnowledgeKnowledgebaseSearch(knowledgeBaseId, opts) {
43473
- opts = opts || {};
43474
-
43475
- // verify the required parameter 'knowledgeBaseId' is set
43476
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
43477
- throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';
43478
- }
43479
-
43480
- return this.apiClient.callApi(
43481
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search',
43482
- 'POST',
43483
- { 'knowledgeBaseId': knowledgeBaseId },
43484
- { },
43485
- { },
43486
- { },
43487
- opts['body'],
43488
- ['PureCloud OAuth'],
43489
- ['application/json'],
43490
- ['application/json']
43491
- );
43492
- }
43493
-
43494
42692
  /**
43495
42693
  * Create Salesforce Knowledge integration source
43496
42694
  *
@@ -43780,7 +42978,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43780
42978
  /**
43781
42979
  * LanguageUnderstanding service.
43782
42980
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
43783
- * @version 232.0.0
42981
+ * @version 234.0.0
43784
42982
  */
43785
42983
 
43786
42984
  /**
@@ -44999,7 +44197,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44999
44197
  /**
45000
44198
  * Languages service.
45001
44199
  * @module purecloud-platform-client-v2/api/LanguagesApi
45002
- * @version 232.0.0
44200
+ * @version 234.0.0
45003
44201
  */
45004
44202
 
45005
44203
  /**
@@ -45221,7 +44419,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45221
44419
  /**
45222
44420
  * Learning service.
45223
44421
  * @module purecloud-platform-client-v2/api/LearningApi
45224
- * @version 232.0.0
44422
+ * @version 234.0.0
45225
44423
  */
45226
44424
 
45227
44425
  /**
@@ -46254,7 +45452,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46254
45452
  /**
46255
45453
  * License service.
46256
45454
  * @module purecloud-platform-client-v2/api/LicenseApi
46257
- * @version 232.0.0
45455
+ * @version 234.0.0
46258
45456
  */
46259
45457
 
46260
45458
  /**
@@ -46492,7 +45690,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46492
45690
  /**
46493
45691
  * Locations service.
46494
45692
  * @module purecloud-platform-client-v2/api/LocationsApi
46495
- * @version 232.0.0
45693
+ * @version 234.0.0
46496
45694
  */
46497
45695
 
46498
45696
  /**
@@ -46728,7 +45926,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46728
45926
  /**
46729
45927
  * LogCapture service.
46730
45928
  * @module purecloud-platform-client-v2/api/LogCaptureApi
46731
- * @version 232.0.0
45929
+ * @version 234.0.0
46732
45930
  */
46733
45931
 
46734
45932
  /**
@@ -46927,7 +46125,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46927
46125
  /**
46928
46126
  * Messaging service.
46929
46127
  * @module purecloud-platform-client-v2/api/MessagingApi
46930
- * @version 232.0.0
46128
+ * @version 234.0.0
46931
46129
  */
46932
46130
 
46933
46131
  /**
@@ -47286,7 +46484,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47286
46484
  /**
47287
46485
  * MobileDevices service.
47288
46486
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
47289
- * @version 232.0.0
46487
+ * @version 234.0.0
47290
46488
  */
47291
46489
 
47292
46490
  /**
@@ -47437,7 +46635,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47437
46635
  /**
47438
46636
  * Notifications service.
47439
46637
  * @module purecloud-platform-client-v2/api/NotificationsApi
47440
- * @version 232.0.0
46638
+ * @version 234.0.0
47441
46639
  */
47442
46640
 
47443
46641
  /**
@@ -47670,7 +46868,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47670
46868
  /**
47671
46869
  * OAuth service.
47672
46870
  * @module purecloud-platform-client-v2/api/OAuthApi
47673
- * @version 232.0.0
46871
+ * @version 234.0.0
47674
46872
  */
47675
46873
 
47676
46874
  /**
@@ -48036,7 +47234,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48036
47234
  /**
48037
47235
  * Objects service.
48038
47236
  * @module purecloud-platform-client-v2/api/ObjectsApi
48039
- * @version 232.0.0
47237
+ * @version 234.0.0
48040
47238
  */
48041
47239
 
48042
47240
  /**
@@ -48360,7 +47558,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48360
47558
  /**
48361
47559
  * OperationalEvents service.
48362
47560
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
48363
- * @version 232.0.0
47561
+ * @version 234.0.0
48364
47562
  */
48365
47563
 
48366
47564
  /**
@@ -48477,7 +47675,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48477
47675
  /**
48478
47676
  * Organization service.
48479
47677
  * @module purecloud-platform-client-v2/api/OrganizationApi
48480
- * @version 232.0.0
47678
+ * @version 234.0.0
48481
47679
  */
48482
47680
 
48483
47681
  /**
@@ -48952,7 +48150,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48952
48150
  /**
48953
48151
  * OrganizationAuthorization service.
48954
48152
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
48955
- * @version 232.0.0
48153
+ * @version 234.0.0
48956
48154
  */
48957
48155
 
48958
48156
  /**
@@ -50346,7 +49544,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50346
49544
  /**
50347
49545
  * Outbound service.
50348
49546
  * @module purecloud-platform-client-v2/api/OutboundApi
50349
- * @version 232.0.0
49547
+ * @version 234.0.0
50350
49548
  */
50351
49549
 
50352
49550
  /**
@@ -53564,6 +52762,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53564
52762
  );
53565
52763
  }
53566
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
+
53567
52790
  /**
53568
52791
  * Get progress for a list of campaigns
53569
52792
  *
@@ -55068,7 +54291,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55068
54291
  /**
55069
54292
  * Presence service.
55070
54293
  * @module purecloud-platform-client-v2/api/PresenceApi
55071
- * @version 232.0.0
54294
+ * @version 234.0.0
55072
54295
  */
55073
54296
 
55074
54297
  /**
@@ -55812,7 +55035,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55812
55035
  /**
55813
55036
  * ProcessAutomation service.
55814
55037
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
55815
- * @version 232.0.0
55038
+ * @version 234.0.0
55816
55039
  */
55817
55040
 
55818
55041
  /**
@@ -56051,7 +55274,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56051
55274
  /**
56052
55275
  * Quality service.
56053
55276
  * @module purecloud-platform-client-v2/api/QualityApi
56054
- * @version 232.0.0
55277
+ * @version 234.0.0
56055
55278
  */
56056
55279
 
56057
55280
  /**
@@ -57996,7 +57219,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57996
57219
  /**
57997
57220
  * Recording service.
57998
57221
  * @module purecloud-platform-client-v2/api/RecordingApi
57999
- * @version 232.0.0
57222
+ * @version 234.0.0
58000
57223
  */
58001
57224
 
58002
57225
  /**
@@ -59601,7 +58824,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59601
58824
  /**
59602
58825
  * ResponseManagement service.
59603
58826
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
59604
- * @version 232.0.0
58827
+ * @version 234.0.0
59605
58828
  */
59606
58829
 
59607
58830
  /**
@@ -60111,7 +59334,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60111
59334
  /**
60112
59335
  * Routing service.
60113
59336
  * @module purecloud-platform-client-v2/api/RoutingApi
60114
- * @version 232.0.0
59337
+ * @version 234.0.0
60115
59338
  */
60116
59339
 
60117
59340
  /**
@@ -60926,6 +60149,56 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60926
60149
  );
60927
60150
  }
60928
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
+
60929
60202
  /**
60930
60203
  * Get a route
60931
60204
  *
@@ -61022,6 +60295,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
61022
60295
  );
61023
60296
  }
61024
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
+
61025
60323
  /**
61026
60324
  * Get domains
61027
60325
  *
@@ -63310,6 +62608,61 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63310
62608
  );
63311
62609
  }
63312
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
+
63313
62666
  /**
63314
62667
  * Create a route
63315
62668
  *
@@ -63369,6 +62722,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63369
62722
  );
63370
62723
  }
63371
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
+
63372
62750
  /**
63373
62751
  * Create a domain
63374
62752
  *
@@ -64439,7 +63817,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64439
63817
  /**
64440
63818
  * SCIM service.
64441
63819
  * @module purecloud-platform-client-v2/api/SCIMApi
64442
- * @version 232.0.0
63820
+ * @version 234.0.0
64443
63821
  */
64444
63822
 
64445
63823
  /**
@@ -65316,7 +64694,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65316
64694
  /**
65317
64695
  * ScreenRecording service.
65318
64696
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
65319
- * @version 232.0.0
64697
+ * @version 234.0.0
65320
64698
  */
65321
64699
 
65322
64700
  /**
@@ -65361,7 +64739,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65361
64739
  /**
65362
64740
  * Scripts service.
65363
64741
  * @module purecloud-platform-client-v2/api/ScriptsApi
65364
- * @version 232.0.0
64742
+ * @version 234.0.0
65365
64743
  */
65366
64744
 
65367
64745
  /**
@@ -65837,7 +65215,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
65837
65215
  /**
65838
65216
  * Search service.
65839
65217
  * @module purecloud-platform-client-v2/api/SearchApi
65840
- * @version 232.0.0
65218
+ * @version 234.0.0
65841
65219
  */
65842
65220
 
65843
65221
  /**
@@ -66234,36 +65612,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66234
65612
  );
66235
65613
  }
66236
65614
 
66237
- /**
66238
- * Search Documents
66239
- *
66240
- * @param {String} knowledgeBaseId Knowledge base ID
66241
- * @param {Object} opts Optional parameters
66242
- * @param {Object} opts.body
66243
- * @deprecated
66244
- */
66245
- postKnowledgeKnowledgebaseSearch(knowledgeBaseId, opts) {
66246
- opts = opts || {};
66247
-
66248
- // verify the required parameter 'knowledgeBaseId' is set
66249
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
66250
- throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';
66251
- }
66252
-
66253
- return this.apiClient.callApi(
66254
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search',
66255
- 'POST',
66256
- { 'knowledgeBaseId': knowledgeBaseId },
66257
- { },
66258
- { },
66259
- { },
66260
- opts['body'],
66261
- ['PureCloud OAuth'],
66262
- ['application/json'],
66263
- ['application/json']
66264
- );
66265
- }
66266
-
66267
65615
  /**
66268
65616
  * Search locations
66269
65617
  *
@@ -66555,7 +65903,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66555
65903
  /**
66556
65904
  * Settings service.
66557
65905
  * @module purecloud-platform-client-v2/api/SettingsApi
66558
- * @version 232.0.0
65906
+ * @version 234.0.0
66559
65907
  */
66560
65908
 
66561
65909
  /**
@@ -66903,7 +66251,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66903
66251
  /**
66904
66252
  * SocialMedia service.
66905
66253
  * @module purecloud-platform-client-v2/api/SocialMediaApi
66906
- * @version 232.0.0
66254
+ * @version 234.0.0
66907
66255
  */
66908
66256
 
66909
66257
  /**
@@ -67246,8 +66594,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67246
66594
  * Get a single escalation rule.
67247
66595
  *
67248
66596
  * @param {String} escalationRuleId escalationRuleId
66597
+ * @param {Object} opts Optional parameters
66598
+ * @param {Object} opts.expand which fields, if any, to expand
67249
66599
  */
67250
- getSocialmediaEscalationrule(escalationRuleId) {
66600
+ getSocialmediaEscalationrule(escalationRuleId, opts) {
66601
+ opts = opts || {};
66602
+
67251
66603
  // verify the required parameter 'escalationRuleId' is set
67252
66604
  if (escalationRuleId === undefined || escalationRuleId === null || escalationRuleId === '') {
67253
66605
  throw 'Missing the required parameter "escalationRuleId" when calling getSocialmediaEscalationrule';
@@ -67257,7 +66609,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67257
66609
  '/api/v2/socialmedia/escalationrules/{escalationRuleId}',
67258
66610
  'GET',
67259
66611
  { 'escalationRuleId': escalationRuleId },
67260
- { },
66612
+ { 'expand': opts['expand'] },
67261
66613
  { },
67262
66614
  { },
67263
66615
  null,
@@ -68494,7 +67846,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68494
67846
  /**
68495
67847
  * SpeechTextAnalytics service.
68496
67848
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
68497
- * @version 232.0.0
67849
+ * @version 234.0.0
68498
67850
  */
68499
67851
 
68500
67852
  /**
@@ -69401,6 +68753,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69401
68753
  * @param {Object} opts Optional parameters
69402
68754
  * @param {String} opts.nextPage The key for listing the next page
69403
68755
  * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 500. (default to 20)
68756
+ * @param {Number} opts.pageNumber The page number for the listing
69404
68757
  * @param {Object} opts.state Topic state. Defaults to latest
69405
68758
  * @param {String} opts.name Case insensitive partial name to filter by
69406
68759
  * @param {Array.<String>} opts.ids Comma separated Topic IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
@@ -69416,7 +68769,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69416
68769
  '/api/v2/speechandtextanalytics/topics',
69417
68770
  'GET',
69418
68771
  { },
69419
- { 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'],'state': opts['state'],'name': opts['name'],'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi'),'dialects': this.apiClient.buildCollectionParam(opts['dialects'], 'multi'),'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
68772
+ { 'nextPage': opts['nextPage'],'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'state': opts['state'],'name': opts['name'],'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi'),'dialects': this.apiClient.buildCollectionParam(opts['dialects'], 'multi'),'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
69420
68773
  { },
69421
68774
  { },
69422
68775
  null,
@@ -70140,7 +69493,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
70140
69493
  /**
70141
69494
  * Stations service.
70142
69495
  * @module purecloud-platform-client-v2/api/StationsApi
70143
- * @version 232.0.0
69496
+ * @version 234.0.0
70144
69497
  */
70145
69498
 
70146
69499
  /**
@@ -70242,7 +69595,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
70242
69595
  /**
70243
69596
  * Suggest service.
70244
69597
  * @module purecloud-platform-client-v2/api/SuggestApi
70245
- * @version 232.0.0
69598
+ * @version 234.0.0
70246
69599
  */
70247
69600
 
70248
69601
  /**
@@ -70381,7 +69734,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
70381
69734
  /**
70382
69735
  * TaskManagement service.
70383
69736
  * @module purecloud-platform-client-v2/api/TaskManagementApi
70384
- * @version 232.0.0
69737
+ * @version 234.0.0
70385
69738
  */
70386
69739
 
70387
69740
  /**
@@ -70788,7 +70141,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
70788
70141
  *
70789
70142
  * @param {String} workitemId Workitem ID
70790
70143
  * @param {Object} opts Optional parameters
70791
- * @param {Object} opts.expands Which fields to expand. Comma separated if more than one.
70144
+ * @param {Array.<String>} opts.expands Which fields to expand. Comma separated if more than one.
70792
70145
  */
70793
70146
  getTaskmanagementWorkitem(workitemId, opts) {
70794
70147
  opts = opts || {};
@@ -70802,7 +70155,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
70802
70155
  '/api/v2/taskmanagement/workitems/{workitemId}',
70803
70156
  'GET',
70804
70157
  { 'workitemId': workitemId },
70805
- { 'expands': opts['expands'] },
70158
+ { 'expands': this.apiClient.buildCollectionParam(opts['expands'], 'multi') },
70806
70159
  { },
70807
70160
  { },
70808
70161
  null,
@@ -72543,7 +71896,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72543
71896
  /**
72544
71897
  * Teams service.
72545
71898
  * @module purecloud-platform-client-v2/api/TeamsApi
72546
- * @version 232.0.0
71899
+ * @version 234.0.0
72547
71900
  */
72548
71901
 
72549
71902
  /**
@@ -72848,7 +72201,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
72848
72201
  /**
72849
72202
  * Telephony service.
72850
72203
  * @module purecloud-platform-client-v2/api/TelephonyApi
72851
- * @version 232.0.0
72204
+ * @version 234.0.0
72852
72205
  */
72853
72206
 
72854
72207
  /**
@@ -73134,7 +72487,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
73134
72487
  /**
73135
72488
  * TelephonyProvidersEdge service.
73136
72489
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
73137
- * @version 232.0.0
72490
+ * @version 234.0.0
73138
72491
  */
73139
72492
 
73140
72493
  /**
@@ -76627,7 +75980,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
76627
75980
  /**
76628
75981
  * Textbots service.
76629
75982
  * @module purecloud-platform-client-v2/api/TextbotsApi
76630
- * @version 232.0.0
75983
+ * @version 234.0.0
76631
75984
  */
76632
75985
 
76633
75986
  /**
@@ -76756,7 +76109,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
76756
76109
  /**
76757
76110
  * Tokens service.
76758
76111
  * @module purecloud-platform-client-v2/api/TokensApi
76759
- * @version 232.0.0
76112
+ * @version 234.0.0
76760
76113
  */
76761
76114
 
76762
76115
  /**
@@ -76910,7 +76263,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
76910
76263
  /**
76911
76264
  * Uploads service.
76912
76265
  * @module purecloud-platform-client-v2/api/UploadsApi
76913
- * @version 232.0.0
76266
+ * @version 234.0.0
76914
76267
  */
76915
76268
 
76916
76269
  /**
@@ -77201,7 +76554,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77201
76554
  /**
77202
76555
  * Usage service.
77203
76556
  * @module purecloud-platform-client-v2/api/UsageApi
77204
- * @version 232.0.0
76557
+ * @version 234.0.0
77205
76558
  */
77206
76559
 
77207
76560
  /**
@@ -77536,7 +76889,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77536
76889
  /**
77537
76890
  * UserRecordings service.
77538
76891
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
77539
- * @version 232.0.0
76892
+ * @version 234.0.0
77540
76893
  */
77541
76894
 
77542
76895
  /**
@@ -77720,7 +77073,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
77720
77073
  /**
77721
77074
  * Users service.
77722
77075
  * @module purecloud-platform-client-v2/api/UsersApi
77723
- * @version 232.0.0
77076
+ * @version 234.0.0
77724
77077
  */
77725
77078
 
77726
77079
  /**
@@ -80729,7 +80082,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
80729
80082
  /**
80730
80083
  * Utilities service.
80731
80084
  * @module purecloud-platform-client-v2/api/UtilitiesApi
80732
- * @version 232.0.0
80085
+ * @version 234.0.0
80733
80086
  */
80734
80087
 
80735
80088
  /**
@@ -80840,7 +80193,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
80840
80193
  /**
80841
80194
  * Voicemail service.
80842
80195
  * @module purecloud-platform-client-v2/api/VoicemailApi
80843
- * @version 232.0.0
80196
+ * @version 234.0.0
80844
80197
  */
80845
80198
 
80846
80199
  /**
@@ -81562,7 +80915,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
81562
80915
  /**
81563
80916
  * WebChat service.
81564
80917
  * @module purecloud-platform-client-v2/api/WebChatApi
81565
- * @version 232.0.0
80918
+ * @version 234.0.0
81566
80919
  */
81567
80920
 
81568
80921
  /**
@@ -82125,7 +81478,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82125
81478
  /**
82126
81479
  * WebDeployments service.
82127
81480
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
82128
- * @version 232.0.0
81481
+ * @version 234.0.0
82129
81482
  */
82130
81483
 
82131
81484
  /**
@@ -82563,7 +81916,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82563
81916
  }
82564
81917
 
82565
81918
  /**
82566
- * 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.
82567
81920
  *
82568
81921
  * @param {Object} body webDeploymentsOAuthExchangeRequest
82569
81922
  */
@@ -82707,7 +82060,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82707
82060
  /**
82708
82061
  * WebMessaging service.
82709
82062
  * @module purecloud-platform-client-v2/api/WebMessagingApi
82710
- * @version 232.0.0
82063
+ * @version 234.0.0
82711
82064
  */
82712
82065
 
82713
82066
  /**
@@ -82853,7 +82206,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
82853
82206
  /**
82854
82207
  * Widgets service.
82855
82208
  * @module purecloud-platform-client-v2/api/WidgetsApi
82856
- * @version 232.0.0
82209
+ * @version 234.0.0
82857
82210
  */
82858
82211
 
82859
82212
  /**
@@ -83004,7 +82357,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
83004
82357
  /**
83005
82358
  * WorkforceManagement service.
83006
82359
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
83007
- * @version 232.0.0
82360
+ * @version 234.0.0
83008
82361
  */
83009
82362
 
83010
82363
  /**
@@ -91004,7 +90357,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
91004
90357
  * </pre>
91005
90358
  * </p>
91006
90359
  * @module purecloud-platform-client-v2/index
91007
- * @version 232.0.0
90360
+ * @version 234.0.0
91008
90361
  */
91009
90362
  class platformClient {
91010
90363
  constructor() {