purecloud-platform-client-v2 202.0.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
@@ -402,7 +402,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
402
402
 
403
403
  /**
404
404
  * @module purecloud-platform-client-v2/ApiClient
405
- * @version 202.0.0
405
+ * @version 203.0.0
406
406
  */
407
407
  class ApiClient {
408
408
  /**
@@ -1824,7 +1824,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1824
1824
  /**
1825
1825
  * AgentUI service.
1826
1826
  * @module purecloud-platform-client-v2/api/AgentUIApi
1827
- * @version 202.0.0
1827
+ * @version 203.0.0
1828
1828
  */
1829
1829
 
1830
1830
  /**
@@ -1955,7 +1955,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1955
1955
  /**
1956
1956
  * Alerting service.
1957
1957
  * @module purecloud-platform-client-v2/api/AlertingApi
1958
- * @version 202.0.0
1958
+ * @version 203.0.0
1959
1959
  */
1960
1960
 
1961
1961
  /**
@@ -2616,7 +2616,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2616
2616
  /**
2617
2617
  * Analytics service.
2618
2618
  * @module purecloud-platform-client-v2/api/AnalyticsApi
2619
- * @version 202.0.0
2619
+ * @version 203.0.0
2620
2620
  */
2621
2621
 
2622
2622
  /**
@@ -5228,7 +5228,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
5228
5228
  /**
5229
5229
  * Architect service.
5230
5230
  * @module purecloud-platform-client-v2/api/ArchitectApi
5231
- * @version 202.0.0
5231
+ * @version 203.0.0
5232
5232
  */
5233
5233
 
5234
5234
  /**
@@ -5635,7 +5635,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
5635
5635
  * Deletes a log level for a flow by flow id.
5636
5636
  * Deletes the associated log level for a flow by flow id
5637
5637
  * @param {String} flowId The flow id to delete the loglevel for
5638
- * deleteFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5639
5638
  */
5640
5639
  deleteFlowInstancesSettingsLoglevels(flowId) {
5641
5640
  // verify the required parameter 'flowId' is set
@@ -5744,7 +5743,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
5744
5743
  /**
5745
5744
  * Resets the org log level to default, base
5746
5745
  * Resets the org log level to default, base
5747
- * deleteFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
5748
5746
  */
5749
5747
  deleteFlowsInstancesSettingsLoglevelsDefault() {
5750
5748
 
@@ -6895,7 +6893,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6895
6893
  * @param {String} flowId The flow id to get the loglevel for
6896
6894
  * @param {Object} opts Optional parameters
6897
6895
  * @param {Array.<String>} opts.expand Expand instructions for the result
6898
- * getFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
6899
6896
  */
6900
6897
  getFlowInstancesSettingsLoglevels(flowId, opts) {
6901
6898
  opts = opts || {};
@@ -7623,7 +7620,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7623
7620
  /**
7624
7621
  * Get the execution history enabled setting.
7625
7622
  * Get the execution history enabled setting.
7626
- * getFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7627
7623
  */
7628
7624
  getFlowsInstancesSettingsExecutiondata() {
7629
7625
 
@@ -7648,7 +7644,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7648
7644
  * @param {Array.<String>} opts.expand Expand instructions for the result
7649
7645
  * @param {Number} opts.pageNumber Page number (default to 1)
7650
7646
  * @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 25)
7651
- * getFlowsInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7652
7647
  */
7653
7648
  getFlowsInstancesSettingsLoglevels(opts) {
7654
7649
  opts = opts || {};
@@ -7671,7 +7666,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7671
7666
  /**
7672
7667
  * Gets the available flow log level characteristics for this organization.
7673
7668
  * Log levels can be customized and this returns the set of available characteristics that can be enabled/disabled.
7674
- * getFlowsInstancesSettingsLoglevelsCharacteristics is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7675
7669
  */
7676
7670
  getFlowsInstancesSettingsLoglevelsCharacteristics() {
7677
7671
 
@@ -7694,7 +7688,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7694
7688
  * Returns the flow default log level which will be used if no specific flow id log level is found.
7695
7689
  * @param {Object} opts Optional parameters
7696
7690
  * @param {Array.<String>} opts.expand Expand instructions for the result
7697
- * getFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7698
7691
  */
7699
7692
  getFlowsInstancesSettingsLoglevelsDefault(opts) {
7700
7693
  opts = opts || {};
@@ -7986,7 +7979,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7986
7979
  * Edit the execution history enabled setting.
7987
7980
  * Edit the execution history enabled setting.
7988
7981
  * @param {Object} body New Execution Data Setting
7989
- * patchFlowsInstancesSettingsExecutiondata is a preview method and is subject to both breaking and non-breaking changes at any time without notice
7990
7982
  */
7991
7983
  patchFlowsInstancesSettingsExecutiondata(body) {
7992
7984
  // verify the required parameter 'body' is set
@@ -8424,7 +8416,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
8424
8416
  * @param {Object} body New LogLevel settings
8425
8417
  * @param {Object} opts Optional parameters
8426
8418
  * @param {Array.<String>} opts.expand Expand instructions for the result
8427
- * postFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8428
8419
  */
8429
8420
  postFlowInstancesSettingsLoglevels(flowId, body, opts) {
8430
8421
  opts = opts || {};
@@ -9184,7 +9175,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9184
9175
  * @param {Object} body New LogLevel settings
9185
9176
  * @param {Object} opts Optional parameters
9186
9177
  * @param {Array.<String>} opts.expand Expand instructions for the result
9187
- * putFlowInstancesSettingsLoglevels is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9188
9178
  */
9189
9179
  putFlowInstancesSettingsLoglevels(flowId, body, opts) {
9190
9180
  opts = opts || {};
@@ -9286,7 +9276,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9286
9276
  * @param {Object} body New LogLevel settings
9287
9277
  * @param {Object} opts Optional parameters
9288
9278
  * @param {Array.<String>} opts.expand Expand instructions for the result
9289
- * putFlowsInstancesSettingsLoglevelsDefault is a preview method and is subject to both breaking and non-breaking changes at any time without notice
9290
9279
  */
9291
9280
  putFlowsInstancesSettingsLoglevelsDefault(body, opts) {
9292
9281
  opts = opts || {};
@@ -9374,7 +9363,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9374
9363
  /**
9375
9364
  * Audit service.
9376
9365
  * @module purecloud-platform-client-v2/api/AuditApi
9377
- * @version 202.0.0
9366
+ * @version 203.0.0
9378
9367
  */
9379
9368
 
9380
9369
  /**
@@ -9575,7 +9564,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9575
9564
  /**
9576
9565
  * Authorization service.
9577
9566
  * @module purecloud-platform-client-v2/api/AuthorizationApi
9578
- * @version 202.0.0
9567
+ * @version 203.0.0
9579
9568
  */
9580
9569
 
9581
9570
  /**
@@ -10111,6 +10100,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10111
10100
  );
10112
10101
  }
10113
10102
 
10103
+ /**
10104
+ * Get authorization role settings
10105
+ *
10106
+ */
10107
+ getAuthorizationRolesSettings() {
10108
+
10109
+ return this.apiClient.callApi(
10110
+ '/api/v2/authorization/roles/settings',
10111
+ 'GET',
10112
+ { },
10113
+ { },
10114
+ { },
10115
+ { },
10116
+ null,
10117
+ ['PureCloud OAuth'],
10118
+ ['application/json'],
10119
+ ['application/json']
10120
+ );
10121
+ }
10122
+
10114
10123
  /**
10115
10124
  * Get authorization settings
10116
10125
  *
@@ -10777,6 +10786,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10777
10786
  );
10778
10787
  }
10779
10788
 
10789
+ /**
10790
+ * Change authorization role settings
10791
+ * Change role settings
10792
+ * @param {Object} body Authorization Role Settings
10793
+ */
10794
+ putAuthorizationRolesSettings(body) {
10795
+ // verify the required parameter 'body' is set
10796
+ if (body === undefined || body === null) {
10797
+ throw 'Missing the required parameter "body" when calling putAuthorizationRolesSettings';
10798
+ }
10799
+
10800
+ return this.apiClient.callApi(
10801
+ '/api/v2/authorization/roles/settings',
10802
+ 'PUT',
10803
+ { },
10804
+ { },
10805
+ { },
10806
+ { },
10807
+ body,
10808
+ ['PureCloud OAuth'],
10809
+ ['application/json'],
10810
+ ['application/json']
10811
+ );
10812
+ }
10813
+
10780
10814
  /**
10781
10815
  * Sets the user's roles
10782
10816
  *
@@ -10813,7 +10847,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10813
10847
  /**
10814
10848
  * Billing service.
10815
10849
  * @module purecloud-platform-client-v2/api/BillingApi
10816
- * @version 202.0.0
10850
+ * @version 203.0.0
10817
10851
  */
10818
10852
 
10819
10853
  /**
@@ -10893,7 +10927,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10893
10927
  /**
10894
10928
  * CarrierServices service.
10895
10929
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
10896
- * @version 202.0.0
10930
+ * @version 203.0.0
10897
10931
  */
10898
10932
 
10899
10933
  /**
@@ -10963,7 +10997,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10963
10997
  /**
10964
10998
  * Chat service.
10965
10999
  * @module purecloud-platform-client-v2/api/ChatApi
10966
- * @version 202.0.0
11000
+ * @version 203.0.0
10967
11001
  */
10968
11002
 
10969
11003
  /**
@@ -11899,7 +11933,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11899
11933
  /**
11900
11934
  * Coaching service.
11901
11935
  * @module purecloud-platform-client-v2/api/CoachingApi
11902
- * @version 202.0.0
11936
+ * @version 203.0.0
11903
11937
  */
11904
11938
 
11905
11939
  /**
@@ -12476,7 +12510,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12476
12510
  /**
12477
12511
  * ContentManagement service.
12478
12512
  * @module purecloud-platform-client-v2/api/ContentManagementApi
12479
- * @version 202.0.0
12513
+ * @version 203.0.0
12480
12514
  */
12481
12515
 
12482
12516
  /**
@@ -13558,7 +13592,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13558
13592
  /**
13559
13593
  * Conversations service.
13560
13594
  * @module purecloud-platform-client-v2/api/ConversationsApi
13561
- * @version 202.0.0
13595
+ * @version 203.0.0
13562
13596
  */
13563
13597
 
13564
13598
  /**
@@ -20671,7 +20705,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20671
20705
  /**
20672
20706
  * DataExtensions service.
20673
20707
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
20674
- * @version 202.0.0
20708
+ * @version 203.0.0
20675
20709
  */
20676
20710
 
20677
20711
  /**
@@ -20757,7 +20791,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20757
20791
  /**
20758
20792
  * Downloads service.
20759
20793
  * @module purecloud-platform-client-v2/api/DownloadsApi
20760
- * @version 202.0.0
20794
+ * @version 203.0.0
20761
20795
  */
20762
20796
 
20763
20797
  /**
@@ -20809,7 +20843,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20809
20843
  /**
20810
20844
  * Emails service.
20811
20845
  * @module purecloud-platform-client-v2/api/EmailsApi
20812
- * @version 202.0.0
20846
+ * @version 203.0.0
20813
20847
  */
20814
20848
 
20815
20849
  /**
@@ -20874,7 +20908,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20874
20908
  /**
20875
20909
  * EmployeeEngagement service.
20876
20910
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
20877
- * @version 202.0.0
20911
+ * @version 203.0.0
20878
20912
  */
20879
20913
 
20880
20914
  /**
@@ -21025,7 +21059,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21025
21059
  /**
21026
21060
  * Events service.
21027
21061
  * @module purecloud-platform-client-v2/api/EventsApi
21028
- * @version 202.0.0
21062
+ * @version 203.0.0
21029
21063
  */
21030
21064
 
21031
21065
  /**
@@ -21121,7 +21155,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21121
21155
  /**
21122
21156
  * ExternalContacts service.
21123
21157
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
21124
- * @version 202.0.0
21158
+ * @version 203.0.0
21125
21159
  */
21126
21160
 
21127
21161
  /**
@@ -23083,7 +23117,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23083
23117
  /**
23084
23118
  * Fax service.
23085
23119
  * @module purecloud-platform-client-v2/api/FaxApi
23086
- * @version 202.0.0
23120
+ * @version 203.0.0
23087
23121
  */
23088
23122
 
23089
23123
  /**
@@ -23298,7 +23332,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23298
23332
  /**
23299
23333
  * Flows service.
23300
23334
  * @module purecloud-platform-client-v2/api/FlowsApi
23301
- * @version 202.0.0
23335
+ * @version 203.0.0
23302
23336
  */
23303
23337
 
23304
23338
  /**
@@ -23481,7 +23515,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23481
23515
  /**
23482
23516
  * Gamification service.
23483
23517
  * @module purecloud-platform-client-v2/api/GamificationApi
23484
- * @version 202.0.0
23518
+ * @version 203.0.0
23485
23519
  */
23486
23520
 
23487
23521
  /**
@@ -25567,7 +25601,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25567
25601
  /**
25568
25602
  * GeneralDataProtectionRegulation service.
25569
25603
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
25570
- * @version 202.0.0
25604
+ * @version 203.0.0
25571
25605
  */
25572
25606
 
25573
25607
  /**
@@ -25697,7 +25731,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25697
25731
  /**
25698
25732
  * Geolocation service.
25699
25733
  * @module purecloud-platform-client-v2/api/GeolocationApi
25700
- * @version 202.0.0
25734
+ * @version 203.0.0
25701
25735
  */
25702
25736
 
25703
25737
  /**
@@ -25828,7 +25862,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25828
25862
  /**
25829
25863
  * Greetings service.
25830
25864
  * @module purecloud-platform-client-v2/api/GreetingsApi
25831
- * @version 202.0.0
25865
+ * @version 203.0.0
25832
25866
  */
25833
25867
 
25834
25868
  /**
@@ -26283,7 +26317,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26283
26317
  /**
26284
26318
  * Groups service.
26285
26319
  * @module purecloud-platform-client-v2/api/GroupsApi
26286
- * @version 202.0.0
26320
+ * @version 203.0.0
26287
26321
  */
26288
26322
 
26289
26323
  /**
@@ -26802,7 +26836,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26802
26836
  /**
26803
26837
  * IdentityProvider service.
26804
26838
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
26805
- * @version 202.0.0
26839
+ * @version 203.0.0
26806
26840
  */
26807
26841
 
26808
26842
  /**
@@ -27663,7 +27697,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27663
27697
  /**
27664
27698
  * InfrastructureAsCode service.
27665
27699
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
27666
- * @version 202.0.0
27700
+ * @version 203.0.0
27667
27701
  */
27668
27702
 
27669
27703
  /**
@@ -27830,7 +27864,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27830
27864
  /**
27831
27865
  * Integrations service.
27832
27866
  * @module purecloud-platform-client-v2/api/IntegrationsApi
27833
- * @version 202.0.0
27867
+ * @version 203.0.0
27834
27868
  */
27835
27869
 
27836
27870
  /**
@@ -30202,7 +30236,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30202
30236
  /**
30203
30237
  * Journey service.
30204
30238
  * @module purecloud-platform-client-v2/api/JourneyApi
30205
- * @version 202.0.0
30239
+ * @version 203.0.0
30206
30240
  */
30207
30241
 
30208
30242
  /**
@@ -31855,7 +31889,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31855
31889
  /**
31856
31890
  * Knowledge service.
31857
31891
  * @module purecloud-platform-client-v2/api/KnowledgeApi
31858
- * @version 202.0.0
31892
+ * @version 203.0.0
31859
31893
  */
31860
31894
 
31861
31895
  /**
@@ -34543,6 +34577,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34543
34577
  );
34544
34578
  }
34545
34579
 
34580
+ /**
34581
+ * Query for knowledge documents.
34582
+ *
34583
+ * @param {String} knowledgeBaseId Knowledge Base ID
34584
+ * @param {Object} opts Optional parameters
34585
+ * @param {Array.<String>} opts.expand Fields, if any, to expand for each document in the search result matching the query.
34586
+ * @param {Object} opts.body
34587
+ */
34588
+ postKnowledgeKnowledgebaseDocumentsQuery(knowledgeBaseId, opts) {
34589
+ opts = opts || {};
34590
+
34591
+ // verify the required parameter 'knowledgeBaseId' is set
34592
+ if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
34593
+ throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseDocumentsQuery';
34594
+ }
34595
+
34596
+ return this.apiClient.callApi(
34597
+ '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/query',
34598
+ 'POST',
34599
+ { 'knowledgeBaseId': knowledgeBaseId },
34600
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
34601
+ { },
34602
+ { },
34603
+ opts['body'],
34604
+ ['PureCloud OAuth'],
34605
+ ['application/json'],
34606
+ ['application/json']
34607
+ );
34608
+ }
34609
+
34546
34610
  /**
34547
34611
  * Search the documents in a knowledge base.
34548
34612
  *
@@ -35099,7 +35163,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35099
35163
  /**
35100
35164
  * LanguageUnderstanding service.
35101
35165
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
35102
- * @version 202.0.0
35166
+ * @version 203.0.0
35103
35167
  */
35104
35168
 
35105
35169
  /**
@@ -36133,7 +36197,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36133
36197
  /**
36134
36198
  * Languages service.
36135
36199
  * @module purecloud-platform-client-v2/api/LanguagesApi
36136
- * @version 202.0.0
36200
+ * @version 203.0.0
36137
36201
  */
36138
36202
 
36139
36203
  /**
@@ -36355,7 +36419,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36355
36419
  /**
36356
36420
  * Learning service.
36357
36421
  * @module purecloud-platform-client-v2/api/LearningApi
36358
- * @version 202.0.0
36422
+ * @version 203.0.0
36359
36423
  */
36360
36424
 
36361
36425
  /**
@@ -37384,7 +37448,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37384
37448
  /**
37385
37449
  * License service.
37386
37450
  * @module purecloud-platform-client-v2/api/LicenseApi
37387
- * @version 202.0.0
37451
+ * @version 203.0.0
37388
37452
  */
37389
37453
 
37390
37454
  /**
@@ -37622,7 +37686,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37622
37686
  /**
37623
37687
  * Locations service.
37624
37688
  * @module purecloud-platform-client-v2/api/LocationsApi
37625
- * @version 202.0.0
37689
+ * @version 203.0.0
37626
37690
  */
37627
37691
 
37628
37692
  /**
@@ -37858,7 +37922,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37858
37922
  /**
37859
37923
  * LogCapture service.
37860
37924
  * @module purecloud-platform-client-v2/api/LogCaptureApi
37861
- * @version 202.0.0
37925
+ * @version 203.0.0
37862
37926
  */
37863
37927
 
37864
37928
  /**
@@ -38058,7 +38122,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38058
38122
  /**
38059
38123
  * Messaging service.
38060
38124
  * @module purecloud-platform-client-v2/api/MessagingApi
38061
- * @version 202.0.0
38125
+ * @version 203.0.0
38062
38126
  */
38063
38127
 
38064
38128
  /**
@@ -38417,7 +38481,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38417
38481
  /**
38418
38482
  * MobileDevices service.
38419
38483
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
38420
- * @version 202.0.0
38484
+ * @version 203.0.0
38421
38485
  */
38422
38486
 
38423
38487
  /**
@@ -38568,7 +38632,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38568
38632
  /**
38569
38633
  * Notifications service.
38570
38634
  * @module purecloud-platform-client-v2/api/NotificationsApi
38571
- * @version 202.0.0
38635
+ * @version 203.0.0
38572
38636
  */
38573
38637
 
38574
38638
  /**
@@ -38801,7 +38865,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38801
38865
  /**
38802
38866
  * OAuth service.
38803
38867
  * @module purecloud-platform-client-v2/api/OAuthApi
38804
- * @version 202.0.0
38868
+ * @version 203.0.0
38805
38869
  */
38806
38870
 
38807
38871
  /**
@@ -39167,7 +39231,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39167
39231
  /**
39168
39232
  * Objects service.
39169
39233
  * @module purecloud-platform-client-v2/api/ObjectsApi
39170
- * @version 202.0.0
39234
+ * @version 203.0.0
39171
39235
  */
39172
39236
 
39173
39237
  /**
@@ -39437,7 +39501,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39437
39501
  /**
39438
39502
  * OperationalEvents service.
39439
39503
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
39440
- * @version 202.0.0
39504
+ * @version 203.0.0
39441
39505
  */
39442
39506
 
39443
39507
  /**
@@ -39503,7 +39567,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39503
39567
  /**
39504
39568
  * Organization service.
39505
39569
  * @module purecloud-platform-client-v2/api/OrganizationApi
39506
- * @version 202.0.0
39570
+ * @version 203.0.0
39507
39571
  */
39508
39572
 
39509
39573
  /**
@@ -40045,7 +40109,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40045
40109
  /**
40046
40110
  * OrganizationAuthorization service.
40047
40111
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
40048
- * @version 202.0.0
40112
+ * @version 203.0.0
40049
40113
  */
40050
40114
 
40051
40115
  /**
@@ -41392,7 +41456,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41392
41456
  /**
41393
41457
  * Outbound service.
41394
41458
  * @module purecloud-platform-client-v2/api/OutboundApi
41395
- * @version 202.0.0
41459
+ * @version 203.0.0
41396
41460
  */
41397
41461
 
41398
41462
  /**
@@ -45809,7 +45873,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45809
45873
  /**
45810
45874
  * Presence service.
45811
45875
  * @module purecloud-platform-client-v2/api/PresenceApi
45812
- * @version 202.0.0
45876
+ * @version 203.0.0
45813
45877
  */
45814
45878
 
45815
45879
  /**
@@ -46553,7 +46617,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46553
46617
  /**
46554
46618
  * ProcessAutomation service.
46555
46619
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
46556
- * @version 202.0.0
46620
+ * @version 203.0.0
46557
46621
  */
46558
46622
 
46559
46623
  /**
@@ -46792,7 +46856,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46792
46856
  /**
46793
46857
  * Quality service.
46794
46858
  * @module purecloud-platform-client-v2/api/QualityApi
46795
- * @version 202.0.0
46859
+ * @version 203.0.0
46796
46860
  */
46797
46861
 
46798
46862
  /**
@@ -48578,7 +48642,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48578
48642
  /**
48579
48643
  * Recording service.
48580
48644
  * @module purecloud-platform-client-v2/api/RecordingApi
48581
- * @version 202.0.0
48645
+ * @version 203.0.0
48582
48646
  */
48583
48647
 
48584
48648
  /**
@@ -50237,7 +50301,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50237
50301
  /**
50238
50302
  * ResponseManagement service.
50239
50303
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
50240
- * @version 202.0.0
50304
+ * @version 203.0.0
50241
50305
  */
50242
50306
 
50243
50307
  /**
@@ -50747,7 +50811,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50747
50811
  /**
50748
50812
  * Routing service.
50749
50813
  * @module purecloud-platform-client-v2/api/RoutingApi
50750
- * @version 202.0.0
50814
+ * @version 203.0.0
50751
50815
  */
50752
50816
 
50753
50817
  /**
@@ -54866,7 +54930,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54866
54930
  /**
54867
54931
  * SCIM service.
54868
54932
  * @module purecloud-platform-client-v2/api/SCIMApi
54869
- * @version 202.0.0
54933
+ * @version 203.0.0
54870
54934
  */
54871
54935
 
54872
54936
  /**
@@ -55743,7 +55807,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55743
55807
  /**
55744
55808
  * ScreenRecording service.
55745
55809
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
55746
- * @version 202.0.0
55810
+ * @version 203.0.0
55747
55811
  */
55748
55812
 
55749
55813
  /**
@@ -55788,7 +55852,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55788
55852
  /**
55789
55853
  * Scripts service.
55790
55854
  * @module purecloud-platform-client-v2/api/ScriptsApi
55791
- * @version 202.0.0
55855
+ * @version 203.0.0
55792
55856
  */
55793
55857
 
55794
55858
  /**
@@ -56232,7 +56296,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56232
56296
  /**
56233
56297
  * Search service.
56234
56298
  * @module purecloud-platform-client-v2/api/SearchApi
56235
- * @version 202.0.0
56299
+ * @version 203.0.0
56236
56300
  */
56237
56301
 
56238
56302
  /**
@@ -56921,7 +56985,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56921
56985
  /**
56922
56986
  * Settings service.
56923
56987
  * @module purecloud-platform-client-v2/api/SettingsApi
56924
- * @version 202.0.0
56988
+ * @version 203.0.0
56925
56989
  */
56926
56990
 
56927
56991
  /**
@@ -57143,7 +57207,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57143
57207
  /**
57144
57208
  * SpeechTextAnalytics service.
57145
57209
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
57146
- * @version 202.0.0
57210
+ * @version 203.0.0
57147
57211
  */
57148
57212
 
57149
57213
  /**
@@ -58421,7 +58485,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58421
58485
  /**
58422
58486
  * Stations service.
58423
58487
  * @module purecloud-platform-client-v2/api/StationsApi
58424
- * @version 202.0.0
58488
+ * @version 203.0.0
58425
58489
  */
58426
58490
 
58427
58491
  /**
@@ -58523,7 +58587,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58523
58587
  /**
58524
58588
  * Suggest service.
58525
58589
  * @module purecloud-platform-client-v2/api/SuggestApi
58526
- * @version 202.0.0
58590
+ * @version 203.0.0
58527
58591
  */
58528
58592
 
58529
58593
  /**
@@ -58662,7 +58726,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58662
58726
  /**
58663
58727
  * TaskManagement service.
58664
58728
  * @module purecloud-platform-client-v2/api/TaskManagementApi
58665
- * @version 202.0.0
58729
+ * @version 203.0.0
58666
58730
  */
58667
58731
 
58668
58732
  /**
@@ -60016,7 +60080,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60016
60080
  /**
60017
60081
  * Teams service.
60018
60082
  * @module purecloud-platform-client-v2/api/TeamsApi
60019
- * @version 202.0.0
60083
+ * @version 203.0.0
60020
60084
  */
60021
60085
 
60022
60086
  /**
@@ -60317,7 +60381,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60317
60381
  /**
60318
60382
  * Telephony service.
60319
60383
  * @module purecloud-platform-client-v2/api/TelephonyApi
60320
- * @version 202.0.0
60384
+ * @version 203.0.0
60321
60385
  */
60322
60386
 
60323
60387
  /**
@@ -60499,7 +60563,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
60499
60563
  /**
60500
60564
  * TelephonyProvidersEdge service.
60501
60565
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
60502
- * @version 202.0.0
60566
+ * @version 203.0.0
60503
60567
  */
60504
60568
 
60505
60569
  /**
@@ -63827,7 +63891,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63827
63891
  /**
63828
63892
  * Textbots service.
63829
63893
  * @module purecloud-platform-client-v2/api/TextbotsApi
63830
- * @version 202.0.0
63894
+ * @version 203.0.0
63831
63895
  */
63832
63896
 
63833
63897
  /**
@@ -63955,7 +64019,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63955
64019
  /**
63956
64020
  * Tokens service.
63957
64021
  * @module purecloud-platform-client-v2/api/TokensApi
63958
- * @version 202.0.0
64022
+ * @version 203.0.0
63959
64023
  */
63960
64024
 
63961
64025
  /**
@@ -64109,7 +64173,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64109
64173
  /**
64110
64174
  * Uploads service.
64111
64175
  * @module purecloud-platform-client-v2/api/UploadsApi
64112
- * @version 202.0.0
64176
+ * @version 203.0.0
64113
64177
  */
64114
64178
 
64115
64179
  /**
@@ -64378,7 +64442,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64378
64442
  /**
64379
64443
  * Usage service.
64380
64444
  * @module purecloud-platform-client-v2/api/UsageApi
64381
- * @version 202.0.0
64445
+ * @version 203.0.0
64382
64446
  */
64383
64447
 
64384
64448
  /**
@@ -64593,7 +64657,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64593
64657
  /**
64594
64658
  * UserRecordings service.
64595
64659
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
64596
- * @version 202.0.0
64660
+ * @version 203.0.0
64597
64661
  */
64598
64662
 
64599
64663
  /**
@@ -64808,7 +64872,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64808
64872
  /**
64809
64873
  * Users service.
64810
64874
  * @module purecloud-platform-client-v2/api/UsersApi
64811
- * @version 202.0.0
64875
+ * @version 203.0.0
64812
64876
  */
64813
64877
 
64814
64878
  /**
@@ -67611,7 +67675,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67611
67675
  /**
67612
67676
  * Utilities service.
67613
67677
  * @module purecloud-platform-client-v2/api/UtilitiesApi
67614
- * @version 202.0.0
67678
+ * @version 203.0.0
67615
67679
  */
67616
67680
 
67617
67681
  /**
@@ -67722,7 +67786,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67722
67786
  /**
67723
67787
  * Voicemail service.
67724
67788
  * @module purecloud-platform-client-v2/api/VoicemailApi
67725
- * @version 202.0.0
67789
+ * @version 203.0.0
67726
67790
  */
67727
67791
 
67728
67792
  /**
@@ -68389,7 +68453,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68389
68453
  /**
68390
68454
  * WebChat service.
68391
68455
  * @module purecloud-platform-client-v2/api/WebChatApi
68392
- * @version 202.0.0
68456
+ * @version 203.0.0
68393
68457
  */
68394
68458
 
68395
68459
  /**
@@ -68940,7 +69004,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68940
69004
  /**
68941
69005
  * WebDeployments service.
68942
69006
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
68943
- * @version 202.0.0
69007
+ * @version 203.0.0
68944
69008
  */
68945
69009
 
68946
69010
  /**
@@ -69467,7 +69531,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69467
69531
  /**
69468
69532
  * WebMessaging service.
69469
69533
  * @module purecloud-platform-client-v2/api/WebMessagingApi
69470
- * @version 202.0.0
69534
+ * @version 203.0.0
69471
69535
  */
69472
69536
 
69473
69537
  /**
@@ -69513,7 +69577,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69513
69577
  /**
69514
69578
  * Widgets service.
69515
69579
  * @module purecloud-platform-client-v2/api/WidgetsApi
69516
- * @version 202.0.0
69580
+ * @version 203.0.0
69517
69581
  */
69518
69582
 
69519
69583
  /**
@@ -69659,7 +69723,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
69659
69723
  /**
69660
69724
  * WorkforceManagement service.
69661
69725
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
69662
- * @version 202.0.0
69726
+ * @version 203.0.0
69663
69727
  */
69664
69728
 
69665
69729
  /**
@@ -76814,7 +76878,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
76814
76878
  * </pre>
76815
76879
  * </p>
76816
76880
  * @module purecloud-platform-client-v2/index
76817
- * @version 202.0.0
76881
+ * @version 203.0.0
76818
76882
  */
76819
76883
  class platformClient {
76820
76884
  constructor() {