purecloud-platform-client-v2 206.0.0 → 208.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 (90) hide show
  1. package/README.md +100 -3
  2. package/dist/node/purecloud-platform-client-v2.js +979 -173
  3. package/dist/web-amd/purecloud-platform-client-v2.js +979 -173
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +341 -176
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +358 -179
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +1646 -606
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +40 -18
  11. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +7 -6
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +2 -2
  17. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +2 -3
  24. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +3 -2
  25. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +234 -8
  31. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +31 -11
  41. package/src/purecloud-platform-client-v2/api/JourneyApi.js +136 -4
  42. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +5 -21
  43. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +48 -1
  57. package/src/purecloud-platform-client-v2/api/OutboundApi.js +101 -1
  58. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/RoutingApi.js +12 -12
  64. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SearchApi.js +55 -1
  68. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +4 -4
  70. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TeamsApi.js +7 -3
  74. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +55 -1
  76. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/UsersApi.js +38 -12
  82. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +56 -1
  84. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/configuration.js +81 -0
  90. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class JourneyApi {
5
5
  /**
6
6
  * Journey service.
7
7
  * @module purecloud-platform-client-v2/api/JourneyApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -174,6 +174,31 @@ class JourneyApi {
174
174
  );
175
175
  }
176
176
 
177
+ /**
178
+ * Delete the Schedule of a JourneyView
179
+ * used for long descriptions
180
+ * @param {String} viewId Journey View Id
181
+ */
182
+ deleteJourneyViewSchedules(viewId) {
183
+ // verify the required parameter 'viewId' is set
184
+ if (viewId === undefined || viewId === null) {
185
+ throw 'Missing the required parameter "viewId" when calling deleteJourneyViewSchedules';
186
+ }
187
+
188
+ return this.apiClient.callApi(
189
+ '/api/v2/journey/views/{viewId}/schedules',
190
+ 'DELETE',
191
+ { 'viewId': viewId },
192
+ { },
193
+ { },
194
+ { },
195
+ null,
196
+ ['PureCloud OAuth'],
197
+ ['application/json'],
198
+ ['application/json']
199
+ );
200
+ }
201
+
177
202
  /**
178
203
  * Get status for async query for journey aggregates
179
204
  *
@@ -822,6 +847,31 @@ class JourneyApi {
822
847
  );
823
848
  }
824
849
 
850
+ /**
851
+ * Get the Schedule for a JourneyView
852
+ * used for long descriptions
853
+ * @param {String} viewId Journey View Id
854
+ */
855
+ getJourneyViewSchedules(viewId) {
856
+ // verify the required parameter 'viewId' is set
857
+ if (viewId === undefined || viewId === null) {
858
+ throw 'Missing the required parameter "viewId" when calling getJourneyViewSchedules';
859
+ }
860
+
861
+ return this.apiClient.callApi(
862
+ '/api/v2/journey/views/{viewId}/schedules',
863
+ 'GET',
864
+ { 'viewId': viewId },
865
+ { },
866
+ { },
867
+ { },
868
+ null,
869
+ ['PureCloud OAuth'],
870
+ ['application/json'],
871
+ ['application/json']
872
+ );
873
+ }
874
+
825
875
  /**
826
876
  * Get a Journey View by ID and version
827
877
  *
@@ -1099,7 +1149,6 @@ class JourneyApi {
1099
1149
  * Get an Event Definition
1100
1150
  *
1101
1151
  * @param {String} eventDefinitionId Event Definition ID
1102
- * getJourneyViewsEventdefinition is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1103
1152
  */
1104
1153
  getJourneyViewsEventdefinition(eventDefinitionId) {
1105
1154
  // verify the required parameter 'eventDefinitionId' is set
@@ -1124,7 +1173,6 @@ class JourneyApi {
1124
1173
  /**
1125
1174
  * Get a list of Event Definitions
1126
1175
  *
1127
- * getJourneyViewsEventdefinitions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1128
1176
  */
1129
1177
  getJourneyViewsEventdefinitions() {
1130
1178
 
@@ -1169,6 +1217,31 @@ class JourneyApi {
1169
1217
  );
1170
1218
  }
1171
1219
 
1220
+ /**
1221
+ * Get the journey schedules for an organization.
1222
+ *
1223
+ * @param {Object} opts Optional parameters
1224
+ * @param {Number} opts.pageNumber The number of the page to return (default to 1)
1225
+ * @param {Number} opts.pageSize Max number of entities to return (default to 25)
1226
+ */
1227
+ getJourneyViewsSchedules(opts) {
1228
+ opts = opts || {};
1229
+
1230
+
1231
+ return this.apiClient.callApi(
1232
+ '/api/v2/journey/views/schedules',
1233
+ 'GET',
1234
+ { },
1235
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
1236
+ { },
1237
+ { },
1238
+ null,
1239
+ ['PureCloud OAuth'],
1240
+ ['application/json'],
1241
+ ['application/json']
1242
+ );
1243
+ }
1244
+
1172
1245
  /**
1173
1246
  * Update single action map.
1174
1247
  *
@@ -1687,6 +1760,36 @@ class JourneyApi {
1687
1760
  );
1688
1761
  }
1689
1762
 
1763
+ /**
1764
+ * Add a new Schedule to a JourneyView
1765
+ *
1766
+ * @param {String} viewId Journey View Id
1767
+ * @param {Object} body journeyViewSchedule
1768
+ */
1769
+ postJourneyViewSchedules(viewId, body) {
1770
+ // verify the required parameter 'viewId' is set
1771
+ if (viewId === undefined || viewId === null) {
1772
+ throw 'Missing the required parameter "viewId" when calling postJourneyViewSchedules';
1773
+ }
1774
+ // verify the required parameter 'body' is set
1775
+ if (body === undefined || body === null) {
1776
+ throw 'Missing the required parameter "body" when calling postJourneyViewSchedules';
1777
+ }
1778
+
1779
+ return this.apiClient.callApi(
1780
+ '/api/v2/journey/views/{viewId}/schedules',
1781
+ 'POST',
1782
+ { 'viewId': viewId },
1783
+ { },
1784
+ { },
1785
+ { },
1786
+ body,
1787
+ ['PureCloud OAuth'],
1788
+ ['application/json'],
1789
+ ['application/json']
1790
+ );
1791
+ }
1792
+
1690
1793
  /**
1691
1794
  * Submit a job request for a journey view version.
1692
1795
  * used for long descriptions
@@ -1777,7 +1880,6 @@ class JourneyApi {
1777
1880
  * True indicates a valid encoding
1778
1881
  * @param {Object} opts Optional parameters
1779
1882
  * @param {Array.<Object>} opts.body
1780
- * postJourneyViewsEncodingsValidate is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1781
1883
  */
1782
1884
  postJourneyViewsEncodingsValidate(opts) {
1783
1885
  opts = opts || {};
@@ -1797,6 +1899,36 @@ class JourneyApi {
1797
1899
  );
1798
1900
  }
1799
1901
 
1902
+ /**
1903
+ * Update the Schedule for a JourneyView
1904
+ * used for long descriptions
1905
+ * @param {String} viewId Journey View Id
1906
+ * @param {Object} body journeyViewSchedule
1907
+ */
1908
+ putJourneyViewSchedules(viewId, body) {
1909
+ // verify the required parameter 'viewId' is set
1910
+ if (viewId === undefined || viewId === null) {
1911
+ throw 'Missing the required parameter "viewId" when calling putJourneyViewSchedules';
1912
+ }
1913
+ // verify the required parameter 'body' is set
1914
+ if (body === undefined || body === null) {
1915
+ throw 'Missing the required parameter "body" when calling putJourneyViewSchedules';
1916
+ }
1917
+
1918
+ return this.apiClient.callApi(
1919
+ '/api/v2/journey/views/{viewId}/schedules',
1920
+ 'PUT',
1921
+ { 'viewId': viewId },
1922
+ { },
1923
+ { },
1924
+ { },
1925
+ body,
1926
+ ['PureCloud OAuth'],
1927
+ ['application/json'],
1928
+ ['application/json']
1929
+ );
1930
+ }
1931
+
1800
1932
  /**
1801
1933
  * Update a Journey View by ID and version
1802
1934
  * does not create a new version
@@ -5,7 +5,7 @@ class KnowledgeApi {
5
5
  /**
6
6
  * Knowledge service.
7
7
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8
- * @version 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -343,7 +343,6 @@ class KnowledgeApi {
343
343
  *
344
344
  * @param {String} knowledgeBaseId Knowledge base ID
345
345
  * @param {String} sourceId Source ID
346
- * deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
347
346
  */
348
347
  deleteKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId, sourceId) {
349
348
  // verify the required parameter 'knowledgeBaseId' is set
@@ -374,7 +373,6 @@ class KnowledgeApi {
374
373
  *
375
374
  * @param {String} knowledgeBaseId Knowledge base ID
376
375
  * @param {String} sourceId Source ID
377
- * deleteKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
378
376
  */
379
377
  deleteKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId, sourceId) {
380
378
  // verify the required parameter 'knowledgeBaseId' is set
@@ -405,7 +403,6 @@ class KnowledgeApi {
405
403
  *
406
404
  * @param {String} knowledgeBaseId Knowledge base ID
407
405
  * @param {String} syncJobId Synchronization job ID
408
- * deleteKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
409
406
  */
410
407
  deleteKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId, syncJobId) {
411
408
  // verify the required parameter 'knowledgeBaseId' is set
@@ -532,7 +529,6 @@ class KnowledgeApi {
532
529
  * Get sync options available for a knowledge-connect integration
533
530
  *
534
531
  * @param {String} integrationId Integration ID
535
- * getKnowledgeIntegrationOptions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
536
532
  */
537
533
  getKnowledgeIntegrationOptions(integrationId) {
538
534
  // verify the required parameter 'integrationId' is set
@@ -768,6 +764,7 @@ class KnowledgeApi {
768
764
  * @param {String} knowledgeBaseId Globally unique identifier for a knowledge base.
769
765
  * @param {Object} opts Optional parameters
770
766
  * @param {Object} opts.documentState The state of the document.
767
+ * @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
771
768
  */
772
769
  getKnowledgeKnowledgebaseDocumentVariation(documentVariationId, documentId, knowledgeBaseId, opts) {
773
770
  opts = opts || {};
@@ -789,7 +786,7 @@ class KnowledgeApi {
789
786
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations/{documentVariationId}',
790
787
  'GET',
791
788
  { 'documentVariationId': documentVariationId,'documentId': documentId,'knowledgeBaseId': knowledgeBaseId },
792
- { 'documentState': opts['documentState'] },
789
+ { 'documentState': opts['documentState'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
793
790
  { },
794
791
  { },
795
792
  null,
@@ -809,6 +806,7 @@ class KnowledgeApi {
809
806
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
810
807
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
811
808
  * @param {Object} opts.documentState The state of the document.
809
+ * @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
812
810
  */
813
811
  getKnowledgeKnowledgebaseDocumentVariations(knowledgeBaseId, documentId, opts) {
814
812
  opts = opts || {};
@@ -826,7 +824,7 @@ class KnowledgeApi {
826
824
  '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/{documentId}/variations',
827
825
  'GET',
828
826
  { 'knowledgeBaseId': knowledgeBaseId,'documentId': documentId },
829
- { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'documentState': opts['documentState'] },
827
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'documentState': opts['documentState'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
830
828
  { },
831
829
  { },
832
830
  null,
@@ -1479,7 +1477,6 @@ class KnowledgeApi {
1479
1477
  * @param {Array.<String>} opts.status If specified, retrieves operations with specified operation status, comma separated values expected.
1480
1478
  * @param {String} opts.interval Retrieves the operations modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ
1481
1479
  * @param {Array.<String>} opts.sourceId If specified, retrieves operations associated with source ids, comma separated values expected.
1482
- * getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1483
1480
  */
1484
1481
  getKnowledgeKnowledgebaseOperations(knowledgeBaseId, opts) {
1485
1482
  opts = opts || {};
@@ -1507,7 +1504,6 @@ class KnowledgeApi {
1507
1504
  * Get ids of operation creator users and oauth clients
1508
1505
  *
1509
1506
  * @param {String} knowledgeBaseId Knowledge base ID
1510
- * getKnowledgeKnowledgebaseOperationsUsersQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1511
1507
  */
1512
1508
  getKnowledgeKnowledgebaseOperationsUsersQuery(knowledgeBaseId) {
1513
1509
  // verify the required parameter 'knowledgeBaseId' is set
@@ -1572,7 +1568,6 @@ class KnowledgeApi {
1572
1568
  * @param {Object} opts.type If specified, retrieves integration sources with specified integration type.
1573
1569
  * @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
1574
1570
  * @param {Array.<String>} opts.ids If specified, retrieves integration sources with specified IDs.
1575
- * getKnowledgeKnowledgebaseSources is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1576
1571
  */
1577
1572
  getKnowledgeKnowledgebaseSources(knowledgeBaseId, opts) {
1578
1573
  opts = opts || {};
@@ -1603,7 +1598,6 @@ class KnowledgeApi {
1603
1598
  * @param {String} sourceId Source ID
1604
1599
  * @param {Object} opts Optional parameters
1605
1600
  * @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
1606
- * getKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1607
1601
  */
1608
1602
  getKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId, sourceId, opts) {
1609
1603
  opts = opts || {};
@@ -1638,7 +1632,6 @@ class KnowledgeApi {
1638
1632
  * @param {String} sourceId Source ID
1639
1633
  * @param {Object} opts Optional parameters
1640
1634
  * @param {Array.<String>} opts.expand The specified entity attributes will be filled. Comma separated values expected.
1641
- * getKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1642
1635
  */
1643
1636
  getKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId, sourceId, opts) {
1644
1637
  opts = opts || {};
@@ -1671,7 +1664,6 @@ class KnowledgeApi {
1671
1664
  *
1672
1665
  * @param {String} knowledgeBaseId Knowledge base ID
1673
1666
  * @param {String} syncJobId Synchronization job ID
1674
- * getKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1675
1667
  */
1676
1668
  getKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId, syncJobId) {
1677
1669
  // verify the required parameter 'knowledgeBaseId' is set
@@ -2387,7 +2379,6 @@ class KnowledgeApi {
2387
2379
  * @param {String} knowledgeBaseId Knowledge base ID
2388
2380
  * @param {String} syncJobId Synchronization job ID
2389
2381
  * @param {Object} body
2390
- * patchKnowledgeKnowledgebaseSynchronizeJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2391
2382
  */
2392
2383
  patchKnowledgeKnowledgebaseSynchronizeJob(knowledgeBaseId, syncJobId, body) {
2393
2384
  // verify the required parameter 'knowledgeBaseId' is set
@@ -3609,7 +3600,6 @@ class KnowledgeApi {
3609
3600
  *
3610
3601
  * @param {String} knowledgeBaseId Knowledge base ID
3611
3602
  * @param {Object} body
3612
- * postKnowledgeKnowledgebaseSourcesSalesforce is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3613
3603
  */
3614
3604
  postKnowledgeKnowledgebaseSourcesSalesforce(knowledgeBaseId, body) {
3615
3605
  // verify the required parameter 'knowledgeBaseId' is set
@@ -3640,7 +3630,6 @@ class KnowledgeApi {
3640
3630
  *
3641
3631
  * @param {String} knowledgeBaseId Knowledge base ID
3642
3632
  * @param {String} sourceId Source ID
3643
- * postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3644
3633
  */
3645
3634
  postKnowledgeKnowledgebaseSourcesSalesforceSourceIdSync(knowledgeBaseId, sourceId) {
3646
3635
  // verify the required parameter 'knowledgeBaseId' is set
@@ -3671,7 +3660,6 @@ class KnowledgeApi {
3671
3660
  *
3672
3661
  * @param {String} knowledgeBaseId Knowledge base ID
3673
3662
  * @param {Object} body
3674
- * postKnowledgeKnowledgebaseSourcesServicenow is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3675
3663
  */
3676
3664
  postKnowledgeKnowledgebaseSourcesServicenow(knowledgeBaseId, body) {
3677
3665
  // verify the required parameter 'knowledgeBaseId' is set
@@ -3702,7 +3690,6 @@ class KnowledgeApi {
3702
3690
  *
3703
3691
  * @param {String} knowledgeBaseId Knowledge base ID
3704
3692
  * @param {String} sourceId Source ID
3705
- * postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3706
3693
  */
3707
3694
  postKnowledgeKnowledgebaseSourcesServicenowSourceIdSync(knowledgeBaseId, sourceId) {
3708
3695
  // verify the required parameter 'knowledgeBaseId' is set
@@ -3733,7 +3720,6 @@ class KnowledgeApi {
3733
3720
  *
3734
3721
  * @param {String} knowledgeBaseId Knowledge base ID
3735
3722
  * @param {Object} body
3736
- * postKnowledgeKnowledgebaseSynchronizeJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3737
3723
  */
3738
3724
  postKnowledgeKnowledgebaseSynchronizeJobs(knowledgeBaseId, body) {
3739
3725
  // verify the required parameter 'knowledgeBaseId' is set
@@ -3821,7 +3807,6 @@ class KnowledgeApi {
3821
3807
  * @param {String} knowledgeBaseId Knowledge base ID
3822
3808
  * @param {String} sourceId Source ID
3823
3809
  * @param {Object} body
3824
- * putKnowledgeKnowledgebaseSourcesSalesforceSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3825
3810
  */
3826
3811
  putKnowledgeKnowledgebaseSourcesSalesforceSourceId(knowledgeBaseId, sourceId, body) {
3827
3812
  // verify the required parameter 'knowledgeBaseId' is set
@@ -3857,7 +3842,6 @@ class KnowledgeApi {
3857
3842
  * @param {String} knowledgeBaseId Knowledge base ID
3858
3843
  * @param {String} sourceId Source ID
3859
3844
  * @param {Object} body
3860
- * putKnowledgeKnowledgebaseSourcesServicenowSourceId is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3861
3845
  */
3862
3846
  putKnowledgeKnowledgebaseSourcesServicenowSourceId(knowledgeBaseId, sourceId, body) {
3863
3847
  // verify the required parameter 'knowledgeBaseId' is set
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 206.0.0
8
+ * @version 208.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 206.0.0
8
+ * @version 208.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 206.0.0
8
+ * @version 208.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 206.0.0
8
+ * @version 208.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 206.0.0
8
+ * @version 208.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 206.0.0
8
+ * @version 208.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 206.0.0
8
+ * @version 208.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 206.0.0
8
+ * @version 208.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 206.0.0
8
+ * @version 208.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 206.0.0
8
+ * @version 208.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 206.0.0
8
+ * @version 208.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 206.0.0
8
+ * @version 208.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 206.0.0
8
+ * @version 208.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 206.0.0
8
+ * @version 208.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -642,6 +642,26 @@ class OrganizationAuthorizationApi {
642
642
  );
643
643
  }
644
644
 
645
+ /**
646
+ * Get Customer Care organization ids.
647
+ *
648
+ */
649
+ getOrgauthorizationTrusteesCare() {
650
+
651
+ return this.apiClient.callApi(
652
+ '/api/v2/orgauthorization/trustees/care',
653
+ 'GET',
654
+ { },
655
+ { },
656
+ { },
657
+ { },
658
+ null,
659
+ ['PureCloud OAuth'],
660
+ ['application/json'],
661
+ ['application/json']
662
+ );
663
+ }
664
+
645
665
  /**
646
666
  * Get organization authorization trust with Customer Care, if one exists.
647
667
  *
@@ -1029,6 +1049,33 @@ class OrganizationAuthorizationApi {
1029
1049
  );
1030
1050
  }
1031
1051
 
1052
+ /**
1053
+ * Create a new organization authorization trust with Customer Care. This is required to grant your regional Customer Care organization access to your organization.
1054
+ *
1055
+ * @param {Object} opts Optional parameters
1056
+ * @param {Boolean} opts.assignDefaultRole Assign Admin role to default pairing with Customer Care
1057
+ * @param {Boolean} opts.autoExpire Automatically expire pairing after 30 days
1058
+ * @param {Boolean} opts.assignFullAccess Grant Customer Care full access to the organization
1059
+ * @param {Boolean} opts.allowTrustedUserAccess Make Customer Care a Trusted User
1060
+ */
1061
+ postOrgauthorizationTrusteesCare(opts) {
1062
+ opts = opts || {};
1063
+
1064
+
1065
+ return this.apiClient.callApi(
1066
+ '/api/v2/orgauthorization/trustees/care',
1067
+ 'POST',
1068
+ { },
1069
+ { 'assignDefaultRole': opts['assignDefaultRole'],'autoExpire': opts['autoExpire'],'assignFullAccess': opts['assignFullAccess'],'allowTrustedUserAccess': opts['allowTrustedUserAccess'] },
1070
+ { },
1071
+ { },
1072
+ null,
1073
+ ['PureCloud OAuth'],
1074
+ ['application/json'],
1075
+ ['application/json']
1076
+ );
1077
+ }
1078
+
1032
1079
  /**
1033
1080
  * Create a new organization authorization trust with Customer Care. This is required to grant your regional Customer Care organization access to your organization.
1034
1081
  *