purecloud-platform-client-v2 191.0.0 → 192.1.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 +448 -170
  3. package/dist/web-amd/purecloud-platform-client-v2.js +448 -170
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +211 -128
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +259 -163
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +528 -258
  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 +61 -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 -2
  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 -2
  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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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 || {};
@@ -16394,6 +16495,37 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16394
16495
  );
16395
16496
  }
16396
16497
 
16498
+ /**
16499
+ * Update the utilization label on a conversation. When there is no value provided, the system default label is applied
16500
+ *
16501
+ * @param {String} conversationId conversation ID
16502
+ * @param {Object} body Conversation Utilization Label
16503
+ * patchConversationUtilizationlabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
16504
+ */
16505
+ patchConversationUtilizationlabel(conversationId, body) {
16506
+ // verify the required parameter 'conversationId' is set
16507
+ if (conversationId === undefined || conversationId === null) {
16508
+ throw 'Missing the required parameter "conversationId" when calling patchConversationUtilizationlabel';
16509
+ }
16510
+ // verify the required parameter 'body' is set
16511
+ if (body === undefined || body === null) {
16512
+ throw 'Missing the required parameter "body" when calling patchConversationUtilizationlabel';
16513
+ }
16514
+
16515
+ return this.apiClient.callApi(
16516
+ '/api/v2/conversations/{conversationId}/utilizationlabel',
16517
+ 'PATCH',
16518
+ { 'conversationId': conversationId },
16519
+ { },
16520
+ { },
16521
+ { },
16522
+ body,
16523
+ ['PureCloud OAuth'],
16524
+ ['application/json'],
16525
+ ['application/json']
16526
+ );
16527
+ }
16528
+
16397
16529
  /**
16398
16530
  * Update after-call work for this conversation communication.
16399
16531
  *
@@ -16916,9 +17048,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16916
17048
 
16917
17049
  /**
16918
17050
  * Update a conversation by disconnecting all of the participants
16919
- *
17051
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
16920
17052
  * @param {String} conversationId conversationId
16921
17053
  * @param {Object} body Conversation
17054
+ * @deprecated
16922
17055
  */
16923
17056
  patchConversationsCobrowsesession(conversationId, body) {
16924
17057
  // verify the required parameter 'conversationId' is set
@@ -16946,11 +17079,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16946
17079
 
16947
17080
  /**
16948
17081
  * Update conversation participant
16949
- *
17082
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
16950
17083
  * @param {String} conversationId conversationId
16951
17084
  * @param {String} participantId participantId
16952
17085
  * @param {Object} opts Optional parameters
16953
17086
  * @param {Object} opts.body
17087
+ * @deprecated
16954
17088
  */
16955
17089
  patchConversationsCobrowsesessionParticipant(conversationId, participantId, opts) {
16956
17090
  opts = opts || {};
@@ -16980,11 +17114,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16980
17114
 
16981
17115
  /**
16982
17116
  * Update the attributes on a conversation participant.
16983
- *
17117
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
16984
17118
  * @param {String} conversationId conversationId
16985
17119
  * @param {String} participantId participantId
16986
17120
  * @param {Object} opts Optional parameters
16987
17121
  * @param {Object} opts.body
17122
+ * @deprecated
16988
17123
  */
16989
17124
  patchConversationsCobrowsesessionParticipantAttributes(conversationId, participantId, opts) {
16990
17125
  opts = opts || {};
@@ -17014,11 +17149,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17014
17149
 
17015
17150
  /**
17016
17151
  * Update conversation participant's communication by disconnecting it.
17017
- *
17152
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
17018
17153
  * @param {String} conversationId conversationId
17019
17154
  * @param {String} participantId participantId
17020
17155
  * @param {String} communicationId communicationId
17021
17156
  * @param {Object} body Participant
17157
+ * @deprecated
17022
17158
  */
17023
17159
  patchConversationsCobrowsesessionParticipantCommunication(conversationId, participantId, communicationId, body) {
17024
17160
  // verify the required parameter 'conversationId' is set
@@ -18876,12 +19012,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18876
19012
 
18877
19013
  /**
18878
19014
  * Apply wrap-up for this conversation communication
18879
- *
19015
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
18880
19016
  * @param {String} conversationId conversationId
18881
19017
  * @param {String} participantId participantId
18882
19018
  * @param {String} communicationId communicationId
18883
19019
  * @param {Object} opts Optional parameters
18884
19020
  * @param {Object} opts.body Wrap-up
19021
+ * @deprecated
18885
19022
  */
18886
19023
  postConversationsCobrowsesessionParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
18887
19024
  opts = opts || {};
@@ -18915,11 +19052,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18915
19052
 
18916
19053
  /**
18917
19054
  * Replace this participant with the specified user and/or address
18918
- *
19055
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
18919
19056
  * @param {String} conversationId conversationId
18920
19057
  * @param {String} participantId participantId
18921
19058
  * @param {Object} opts Optional parameters
18922
19059
  * @param {Object} opts.body
19060
+ * @deprecated
18923
19061
  */
18924
19062
  postConversationsCobrowsesessionParticipantReplace(conversationId, participantId, opts) {
18925
19063
  opts = opts || {};
@@ -19616,8 +19754,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19616
19754
 
19617
19755
  /**
19618
19756
  * 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.
19757
+ * [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
19758
  * @param {Object} body NormalizedMessage
19759
+ * @deprecated
19621
19760
  */
19622
19761
  postConversationsMessagesInboundOpen(body) {
19623
19762
  // verify the required parameter 'body' is set
@@ -19894,12 +20033,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19894
20033
 
19895
20034
  /**
19896
20035
  * Apply wrap-up for this conversation communication
19897
- *
20036
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
19898
20037
  * @param {String} conversationId conversationId
19899
20038
  * @param {String} participantId participantId
19900
20039
  * @param {String} communicationId communicationId
19901
20040
  * @param {Object} opts Optional parameters
19902
20041
  * @param {Object} opts.body Wrap-up
20042
+ * @deprecated
19903
20043
  */
19904
20044
  postConversationsScreenshareParticipantCommunicationWrapup(conversationId, participantId, communicationId, opts) {
19905
20045
  opts = opts || {};
@@ -20513,9 +20653,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20513
20653
 
20514
20654
  /**
20515
20655
  * Update a conversation by setting its recording state
20516
- *
20656
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
20517
20657
  * @param {String} conversationId conversationId
20518
20658
  * @param {Object} body SetRecordingState
20659
+ * @deprecated
20519
20660
  */
20520
20661
  putConversationsScreenshareRecordingstate(conversationId, body) {
20521
20662
  // verify the required parameter 'conversationId' is set
@@ -20607,7 +20748,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20607
20748
  /**
20608
20749
  * DataExtensions service.
20609
20750
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
20610
- * @version 191.0.0
20751
+ * @version 192.1.0
20611
20752
  */
20612
20753
 
20613
20754
  /**
@@ -20693,7 +20834,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20693
20834
  /**
20694
20835
  * Downloads service.
20695
20836
  * @module purecloud-platform-client-v2/api/DownloadsApi
20696
- * @version 191.0.0
20837
+ * @version 192.1.0
20697
20838
  */
20698
20839
 
20699
20840
  /**
@@ -20745,7 +20886,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20745
20886
  /**
20746
20887
  * Emails service.
20747
20888
  * @module purecloud-platform-client-v2/api/EmailsApi
20748
- * @version 191.0.0
20889
+ * @version 192.1.0
20749
20890
  */
20750
20891
 
20751
20892
  /**
@@ -20810,7 +20951,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20810
20951
  /**
20811
20952
  * Events service.
20812
20953
  * @module purecloud-platform-client-v2/api/EventsApi
20813
- * @version 191.0.0
20954
+ * @version 192.1.0
20814
20955
  */
20815
20956
 
20816
20957
  /**
@@ -20906,7 +21047,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20906
21047
  /**
20907
21048
  * ExternalContacts service.
20908
21049
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
20909
- * @version 191.0.0
21050
+ * @version 192.1.0
20910
21051
  */
20911
21052
 
20912
21053
  /**
@@ -22864,7 +23005,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22864
23005
  /**
22865
23006
  * Fax service.
22866
23007
  * @module purecloud-platform-client-v2/api/FaxApi
22867
- * @version 191.0.0
23008
+ * @version 192.1.0
22868
23009
  */
22869
23010
 
22870
23011
  /**
@@ -22979,6 +23120,26 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22979
23120
  );
22980
23121
  }
22981
23122
 
23123
+ /**
23124
+ * Get organization config for given organization
23125
+ *
23126
+ */
23127
+ getFaxSettings() {
23128
+
23129
+ return this.apiClient.callApi(
23130
+ '/api/v2/fax/settings',
23131
+ 'GET',
23132
+ { },
23133
+ { },
23134
+ { },
23135
+ { },
23136
+ null,
23137
+ ['PureCloud OAuth'],
23138
+ ['application/json'],
23139
+ ['application/json']
23140
+ );
23141
+ }
23142
+
22982
23143
  /**
22983
23144
  * Get fax summary
22984
23145
  *
@@ -23029,13 +23190,37 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23029
23190
  );
23030
23191
  }
23031
23192
 
23193
+ /**
23194
+ * Update/write organization config for given organization
23195
+ *
23196
+ * @param {Object} opts Optional parameters
23197
+ * @param {Object} opts.body
23198
+ */
23199
+ putFaxSettings(opts) {
23200
+ opts = opts || {};
23201
+
23202
+
23203
+ return this.apiClient.callApi(
23204
+ '/api/v2/fax/settings',
23205
+ 'PUT',
23206
+ { },
23207
+ { },
23208
+ { },
23209
+ { },
23210
+ opts['body'],
23211
+ ['PureCloud OAuth'],
23212
+ ['application/json'],
23213
+ ['application/json']
23214
+ );
23215
+ }
23216
+
23032
23217
  }
23033
23218
 
23034
23219
  class FlowsApi {
23035
23220
  /**
23036
23221
  * Flows service.
23037
23222
  * @module purecloud-platform-client-v2/api/FlowsApi
23038
- * @version 191.0.0
23223
+ * @version 192.1.0
23039
23224
  */
23040
23225
 
23041
23226
  /**
@@ -23219,7 +23404,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23219
23404
  /**
23220
23405
  * Gamification service.
23221
23406
  * @module purecloud-platform-client-v2/api/GamificationApi
23222
- * @version 191.0.0
23407
+ * @version 192.1.0
23223
23408
  */
23224
23409
 
23225
23410
  /**
@@ -25305,7 +25490,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25305
25490
  /**
25306
25491
  * GeneralDataProtectionRegulation service.
25307
25492
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
25308
- * @version 191.0.0
25493
+ * @version 192.1.0
25309
25494
  */
25310
25495
 
25311
25496
  /**
@@ -25435,7 +25620,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25435
25620
  /**
25436
25621
  * Geolocation service.
25437
25622
  * @module purecloud-platform-client-v2/api/GeolocationApi
25438
- * @version 191.0.0
25623
+ * @version 192.1.0
25439
25624
  */
25440
25625
 
25441
25626
  /**
@@ -25566,7 +25751,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25566
25751
  /**
25567
25752
  * Greetings service.
25568
25753
  * @module purecloud-platform-client-v2/api/GreetingsApi
25569
- * @version 191.0.0
25754
+ * @version 192.1.0
25570
25755
  */
25571
25756
 
25572
25757
  /**
@@ -26021,7 +26206,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26021
26206
  /**
26022
26207
  * Groups service.
26023
26208
  * @module purecloud-platform-client-v2/api/GroupsApi
26024
- * @version 191.0.0
26209
+ * @version 192.1.0
26025
26210
  */
26026
26211
 
26027
26212
  /**
@@ -26540,7 +26725,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26540
26725
  /**
26541
26726
  * IdentityProvider service.
26542
26727
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
26543
- * @version 191.0.0
26728
+ * @version 192.1.0
26544
26729
  */
26545
26730
 
26546
26731
  /**
@@ -27401,7 +27586,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27401
27586
  /**
27402
27587
  * InfrastructureAsCode service.
27403
27588
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
27404
- * @version 191.0.0
27589
+ * @version 192.1.0
27405
27590
  */
27406
27591
 
27407
27592
  /**
@@ -27568,7 +27753,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27568
27753
  /**
27569
27754
  * Integrations service.
27570
27755
  * @module purecloud-platform-client-v2/api/IntegrationsApi
27571
- * @version 191.0.0
27756
+ * @version 192.1.0
27572
27757
  */
27573
27758
 
27574
27759
  /**
@@ -28327,7 +28512,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28327
28512
 
28328
28513
  /**
28329
28514
  * 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.
28515
+ * 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
28516
  * @param {Object} opts Optional parameters
28332
28517
  * @param {Number} opts.pageSize The total page size requested (default to 25)
28333
28518
  * @param {Number} opts.pageNumber The page number requested (default to 1)
@@ -28335,6 +28520,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28335
28520
  * @param {Array.<String>} opts.expand variable name requested by expand list
28336
28521
  * @param {String} opts.nextPage next page token
28337
28522
  * @param {String} opts.previousPage Previous page token
28523
+ * @deprecated
28338
28524
  */
28339
28525
  getIntegrationsClientappsUnifiedcommunications(opts) {
28340
28526
  opts = opts || {};
@@ -29919,7 +30105,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29919
30105
  /**
29920
30106
  * Journey service.
29921
30107
  * @module purecloud-platform-client-v2/api/JourneyApi
29922
- * @version 191.0.0
30108
+ * @version 192.1.0
29923
30109
  */
29924
30110
 
29925
30111
  /**
@@ -31273,7 +31459,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31273
31459
  *
31274
31460
  * @param {Object} opts Optional parameters
31275
31461
  * @param {Object} opts.body
31276
- * postJourneyFlowsPathsQuery is a preview method and is subject to both breaking and non-breaking changes at any time without notice
31277
31462
  */
31278
31463
  postJourneyFlowsPathsQuery(opts) {
31279
31464
  opts = opts || {};
@@ -31509,7 +31694,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31509
31694
  /**
31510
31695
  * Knowledge service.
31511
31696
  * @module purecloud-platform-client-v2/api/KnowledgeApi
31512
- * @version 191.0.0
31697
+ * @version 192.1.0
31513
31698
  */
31514
31699
 
31515
31700
  /**
@@ -34752,7 +34937,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34752
34937
  /**
34753
34938
  * LanguageUnderstanding service.
34754
34939
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
34755
- * @version 191.0.0
34940
+ * @version 192.1.0
34756
34941
  */
34757
34942
 
34758
34943
  /**
@@ -35392,6 +35577,27 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35392
35577
  );
35393
35578
  }
35394
35579
 
35580
+ /**
35581
+ * Get Organization Configuration
35582
+ *
35583
+ * getLanguageunderstandingSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
35584
+ */
35585
+ getLanguageunderstandingSettings() {
35586
+
35587
+ return this.apiClient.callApi(
35588
+ '/api/v2/languageunderstanding/settings',
35589
+ 'GET',
35590
+ { },
35591
+ { },
35592
+ { },
35593
+ { },
35594
+ null,
35595
+ ['PureCloud OAuth'],
35596
+ ['application/json'],
35597
+ ['application/json']
35598
+ );
35599
+ }
35600
+
35395
35601
  /**
35396
35602
  * Update an NLU Domain.
35397
35603
  *
@@ -35765,7 +35971,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35765
35971
  /**
35766
35972
  * Languages service.
35767
35973
  * @module purecloud-platform-client-v2/api/LanguagesApi
35768
- * @version 191.0.0
35974
+ * @version 192.1.0
35769
35975
  */
35770
35976
 
35771
35977
  /**
@@ -35987,7 +36193,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35987
36193
  /**
35988
36194
  * Learning service.
35989
36195
  * @module purecloud-platform-client-v2/api/LearningApi
35990
- * @version 191.0.0
36196
+ * @version 192.1.0
35991
36197
  */
35992
36198
 
35993
36199
  /**
@@ -36842,7 +37048,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36842
37048
  /**
36843
37049
  * License service.
36844
37050
  * @module purecloud-platform-client-v2/api/LicenseApi
36845
- * @version 191.0.0
37051
+ * @version 192.1.0
36846
37052
  */
36847
37053
 
36848
37054
  /**
@@ -37080,7 +37286,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37080
37286
  /**
37081
37287
  * Locations service.
37082
37288
  * @module purecloud-platform-client-v2/api/LocationsApi
37083
- * @version 191.0.0
37289
+ * @version 192.1.0
37084
37290
  */
37085
37291
 
37086
37292
  /**
@@ -37316,7 +37522,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37316
37522
  /**
37317
37523
  * LogCapture service.
37318
37524
  * @module purecloud-platform-client-v2/api/LogCaptureApi
37319
- * @version 191.0.0
37525
+ * @version 192.1.0
37320
37526
  */
37321
37527
 
37322
37528
  /**
@@ -37516,7 +37722,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37516
37722
  /**
37517
37723
  * Messaging service.
37518
37724
  * @module purecloud-platform-client-v2/api/MessagingApi
37519
- * @version 191.0.0
37725
+ * @version 192.1.0
37520
37726
  */
37521
37727
 
37522
37728
  /**
@@ -37875,7 +38081,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37875
38081
  /**
37876
38082
  * MobileDevices service.
37877
38083
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
37878
- * @version 191.0.0
38084
+ * @version 192.1.0
37879
38085
  */
37880
38086
 
37881
38087
  /**
@@ -38026,7 +38232,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38026
38232
  /**
38027
38233
  * Notifications service.
38028
38234
  * @module purecloud-platform-client-v2/api/NotificationsApi
38029
- * @version 191.0.0
38235
+ * @version 192.1.0
38030
38236
  */
38031
38237
 
38032
38238
  /**
@@ -38259,7 +38465,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38259
38465
  /**
38260
38466
  * OAuth service.
38261
38467
  * @module purecloud-platform-client-v2/api/OAuthApi
38262
- * @version 191.0.0
38468
+ * @version 192.1.0
38263
38469
  */
38264
38470
 
38265
38471
  /**
@@ -38625,7 +38831,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38625
38831
  /**
38626
38832
  * Objects service.
38627
38833
  * @module purecloud-platform-client-v2/api/ObjectsApi
38628
- * @version 191.0.0
38834
+ * @version 192.1.0
38629
38835
  */
38630
38836
 
38631
38837
  /**
@@ -38895,7 +39101,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38895
39101
  /**
38896
39102
  * OperationalEvents service.
38897
39103
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
38898
- * @version 191.0.0
39104
+ * @version 192.1.0
38899
39105
  */
38900
39106
 
38901
39107
  /**
@@ -38961,7 +39167,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38961
39167
  /**
38962
39168
  * Organization service.
38963
39169
  * @module purecloud-platform-client-v2/api/OrganizationApi
38964
- * @version 191.0.0
39170
+ * @version 192.1.0
38965
39171
  */
38966
39172
 
38967
39173
  /**
@@ -39416,7 +39622,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39416
39622
  /**
39417
39623
  * OrganizationAuthorization service.
39418
39624
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
39419
- * @version 191.0.0
39625
+ * @version 192.1.0
39420
39626
  */
39421
39627
 
39422
39628
  /**
@@ -40763,7 +40969,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40763
40969
  /**
40764
40970
  * Outbound service.
40765
40971
  * @module purecloud-platform-client-v2/api/OutboundApi
40766
- * @version 191.0.0
40972
+ * @version 192.1.0
40767
40973
  */
40768
40974
 
40769
40975
  /**
@@ -43486,8 +43692,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43486
43692
  }
43487
43693
 
43488
43694
  /**
43489
- * Retrieves audits for dialer.
43490
- *
43695
+ * Retrieves audits for dialer. (Deprecated)
43696
+ * This endpoint is deprecated as a result of this functionality being moved to the Audit Service. Please use "/api/v2/audits/query" instead.
43491
43697
  * @param {Object} body AuditSearch
43492
43698
  * @param {Object} opts Optional parameters
43493
43699
  * @param {Number} opts.pageSize Page size (default to 25)
@@ -43495,6 +43701,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43495
43701
  * @param {String} opts.sortBy Sort by (default to entity.name)
43496
43702
  * @param {String} opts.sortOrder Sort order (default to ascending)
43497
43703
  * @param {Boolean} opts.facetsOnly Facets only (default to false)
43704
+ * @deprecated
43498
43705
  */
43499
43706
  postOutboundAudits(body, opts) {
43500
43707
  opts = opts || {};
@@ -45004,7 +45211,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45004
45211
  /**
45005
45212
  * Presence service.
45006
45213
  * @module purecloud-platform-client-v2/api/PresenceApi
45007
- * @version 191.0.0
45214
+ * @version 192.1.0
45008
45215
  */
45009
45216
 
45010
45217
  /**
@@ -45748,7 +45955,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45748
45955
  /**
45749
45956
  * ProcessAutomation service.
45750
45957
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
45751
- * @version 191.0.0
45958
+ * @version 192.1.0
45752
45959
  */
45753
45960
 
45754
45961
  /**
@@ -45987,7 +46194,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45987
46194
  /**
45988
46195
  * Quality service.
45989
46196
  * @module purecloud-platform-client-v2/api/QualityApi
45990
- * @version 191.0.0
46197
+ * @version 192.1.0
45991
46198
  */
45992
46199
 
45993
46200
  /**
@@ -46323,7 +46530,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46323
46530
 
46324
46531
  /**
46325
46532
  * Get the list of calibrations
46326
- *
46533
+ * 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
46534
  * @param {String} calibratorId user id of calibrator
46328
46535
  * @param {Object} opts Optional parameters
46329
46536
  * @param {Number} opts.pageSize The total page size requested (default to 25)
@@ -46475,7 +46682,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
46475
46682
 
46476
46683
  /**
46477
46684
  * 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.
46685
+ * 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
46686
  * @param {Object} opts Optional parameters
46480
46687
  * @param {Number} opts.pageSize The total page size requested (default to 25)
46481
46688
  * @param {Number} opts.pageNumber The page number requested (default to 1)
@@ -47744,7 +47951,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47744
47951
  /**
47745
47952
  * Recording service.
47746
47953
  * @module purecloud-platform-client-v2/api/RecordingApi
47747
- * @version 191.0.0
47954
+ * @version 192.1.0
47748
47955
  */
47749
47956
 
47750
47957
  /**
@@ -48657,7 +48864,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48657
48864
  /**
48658
48865
  * Retrieves an object containing the total number of concurrent active screen recordings
48659
48866
  *
48660
- * getRecordingsScreensessionsDetails is a preview method and is subject to both breaking and non-breaking changes at any time without notice
48661
48867
  */
48662
48868
  getRecordingsScreensessionsDetails() {
48663
48869
 
@@ -49403,7 +49609,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49403
49609
  /**
49404
49610
  * ResponseManagement service.
49405
49611
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
49406
- * @version 191.0.0
49612
+ * @version 192.1.0
49407
49613
  */
49408
49614
 
49409
49615
  /**
@@ -49913,7 +50119,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49913
50119
  /**
49914
50120
  * Routing service.
49915
50121
  * @module purecloud-platform-client-v2/api/RoutingApi
49916
- * @version 191.0.0
50122
+ * @version 192.1.0
49917
50123
  */
49918
50124
 
49919
50125
  /**
@@ -53893,7 +54099,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53893
54099
  /**
53894
54100
  * SCIM service.
53895
54101
  * @module purecloud-platform-client-v2/api/SCIMApi
53896
- * @version 191.0.0
54102
+ * @version 192.1.0
53897
54103
  */
53898
54104
 
53899
54105
  /**
@@ -54770,7 +54976,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54770
54976
  /**
54771
54977
  * ScreenRecording service.
54772
54978
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
54773
- * @version 191.0.0
54979
+ * @version 192.1.0
54774
54980
  */
54775
54981
 
54776
54982
  /**
@@ -54815,7 +55021,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
54815
55021
  /**
54816
55022
  * Scripts service.
54817
55023
  * @module purecloud-platform-client-v2/api/ScriptsApi
54818
- * @version 191.0.0
55024
+ * @version 192.1.0
54819
55025
  */
54820
55026
 
54821
55027
  /**
@@ -55259,7 +55465,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55259
55465
  /**
55260
55466
  * Search service.
55261
55467
  * @module purecloud-platform-client-v2/api/SearchApi
55262
- * @version 191.0.0
55468
+ * @version 192.1.0
55263
55469
  */
55264
55470
 
55265
55471
  /**
@@ -55948,7 +56154,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
55948
56154
  /**
55949
56155
  * Settings service.
55950
56156
  * @module purecloud-platform-client-v2/api/SettingsApi
55951
- * @version 191.0.0
56157
+ * @version 192.1.0
55952
56158
  */
55953
56159
 
55954
56160
  /**
@@ -56060,7 +56266,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56060
56266
  /**
56061
56267
  * SpeechTextAnalytics service.
56062
56268
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
56063
- * @version 191.0.0
56269
+ * @version 192.1.0
56064
56270
  */
56065
56271
 
56066
56272
  /**
@@ -56650,7 +56856,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56650
56856
  *
56651
56857
  * @param {Object} opts Optional parameters
56652
56858
  * @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)
56859
+ * @param {Number} opts.pageSize The page size for the listing. The max that will be returned is 500. (default to 20)
56654
56860
  * @param {Object} opts.state Topic state. Defaults to latest
56655
56861
  * @param {String} opts.name Case insensitive partial name to filter by
56656
56862
  * @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 +57380,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57174
57380
  /**
57175
57381
  * Stations service.
57176
57382
  * @module purecloud-platform-client-v2/api/StationsApi
57177
- * @version 191.0.0
57383
+ * @version 192.1.0
57178
57384
  */
57179
57385
 
57180
57386
  /**
@@ -57276,7 +57482,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57276
57482
  /**
57277
57483
  * Suggest service.
57278
57484
  * @module purecloud-platform-client-v2/api/SuggestApi
57279
- * @version 191.0.0
57485
+ * @version 192.1.0
57280
57486
  */
57281
57487
 
57282
57488
  /**
@@ -57415,7 +57621,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57415
57621
  /**
57416
57622
  * TaskManagement service.
57417
57623
  * @module purecloud-platform-client-v2/api/TaskManagementApi
57418
- * @version 191.0.0
57624
+ * @version 192.1.0
57419
57625
  */
57420
57626
 
57421
57627
  /**
@@ -57882,6 +58088,58 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
57882
58088
  );
57883
58089
  }
57884
58090
 
58091
+ /**
58092
+ * Get the workitem query job associated with the job id.
58093
+ *
58094
+ * @param {String} jobId jobId
58095
+ * getTaskmanagementWorkitemsQueryJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
58096
+ */
58097
+ getTaskmanagementWorkitemsQueryJob(jobId) {
58098
+ // verify the required parameter 'jobId' is set
58099
+ if (jobId === undefined || jobId === null) {
58100
+ throw 'Missing the required parameter "jobId" when calling getTaskmanagementWorkitemsQueryJob';
58101
+ }
58102
+
58103
+ return this.apiClient.callApi(
58104
+ '/api/v2/taskmanagement/workitems/query/jobs/{jobId}',
58105
+ 'GET',
58106
+ { 'jobId': jobId },
58107
+ { },
58108
+ { },
58109
+ { },
58110
+ null,
58111
+ ['PureCloud OAuth'],
58112
+ ['application/json'],
58113
+ ['application/json']
58114
+ );
58115
+ }
58116
+
58117
+ /**
58118
+ * Get results from for workitem query job
58119
+ *
58120
+ * @param {String} jobId jobId
58121
+ * getTaskmanagementWorkitemsQueryJobResults is a preview method and is subject to both breaking and non-breaking changes at any time without notice
58122
+ */
58123
+ getTaskmanagementWorkitemsQueryJobResults(jobId) {
58124
+ // verify the required parameter 'jobId' is set
58125
+ if (jobId === undefined || jobId === null) {
58126
+ throw 'Missing the required parameter "jobId" when calling getTaskmanagementWorkitemsQueryJobResults';
58127
+ }
58128
+
58129
+ return this.apiClient.callApi(
58130
+ '/api/v2/taskmanagement/workitems/query/jobs/{jobId}/results',
58131
+ 'GET',
58132
+ { 'jobId': jobId },
58133
+ { },
58134
+ { },
58135
+ { },
58136
+ null,
58137
+ ['PureCloud OAuth'],
58138
+ ['application/json'],
58139
+ ['application/json']
58140
+ );
58141
+ }
58142
+
57885
58143
  /**
57886
58144
  * Get a schema
57887
58145
  *
@@ -58578,6 +58836,32 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58578
58836
  );
58579
58837
  }
58580
58838
 
58839
+ /**
58840
+ * Create a workitem query job
58841
+ *
58842
+ * @param {Object} body WorkitemQueryJobCreate
58843
+ * postTaskmanagementWorkitemsQueryJobs is a preview method and is subject to both breaking and non-breaking changes at any time without notice
58844
+ */
58845
+ postTaskmanagementWorkitemsQueryJobs(body) {
58846
+ // verify the required parameter 'body' is set
58847
+ if (body === undefined || body === null) {
58848
+ throw 'Missing the required parameter "body" when calling postTaskmanagementWorkitemsQueryJobs';
58849
+ }
58850
+
58851
+ return this.apiClient.callApi(
58852
+ '/api/v2/taskmanagement/workitems/query/jobs',
58853
+ 'POST',
58854
+ { },
58855
+ { },
58856
+ { },
58857
+ { },
58858
+ body,
58859
+ ['PureCloud OAuth'],
58860
+ ['application/json'],
58861
+ ['application/json']
58862
+ );
58863
+ }
58864
+
58581
58865
  /**
58582
58866
  * Create a schema
58583
58867
  *
@@ -58722,7 +59006,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
58722
59006
  /**
58723
59007
  * Teams service.
58724
59008
  * @module purecloud-platform-client-v2/api/TeamsApi
58725
- * @version 191.0.0
59009
+ * @version 192.1.0
58726
59010
  */
58727
59011
 
58728
59012
  /**
@@ -59024,7 +59308,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59024
59308
  /**
59025
59309
  * Telephony service.
59026
59310
  * @module purecloud-platform-client-v2/api/TelephonyApi
59027
- * @version 191.0.0
59311
+ * @version 192.1.0
59028
59312
  */
59029
59313
 
59030
59314
  /**
@@ -59206,7 +59490,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59206
59490
  /**
59207
59491
  * TelephonyProvidersEdge service.
59208
59492
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
59209
- * @version 191.0.0
59493
+ * @version 192.1.0
59210
59494
  */
59211
59495
 
59212
59496
  /**
@@ -59973,27 +60257,6 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
59973
60257
  );
59974
60258
  }
59975
60259
 
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
60260
  /**
59998
60261
  * Get the list of certificate authorities.
59999
60262
  *
@@ -62555,7 +62818,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62555
62818
  /**
62556
62819
  * Textbots service.
62557
62820
  * @module purecloud-platform-client-v2/api/TextbotsApi
62558
- * @version 191.0.0
62821
+ * @version 192.1.0
62559
62822
  */
62560
62823
 
62561
62824
  /**
@@ -62683,7 +62946,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62683
62946
  /**
62684
62947
  * Tokens service.
62685
62948
  * @module purecloud-platform-client-v2/api/TokensApi
62686
- * @version 191.0.0
62949
+ * @version 192.1.0
62687
62950
  */
62688
62951
 
62689
62952
  /**
@@ -62837,7 +63100,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
62837
63100
  /**
62838
63101
  * Uploads service.
62839
63102
  * @module purecloud-platform-client-v2/api/UploadsApi
62840
- * @version 191.0.0
63103
+ * @version 192.1.0
62841
63104
  */
62842
63105
 
62843
63106
  /**
@@ -63106,7 +63369,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63106
63369
  /**
63107
63370
  * Usage service.
63108
63371
  * @module purecloud-platform-client-v2/api/UsageApi
63109
- * @version 191.0.0
63372
+ * @version 192.1.0
63110
63373
  */
63111
63374
 
63112
63375
  /**
@@ -63209,8 +63472,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63209
63472
  * Get the results of a usage search. Number of records to be returned is limited to 20,000 results.
63210
63473
  *
63211
63474
  * @param {String} executionId ID of the search execution
63475
+ * @param {Object} opts Optional parameters
63476
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned
63477
+ * @param {Number} opts.pageSize The max number of entities to be returned per request. Maximum page size of 1000
63212
63478
  */
63213
- getUsageSimplesearchExecutionIdResults(executionId) {
63479
+ getUsageSimplesearchExecutionIdResults(executionId, opts) {
63480
+ opts = opts || {};
63481
+
63214
63482
  // verify the required parameter 'executionId' is set
63215
63483
  if (executionId === undefined || executionId === null) {
63216
63484
  throw 'Missing the required parameter "executionId" when calling getUsageSimplesearchExecutionIdResults';
@@ -63220,7 +63488,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63220
63488
  '/api/v2/usage/simplesearch/{executionId}/results',
63221
63489
  'GET',
63222
63490
  { 'executionId': executionId },
63223
- { },
63491
+ { 'after': opts['after'],'pageSize': opts['pageSize'] },
63224
63492
  { },
63225
63493
  { },
63226
63494
  null,
@@ -63316,7 +63584,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63316
63584
  /**
63317
63585
  * UserRecordings service.
63318
63586
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
63319
- * @version 191.0.0
63587
+ * @version 192.1.0
63320
63588
  */
63321
63589
 
63322
63590
  /**
@@ -63501,7 +63769,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63501
63769
  /**
63502
63770
  * Users service.
63503
63771
  * @module purecloud-platform-client-v2/api/UsersApi
63504
- * @version 191.0.0
63772
+ * @version 192.1.0
63505
63773
  */
63506
63774
 
63507
63775
  /**
@@ -63997,8 +64265,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
63997
64265
  * Returns a listing of roles and permissions for a user.
63998
64266
  *
63999
64267
  * @param {String} subjectId Subject ID (user or group)
64268
+ * @param {Object} opts Optional parameters
64269
+ * @param {Object} opts.includeDuplicates Include multiple entries with the same role and division but different subjects (default to false)
64000
64270
  */
64001
- getAuthorizationSubject(subjectId) {
64271
+ getAuthorizationSubject(subjectId, opts) {
64272
+ opts = opts || {};
64273
+
64002
64274
  // verify the required parameter 'subjectId' is set
64003
64275
  if (subjectId === undefined || subjectId === null) {
64004
64276
  throw 'Missing the required parameter "subjectId" when calling getAuthorizationSubject';
@@ -64008,7 +64280,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64008
64280
  '/api/v2/authorization/subjects/{subjectId}',
64009
64281
  'GET',
64010
64282
  { 'subjectId': subjectId },
64011
- { },
64283
+ { 'includeDuplicates': opts['includeDuplicates'] },
64012
64284
  { },
64013
64285
  { },
64014
64286
  null,
@@ -64021,14 +64293,18 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
64021
64293
  /**
64022
64294
  * Returns a listing of roles and permissions for the currently authenticated user.
64023
64295
  *
64296
+ * @param {Object} opts Optional parameters
64297
+ * @param {Object} opts.includeDuplicates Include multiple entries with the same role and division but different subjects (default to false)
64024
64298
  */
64025
- getAuthorizationSubjectsMe() {
64299
+ getAuthorizationSubjectsMe(opts) {
64300
+ opts = opts || {};
64301
+
64026
64302
 
64027
64303
  return this.apiClient.callApi(
64028
64304
  '/api/v2/authorization/subjects/me',
64029
64305
  'GET',
64030
64306
  { },
64031
- { },
64307
+ { 'includeDuplicates': opts['includeDuplicates'] },
64032
64308
  { },
64033
64309
  { },
64034
64310
  null,
@@ -66152,7 +66428,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66152
66428
  /**
66153
66429
  * Utilities service.
66154
66430
  * @module purecloud-platform-client-v2/api/UtilitiesApi
66155
- * @version 191.0.0
66431
+ * @version 192.1.0
66156
66432
  */
66157
66433
 
66158
66434
  /**
@@ -66263,7 +66539,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66263
66539
  /**
66264
66540
  * Voicemail service.
66265
66541
  * @module purecloud-platform-client-v2/api/VoicemailApi
66266
- * @version 191.0.0
66542
+ * @version 192.1.0
66267
66543
  */
66268
66544
 
66269
66545
  /**
@@ -66930,7 +67206,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
66930
67206
  /**
66931
67207
  * WebChat service.
66932
67208
  * @module purecloud-platform-client-v2/api/WebChatApi
66933
- * @version 191.0.0
67209
+ * @version 192.1.0
66934
67210
  */
66935
67211
 
66936
67212
  /**
@@ -67070,9 +67346,10 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67070
67346
 
67071
67347
  /**
67072
67348
  * Get a media request in the conversation
67073
- *
67349
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
67074
67350
  * @param {String} conversationId conversationId
67075
67351
  * @param {String} mediaRequestId mediaRequestId
67352
+ * @deprecated
67076
67353
  */
67077
67354
  getWebchatGuestConversationMediarequest(conversationId, mediaRequestId) {
67078
67355
  // verify the required parameter 'conversationId' is set
@@ -67268,10 +67545,11 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67268
67545
 
67269
67546
  /**
67270
67547
  * Update a media request in the conversation, setting the state to ACCEPTED/DECLINED/ERRORED
67271
- *
67548
+ * This endpoint is deprecated. Please see the article https://help.mypurecloud.com/articles/deprecation-legacy-co-browse-and-screenshare/
67272
67549
  * @param {String} conversationId conversationId
67273
67550
  * @param {String} mediaRequestId mediaRequestId
67274
67551
  * @param {Object} body Request
67552
+ * @deprecated
67275
67553
  */
67276
67554
  patchWebchatGuestConversationMediarequest(conversationId, mediaRequestId, body) {
67277
67555
  // verify the required parameter 'conversationId' is set
@@ -67479,7 +67757,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
67479
67757
  /**
67480
67758
  * WebDeployments service.
67481
67759
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
67482
- * @version 191.0.0
67760
+ * @version 192.1.0
67483
67761
  */
67484
67762
 
67485
67763
  /**
@@ -68006,7 +68284,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68006
68284
  /**
68007
68285
  * WebMessaging service.
68008
68286
  * @module purecloud-platform-client-v2/api/WebMessagingApi
68009
- * @version 191.0.0
68287
+ * @version 192.1.0
68010
68288
  */
68011
68289
 
68012
68290
  /**
@@ -68052,7 +68330,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68052
68330
  /**
68053
68331
  * Widgets service.
68054
68332
  * @module purecloud-platform-client-v2/api/WidgetsApi
68055
- * @version 191.0.0
68333
+ * @version 192.1.0
68056
68334
  */
68057
68335
 
68058
68336
  /**
@@ -68198,7 +68476,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
68198
68476
  /**
68199
68477
  * WorkforceManagement service.
68200
68478
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
68201
- * @version 191.0.0
68479
+ * @version 192.1.0
68202
68480
  */
68203
68481
 
68204
68482
  /**
@@ -74109,7 +74387,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
74109
74387
  * </pre>
74110
74388
  * </p>
74111
74389
  * @module purecloud-platform-client-v2/index
74112
- * @version 191.0.0
74390
+ * @version 192.1.0
74113
74391
  */
74114
74392
  class platformClient {
74115
74393
  constructor() {