purecloud-platform-client-v2 202.1.0 → 203.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 (87) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +153 -89
  3. package/dist/web-amd/purecloud-platform-client-v2.js +153 -89
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +94 -89
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +94 -89
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +254 -224
  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/AgentUIApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -12
  15. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +46 -1
  17. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +31 -1
  41. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-platform-client-v2",
3
- "version": "202.1.0",
3
+ "version": "203.0.0",
4
4
  "description": "A JavaScript library to interface with the PureCloud Platform API",
5
5
  "license": "MIT",
6
6
  "main": "dist/node/purecloud-platform-client-v2.js",
@@ -4,7 +4,7 @@ import { default as qs } from 'qs';
4
4
 
5
5
  /**
6
6
  * @module purecloud-platform-client-v2/ApiClient
7
- * @version 202.1.0
7
+ * @version 203.0.0
8
8
  */
9
9
  class ApiClient {
10
10
  /**
@@ -5,7 +5,7 @@ class AgentUIApi {
5
5
  /**
6
6
  * AgentUI service.
7
7
  * @module purecloud-platform-client-v2/api/AgentUIApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AlertingApi {
5
5
  /**
6
6
  * Alerting service.
7
7
  * @module purecloud-platform-client-v2/api/AlertingApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AnalyticsApi {
5
5
  /**
6
6
  * Analytics service.
7
7
  * @module purecloud-platform-client-v2/api/AnalyticsApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -412,7 +412,6 @@ class ArchitectApi {
412
412
  * Deletes a log level for a flow by flow id.
413
413
  * Deletes the associated log level for a flow by flow id
414
414
  * @param {String} flowId The flow id to delete the loglevel for
415
- * deleteFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
416
415
  */
417
416
  deleteFlowInstancesSettingsLoglevels(flowId) {
418
417
  // verify the required parameter 'flowId' is set
@@ -521,7 +520,6 @@ class ArchitectApi {
521
520
  /**
522
521
  * Resets the org log level to default, base
523
522
  * Resets the org log level to default, base
524
- * deleteFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
525
523
  */
526
524
  deleteFlowsInstancesSettingsLoglevelsDefault() {
527
525
 
@@ -1672,7 +1670,6 @@ class ArchitectApi {
1672
1670
  * @param {String} flowId The flow id to get the loglevel for
1673
1671
  * @param {Object} opts Optional parameters
1674
1672
  * @param {Array.<String>} opts.expand Expand instructions for the result
1675
- * getFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1676
1673
  */
1677
1674
  getFlowInstancesSettingsLoglevels(flowId, opts) {
1678
1675
  opts = opts || {};
@@ -2400,7 +2397,6 @@ class ArchitectApi {
2400
2397
  /**
2401
2398
  * Get the execution history enabled setting.
2402
2399
  * Get the execution history enabled setting.
2403
- * getFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2404
2400
  */
2405
2401
  getFlowsInstancesSettingsExecutiondata() {
2406
2402
 
@@ -2425,7 +2421,6 @@ class ArchitectApi {
2425
2421
  * @param {Array.<String>} opts.expand Expand instructions for the result
2426
2422
  * @param {Number} opts.pageNumber Page number (default to 1)
2427
2423
  * @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
2428
- * getFlowsInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2429
2424
  */
2430
2425
  getFlowsInstancesSettingsLoglevels(opts) {
2431
2426
  opts = opts || {};
@@ -2448,7 +2443,6 @@ class ArchitectApi {
2448
2443
  /**
2449
2444
  * Gets the available flow log level characteristics for this organization.
2450
2445
  * Log levels can be customized and this returns the set of available characteristics that can be enabled/disabled.
2451
- * getFlowsInstancesSettingsLoglevelsCharacteristics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2452
2446
  */
2453
2447
  getFlowsInstancesSettingsLoglevelsCharacteristics() {
2454
2448
 
@@ -2471,7 +2465,6 @@ class ArchitectApi {
2471
2465
  * Returns the flow default log level which will be used if no specific flow id log level is found.
2472
2466
  * @param {Object} opts Optional parameters
2473
2467
  * @param {Array.<String>} opts.expand Expand instructions for the result
2474
- * getFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2475
2468
  */
2476
2469
  getFlowsInstancesSettingsLoglevelsDefault(opts) {
2477
2470
  opts = opts || {};
@@ -2763,7 +2756,6 @@ class ArchitectApi {
2763
2756
  * Edit the execution history enabled setting.
2764
2757
  * Edit the execution history enabled setting.
2765
2758
  * @param {Object} body New Execution Data Setting
2766
- * patchFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2767
2759
  */
2768
2760
  patchFlowsInstancesSettingsExecutiondata(body) {
2769
2761
  // verify the required parameter 'body' is set
@@ -3201,7 +3193,6 @@ class ArchitectApi {
3201
3193
  * @param {Object} body New LogLevel settings
3202
3194
  * @param {Object} opts Optional parameters
3203
3195
  * @param {Array.<String>} opts.expand Expand instructions for the result
3204
- * postFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3205
3196
  */
3206
3197
  postFlowInstancesSettingsLoglevels(flowId, body, opts) {
3207
3198
  opts = opts || {};
@@ -3961,7 +3952,6 @@ class ArchitectApi {
3961
3952
  * @param {Object} body New LogLevel settings
3962
3953
  * @param {Object} opts Optional parameters
3963
3954
  * @param {Array.<String>} opts.expand Expand instructions for the result
3964
- * putFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3965
3955
  */
3966
3956
  putFlowInstancesSettingsLoglevels(flowId, body, opts) {
3967
3957
  opts = opts || {};
@@ -4063,7 +4053,6 @@ class ArchitectApi {
4063
4053
  * @param {Object} body New LogLevel settings
4064
4054
  * @param {Object} opts Optional parameters
4065
4055
  * @param {Array.<String>} opts.expand Expand instructions for the result
4066
- * putFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4067
4056
  */
4068
4057
  putFlowsInstancesSettingsLoglevelsDefault(body, opts) {
4069
4058
  opts = opts || {};
@@ -5,7 +5,7 @@ class AuditApi {
5
5
  /**
6
6
  * Audit service.
7
7
  * @module purecloud-platform-client-v2/api/AuditApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AuthorizationApi {
5
5
  /**
6
6
  * Authorization service.
7
7
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -541,6 +541,26 @@ class AuthorizationApi {
541
541
  );
542
542
  }
543
543
 
544
+ /**
545
+ * Get authorization role settings
546
+ *
547
+ */
548
+ getAuthorizationRolesSettings() {
549
+
550
+ return this.apiClient.callApi(
551
+ '/api/v2/authorization/roles/settings',
552
+ 'GET',
553
+ { },
554
+ { },
555
+ { },
556
+ { },
557
+ null,
558
+ ['PureCloud OAuth'],
559
+ ['application/json'],
560
+ ['application/json']
561
+ );
562
+ }
563
+
544
564
  /**
545
565
  * Get authorization settings
546
566
  *
@@ -1207,6 +1227,31 @@ class AuthorizationApi {
1207
1227
  );
1208
1228
  }
1209
1229
 
1230
+ /**
1231
+ * Change authorization role settings
1232
+ * Change role settings
1233
+ * @param {Object} body Authorization Role Settings
1234
+ */
1235
+ putAuthorizationRolesSettings(body) {
1236
+ // verify the required parameter 'body' is set
1237
+ if (body === undefined || body === null) {
1238
+ throw 'Missing the required parameter "body" when calling putAuthorizationRolesSettings';
1239
+ }
1240
+
1241
+ return this.apiClient.callApi(
1242
+ '/api/v2/authorization/roles/settings',
1243
+ 'PUT',
1244
+ { },
1245
+ { },
1246
+ { },
1247
+ { },
1248
+ body,
1249
+ ['PureCloud OAuth'],
1250
+ ['application/json'],
1251
+ ['application/json']
1252
+ );
1253
+ }
1254
+
1210
1255
  /**
1211
1256
  * Sets the user's roles
1212
1257
  *
@@ -5,7 +5,7 @@ class BillingApi {
5
5
  /**
6
6
  * Billing service.
7
7
  * @module purecloud-platform-client-v2/api/BillingApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class CarrierServicesApi {
5
5
  /**
6
6
  * CarrierServices service.
7
7
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ChatApi {
5
5
  /**
6
6
  * Chat service.
7
7
  * @module purecloud-platform-client-v2/api/ChatApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class CoachingApi {
5
5
  /**
6
6
  * Coaching service.
7
7
  * @module purecloud-platform-client-v2/api/CoachingApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ContentManagementApi {
5
5
  /**
6
6
  * ContentManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ConversationsApi {
5
5
  /**
6
6
  * Conversations service.
7
7
  * @module purecloud-platform-client-v2/api/ConversationsApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class DataExtensionsApi {
5
5
  /**
6
6
  * DataExtensions service.
7
7
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class DownloadsApi {
5
5
  /**
6
6
  * Downloads service.
7
7
  * @module purecloud-platform-client-v2/api/DownloadsApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EmailsApi {
5
5
  /**
6
6
  * Emails service.
7
7
  * @module purecloud-platform-client-v2/api/EmailsApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EmployeeEngagementApi {
5
5
  /**
6
6
  * EmployeeEngagement service.
7
7
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EventsApi {
5
5
  /**
6
6
  * Events service.
7
7
  * @module purecloud-platform-client-v2/api/EventsApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ExternalContactsApi {
5
5
  /**
6
6
  * ExternalContacts service.
7
7
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class FaxApi {
5
5
  /**
6
6
  * Fax service.
7
7
  * @module purecloud-platform-client-v2/api/FaxApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class FlowsApi {
5
5
  /**
6
6
  * Flows service.
7
7
  * @module purecloud-platform-client-v2/api/FlowsApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GamificationApi {
5
5
  /**
6
6
  * Gamification service.
7
7
  * @module purecloud-platform-client-v2/api/GamificationApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GeneralDataProtectionRegulationApi {
5
5
  /**
6
6
  * GeneralDataProtectionRegulation service.
7
7
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GeolocationApi {
5
5
  /**
6
6
  * Geolocation service.
7
7
  * @module purecloud-platform-client-v2/api/GeolocationApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GreetingsApi {
5
5
  /**
6
6
  * Greetings service.
7
7
  * @module purecloud-platform-client-v2/api/GreetingsApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GroupsApi {
5
5
  /**
6
6
  * Groups service.
7
7
  * @module purecloud-platform-client-v2/api/GroupsApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class IdentityProviderApi {
5
5
  /**
6
6
  * IdentityProvider service.
7
7
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class InfrastructureAsCodeApi {
5
5
  /**
6
6
  * InfrastructureAsCode service.
7
7
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class IntegrationsApi {
5
5
  /**
6
6
  * Integrations service.
7
7
  * @module purecloud-platform-client-v2/api/IntegrationsApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class JourneyApi {
5
5
  /**
6
6
  * Journey service.
7
7
  * @module purecloud-platform-client-v2/api/JourneyApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class KnowledgeApi {
5
5
  /**
6
6
  * Knowledge service.
7
7
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -2693,6 +2693,36 @@ class KnowledgeApi {
2693
2693
  );
2694
2694
  }
2695
2695
 
2696
+ /**
2697
+ * Query for knowledge documents.
2698
+ *
2699
+ * @param {String} knowledgeBaseId Knowledge Base ID
2700
+ * @param {Object} opts Optional parameters
2701
+ * @param {Array.<String>} opts.expand Fields, if any, to expand for each document in the search result matching the query.
2702
+ * @param {Object} opts.body
2703
+ */
2704
+ postKnowledgeKnowledgebaseDocumentsQuery(knowledgeBaseId, opts) {
2705
+ opts = opts || {};
2706
+
2707
+ // verify the required parameter 'knowledgeBaseId' is set
2708
+ if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
2709
+ throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsQuery';
2710
+ }
2711
+
2712
+ return this.apiClient.callApi(
2713
+ '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/query',
2714
+ 'POST',
2715
+ { 'knowledgeBaseId': knowledgeBaseId },
2716
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
2717
+ { },
2718
+ { },
2719
+ opts['body'],
2720
+ ['PureCloud OAuth'],
2721
+ ['application/json'],
2722
+ ['application/json']
2723
+ );
2724
+ }
2725
+
2696
2726
  /**
2697
2727
  * Search the documents in a knowledge base.
2698
2728
  *
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LanguagesApi {
5
5
  /**
6
6
  * Languages service.
7
7
  * @module purecloud-platform-client-v2/api/LanguagesApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LearningApi {
5
5
  /**
6
6
  * Learning service.
7
7
  * @module purecloud-platform-client-v2/api/LearningApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LicenseApi {
5
5
  /**
6
6
  * License service.
7
7
  * @module purecloud-platform-client-v2/api/LicenseApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LocationsApi {
5
5
  /**
6
6
  * Locations service.
7
7
  * @module purecloud-platform-client-v2/api/LocationsApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LogCaptureApi {
5
5
  /**
6
6
  * LogCapture service.
7
7
  * @module purecloud-platform-client-v2/api/LogCaptureApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class MessagingApi {
5
5
  /**
6
6
  * Messaging service.
7
7
  * @module purecloud-platform-client-v2/api/MessagingApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class MobileDevicesApi {
5
5
  /**
6
6
  * MobileDevices service.
7
7
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class NotificationsApi {
5
5
  /**
6
6
  * Notifications service.
7
7
  * @module purecloud-platform-client-v2/api/NotificationsApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OAuthApi {
5
5
  /**
6
6
  * OAuth service.
7
7
  * @module purecloud-platform-client-v2/api/OAuthApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ObjectsApi {
5
5
  /**
6
6
  * Objects service.
7
7
  * @module purecloud-platform-client-v2/api/ObjectsApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OperationalEventsApi {
5
5
  /**
6
6
  * OperationalEvents service.
7
7
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationApi {
5
5
  /**
6
6
  * Organization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationAuthorizationApi {
5
5
  /**
6
6
  * OrganizationAuthorization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OutboundApi {
5
5
  /**
6
6
  * Outbound service.
7
7
  * @module purecloud-platform-client-v2/api/OutboundApi
8
- * @version 202.1.0
8
+ * @version 203.0.0
9
9
  */
10
10
 
11
11
  /**