purecloud-platform-client-v2 191.0.0 → 192.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 +417 -168
  3. package/dist/web-amd/purecloud-platform-client-v2.js +417 -168
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +203 -126
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +251 -161
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +438 -247
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +13 -5
  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 +127 -39
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +30 -16
  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 +1 -1
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +45 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +3 -2
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +22 -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 +1 -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 +1 -1
  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 +4 -3
  54. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/QualityApi.js +3 -3
  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 +1 -1
  60. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  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 +2 -2
  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 +79 -1
  69. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -22
  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 +1 -1
  75. package/src/purecloud-platform-client-v2/api/UsageApi.js +8 -3
  76. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UsersApi.js +13 -5
  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 +5 -3
  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 +1 -1
@@ -399,7 +399,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
399
399
 
400
400
  /**
401
401
  * @module purecloud-platform-client-v2/ApiClient
402
- * @version 191.0.0
402
+ * @version 192.0.0
403
403
  */
404
404
  class ApiClient {
405
405
  /**
@@ -1818,7 +1818,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1818
1818
  /**
1819
1819
  * Alerting service.
1820
1820
  * @module purecloud-platform-client-v2/api/AlertingApi
1821
- * @version 191.0.0
1821
+ * @version 192.0.0
1822
1822
  */
1823
1823
 
1824
1824
  /**
@@ -2479,7 +2479,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2479
2479
  /**
2480
2480
  * Analytics service.
2481
2481
  * @module purecloud-platform-client-v2/api/AnalyticsApi
2482
- * @version 191.0.0
2482
+ * @version 192.0.0
2483
2483
  */
2484
2484
 
2485
2485
  /**
@@ -5253,7 +5253,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
5253
5253
  /**
5254
5254
  * Architect service.
5255
5255
  * @module purecloud-platform-client-v2/api/ArchitectApi
5256
- * @version 191.0.0
5256
+ * @version 192.0.0
5257
5257
  */
5258
5258
 
5259
5259
  /**
@@ -9399,7 +9399,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9399
9399
  /**
9400
9400
  * Audit service.
9401
9401
  * @module purecloud-platform-client-v2/api/AuditApi
9402
- * @version 191.0.0
9402
+ * @version 192.0.0
9403
9403
  */
9404
9404
 
9405
9405
  /**
@@ -9570,7 +9570,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9570
9570
  /**
9571
9571
  * Authorization service.
9572
9572
  * @module purecloud-platform-client-v2/api/AuthorizationApi
9573
- * @version 191.0.0
9573
+ * @version 192.0.0
9574
9574
  */
9575
9575
 
9576
9576
  /**
@@ -10130,8 +10130,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10130
10130
  * Returns a listing of roles and permissions for a user.
10131
10131
  *
10132
10132
  * @param {String} subjectId Subject ID (user or group)
10133
+ * @param {Object} opts Optional parameters
10134
+ * @param {Object} opts.includeDuplicates Include multiple entries with the same role and division but different subjects (default to false)
10133
10135
  */
10134
- getAuthorizationSubject(subjectId) {
10136
+ getAuthorizationSubject(subjectId, opts) {
10137
+ opts = opts || {};
10138
+
10135
10139
  // verify the required parameter 'subjectId' is set
10136
10140
  if (subjectId === undefined || subjectId === null) {
10137
10141
  throw 'Missing the required parameter "subjectId" when calling getAuthorizationSubject';
@@ -10141,7 +10145,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10141
10145
  '/api/v2/authorization/subjects/{subjectId}',
10142
10146
  'GET',
10143
10147
  { 'subjectId': subjectId },
10144
- { },
10148
+ { 'includeDuplicates': opts['includeDuplicates'] },
10145
10149
  { },
10146
10150
  { },
10147
10151
  null,
@@ -10154,14 +10158,18 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10154
10158
  /**
10155
10159
  * Returns a listing of roles and permissions for the currently authenticated user.
10156
10160
  *
10161
+ * @param {Object} opts Optional parameters
10162
+ * @param {Object} opts.includeDuplicates Include multiple entries with the same role and division but different subjects (default to false)
10157
10163
  */
10158
- getAuthorizationSubjectsMe() {
10164
+ getAuthorizationSubjectsMe(opts) {
10165
+ opts = opts || {};
10166
+
10159
10167
 
10160
10168
  return this.apiClient.callApi(
10161
10169
  '/api/v2/authorization/subjects/me',
10162
10170
  'GET',
10163
10171
  { },
10164
- { },
10172
+ { 'includeDuplicates': opts['includeDuplicates'] },
10165
10173
  { },
10166
10174
  { },
10167
10175
  null,
@@ -10800,7 +10808,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10800
10808
  /**
10801
10809
  * Billing service.
10802
10810
  * @module purecloud-platform-client-v2/api/BillingApi
10803
- * @version 191.0.0
10811
+ * @version 192.0.0
10804
10812
  */
10805
10813
 
10806
10814
  /**
@@ -10880,7 +10888,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10880
10888
  /**
10881
10889
  * CarrierServices service.
10882
10890
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
10883
- * @version 191.0.0
10891
+ * @version 192.0.0
10884
10892
  */
10885
10893
 
10886
10894
  /**
@@ -10950,7 +10958,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10950
10958
  /**
10951
10959
  * Chat service.
10952
10960
  * @module purecloud-platform-client-v2/api/ChatApi
10953
- * @version 191.0.0
10961
+ * @version 192.0.0
10954
10962
  */
10955
10963
 
10956
10964
  /**
@@ -10996,25 +11004,25 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10996
11004
  }
10997
11005
 
10998
11006
  /**
10999
- * Remove a user from a room.
11007
+ * Remove a pinned message from a room
11000
11008
  *
11001
11009
  * @param {String} roomJid roomJid
11002
- * @param {String} userId userId
11010
+ * @param {String} pinnedMessageId pinnedMessageId
11003
11011
  */
11004
- deleteChatsRoomParticipant(roomJid, userId) {
11012
+ deleteChatsRoomMessagesPin(roomJid, pinnedMessageId) {
11005
11013
  // verify the required parameter 'roomJid' is set
11006
11014
  if (roomJid === undefined || roomJid === null) {
11007
- throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomParticipant';
11015
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomMessagesPin';
11008
11016
  }
11009
- // verify the required parameter 'userId' is set
11010
- if (userId === undefined || userId === null) {
11011
- throw 'Missing the required parameter "userId" when calling deleteChatsRoomParticipant';
11017
+ // verify the required parameter 'pinnedMessageId' is set
11018
+ if (pinnedMessageId === undefined || pinnedMessageId === null) {
11019
+ throw 'Missing the required parameter "pinnedMessageId" when calling deleteChatsRoomMessagesPin';
11012
11020
  }
11013
11021
 
11014
11022
  return this.apiClient.callApi(
11015
- '/api/v2/chats/rooms/{roomJid}/participants/{userId}',
11023
+ '/api/v2/chats/rooms/{roomJid}/messages/pins/{pinnedMessageId}',
11016
11024
  'DELETE',
11017
- { 'roomJid': roomJid,'userId': userId },
11025
+ { 'roomJid': roomJid,'pinnedMessageId': pinnedMessageId },
11018
11026
  { },
11019
11027
  { },
11020
11028
  { },
@@ -11026,25 +11034,25 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11026
11034
  }
11027
11035
 
11028
11036
  /**
11029
- * Remove a pinned message from a room
11037
+ * Remove a user from a room.
11030
11038
  *
11031
11039
  * @param {String} roomJid roomJid
11032
- * @param {String} pinnedMessageId pinnedMessageId
11040
+ * @param {String} userId userId
11033
11041
  */
11034
- deleteChatsRoomPinnedmessage(roomJid, pinnedMessageId) {
11042
+ deleteChatsRoomParticipant(roomJid, userId) {
11035
11043
  // verify the required parameter 'roomJid' is set
11036
11044
  if (roomJid === undefined || roomJid === null) {
11037
- throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomPinnedmessage';
11045
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomParticipant';
11038
11046
  }
11039
- // verify the required parameter 'pinnedMessageId' is set
11040
- if (pinnedMessageId === undefined || pinnedMessageId === null) {
11041
- throw 'Missing the required parameter "pinnedMessageId" when calling deleteChatsRoomPinnedmessage';
11047
+ // verify the required parameter 'userId' is set
11048
+ if (userId === undefined || userId === null) {
11049
+ throw 'Missing the required parameter "userId" when calling deleteChatsRoomParticipant';
11042
11050
  }
11043
11051
 
11044
11052
  return this.apiClient.callApi(
11045
- '/api/v2/chats/rooms/{roomJid}/pinnedmessages/{pinnedMessageId}',
11053
+ '/api/v2/chats/rooms/{roomJid}/participants/{userId}',
11046
11054
  'DELETE',
11047
- { 'roomJid': roomJid,'pinnedMessageId': pinnedMessageId },
11055
+ { 'roomJid': roomJid,'userId': userId },
11048
11056
  { },
11049
11057
  { },
11050
11058
  { },
@@ -11085,6 +11093,37 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11085
11093
  );
11086
11094
  }
11087
11095
 
11096
+ /**
11097
+ * Remove a pinned message from a 1on1
11098
+ *
11099
+ * @param {String} userId userId
11100
+ * @param {String} pinnedMessageId pinnedMessageId
11101
+ * deleteChatsUserMessagesPin is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11102
+ */
11103
+ deleteChatsUserMessagesPin(userId, pinnedMessageId) {
11104
+ // verify the required parameter 'userId' is set
11105
+ if (userId === undefined || userId === null) {
11106
+ throw 'Missing the required parameter "userId" when calling deleteChatsUserMessagesPin';
11107
+ }
11108
+ // verify the required parameter 'pinnedMessageId' is set
11109
+ if (pinnedMessageId === undefined || pinnedMessageId === null) {
11110
+ throw 'Missing the required parameter "pinnedMessageId" when calling deleteChatsUserMessagesPin';
11111
+ }
11112
+
11113
+ return this.apiClient.callApi(
11114
+ '/api/v2/chats/users/{userId}/messages/pins/{pinnedMessageId}',
11115
+ 'DELETE',
11116
+ { 'userId': userId,'pinnedMessageId': pinnedMessageId },
11117
+ { },
11118
+ { },
11119
+ { },
11120
+ null,
11121
+ ['PureCloud OAuth'],
11122
+ ['application/json'],
11123
+ ['application/json']
11124
+ );
11125
+ }
11126
+
11088
11127
  /**
11089
11128
  * Get a message
11090
11129
  *
@@ -11302,6 +11341,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11302
11341
  );
11303
11342
  }
11304
11343
 
11344
+ /**
11345
+ * Get information for a 1on1
11346
+ *
11347
+ * @param {String} userId userId
11348
+ * getChatsUser is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11349
+ */
11350
+ getChatsUser(userId) {
11351
+ // verify the required parameter 'userId' is set
11352
+ if (userId === undefined || userId === null) {
11353
+ throw 'Missing the required parameter "userId" when calling getChatsUser';
11354
+ }
11355
+
11356
+ return this.apiClient.callApi(
11357
+ '/api/v2/chats/users/{userId}',
11358
+ 'GET',
11359
+ { 'userId': userId },
11360
+ { },
11361
+ { },
11362
+ { },
11363
+ null,
11364
+ ['PureCloud OAuth'],
11365
+ ['application/json'],
11366
+ ['application/json']
11367
+ );
11368
+ }
11369
+
11305
11370
  /**
11306
11371
  * Get messages by id(s) from a 1on1
11307
11372
  *
@@ -11576,29 +11641,29 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11576
11641
  }
11577
11642
 
11578
11643
  /**
11579
- * Join a room
11644
+ * Add pinned messages for a room, up to a maximum of 5 pinned messages
11580
11645
  *
11581
11646
  * @param {String} roomJid roomJid
11582
- * @param {String} userId userId
11647
+ * @param {Object} body Pinned Message Ids
11583
11648
  */
11584
- postChatsRoomParticipant(roomJid, userId) {
11649
+ postChatsRoomMessagesPins(roomJid, body) {
11585
11650
  // verify the required parameter 'roomJid' is set
11586
11651
  if (roomJid === undefined || roomJid === null) {
11587
- throw 'Missing the required parameter "roomJid" when calling postChatsRoomParticipant';
11652
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomMessagesPins';
11588
11653
  }
11589
- // verify the required parameter 'userId' is set
11590
- if (userId === undefined || userId === null) {
11591
- throw 'Missing the required parameter "userId" when calling postChatsRoomParticipant';
11654
+ // verify the required parameter 'body' is set
11655
+ if (body === undefined || body === null) {
11656
+ throw 'Missing the required parameter "body" when calling postChatsRoomMessagesPins';
11592
11657
  }
11593
11658
 
11594
11659
  return this.apiClient.callApi(
11595
- '/api/v2/chats/rooms/{roomJid}/participants/{userId}',
11660
+ '/api/v2/chats/rooms/{roomJid}/messages/pins',
11596
11661
  'POST',
11597
- { 'roomJid': roomJid,'userId': userId },
11662
+ { 'roomJid': roomJid },
11598
11663
  { },
11599
11664
  { },
11600
11665
  { },
11601
- null,
11666
+ body,
11602
11667
  ['PureCloud OAuth'],
11603
11668
  ['application/json'],
11604
11669
  ['application/json']
@@ -11606,29 +11671,29 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11606
11671
  }
11607
11672
 
11608
11673
  /**
11609
- * Add pinned messages for a room, up to a maximum of 5 pinned messages
11674
+ * Join a room
11610
11675
  *
11611
11676
  * @param {String} roomJid roomJid
11612
- * @param {Object} body Pinned Message Ids
11677
+ * @param {String} userId userId
11613
11678
  */
11614
- postChatsRoomPinnedmessages(roomJid, body) {
11679
+ postChatsRoomParticipant(roomJid, userId) {
11615
11680
  // verify the required parameter 'roomJid' is set
11616
11681
  if (roomJid === undefined || roomJid === null) {
11617
- throw 'Missing the required parameter "roomJid" when calling postChatsRoomPinnedmessages';
11682
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomParticipant';
11618
11683
  }
11619
- // verify the required parameter 'body' is set
11620
- if (body === undefined || body === null) {
11621
- throw 'Missing the required parameter "body" when calling postChatsRoomPinnedmessages';
11684
+ // verify the required parameter 'userId' is set
11685
+ if (userId === undefined || userId === null) {
11686
+ throw 'Missing the required parameter "userId" when calling postChatsRoomParticipant';
11622
11687
  }
11623
11688
 
11624
11689
  return this.apiClient.callApi(
11625
- '/api/v2/chats/rooms/{roomJid}/pinnedmessages',
11690
+ '/api/v2/chats/rooms/{roomJid}/participants/{userId}',
11626
11691
  'POST',
11627
- { 'roomJid': roomJid },
11692
+ { 'roomJid': roomJid,'userId': userId },
11628
11693
  { },
11629
11694
  { },
11630
11695
  { },
11631
- body,
11696
+ null,
11632
11697
  ['PureCloud OAuth'],
11633
11698
  ['application/json'],
11634
11699
  ['application/json']
@@ -11690,6 +11755,37 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11690
11755
  );
11691
11756
  }
11692
11757
 
11758
+ /**
11759
+ * Add pinned messages for a 1on1, up to a maximum of 5 pinned messages
11760
+ *
11761
+ * @param {String} userId userId
11762
+ * @param {Object} body Pinned Message Ids
11763
+ * postChatsUserMessagesPins is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11764
+ */
11765
+ postChatsUserMessagesPins(userId, body) {
11766
+ // verify the required parameter 'userId' is set
11767
+ if (userId === undefined || userId === null) {
11768
+ throw 'Missing the required parameter "userId" when calling postChatsUserMessagesPins';
11769
+ }
11770
+ // verify the required parameter 'body' is set
11771
+ if (body === undefined || body === null) {
11772
+ throw 'Missing the required parameter "body" when calling postChatsUserMessagesPins';
11773
+ }
11774
+
11775
+ return this.apiClient.callApi(
11776
+ '/api/v2/chats/users/{userId}/messages/pins',
11777
+ 'POST',
11778
+ { 'userId': userId },
11779
+ { },
11780
+ { },
11781
+ { },
11782
+ body,
11783
+ ['PureCloud OAuth'],
11784
+ ['application/json'],
11785
+ ['application/json']
11786
+ );
11787
+ }
11788
+
11693
11789
  /**
11694
11790
  * Update reactions to a message
11695
11791
  *
@@ -11751,7 +11847,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
11751
11847
  /**
11752
11848
  * Coaching service.
11753
11849
  * @module purecloud-platform-client-v2/api/CoachingApi
11754
- * @version 191.0.0
11850
+ * @version 192.0.0
11755
11851
  */
11756
11852
 
11757
11853
  /**
@@ -12328,7 +12424,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
12328
12424
  /**
12329
12425
  * ContentManagement service.
12330
12426
  * @module purecloud-platform-client-v2/api/ContentManagementApi
12331
- * @version 191.0.0
12427
+ * @version 192.0.0
12332
12428
  */
12333
12429
 
12334
12430
  /**
@@ -13410,7 +13506,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13410
13506
  /**
13411
13507
  * Conversations service.
13412
13508
  * @module purecloud-platform-client-v2/api/ConversationsApi
13413
- * @version 191.0.0
13509
+ * @version 192.0.0
13414
13510
  */
13415
13511
 
13416
13512
  /**
@@ -14785,12 +14881,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14785
14881
 
14786
14882
  /**
14787
14883
  * Get the wrap-up for this conversation communication.
14788
- *
14884
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
14789
14885
  * @param {String} conversationId conversationId
14790
14886
  * @param {String} participantId participantId
14791
14887
  * @param {String} communicationId communicationId
14792
14888
  * @param {Object} opts Optional parameters
14793
14889
  * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
14890
+ * @deprecated
14794
14891
  */
14795
14892
  getConversationsCobrowsesessionParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
14796
14893
  opts = opts || {};
@@ -14824,11 +14921,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14824
14921
 
14825
14922
  /**
14826
14923
  * Get the wrap-up for this conversation participant.
14827
- *
14924
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
14828
14925
  * @param {String} conversationId conversationId
14829
14926
  * @param {String} participantId participantId
14830
14927
  * @param {Object} opts Optional parameters
14831
14928
  * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
14929
+ * @deprecated
14832
14930
  */
14833
14931
  getConversationsCobrowsesessionParticipantWrapup(conversationId, participantId, opts) {
14834
14932
  opts = opts || {};
@@ -14858,9 +14956,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14858
14956
 
14859
14957
  /**
14860
14958
  * Get list of wrapup codes for this conversation participant
14861
- *
14959
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
14862
14960
  * @param {String} conversationId conversationId
14863
14961
  * @param {String} participantId participantId
14962
+ * @deprecated
14864
14963
  */
14865
14964
  getConversationsCobrowsesessionParticipantWrapupcodes(conversationId, participantId) {
14866
14965
  // verify the required parameter 'conversationId' is set
@@ -15986,12 +16085,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15986
16085
  }
15987
16086
 
15988
16087
  /**
15989
- * Get a list of Messaging Stickers
15990
- *
16088
+ * Get a list of Messaging Stickers (Deprecated)
16089
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-native-line-third-party-messaging-channel/
15991
16090
  * @param {Object} messengerType Messenger Type
15992
16091
  * @param {Object} opts Optional parameters
15993
16092
  * @param {Number} opts.pageSize Page size (default to 25)
15994
16093
  * @param {Number} opts.pageNumber Page number (default to 1)
16094
+ * @deprecated
15995
16095
  */
15996
16096
  getConversationsMessagingSticker(messengerType, opts) {
15997
16097
  opts = opts || {};
@@ -16107,12 +16207,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16107
16207
 
16108
16208
  /**
16109
16209
  * Get the wrap-up for this conversation communication.
16110
- *
16210
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
16111
16211
  * @param {String} conversationId conversationId
16112
16212
  * @param {String} participantId participantId
16113
16213
  * @param {String} communicationId communicationId
16114
16214
  * @param {Object} opts Optional parameters
16115
16215
  * @param {Boolean} opts.provisional Indicates if the wrap-up code is provisional. (default to false)
16216
+ * @deprecated
16116
16217
  */
16117
16218
  getConversationsScreenshareParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
16118
16219
  opts = opts || {};
@@ -16916,9 +17017,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16916
17017
 
16917
17018
  /**
16918
17019
  * Update a conversation by disconnecting all of the participants
16919
- *
17020
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
16920
17021
  * @param {String} conversationId conversationId
16921
17022
  * @param {Object} body Conversation
17023
+ * @deprecated
16922
17024
  */
16923
17025
  patchConversationsCobrowsesession(conversationId, body) {
16924
17026
  // verify the required parameter 'conversationId' is set
@@ -16946,11 +17048,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16946
17048
 
16947
17049
  /**
16948
17050
  * Update conversation participant
16949
- *
17051
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
16950
17052
  * @param {String} conversationId conversationId
16951
17053
  * @param {String} participantId participantId
16952
17054
  * @param {Object} opts Optional parameters
16953
17055
  * @param {Object} opts.body
17056
+ * @deprecated
16954
17057
  */
16955
17058
  patchConversationsCobrowsesessionParticipant(conversationId, participantId, opts) {
16956
17059
  opts = opts || {};
@@ -16980,11 +17083,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16980
17083
 
16981
17084
  /**
16982
17085
  * Update the attributes on a conversation participant.
16983
- *
17086
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
16984
17087
  * @param {String} conversationId conversationId
16985
17088
  * @param {String} participantId participantId
16986
17089
  * @param {Object} opts Optional parameters
16987
17090
  * @param {Object} opts.body
17091
+ * @deprecated
16988
17092
  */
16989
17093
  patchConversationsCobrowsesessionParticipantAttributes(conversationId, participantId, opts) {
16990
17094
  opts = opts || {};
@@ -17014,11 +17118,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17014
17118
 
17015
17119
  /**
17016
17120
  * Update conversation participant's communication by disconnecting it.
17017
- *
17121
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
17018
17122
  * @param {String} conversationId conversationId
17019
17123
  * @param {String} participantId participantId
17020
17124
  * @param {String} communicationId communicationId
17021
17125
  * @param {Object} body Participant
17126
+ * @deprecated
17022
17127
  */
17023
17128
  patchConversationsCobrowsesessionParticipantCommunication(conversationId, participantId, communicationId, body) {
17024
17129
  // verify the required parameter 'conversationId' is set
@@ -18876,12 +18981,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18876
18981
 
18877
18982
  /**
18878
18983
  * Apply wrap-up for this conversation communication
18879
- *
18984
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
18880
18985
  * @param {String} conversationId conversationId
18881
18986
  * @param {String} participantId participantId
18882
18987
  * @param {String} communicationId communicationId
18883
18988
  * @param {Object} opts Optional parameters
18884
18989
  * @param {Object} opts.body Wrap-up
18990
+ * @deprecated
18885
18991
  */
18886
18992
  postConversationsCobrowsesessionParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
18887
18993
  opts = opts || {};
@@ -18915,11 +19021,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18915
19021
 
18916
19022
  /**
18917
19023
  * Replace this participant with the specified user and/or address
18918
- *
19024
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
18919
19025
  * @param {String} conversationId conversationId
18920
19026
  * @param {String} participantId participantId
18921
19027
  * @param {Object} opts Optional parameters
18922
19028
  * @param {Object} opts.body
19029
+ * @deprecated
18923
19030
  */
18924
19031
  postConversationsCobrowsesessionParticipantReplace(conversationId, participantId, opts) {
18925
19032
  opts = opts || {};
@@ -19616,8 +19723,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19616
19723
 
19617
19724
  /**
19618
19725
  * Send an inbound Open Message
19619
- * Send an inbound message to an Open Messaging integration. In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. This will either generate a new Conversation, or be a part of an existing conversation. See https://developer.genesys.cloud/api/digital/openmessaging/ for example usage.
19726
+ * [This API is deprecated. Instead, use 1. POST /api/v2/conversations/messages/{integrationId}/inbound/open/event, if you want to send an inbound Open Event Message 2. POST /api/v2/conversations/messages/{integrationId}/inbound/open/message, if you want to send an inbound Open Message 3. POST /api/v2/conversations/messages/{integrationId}/inbound/open/receipt, to send an inbound Open Receipt Message] In order to call this endpoint you will need OAuth token generated using OAuth client credentials authorized with at least messaging scope. This will either generate a new Conversation, or be a part of an existing conversation. See https://developer.genesys.cloud/api/digital/openmessaging/ for example usage.
19620
19727
  * @param {Object} body NormalizedMessage
19728
+ * @deprecated
19621
19729
  */
19622
19730
  postConversationsMessagesInboundOpen(body) {
19623
19731
  // verify the required parameter 'body' is set
@@ -19894,12 +20002,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19894
20002
 
19895
20003
  /**
19896
20004
  * Apply wrap-up for this conversation communication
19897
- *
20005
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
19898
20006
  * @param {String} conversationId conversationId
19899
20007
  * @param {String} participantId participantId
19900
20008
  * @param {String} communicationId communicationId
19901
20009
  * @param {Object} opts Optional parameters
19902
20010
  * @param {Object} opts.body Wrap-up
20011
+ * @deprecated
19903
20012
  */
19904
20013
  postConversationsScreenshareParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
19905
20014
  opts = opts || {};
@@ -20513,9 +20622,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20513
20622
 
20514
20623
  /**
20515
20624
  * Update a conversation by setting its recording state
20516
- *
20625
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
20517
20626
  * @param {String} conversationId conversationId
20518
20627
  * @param {Object} body SetRecordingState
20628
+ * @deprecated
20519
20629
  */
20520
20630
  putConversationsScreenshareRecordingstate(conversationId, body) {
20521
20631
  // verify the required parameter 'conversationId' is set
@@ -20607,7 +20717,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20607
20717
  /**
20608
20718
  * DataExtensions service.
20609
20719
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
20610
- * @version 191.0.0
20720
+ * @version 192.0.0
20611
20721
  */
20612
20722
 
20613
20723
  /**
@@ -20693,7 +20803,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20693
20803
  /**
20694
20804
  * Downloads service.
20695
20805
  * @module purecloud-platform-client-v2/api/DownloadsApi
20696
- * @version 191.0.0
20806
+ * @version 192.0.0
20697
20807
  */
20698
20808
 
20699
20809
  /**
@@ -20745,7 +20855,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20745
20855
  /**
20746
20856
  * Emails service.
20747
20857
  * @module purecloud-platform-client-v2/api/EmailsApi
20748
- * @version 191.0.0
20858
+ * @version 192.0.0
20749
20859
  */
20750
20860
 
20751
20861
  /**
@@ -20810,7 +20920,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20810
20920
  /**
20811
20921
  * Events service.
20812
20922
  * @module purecloud-platform-client-v2/api/EventsApi
20813
- * @version 191.0.0
20923
+ * @version 192.0.0
20814
20924
  */
20815
20925
 
20816
20926
  /**
@@ -20906,7 +21016,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20906
21016
  /**
20907
21017
  * ExternalContacts service.
20908
21018
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
20909
- * @version 191.0.0
21019
+ * @version 192.0.0
20910
21020
  */
20911
21021
 
20912
21022
  /**
@@ -22864,7 +22974,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22864
22974
  /**
22865
22975
  * Fax service.
22866
22976
  * @module purecloud-platform-client-v2/api/FaxApi
22867
- * @version 191.0.0
22977
+ * @version 192.0.0
22868
22978
  */
22869
22979
 
22870
22980
  /**
@@ -22979,6 +23089,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22979
23089
  );
22980
23090
  }
22981
23091
 
23092
+ /**
23093
+ * Get organization config for given organization
23094
+ *
23095
+ */
23096
+ getFaxSettings() {
23097
+
23098
+ return this.apiClient.callApi(
23099
+ '/api/v2/fax/settings',
23100
+ 'GET',
23101
+ { },
23102
+ { },
23103
+ { },
23104
+ { },
23105
+ null,
23106
+ ['PureCloud OAuth'],
23107
+ ['application/json'],
23108
+ ['application/json']
23109
+ );
23110
+ }
23111
+
22982
23112
  /**
22983
23113
  * Get fax summary
22984
23114
  *
@@ -23029,13 +23159,37 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23029
23159
  );
23030
23160
  }
23031
23161
 
23162
+ /**
23163
+ * Update/write organization config for given organization
23164
+ *
23165
+ * @param {Object} opts Optional parameters
23166
+ * @param {Object} opts.body
23167
+ */
23168
+ putFaxSettings(opts) {
23169
+ opts = opts || {};
23170
+
23171
+
23172
+ return this.apiClient.callApi(
23173
+ '/api/v2/fax/settings',
23174
+ 'PUT',
23175
+ { },
23176
+ { },
23177
+ { },
23178
+ { },
23179
+ opts['body'],
23180
+ ['PureCloud OAuth'],
23181
+ ['application/json'],
23182
+ ['application/json']
23183
+ );
23184
+ }
23185
+
23032
23186
  }
23033
23187
 
23034
23188
  class FlowsApi {
23035
23189
  /**
23036
23190
  * Flows service.
23037
23191
  * @module purecloud-platform-client-v2/api/FlowsApi
23038
- * @version 191.0.0
23192
+ * @version 192.0.0
23039
23193
  */
23040
23194
 
23041
23195
  /**
@@ -23219,7 +23373,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23219
23373
  /**
23220
23374
  * Gamification service.
23221
23375
  * @module purecloud-platform-client-v2/api/GamificationApi
23222
- * @version 191.0.0
23376
+ * @version 192.0.0
23223
23377
  */
23224
23378
 
23225
23379
  /**
@@ -25305,7 +25459,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25305
25459
  /**
25306
25460
  * GeneralDataProtectionRegulation service.
25307
25461
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
25308
- * @version 191.0.0
25462
+ * @version 192.0.0
25309
25463
  */
25310
25464
 
25311
25465
  /**
@@ -25435,7 +25589,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25435
25589
  /**
25436
25590
  * Geolocation service.
25437
25591
  * @module purecloud-platform-client-v2/api/GeolocationApi
25438
- * @version 191.0.0
25592
+ * @version 192.0.0
25439
25593
  */
25440
25594
 
25441
25595
  /**
@@ -25566,7 +25720,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25566
25720
  /**
25567
25721
  * Greetings service.
25568
25722
  * @module purecloud-platform-client-v2/api/GreetingsApi
25569
- * @version 191.0.0
25723
+ * @version 192.0.0
25570
25724
  */
25571
25725
 
25572
25726
  /**
@@ -26021,7 +26175,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26021
26175
  /**
26022
26176
  * Groups service.
26023
26177
  * @module purecloud-platform-client-v2/api/GroupsApi
26024
- * @version 191.0.0
26178
+ * @version 192.0.0
26025
26179
  */
26026
26180
 
26027
26181
  /**
@@ -26540,7 +26694,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26540
26694
  /**
26541
26695
  * IdentityProvider service.
26542
26696
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
26543
- * @version 191.0.0
26697
+ * @version 192.0.0
26544
26698
  */
26545
26699
 
26546
26700
  /**
@@ -27401,7 +27555,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27401
27555
  /**
27402
27556
  * InfrastructureAsCode service.
27403
27557
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
27404
- * @version 191.0.0
27558
+ * @version 192.0.0
27405
27559
  */
27406
27560
 
27407
27561
  /**
@@ -27568,7 +27722,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27568
27722
  /**
27569
27723
  * Integrations service.
27570
27724
  * @module purecloud-platform-client-v2/api/IntegrationsApi
27571
- * @version 191.0.0
27725
+ * @version 192.0.0
27572
27726
  */
27573
27727
 
27574
27728
  /**
@@ -28327,7 +28481,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28327
28481
 
28328
28482
  /**
28329
28483
  * UC integration client application configuration.
28330
- * This endpoint returns basic UI configuration data for all Unified Communications integrations client applications enabled for the current organization.
28484
+ * Deprecated: Please use GET /integrations/unifiedcommunications/clientapps instead. This endpoint returns basic UI configuration data for all Unified Communications integrations client applications enabled for the current organization.
28331
28485
  * @param {Object} opts Optional parameters
28332
28486
  * @param {Number} opts.pageSize The total page size requested (default to 25)
28333
28487
  * @param {Number} opts.pageNumber The page number requested (default to 1)
@@ -28335,6 +28489,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28335
28489
  * @param {Array.<String>} opts.expand variable name requested by expand list
28336
28490
  * @param {String} opts.nextPage next page token
28337
28491
  * @param {String} opts.previousPage Previous page token
28492
+ * @deprecated
28338
28493
  */
28339
28494
  getIntegrationsClientappsUnifiedcommunications(opts) {
28340
28495
  opts = opts || {};
@@ -29919,7 +30074,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29919
30074
  /**
29920
30075
  * Journey service.
29921
30076
  * @module purecloud-platform-client-v2/api/JourneyApi
29922
- * @version 191.0.0
30077
+ * @version 192.0.0
29923
30078
  */
29924
30079
 
29925
30080
  /**
@@ -31509,7 +31664,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31509
31664
  /**
31510
31665
  * Knowledge service.
31511
31666
  * @module purecloud-platform-client-v2/api/KnowledgeApi
31512
- * @version 191.0.0
31667
+ * @version 192.0.0
31513
31668
  */
31514
31669
 
31515
31670
  /**
@@ -34752,7 +34907,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34752
34907
  /**
34753
34908
  * LanguageUnderstanding service.
34754
34909
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
34755
- * @version 191.0.0
34910
+ * @version 192.0.0
34756
34911
  */
34757
34912
 
34758
34913
  /**
@@ -35392,6 +35547,27 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35392
35547
  );
35393
35548
  }
35394
35549
 
35550
+ /**
35551
+ * Get Organization Configuration
35552
+ *
35553
+ * getLanguageunderstandingSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
35554
+ */
35555
+ getLanguageunderstandingSettings() {
35556
+
35557
+ return this.apiClient.callApi(
35558
+ '/api/v2/languageunderstanding/settings',
35559
+ 'GET',
35560
+ { },
35561
+ { },
35562
+ { },
35563
+ { },
35564
+ null,
35565
+ ['PureCloud OAuth'],
35566
+ ['application/json'],
35567
+ ['application/json']
35568
+ );
35569
+ }
35570
+
35395
35571
  /**
35396
35572
  * Update an NLU Domain.
35397
35573
  *
@@ -35765,7 +35941,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35765
35941
  /**
35766
35942
  * Languages service.
35767
35943
  * @module purecloud-platform-client-v2/api/LanguagesApi
35768
- * @version 191.0.0
35944
+ * @version 192.0.0
35769
35945
  */
35770
35946
 
35771
35947
  /**
@@ -35987,7 +36163,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35987
36163
  /**
35988
36164
  * Learning service.
35989
36165
  * @module purecloud-platform-client-v2/api/LearningApi
35990
- * @version 191.0.0
36166
+ * @version 192.0.0
35991
36167
  */
35992
36168
 
35993
36169
  /**
@@ -36842,7 +37018,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36842
37018
  /**
36843
37019
  * License service.
36844
37020
  * @module purecloud-platform-client-v2/api/LicenseApi
36845
- * @version 191.0.0
37021
+ * @version 192.0.0
36846
37022
  */
36847
37023
 
36848
37024
  /**
@@ -37080,7 +37256,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37080
37256
  /**
37081
37257
  * Locations service.
37082
37258
  * @module purecloud-platform-client-v2/api/LocationsApi
37083
- * @version 191.0.0
37259
+ * @version 192.0.0
37084
37260
  */
37085
37261
 
37086
37262
  /**
@@ -37316,7 +37492,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37316
37492
  /**
37317
37493
  * LogCapture service.
37318
37494
  * @module purecloud-platform-client-v2/api/LogCaptureApi
37319
- * @version 191.0.0
37495
+ * @version 192.0.0
37320
37496
  */
37321
37497
 
37322
37498
  /**
@@ -37516,7 +37692,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37516
37692
  /**
37517
37693
  * Messaging service.
37518
37694
  * @module purecloud-platform-client-v2/api/MessagingApi
37519
- * @version 191.0.0
37695
+ * @version 192.0.0
37520
37696
  */
37521
37697
 
37522
37698
  /**
@@ -37875,7 +38051,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37875
38051
  /**
37876
38052
  * MobileDevices service.
37877
38053
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
37878
- * @version 191.0.0
38054
+ * @version 192.0.0
37879
38055
  */
37880
38056
 
37881
38057
  /**
@@ -38026,7 +38202,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38026
38202
  /**
38027
38203
  * Notifications service.
38028
38204
  * @module purecloud-platform-client-v2/api/NotificationsApi
38029
- * @version 191.0.0
38205
+ * @version 192.0.0
38030
38206
  */
38031
38207
 
38032
38208
  /**
@@ -38259,7 +38435,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38259
38435
  /**
38260
38436
  * OAuth service.
38261
38437
  * @module purecloud-platform-client-v2/api/OAuthApi
38262
- * @version 191.0.0
38438
+ * @version 192.0.0
38263
38439
  */
38264
38440
 
38265
38441
  /**
@@ -38625,7 +38801,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38625
38801
  /**
38626
38802
  * Objects service.
38627
38803
  * @module purecloud-platform-client-v2/api/ObjectsApi
38628
- * @version 191.0.0
38804
+ * @version 192.0.0
38629
38805
  */
38630
38806
 
38631
38807
  /**
@@ -38895,7 +39071,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38895
39071
  /**
38896
39072
  * OperationalEvents service.
38897
39073
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
38898
- * @version 191.0.0
39074
+ * @version 192.0.0
38899
39075
  */
38900
39076
 
38901
39077
  /**
@@ -38961,7 +39137,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38961
39137
  /**
38962
39138
  * Organization service.
38963
39139
  * @module purecloud-platform-client-v2/api/OrganizationApi
38964
- * @version 191.0.0
39140
+ * @version 192.0.0
38965
39141
  */
38966
39142
 
38967
39143
  /**
@@ -39416,7 +39592,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39416
39592
  /**
39417
39593
  * OrganizationAuthorization service.
39418
39594
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
39419
- * @version 191.0.0
39595
+ * @version 192.0.0
39420
39596
  */
39421
39597
 
39422
39598
  /**
@@ -40763,7 +40939,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40763
40939
  /**
40764
40940
  * Outbound service.
40765
40941
  * @module purecloud-platform-client-v2/api/OutboundApi
40766
- * @version 191.0.0
40942
+ * @version 192.0.0
40767
40943
  */
40768
40944
 
40769
40945
  /**
@@ -43486,8 +43662,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43486
43662
  }
43487
43663
 
43488
43664
  /**
43489
- * Retrieves audits for dialer.
43490
- *
43665
+ * Retrieves audits for dialer. (Deprecated)
43666
+ * This endpoint is deprecated as a result of this functionality being moved to the Audit Service. Please use "/api/v2/audits/query" instead.
43491
43667
  * @param {Object} body AuditSearch
43492
43668
  * @param {Object} opts Optional parameters
43493
43669
  * @param {Number} opts.pageSize Page size (default to 25)
@@ -43495,6 +43671,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43495
43671
  * @param {String} opts.sortBy Sort by (default to entity.name)
43496
43672
  * @param {String} opts.sortOrder Sort order (default to ascending)
43497
43673
  * @param {Boolean} opts.facetsOnly Facets only (default to false)
43674
+ * @deprecated
43498
43675
  */
43499
43676
  postOutboundAudits(body, opts) {
43500
43677
  opts = opts || {};
@@ -45004,7 +45181,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45004
45181
  /**
45005
45182
  * Presence service.
45006
45183
  * @module purecloud-platform-client-v2/api/PresenceApi
45007
- * @version 191.0.0
45184
+ * @version 192.0.0
45008
45185
  */
45009
45186
 
45010
45187
  /**
@@ -45748,7 +45925,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45748
45925
  /**
45749
45926
  * ProcessAutomation service.
45750
45927
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
45751
- * @version 191.0.0
45928
+ * @version 192.0.0
45752
45929
  */
45753
45930
 
45754
45931
  /**
@@ -45987,7 +46164,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45987
46164
  /**
45988
46165
  * Quality service.
45989
46166
  * @module purecloud-platform-client-v2/api/QualityApi
45990
- * @version 191.0.0
46167
+ * @version 192.0.0
45991
46168
  */
45992
46169
 
45993
46170
  /**
@@ -46323,7 +46500,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46323
46500
 
46324
46501
  /**
46325
46502
  * Get the list of calibrations
46326
- *
46503
+ * NOTE: The count for total and pageCount might not be accurate when querying for a large number of calibrations. nextUri, if present, will indicate that there are more calibrations to fetch.
46327
46504
  * @param {String} calibratorId user id of calibrator
46328
46505
  * @param {Object} opts Optional parameters
46329
46506
  * @param {Number} opts.pageSize The total page size requested (default to 25)
@@ -46475,7 +46652,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46475
46652
 
46476
46653
  /**
46477
46654
  * Queries Evaluations and returns a paged list
46478
- * Query params must include one of conversationId, evaluatorUserId, agentUserId or assigneeUserId. When querying by agentUserId (and not conversationId or evaluatorUserId), the results are sorted by release date. Evaluations set to Never Release are omitted in this case. When querying by evaluatorUserId or conversationId (including when combined with agentUserId), the results are sorted by assigned date.
46655
+ * Query params must include one of conversationId, evaluatorUserId, agentUserId or assigneeUserId. When querying by agentUserId (and not conversationId or evaluatorUserId), the results are sorted by release date. Evaluations set to Never Release are omitted in this case. When querying by evaluatorUserId or conversationId (including when combined with agentUserId), the results are sorted by assigned date. NOTE: The count for total and pageCount might not be accurate when querying for a large number of evaluations. nextUri, if present, will indicate that there are more evaluations to fetch.
46479
46656
  * @param {Object} opts Optional parameters
46480
46657
  * @param {Number} opts.pageSize The total page size requested (default to 25)
46481
46658
  * @param {Number} opts.pageNumber The page number requested (default to 1)
@@ -47744,7 +47921,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47744
47921
  /**
47745
47922
  * Recording service.
47746
47923
  * @module purecloud-platform-client-v2/api/RecordingApi
47747
- * @version 191.0.0
47924
+ * @version 192.0.0
47748
47925
  */
47749
47926
 
47750
47927
  /**
@@ -49403,7 +49580,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49403
49580
  /**
49404
49581
  * ResponseManagement service.
49405
49582
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
49406
- * @version 191.0.0
49583
+ * @version 192.0.0
49407
49584
  */
49408
49585
 
49409
49586
  /**
@@ -49913,7 +50090,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49913
50090
  /**
49914
50091
  * Routing service.
49915
50092
  * @module purecloud-platform-client-v2/api/RoutingApi
49916
- * @version 191.0.0
50093
+ * @version 192.0.0
49917
50094
  */
49918
50095
 
49919
50096
  /**
@@ -53893,7 +54070,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53893
54070
  /**
53894
54071
  * SCIM service.
53895
54072
  * @module purecloud-platform-client-v2/api/SCIMApi
53896
- * @version 191.0.0
54073
+ * @version 192.0.0
53897
54074
  */
53898
54075
 
53899
54076
  /**
@@ -54770,7 +54947,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54770
54947
  /**
54771
54948
  * ScreenRecording service.
54772
54949
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
54773
- * @version 191.0.0
54950
+ * @version 192.0.0
54774
54951
  */
54775
54952
 
54776
54953
  /**
@@ -54815,7 +54992,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54815
54992
  /**
54816
54993
  * Scripts service.
54817
54994
  * @module purecloud-platform-client-v2/api/ScriptsApi
54818
- * @version 191.0.0
54995
+ * @version 192.0.0
54819
54996
  */
54820
54997
 
54821
54998
  /**
@@ -55259,7 +55436,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55259
55436
  /**
55260
55437
  * Search service.
55261
55438
  * @module purecloud-platform-client-v2/api/SearchApi
55262
- * @version 191.0.0
55439
+ * @version 192.0.0
55263
55440
  */
55264
55441
 
55265
55442
  /**
@@ -55948,7 +56125,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55948
56125
  /**
55949
56126
  * Settings service.
55950
56127
  * @module purecloud-platform-client-v2/api/SettingsApi
55951
- * @version 191.0.0
56128
+ * @version 192.0.0
55952
56129
  */
55953
56130
 
55954
56131
  /**
@@ -56060,7 +56237,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56060
56237
  /**
56061
56238
  * SpeechTextAnalytics service.
56062
56239
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
56063
- * @version 191.0.0
56240
+ * @version 192.0.0
56064
56241
  */
56065
56242
 
56066
56243
  /**
@@ -56650,7 +56827,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56650
56827
  *
56651
56828
  * @param {Object} opts Optional parameters
56652
56829
  * @param {String} opts.nextPage The key for listing the next page
56653
- * @param {Number} opts.pageSize The page size for the listing (default to 20)
56830
+ * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 500. (default to 20)
56654
56831
  * @param {Object} opts.state Topic state. Defaults to latest
56655
56832
  * @param {String} opts.name Case insensitive partial name to filter by
56656
56833
  * @param {Array.<String>} opts.ids Comma separated Topic IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
@@ -57174,7 +57351,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57174
57351
  /**
57175
57352
  * Stations service.
57176
57353
  * @module purecloud-platform-client-v2/api/StationsApi
57177
- * @version 191.0.0
57354
+ * @version 192.0.0
57178
57355
  */
57179
57356
 
57180
57357
  /**
@@ -57276,7 +57453,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57276
57453
  /**
57277
57454
  * Suggest service.
57278
57455
  * @module purecloud-platform-client-v2/api/SuggestApi
57279
- * @version 191.0.0
57456
+ * @version 192.0.0
57280
57457
  */
57281
57458
 
57282
57459
  /**
@@ -57415,7 +57592,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57415
57592
  /**
57416
57593
  * TaskManagement service.
57417
57594
  * @module purecloud-platform-client-v2/api/TaskManagementApi
57418
- * @version 191.0.0
57595
+ * @version 192.0.0
57419
57596
  */
57420
57597
 
57421
57598
  /**
@@ -57882,6 +58059,58 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57882
58059
  );
57883
58060
  }
57884
58061
 
58062
+ /**
58063
+ * Get the workitem query job associated with the job id.
58064
+ *
58065
+ * @param {String} jobId jobId
58066
+ * getTaskmanagementWorkitemsQueryJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
58067
+ */
58068
+ getTaskmanagementWorkitemsQueryJob(jobId) {
58069
+ // verify the required parameter 'jobId' is set
58070
+ if (jobId === undefined || jobId === null) {
58071
+ throw 'Missing the required parameter "jobId" when calling getTaskmanagementWorkitemsQueryJob';
58072
+ }
58073
+
58074
+ return this.apiClient.callApi(
58075
+ '/api/v2/taskmanagement/workitems/query/jobs/{jobId}',
58076
+ 'GET',
58077
+ { 'jobId': jobId },
58078
+ { },
58079
+ { },
58080
+ { },
58081
+ null,
58082
+ ['PureCloud OAuth'],
58083
+ ['application/json'],
58084
+ ['application/json']
58085
+ );
58086
+ }
58087
+
58088
+ /**
58089
+ * Get results from for workitem query job
58090
+ *
58091
+ * @param {String} jobId jobId
58092
+ * getTaskmanagementWorkitemsQueryJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
58093
+ */
58094
+ getTaskmanagementWorkitemsQueryJobResults(jobId) {
58095
+ // verify the required parameter 'jobId' is set
58096
+ if (jobId === undefined || jobId === null) {
58097
+ throw 'Missing the required parameter "jobId" when calling getTaskmanagementWorkitemsQueryJobResults';
58098
+ }
58099
+
58100
+ return this.apiClient.callApi(
58101
+ '/api/v2/taskmanagement/workitems/query/jobs/{jobId}/results',
58102
+ 'GET',
58103
+ { 'jobId': jobId },
58104
+ { },
58105
+ { },
58106
+ { },
58107
+ null,
58108
+ ['PureCloud OAuth'],
58109
+ ['application/json'],
58110
+ ['application/json']
58111
+ );
58112
+ }
58113
+
57885
58114
  /**
57886
58115
  * Get a schema
57887
58116
  *
@@ -58578,6 +58807,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58578
58807
  );
58579
58808
  }
58580
58809
 
58810
+ /**
58811
+ * Create a workitem query job
58812
+ *
58813
+ * @param {Object} body WorkitemQueryJobCreate
58814
+ * postTaskmanagementWorkitemsQueryJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
58815
+ */
58816
+ postTaskmanagementWorkitemsQueryJobs(body) {
58817
+ // verify the required parameter 'body' is set
58818
+ if (body === undefined || body === null) {
58819
+ throw 'Missing the required parameter "body" when calling postTaskmanagementWorkitemsQueryJobs';
58820
+ }
58821
+
58822
+ return this.apiClient.callApi(
58823
+ '/api/v2/taskmanagement/workitems/query/jobs',
58824
+ 'POST',
58825
+ { },
58826
+ { },
58827
+ { },
58828
+ { },
58829
+ body,
58830
+ ['PureCloud OAuth'],
58831
+ ['application/json'],
58832
+ ['application/json']
58833
+ );
58834
+ }
58835
+
58581
58836
  /**
58582
58837
  * Create a schema
58583
58838
  *
@@ -58722,7 +58977,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58722
58977
  /**
58723
58978
  * Teams service.
58724
58979
  * @module purecloud-platform-client-v2/api/TeamsApi
58725
- * @version 191.0.0
58980
+ * @version 192.0.0
58726
58981
  */
58727
58982
 
58728
58983
  /**
@@ -59024,7 +59279,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59024
59279
  /**
59025
59280
  * Telephony service.
59026
59281
  * @module purecloud-platform-client-v2/api/TelephonyApi
59027
- * @version 191.0.0
59282
+ * @version 192.0.0
59028
59283
  */
59029
59284
 
59030
59285
  /**
@@ -59206,7 +59461,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59206
59461
  /**
59207
59462
  * TelephonyProvidersEdge service.
59208
59463
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
59209
- * @version 191.0.0
59464
+ * @version 192.0.0
59210
59465
  */
59211
59466
 
59212
59467
  /**
@@ -59973,27 +60228,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59973
60228
  );
59974
60229
  }
59975
60230
 
59976
- /**
59977
- * Get the list of available languages. For never released keyword spotting feature. Deprecated, do not use.
59978
- *
59979
- * @deprecated
59980
- */
59981
- getTelephonyProvidersEdgesAvailablelanguages() {
59982
-
59983
- return this.apiClient.callApi(
59984
- '/api/v2/telephony/providers/edges/availablelanguages',
59985
- 'GET',
59986
- { },
59987
- { },
59988
- { },
59989
- { },
59990
- null,
59991
- ['PureCloud OAuth'],
59992
- ['application/json'],
59993
- ['application/json']
59994
- );
59995
- }
59996
-
59997
60231
  /**
59998
60232
  * Get the list of certificate authorities.
59999
60233
  *
@@ -62555,7 +62789,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62555
62789
  /**
62556
62790
  * Textbots service.
62557
62791
  * @module purecloud-platform-client-v2/api/TextbotsApi
62558
- * @version 191.0.0
62792
+ * @version 192.0.0
62559
62793
  */
62560
62794
 
62561
62795
  /**
@@ -62683,7 +62917,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62683
62917
  /**
62684
62918
  * Tokens service.
62685
62919
  * @module purecloud-platform-client-v2/api/TokensApi
62686
- * @version 191.0.0
62920
+ * @version 192.0.0
62687
62921
  */
62688
62922
 
62689
62923
  /**
@@ -62837,7 +63071,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62837
63071
  /**
62838
63072
  * Uploads service.
62839
63073
  * @module purecloud-platform-client-v2/api/UploadsApi
62840
- * @version 191.0.0
63074
+ * @version 192.0.0
62841
63075
  */
62842
63076
 
62843
63077
  /**
@@ -63106,7 +63340,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63106
63340
  /**
63107
63341
  * Usage service.
63108
63342
  * @module purecloud-platform-client-v2/api/UsageApi
63109
- * @version 191.0.0
63343
+ * @version 192.0.0
63110
63344
  */
63111
63345
 
63112
63346
  /**
@@ -63209,8 +63443,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63209
63443
  * Get the results of a usage search. Number of records to be returned is limited to 20,000 results.
63210
63444
  *
63211
63445
  * @param {String} executionId ID of the search execution
63446
+ * @param {Object} opts Optional parameters
63447
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned
63448
+ * @param {Number} opts.pageSize The max number of entities to be returned per request. Maximum page size of 1000
63212
63449
  */
63213
- getUsageSimplesearchExecutionIdResults(executionId) {
63450
+ getUsageSimplesearchExecutionIdResults(executionId, opts) {
63451
+ opts = opts || {};
63452
+
63214
63453
  // verify the required parameter 'executionId' is set
63215
63454
  if (executionId === undefined || executionId === null) {
63216
63455
  throw 'Missing the required parameter "executionId" when calling getUsageSimplesearchExecutionIdResults';
@@ -63220,7 +63459,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63220
63459
  '/api/v2/usage/simplesearch/{executionId}/results',
63221
63460
  'GET',
63222
63461
  { 'executionId': executionId },
63223
- { },
63462
+ { 'after': opts['after'],'pageSize': opts['pageSize'] },
63224
63463
  { },
63225
63464
  { },
63226
63465
  null,
@@ -63316,7 +63555,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63316
63555
  /**
63317
63556
  * UserRecordings service.
63318
63557
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
63319
- * @version 191.0.0
63558
+ * @version 192.0.0
63320
63559
  */
63321
63560
 
63322
63561
  /**
@@ -63501,7 +63740,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63501
63740
  /**
63502
63741
  * Users service.
63503
63742
  * @module purecloud-platform-client-v2/api/UsersApi
63504
- * @version 191.0.0
63743
+ * @version 192.0.0
63505
63744
  */
63506
63745
 
63507
63746
  /**
@@ -63997,8 +64236,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63997
64236
  * Returns a listing of roles and permissions for a user.
63998
64237
  *
63999
64238
  * @param {String} subjectId Subject ID (user or group)
64239
+ * @param {Object} opts Optional parameters
64240
+ * @param {Object} opts.includeDuplicates Include multiple entries with the same role and division but different subjects (default to false)
64000
64241
  */
64001
- getAuthorizationSubject(subjectId) {
64242
+ getAuthorizationSubject(subjectId, opts) {
64243
+ opts = opts || {};
64244
+
64002
64245
  // verify the required parameter 'subjectId' is set
64003
64246
  if (subjectId === undefined || subjectId === null) {
64004
64247
  throw 'Missing the required parameter "subjectId" when calling getAuthorizationSubject';
@@ -64008,7 +64251,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64008
64251
  '/api/v2/authorization/subjects/{subjectId}',
64009
64252
  'GET',
64010
64253
  { 'subjectId': subjectId },
64011
- { },
64254
+ { 'includeDuplicates': opts['includeDuplicates'] },
64012
64255
  { },
64013
64256
  { },
64014
64257
  null,
@@ -64021,14 +64264,18 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64021
64264
  /**
64022
64265
  * Returns a listing of roles and permissions for the currently authenticated user.
64023
64266
  *
64267
+ * @param {Object} opts Optional parameters
64268
+ * @param {Object} opts.includeDuplicates Include multiple entries with the same role and division but different subjects (default to false)
64024
64269
  */
64025
- getAuthorizationSubjectsMe() {
64270
+ getAuthorizationSubjectsMe(opts) {
64271
+ opts = opts || {};
64272
+
64026
64273
 
64027
64274
  return this.apiClient.callApi(
64028
64275
  '/api/v2/authorization/subjects/me',
64029
64276
  'GET',
64030
64277
  { },
64031
- { },
64278
+ { 'includeDuplicates': opts['includeDuplicates'] },
64032
64279
  { },
64033
64280
  { },
64034
64281
  null,
@@ -66152,7 +66399,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66152
66399
  /**
66153
66400
  * Utilities service.
66154
66401
  * @module purecloud-platform-client-v2/api/UtilitiesApi
66155
- * @version 191.0.0
66402
+ * @version 192.0.0
66156
66403
  */
66157
66404
 
66158
66405
  /**
@@ -66263,7 +66510,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66263
66510
  /**
66264
66511
  * Voicemail service.
66265
66512
  * @module purecloud-platform-client-v2/api/VoicemailApi
66266
- * @version 191.0.0
66513
+ * @version 192.0.0
66267
66514
  */
66268
66515
 
66269
66516
  /**
@@ -66930,7 +67177,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66930
67177
  /**
66931
67178
  * WebChat service.
66932
67179
  * @module purecloud-platform-client-v2/api/WebChatApi
66933
- * @version 191.0.0
67180
+ * @version 192.0.0
66934
67181
  */
66935
67182
 
66936
67183
  /**
@@ -67070,9 +67317,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67070
67317
 
67071
67318
  /**
67072
67319
  * Get a media request in the conversation
67073
- *
67320
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
67074
67321
  * @param {String} conversationId conversationId
67075
67322
  * @param {String} mediaRequestId mediaRequestId
67323
+ * @deprecated
67076
67324
  */
67077
67325
  getWebchatGuestConversationMediarequest(conversationId, mediaRequestId) {
67078
67326
  // verify the required parameter 'conversationId' is set
@@ -67268,10 +67516,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67268
67516
 
67269
67517
  /**
67270
67518
  * Update a media request in the conversation, setting the state to ACCEPTED/DECLINED/ERRORED
67271
- *
67519
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
67272
67520
  * @param {String} conversationId conversationId
67273
67521
  * @param {String} mediaRequestId mediaRequestId
67274
67522
  * @param {Object} body Request
67523
+ * @deprecated
67275
67524
  */
67276
67525
  patchWebchatGuestConversationMediarequest(conversationId, mediaRequestId, body) {
67277
67526
  // verify the required parameter 'conversationId' is set
@@ -67479,7 +67728,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67479
67728
  /**
67480
67729
  * WebDeployments service.
67481
67730
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
67482
- * @version 191.0.0
67731
+ * @version 192.0.0
67483
67732
  */
67484
67733
 
67485
67734
  /**
@@ -68006,7 +68255,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68006
68255
  /**
68007
68256
  * WebMessaging service.
68008
68257
  * @module purecloud-platform-client-v2/api/WebMessagingApi
68009
- * @version 191.0.0
68258
+ * @version 192.0.0
68010
68259
  */
68011
68260
 
68012
68261
  /**
@@ -68052,7 +68301,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68052
68301
  /**
68053
68302
  * Widgets service.
68054
68303
  * @module purecloud-platform-client-v2/api/WidgetsApi
68055
- * @version 191.0.0
68304
+ * @version 192.0.0
68056
68305
  */
68057
68306
 
68058
68307
  /**
@@ -68198,7 +68447,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68198
68447
  /**
68199
68448
  * WorkforceManagement service.
68200
68449
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
68201
- * @version 191.0.0
68450
+ * @version 192.0.0
68202
68451
  */
68203
68452
 
68204
68453
  /**
@@ -74109,7 +74358,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
74109
74358
  * </pre>
74110
74359
  * </p>
74111
74360
  * @module purecloud-platform-client-v2/index
74112
- * @version 191.0.0
74361
+ * @version 192.0.0
74113
74362
  */
74114
74363
  class platformClient {
74115
74364
  constructor() {