purecloud-platform-client-v2 185.0.0 → 187.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 (85) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +1019 -245
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1019 -245
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +357 -172
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +362 -174
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +674 -222
  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 +25 -7
  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 +61 -22
  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 +38 -3
  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 +106 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +161 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -34
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +63 -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 +186 -1
  54. package/src/purecloud-platform-client-v2/api/PresenceApi.js +11 -6
  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/ScreenRecordingApi.js +50 -0
  62. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -3
  71. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +3 -29
  72. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UploadsApi.js +32 -1
  75. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/index.js +7 -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 187.0.0
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 187.0.0
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 187.0.0
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 187.0.0
5076
5076
  */
5077
5077
 
5078
5078
  /**
@@ -6128,8 +6128,14 @@ class ArchitectApi {
6128
6128
  * Get specified user prompt
6129
6129
  *
6130
6130
  * @param {String} promptId Prompt ID
6131
+ * @param {Object} opts Optional parameters
6132
+ * @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
6133
+ * @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
6134
+ * @param {Array.<String>} opts.language Filter the resources down to the provided languages
6131
6135
  */
6132
- getArchitectPrompt(promptId) {
6136
+ getArchitectPrompt(promptId, opts) {
6137
+ opts = opts || {};
6138
+
6133
6139
  // verify the required parameter 'promptId' is set
6134
6140
  if (promptId === undefined || promptId === null) {
6135
6141
  throw 'Missing the required parameter "promptId" when calling getArchitectPrompt';
@@ -6139,7 +6145,7 @@ class ArchitectApi {
6139
6145
  '/api/v2/architect/prompts/{promptId}',
6140
6146
  'GET',
6141
6147
  { 'promptId': promptId },
6142
- { },
6148
+ { 'includeMediaUris': opts['includeMediaUris'],'includeResources': opts['includeResources'],'language': this.apiClient.buildCollectionParam(opts['language'], 'multi') },
6143
6149
  { },
6144
6150
  { },
6145
6151
  null,
@@ -6258,6 +6264,9 @@ class ArchitectApi {
6258
6264
  * @param {String} opts.nameOrDescription Name or description
6259
6265
  * @param {String} opts.sortBy Sort by (default to id)
6260
6266
  * @param {String} opts.sortOrder Sort order (default to asc)
6267
+ * @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
6268
+ * @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
6269
+ * @param {Array.<String>} opts.language Filter the resources down to the provided languages
6261
6270
  */
6262
6271
  getArchitectPrompts(opts) {
6263
6272
  opts = opts || {};
@@ -6267,7 +6276,7 @@ class ArchitectApi {
6267
6276
  '/api/v2/architect/prompts',
6268
6277
  'GET',
6269
6278
  { },
6270
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': this.apiClient.buildCollectionParam(opts['name'], 'multi'),'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
6279
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': this.apiClient.buildCollectionParam(opts['name'], 'multi'),'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'includeMediaUris': opts['includeMediaUris'],'includeResources': opts['includeResources'],'language': this.apiClient.buildCollectionParam(opts['language'], 'multi') },
6271
6280
  { },
6272
6281
  { },
6273
6282
  null,
@@ -6450,8 +6459,14 @@ class ArchitectApi {
6450
6459
  * Get a system prompt
6451
6460
  *
6452
6461
  * @param {String} promptId promptId
6462
+ * @param {Object} opts Optional parameters
6463
+ * @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
6464
+ * @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
6465
+ * @param {Array.<String>} opts.language Filter the resources down to the provided languages
6453
6466
  */
6454
- getArchitectSystemprompt(promptId) {
6467
+ getArchitectSystemprompt(promptId, opts) {
6468
+ opts = opts || {};
6469
+
6455
6470
  // verify the required parameter 'promptId' is set
6456
6471
  if (promptId === undefined || promptId === null) {
6457
6472
  throw 'Missing the required parameter "promptId" when calling getArchitectSystemprompt';
@@ -6461,7 +6476,7 @@ class ArchitectApi {
6461
6476
  '/api/v2/architect/systemprompts/{promptId}',
6462
6477
  'GET',
6463
6478
  { 'promptId': promptId },
6464
- { },
6479
+ { 'includeMediaUris': opts['includeMediaUris'],'includeResources': opts['includeResources'],'language': this.apiClient.buildCollectionParam(opts['language'], 'multi') },
6465
6480
  { },
6466
6481
  { },
6467
6482
  null,
@@ -6582,6 +6597,9 @@ class ArchitectApi {
6582
6597
  * @param {String} opts.name Name
6583
6598
  * @param {String} opts.description Description
6584
6599
  * @param {String} opts.nameOrDescription Name or description
6600
+ * @param {Boolean} opts.includeMediaUris Include the media URIs for each resource (default to true)
6601
+ * @param {Boolean} opts.includeResources Include the resources for each system prompt (default to true)
6602
+ * @param {Array.<String>} opts.language Filter the resources down to the provided languages
6585
6603
  */
6586
6604
  getArchitectSystemprompts(opts) {
6587
6605
  opts = opts || {};
@@ -6591,7 +6609,7 @@ class ArchitectApi {
6591
6609
  '/api/v2/architect/systemprompts',
6592
6610
  'GET',
6593
6611
  { },
6594
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'description': opts['description'],'nameOrDescription': opts['nameOrDescription'] },
6612
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'description': opts['description'],'nameOrDescription': opts['nameOrDescription'],'includeMediaUris': opts['includeMediaUris'],'includeResources': opts['includeResources'],'language': this.apiClient.buildCollectionParam(opts['language'], 'multi') },
6595
6613
  { },
6596
6614
  { },
6597
6615
  null,
@@ -8907,7 +8925,7 @@ class AuditApi {
8907
8925
  /**
8908
8926
  * Audit service.
8909
8927
  * @module purecloud-platform-client-v2/api/AuditApi
8910
- * @version 185.0.0
8928
+ * @version 187.0.0
8911
8929
  */
8912
8930
 
8913
8931
  /**
@@ -9078,7 +9096,7 @@ class AuthorizationApi {
9078
9096
  /**
9079
9097
  * Authorization service.
9080
9098
  * @module purecloud-platform-client-v2/api/AuthorizationApi
9081
- * @version 185.0.0
9099
+ * @version 187.0.0
9082
9100
  */
9083
9101
 
9084
9102
  /**
@@ -9252,7 +9270,6 @@ class AuthorizationApi {
9252
9270
  * @param {String} opts.nextPage next page token
9253
9271
  * @param {String} opts.previousPage Previous page token
9254
9272
  * @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
9273
  * @param {String} opts.name Search term to filter by division name
9257
9274
  */
9258
9275
  getAuthorizationDivisions(opts) {
@@ -9263,7 +9280,7 @@ class AuthorizationApi {
9263
9280
  '/api/v2/authorization/divisions',
9264
9281
  'GET',
9265
9282
  { },
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'] },
9283
+ { '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
9284
  { },
9268
9285
  { },
9269
9286
  null,
@@ -10308,7 +10325,7 @@ class BillingApi {
10308
10325
  /**
10309
10326
  * Billing service.
10310
10327
  * @module purecloud-platform-client-v2/api/BillingApi
10311
- * @version 185.0.0
10328
+ * @version 187.0.0
10312
10329
  */
10313
10330
 
10314
10331
  /**
@@ -10388,7 +10405,7 @@ class CarrierServicesApi {
10388
10405
  /**
10389
10406
  * CarrierServices service.
10390
10407
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
10391
- * @version 185.0.0
10408
+ * @version 187.0.0
10392
10409
  */
10393
10410
 
10394
10411
  /**
@@ -10458,7 +10475,7 @@ class ChatApi {
10458
10475
  /**
10459
10476
  * Chat service.
10460
10477
  * @module purecloud-platform-client-v2/api/ChatApi
10461
- * @version 185.0.0
10478
+ * @version 187.0.0
10462
10479
  */
10463
10480
 
10464
10481
  /**
@@ -10685,12 +10702,6 @@ class ChatApi {
10685
10702
  *
10686
10703
  * @param {String} roomJid roomJid
10687
10704
  * @param {Object} opts Optional parameters
10688
- * @param {Number} opts.pageSize The total page size requested (default to 25)
10689
- * @param {Number} opts.pageNumber The page number requested (default to 1)
10690
- * @param {String} opts.sortBy variable name requested to sort by
10691
- * @param {Array.<String>} opts.expand variable name requested by expand list
10692
- * @param {String} opts.nextPage next page token
10693
- * @param {String} opts.previousPage Previous page token
10694
10705
  * @param {String} opts.limit The maximum number of messages to retrieve
10695
10706
  * @param {String} opts.before The cutoff date for messages to retrieve
10696
10707
  * @param {String} opts.after The beginning date for messages to retrieve
@@ -10708,7 +10719,7 @@ class ChatApi {
10708
10719
  '/api/v2/chats/rooms/{roomJid}/messages',
10709
10720
  'GET',
10710
10721
  { 'roomJid': roomJid },
10711
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'limit': opts['limit'],'before': opts['before'],'after': opts['after'] },
10722
+ { 'limit': opts['limit'],'before': opts['before'],'after': opts['after'] },
10712
10723
  { },
10713
10724
  { },
10714
10725
  null,
@@ -10743,12 +10754,6 @@ class ChatApi {
10743
10754
  *
10744
10755
  * @param {String} threadId threadId
10745
10756
  * @param {Object} opts Optional parameters
10746
- * @param {Number} opts.pageSize The total page size requested (default to 25)
10747
- * @param {Number} opts.pageNumber The page number requested (default to 1)
10748
- * @param {String} opts.sortBy variable name requested to sort by
10749
- * @param {Array.<String>} opts.expand variable name requested by expand list
10750
- * @param {String} opts.nextPage next page token
10751
- * @param {String} opts.previousPage Previous page token
10752
10757
  * @param {String} opts.limit The maximum number of messages to retrieve
10753
10758
  * @param {String} opts.before The cutoff date for messages to retrieve
10754
10759
  * @param {String} opts.after The beginning date for messages to retrieve
@@ -10766,7 +10771,7 @@ class ChatApi {
10766
10771
  '/api/v2/chats/threads/{threadId}/messages',
10767
10772
  'GET',
10768
10773
  { 'threadId': threadId },
10769
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'limit': opts['limit'],'before': opts['before'],'after': opts['after'] },
10774
+ { 'limit': opts['limit'],'before': opts['before'],'after': opts['after'] },
10770
10775
  { },
10771
10776
  { },
10772
10777
  null,
@@ -10812,12 +10817,6 @@ class ChatApi {
10812
10817
  *
10813
10818
  * @param {String} userId userId
10814
10819
  * @param {Object} opts Optional parameters
10815
- * @param {Number} opts.pageSize The total page size requested (default to 25)
10816
- * @param {Number} opts.pageNumber The page number requested (default to 1)
10817
- * @param {String} opts.sortBy variable name requested to sort by
10818
- * @param {Array.<String>} opts.expand variable name requested by expand list
10819
- * @param {String} opts.nextPage next page token
10820
- * @param {String} opts.previousPage Previous page token
10821
10820
  * @param {String} opts.limit The maximum number of messages to retrieve
10822
10821
  * @param {String} opts.before The cutoff date for messages to retrieve
10823
10822
  * @param {String} opts.after The beginning date for messages to retrieve
@@ -10835,7 +10834,33 @@ class ChatApi {
10835
10834
  '/api/v2/chats/users/{userId}/messages',
10836
10835
  'GET',
10837
10836
  { 'userId': userId },
10838
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'limit': opts['limit'],'before': opts['before'],'after': opts['after'] },
10837
+ { 'limit': opts['limit'],'before': opts['before'],'after': opts['after'] },
10838
+ { },
10839
+ { },
10840
+ null,
10841
+ ['PureCloud OAuth'],
10842
+ ['application/json'],
10843
+ ['application/json']
10844
+ );
10845
+ }
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
+ { },
10839
10864
  { },
10840
10865
  { },
10841
10866
  null,
@@ -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 187.0.0
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 187.0.0
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 187.0.0
12878
12873
  */
12879
12874
 
12880
12875
  /**
@@ -17577,6 +17572,40 @@ class ConversationsApi {
17577
17572
  );
17578
17573
  }
17579
17574
 
17575
+ /**
17576
+ * Submit feedback for the summary.
17577
+ *
17578
+ * @param {String} conversationId Conversation ID
17579
+ * @param {String} summaryId Summary ID
17580
+ * @param {Object} opts Optional parameters
17581
+ * @param {Object} opts.body
17582
+ */
17583
+ postConversationSummaryFeedback(conversationId, summaryId, opts) {
17584
+ opts = opts || {};
17585
+
17586
+ // verify the required parameter 'conversationId' is set
17587
+ if (conversationId === undefined || conversationId === null) {
17588
+ throw 'Missing the required parameter "conversationId" when calling postConversationSummaryFeedback';
17589
+ }
17590
+ // verify the required parameter 'summaryId' is set
17591
+ if (summaryId === undefined || summaryId === null) {
17592
+ throw 'Missing the required parameter "summaryId" when calling postConversationSummaryFeedback';
17593
+ }
17594
+
17595
+ return this.apiClient.callApi(
17596
+ '/api/v2/conversations/{conversationId}/summaries/{summaryId}/feedback',
17597
+ 'POST',
17598
+ { 'conversationId': conversationId,'summaryId': summaryId },
17599
+ { },
17600
+ { },
17601
+ { },
17602
+ opts['body'],
17603
+ ['PureCloud OAuth'],
17604
+ ['application/json'],
17605
+ ['application/json']
17606
+ );
17607
+ }
17608
+
17580
17609
  /**
17581
17610
  * Place a new call as part of a callback conversation.
17582
17611
  *
@@ -19100,9 +19129,10 @@ class ConversationsApi {
19100
19129
  }
19101
19130
 
19102
19131
  /**
19103
- * Create a LINE messenger Integration
19104
- *
19132
+ * Create a LINE messenger Integration (Deprecated)
19133
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
19105
19134
  * @param {Object} body LineIntegrationRequest
19135
+ * @deprecated
19106
19136
  */
19107
19137
  postConversationsMessagingIntegrationsLine(body) {
19108
19138
  // verify the required parameter 'body' is set
@@ -20014,7 +20044,7 @@ class DataExtensionsApi {
20014
20044
  /**
20015
20045
  * DataExtensions service.
20016
20046
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
20017
- * @version 185.0.0
20047
+ * @version 187.0.0
20018
20048
  */
20019
20049
 
20020
20050
  /**
@@ -20100,7 +20130,7 @@ class DownloadsApi {
20100
20130
  /**
20101
20131
  * Downloads service.
20102
20132
  * @module purecloud-platform-client-v2/api/DownloadsApi
20103
- * @version 185.0.0
20133
+ * @version 187.0.0
20104
20134
  */
20105
20135
 
20106
20136
  /**
@@ -20152,7 +20182,7 @@ class EmailsApi {
20152
20182
  /**
20153
20183
  * Emails service.
20154
20184
  * @module purecloud-platform-client-v2/api/EmailsApi
20155
- * @version 185.0.0
20185
+ * @version 187.0.0
20156
20186
  */
20157
20187
 
20158
20188
  /**
@@ -20217,7 +20247,7 @@ class EventsApi {
20217
20247
  /**
20218
20248
  * Events service.
20219
20249
  * @module purecloud-platform-client-v2/api/EventsApi
20220
- * @version 185.0.0
20250
+ * @version 187.0.0
20221
20251
  */
20222
20252
 
20223
20253
  /**
@@ -20313,7 +20343,7 @@ class ExternalContactsApi {
20313
20343
  /**
20314
20344
  * ExternalContacts service.
20315
20345
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
20316
- * @version 185.0.0
20346
+ * @version 187.0.0
20317
20347
  */
20318
20348
 
20319
20349
  /**
@@ -20639,7 +20669,7 @@ class ExternalContactsApi {
20639
20669
  * @param {Object} opts Optional parameters
20640
20670
  * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
20641
20671
  * @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
20672
+ * @param {String} opts.sortOrder The Note field to sort by. Any of: [createDate]. Direction: [asc, desc]. e.g. createDate:asc, createDate:desc
20643
20673
  * @param {Array.<String>} opts.expand which fields, if any, to expand
20644
20674
  */
20645
20675
  getExternalcontactsContactNotes(contactId, opts) {
@@ -20700,7 +20730,7 @@ class ExternalContactsApi {
20700
20730
  * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
20701
20731
  * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
20702
20732
  * @param {String} opts.q User supplied search keywords (no special syntax is currently supported)
20703
- * @param {String} opts.sortOrder Sort order
20733
+ * @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
20734
  * @param {Array.<String>} opts.expand which fields, if any, to expand
20705
20735
  */
20706
20736
  getExternalcontactsContacts(opts) {
@@ -20859,7 +20889,7 @@ class ExternalContactsApi {
20859
20889
  * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
20860
20890
  * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
20861
20891
  * @param {String} opts.q User supplied search keywords (no special syntax is currently supported)
20862
- * @param {String} opts.sortOrder Sort order
20892
+ * @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
20893
  * @param {Array.<String>} opts.expand which fields, if any, to expand
20864
20894
  */
20865
20895
  getExternalcontactsOrganizationContacts(externalOrganizationId, opts) {
@@ -20925,7 +20955,7 @@ class ExternalContactsApi {
20925
20955
  * @param {Object} opts Optional parameters
20926
20956
  * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
20927
20957
  * @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
20958
+ * @param {String} opts.sortOrder The Note field to sort by. Any of: [createDate]. Direction: [asc, desc]. e.g. createDate:asc, createDate:desc
20929
20959
  * @param {Array.<String>} opts.expand which fields, if any, to expand
20930
20960
  */
20931
20961
  getExternalcontactsOrganizationNotes(externalOrganizationId, opts) {
@@ -20958,7 +20988,7 @@ class ExternalContactsApi {
20958
20988
  * @param {Number} opts.pageSize Page size (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 20)
20959
20989
  * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
20960
20990
  * @param {Object} opts.expand which fields, if any, to expand
20961
- * @param {String} opts.sortOrder Sort order
20991
+ * @param {String} opts.sortOrder The Relationship field to sort by. Any of: [createDate, relationship]. Direction: [asc, desc]. e.g. createDate:asc, relationship:desc
20962
20992
  */
20963
20993
  getExternalcontactsOrganizationRelationships(externalOrganizationId, opts) {
20964
20994
  opts = opts || {};
@@ -20990,7 +21020,7 @@ class ExternalContactsApi {
20990
21020
  * @param {Number} opts.pageNumber Page number (limited to fetching first 1,000 records; pageNumber * pageSize must be <= 1,000) (default to 1)
20991
21021
  * @param {String} opts.q Search query
20992
21022
  * @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
21023
+ * @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
21024
  * @param {Array.<String>} opts.expand which fields, if any, to expand
20995
21025
  * @param {Boolean} opts.includeTrustors (true or false) whether or not to include trustor information embedded in the externalOrganization
20996
21026
  */
@@ -22271,7 +22301,7 @@ class FaxApi {
22271
22301
  /**
22272
22302
  * Fax service.
22273
22303
  * @module purecloud-platform-client-v2/api/FaxApi
22274
- * @version 185.0.0
22304
+ * @version 187.0.0
22275
22305
  */
22276
22306
 
22277
22307
  /**
@@ -22442,7 +22472,7 @@ class FlowsApi {
22442
22472
  /**
22443
22473
  * Flows service.
22444
22474
  * @module purecloud-platform-client-v2/api/FlowsApi
22445
- * @version 185.0.0
22475
+ * @version 187.0.0
22446
22476
  */
22447
22477
 
22448
22478
  /**
@@ -22626,7 +22656,7 @@ class GamificationApi {
22626
22656
  /**
22627
22657
  * Gamification service.
22628
22658
  * @module purecloud-platform-client-v2/api/GamificationApi
22629
- * @version 185.0.0
22659
+ * @version 187.0.0
22630
22660
  */
22631
22661
 
22632
22662
  /**
@@ -24712,7 +24742,7 @@ class GeneralDataProtectionRegulationApi {
24712
24742
  /**
24713
24743
  * GeneralDataProtectionRegulation service.
24714
24744
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
24715
- * @version 185.0.0
24745
+ * @version 187.0.0
24716
24746
  */
24717
24747
 
24718
24748
  /**
@@ -24842,7 +24872,7 @@ class GeolocationApi {
24842
24872
  /**
24843
24873
  * Geolocation service.
24844
24874
  * @module purecloud-platform-client-v2/api/GeolocationApi
24845
- * @version 185.0.0
24875
+ * @version 187.0.0
24846
24876
  */
24847
24877
 
24848
24878
  /**
@@ -24973,7 +25003,7 @@ class GreetingsApi {
24973
25003
  /**
24974
25004
  * Greetings service.
24975
25005
  * @module purecloud-platform-client-v2/api/GreetingsApi
24976
- * @version 185.0.0
25006
+ * @version 187.0.0
24977
25007
  */
24978
25008
 
24979
25009
  /**
@@ -25428,7 +25458,7 @@ class GroupsApi {
25428
25458
  /**
25429
25459
  * Groups service.
25430
25460
  * @module purecloud-platform-client-v2/api/GroupsApi
25431
- * @version 185.0.0
25461
+ * @version 187.0.0
25432
25462
  */
25433
25463
 
25434
25464
  /**
@@ -25947,7 +25977,7 @@ class IdentityProviderApi {
25947
25977
  /**
25948
25978
  * IdentityProvider service.
25949
25979
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
25950
- * @version 185.0.0
25980
+ * @version 187.0.0
25951
25981
  */
25952
25982
 
25953
25983
  /**
@@ -25962,6 +25992,31 @@ class IdentityProviderApi {
25962
25992
  }
25963
25993
 
25964
25994
 
25995
+ /**
25996
+ * Delete Identity Provider
25997
+ *
25998
+ * @param {String} providerId Provider ID
25999
+ */
26000
+ deleteIdentityprovider(providerId) {
26001
+ // verify the required parameter 'providerId' is set
26002
+ if (providerId === undefined || providerId === null) {
26003
+ throw 'Missing the required parameter "providerId" when calling deleteIdentityprovider';
26004
+ }
26005
+
26006
+ return this.apiClient.callApi(
26007
+ '/api/v2/identityproviders/{providerId}',
26008
+ 'DELETE',
26009
+ { 'providerId': providerId },
26010
+ { },
26011
+ { },
26012
+ { },
26013
+ null,
26014
+ ['PureCloud OAuth'],
26015
+ ['application/json'],
26016
+ ['application/json']
26017
+ );
26018
+ }
26019
+
25965
26020
  /**
25966
26021
  * Delete ADFS Identity Provider
25967
26022
  *
@@ -26182,6 +26237,31 @@ class IdentityProviderApi {
26182
26237
  );
26183
26238
  }
26184
26239
 
26240
+ /**
26241
+ * Get Identity Provider
26242
+ *
26243
+ * @param {String} providerId Provider ID
26244
+ */
26245
+ getIdentityprovider(providerId) {
26246
+ // verify the required parameter 'providerId' is set
26247
+ if (providerId === undefined || providerId === null) {
26248
+ throw 'Missing the required parameter "providerId" when calling getIdentityprovider';
26249
+ }
26250
+
26251
+ return this.apiClient.callApi(
26252
+ '/api/v2/identityproviders/{providerId}',
26253
+ 'GET',
26254
+ { 'providerId': providerId },
26255
+ { },
26256
+ { },
26257
+ { },
26258
+ null,
26259
+ ['PureCloud OAuth'],
26260
+ ['application/json'],
26261
+ ['application/json']
26262
+ );
26263
+ }
26264
+
26185
26265
  /**
26186
26266
  * The list of identity providers
26187
26267
  *
@@ -26422,6 +26502,61 @@ class IdentityProviderApi {
26422
26502
  );
26423
26503
  }
26424
26504
 
26505
+ /**
26506
+ * Create Identity Provider
26507
+ *
26508
+ * @param {Object} body Provider
26509
+ */
26510
+ postIdentityproviders(body) {
26511
+ // verify the required parameter 'body' is set
26512
+ if (body === undefined || body === null) {
26513
+ throw 'Missing the required parameter "body" when calling postIdentityproviders';
26514
+ }
26515
+
26516
+ return this.apiClient.callApi(
26517
+ '/api/v2/identityproviders',
26518
+ 'POST',
26519
+ { },
26520
+ { },
26521
+ { },
26522
+ { },
26523
+ body,
26524
+ ['PureCloud OAuth'],
26525
+ ['application/json'],
26526
+ ['application/json']
26527
+ );
26528
+ }
26529
+
26530
+ /**
26531
+ * Update Identity Provider
26532
+ *
26533
+ * @param {String} providerId Provider ID
26534
+ * @param {Object} body Provider
26535
+ */
26536
+ putIdentityprovider(providerId, body) {
26537
+ // verify the required parameter 'providerId' is set
26538
+ if (providerId === undefined || providerId === null) {
26539
+ throw 'Missing the required parameter "providerId" when calling putIdentityprovider';
26540
+ }
26541
+ // verify the required parameter 'body' is set
26542
+ if (body === undefined || body === null) {
26543
+ throw 'Missing the required parameter "body" when calling putIdentityprovider';
26544
+ }
26545
+
26546
+ return this.apiClient.callApi(
26547
+ '/api/v2/identityproviders/{providerId}',
26548
+ 'PUT',
26549
+ { 'providerId': providerId },
26550
+ { },
26551
+ { },
26552
+ { },
26553
+ body,
26554
+ ['PureCloud OAuth'],
26555
+ ['application/json'],
26556
+ ['application/json']
26557
+ );
26558
+ }
26559
+
26425
26560
  /**
26426
26561
  * Update/Create ADFS Identity Provider
26427
26562
  *
@@ -26703,7 +26838,7 @@ class InfrastructureAsCodeApi {
26703
26838
  /**
26704
26839
  * InfrastructureAsCode service.
26705
26840
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
26706
- * @version 185.0.0
26841
+ * @version 187.0.0
26707
26842
  */
26708
26843
 
26709
26844
  /**
@@ -26870,7 +27005,7 @@ class IntegrationsApi {
26870
27005
  /**
26871
27006
  * Integrations service.
26872
27007
  * @module purecloud-platform-client-v2/api/IntegrationsApi
26873
- * @version 185.0.0
27008
+ * @version 187.0.0
26874
27009
  */
26875
27010
 
26876
27011
  /**
@@ -27133,6 +27268,32 @@ class IntegrationsApi {
27133
27268
  );
27134
27269
  }
27135
27270
 
27271
+ /**
27272
+ * Get draft function settings for Action
27273
+ *
27274
+ * @param {String} actionId actionId
27275
+ * getIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
27276
+ */
27277
+ getIntegrationsActionDraftFunction(actionId) {
27278
+ // verify the required parameter 'actionId' is set
27279
+ if (actionId === undefined || actionId === null) {
27280
+ throw 'Missing the required parameter "actionId" when calling getIntegrationsActionDraftFunction';
27281
+ }
27282
+
27283
+ return this.apiClient.callApi(
27284
+ '/api/v2/integrations/actions/{actionId}/draft/function',
27285
+ 'GET',
27286
+ { 'actionId': actionId },
27287
+ { },
27288
+ { },
27289
+ { },
27290
+ null,
27291
+ ['PureCloud OAuth'],
27292
+ ['application/json'],
27293
+ ['application/json']
27294
+ );
27295
+ }
27296
+
27136
27297
  /**
27137
27298
  * Retrieve schema for a Draft based on filename.
27138
27299
  *
@@ -27218,6 +27379,32 @@ class IntegrationsApi {
27218
27379
  );
27219
27380
  }
27220
27381
 
27382
+ /**
27383
+ * Get published function settings for Action
27384
+ *
27385
+ * @param {String} actionId actionId
27386
+ * getIntegrationsActionFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
27387
+ */
27388
+ getIntegrationsActionFunction(actionId) {
27389
+ // verify the required parameter 'actionId' is set
27390
+ if (actionId === undefined || actionId === null) {
27391
+ throw 'Missing the required parameter "actionId" when calling getIntegrationsActionFunction';
27392
+ }
27393
+
27394
+ return this.apiClient.callApi(
27395
+ '/api/v2/integrations/actions/{actionId}/function',
27396
+ 'GET',
27397
+ { 'actionId': actionId },
27398
+ { },
27399
+ { },
27400
+ { },
27401
+ null,
27402
+ ['PureCloud OAuth'],
27403
+ ['application/json'],
27404
+ ['application/json']
27405
+ );
27406
+ }
27407
+
27221
27408
  /**
27222
27409
  * Retrieve schema for an action based on filename.
27223
27410
  *
@@ -27342,6 +27529,31 @@ class IntegrationsApi {
27342
27529
  );
27343
27530
  }
27344
27531
 
27532
+ /**
27533
+ * Retrieves the available mTLS client certificates in use. This endpoint will return inconsistent results while a certificate rotation is in progress.
27534
+ *
27535
+ * @param {Object} opts Optional parameters
27536
+ * @param {Object} opts.status Indicates the validity of the certificate in question.
27537
+ * @param {Object} opts.type Indicates the type of the certificate.
27538
+ */
27539
+ getIntegrationsActionsCertificates(opts) {
27540
+ opts = opts || {};
27541
+
27542
+
27543
+ return this.apiClient.callApi(
27544
+ '/api/v2/integrations/actions/certificates',
27545
+ 'GET',
27546
+ { },
27547
+ { 'status': opts['status'],'type': opts['type'] },
27548
+ { },
27549
+ { },
27550
+ null,
27551
+ ['PureCloud OAuth'],
27552
+ ['application/json'],
27553
+ ['application/json']
27554
+ );
27555
+ }
27556
+
27345
27557
  /**
27346
27558
  * Retrieves all action drafts associated with the filters passed in via query param.
27347
27559
  *
@@ -27376,6 +27588,27 @@ class IntegrationsApi {
27376
27588
  );
27377
27589
  }
27378
27590
 
27591
+ /**
27592
+ * Get action function settings for Action
27593
+ *
27594
+ * getIntegrationsActionsFunctionsRuntimes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
27595
+ */
27596
+ getIntegrationsActionsFunctionsRuntimes() {
27597
+
27598
+ return this.apiClient.callApi(
27599
+ '/api/v2/integrations/actions/functions/runtimes',
27600
+ 'GET',
27601
+ { },
27602
+ { },
27603
+ { },
27604
+ { },
27605
+ null,
27606
+ ['PureCloud OAuth'],
27607
+ ['application/json'],
27608
+ ['application/json']
27609
+ );
27610
+ }
27611
+
27379
27612
  /**
27380
27613
  * Get a specific botConnector bot, plus versions, for this integration
27381
27614
  *
@@ -28359,6 +28592,37 @@ class IntegrationsApi {
28359
28592
  );
28360
28593
  }
28361
28594
 
28595
+ /**
28596
+ * Create upload presigned URL for draft function package file.
28597
+ *
28598
+ * @param {String} actionId actionId
28599
+ * @param {Object} body Input used to request URL upload.
28600
+ * postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
28601
+ */
28602
+ postIntegrationsActionDraftFunctionUpload(actionId, body) {
28603
+ // verify the required parameter 'actionId' is set
28604
+ if (actionId === undefined || actionId === null) {
28605
+ throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';
28606
+ }
28607
+ // verify the required parameter 'body' is set
28608
+ if (body === undefined || body === null) {
28609
+ throw 'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';
28610
+ }
28611
+
28612
+ return this.apiClient.callApi(
28613
+ '/api/v2/integrations/actions/{actionId}/draft/function/upload',
28614
+ 'POST',
28615
+ { 'actionId': actionId },
28616
+ { },
28617
+ { },
28618
+ { },
28619
+ body,
28620
+ ['PureCloud OAuth'],
28621
+ ['application/json'],
28622
+ ['application/json']
28623
+ );
28624
+ }
28625
+
28362
28626
  /**
28363
28627
  * Publish a Draft and make it the active Action configuration
28364
28628
  *
@@ -28681,6 +28945,37 @@ class IntegrationsApi {
28681
28945
  );
28682
28946
  }
28683
28947
 
28948
+ /**
28949
+ * Update draft function settings.
28950
+ *
28951
+ * @param {String} actionId actionId
28952
+ * @param {Object} body Input used to update function settings.
28953
+ * putIntegrationsActionDraftFunction is a preview method and is subject to both breaking and non-breaking changes at any time without notice
28954
+ */
28955
+ putIntegrationsActionDraftFunction(actionId, body) {
28956
+ // verify the required parameter 'actionId' is set
28957
+ if (actionId === undefined || actionId === null) {
28958
+ throw 'Missing the required parameter "actionId" when calling putIntegrationsActionDraftFunction';
28959
+ }
28960
+ // verify the required parameter 'body' is set
28961
+ if (body === undefined || body === null) {
28962
+ throw 'Missing the required parameter "body" when calling putIntegrationsActionDraftFunction';
28963
+ }
28964
+
28965
+ return this.apiClient.callApi(
28966
+ '/api/v2/integrations/actions/{actionId}/draft/function',
28967
+ 'PUT',
28968
+ { 'actionId': actionId },
28969
+ { },
28970
+ { },
28971
+ { },
28972
+ body,
28973
+ ['PureCloud OAuth'],
28974
+ ['application/json'],
28975
+ ['application/json']
28976
+ );
28977
+ }
28978
+
28684
28979
  /**
28685
28980
  * Set a list of botConnector bots plus versions for this integration
28686
28981
  *
@@ -28832,7 +29127,7 @@ class JourneyApi {
28832
29127
  /**
28833
29128
  * Journey service.
28834
29129
  * @module purecloud-platform-client-v2/api/JourneyApi
28835
- * @version 185.0.0
29130
+ * @version 187.0.0
28836
29131
  */
28837
29132
 
28838
29133
  /**
@@ -29599,39 +29894,6 @@ class JourneyApi {
29599
29894
  );
29600
29895
  }
29601
29896
 
29602
- /**
29603
- * Retrieve segment assignments by session ID.
29604
- *
29605
- * @param {String} sessionId ID of the session to query for segment assignments.
29606
- * @param {Object} opts Optional parameters
29607
- * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
29608
- * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
29609
- * @param {Object} opts.segmentScope Scope to filter on. If not specified, both session-scoped and customer-scoped assignments are returned.
29610
- * @param {Object} opts.assignmentState Assignment state to filter on. If not specified, both assigned and unassigned assignments are returned.
29611
- * getJourneySessionSegments is a preview method and is subject to both breaking and non-breaking changes at any time without notice
29612
- */
29613
- getJourneySessionSegments(sessionId, opts) {
29614
- opts = opts || {};
29615
-
29616
- // verify the required parameter 'sessionId' is set
29617
- if (sessionId === undefined || sessionId === null) {
29618
- throw 'Missing the required parameter "sessionId" when calling getJourneySessionSegments';
29619
- }
29620
-
29621
- return this.apiClient.callApi(
29622
- '/api/v2/journey/sessions/{sessionId}/segments',
29623
- 'GET',
29624
- { 'sessionId': sessionId },
29625
- { 'pageSize': opts['pageSize'],'after': opts['after'],'segmentScope': opts['segmentScope'],'assignmentState': opts['assignmentState'] },
29626
- { },
29627
- { },
29628
- null,
29629
- ['PureCloud OAuth'],
29630
- ['application/json'],
29631
- ['application/json']
29632
- );
29633
- }
29634
-
29635
29897
  /**
29636
29898
  * Update single action map.
29637
29899
  *
@@ -30063,7 +30325,7 @@ class KnowledgeApi {
30063
30325
  /**
30064
30326
  * Knowledge service.
30065
30327
  * @module purecloud-platform-client-v2/api/KnowledgeApi
30066
- * @version 185.0.0
30328
+ * @version 187.0.0
30067
30329
  */
30068
30330
 
30069
30331
  /**
@@ -31405,6 +31667,68 @@ class KnowledgeApi {
31405
31667
  );
31406
31668
  }
31407
31669
 
31670
+ /**
31671
+ * Get operations
31672
+ *
31673
+ * @param {String} knowledgeBaseId Knowledge base ID
31674
+ * @param {Object} opts Optional parameters
31675
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
31676
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
31677
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
31678
+ * @param {Array.<String>} opts.userId If specified, retrieves operations associated with user ids, comma separated values expected.
31679
+ * @param {Array.<String>} opts.type If specified, retrieves operations with specified operation type, comma separated values expected.
31680
+ * @param {Array.<String>} opts.status If specified, retrieves operations with specified operation status, comma separated values expected.
31681
+ * @param {String} opts.interval Retrieves the operations modified in specified date and time range. If the after and before cursor parameters are within this interval, it would return valid data, otherwise it throws an error.The dates in the interval are represented in ISO-8601 format: YYYY-MM-DDThh:mm:ssZ/YYYY-MM-DDThh:mm:ssZ
31682
+ * getKnowledgeKnowledgebaseOperations is a preview method and is subject to both breaking and non-breaking changes at any time without notice
31683
+ */
31684
+ getKnowledgeKnowledgebaseOperations(knowledgeBaseId, opts) {
31685
+ opts = opts || {};
31686
+
31687
+ // verify the required parameter 'knowledgeBaseId' is set
31688
+ if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
31689
+ throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperations';
31690
+ }
31691
+
31692
+ return this.apiClient.callApi(
31693
+ '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations',
31694
+ 'GET',
31695
+ { 'knowledgeBaseId': knowledgeBaseId },
31696
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'userId': this.apiClient.buildCollectionParam(opts['userId'], 'multi'),'type': this.apiClient.buildCollectionParam(opts['type'], 'multi'),'status': this.apiClient.buildCollectionParam(opts['status'], 'multi'),'interval': opts['interval'] },
31697
+ { },
31698
+ { },
31699
+ null,
31700
+ ['PureCloud OAuth'],
31701
+ ['application/json'],
31702
+ ['application/json']
31703
+ );
31704
+ }
31705
+
31706
+ /**
31707
+ * Get ids of operation creator users and oauth clients
31708
+ *
31709
+ * @param {String} knowledgeBaseId Knowledge base ID
31710
+ * getKnowledgeKnowledgebaseOperationsUsersQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
31711
+ */
31712
+ getKnowledgeKnowledgebaseOperationsUsersQuery(knowledgeBaseId) {
31713
+ // verify the required parameter 'knowledgeBaseId' is set
31714
+ if (knowledgeBaseId === undefined || knowledgeBaseId === null) {
31715
+ throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseOperationsUsersQuery';
31716
+ }
31717
+
31718
+ return this.apiClient.callApi(
31719
+ '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/operations/users/query',
31720
+ 'GET',
31721
+ { 'knowledgeBaseId': knowledgeBaseId },
31722
+ { },
31723
+ { },
31724
+ { },
31725
+ null,
31726
+ ['PureCloud OAuth'],
31727
+ ['application/json'],
31728
+ ['application/json']
31729
+ );
31730
+ }
31731
+
31408
31732
  /**
31409
31733
  * Get knowledge base unanswered group for a particular groupId
31410
31734
  *
@@ -32884,7 +33208,7 @@ class LanguageUnderstandingApi {
32884
33208
  /**
32885
33209
  * LanguageUnderstanding service.
32886
33210
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
32887
- * @version 185.0.0
33211
+ * @version 187.0.0
32888
33212
  */
32889
33213
 
32890
33214
  /**
@@ -33897,7 +34221,7 @@ class LanguagesApi {
33897
34221
  /**
33898
34222
  * Languages service.
33899
34223
  * @module purecloud-platform-client-v2/api/LanguagesApi
33900
- * @version 185.0.0
34224
+ * @version 187.0.0
33901
34225
  */
33902
34226
 
33903
34227
  /**
@@ -34119,7 +34443,7 @@ class LearningApi {
34119
34443
  /**
34120
34444
  * Learning service.
34121
34445
  * @module purecloud-platform-client-v2/api/LearningApi
34122
- * @version 185.0.0
34446
+ * @version 187.0.0
34123
34447
  */
34124
34448
 
34125
34449
  /**
@@ -34975,7 +35299,7 @@ class LicenseApi {
34975
35299
  /**
34976
35300
  * License service.
34977
35301
  * @module purecloud-platform-client-v2/api/LicenseApi
34978
- * @version 185.0.0
35302
+ * @version 187.0.0
34979
35303
  */
34980
35304
 
34981
35305
  /**
@@ -35213,7 +35537,7 @@ class LocationsApi {
35213
35537
  /**
35214
35538
  * Locations service.
35215
35539
  * @module purecloud-platform-client-v2/api/LocationsApi
35216
- * @version 185.0.0
35540
+ * @version 187.0.0
35217
35541
  */
35218
35542
 
35219
35543
  /**
@@ -35449,7 +35773,7 @@ class LogCaptureApi {
35449
35773
  /**
35450
35774
  * LogCapture service.
35451
35775
  * @module purecloud-platform-client-v2/api/LogCaptureApi
35452
- * @version 185.0.0
35776
+ * @version 187.0.0
35453
35777
  */
35454
35778
 
35455
35779
  /**
@@ -35464,6 +35788,31 @@ class LogCaptureApi {
35464
35788
  }
35465
35789
 
35466
35790
 
35791
+ /**
35792
+ * Disable browser log capture for the user
35793
+ *
35794
+ * @param {String} userId The id of the user to disable browser log capture
35795
+ */
35796
+ deleteDiagnosticsLogcaptureBrowserUser(userId) {
35797
+ // verify the required parameter 'userId' is set
35798
+ if (userId === undefined || userId === null) {
35799
+ throw 'Missing the required parameter "userId" when calling deleteDiagnosticsLogcaptureBrowserUser';
35800
+ }
35801
+
35802
+ return this.apiClient.callApi(
35803
+ '/api/v2/diagnostics/logcapture/browser/users/{userId}',
35804
+ 'DELETE',
35805
+ { 'userId': userId },
35806
+ { },
35807
+ { },
35808
+ { },
35809
+ null,
35810
+ ['PureCloud OAuth'],
35811
+ ['application/json'],
35812
+ ['application/json']
35813
+ );
35814
+ }
35815
+
35467
35816
  /**
35468
35817
  * Gets status of async download execution
35469
35818
  *
@@ -35489,6 +35838,55 @@ class LogCaptureApi {
35489
35838
  );
35490
35839
  }
35491
35840
 
35841
+ /**
35842
+ * Get log capture configuration for the user
35843
+ *
35844
+ * @param {String} userId The id of the user to get browser log capture configuration
35845
+ */
35846
+ getDiagnosticsLogcaptureBrowserUser(userId) {
35847
+ // verify the required parameter 'userId' is set
35848
+ if (userId === undefined || userId === null) {
35849
+ throw 'Missing the required parameter "userId" when calling getDiagnosticsLogcaptureBrowserUser';
35850
+ }
35851
+
35852
+ return this.apiClient.callApi(
35853
+ '/api/v2/diagnostics/logcapture/browser/users/{userId}',
35854
+ 'GET',
35855
+ { 'userId': userId },
35856
+ { },
35857
+ { },
35858
+ { },
35859
+ null,
35860
+ ['PureCloud OAuth'],
35861
+ ['application/json'],
35862
+ ['application/json']
35863
+ );
35864
+ }
35865
+
35866
+ /**
35867
+ * Get all log capture enabled users for an org
35868
+ *
35869
+ * @param {Object} opts Optional parameters
35870
+ * @param {Boolean} opts.includeExpired Include expired users with log captures still available for search or download (default to false)
35871
+ */
35872
+ getDiagnosticsLogcaptureBrowserUsers(opts) {
35873
+ opts = opts || {};
35874
+
35875
+
35876
+ return this.apiClient.callApi(
35877
+ '/api/v2/diagnostics/logcapture/browser/users',
35878
+ 'GET',
35879
+ { },
35880
+ { 'includeExpired': opts['includeExpired'] },
35881
+ { },
35882
+ { },
35883
+ null,
35884
+ ['PureCloud OAuth'],
35885
+ ['application/json'],
35886
+ ['application/json']
35887
+ );
35888
+ }
35889
+
35492
35890
  /**
35493
35891
  * Creates an async download execution
35494
35892
  *
@@ -35513,13 +35911,69 @@ class LogCaptureApi {
35513
35911
  );
35514
35912
  }
35515
35913
 
35914
+ /**
35915
+ * Query collected log entries. It returns a limited amount of records, to get all records use download endpoint.
35916
+ *
35917
+ * @param {Object} opts Optional parameters
35918
+ * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
35919
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
35920
+ * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
35921
+ * @param {Object} opts.body
35922
+ */
35923
+ postDiagnosticsLogcaptureBrowserEntriesQuery(opts) {
35924
+ opts = opts || {};
35925
+
35926
+
35927
+ return this.apiClient.callApi(
35928
+ '/api/v2/diagnostics/logcapture/browser/entries/query',
35929
+ 'POST',
35930
+ { },
35931
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'] },
35932
+ { },
35933
+ { },
35934
+ opts['body'],
35935
+ ['PureCloud OAuth'],
35936
+ ['application/json'],
35937
+ ['application/json']
35938
+ );
35939
+ }
35940
+
35941
+ /**
35942
+ * Enable log capture for a user or update expiration
35943
+ *
35944
+ * @param {String} userId The id of the user to enable browser log capture
35945
+ * @param {Object} opts Optional parameters
35946
+ * @param {Object} opts.body
35947
+ */
35948
+ postDiagnosticsLogcaptureBrowserUser(userId, opts) {
35949
+ opts = opts || {};
35950
+
35951
+ // verify the required parameter 'userId' is set
35952
+ if (userId === undefined || userId === null) {
35953
+ throw 'Missing the required parameter "userId" when calling postDiagnosticsLogcaptureBrowserUser';
35954
+ }
35955
+
35956
+ return this.apiClient.callApi(
35957
+ '/api/v2/diagnostics/logcapture/browser/users/{userId}',
35958
+ 'POST',
35959
+ { 'userId': userId },
35960
+ { },
35961
+ { },
35962
+ { },
35963
+ opts['body'],
35964
+ ['PureCloud OAuth'],
35965
+ ['application/json'],
35966
+ ['application/json']
35967
+ );
35968
+ }
35969
+
35516
35970
  }
35517
35971
 
35518
35972
  class MessagingApi {
35519
35973
  /**
35520
35974
  * Messaging service.
35521
35975
  * @module purecloud-platform-client-v2/api/MessagingApi
35522
- * @version 185.0.0
35976
+ * @version 187.0.0
35523
35977
  */
35524
35978
 
35525
35979
  /**
@@ -35878,7 +36332,7 @@ class MobileDevicesApi {
35878
36332
  /**
35879
36333
  * MobileDevices service.
35880
36334
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
35881
- * @version 185.0.0
36335
+ * @version 187.0.0
35882
36336
  */
35883
36337
 
35884
36338
  /**
@@ -36029,7 +36483,7 @@ class NotificationsApi {
36029
36483
  /**
36030
36484
  * Notifications service.
36031
36485
  * @module purecloud-platform-client-v2/api/NotificationsApi
36032
- * @version 185.0.0
36486
+ * @version 187.0.0
36033
36487
  */
36034
36488
 
36035
36489
  /**
@@ -36262,7 +36716,7 @@ class OAuthApi {
36262
36716
  /**
36263
36717
  * OAuth service.
36264
36718
  * @module purecloud-platform-client-v2/api/OAuthApi
36265
- * @version 185.0.0
36719
+ * @version 187.0.0
36266
36720
  */
36267
36721
 
36268
36722
  /**
@@ -36628,7 +37082,7 @@ class ObjectsApi {
36628
37082
  /**
36629
37083
  * Objects service.
36630
37084
  * @module purecloud-platform-client-v2/api/ObjectsApi
36631
- * @version 185.0.0
37085
+ * @version 187.0.0
36632
37086
  */
36633
37087
 
36634
37088
  /**
@@ -36712,7 +37166,6 @@ class ObjectsApi {
36712
37166
  * @param {String} opts.nextPage next page token
36713
37167
  * @param {String} opts.previousPage Previous page token
36714
37168
  * @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
37169
  * @param {String} opts.name Search term to filter by division name
36717
37170
  */
36718
37171
  getAuthorizationDivisions(opts) {
@@ -36723,7 +37176,7 @@ class ObjectsApi {
36723
37176
  '/api/v2/authorization/divisions',
36724
37177
  'GET',
36725
37178
  { },
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'] },
37179
+ { '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
37180
  { },
36728
37181
  { },
36729
37182
  null,
@@ -36898,7 +37351,7 @@ class OperationalEventsApi {
36898
37351
  /**
36899
37352
  * OperationalEvents service.
36900
37353
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
36901
- * @version 185.0.0
37354
+ * @version 187.0.0
36902
37355
  */
36903
37356
 
36904
37357
  /**
@@ -36964,7 +37417,7 @@ class OrganizationApi {
36964
37417
  /**
36965
37418
  * Organization service.
36966
37419
  * @module purecloud-platform-client-v2/api/OrganizationApi
36967
- * @version 185.0.0
37420
+ * @version 187.0.0
36968
37421
  */
36969
37422
 
36970
37423
  /**
@@ -37419,7 +37872,7 @@ class OrganizationAuthorizationApi {
37419
37872
  /**
37420
37873
  * OrganizationAuthorization service.
37421
37874
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
37422
- * @version 185.0.0
37875
+ * @version 187.0.0
37423
37876
  */
37424
37877
 
37425
37878
  /**
@@ -38766,7 +39219,7 @@ class OutboundApi {
38766
39219
  /**
38767
39220
  * Outbound service.
38768
39221
  * @module purecloud-platform-client-v2/api/OutboundApi
38769
- * @version 185.0.0
39222
+ * @version 187.0.0
38770
39223
  */
38771
39224
 
38772
39225
  /**
@@ -39253,6 +39706,56 @@ class OutboundApi {
39253
39706
  );
39254
39707
  }
39255
39708
 
39709
+ /**
39710
+ * Delete File Specification Template
39711
+ *
39712
+ * @param {String} fileSpecificationTemplateId File Specification Template ID
39713
+ */
39714
+ deleteOutboundFilespecificationtemplate(fileSpecificationTemplateId) {
39715
+ // verify the required parameter 'fileSpecificationTemplateId' is set
39716
+ if (fileSpecificationTemplateId === undefined || fileSpecificationTemplateId === null) {
39717
+ throw 'Missing the required parameter "fileSpecificationTemplateId" when calling deleteOutboundFilespecificationtemplate';
39718
+ }
39719
+
39720
+ return this.apiClient.callApi(
39721
+ '/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}',
39722
+ 'DELETE',
39723
+ { 'fileSpecificationTemplateId': fileSpecificationTemplateId },
39724
+ { },
39725
+ { },
39726
+ { },
39727
+ null,
39728
+ ['PureCloud OAuth'],
39729
+ ['application/json'],
39730
+ ['application/json']
39731
+ );
39732
+ }
39733
+
39734
+ /**
39735
+ * Delete multiple file specification templates.
39736
+ *
39737
+ * @param {Array.<String>} id File Specification template id(s) to delete
39738
+ */
39739
+ deleteOutboundFilespecificationtemplatesBulk(id) {
39740
+ // verify the required parameter 'id' is set
39741
+ if (id === undefined || id === null) {
39742
+ throw 'Missing the required parameter "id" when calling deleteOutboundFilespecificationtemplatesBulk';
39743
+ }
39744
+
39745
+ return this.apiClient.callApi(
39746
+ '/api/v2/outbound/filespecificationtemplates/bulk',
39747
+ 'DELETE',
39748
+ { },
39749
+ { 'id': this.apiClient.buildCollectionParam(id, 'multi') },
39750
+ { },
39751
+ { },
39752
+ null,
39753
+ ['PureCloud OAuth'],
39754
+ ['application/json'],
39755
+ ['application/json']
39756
+ );
39757
+ }
39758
+
39256
39759
  /**
39257
39760
  * Delete Import Template
39258
39761
  *
@@ -40660,6 +41163,61 @@ class OutboundApi {
40660
41163
  );
40661
41164
  }
40662
41165
 
41166
+ /**
41167
+ * Get File Specification Template
41168
+ *
41169
+ * @param {String} fileSpecificationTemplateId File Specification Template ID
41170
+ */
41171
+ getOutboundFilespecificationtemplate(fileSpecificationTemplateId) {
41172
+ // verify the required parameter 'fileSpecificationTemplateId' is set
41173
+ if (fileSpecificationTemplateId === undefined || fileSpecificationTemplateId === null) {
41174
+ throw 'Missing the required parameter "fileSpecificationTemplateId" when calling getOutboundFilespecificationtemplate';
41175
+ }
41176
+
41177
+ return this.apiClient.callApi(
41178
+ '/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}',
41179
+ 'GET',
41180
+ { 'fileSpecificationTemplateId': fileSpecificationTemplateId },
41181
+ { },
41182
+ { },
41183
+ { },
41184
+ null,
41185
+ ['PureCloud OAuth'],
41186
+ ['application/json'],
41187
+ ['application/json']
41188
+ );
41189
+ }
41190
+
41191
+ /**
41192
+ * Query File Specification Templates
41193
+ *
41194
+ * @param {Object} opts Optional parameters
41195
+ * @param {Number} opts.pageSize Page size. The max that will be returned is 100. (default to 25)
41196
+ * @param {Number} opts.pageNumber Page number (default to 1)
41197
+ * @param {Boolean} opts.allowEmptyResult Whether to return an empty page when there are no results for that page (default to false)
41198
+ * @param {Object} opts.filterType Filter type (default to Prefix)
41199
+ * @param {String} opts.name Name
41200
+ * @param {String} opts.sortBy Sort by
41201
+ * @param {Object} opts.sortOrder Sort order (default to a)
41202
+ */
41203
+ getOutboundFilespecificationtemplates(opts) {
41204
+ opts = opts || {};
41205
+
41206
+
41207
+ return this.apiClient.callApi(
41208
+ '/api/v2/outbound/filespecificationtemplates',
41209
+ 'GET',
41210
+ { },
41211
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'allowEmptyResult': opts['allowEmptyResult'],'filterType': opts['filterType'],'name': opts['name'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'] },
41212
+ { },
41213
+ { },
41214
+ null,
41215
+ ['PureCloud OAuth'],
41216
+ ['application/json'],
41217
+ ['application/json']
41218
+ );
41219
+ }
41220
+
40663
41221
  /**
40664
41222
  * Get Import Template
40665
41223
  *
@@ -41833,6 +42391,31 @@ class OutboundApi {
41833
42391
  );
41834
42392
  }
41835
42393
 
42394
+ /**
42395
+ * Get multiple contact list templates
42396
+ *
42397
+ * @param {Object} body contact list templates to get
42398
+ */
42399
+ postOutboundContactlisttemplatesBulkRetrieve(body) {
42400
+ // verify the required parameter 'body' is set
42401
+ if (body === undefined || body === null) {
42402
+ throw 'Missing the required parameter "body" when calling postOutboundContactlisttemplatesBulkRetrieve';
42403
+ }
42404
+
42405
+ return this.apiClient.callApi(
42406
+ '/api/v2/outbound/contactlisttemplates/bulk/retrieve',
42407
+ 'POST',
42408
+ { },
42409
+ { },
42410
+ { },
42411
+ { },
42412
+ body,
42413
+ ['PureCloud OAuth'],
42414
+ ['application/json'],
42415
+ ['application/json']
42416
+ );
42417
+ }
42418
+
41836
42419
  /**
41837
42420
  * Add phone numbers to a Dialer DNC list.
41838
42421
  *
@@ -41997,6 +42580,31 @@ class OutboundApi {
41997
42580
  );
41998
42581
  }
41999
42582
 
42583
+ /**
42584
+ * Create File Specification Template
42585
+ *
42586
+ * @param {Object} body FileSpecificationTemplate
42587
+ */
42588
+ postOutboundFilespecificationtemplates(body) {
42589
+ // verify the required parameter 'body' is set
42590
+ if (body === undefined || body === null) {
42591
+ throw 'Missing the required parameter "body" when calling postOutboundFilespecificationtemplates';
42592
+ }
42593
+
42594
+ return this.apiClient.callApi(
42595
+ '/api/v2/outbound/filespecificationtemplates',
42596
+ 'POST',
42597
+ { },
42598
+ { },
42599
+ { },
42600
+ { },
42601
+ body,
42602
+ ['PureCloud OAuth'],
42603
+ ['application/json'],
42604
+ ['application/json']
42605
+ );
42606
+ }
42607
+
42000
42608
  /**
42001
42609
  * Create Import Template
42002
42610
  *
@@ -42517,6 +43125,36 @@ class OutboundApi {
42517
43125
  );
42518
43126
  }
42519
43127
 
43128
+ /**
43129
+ * Update File Specification Template
43130
+ *
43131
+ * @param {String} fileSpecificationTemplateId File Specification Template ID
43132
+ * @param {Object} body fileSpecificationTemplate
43133
+ */
43134
+ putOutboundFilespecificationtemplate(fileSpecificationTemplateId, body) {
43135
+ // verify the required parameter 'fileSpecificationTemplateId' is set
43136
+ if (fileSpecificationTemplateId === undefined || fileSpecificationTemplateId === null) {
43137
+ throw 'Missing the required parameter "fileSpecificationTemplateId" when calling putOutboundFilespecificationtemplate';
43138
+ }
43139
+ // verify the required parameter 'body' is set
43140
+ if (body === undefined || body === null) {
43141
+ throw 'Missing the required parameter "body" when calling putOutboundFilespecificationtemplate';
43142
+ }
43143
+
43144
+ return this.apiClient.callApi(
43145
+ '/api/v2/outbound/filespecificationtemplates/{fileSpecificationTemplateId}',
43146
+ 'PUT',
43147
+ { 'fileSpecificationTemplateId': fileSpecificationTemplateId },
43148
+ { },
43149
+ { },
43150
+ { },
43151
+ body,
43152
+ ['PureCloud OAuth'],
43153
+ ['application/json'],
43154
+ ['application/json']
43155
+ );
43156
+ }
43157
+
42520
43158
  /**
42521
43159
  * Update Import Template
42522
43160
  *
@@ -42788,7 +43426,7 @@ class PresenceApi {
42788
43426
  /**
42789
43427
  * Presence service.
42790
43428
  * @module purecloud-platform-client-v2/api/PresenceApi
42791
- * @version 185.0.0
43429
+ * @version 187.0.0
42792
43430
  */
42793
43431
 
42794
43432
  /**
@@ -42854,9 +43492,10 @@ class PresenceApi {
42854
43492
  }
42855
43493
 
42856
43494
  /**
42857
- * Delete a Presence Definition
43495
+ * Delete a Presence Definition. Apps should migrate to use DELETE /api/v2/presence/definitions/{definitionId} instead
42858
43496
  *
42859
43497
  * @param {String} presenceId Organization Presence ID
43498
+ * @deprecated
42860
43499
  */
42861
43500
  deletePresencedefinition(presenceId) {
42862
43501
  // verify the required parameter 'presenceId' is set
@@ -43028,11 +43667,12 @@ class PresenceApi {
43028
43667
  }
43029
43668
 
43030
43669
  /**
43031
- * Get a Presence Definition
43670
+ * Get a Presence Definition. Apps should migrate to use GET /api/v2/presence/definitions/{definitionId} instead
43032
43671
  *
43033
43672
  * @param {String} presenceId Organization Presence ID
43034
43673
  * @param {Object} opts Optional parameters
43035
43674
  * @param {String} opts.localeCode The locale code to fetch for the presence definition. Use ALL to fetch everything.
43675
+ * @deprecated
43036
43676
  */
43037
43677
  getPresencedefinition(presenceId, opts) {
43038
43678
  opts = opts || {};
@@ -43057,13 +43697,14 @@ class PresenceApi {
43057
43697
  }
43058
43698
 
43059
43699
  /**
43060
- * Get an Organization's list of Presence Definitions
43700
+ * Get an Organization's list of Presence Definitions. Apps should migrate to use GET /api/v2/presence/definitions instead
43061
43701
  *
43062
43702
  * @param {Object} opts Optional parameters
43063
43703
  * @param {Number} opts.pageNumber Page number (default to 1)
43064
43704
  * @param {Number} opts.pageSize Page size (default to 25)
43065
43705
  * @param {String} opts.deleted Deleted query can be TRUE, FALSE or ALL (default to false)
43066
43706
  * @param {String} opts.localeCode The locale code to fetch for each presence definition. Use ALL to fetch everything.
43707
+ * @deprecated
43067
43708
  */
43068
43709
  getPresencedefinitions(opts) {
43069
43710
  opts = opts || {};
@@ -43327,9 +43968,10 @@ class PresenceApi {
43327
43968
  }
43328
43969
 
43329
43970
  /**
43330
- * Create a Presence Definition
43971
+ * Create a Presence Definition. Apps should migrate to use POST /api/v2/presence/definitions instead
43331
43972
  *
43332
43973
  * @param {Object} body The Presence Definition to create
43974
+ * @deprecated
43333
43975
  */
43334
43976
  postPresencedefinitions(body) {
43335
43977
  // verify the required parameter 'body' is set
@@ -43467,10 +44109,11 @@ class PresenceApi {
43467
44109
  }
43468
44110
 
43469
44111
  /**
43470
- * Update a Presence Definition
44112
+ * Update a Presence Definition. Apps should migrate to use PUT /api/v2/presence/definitions/{definitionId} instead)
43471
44113
  *
43472
44114
  * @param {String} presenceId Organization Presence ID
43473
44115
  * @param {Object} body The OrganizationPresence to update
44116
+ * @deprecated
43474
44117
  */
43475
44118
  putPresencedefinition(presenceId, body) {
43476
44119
  // verify the required parameter 'presenceId' is set
@@ -43527,7 +44170,7 @@ class ProcessAutomationApi {
43527
44170
  /**
43528
44171
  * ProcessAutomation service.
43529
44172
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
43530
- * @version 185.0.0
44173
+ * @version 187.0.0
43531
44174
  */
43532
44175
 
43533
44176
  /**
@@ -43766,7 +44409,7 @@ class QualityApi {
43766
44409
  /**
43767
44410
  * Quality service.
43768
44411
  * @module purecloud-platform-client-v2/api/QualityApi
43769
- * @version 185.0.0
44412
+ * @version 187.0.0
43770
44413
  */
43771
44414
 
43772
44415
  /**
@@ -45359,7 +46002,7 @@ class QualityApi {
45359
46002
 
45360
46003
  /**
45361
46004
  * 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.
46005
+ * 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
46006
  * @param {String} conversationId conversationId
45364
46007
  * @param {String} evaluationId evaluationId
45365
46008
  * @param {Object} body evaluation
@@ -45523,7 +46166,7 @@ class RecordingApi {
45523
46166
  /**
45524
46167
  * Recording service.
45525
46168
  * @module purecloud-platform-client-v2/api/RecordingApi
45526
- * @version 185.0.0
46169
+ * @version 187.0.0
45527
46170
  */
45528
46171
 
45529
46172
  /**
@@ -47160,7 +47803,7 @@ class ResponseManagementApi {
47160
47803
  /**
47161
47804
  * ResponseManagement service.
47162
47805
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
47163
- * @version 185.0.0
47806
+ * @version 187.0.0
47164
47807
  */
47165
47808
 
47166
47809
  /**
@@ -47645,7 +48288,7 @@ class RoutingApi {
47645
48288
  /**
47646
48289
  * Routing service.
47647
48290
  * @module purecloud-platform-client-v2/api/RoutingApi
47648
- * @version 185.0.0
48291
+ * @version 187.0.0
47649
48292
  */
47650
48293
 
47651
48294
  /**
@@ -49835,6 +50478,60 @@ class RoutingApi {
49835
50478
  );
49836
50479
  }
49837
50480
 
50481
+ /**
50482
+ * Get a simplified wrap-up code.
50483
+ *
50484
+ * @param {String} codeId Wrapup Code ID
50485
+ */
50486
+ getRoutingWrapupcodesDivisionview(codeId) {
50487
+ // verify the required parameter 'codeId' is set
50488
+ if (codeId === undefined || codeId === null) {
50489
+ throw 'Missing the required parameter "codeId" when calling getRoutingWrapupcodesDivisionview';
50490
+ }
50491
+
50492
+ return this.apiClient.callApi(
50493
+ '/api/v2/routing/wrapupcodes/divisionviews/{codeId}',
50494
+ 'GET',
50495
+ { 'codeId': codeId },
50496
+ { },
50497
+ { },
50498
+ { },
50499
+ null,
50500
+ ['PureCloud OAuth'],
50501
+ ['application/json'],
50502
+ ['application/json']
50503
+ );
50504
+ }
50505
+
50506
+ /**
50507
+ * Get a paged listing of simplified wrapup code objects, filterable by name, wrapup code ID(s), or division ID(s).
50508
+ * Specifying both name and ID parameters is not supported.
50509
+ * @param {Object} opts Optional parameters
50510
+ * @param {Number} opts.pageSize Page size (default to 25)
50511
+ * @param {Number} opts.pageNumber Page number (default to 1)
50512
+ * @param {String} opts.name Name (trailing asterisks allowed)
50513
+ * @param {Array.<String>} opts.id Wrapup code ID(s)
50514
+ * @param {Array.<String>} opts.divisionId Division ID(s)
50515
+ * @param {Object} opts.includeState Wrapup code state(s) to include
50516
+ */
50517
+ getRoutingWrapupcodesDivisionviews(opts) {
50518
+ opts = opts || {};
50519
+
50520
+
50521
+ return this.apiClient.callApi(
50522
+ '/api/v2/routing/wrapupcodes/divisionviews',
50523
+ 'GET',
50524
+ { },
50525
+ { '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'] },
50526
+ { },
50527
+ { },
50528
+ null,
50529
+ ['PureCloud OAuth'],
50530
+ ['application/json'],
50531
+ ['application/json']
50532
+ );
50533
+ }
50534
+
49838
50535
  /**
49839
50536
  * Get queues for user
49840
50537
  *
@@ -50236,6 +50933,31 @@ class RoutingApi {
50236
50933
  );
50237
50934
  }
50238
50935
 
50936
+ /**
50937
+ * Patch Transcription Settings
50938
+ *
50939
+ * @param {Object} body Organization Settings
50940
+ */
50941
+ patchRoutingSettingsTranscription(body) {
50942
+ // verify the required parameter 'body' is set
50943
+ if (body === undefined || body === null) {
50944
+ throw 'Missing the required parameter "body" when calling patchRoutingSettingsTranscription';
50945
+ }
50946
+
50947
+ return this.apiClient.callApi(
50948
+ '/api/v2/routing/settings/transcription',
50949
+ 'PATCH',
50950
+ { },
50951
+ { },
50952
+ { },
50953
+ { },
50954
+ body,
50955
+ ['PureCloud OAuth'],
50956
+ ['application/json'],
50957
+ ['application/json']
50958
+ );
50959
+ }
50960
+
50239
50961
  /**
50240
50962
  * Update skill group definition
50241
50963
  *
@@ -50974,7 +51696,6 @@ class RoutingApi {
50974
51696
  * Imports a phone number for SMS
50975
51697
  *
50976
51698
  * @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
51699
  */
50979
51700
  postRoutingSmsPhonenumbersImport(body) {
50980
51701
  // verify the required parameter 'body' is set
@@ -51520,7 +52241,7 @@ class SCIMApi {
51520
52241
  /**
51521
52242
  * SCIM service.
51522
52243
  * @module purecloud-platform-client-v2/api/SCIMApi
51523
- * @version 185.0.0
52244
+ * @version 187.0.0
51524
52245
  */
51525
52246
 
51526
52247
  /**
@@ -52393,11 +53114,56 @@ class SCIMApi {
52393
53114
 
52394
53115
  }
52395
53116
 
53117
+ class ScreenRecordingApi {
53118
+ /**
53119
+ * ScreenRecording service.
53120
+ * @module purecloud-platform-client-v2/api/ScreenRecordingApi
53121
+ * @version 187.0.0
53122
+ */
53123
+
53124
+ /**
53125
+ * Constructs a new ScreenRecordingApi.
53126
+ * @alias module:purecloud-platform-client-v2/api/ScreenRecordingApi
53127
+ * @class
53128
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
53129
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
53130
+ */
53131
+ constructor(apiClient) {
53132
+ this.apiClient = apiClient || ApiClient.instance;
53133
+ }
53134
+
53135
+
53136
+ /**
53137
+ * Sign identifying information for screen recording
53138
+ *
53139
+ * @param {Object} opts Optional parameters
53140
+ * @param {Object} opts.body
53141
+ */
53142
+ postScreenrecordingToken(opts) {
53143
+ opts = opts || {};
53144
+
53145
+
53146
+ return this.apiClient.callApi(
53147
+ '/api/v2/screenrecording/token',
53148
+ 'POST',
53149
+ { },
53150
+ { },
53151
+ { },
53152
+ { },
53153
+ opts['body'],
53154
+ ['PureCloud OAuth'],
53155
+ ['application/json'],
53156
+ ['application/json']
53157
+ );
53158
+ }
53159
+
53160
+ }
53161
+
52396
53162
  class ScriptsApi {
52397
53163
  /**
52398
53164
  * Scripts service.
52399
53165
  * @module purecloud-platform-client-v2/api/ScriptsApi
52400
- * @version 185.0.0
53166
+ * @version 187.0.0
52401
53167
  */
52402
53168
 
52403
53169
  /**
@@ -52841,7 +53607,7 @@ class SearchApi {
52841
53607
  /**
52842
53608
  * Search service.
52843
53609
  * @module purecloud-platform-client-v2/api/SearchApi
52844
- * @version 185.0.0
53610
+ * @version 187.0.0
52845
53611
  */
52846
53612
 
52847
53613
  /**
@@ -53530,7 +54296,7 @@ class SettingsApi {
53530
54296
  /**
53531
54297
  * Settings service.
53532
54298
  * @module purecloud-platform-client-v2/api/SettingsApi
53533
- * @version 185.0.0
54299
+ * @version 187.0.0
53534
54300
  */
53535
54301
 
53536
54302
  /**
@@ -53595,7 +54361,7 @@ class SpeechTextAnalyticsApi {
53595
54361
  /**
53596
54362
  * SpeechTextAnalytics service.
53597
54363
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
53598
- * @version 185.0.0
54364
+ * @version 187.0.0
53599
54365
  */
53600
54366
 
53601
54367
  /**
@@ -54708,7 +55474,7 @@ class StationsApi {
54708
55474
  /**
54709
55475
  * Stations service.
54710
55476
  * @module purecloud-platform-client-v2/api/StationsApi
54711
- * @version 185.0.0
55477
+ * @version 187.0.0
54712
55478
  */
54713
55479
 
54714
55480
  /**
@@ -54810,7 +55576,7 @@ class SuggestApi {
54810
55576
  /**
54811
55577
  * Suggest service.
54812
55578
  * @module purecloud-platform-client-v2/api/SuggestApi
54813
- * @version 185.0.0
55579
+ * @version 187.0.0
54814
55580
  */
54815
55581
 
54816
55582
  /**
@@ -54949,7 +55715,7 @@ class TaskManagementApi {
54949
55715
  /**
54950
55716
  * TaskManagement service.
54951
55717
  * @module purecloud-platform-client-v2/api/TaskManagementApi
54952
- * @version 185.0.0
55718
+ * @version 187.0.0
54953
55719
  */
54954
55720
 
54955
55721
  /**
@@ -56230,7 +56996,7 @@ class TeamsApi {
56230
56996
  /**
56231
56997
  * Teams service.
56232
56998
  * @module purecloud-platform-client-v2/api/TeamsApi
56233
- * @version 185.0.0
56999
+ * @version 187.0.0
56234
57000
  */
56235
57001
 
56236
57002
  /**
@@ -56532,7 +57298,7 @@ class TelephonyApi {
56532
57298
  /**
56533
57299
  * Telephony service.
56534
57300
  * @module purecloud-platform-client-v2/api/TelephonyApi
56535
- * @version 185.0.0
57301
+ * @version 187.0.0
56536
57302
  */
56537
57303
 
56538
57304
  /**
@@ -56571,7 +57337,6 @@ class TelephonyApi {
56571
57337
  * Get a SIP message.
56572
57338
  * Get the raw form of the SIP message
56573
57339
  * @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
57340
  */
56576
57341
  getTelephonySipmessagesConversation(conversationId) {
56577
57342
  // verify the required parameter 'conversationId' is set
@@ -56599,7 +57364,6 @@ class TelephonyApi {
56599
57364
  * @param {String} conversationId Conversation id
56600
57365
  * @param {Object} opts Optional parameters
56601
57366
  * @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
57367
  */
56604
57368
  getTelephonySipmessagesConversationHeaders(conversationId, opts) {
56605
57369
  opts = opts || {};
@@ -56716,7 +57480,7 @@ class TelephonyProvidersEdgeApi {
56716
57480
  /**
56717
57481
  * TelephonyProvidersEdge service.
56718
57482
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
56719
- * @version 185.0.0
57483
+ * @version 187.0.0
56720
57484
  */
56721
57485
 
56722
57486
  /**
@@ -57905,7 +58669,6 @@ class TelephonyProvidersEdgeApi {
57905
58669
  * @param {Array.<String>} opts.id ID of the Extension Pools to filter by.
57906
58670
  * @param {String} opts.name Name of the Extension Pools to filter by.
57907
58671
  * @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
58672
  */
57910
58673
  getTelephonyProvidersEdgesExtensionpoolsDivisionviews(opts) {
57911
58674
  opts = opts || {};
@@ -58195,32 +58958,6 @@ class TelephonyProvidersEdgeApi {
58195
58958
  );
58196
58959
  }
58197
58960
 
58198
- /**
58199
- * Get outbound route
58200
- * This route is deprecated, use /telephony/providers/edges/sites/{siteId}/outboundroutes/{outboundRouteId} instead.
58201
- * @param {String} outboundRouteId Outbound route ID
58202
- * @deprecated
58203
- */
58204
- getTelephonyProvidersEdgesOutboundroute(outboundRouteId) {
58205
- // verify the required parameter 'outboundRouteId' is set
58206
- if (outboundRouteId === undefined || outboundRouteId === null) {
58207
- throw 'Missing the required parameter "outboundRouteId" when calling getTelephonyProvidersEdgesOutboundroute';
58208
- }
58209
-
58210
- return this.apiClient.callApi(
58211
- '/api/v2/telephony/providers/edges/outboundroutes/{outboundRouteId}',
58212
- 'GET',
58213
- { 'outboundRouteId': outboundRouteId },
58214
- { },
58215
- { },
58216
- { },
58217
- null,
58218
- ['PureCloud OAuth'],
58219
- ['application/json'],
58220
- ['application/json']
58221
- );
58222
- }
58223
-
58224
58961
  /**
58225
58962
  * Get outbound routes
58226
58963
  *
@@ -58677,6 +59414,7 @@ class TelephonyProvidersEdgeApi {
58677
59414
  * @param {String} opts.name Name
58678
59415
  * @param {String} opts.locationId Location Id
58679
59416
  * @param {Boolean} opts.managed Filter by managed
59417
+ * @param {Array.<String>} opts.expand Fields to expand in the response, comma-separated
58680
59418
  */
58681
59419
  getTelephonyProvidersEdgesSites(opts) {
58682
59420
  opts = opts || {};
@@ -58686,7 +59424,7 @@ class TelephonyProvidersEdgeApi {
58686
59424
  '/api/v2/telephony/providers/edges/sites',
58687
59425
  'GET',
58688
59426
  { },
58689
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'location.id': opts['locationId'],'managed': opts['managed'] },
59427
+ { '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
59428
  { },
58691
59429
  { },
58692
59430
  null,
@@ -60091,7 +60829,7 @@ class TextbotsApi {
60091
60829
  /**
60092
60830
  * Textbots service.
60093
60831
  * @module purecloud-platform-client-v2/api/TextbotsApi
60094
- * @version 185.0.0
60832
+ * @version 187.0.0
60095
60833
  */
60096
60834
 
60097
60835
  /**
@@ -60219,7 +60957,7 @@ class TokensApi {
60219
60957
  /**
60220
60958
  * Tokens service.
60221
60959
  * @module purecloud-platform-client-v2/api/TokensApi
60222
- * @version 185.0.0
60960
+ * @version 187.0.0
60223
60961
  */
60224
60962
 
60225
60963
  /**
@@ -60375,7 +61113,7 @@ class UploadsApi {
60375
61113
  /**
60376
61114
  * Uploads service.
60377
61115
  * @module purecloud-platform-client-v2/api/UploadsApi
60378
- * @version 185.0.0
61116
+ * @version 187.0.0
60379
61117
  */
60380
61118
 
60381
61119
  /**
@@ -60390,6 +61128,37 @@ class UploadsApi {
60390
61128
  }
60391
61129
 
60392
61130
 
61131
+ /**
61132
+ * Create upload presigned URL for draft function package file.
61133
+ *
61134
+ * @param {String} actionId actionId
61135
+ * @param {Object} body Input used to request URL upload.
61136
+ * postIntegrationsActionDraftFunctionUpload is a preview method and is subject to both breaking and non-breaking changes at any time without notice
61137
+ */
61138
+ postIntegrationsActionDraftFunctionUpload(actionId, body) {
61139
+ // verify the required parameter 'actionId' is set
61140
+ if (actionId === undefined || actionId === null) {
61141
+ throw 'Missing the required parameter "actionId" when calling postIntegrationsActionDraftFunctionUpload';
61142
+ }
61143
+ // verify the required parameter 'body' is set
61144
+ if (body === undefined || body === null) {
61145
+ throw 'Missing the required parameter "body" when calling postIntegrationsActionDraftFunctionUpload';
61146
+ }
61147
+
61148
+ return this.apiClient.callApi(
61149
+ '/api/v2/integrations/actions/{actionId}/draft/function/upload',
61150
+ 'POST',
61151
+ { 'actionId': actionId },
61152
+ { },
61153
+ { },
61154
+ { },
61155
+ body,
61156
+ ['PureCloud OAuth'],
61157
+ ['application/json'],
61158
+ ['application/json']
61159
+ );
61160
+ }
61161
+
60393
61162
  /**
60394
61163
  * Creates a presigned URL for uploading a knowledge import file with a set of documents
60395
61164
  *
@@ -60551,7 +61320,7 @@ class UsageApi {
60551
61320
  /**
60552
61321
  * Usage service.
60553
61322
  * @module purecloud-platform-client-v2/api/UsageApi
60554
- * @version 185.0.0
61323
+ * @version 187.0.0
60555
61324
  */
60556
61325
 
60557
61326
  /**
@@ -60761,7 +61530,7 @@ class UserRecordingsApi {
60761
61530
  /**
60762
61531
  * UserRecordings service.
60763
61532
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
60764
- * @version 185.0.0
61533
+ * @version 187.0.0
60765
61534
  */
60766
61535
 
60767
61536
  /**
@@ -60946,7 +61715,7 @@ class UsersApi {
60946
61715
  /**
60947
61716
  * Users service.
60948
61717
  * @module purecloud-platform-client-v2/api/UsersApi
60949
- * @version 185.0.0
61718
+ * @version 187.0.0
60950
61719
  */
60951
61720
 
60952
61721
  /**
@@ -63597,7 +64366,7 @@ class UtilitiesApi {
63597
64366
  /**
63598
64367
  * Utilities service.
63599
64368
  * @module purecloud-platform-client-v2/api/UtilitiesApi
63600
- * @version 185.0.0
64369
+ * @version 187.0.0
63601
64370
  */
63602
64371
 
63603
64372
  /**
@@ -63708,7 +64477,7 @@ class VoicemailApi {
63708
64477
  /**
63709
64478
  * Voicemail service.
63710
64479
  * @module purecloud-platform-client-v2/api/VoicemailApi
63711
- * @version 185.0.0
64480
+ * @version 187.0.0
63712
64481
  */
63713
64482
 
63714
64483
  /**
@@ -64375,7 +65144,7 @@ class WebChatApi {
64375
65144
  /**
64376
65145
  * WebChat service.
64377
65146
  * @module purecloud-platform-client-v2/api/WebChatApi
64378
- * @version 185.0.0
65147
+ * @version 187.0.0
64379
65148
  */
64380
65149
 
64381
65150
  /**
@@ -64924,7 +65693,7 @@ class WebDeploymentsApi {
64924
65693
  /**
64925
65694
  * WebDeployments service.
64926
65695
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
64927
- * @version 185.0.0
65696
+ * @version 187.0.0
64928
65697
  */
64929
65698
 
64930
65699
  /**
@@ -65451,7 +66220,7 @@ class WebMessagingApi {
65451
66220
  /**
65452
66221
  * WebMessaging service.
65453
66222
  * @module purecloud-platform-client-v2/api/WebMessagingApi
65454
- * @version 185.0.0
66223
+ * @version 187.0.0
65455
66224
  */
65456
66225
 
65457
66226
  /**
@@ -65497,7 +66266,7 @@ class WidgetsApi {
65497
66266
  /**
65498
66267
  * Widgets service.
65499
66268
  * @module purecloud-platform-client-v2/api/WidgetsApi
65500
- * @version 185.0.0
66269
+ * @version 187.0.0
65501
66270
  */
65502
66271
 
65503
66272
  /**
@@ -65643,7 +66412,7 @@ class WorkforceManagementApi {
65643
66412
  /**
65644
66413
  * WorkforceManagement service.
65645
66414
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
65646
- * @version 185.0.0
66415
+ * @version 187.0.0
65647
66416
  */
65648
66417
 
65649
66418
  /**
@@ -71038,7 +71807,7 @@ class WorkforceManagementApi {
71038
71807
  * </pre>
71039
71808
  * </p>
71040
71809
  * @module purecloud-platform-client-v2/index
71041
- * @version 185.0.0
71810
+ * @version 187.0.0
71042
71811
  */
71043
71812
  class platformClient {
71044
71813
  constructor() {
@@ -71302,6 +72071,11 @@ class platformClient {
71302
72071
  * @property {module:purecloud-platform-client-v2/api/SCIMApi}
71303
72072
  */
71304
72073
  this.SCIMApi = SCIMApi;
72074
+ /**
72075
+ * The ScreenRecordingApi service constructor.
72076
+ * @property {module:purecloud-platform-client-v2/api/ScreenRecordingApi}
72077
+ */
72078
+ this.ScreenRecordingApi = ScreenRecordingApi;
71305
72079
  /**
71306
72080
  * The ScriptsApi service constructor.
71307
72081
  * @property {module:purecloud-platform-client-v2/api/ScriptsApi}