purecloud-platform-client-v2 220.0.0 → 222.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 (92) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +1428 -138
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1428 -138
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +497 -168
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +497 -168
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +1041 -253
  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/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 +1 -1
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +5 -5
  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 +177 -1
  20. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +919 -0
  21. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ChatApi.js +7 -3
  23. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +153 -14
  26. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +3 -18
  33. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/RoutingApi.js +19 -14
  66. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SettingsApi.js +65 -1
  71. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -3
  73. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +2 -2
  76. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +3 -2
  80. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -3
  89. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +3 -2
  92. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -5,7 +5,7 @@ class KnowledgeApi {
5
5
  /**
6
6
  * Knowledge service.
7
7
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 220.0.0
8
+ * @version 222.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 220.0.0
8
+ * @version 222.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 220.0.0
8
+ * @version 222.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 220.0.0
8
+ * @version 222.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 220.0.0
8
+ * @version 222.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 220.0.0
8
+ * @version 222.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 220.0.0
8
+ * @version 222.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 220.0.0
8
+ * @version 222.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 220.0.0
8
+ * @version 222.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 220.0.0
8
+ * @version 222.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 220.0.0
8
+ * @version 222.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 220.0.0
8
+ * @version 222.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 220.0.0
8
+ * @version 222.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 220.0.0
8
+ * @version 222.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 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class PresenceApi {
5
5
  /**
6
6
  * Presence service.
7
7
  * @module purecloud-platform-client-v2/api/PresenceApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ProcessAutomationApi {
5
5
  /**
6
6
  * ProcessAutomation service.
7
7
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class QualityApi {
5
5
  /**
6
6
  * Quality service.
7
7
  * @module purecloud-platform-client-v2/api/QualityApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ResponseManagementApi {
5
5
  /**
6
6
  * ResponseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class RoutingApi {
5
5
  /**
6
6
  * Routing service.
7
7
  * @module purecloud-platform-client-v2/api/RoutingApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -821,8 +821,12 @@ class RoutingApi {
821
821
  *
822
822
  * @param {String} domainName email domain
823
823
  * @param {String} routeId route ID
824
+ * @param {Object} opts Optional parameters
825
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
824
826
  */
825
- getRoutingEmailDomainRoute(domainName, routeId) {
827
+ getRoutingEmailDomainRoute(domainName, routeId, opts) {
828
+ opts = opts || {};
829
+
826
830
  // verify the required parameter 'domainName' is set
827
831
  if (domainName === undefined || domainName === null) {
828
832
  throw 'Missing the required parameter "domainName" when calling getRoutingEmailDomainRoute';
@@ -836,7 +840,7 @@ class RoutingApi {
836
840
  '/api/v2/routing/email/domains/{domainName}/routes/{routeId}',
837
841
  'GET',
838
842
  { 'domainName': domainName,'routeId': routeId },
839
- { },
843
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
840
844
  { },
841
845
  { },
842
846
  null,
@@ -851,7 +855,6 @@ class RoutingApi {
851
855
  *
852
856
  * @param {String} domainName email domain
853
857
  * @param {String} routeId route ID
854
- * getRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
855
858
  */
856
859
  getRoutingEmailDomainRouteIdentityresolution(domainName, routeId) {
857
860
  // verify the required parameter 'domainName' is set
@@ -885,6 +888,7 @@ class RoutingApi {
885
888
  * @param {Number} opts.pageSize Page size (default to 25)
886
889
  * @param {Number} opts.pageNumber Page number (default to 1)
887
890
  * @param {String} opts.pattern Filter routes by the route's pattern property
891
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
888
892
  */
889
893
  getRoutingEmailDomainRoutes(domainName, opts) {
890
894
  opts = opts || {};
@@ -898,7 +902,7 @@ class RoutingApi {
898
902
  '/api/v2/routing/email/domains/{domainName}/routes',
899
903
  'GET',
900
904
  { 'domainName': domainName },
901
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'pattern': opts['pattern'] },
905
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'pattern': opts['pattern'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
902
906
  { },
903
907
  { },
904
908
  null,
@@ -1298,8 +1302,12 @@ class RoutingApi {
1298
1302
  * Get details about this queue.
1299
1303
  *
1300
1304
  * @param {String} queueId Queue ID
1305
+ * @param {Object} opts Optional parameters
1306
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
1301
1307
  */
1302
- getRoutingQueue(queueId) {
1308
+ getRoutingQueue(queueId, opts) {
1309
+ opts = opts || {};
1310
+
1303
1311
  // verify the required parameter 'queueId' is set
1304
1312
  if (queueId === undefined || queueId === null) {
1305
1313
  throw 'Missing the required parameter "queueId" when calling getRoutingQueue';
@@ -1309,7 +1317,7 @@ class RoutingApi {
1309
1317
  '/api/v2/routing/queues/{queueId}',
1310
1318
  'GET',
1311
1319
  { 'queueId': queueId },
1312
- { },
1320
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
1313
1321
  { },
1314
1322
  { },
1315
1323
  null,
@@ -1436,7 +1444,6 @@ class RoutingApi {
1436
1444
  * Get Queue IdentityResolution Settings.
1437
1445
  *
1438
1446
  * @param {String} queueId Queue ID
1439
- * getRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1440
1447
  */
1441
1448
  getRoutingQueueIdentityresolution(queueId) {
1442
1449
  // verify the required parameter 'queueId' is set
@@ -1615,6 +1622,7 @@ class RoutingApi {
1615
1622
  * @param {Array.<String>} opts.peerId Include only queues with the specified peer ID(s)
1616
1623
  * @param {String} opts.cannedResponseLibraryId Include only queues explicitly associated with the specified canned response library ID
1617
1624
  * @param {Boolean} opts.hasPeer Include only queues with a peer ID
1625
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
1618
1626
  */
1619
1627
  getRoutingQueues(opts) {
1620
1628
  opts = opts || {};
@@ -1624,7 +1632,7 @@ class RoutingApi {
1624
1632
  '/api/v2/routing/queues',
1625
1633
  'GET',
1626
1634
  { },
1627
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'peerId': this.apiClient.buildCollectionParam(opts['peerId'], 'multi'),'cannedResponseLibraryId': opts['cannedResponseLibraryId'],'hasPeer': opts['hasPeer'] },
1635
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'peerId': this.apiClient.buildCollectionParam(opts['peerId'], 'multi'),'cannedResponseLibraryId': opts['cannedResponseLibraryId'],'hasPeer': opts['hasPeer'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
1628
1636
  { },
1629
1637
  { },
1630
1638
  null,
@@ -2034,7 +2042,6 @@ class RoutingApi {
2034
2042
  * Get a SMS identity resolution settings.
2035
2043
  *
2036
2044
  * @param {String} addressId Address ID
2037
- * getRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
2038
2045
  */
2039
2046
  getRoutingSmsIdentityresolutionPhonenumber(addressId) {
2040
2047
  // verify the required parameter 'addressId' is set
@@ -2100,6 +2107,7 @@ class RoutingApi {
2100
2107
  * @param {String} opts.language A language tag (which is sometimes referred to as a locale identifier) to use to localize country field and sort operations (default to en-US)
2101
2108
  * @param {String} opts.integrationId Filter on the Genesys Cloud integration id to which the phone number belongs to
2102
2109
  * @param {String} opts.supportedContentId Filter based on the supported content ID
2110
+ * @param {Array.<String>} opts.expand Which fields, if any, to expand
2103
2111
  */
2104
2112
  getRoutingSmsPhonenumbers(opts) {
2105
2113
  opts = opts || {};
@@ -2109,7 +2117,7 @@ class RoutingApi {
2109
2117
  '/api/v2/routing/sms/phonenumbers',
2110
2118
  'GET',
2111
2119
  { },
2112
- { 'phoneNumber': opts['phoneNumber'],'phoneNumberType': this.apiClient.buildCollectionParam(opts['phoneNumberType'], 'multi'),'phoneNumberStatus': this.apiClient.buildCollectionParam(opts['phoneNumberStatus'], 'multi'),'countryCode': this.apiClient.buildCollectionParam(opts['countryCode'], 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'language': opts['language'],'integration.id': opts['integrationId'],'supportedContent.id': opts['supportedContentId'] },
2120
+ { 'phoneNumber': opts['phoneNumber'],'phoneNumberType': this.apiClient.buildCollectionParam(opts['phoneNumberType'], 'multi'),'phoneNumberStatus': this.apiClient.buildCollectionParam(opts['phoneNumberStatus'], 'multi'),'countryCode': this.apiClient.buildCollectionParam(opts['countryCode'], 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'language': opts['language'],'integration.id': opts['integrationId'],'supportedContent.id': opts['supportedContentId'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
2113
2121
  { },
2114
2122
  { },
2115
2123
  null,
@@ -3867,7 +3875,6 @@ class RoutingApi {
3867
3875
  * @param {String} domainName email domain
3868
3876
  * @param {String} routeId route ID
3869
3877
  * @param {Object} body
3870
- * putRoutingEmailDomainRouteIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3871
3878
  */
3872
3879
  putRoutingEmailDomainRouteIdentityresolution(domainName, routeId, body) {
3873
3880
  // verify the required parameter 'domainName' is set
@@ -3987,7 +3994,6 @@ class RoutingApi {
3987
3994
  *
3988
3995
  * @param {String} queueId Queue ID
3989
3996
  * @param {Object} body
3990
- * putRoutingQueueIdentityresolution is a preview method and is subject to both breaking and non-breaking changes at any time without notice
3991
3997
  */
3992
3998
  putRoutingQueueIdentityresolution(queueId, body) {
3993
3999
  // verify the required parameter 'queueId' is set
@@ -4068,7 +4074,6 @@ class RoutingApi {
4068
4074
  *
4069
4075
  * @param {String} addressId Address ID
4070
4076
  * @param {Object} body
4071
- * putRoutingSmsIdentityresolutionPhonenumber is a preview method and is subject to both breaking and non-breaking changes at any time without notice
4072
4077
  */
4073
4078
  putRoutingSmsIdentityresolutionPhonenumber(addressId, body) {
4074
4079
  // verify the required parameter 'addressId' is set
@@ -5,7 +5,7 @@ class SCIMApi {
5
5
  /**
6
6
  * SCIM service.
7
7
  * @module purecloud-platform-client-v2/api/SCIMApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScreenRecordingApi {
5
5
  /**
6
6
  * ScreenRecording service.
7
7
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScriptsApi {
5
5
  /**
6
6
  * Scripts service.
7
7
  * @module purecloud-platform-client-v2/api/ScriptsApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SearchApi {
5
5
  /**
6
6
  * Search service.
7
7
  * @module purecloud-platform-client-v2/api/SearchApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SettingsApi {
5
5
  /**
6
6
  * Settings service.
7
7
  * @module purecloud-platform-client-v2/api/SettingsApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -40,6 +40,26 @@ class SettingsApi {
40
40
  );
41
41
  }
42
42
 
43
+ /**
44
+ * Delete settings
45
+ *
46
+ */
47
+ deleteExternalcontactsSettings() {
48
+
49
+ return this.apiClient.callApi(
50
+ '/api/v2/externalcontacts/settings',
51
+ 'DELETE',
52
+ { },
53
+ { },
54
+ { },
55
+ { },
56
+ null,
57
+ ['PureCloud OAuth'],
58
+ ['application/json'],
59
+ ['application/json']
60
+ );
61
+ }
62
+
43
63
  /**
44
64
  * Delete agent auto answer settings
45
65
  *
@@ -105,6 +125,26 @@ class SettingsApi {
105
125
  );
106
126
  }
107
127
 
128
+ /**
129
+ * Get settings
130
+ *
131
+ */
132
+ getExternalcontactsSettings() {
133
+
134
+ return this.apiClient.callApi(
135
+ '/api/v2/externalcontacts/settings',
136
+ 'GET',
137
+ { },
138
+ { },
139
+ { },
140
+ { },
141
+ null,
142
+ ['PureCloud OAuth'],
143
+ ['application/json'],
144
+ ['application/json']
145
+ );
146
+ }
147
+
108
148
  /**
109
149
  * Get the execution history enabled setting.
110
150
  * Get the execution history enabled setting.
@@ -253,6 +293,30 @@ class SettingsApi {
253
293
  );
254
294
  }
255
295
 
296
+ /**
297
+ * Set settings
298
+ *
299
+ * @param {Object} opts Optional parameters
300
+ * @param {Object} opts.body
301
+ */
302
+ putExternalcontactsSettings(opts) {
303
+ opts = opts || {};
304
+
305
+
306
+ return this.apiClient.callApi(
307
+ '/api/v2/externalcontacts/settings',
308
+ 'PUT',
309
+ { },
310
+ { },
311
+ { },
312
+ { },
313
+ opts['body'],
314
+ ['PureCloud OAuth'],
315
+ ['application/json'],
316
+ ['application/json']
317
+ );
318
+ }
319
+
256
320
  /**
257
321
  * Set agent auto answer settings
258
322
  *
@@ -5,7 +5,7 @@ class SocialMediaApi {
5
5
  /**
6
6
  * SocialMedia service.
7
7
  * @module purecloud-platform-client-v2/api/SocialMediaApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
5
5
  /**
6
6
  * SpeechTextAnalytics service.
7
7
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -907,7 +907,6 @@ class SpeechTextAnalyticsApi {
907
907
  * @param {Object} opts Optional parameters
908
908
  * @param {String} opts.communicationId Communication id associated with the conversation. Please provide a valid communicationId when requesting non-email interactions.
909
909
  * @param {String} opts.recordingId Recording id associated with the communication. Please provide a valid recordingId when requesting voice interactions.
910
- * getSpeechandtextanalyticsTranslationsLanguageConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
911
910
  */
912
911
  getSpeechandtextanalyticsTranslationsLanguageConversation(languageId, conversationId, opts) {
913
912
  opts = opts || {};
@@ -938,7 +937,6 @@ class SpeechTextAnalyticsApi {
938
937
  /**
939
938
  * Get supported translation languages
940
939
  *
941
- * getSpeechandtextanalyticsTranslationsLanguages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
942
940
  */
943
941
  getSpeechandtextanalyticsTranslationsLanguages() {
944
942
 
@@ -5,7 +5,7 @@ class StationsApi {
5
5
  /**
6
6
  * Stations service.
7
7
  * @module purecloud-platform-client-v2/api/StationsApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SuggestApi {
5
5
  /**
6
6
  * Suggest service.
7
7
  * @module purecloud-platform-client-v2/api/SuggestApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TaskManagementApi {
5
5
  /**
6
6
  * TaskManagement service.
7
7
  * @module purecloud-platform-client-v2/api/TaskManagementApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -875,7 +875,7 @@ class TaskManagementApi {
875
875
  }
876
876
 
877
877
  /**
878
- * Get the core types from which all schemas are built.
878
+ * Get a specific named core type.
879
879
  *
880
880
  * @param {String} coreTypeName Name of the core type
881
881
  */
@@ -5,7 +5,7 @@ class TeamsApi {
5
5
  /**
6
6
  * Teams service.
7
7
  * @module purecloud-platform-client-v2/api/TeamsApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyApi {
5
5
  /**
6
6
  * Telephony service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
5
5
  /**
6
6
  * TelephonyProvidersEdge service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -27,6 +27,7 @@ class TextbotsApi {
27
27
  * @param {Array.<String>} opts.botType Bot types
28
28
  * @param {String} opts.botName Bot name
29
29
  * @param {Array.<String>} opts.botId Bot IDs. Maximum of 50
30
+ * @param {Boolean} opts.virtualAgentEnabled Include or exclude virtual agent flows, only applies to GenesysBotFlows or GenesysDigitalBotFlows
30
31
  * @param {Number} opts.pageSize The maximum results to return. Maximum of 100 (default to 25)
31
32
  */
32
33
  getTextbotsBotsSearch(opts) {
@@ -37,7 +38,7 @@ class TextbotsApi {
37
38
  '/api/v2/textbots/bots/search',
38
39
  'GET',
39
40
  { },
40
- { 'botType': this.apiClient.buildCollectionParam(opts['botType'], 'multi'),'botName': opts['botName'],'botId': this.apiClient.buildCollectionParam(opts['botId'], 'multi'),'pageSize': opts['pageSize'] },
41
+ { 'botType': this.apiClient.buildCollectionParam(opts['botType'], 'multi'),'botName': opts['botName'],'botId': this.apiClient.buildCollectionParam(opts['botId'], 'multi'),'virtualAgentEnabled': opts['virtualAgentEnabled'],'pageSize': opts['pageSize'] },
41
42
  { },
42
43
  { },
43
44
  null,
@@ -5,7 +5,7 @@ class TokensApi {
5
5
  /**
6
6
  * Tokens service.
7
7
  * @module purecloud-platform-client-v2/api/TokensApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UploadsApi {
5
5
  /**
6
6
  * Uploads service.
7
7
  * @module purecloud-platform-client-v2/api/UploadsApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsageApi {
5
5
  /**
6
6
  * Usage service.
7
7
  * @module purecloud-platform-client-v2/api/UsageApi
8
- * @version 220.0.0
8
+ * @version 222.0.0
9
9
  */
10
10
 
11
11
  /**