purecloud-platform-client-v2 219.0.0 → 221.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 +4 -4
  2. package/dist/node/purecloud-platform-client-v2.js +1378 -144
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1378 -144
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +495 -184
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +495 -184
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +1596 -766
  9. package/package.json +2 -2
  10. package/src/purecloud-platform-client-v2/ApiClient.js +2 -2
  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 +4 -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 +71 -8
  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 +4 -19
  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 +3 -3
  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 +33 -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 +1 -10
  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 -3
  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 +1 -1
  92. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -5,7 +5,7 @@ class OperationalEventsApi {
5
5
  /**
6
6
  * OperationalEvents service.
7
7
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
8
- * @version 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -607,7 +607,7 @@ class RecordingApi {
607
607
  * @param {Object} opts Optional parameters
608
608
  * @param {Number} opts.pageSize Page size. Maximum is 100. (default to 25)
609
609
  * @param {Number} opts.pageNumber Page number (default to 1)
610
- * @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber.
610
+ * @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber. It is recommended to set it to false for improved performance.
611
611
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page)
612
612
  */
613
613
  getRecordingJobFailedrecordings(jobId, opts) {
@@ -642,7 +642,7 @@ class RecordingApi {
642
642
  * @param {Object} opts.state Filter by state
643
643
  * @param {Boolean} opts.showOnlyMyJobs Show only my jobs
644
644
  * @param {Object} opts.jobType Job Type (Can be left empty for both)
645
- * @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber.
645
+ * @param {Boolean} opts.includeTotal If false, cursor will be used to locate the page instead of pageNumber. It is recommended to set it to false for improved performance.
646
646
  * @param {String} opts.cursor Indicates where to resume query results (not required for first page)
647
647
  */
648
648
  getRecordingJobs(opts) {
@@ -5,7 +5,7 @@ class ResponseManagementApi {
5
5
  /**
6
6
  * ResponseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
8
- * @version 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -205,6 +205,38 @@ class ScriptsApi {
205
205
  );
206
206
  }
207
207
 
208
+ /**
209
+ * Get the published variables
210
+ *
211
+ * @param {String} scriptId Script ID
212
+ * @param {Object} opts Optional parameters
213
+ * @param {Object} opts.input input
214
+ * @param {Object} opts.output output
215
+ * @param {Object} opts.type type
216
+ * @param {String} opts.scriptDataVersion Advanced usage - controls the data version of the script
217
+ */
218
+ getScriptsPublishedDivisionviewVariables(scriptId, opts) {
219
+ opts = opts || {};
220
+
221
+ // verify the required parameter 'scriptId' is set
222
+ if (scriptId === undefined || scriptId === null) {
223
+ throw 'Missing the required parameter "scriptId" when calling getScriptsPublishedDivisionviewVariables';
224
+ }
225
+
226
+ return this.apiClient.callApi(
227
+ '/api/v2/scripts/published/divisionviews/{scriptId}/variables',
228
+ 'GET',
229
+ { 'scriptId': scriptId },
230
+ { 'input': opts['input'],'output': opts['output'],'type': opts['type'],'scriptDataVersion': opts['scriptDataVersion'] },
231
+ { },
232
+ { },
233
+ null,
234
+ ['PureCloud OAuth'],
235
+ ['application/json'],
236
+ ['application/json']
237
+ );
238
+ }
239
+
208
240
  /**
209
241
  * Get the published scripts metadata.
210
242
  *
@@ -5,7 +5,7 @@ class SearchApi {
5
5
  /**
6
6
  * Search service.
7
7
  * @module purecloud-platform-client-v2/api/SearchApi
8
- * @version 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -323,7 +323,6 @@ class TaskManagementApi {
323
323
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
324
324
  * @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
325
325
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
326
- * getTaskmanagementWorkbinHistory is a preview method and is subject to both breaking and non-breaking changes at any time without notice
327
326
  */
328
327
  getTaskmanagementWorkbinHistory(workbinId, opts) {
329
328
  opts = opts || {};
@@ -352,7 +351,6 @@ class TaskManagementApi {
352
351
  *
353
352
  * @param {String} workbinId Workbin ID
354
353
  * @param {Number} entityVersion Workbin version
355
- * getTaskmanagementWorkbinVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
356
354
  */
357
355
  getTaskmanagementWorkbinVersion(workbinId, entityVersion) {
358
356
  // verify the required parameter 'workbinId' is set
@@ -386,7 +384,6 @@ class TaskManagementApi {
386
384
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
387
385
  * @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
388
386
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
389
- * getTaskmanagementWorkbinVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
390
387
  */
391
388
  getTaskmanagementWorkbinVersions(workbinId, opts) {
392
389
  opts = opts || {};
@@ -447,7 +444,6 @@ class TaskManagementApi {
447
444
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
448
445
  * @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
449
446
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
450
- * getTaskmanagementWorkitemHistory is a preview method and is subject to both breaking and non-breaking changes at any time without notice
451
447
  */
452
448
  getTaskmanagementWorkitemHistory(workitemId, opts) {
453
449
  opts = opts || {};
@@ -513,7 +509,6 @@ class TaskManagementApi {
513
509
  *
514
510
  * @param {String} workitemId Workitem ID
515
511
  * @param {Number} entityVersion Workitem version
516
- * getTaskmanagementWorkitemVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
517
512
  */
518
513
  getTaskmanagementWorkitemVersion(workitemId, entityVersion) {
519
514
  // verify the required parameter 'workitemId' is set
@@ -547,7 +542,6 @@ class TaskManagementApi {
547
542
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
548
543
  * @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
549
544
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
550
- * getTaskmanagementWorkitemVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
551
545
  */
552
546
  getTaskmanagementWorkitemVersions(workitemId, opts) {
553
547
  opts = opts || {};
@@ -1163,7 +1157,6 @@ class TaskManagementApi {
1163
1157
  * @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
1164
1158
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
1165
1159
  * @param {Array.<String>} opts.fields Comma-separated list of fields. The response will contain only versions created as a result of changes to these fields.
1166
- * getTaskmanagementWorktypeHistory is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1167
1160
  */
1168
1161
  getTaskmanagementWorktypeHistory(worktypeId, opts) {
1169
1162
  opts = opts || {};
@@ -1247,7 +1240,6 @@ class TaskManagementApi {
1247
1240
  *
1248
1241
  * @param {String} worktypeId Worktype id
1249
1242
  * @param {Number} entityVersion Worktype version
1250
- * getTaskmanagementWorktypeVersion is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1251
1243
  */
1252
1244
  getTaskmanagementWorktypeVersion(worktypeId, entityVersion) {
1253
1245
  // verify the required parameter 'worktypeId' is set
@@ -1281,7 +1273,6 @@ class TaskManagementApi {
1281
1273
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
1282
1274
  * @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
1283
1275
  * @param {Object} opts.sortOrder Ascending or descending sort order (default to descending)
1284
- * getTaskmanagementWorktypeVersions is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1285
1276
  */
1286
1277
  getTaskmanagementWorktypeVersions(worktypeId, opts) {
1287
1278
  opts = opts || {};
@@ -5,7 +5,7 @@ class TeamsApi {
5
5
  /**
6
6
  * Teams service.
7
7
  * @module purecloud-platform-client-v2/api/TeamsApi
8
- * @version 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -26,8 +26,8 @@ class TextbotsApi {
26
26
  * @param {Object} opts Optional parameters
27
27
  * @param {Array.<String>} opts.botType Bot types
28
28
  * @param {String} opts.botName Bot name
29
- * @param {Array.<String>} opts.botId Bot IDs
30
- * @param {Number} opts.pageSize The maximum results to return (default to 25)
29
+ * @param {Array.<String>} opts.botId Bot IDs. Maximum of 50
30
+ * @param {Number} opts.pageSize The maximum results to return. Maximum of 100 (default to 25)
31
31
  */
32
32
  getTextbotsBotsSearch(opts) {
33
33
  opts = opts || {};
@@ -5,7 +5,7 @@ class TokensApi {
5
5
  /**
6
6
  * Tokens service.
7
7
  * @module purecloud-platform-client-v2/api/TokensApi
8
- * @version 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.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 219.0.0
8
+ * @version 221.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UserRecordingsApi {
5
5
  /**
6
6
  * UserRecordings service.
7
7
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
8
- * @version 219.0.0
8
+ * @version 221.0.0
9
9
  */
10
10
 
11
11
  /**