purecloud-platform-client-v2 185.0.0 → 186.0.1

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 (84) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +377 -152
  3. package/dist/web-amd/purecloud-platform-client-v2.js +377 -152
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +165 -117
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +170 -119
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +154 -128
  9. package/package.json +2 -2
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +2 -3
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +58 -1
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -62
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +7 -7
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +26 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +131 -1
  45. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +2 -3
  50. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
  57. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/RoutingApi.js +80 -2
  60. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -3
  70. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +3 -3
  71. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -402,7 +402,7 @@ class Configuration {
402
402
 
403
403
  /**
404
404
  * @module purecloud-platform-client-v2/ApiClient
405
- * @version 185.0.0
405
+ * @version 186.0.1
406
406
  */
407
407
  class ApiClient {
408
408
  /**
@@ -1821,7 +1821,7 @@ class AlertingApi {
1821
1821
  /**
1822
1822
  * Alerting service.
1823
1823
  * @module purecloud-platform-client-v2/api/AlertingApi
1824
- * @version 185.0.0
1824
+ * @version 186.0.1
1825
1825
  */
1826
1826
 
1827
1827
  /**
@@ -2482,7 +2482,7 @@ class AnalyticsApi {
2482
2482
  /**
2483
2483
  * Analytics service.
2484
2484
  * @module purecloud-platform-client-v2/api/AnalyticsApi
2485
- * @version 185.0.0
2485
+ * @version 186.0.1
2486
2486
  */
2487
2487
 
2488
2488
  /**
@@ -5072,7 +5072,7 @@ class ArchitectApi {
5072
5072
  /**
5073
5073
  * Architect service.
5074
5074
  * @module purecloud-platform-client-v2/api/ArchitectApi
5075
- * @version 185.0.0
5075
+ * @version 186.0.1
5076
5076
  */
5077
5077
 
5078
5078
  /**
@@ -8907,7 +8907,7 @@ class AuditApi {
8907
8907
  /**
8908
8908
  * Audit service.
8909
8909
  * @module purecloud-platform-client-v2/api/AuditApi
8910
- * @version 185.0.0
8910
+ * @version 186.0.1
8911
8911
  */
8912
8912
 
8913
8913
  /**
@@ -9078,7 +9078,7 @@ class AuthorizationApi {
9078
9078
  /**
9079
9079
  * Authorization service.
9080
9080
  * @module purecloud-platform-client-v2/api/AuthorizationApi
9081
- * @version 185.0.0
9081
+ * @version 186.0.1
9082
9082
  */
9083
9083
 
9084
9084
  /**
@@ -9252,7 +9252,6 @@ class AuthorizationApi {
9252
9252
  * @param {String} opts.nextPage next page token
9253
9253
  * @param {String} opts.previousPage Previous page token
9254
9254
  * @param {Boolean} opts.objectCount Include the count of objects contained in the division (default to false)
9255
- * @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
9256
9255
  * @param {String} opts.name Search term to filter by division name
9257
9256
  */
9258
9257
  getAuthorizationDivisions(opts) {
@@ -9263,7 +9262,7 @@ class AuthorizationApi {
9263
9262
  '/api/v2/authorization/divisions',
9264
9263
  'GET',
9265
9264
  { },
9266
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'objectCount': opts['objectCount'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'] },
9265
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'objectCount': opts['objectCount'],'name': opts['name'] },
9267
9266
  { },
9268
9267
  { },
9269
9268
  null,
@@ -10308,7 +10307,7 @@ class BillingApi {
10308
10307
  /**
10309
10308
  * Billing service.
10310
10309
  * @module purecloud-platform-client-v2/api/BillingApi
10311
- * @version 185.0.0
10310
+ * @version 186.0.1
10312
10311
  */
10313
10312
 
10314
10313
  /**
@@ -10388,7 +10387,7 @@ class CarrierServicesApi {
10388
10387
  /**
10389
10388
  * CarrierServices service.
10390
10389
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
10391
- * @version 185.0.0
10390
+ * @version 186.0.1
10392
10391
  */
10393
10392
 
10394
10393
  /**
@@ -10458,7 +10457,7 @@ class ChatApi {
10458
10457
  /**
10459
10458
  * Chat service.
10460
10459
  * @module purecloud-platform-client-v2/api/ChatApi
10461
- * @version 185.0.0
10460
+ * @version 186.0.1
10462
10461
  */
10463
10462
 
10464
10463
  /**
@@ -10845,6 +10844,32 @@ class ChatApi {
10845
10844
  );
10846
10845
  }
10847
10846
 
10847
+ /**
10848
+ * Get a user's chat settings
10849
+ *
10850
+ * @param {String} userId User ID
10851
+ * getChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
10852
+ */
10853
+ getChatsUserSettings(userId) {
10854
+ // verify the required parameter 'userId' is set
10855
+ if (userId === undefined || userId === null) {
10856
+ throw 'Missing the required parameter "userId" when calling getChatsUserSettings';
10857
+ }
10858
+
10859
+ return this.apiClient.callApi(
10860
+ '/api/v2/chats/users/{userId}/settings',
10861
+ 'GET',
10862
+ { 'userId': userId },
10863
+ { },
10864
+ { },
10865
+ { },
10866
+ null,
10867
+ ['PureCloud OAuth'],
10868
+ ['application/json'],
10869
+ ['application/json']
10870
+ );
10871
+ }
10872
+
10848
10873
  /**
10849
10874
  * Set properties for a room
10850
10875
  *
@@ -10973,6 +10998,37 @@ class ChatApi {
10973
10998
  );
10974
10999
  }
10975
11000
 
11001
+ /**
11002
+ * Update a user's chat settings
11003
+ *
11004
+ * @param {String} userId User ID
11005
+ * @param {Object} body
11006
+ * patchChatsUserSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11007
+ */
11008
+ patchChatsUserSettings(userId, body) {
11009
+ // verify the required parameter 'userId' is set
11010
+ if (userId === undefined || userId === null) {
11011
+ throw 'Missing the required parameter "userId" when calling patchChatsUserSettings';
11012
+ }
11013
+ // verify the required parameter 'body' is set
11014
+ if (body === undefined || body === null) {
11015
+ throw 'Missing the required parameter "body" when calling patchChatsUserSettings';
11016
+ }
11017
+
11018
+ return this.apiClient.callApi(
11019
+ '/api/v2/chats/users/{userId}/settings',
11020
+ 'PATCH',
11021
+ { 'userId': userId },
11022
+ { },
11023
+ { },
11024
+ { },
11025
+ body,
11026
+ ['PureCloud OAuth'],
11027
+ ['application/json'],
11028
+ ['application/json']
11029
+ );
11030
+ }
11031
+
10976
11032
  /**
10977
11033
  * Send a message to a room
10978
11034
  *
@@ -11154,7 +11210,7 @@ class CoachingApi {
11154
11210
  /**
11155
11211
  * Coaching service.
11156
11212
  * @module purecloud-platform-client-v2/api/CoachingApi
11157
- * @version 185.0.0
11213
+ * @version 186.0.1
11158
11214
  */
11159
11215
 
11160
11216
  /**
@@ -11731,7 +11787,7 @@ class ContentManagementApi {
11731
11787
  /**
11732
11788
  * ContentManagement service.
11733
11789
  * @module purecloud-platform-client-v2/api/ContentManagementApi
11734
- * @version 185.0.0
11790
+ * @version 186.0.1
11735
11791
  */
11736
11792
 
11737
11793
  /**
@@ -11943,41 +11999,6 @@ class ContentManagementApi {
11943
11999
  );
11944
12000
  }
11945
12001
 
11946
- /**
11947
- * Get a list of audits for a document.
11948
- * This api is deprecated, use https://developer.genesys.cloud/platform/audit/ instead.
11949
- * @param {String} documentId Document ID
11950
- * @param {Object} opts Optional parameters
11951
- * @param {Number} opts.pageSize Page size (default to 25)
11952
- * @param {Number} opts.pageNumber Page number (default to 1)
11953
- * @param {String} opts.transactionFilter Transaction filter
11954
- * @param {String} opts.level level (default to USER)
11955
- * @param {String} opts.sortBy Sort by
11956
- * @param {String} opts.sortOrder Sort order (default to ascending)
11957
- * @deprecated
11958
- */
11959
- getContentmanagementDocumentAudits(documentId, opts) {
11960
- opts = opts || {};
11961
-
11962
- // verify the required parameter 'documentId' is set
11963
- if (documentId === undefined || documentId === null) {
11964
- throw 'Missing the required parameter "documentId" when calling getContentmanagementDocumentAudits';
11965
- }
11966
-
11967
- return this.apiClient.callApi(
11968
- '/api/v2/contentmanagement/documents/{documentId}/audits',
11969
- 'GET',
11970
- { 'documentId': documentId },
11971
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'transactionFilter': opts['transactionFilter'],'level': opts['level'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
11972
- { },
11973
- { },
11974
- null,
11975
- ['PureCloud OAuth'],
11976
- ['application/json'],
11977
- ['application/json']
11978
- );
11979
- }
11980
-
11981
12002
  /**
11982
12003
  * Download a document.
11983
12004
  *
@@ -12499,32 +12520,6 @@ class ContentManagementApi {
12499
12520
  );
12500
12521
  }
12501
12522
 
12502
- /**
12503
- * Query audits
12504
- * This api is deprecated, use https://developer.genesys.cloud/platform/audit/ instead.
12505
- * @param {Object} body Allows for a filtered query returning facet information
12506
- * @deprecated
12507
- */
12508
- postContentmanagementAuditquery(body) {
12509
- // verify the required parameter 'body' is set
12510
- if (body === undefined || body === null) {
12511
- throw 'Missing the required parameter "body" when calling postContentmanagementAuditquery';
12512
- }
12513
-
12514
- return this.apiClient.callApi(
12515
- '/api/v2/contentmanagement/auditquery',
12516
- 'POST',
12517
- { },
12518
- { },
12519
- { },
12520
- { },
12521
- body,
12522
- ['PureCloud OAuth'],
12523
- ['application/json'],
12524
- ['application/json']
12525
- );
12526
- }
12527
-
12528
12523
  /**
12529
12524
  * Update a document.
12530
12525
  *
@@ -12874,7 +12869,7 @@ class ConversationsApi {
12874
12869
  /**
12875
12870
  * Conversations service.
12876
12871
  * @module purecloud-platform-client-v2/api/ConversationsApi
12877
- * @version 185.0.0
12872
+ * @version 186.0.1
12878
12873
  */
12879
12874
 
12880
12875
  /**
@@ -20014,7 +20009,7 @@ class DataExtensionsApi {
20014
20009
  /**
20015
20010
  * DataExtensions service.
20016
20011
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
20017
- * @version 185.0.0
20012
+ * @version 186.0.1
20018
20013
  */
20019
20014
 
20020
20015
  /**
@@ -20100,7 +20095,7 @@ class DownloadsApi {
20100
20095
  /**
20101
20096
  * Downloads service.
20102
20097
  * @module purecloud-platform-client-v2/api/DownloadsApi
20103
- * @version 185.0.0
20098
+ * @version 186.0.1
20104
20099
  */
20105
20100
 
20106
20101
  /**
@@ -20152,7 +20147,7 @@ class EmailsApi {
20152
20147
  /**
20153
20148
  * Emails service.
20154
20149
  * @module purecloud-platform-client-v2/api/EmailsApi
20155
- * @version 185.0.0
20150
+ * @version 186.0.1
20156
20151
  */
20157
20152
 
20158
20153
  /**
@@ -20217,7 +20212,7 @@ class EventsApi {
20217
20212
  /**
20218
20213
  * Events service.
20219
20214
  * @module purecloud-platform-client-v2/api/EventsApi
20220
- * @version 185.0.0
20215
+ * @version 186.0.1
20221
20216
  */
20222
20217
 
20223
20218
  /**
@@ -20313,7 +20308,7 @@ class ExternalContactsApi {
20313
20308
  /**
20314
20309
  * ExternalContacts service.
20315
20310
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
20316
- * @version 185.0.0
20311
+ * @version 186.0.1
20317
20312
  */
20318
20313
 
20319
20314
  /**
@@ -20639,7 +20634,7 @@ class ExternalContactsApi {
20639
20634
  * @param {Object} opts Optional parameters
20640
20635
  * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
20641
20636
  * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
20642
- * @param {String} opts.sortOrder Sort order
20637
+ * @param {String} opts.sortOrder The Note field to sort by. Any of: [createDate]. Direction: [asc, desc]. e.g. createDate:asc, createDate:desc
20643
20638
  * @param {Array.<String>} opts.expand which fields, if any, to expand
20644
20639
  */
20645
20640
  getExternalcontactsContactNotes(contactId, opts) {
@@ -20700,7 +20695,7 @@ class ExternalContactsApi {
20700
20695
  * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
20701
20696
  * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
20702
20697
  * @param {String} opts.q User supplied search keywords (no special syntax is currently supported)
20703
- * @param {String} opts.sortOrder Sort order
20698
+ * @param {String} opts.sortOrder The External Contact field to sort by. Any of: [firstName, lastName, middleName, title]. Direction: [asc, desc]. e.g. firstName:asc, title:desc
20704
20699
  * @param {Array.<String>} opts.expand which fields, if any, to expand
20705
20700
  */
20706
20701
  getExternalcontactsContacts(opts) {
@@ -20859,7 +20854,7 @@ class ExternalContactsApi {
20859
20854
  * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
20860
20855
  * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
20861
20856
  * @param {String} opts.q User supplied search keywords (no special syntax is currently supported)
20862
- * @param {String} opts.sortOrder Sort order
20857
+ * @param {String} opts.sortOrder The External Contact field to sort by. Any of: [firstName, lastName, middleName, title]. Direction: [asc, desc]. e.g. firstName:asc, title:desc
20863
20858
  * @param {Array.<String>} opts.expand which fields, if any, to expand
20864
20859
  */
20865
20860
  getExternalcontactsOrganizationContacts(externalOrganizationId, opts) {
@@ -20925,7 +20920,7 @@ class ExternalContactsApi {
20925
20920
  * @param {Object} opts Optional parameters
20926
20921
  * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
20927
20922
  * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
20928
- * @param {String} opts.sortOrder Sort order
20923
+ * @param {String} opts.sortOrder The Note field to sort by. Any of: [createDate]. Direction: [asc, desc]. e.g. createDate:asc, createDate:desc
20929
20924
  * @param {Array.<String>} opts.expand which fields, if any, to expand
20930
20925
  */
20931
20926
  getExternalcontactsOrganizationNotes(externalOrganizationId, opts) {
@@ -20958,7 +20953,7 @@ class ExternalContactsApi {
20958
20953
  * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
20959
20954
  * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
20960
20955
  * @param {Object} opts.expand which fields, if any, to expand
20961
- * @param {String} opts.sortOrder Sort order
20956
+ * @param {String} opts.sortOrder The Relationship field to sort by. Any of: [createDate, relationship]. Direction: [asc, desc]. e.g. createDate:asc, relationship:desc
20962
20957
  */
20963
20958
  getExternalcontactsOrganizationRelationships(externalOrganizationId, opts) {
20964
20959
  opts = opts || {};
@@ -20990,7 +20985,7 @@ class ExternalContactsApi {
20990
20985
  * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
20991
20986
  * @param {String} opts.q Search query
20992
20987
  * @param {Array.<String>} opts.trustorId Search for external organizations by trustorIds (limit 25). If supplied, the 'q' parameters is ignored. Items are returned in the order requested
20993
- * @param {String} opts.sortOrder Sort order
20988
+ * @param {String} opts.sortOrder The Organization field to sort by. Any of: [companyType, industry, name]. Direction: [asc, desc]. e.g. companyType:asc, industry:desc
20994
20989
  * @param {Array.<String>} opts.expand which fields, if any, to expand
20995
20990
  * @param {Boolean} opts.includeTrustors (true or false) whether or not to include trustor information embedded in the externalOrganization
20996
20991
  */
@@ -22271,7 +22266,7 @@ class FaxApi {
22271
22266
  /**
22272
22267
  * Fax service.
22273
22268
  * @module purecloud-platform-client-v2/api/FaxApi
22274
- * @version 185.0.0
22269
+ * @version 186.0.1
22275
22270
  */
22276
22271
 
22277
22272
  /**
@@ -22442,7 +22437,7 @@ class FlowsApi {
22442
22437
  /**
22443
22438
  * Flows service.
22444
22439
  * @module purecloud-platform-client-v2/api/FlowsApi
22445
- * @version 185.0.0
22440
+ * @version 186.0.1
22446
22441
  */
22447
22442
 
22448
22443
  /**
@@ -22626,7 +22621,7 @@ class GamificationApi {
22626
22621
  /**
22627
22622
  * Gamification service.
22628
22623
  * @module purecloud-platform-client-v2/api/GamificationApi
22629
- * @version 185.0.0
22624
+ * @version 186.0.1
22630
22625
  */
22631
22626
 
22632
22627
  /**
@@ -24712,7 +24707,7 @@ class GeneralDataProtectionRegulationApi {
24712
24707
  /**
24713
24708
  * GeneralDataProtectionRegulation service.
24714
24709
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
24715
- * @version 185.0.0
24710
+ * @version 186.0.1
24716
24711
  */
24717
24712
 
24718
24713
  /**
@@ -24842,7 +24837,7 @@ class GeolocationApi {
24842
24837
  /**
24843
24838
  * Geolocation service.
24844
24839
  * @module purecloud-platform-client-v2/api/GeolocationApi
24845
- * @version 185.0.0
24840
+ * @version 186.0.1
24846
24841
  */
24847
24842
 
24848
24843
  /**
@@ -24973,7 +24968,7 @@ class GreetingsApi {
24973
24968
  /**
24974
24969
  * Greetings service.
24975
24970
  * @module purecloud-platform-client-v2/api/GreetingsApi
24976
- * @version 185.0.0
24971
+ * @version 186.0.1
24977
24972
  */
24978
24973
 
24979
24974
  /**
@@ -25428,7 +25423,7 @@ class GroupsApi {
25428
25423
  /**
25429
25424
  * Groups service.
25430
25425
  * @module purecloud-platform-client-v2/api/GroupsApi
25431
- * @version 185.0.0
25426
+ * @version 186.0.1
25432
25427
  */
25433
25428
 
25434
25429
  /**
@@ -25947,7 +25942,7 @@ class IdentityProviderApi {
25947
25942
  /**
25948
25943
  * IdentityProvider service.
25949
25944
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
25950
- * @version 185.0.0
25945
+ * @version 186.0.1
25951
25946
  */
25952
25947
 
25953
25948
  /**
@@ -26703,7 +26698,7 @@ class InfrastructureAsCodeApi {
26703
26698
  /**
26704
26699
  * InfrastructureAsCode service.
26705
26700
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
26706
- * @version 185.0.0
26701
+ * @version 186.0.1
26707
26702
  */
26708
26703
 
26709
26704
  /**
@@ -26870,7 +26865,7 @@ class IntegrationsApi {
26870
26865
  /**
26871
26866
  * Integrations service.
26872
26867
  * @module purecloud-platform-client-v2/api/IntegrationsApi
26873
- * @version 185.0.0
26868
+ * @version 186.0.1
26874
26869
  */
26875
26870
 
26876
26871
  /**
@@ -27342,6 +27337,31 @@ class IntegrationsApi {
27342
27337
  );
27343
27338
  }
27344
27339
 
27340
+ /**
27341
+ * Retrieves the available mTLS client certificates in use. This endpoint will return inconsistent results while a certificate rotation is in progress.
27342
+ *
27343
+ * @param {Object} opts Optional parameters
27344
+ * @param {Object} opts.status Indicates the validity of the certificate in question.
27345
+ * @param {Object} opts.type Indicates the type of the certificate.
27346
+ */
27347
+ getIntegrationsActionsCertificates(opts) {
27348
+ opts = opts || {};
27349
+
27350
+
27351
+ return this.apiClient.callApi(
27352
+ '/api/v2/integrations/actions/certificates',
27353
+ 'GET',
27354
+ { },
27355
+ { 'status': opts['status'],'type': opts['type'] },
27356
+ { },
27357
+ { },
27358
+ null,
27359
+ ['PureCloud OAuth'],
27360
+ ['application/json'],
27361
+ ['application/json']
27362
+ );
27363
+ }
27364
+
27345
27365
  /**
27346
27366
  * Retrieves all action drafts associated with the filters passed in via query param.
27347
27367
  *
@@ -28832,7 +28852,7 @@ class JourneyApi {
28832
28852
  /**
28833
28853
  * Journey service.
28834
28854
  * @module purecloud-platform-client-v2/api/JourneyApi
28835
- * @version 185.0.0
28855
+ * @version 186.0.1
28836
28856
  */
28837
28857
 
28838
28858
  /**
@@ -30063,7 +30083,7 @@ class KnowledgeApi {
30063
30083
  /**
30064
30084
  * Knowledge service.
30065
30085
  * @module purecloud-platform-client-v2/api/KnowledgeApi
30066
- * @version 185.0.0
30086
+ * @version 186.0.1
30067
30087
  */
30068
30088
 
30069
30089
  /**
@@ -32884,7 +32904,7 @@ class LanguageUnderstandingApi {
32884
32904
  /**
32885
32905
  * LanguageUnderstanding service.
32886
32906
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
32887
- * @version 185.0.0
32907
+ * @version 186.0.1
32888
32908
  */
32889
32909
 
32890
32910
  /**
@@ -33897,7 +33917,7 @@ class LanguagesApi {
33897
33917
  /**
33898
33918
  * Languages service.
33899
33919
  * @module purecloud-platform-client-v2/api/LanguagesApi
33900
- * @version 185.0.0
33920
+ * @version 186.0.1
33901
33921
  */
33902
33922
 
33903
33923
  /**
@@ -34119,7 +34139,7 @@ class LearningApi {
34119
34139
  /**
34120
34140
  * Learning service.
34121
34141
  * @module purecloud-platform-client-v2/api/LearningApi
34122
- * @version 185.0.0
34142
+ * @version 186.0.1
34123
34143
  */
34124
34144
 
34125
34145
  /**
@@ -34975,7 +34995,7 @@ class LicenseApi {
34975
34995
  /**
34976
34996
  * License service.
34977
34997
  * @module purecloud-platform-client-v2/api/LicenseApi
34978
- * @version 185.0.0
34998
+ * @version 186.0.1
34979
34999
  */
34980
35000
 
34981
35001
  /**
@@ -35213,7 +35233,7 @@ class LocationsApi {
35213
35233
  /**
35214
35234
  * Locations service.
35215
35235
  * @module purecloud-platform-client-v2/api/LocationsApi
35216
- * @version 185.0.0
35236
+ * @version 186.0.1
35217
35237
  */
35218
35238
 
35219
35239
  /**
@@ -35449,7 +35469,7 @@ class LogCaptureApi {
35449
35469
  /**
35450
35470
  * LogCapture service.
35451
35471
  * @module purecloud-platform-client-v2/api/LogCaptureApi
35452
- * @version 185.0.0
35472
+ * @version 186.0.1
35453
35473
  */
35454
35474
 
35455
35475
  /**
@@ -35464,6 +35484,31 @@ class LogCaptureApi {
35464
35484
  }
35465
35485
 
35466
35486
 
35487
+ /**
35488
+ * Disable browser log capture for the user
35489
+ *
35490
+ * @param {String} userId The id of the user to disable browser log capture
35491
+ */
35492
+ deleteDiagnosticsLogcaptureBrowserUser(userId) {
35493
+ // verify the required parameter 'userId' is set
35494
+ if (userId === undefined || userId === null) {
35495
+ throw 'Missing the required parameter "userId" when calling deleteDiagnosticsLogcaptureBrowserUser';
35496
+ }
35497
+
35498
+ return this.apiClient.callApi(
35499
+ '/api/v2/diagnostics/logcapture/browser/users/{userId}',
35500
+ 'DELETE',
35501
+ { 'userId': userId },
35502
+ { },
35503
+ { },
35504
+ { },
35505
+ null,
35506
+ ['PureCloud OAuth'],
35507
+ ['application/json'],
35508
+ ['application/json']
35509
+ );
35510
+ }
35511
+
35467
35512
  /**
35468
35513
  * Gets status of async download execution
35469
35514
  *
@@ -35489,6 +35534,55 @@ class LogCaptureApi {
35489
35534
  );
35490
35535
  }
35491
35536
 
35537
+ /**
35538
+ * Get log capture configuration for the user
35539
+ *
35540
+ * @param {String} userId The id of the user to get browser log capture configuration
35541
+ */
35542
+ getDiagnosticsLogcaptureBrowserUser(userId) {
35543
+ // verify the required parameter 'userId' is set
35544
+ if (userId === undefined || userId === null) {
35545
+ throw 'Missing the required parameter "userId" when calling getDiagnosticsLogcaptureBrowserUser';
35546
+ }
35547
+
35548
+ return this.apiClient.callApi(
35549
+ '/api/v2/diagnostics/logcapture/browser/users/{userId}',
35550
+ 'GET',
35551
+ { 'userId': userId },
35552
+ { },
35553
+ { },
35554
+ { },
35555
+ null,
35556
+ ['PureCloud OAuth'],
35557
+ ['application/json'],
35558
+ ['application/json']
35559
+ );
35560
+ }
35561
+
35562
+ /**
35563
+ * Get all log capture enabled users for an org
35564
+ *
35565
+ * @param {Object} opts Optional parameters
35566
+ * @param {Boolean} opts.includeExpired Include expired users with log captures still available for search or download (default to false)
35567
+ */
35568
+ getDiagnosticsLogcaptureBrowserUsers(opts) {
35569
+ opts = opts || {};
35570
+
35571
+
35572
+ return this.apiClient.callApi(
35573
+ '/api/v2/diagnostics/logcapture/browser/users',
35574
+ 'GET',
35575
+ { },
35576
+ { 'includeExpired': opts['includeExpired'] },
35577
+ { },
35578
+ { },
35579
+ null,
35580
+ ['PureCloud OAuth'],
35581
+ ['application/json'],
35582
+ ['application/json']
35583
+ );
35584
+ }
35585
+
35492
35586
  /**
35493
35587
  * Creates an async download execution
35494
35588
  *
@@ -35513,13 +35607,69 @@ class LogCaptureApi {
35513
35607
  );
35514
35608
  }
35515
35609
 
35610
+ /**
35611
+ * Query collected log entries. It returns a limited amount of records, to get all records use download endpoint.
35612
+ *
35613
+ * @param {Object} opts Optional parameters
35614
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
35615
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
35616
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
35617
+ * @param {Object} opts.body
35618
+ */
35619
+ postDiagnosticsLogcaptureBrowserEntriesQuery(opts) {
35620
+ opts = opts || {};
35621
+
35622
+
35623
+ return this.apiClient.callApi(
35624
+ '/api/v2/diagnostics/logcapture/browser/entries/query',
35625
+ 'POST',
35626
+ { },
35627
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'] },
35628
+ { },
35629
+ { },
35630
+ opts['body'],
35631
+ ['PureCloud OAuth'],
35632
+ ['application/json'],
35633
+ ['application/json']
35634
+ );
35635
+ }
35636
+
35637
+ /**
35638
+ * Enable log capture for a user or update expiration
35639
+ *
35640
+ * @param {String} userId The id of the user to enable browser log capture
35641
+ * @param {Object} opts Optional parameters
35642
+ * @param {Object} opts.body
35643
+ */
35644
+ postDiagnosticsLogcaptureBrowserUser(userId, opts) {
35645
+ opts = opts || {};
35646
+
35647
+ // verify the required parameter 'userId' is set
35648
+ if (userId === undefined || userId === null) {
35649
+ throw 'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';
35650
+ }
35651
+
35652
+ return this.apiClient.callApi(
35653
+ '/api/v2/diagnostics/logcapture/browser/users/{userId}',
35654
+ 'POST',
35655
+ { 'userId': userId },
35656
+ { },
35657
+ { },
35658
+ { },
35659
+ opts['body'],
35660
+ ['PureCloud OAuth'],
35661
+ ['application/json'],
35662
+ ['application/json']
35663
+ );
35664
+ }
35665
+
35516
35666
  }
35517
35667
 
35518
35668
  class MessagingApi {
35519
35669
  /**
35520
35670
  * Messaging service.
35521
35671
  * @module purecloud-platform-client-v2/api/MessagingApi
35522
- * @version 185.0.0
35672
+ * @version 186.0.1
35523
35673
  */
35524
35674
 
35525
35675
  /**
@@ -35878,7 +36028,7 @@ class MobileDevicesApi {
35878
36028
  /**
35879
36029
  * MobileDevices service.
35880
36030
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
35881
- * @version 185.0.0
36031
+ * @version 186.0.1
35882
36032
  */
35883
36033
 
35884
36034
  /**
@@ -36029,7 +36179,7 @@ class NotificationsApi {
36029
36179
  /**
36030
36180
  * Notifications service.
36031
36181
  * @module purecloud-platform-client-v2/api/NotificationsApi
36032
- * @version 185.0.0
36182
+ * @version 186.0.1
36033
36183
  */
36034
36184
 
36035
36185
  /**
@@ -36262,7 +36412,7 @@ class OAuthApi {
36262
36412
  /**
36263
36413
  * OAuth service.
36264
36414
  * @module purecloud-platform-client-v2/api/OAuthApi
36265
- * @version 185.0.0
36415
+ * @version 186.0.1
36266
36416
  */
36267
36417
 
36268
36418
  /**
@@ -36628,7 +36778,7 @@ class ObjectsApi {
36628
36778
  /**
36629
36779
  * Objects service.
36630
36780
  * @module purecloud-platform-client-v2/api/ObjectsApi
36631
- * @version 185.0.0
36781
+ * @version 186.0.1
36632
36782
  */
36633
36783
 
36634
36784
  /**
@@ -36712,7 +36862,6 @@ class ObjectsApi {
36712
36862
  * @param {String} opts.nextPage next page token
36713
36863
  * @param {String} opts.previousPage Previous page token
36714
36864
  * @param {Boolean} opts.objectCount Include the count of objects contained in the division (default to false)
36715
- * @param {Array.<String>} opts.id Optionally request specific divisions by their IDs
36716
36865
  * @param {String} opts.name Search term to filter by division name
36717
36866
  */
36718
36867
  getAuthorizationDivisions(opts) {
@@ -36723,7 +36872,7 @@ class ObjectsApi {
36723
36872
  '/api/v2/authorization/divisions',
36724
36873
  'GET',
36725
36874
  { },
36726
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'objectCount': opts['objectCount'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'] },
36875
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'objectCount': opts['objectCount'],'name': opts['name'] },
36727
36876
  { },
36728
36877
  { },
36729
36878
  null,
@@ -36898,7 +37047,7 @@ class OperationalEventsApi {
36898
37047
  /**
36899
37048
  * OperationalEvents service.
36900
37049
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
36901
- * @version 185.0.0
37050
+ * @version 186.0.1
36902
37051
  */
36903
37052
 
36904
37053
  /**
@@ -36964,7 +37113,7 @@ class OrganizationApi {
36964
37113
  /**
36965
37114
  * Organization service.
36966
37115
  * @module purecloud-platform-client-v2/api/OrganizationApi
36967
- * @version 185.0.0
37116
+ * @version 186.0.1
36968
37117
  */
36969
37118
 
36970
37119
  /**
@@ -37419,7 +37568,7 @@ class OrganizationAuthorizationApi {
37419
37568
  /**
37420
37569
  * OrganizationAuthorization service.
37421
37570
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
37422
- * @version 185.0.0
37571
+ * @version 186.0.1
37423
37572
  */
37424
37573
 
37425
37574
  /**
@@ -38766,7 +38915,7 @@ class OutboundApi {
38766
38915
  /**
38767
38916
  * Outbound service.
38768
38917
  * @module purecloud-platform-client-v2/api/OutboundApi
38769
- * @version 185.0.0
38918
+ * @version 186.0.1
38770
38919
  */
38771
38920
 
38772
38921
  /**
@@ -42788,7 +42937,7 @@ class PresenceApi {
42788
42937
  /**
42789
42938
  * Presence service.
42790
42939
  * @module purecloud-platform-client-v2/api/PresenceApi
42791
- * @version 185.0.0
42940
+ * @version 186.0.1
42792
42941
  */
42793
42942
 
42794
42943
  /**
@@ -43527,7 +43676,7 @@ class ProcessAutomationApi {
43527
43676
  /**
43528
43677
  * ProcessAutomation service.
43529
43678
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
43530
- * @version 185.0.0
43679
+ * @version 186.0.1
43531
43680
  */
43532
43681
 
43533
43682
  /**
@@ -43766,7 +43915,7 @@ class QualityApi {
43766
43915
  /**
43767
43916
  * Quality service.
43768
43917
  * @module purecloud-platform-client-v2/api/QualityApi
43769
- * @version 185.0.0
43918
+ * @version 186.0.1
43770
43919
  */
43771
43920
 
43772
43921
  /**
@@ -45359,7 +45508,7 @@ class QualityApi {
45359
45508
 
45360
45509
  /**
45361
45510
  * Update an evaluation
45362
- * The quality:evaluation:edit permission allows modification of most fields, while the quality:evaluation:editScore permission allows an evaluator to change just the question scores, and the quality:evaluation:editAgentSignoff permission allows an agent to change the agent comments and sign off on the evaluation.
45511
+ * The quality:evaluation:edit permission allows modification of most fields, while the quality:evaluation:editScore permission allows an evaluator to change just the question scores, and the quality:evaluation:editAgentSignoff permission allows an agent to change the agent comments and sign off on the evaluation. authorizedActions is not returned for this PUT request, and is only returned for GET requests to this endpoint.
45363
45512
  * @param {String} conversationId conversationId
45364
45513
  * @param {String} evaluationId evaluationId
45365
45514
  * @param {Object} body evaluation
@@ -45523,7 +45672,7 @@ class RecordingApi {
45523
45672
  /**
45524
45673
  * Recording service.
45525
45674
  * @module purecloud-platform-client-v2/api/RecordingApi
45526
- * @version 185.0.0
45675
+ * @version 186.0.1
45527
45676
  */
45528
45677
 
45529
45678
  /**
@@ -47160,7 +47309,7 @@ class ResponseManagementApi {
47160
47309
  /**
47161
47310
  * ResponseManagement service.
47162
47311
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
47163
- * @version 185.0.0
47312
+ * @version 186.0.1
47164
47313
  */
47165
47314
 
47166
47315
  /**
@@ -47645,7 +47794,7 @@ class RoutingApi {
47645
47794
  /**
47646
47795
  * Routing service.
47647
47796
  * @module purecloud-platform-client-v2/api/RoutingApi
47648
- * @version 185.0.0
47797
+ * @version 186.0.1
47649
47798
  */
47650
47799
 
47651
47800
  /**
@@ -49835,6 +49984,60 @@ class RoutingApi {
49835
49984
  );
49836
49985
  }
49837
49986
 
49987
+ /**
49988
+ * Get a simplified wrap-up code.
49989
+ *
49990
+ * @param {String} codeId Wrapup Code ID
49991
+ */
49992
+ getRoutingWrapupcodesDivisionview(codeId) {
49993
+ // verify the required parameter 'codeId' is set
49994
+ if (codeId === undefined || codeId === null) {
49995
+ throw 'Missing the required parameter "codeId" when calling getRoutingWrapupcodesDivisionview';
49996
+ }
49997
+
49998
+ return this.apiClient.callApi(
49999
+ '/api/v2/routing/wrapupcodes/divisionviews/{codeId}',
50000
+ 'GET',
50001
+ { 'codeId': codeId },
50002
+ { },
50003
+ { },
50004
+ { },
50005
+ null,
50006
+ ['PureCloud OAuth'],
50007
+ ['application/json'],
50008
+ ['application/json']
50009
+ );
50010
+ }
50011
+
50012
+ /**
50013
+ * Get a paged listing of simplified wrapup code objects, filterable by name, wrapup code ID(s), or division ID(s).
50014
+ * Specifying both name and ID parameters is not supported.
50015
+ * @param {Object} opts Optional parameters
50016
+ * @param {Number} opts.pageSize Page size (default to 25)
50017
+ * @param {Number} opts.pageNumber Page number (default to 1)
50018
+ * @param {String} opts.name Name (trailing asterisks allowed)
50019
+ * @param {Array.<String>} opts.id Wrapup code ID(s)
50020
+ * @param {Array.<String>} opts.divisionId Division ID(s)
50021
+ * @param {Object} opts.includeState Wrapup code state(s) to include
50022
+ */
50023
+ getRoutingWrapupcodesDivisionviews(opts) {
50024
+ opts = opts || {};
50025
+
50026
+
50027
+ return this.apiClient.callApi(
50028
+ '/api/v2/routing/wrapupcodes/divisionviews',
50029
+ 'GET',
50030
+ { },
50031
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'includeState': opts['includeState'] },
50032
+ { },
50033
+ { },
50034
+ null,
50035
+ ['PureCloud OAuth'],
50036
+ ['application/json'],
50037
+ ['application/json']
50038
+ );
50039
+ }
50040
+
49838
50041
  /**
49839
50042
  * Get queues for user
49840
50043
  *
@@ -50236,6 +50439,31 @@ class RoutingApi {
50236
50439
  );
50237
50440
  }
50238
50441
 
50442
+ /**
50443
+ * Patch Transcription Settings
50444
+ *
50445
+ * @param {Object} body Organization Settings
50446
+ */
50447
+ patchRoutingSettingsTranscription(body) {
50448
+ // verify the required parameter 'body' is set
50449
+ if (body === undefined || body === null) {
50450
+ throw 'Missing the required parameter "body" when calling patchRoutingSettingsTranscription';
50451
+ }
50452
+
50453
+ return this.apiClient.callApi(
50454
+ '/api/v2/routing/settings/transcription',
50455
+ 'PATCH',
50456
+ { },
50457
+ { },
50458
+ { },
50459
+ { },
50460
+ body,
50461
+ ['PureCloud OAuth'],
50462
+ ['application/json'],
50463
+ ['application/json']
50464
+ );
50465
+ }
50466
+
50239
50467
  /**
50240
50468
  * Update skill group definition
50241
50469
  *
@@ -50974,7 +51202,6 @@ class RoutingApi {
50974
51202
  * Imports a phone number for SMS
50975
51203
  *
50976
51204
  * @param {Object} body SmsPhoneNumber
50977
- * postRoutingSmsPhonenumbersImport is a preview method and is subject to both breaking and non-breaking changes at any time without notice
50978
51205
  */
50979
51206
  postRoutingSmsPhonenumbersImport(body) {
50980
51207
  // verify the required parameter 'body' is set
@@ -51520,7 +51747,7 @@ class SCIMApi {
51520
51747
  /**
51521
51748
  * SCIM service.
51522
51749
  * @module purecloud-platform-client-v2/api/SCIMApi
51523
- * @version 185.0.0
51750
+ * @version 186.0.1
51524
51751
  */
51525
51752
 
51526
51753
  /**
@@ -52397,7 +52624,7 @@ class ScriptsApi {
52397
52624
  /**
52398
52625
  * Scripts service.
52399
52626
  * @module purecloud-platform-client-v2/api/ScriptsApi
52400
- * @version 185.0.0
52627
+ * @version 186.0.1
52401
52628
  */
52402
52629
 
52403
52630
  /**
@@ -52841,7 +53068,7 @@ class SearchApi {
52841
53068
  /**
52842
53069
  * Search service.
52843
53070
  * @module purecloud-platform-client-v2/api/SearchApi
52844
- * @version 185.0.0
53071
+ * @version 186.0.1
52845
53072
  */
52846
53073
 
52847
53074
  /**
@@ -53530,7 +53757,7 @@ class SettingsApi {
53530
53757
  /**
53531
53758
  * Settings service.
53532
53759
  * @module purecloud-platform-client-v2/api/SettingsApi
53533
- * @version 185.0.0
53760
+ * @version 186.0.1
53534
53761
  */
53535
53762
 
53536
53763
  /**
@@ -53595,7 +53822,7 @@ class SpeechTextAnalyticsApi {
53595
53822
  /**
53596
53823
  * SpeechTextAnalytics service.
53597
53824
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
53598
- * @version 185.0.0
53825
+ * @version 186.0.1
53599
53826
  */
53600
53827
 
53601
53828
  /**
@@ -54708,7 +54935,7 @@ class StationsApi {
54708
54935
  /**
54709
54936
  * Stations service.
54710
54937
  * @module purecloud-platform-client-v2/api/StationsApi
54711
- * @version 185.0.0
54938
+ * @version 186.0.1
54712
54939
  */
54713
54940
 
54714
54941
  /**
@@ -54810,7 +55037,7 @@ class SuggestApi {
54810
55037
  /**
54811
55038
  * Suggest service.
54812
55039
  * @module purecloud-platform-client-v2/api/SuggestApi
54813
- * @version 185.0.0
55040
+ * @version 186.0.1
54814
55041
  */
54815
55042
 
54816
55043
  /**
@@ -54949,7 +55176,7 @@ class TaskManagementApi {
54949
55176
  /**
54950
55177
  * TaskManagement service.
54951
55178
  * @module purecloud-platform-client-v2/api/TaskManagementApi
54952
- * @version 185.0.0
55179
+ * @version 186.0.1
54953
55180
  */
54954
55181
 
54955
55182
  /**
@@ -56230,7 +56457,7 @@ class TeamsApi {
56230
56457
  /**
56231
56458
  * Teams service.
56232
56459
  * @module purecloud-platform-client-v2/api/TeamsApi
56233
- * @version 185.0.0
56460
+ * @version 186.0.1
56234
56461
  */
56235
56462
 
56236
56463
  /**
@@ -56532,7 +56759,7 @@ class TelephonyApi {
56532
56759
  /**
56533
56760
  * Telephony service.
56534
56761
  * @module purecloud-platform-client-v2/api/TelephonyApi
56535
- * @version 185.0.0
56762
+ * @version 186.0.1
56536
56763
  */
56537
56764
 
56538
56765
  /**
@@ -56571,7 +56798,6 @@ class TelephonyApi {
56571
56798
  * Get a SIP message.
56572
56799
  * Get the raw form of the SIP message
56573
56800
  * @param {String} conversationId Conversation id
56574
- * getTelephonySipmessagesConversation is a preview method and is subject to both breaking and non-breaking changes at any time without notice
56575
56801
  */
56576
56802
  getTelephonySipmessagesConversation(conversationId) {
56577
56803
  // verify the required parameter 'conversationId' is set
@@ -56599,7 +56825,6 @@ class TelephonyApi {
56599
56825
  * @param {String} conversationId Conversation id
56600
56826
  * @param {Object} opts Optional parameters
56601
56827
  * @param {Array.<String>} opts.keys comma-separated list of header identifiers to query. e.g. ruri,to,from
56602
- * getTelephonySipmessagesConversationHeaders is a preview method and is subject to both breaking and non-breaking changes at any time without notice
56603
56828
  */
56604
56829
  getTelephonySipmessagesConversationHeaders(conversationId, opts) {
56605
56830
  opts = opts || {};
@@ -56716,7 +56941,7 @@ class TelephonyProvidersEdgeApi {
56716
56941
  /**
56717
56942
  * TelephonyProvidersEdge service.
56718
56943
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
56719
- * @version 185.0.0
56944
+ * @version 186.0.1
56720
56945
  */
56721
56946
 
56722
56947
  /**
@@ -57905,7 +58130,6 @@ class TelephonyProvidersEdgeApi {
57905
58130
  * @param {Array.<String>} opts.id ID of the Extension Pools to filter by.
57906
58131
  * @param {String} opts.name Name of the Extension Pools to filter by.
57907
58132
  * @param {Array.<String>} opts.divisionId List of divisionIds on which to filter.
57908
- * getTelephonyProvidersEdgesExtensionpoolsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
57909
58133
  */
57910
58134
  getTelephonyProvidersEdgesExtensionpoolsDivisionviews(opts) {
57911
58135
  opts = opts || {};
@@ -58677,6 +58901,7 @@ class TelephonyProvidersEdgeApi {
58677
58901
  * @param {String} opts.name Name
58678
58902
  * @param {String} opts.locationId Location Id
58679
58903
  * @param {Boolean} opts.managed Filter by managed
58904
+ * @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
58680
58905
  */
58681
58906
  getTelephonyProvidersEdgesSites(opts) {
58682
58907
  opts = opts || {};
@@ -58686,7 +58911,7 @@ class TelephonyProvidersEdgeApi {
58686
58911
  '/api/v2/telephony/providers/edges/sites',
58687
58912
  'GET',
58688
58913
  { },
58689
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'location.id': opts['locationId'],'managed': opts['managed'] },
58914
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'location.id': opts['locationId'],'managed': opts['managed'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
58690
58915
  { },
58691
58916
  { },
58692
58917
  null,
@@ -60091,7 +60316,7 @@ class TextbotsApi {
60091
60316
  /**
60092
60317
  * Textbots service.
60093
60318
  * @module purecloud-platform-client-v2/api/TextbotsApi
60094
- * @version 185.0.0
60319
+ * @version 186.0.1
60095
60320
  */
60096
60321
 
60097
60322
  /**
@@ -60219,7 +60444,7 @@ class TokensApi {
60219
60444
  /**
60220
60445
  * Tokens service.
60221
60446
  * @module purecloud-platform-client-v2/api/TokensApi
60222
- * @version 185.0.0
60447
+ * @version 186.0.1
60223
60448
  */
60224
60449
 
60225
60450
  /**
@@ -60375,7 +60600,7 @@ class UploadsApi {
60375
60600
  /**
60376
60601
  * Uploads service.
60377
60602
  * @module purecloud-platform-client-v2/api/UploadsApi
60378
- * @version 185.0.0
60603
+ * @version 186.0.1
60379
60604
  */
60380
60605
 
60381
60606
  /**
@@ -60551,7 +60776,7 @@ class UsageApi {
60551
60776
  /**
60552
60777
  * Usage service.
60553
60778
  * @module purecloud-platform-client-v2/api/UsageApi
60554
- * @version 185.0.0
60779
+ * @version 186.0.1
60555
60780
  */
60556
60781
 
60557
60782
  /**
@@ -60761,7 +60986,7 @@ class UserRecordingsApi {
60761
60986
  /**
60762
60987
  * UserRecordings service.
60763
60988
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
60764
- * @version 185.0.0
60989
+ * @version 186.0.1
60765
60990
  */
60766
60991
 
60767
60992
  /**
@@ -60946,7 +61171,7 @@ class UsersApi {
60946
61171
  /**
60947
61172
  * Users service.
60948
61173
  * @module purecloud-platform-client-v2/api/UsersApi
60949
- * @version 185.0.0
61174
+ * @version 186.0.1
60950
61175
  */
60951
61176
 
60952
61177
  /**
@@ -63597,7 +63822,7 @@ class UtilitiesApi {
63597
63822
  /**
63598
63823
  * Utilities service.
63599
63824
  * @module purecloud-platform-client-v2/api/UtilitiesApi
63600
- * @version 185.0.0
63825
+ * @version 186.0.1
63601
63826
  */
63602
63827
 
63603
63828
  /**
@@ -63708,7 +63933,7 @@ class VoicemailApi {
63708
63933
  /**
63709
63934
  * Voicemail service.
63710
63935
  * @module purecloud-platform-client-v2/api/VoicemailApi
63711
- * @version 185.0.0
63936
+ * @version 186.0.1
63712
63937
  */
63713
63938
 
63714
63939
  /**
@@ -64375,7 +64600,7 @@ class WebChatApi {
64375
64600
  /**
64376
64601
  * WebChat service.
64377
64602
  * @module purecloud-platform-client-v2/api/WebChatApi
64378
- * @version 185.0.0
64603
+ * @version 186.0.1
64379
64604
  */
64380
64605
 
64381
64606
  /**
@@ -64924,7 +65149,7 @@ class WebDeploymentsApi {
64924
65149
  /**
64925
65150
  * WebDeployments service.
64926
65151
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
64927
- * @version 185.0.0
65152
+ * @version 186.0.1
64928
65153
  */
64929
65154
 
64930
65155
  /**
@@ -65451,7 +65676,7 @@ class WebMessagingApi {
65451
65676
  /**
65452
65677
  * WebMessaging service.
65453
65678
  * @module purecloud-platform-client-v2/api/WebMessagingApi
65454
- * @version 185.0.0
65679
+ * @version 186.0.1
65455
65680
  */
65456
65681
 
65457
65682
  /**
@@ -65497,7 +65722,7 @@ class WidgetsApi {
65497
65722
  /**
65498
65723
  * Widgets service.
65499
65724
  * @module purecloud-platform-client-v2/api/WidgetsApi
65500
- * @version 185.0.0
65725
+ * @version 186.0.1
65501
65726
  */
65502
65727
 
65503
65728
  /**
@@ -65643,7 +65868,7 @@ class WorkforceManagementApi {
65643
65868
  /**
65644
65869
  * WorkforceManagement service.
65645
65870
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
65646
- * @version 185.0.0
65871
+ * @version 186.0.1
65647
65872
  */
65648
65873
 
65649
65874
  /**
@@ -71038,7 +71263,7 @@ class WorkforceManagementApi {
71038
71263
  * </pre>
71039
71264
  * </p>
71040
71265
  * @module purecloud-platform-client-v2/index
71041
- * @version 185.0.0
71266
+ * @version 186.0.1
71042
71267
  */
71043
71268
  class platformClient {
71044
71269
  constructor() {