purecloud-platform-client-v2 175.0.0 → 176.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 (82) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +679 -75
  3. package/dist/web-amd/purecloud-platform-client-v2.js +679 -75
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +679 -75
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +679 -75
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +149 -5
  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 +1 -1
  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 +605 -1
  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 +1 -1
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -3
  58. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -2279,7 +2279,7 @@ class Configuration {
2279
2279
 
2280
2280
  /**
2281
2281
  * @module purecloud-platform-client-v2/ApiClient
2282
- * @version 175.0.0
2282
+ * @version 176.0.0
2283
2283
  */
2284
2284
  class ApiClient {
2285
2285
  /**
@@ -3358,7 +3358,7 @@ class AlertingApi {
3358
3358
  /**
3359
3359
  * Alerting service.
3360
3360
  * @module purecloud-platform-client-v2/api/AlertingApi
3361
- * @version 175.0.0
3361
+ * @version 176.0.0
3362
3362
  */
3363
3363
 
3364
3364
  /**
@@ -4008,7 +4008,7 @@ class AnalyticsApi {
4008
4008
  /**
4009
4009
  * Analytics service.
4010
4010
  * @module purecloud-platform-client-v2/api/AnalyticsApi
4011
- * @version 175.0.0
4011
+ * @version 176.0.0
4012
4012
  */
4013
4013
 
4014
4014
  /**
@@ -6454,7 +6454,7 @@ class ArchitectApi {
6454
6454
  /**
6455
6455
  * Architect service.
6456
6456
  * @module purecloud-platform-client-v2/api/ArchitectApi
6457
- * @version 175.0.0
6457
+ * @version 176.0.0
6458
6458
  */
6459
6459
 
6460
6460
  /**
@@ -10254,7 +10254,7 @@ class AuditApi {
10254
10254
  /**
10255
10255
  * Audit service.
10256
10256
  * @module purecloud-platform-client-v2/api/AuditApi
10257
- * @version 175.0.0
10257
+ * @version 176.0.0
10258
10258
  */
10259
10259
 
10260
10260
  /**
@@ -10425,7 +10425,7 @@ class AuthorizationApi {
10425
10425
  /**
10426
10426
  * Authorization service.
10427
10427
  * @module purecloud-platform-client-v2/api/AuthorizationApi
10428
- * @version 175.0.0
10428
+ * @version 176.0.0
10429
10429
  */
10430
10430
 
10431
10431
  /**
@@ -11656,7 +11656,7 @@ class BillingApi {
11656
11656
  /**
11657
11657
  * Billing service.
11658
11658
  * @module purecloud-platform-client-v2/api/BillingApi
11659
- * @version 175.0.0
11659
+ * @version 176.0.0
11660
11660
  */
11661
11661
 
11662
11662
  /**
@@ -11736,7 +11736,7 @@ class CarrierServicesApi {
11736
11736
  /**
11737
11737
  * CarrierServices service.
11738
11738
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
11739
- * @version 175.0.0
11739
+ * @version 176.0.0
11740
11740
  */
11741
11741
 
11742
11742
  /**
@@ -11806,7 +11806,7 @@ class ChatApi {
11806
11806
  /**
11807
11807
  * Chat service.
11808
11808
  * @module purecloud-platform-client-v2/api/ChatApi
11809
- * @version 175.0.0
11809
+ * @version 176.0.0
11810
11810
  */
11811
11811
 
11812
11812
  /**
@@ -11821,6 +11821,130 @@ class ChatApi {
11821
11821
  }
11822
11822
 
11823
11823
 
11824
+ /**
11825
+ * Delete a message in a room
11826
+ *
11827
+ * @param {String} roomJid roomId
11828
+ * @param {String} messageId messageId
11829
+ * deleteChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11830
+ */
11831
+ deleteChatsRoomMessage(roomJid, messageId) {
11832
+ // verify the required parameter 'roomJid' is set
11833
+ if (roomJid === undefined || roomJid === null) {
11834
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomMessage';
11835
+ }
11836
+ // verify the required parameter 'messageId' is set
11837
+ if (messageId === undefined || messageId === null) {
11838
+ throw 'Missing the required parameter "messageId" when calling deleteChatsRoomMessage';
11839
+ }
11840
+
11841
+ return this.apiClient.callApi(
11842
+ '/api/v2/chats/rooms/{roomJid}/messages/{messageId}',
11843
+ 'DELETE',
11844
+ { 'roomJid': roomJid,'messageId': messageId },
11845
+ { },
11846
+ { },
11847
+ { },
11848
+ null,
11849
+ ['PureCloud OAuth'],
11850
+ ['application/json'],
11851
+ ['application/json']
11852
+ );
11853
+ }
11854
+
11855
+ /**
11856
+ * Remove a user from a room.
11857
+ *
11858
+ * @param {String} roomJid roomJid
11859
+ * @param {String} userId userId
11860
+ * deleteChatsRoomParticipant is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11861
+ */
11862
+ deleteChatsRoomParticipant(roomJid, userId) {
11863
+ // verify the required parameter 'roomJid' is set
11864
+ if (roomJid === undefined || roomJid === null) {
11865
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomParticipant';
11866
+ }
11867
+ // verify the required parameter 'userId' is set
11868
+ if (userId === undefined || userId === null) {
11869
+ throw 'Missing the required parameter "userId" when calling deleteChatsRoomParticipant';
11870
+ }
11871
+
11872
+ return this.apiClient.callApi(
11873
+ '/api/v2/chats/rooms/{roomJid}/participants/{userId}',
11874
+ 'DELETE',
11875
+ { 'roomJid': roomJid,'userId': userId },
11876
+ { },
11877
+ { },
11878
+ { },
11879
+ null,
11880
+ ['PureCloud OAuth'],
11881
+ ['application/json'],
11882
+ ['application/json']
11883
+ );
11884
+ }
11885
+
11886
+ /**
11887
+ * Remove a pinned message from a room
11888
+ *
11889
+ * @param {String} roomJid roomJid
11890
+ * @param {String} pinnedMessageId pinnedMessageId
11891
+ * deleteChatsRoomPinnedmessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11892
+ */
11893
+ deleteChatsRoomPinnedmessage(roomJid, pinnedMessageId) {
11894
+ // verify the required parameter 'roomJid' is set
11895
+ if (roomJid === undefined || roomJid === null) {
11896
+ throw 'Missing the required parameter "roomJid" when calling deleteChatsRoomPinnedmessage';
11897
+ }
11898
+ // verify the required parameter 'pinnedMessageId' is set
11899
+ if (pinnedMessageId === undefined || pinnedMessageId === null) {
11900
+ throw 'Missing the required parameter "pinnedMessageId" when calling deleteChatsRoomPinnedmessage';
11901
+ }
11902
+
11903
+ return this.apiClient.callApi(
11904
+ '/api/v2/chats/rooms/{roomJid}/pinnedmessages/{pinnedMessageId}',
11905
+ 'DELETE',
11906
+ { 'roomJid': roomJid,'pinnedMessageId': pinnedMessageId },
11907
+ { },
11908
+ { },
11909
+ { },
11910
+ null,
11911
+ ['PureCloud OAuth'],
11912
+ ['application/json'],
11913
+ ['application/json']
11914
+ );
11915
+ }
11916
+
11917
+ /**
11918
+ * Delete a message to a user
11919
+ *
11920
+ * @param {String} userId userId
11921
+ * @param {String} messageId messageId
11922
+ * deleteChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11923
+ */
11924
+ deleteChatsUserMessage(userId, messageId) {
11925
+ // verify the required parameter 'userId' is set
11926
+ if (userId === undefined || userId === null) {
11927
+ throw 'Missing the required parameter "userId" when calling deleteChatsUserMessage';
11928
+ }
11929
+ // verify the required parameter 'messageId' is set
11930
+ if (messageId === undefined || messageId === null) {
11931
+ throw 'Missing the required parameter "messageId" when calling deleteChatsUserMessage';
11932
+ }
11933
+
11934
+ return this.apiClient.callApi(
11935
+ '/api/v2/chats/users/{userId}/messages/{messageId}',
11936
+ 'DELETE',
11937
+ { 'userId': userId,'messageId': messageId },
11938
+ { },
11939
+ { },
11940
+ { },
11941
+ null,
11942
+ ['PureCloud OAuth'],
11943
+ ['application/json'],
11944
+ ['application/json']
11945
+ );
11946
+ }
11947
+
11824
11948
  /**
11825
11949
  * Get Chat Settings.
11826
11950
  * This route is deprecated, please use /chats/settings instead
@@ -11842,6 +11966,127 @@ class ChatApi {
11842
11966
  );
11843
11967
  }
11844
11968
 
11969
+ /**
11970
+ * Get a message
11971
+ *
11972
+ * @param {String} messageId messageId
11973
+ * getChatsMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
11974
+ */
11975
+ getChatsMessage(messageId) {
11976
+ // verify the required parameter 'messageId' is set
11977
+ if (messageId === undefined || messageId === null) {
11978
+ throw 'Missing the required parameter "messageId" when calling getChatsMessage';
11979
+ }
11980
+
11981
+ return this.apiClient.callApi(
11982
+ '/api/v2/chats/messages/{messageId}',
11983
+ 'GET',
11984
+ { 'messageId': messageId },
11985
+ { },
11986
+ { },
11987
+ { },
11988
+ null,
11989
+ ['PureCloud OAuth'],
11990
+ ['application/json'],
11991
+ ['application/json']
11992
+ );
11993
+ }
11994
+
11995
+ /**
11996
+ * Get a room
11997
+ *
11998
+ * @param {String} roomJid roomJid
11999
+ * getChatsRoom is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12000
+ */
12001
+ getChatsRoom(roomJid) {
12002
+ // verify the required parameter 'roomJid' is set
12003
+ if (roomJid === undefined || roomJid === null) {
12004
+ throw 'Missing the required parameter "roomJid" when calling getChatsRoom';
12005
+ }
12006
+
12007
+ return this.apiClient.callApi(
12008
+ '/api/v2/chats/rooms/{roomJid}',
12009
+ 'GET',
12010
+ { 'roomJid': roomJid },
12011
+ { },
12012
+ { },
12013
+ { },
12014
+ null,
12015
+ ['PureCloud OAuth'],
12016
+ ['application/json'],
12017
+ ['application/json']
12018
+ );
12019
+ }
12020
+
12021
+ /**
12022
+ * Get messages by id(s) from a room
12023
+ *
12024
+ * @param {String} roomJid roomJid
12025
+ * @param {String} messageIds messageIds, comma separated
12026
+ * getChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12027
+ */
12028
+ getChatsRoomMessage(roomJid, messageIds) {
12029
+ // verify the required parameter 'roomJid' is set
12030
+ if (roomJid === undefined || roomJid === null) {
12031
+ throw 'Missing the required parameter "roomJid" when calling getChatsRoomMessage';
12032
+ }
12033
+ // verify the required parameter 'messageIds' is set
12034
+ if (messageIds === undefined || messageIds === null) {
12035
+ throw 'Missing the required parameter "messageIds" when calling getChatsRoomMessage';
12036
+ }
12037
+
12038
+ return this.apiClient.callApi(
12039
+ '/api/v2/chats/rooms/{roomJid}/messages/{messageIds}',
12040
+ 'GET',
12041
+ { 'roomJid': roomJid,'messageIds': messageIds },
12042
+ { },
12043
+ { },
12044
+ { },
12045
+ null,
12046
+ ['PureCloud OAuth'],
12047
+ ['application/json'],
12048
+ ['application/json']
12049
+ );
12050
+ }
12051
+
12052
+ /**
12053
+ * Get a room's message history
12054
+ *
12055
+ * @param {String} roomJid roomJid
12056
+ * @param {Object} opts Optional parameters
12057
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
12058
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
12059
+ * @param {String} opts.sortBy variable name requested to sort by
12060
+ * @param {Array.<String>} opts.expand variable name requested by expand list
12061
+ * @param {String} opts.nextPage next page token
12062
+ * @param {String} opts.previousPage Previous page token
12063
+ * @param {String} opts.limit The maximum number of messages to retrieve
12064
+ * @param {String} opts.before The cutoff date for messages to retrieve
12065
+ * @param {String} opts.after The beginning date for messages to retrieve
12066
+ * getChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12067
+ */
12068
+ getChatsRoomMessages(roomJid, opts) {
12069
+ opts = opts || {};
12070
+
12071
+ // verify the required parameter 'roomJid' is set
12072
+ if (roomJid === undefined || roomJid === null) {
12073
+ throw 'Missing the required parameter "roomJid" when calling getChatsRoomMessages';
12074
+ }
12075
+
12076
+ return this.apiClient.callApi(
12077
+ '/api/v2/chats/rooms/{roomJid}/messages',
12078
+ 'GET',
12079
+ { 'roomJid': roomJid },
12080
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'limit': opts['limit'],'before': opts['before'],'after': opts['after'] },
12081
+ { },
12082
+ { },
12083
+ null,
12084
+ ['PureCloud OAuth'],
12085
+ ['application/json'],
12086
+ ['application/json']
12087
+ );
12088
+ }
12089
+
11845
12090
  /**
11846
12091
  * Get Chat Settings.
11847
12092
  *
@@ -11862,6 +12107,113 @@ class ChatApi {
11862
12107
  );
11863
12108
  }
11864
12109
 
12110
+ /**
12111
+ * Get history by thread
12112
+ *
12113
+ * @param {String} threadId threadId
12114
+ * @param {Object} opts Optional parameters
12115
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
12116
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
12117
+ * @param {String} opts.sortBy variable name requested to sort by
12118
+ * @param {Array.<String>} opts.expand variable name requested by expand list
12119
+ * @param {String} opts.nextPage next page token
12120
+ * @param {String} opts.previousPage Previous page token
12121
+ * @param {String} opts.limit The maximum number of messages to retrieve
12122
+ * @param {String} opts.before The cutoff date for messages to retrieve
12123
+ * @param {String} opts.after The beginning date for messages to retrieve
12124
+ * getChatsThreadMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12125
+ */
12126
+ getChatsThreadMessages(threadId, opts) {
12127
+ opts = opts || {};
12128
+
12129
+ // verify the required parameter 'threadId' is set
12130
+ if (threadId === undefined || threadId === null) {
12131
+ throw 'Missing the required parameter "threadId" when calling getChatsThreadMessages';
12132
+ }
12133
+
12134
+ return this.apiClient.callApi(
12135
+ '/api/v2/chats/threads/{threadId}/messages',
12136
+ 'GET',
12137
+ { 'threadId': threadId },
12138
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'limit': opts['limit'],'before': opts['before'],'after': opts['after'] },
12139
+ { },
12140
+ { },
12141
+ null,
12142
+ ['PureCloud OAuth'],
12143
+ ['application/json'],
12144
+ ['application/json']
12145
+ );
12146
+ }
12147
+
12148
+ /**
12149
+ * Get messages by id(s) from a 1on1
12150
+ *
12151
+ * @param {String} userId userId
12152
+ * @param {String} messageIds messageIds, comma separated
12153
+ * getChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12154
+ */
12155
+ getChatsUserMessage(userId, messageIds) {
12156
+ // verify the required parameter 'userId' is set
12157
+ if (userId === undefined || userId === null) {
12158
+ throw 'Missing the required parameter "userId" when calling getChatsUserMessage';
12159
+ }
12160
+ // verify the required parameter 'messageIds' is set
12161
+ if (messageIds === undefined || messageIds === null) {
12162
+ throw 'Missing the required parameter "messageIds" when calling getChatsUserMessage';
12163
+ }
12164
+
12165
+ return this.apiClient.callApi(
12166
+ '/api/v2/chats/users/{userId}/messages/{messageIds}',
12167
+ 'GET',
12168
+ { 'userId': userId,'messageIds': messageIds },
12169
+ { },
12170
+ { },
12171
+ { },
12172
+ null,
12173
+ ['PureCloud OAuth'],
12174
+ ['application/json'],
12175
+ ['application/json']
12176
+ );
12177
+ }
12178
+
12179
+ /**
12180
+ * Get 1on1 History between a user
12181
+ *
12182
+ * @param {String} userId userId
12183
+ * @param {Object} opts Optional parameters
12184
+ * @param {Number} opts.pageSize The total page size requested (default to 25)
12185
+ * @param {Number} opts.pageNumber The page number requested (default to 1)
12186
+ * @param {String} opts.sortBy variable name requested to sort by
12187
+ * @param {Array.<String>} opts.expand variable name requested by expand list
12188
+ * @param {String} opts.nextPage next page token
12189
+ * @param {String} opts.previousPage Previous page token
12190
+ * @param {String} opts.limit The maximum number of messages to retrieve
12191
+ * @param {String} opts.before The cutoff date for messages to retrieve
12192
+ * @param {String} opts.after The beginning date for messages to retrieve
12193
+ * getChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12194
+ */
12195
+ getChatsUserMessages(userId, opts) {
12196
+ opts = opts || {};
12197
+
12198
+ // verify the required parameter 'userId' is set
12199
+ if (userId === undefined || userId === null) {
12200
+ throw 'Missing the required parameter "userId" when calling getChatsUserMessages';
12201
+ }
12202
+
12203
+ return this.apiClient.callApi(
12204
+ '/api/v2/chats/users/{userId}/messages',
12205
+ 'GET',
12206
+ { 'userId': userId },
12207
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'limit': opts['limit'],'before': opts['before'],'after': opts['after'] },
12208
+ { },
12209
+ { },
12210
+ null,
12211
+ ['PureCloud OAuth'],
12212
+ ['application/json'],
12213
+ ['application/json']
12214
+ );
12215
+ }
12216
+
11865
12217
  /**
11866
12218
  * Patch Chat Settings.
11867
12219
  * This route is deprecated, please use /chats/settings instead
@@ -11888,6 +12240,73 @@ class ChatApi {
11888
12240
  );
11889
12241
  }
11890
12242
 
12243
+ /**
12244
+ * Set properties for a room
12245
+ *
12246
+ * @param {String} roomJid roomJid
12247
+ * @param {Object} body Room properties
12248
+ * patchChatsRoom is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12249
+ */
12250
+ patchChatsRoom(roomJid, body) {
12251
+ // verify the required parameter 'roomJid' is set
12252
+ if (roomJid === undefined || roomJid === null) {
12253
+ throw 'Missing the required parameter "roomJid" when calling patchChatsRoom';
12254
+ }
12255
+ // verify the required parameter 'body' is set
12256
+ if (body === undefined || body === null) {
12257
+ throw 'Missing the required parameter "body" when calling patchChatsRoom';
12258
+ }
12259
+
12260
+ return this.apiClient.callApi(
12261
+ '/api/v2/chats/rooms/{roomJid}',
12262
+ 'PATCH',
12263
+ { 'roomJid': roomJid },
12264
+ { },
12265
+ { },
12266
+ { },
12267
+ body,
12268
+ ['PureCloud OAuth'],
12269
+ ['application/json'],
12270
+ ['application/json']
12271
+ );
12272
+ }
12273
+
12274
+ /**
12275
+ * Edit a message in a room
12276
+ *
12277
+ * @param {String} roomJid roomId
12278
+ * @param {String} messageId messageId
12279
+ * @param {Object} body messageBody
12280
+ * patchChatsRoomMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12281
+ */
12282
+ patchChatsRoomMessage(roomJid, messageId, body) {
12283
+ // verify the required parameter 'roomJid' is set
12284
+ if (roomJid === undefined || roomJid === null) {
12285
+ throw 'Missing the required parameter "roomJid" when calling patchChatsRoomMessage';
12286
+ }
12287
+ // verify the required parameter 'messageId' is set
12288
+ if (messageId === undefined || messageId === null) {
12289
+ throw 'Missing the required parameter "messageId" when calling patchChatsRoomMessage';
12290
+ }
12291
+ // verify the required parameter 'body' is set
12292
+ if (body === undefined || body === null) {
12293
+ throw 'Missing the required parameter "body" when calling patchChatsRoomMessage';
12294
+ }
12295
+
12296
+ return this.apiClient.callApi(
12297
+ '/api/v2/chats/rooms/{roomJid}/messages/{messageId}',
12298
+ 'PATCH',
12299
+ { 'roomJid': roomJid,'messageId': messageId },
12300
+ { },
12301
+ { },
12302
+ { },
12303
+ body,
12304
+ ['PureCloud OAuth'],
12305
+ ['application/json'],
12306
+ ['application/json']
12307
+ );
12308
+ }
12309
+
11891
12310
  /**
11892
12311
  * Patch Chat Settings.
11893
12312
  *
@@ -11913,6 +12332,191 @@ class ChatApi {
11913
12332
  );
11914
12333
  }
11915
12334
 
12335
+ /**
12336
+ * Edit a message to a user
12337
+ *
12338
+ * @param {String} userId userId
12339
+ * @param {String} messageId messageId
12340
+ * @param {Object} body message body
12341
+ * patchChatsUserMessage is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12342
+ */
12343
+ patchChatsUserMessage(userId, messageId, body) {
12344
+ // verify the required parameter 'userId' is set
12345
+ if (userId === undefined || userId === null) {
12346
+ throw 'Missing the required parameter "userId" when calling patchChatsUserMessage';
12347
+ }
12348
+ // verify the required parameter 'messageId' is set
12349
+ if (messageId === undefined || messageId === null) {
12350
+ throw 'Missing the required parameter "messageId" when calling patchChatsUserMessage';
12351
+ }
12352
+ // verify the required parameter 'body' is set
12353
+ if (body === undefined || body === null) {
12354
+ throw 'Missing the required parameter "body" when calling patchChatsUserMessage';
12355
+ }
12356
+
12357
+ return this.apiClient.callApi(
12358
+ '/api/v2/chats/users/{userId}/messages/{messageId}',
12359
+ 'PATCH',
12360
+ { 'userId': userId,'messageId': messageId },
12361
+ { },
12362
+ { },
12363
+ { },
12364
+ body,
12365
+ ['PureCloud OAuth'],
12366
+ ['application/json'],
12367
+ ['application/json']
12368
+ );
12369
+ }
12370
+
12371
+ /**
12372
+ * Send a message to a room
12373
+ *
12374
+ * @param {String} roomJid roomId
12375
+ * @param {Object} body messageBody
12376
+ * postChatsRoomMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12377
+ */
12378
+ postChatsRoomMessages(roomJid, body) {
12379
+ // verify the required parameter 'roomJid' is set
12380
+ if (roomJid === undefined || roomJid === null) {
12381
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomMessages';
12382
+ }
12383
+ // verify the required parameter 'body' is set
12384
+ if (body === undefined || body === null) {
12385
+ throw 'Missing the required parameter "body" when calling postChatsRoomMessages';
12386
+ }
12387
+
12388
+ return this.apiClient.callApi(
12389
+ '/api/v2/chats/rooms/{roomJid}/messages',
12390
+ 'POST',
12391
+ { 'roomJid': roomJid },
12392
+ { },
12393
+ { },
12394
+ { },
12395
+ body,
12396
+ ['PureCloud OAuth'],
12397
+ ['application/json'],
12398
+ ['application/json']
12399
+ );
12400
+ }
12401
+
12402
+ /**
12403
+ * Join a room
12404
+ *
12405
+ * @param {String} roomJid roomJid
12406
+ * @param {String} userId userId
12407
+ * postChatsRoomParticipant is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12408
+ */
12409
+ postChatsRoomParticipant(roomJid, userId) {
12410
+ // verify the required parameter 'roomJid' is set
12411
+ if (roomJid === undefined || roomJid === null) {
12412
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomParticipant';
12413
+ }
12414
+ // verify the required parameter 'userId' is set
12415
+ if (userId === undefined || userId === null) {
12416
+ throw 'Missing the required parameter "userId" when calling postChatsRoomParticipant';
12417
+ }
12418
+
12419
+ return this.apiClient.callApi(
12420
+ '/api/v2/chats/rooms/{roomJid}/participants/{userId}',
12421
+ 'POST',
12422
+ { 'roomJid': roomJid,'userId': userId },
12423
+ { },
12424
+ { },
12425
+ { },
12426
+ null,
12427
+ ['PureCloud OAuth'],
12428
+ ['application/json'],
12429
+ ['application/json']
12430
+ );
12431
+ }
12432
+
12433
+ /**
12434
+ * Add pinned messages for a room, up to a maximum of 5 pinned messages
12435
+ *
12436
+ * @param {String} roomJid roomJid
12437
+ * @param {Object} body Pinned Message Ids
12438
+ * postChatsRoomPinnedmessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12439
+ */
12440
+ postChatsRoomPinnedmessages(roomJid, body) {
12441
+ // verify the required parameter 'roomJid' is set
12442
+ if (roomJid === undefined || roomJid === null) {
12443
+ throw 'Missing the required parameter "roomJid" when calling postChatsRoomPinnedmessages';
12444
+ }
12445
+ // verify the required parameter 'body' is set
12446
+ if (body === undefined || body === null) {
12447
+ throw 'Missing the required parameter "body" when calling postChatsRoomPinnedmessages';
12448
+ }
12449
+
12450
+ return this.apiClient.callApi(
12451
+ '/api/v2/chats/rooms/{roomJid}/pinnedmessages',
12452
+ 'POST',
12453
+ { 'roomJid': roomJid },
12454
+ { },
12455
+ { },
12456
+ { },
12457
+ body,
12458
+ ['PureCloud OAuth'],
12459
+ ['application/json'],
12460
+ ['application/json']
12461
+ );
12462
+ }
12463
+
12464
+ /**
12465
+ * Create an adhoc room
12466
+ *
12467
+ * @param {Object} opts Optional parameters
12468
+ * @param {Object} opts.body Room properties
12469
+ * postChatsRooms is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12470
+ */
12471
+ postChatsRooms(opts) {
12472
+ opts = opts || {};
12473
+
12474
+
12475
+ return this.apiClient.callApi(
12476
+ '/api/v2/chats/rooms',
12477
+ 'POST',
12478
+ { },
12479
+ { },
12480
+ { },
12481
+ { },
12482
+ opts['body'],
12483
+ ['PureCloud OAuth'],
12484
+ ['application/json'],
12485
+ ['application/json']
12486
+ );
12487
+ }
12488
+
12489
+ /**
12490
+ * Send a message to a user
12491
+ *
12492
+ * @param {String} userId userId
12493
+ * @param {Object} body message body
12494
+ * postChatsUserMessages is a preview method and is subject to both breaking and non-breaking changes at any time without notice
12495
+ */
12496
+ postChatsUserMessages(userId, body) {
12497
+ // verify the required parameter 'userId' is set
12498
+ if (userId === undefined || userId === null) {
12499
+ throw 'Missing the required parameter "userId" when calling postChatsUserMessages';
12500
+ }
12501
+ // verify the required parameter 'body' is set
12502
+ if (body === undefined || body === null) {
12503
+ throw 'Missing the required parameter "body" when calling postChatsUserMessages';
12504
+ }
12505
+
12506
+ return this.apiClient.callApi(
12507
+ '/api/v2/chats/users/{userId}/messages',
12508
+ 'POST',
12509
+ { 'userId': userId },
12510
+ { },
12511
+ { },
12512
+ { },
12513
+ body,
12514
+ ['PureCloud OAuth'],
12515
+ ['application/json'],
12516
+ ['application/json']
12517
+ );
12518
+ }
12519
+
11916
12520
  /**
11917
12521
  * Update Chat Settings.
11918
12522
  * This route is deprecated, please use /chats/settings instead
@@ -11970,7 +12574,7 @@ class CoachingApi {
11970
12574
  /**
11971
12575
  * Coaching service.
11972
12576
  * @module purecloud-platform-client-v2/api/CoachingApi
11973
- * @version 175.0.0
12577
+ * @version 176.0.0
11974
12578
  */
11975
12579
 
11976
12580
  /**
@@ -12547,7 +13151,7 @@ class ContentManagementApi {
12547
13151
  /**
12548
13152
  * ContentManagement service.
12549
13153
  * @module purecloud-platform-client-v2/api/ContentManagementApi
12550
- * @version 175.0.0
13154
+ * @version 176.0.0
12551
13155
  */
12552
13156
 
12553
13157
  /**
@@ -13690,7 +14294,7 @@ class ConversationsApi {
13690
14294
  /**
13691
14295
  * Conversations service.
13692
14296
  * @module purecloud-platform-client-v2/api/ConversationsApi
13693
- * @version 175.0.0
14297
+ * @version 176.0.0
13694
14298
  */
13695
14299
 
13696
14300
  /**
@@ -20774,7 +21378,7 @@ class DataExtensionsApi {
20774
21378
  /**
20775
21379
  * DataExtensions service.
20776
21380
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
20777
- * @version 175.0.0
21381
+ * @version 176.0.0
20778
21382
  */
20779
21383
 
20780
21384
  /**
@@ -20860,7 +21464,7 @@ class DownloadsApi {
20860
21464
  /**
20861
21465
  * Downloads service.
20862
21466
  * @module purecloud-platform-client-v2/api/DownloadsApi
20863
- * @version 175.0.0
21467
+ * @version 176.0.0
20864
21468
  */
20865
21469
 
20866
21470
  /**
@@ -20912,7 +21516,7 @@ class EmailsApi {
20912
21516
  /**
20913
21517
  * Emails service.
20914
21518
  * @module purecloud-platform-client-v2/api/EmailsApi
20915
- * @version 175.0.0
21519
+ * @version 176.0.0
20916
21520
  */
20917
21521
 
20918
21522
  /**
@@ -20977,7 +21581,7 @@ class EventsApi {
20977
21581
  /**
20978
21582
  * Events service.
20979
21583
  * @module purecloud-platform-client-v2/api/EventsApi
20980
- * @version 175.0.0
21584
+ * @version 176.0.0
20981
21585
  */
20982
21586
 
20983
21587
  /**
@@ -21073,7 +21677,7 @@ class ExternalContactsApi {
21073
21677
  /**
21074
21678
  * ExternalContacts service.
21075
21679
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
21076
- * @version 175.0.0
21680
+ * @version 176.0.0
21077
21681
  */
21078
21682
 
21079
21683
  /**
@@ -23031,7 +23635,7 @@ class FaxApi {
23031
23635
  /**
23032
23636
  * Fax service.
23033
23637
  * @module purecloud-platform-client-v2/api/FaxApi
23034
- * @version 175.0.0
23638
+ * @version 176.0.0
23035
23639
  */
23036
23640
 
23037
23641
  /**
@@ -23202,7 +23806,7 @@ class FlowsApi {
23202
23806
  /**
23203
23807
  * Flows service.
23204
23808
  * @module purecloud-platform-client-v2/api/FlowsApi
23205
- * @version 175.0.0
23809
+ * @version 176.0.0
23206
23810
  */
23207
23811
 
23208
23812
  /**
@@ -23386,7 +23990,7 @@ class GamificationApi {
23386
23990
  /**
23387
23991
  * Gamification service.
23388
23992
  * @module purecloud-platform-client-v2/api/GamificationApi
23389
- * @version 175.0.0
23993
+ * @version 176.0.0
23390
23994
  */
23391
23995
 
23392
23996
  /**
@@ -25472,7 +26076,7 @@ class GeneralDataProtectionRegulationApi {
25472
26076
  /**
25473
26077
  * GeneralDataProtectionRegulation service.
25474
26078
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
25475
- * @version 175.0.0
26079
+ * @version 176.0.0
25476
26080
  */
25477
26081
 
25478
26082
  /**
@@ -25602,7 +26206,7 @@ class GeolocationApi {
25602
26206
  /**
25603
26207
  * Geolocation service.
25604
26208
  * @module purecloud-platform-client-v2/api/GeolocationApi
25605
- * @version 175.0.0
26209
+ * @version 176.0.0
25606
26210
  */
25607
26211
 
25608
26212
  /**
@@ -25733,7 +26337,7 @@ class GreetingsApi {
25733
26337
  /**
25734
26338
  * Greetings service.
25735
26339
  * @module purecloud-platform-client-v2/api/GreetingsApi
25736
- * @version 175.0.0
26340
+ * @version 176.0.0
25737
26341
  */
25738
26342
 
25739
26343
  /**
@@ -26188,7 +26792,7 @@ class GroupsApi {
26188
26792
  /**
26189
26793
  * Groups service.
26190
26794
  * @module purecloud-platform-client-v2/api/GroupsApi
26191
- * @version 175.0.0
26795
+ * @version 176.0.0
26192
26796
  */
26193
26797
 
26194
26798
  /**
@@ -26707,7 +27311,7 @@ class IdentityProviderApi {
26707
27311
  /**
26708
27312
  * IdentityProvider service.
26709
27313
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
26710
- * @version 175.0.0
27314
+ * @version 176.0.0
26711
27315
  */
26712
27316
 
26713
27317
  /**
@@ -27463,7 +28067,7 @@ class InfrastructureAsCodeApi {
27463
28067
  /**
27464
28068
  * InfrastructureAsCode service.
27465
28069
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
27466
- * @version 175.0.0
28070
+ * @version 176.0.0
27467
28071
  */
27468
28072
 
27469
28073
  /**
@@ -27630,7 +28234,7 @@ class IntegrationsApi {
27630
28234
  /**
27631
28235
  * Integrations service.
27632
28236
  * @module purecloud-platform-client-v2/api/IntegrationsApi
27633
- * @version 175.0.0
28237
+ * @version 176.0.0
27634
28238
  */
27635
28239
 
27636
28240
  /**
@@ -29592,7 +30196,7 @@ class JourneyApi {
29592
30196
  /**
29593
30197
  * Journey service.
29594
30198
  * @module purecloud-platform-client-v2/api/JourneyApi
29595
- * @version 175.0.0
30199
+ * @version 176.0.0
29596
30200
  */
29597
30201
 
29598
30202
  /**
@@ -30756,7 +31360,7 @@ class KnowledgeApi {
30756
31360
  /**
30757
31361
  * Knowledge service.
30758
31362
  * @module purecloud-platform-client-v2/api/KnowledgeApi
30759
- * @version 175.0.0
31363
+ * @version 176.0.0
30760
31364
  */
30761
31365
 
30762
31366
  /**
@@ -33577,7 +34181,7 @@ class LanguageUnderstandingApi {
33577
34181
  /**
33578
34182
  * LanguageUnderstanding service.
33579
34183
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
33580
- * @version 175.0.0
34184
+ * @version 176.0.0
33581
34185
  */
33582
34186
 
33583
34187
  /**
@@ -34590,7 +35194,7 @@ class LanguagesApi {
34590
35194
  /**
34591
35195
  * Languages service.
34592
35196
  * @module purecloud-platform-client-v2/api/LanguagesApi
34593
- * @version 175.0.0
35197
+ * @version 176.0.0
34594
35198
  */
34595
35199
 
34596
35200
  /**
@@ -34812,7 +35416,7 @@ class LearningApi {
34812
35416
  /**
34813
35417
  * Learning service.
34814
35418
  * @module purecloud-platform-client-v2/api/LearningApi
34815
- * @version 175.0.0
35419
+ * @version 176.0.0
34816
35420
  */
34817
35421
 
34818
35422
  /**
@@ -35631,7 +36235,7 @@ class LicenseApi {
35631
36235
  /**
35632
36236
  * License service.
35633
36237
  * @module purecloud-platform-client-v2/api/LicenseApi
35634
- * @version 175.0.0
36238
+ * @version 176.0.0
35635
36239
  */
35636
36240
 
35637
36241
  /**
@@ -35869,7 +36473,7 @@ class LocationsApi {
35869
36473
  /**
35870
36474
  * Locations service.
35871
36475
  * @module purecloud-platform-client-v2/api/LocationsApi
35872
- * @version 175.0.0
36476
+ * @version 176.0.0
35873
36477
  */
35874
36478
 
35875
36479
  /**
@@ -36105,7 +36709,7 @@ class MessagingApi {
36105
36709
  /**
36106
36710
  * Messaging service.
36107
36711
  * @module purecloud-platform-client-v2/api/MessagingApi
36108
- * @version 175.0.0
36712
+ * @version 176.0.0
36109
36713
  */
36110
36714
 
36111
36715
  /**
@@ -36464,7 +37068,7 @@ class MobileDevicesApi {
36464
37068
  /**
36465
37069
  * MobileDevices service.
36466
37070
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
36467
- * @version 175.0.0
37071
+ * @version 176.0.0
36468
37072
  */
36469
37073
 
36470
37074
  /**
@@ -36615,7 +37219,7 @@ class NotificationsApi {
36615
37219
  /**
36616
37220
  * Notifications service.
36617
37221
  * @module purecloud-platform-client-v2/api/NotificationsApi
36618
- * @version 175.0.0
37222
+ * @version 176.0.0
36619
37223
  */
36620
37224
 
36621
37225
  /**
@@ -36848,7 +37452,7 @@ class OAuthApi {
36848
37452
  /**
36849
37453
  * OAuth service.
36850
37454
  * @module purecloud-platform-client-v2/api/OAuthApi
36851
- * @version 175.0.0
37455
+ * @version 176.0.0
36852
37456
  */
36853
37457
 
36854
37458
  /**
@@ -37214,7 +37818,7 @@ class ObjectsApi {
37214
37818
  /**
37215
37819
  * Objects service.
37216
37820
  * @module purecloud-platform-client-v2/api/ObjectsApi
37217
- * @version 175.0.0
37821
+ * @version 176.0.0
37218
37822
  */
37219
37823
 
37220
37824
  /**
@@ -37485,7 +38089,7 @@ class OrganizationApi {
37485
38089
  /**
37486
38090
  * Organization service.
37487
38091
  * @module purecloud-platform-client-v2/api/OrganizationApi
37488
- * @version 175.0.0
38092
+ * @version 176.0.0
37489
38093
  */
37490
38094
 
37491
38095
  /**
@@ -37940,7 +38544,7 @@ class OrganizationAuthorizationApi {
37940
38544
  /**
37941
38545
  * OrganizationAuthorization service.
37942
38546
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
37943
- * @version 175.0.0
38547
+ * @version 176.0.0
37944
38548
  */
37945
38549
 
37946
38550
  /**
@@ -39287,7 +39891,7 @@ class OutboundApi {
39287
39891
  /**
39288
39892
  * Outbound service.
39289
39893
  * @module purecloud-platform-client-v2/api/OutboundApi
39290
- * @version 175.0.0
39894
+ * @version 176.0.0
39291
39895
  */
39292
39896
 
39293
39897
  /**
@@ -42909,7 +43513,7 @@ class PresenceApi {
42909
43513
  /**
42910
43514
  * Presence service.
42911
43515
  * @module purecloud-platform-client-v2/api/PresenceApi
42912
- * @version 175.0.0
43516
+ * @version 176.0.0
42913
43517
  */
42914
43518
 
42915
43519
  /**
@@ -43648,7 +44252,7 @@ class ProcessAutomationApi {
43648
44252
  /**
43649
44253
  * ProcessAutomation service.
43650
44254
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
43651
- * @version 175.0.0
44255
+ * @version 176.0.0
43652
44256
  */
43653
44257
 
43654
44258
  /**
@@ -43887,7 +44491,7 @@ class QualityApi {
43887
44491
  /**
43888
44492
  * Quality service.
43889
44493
  * @module purecloud-platform-client-v2/api/QualityApi
43890
- * @version 175.0.0
44494
+ * @version 176.0.0
43891
44495
  */
43892
44496
 
43893
44497
  /**
@@ -45641,7 +46245,7 @@ class RecordingApi {
45641
46245
  /**
45642
46246
  * Recording service.
45643
46247
  * @module purecloud-platform-client-v2/api/RecordingApi
45644
- * @version 175.0.0
46248
+ * @version 176.0.0
45645
46249
  */
45646
46250
 
45647
46251
  /**
@@ -47278,7 +47882,7 @@ class ResponseManagementApi {
47278
47882
  /**
47279
47883
  * ResponseManagement service.
47280
47884
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
47281
- * @version 175.0.0
47885
+ * @version 176.0.0
47282
47886
  */
47283
47887
 
47284
47888
  /**
@@ -47763,7 +48367,7 @@ class RoutingApi {
47763
48367
  /**
47764
48368
  * Routing service.
47765
48369
  * @module purecloud-platform-client-v2/api/RoutingApi
47766
- * @version 175.0.0
48370
+ * @version 176.0.0
47767
48371
  */
47768
48372
 
47769
48373
  /**
@@ -49821,8 +50425,8 @@ class RoutingApi {
49821
50425
  * @param {Number} opts.pageNumber Page number (default to 1)
49822
50426
  * @param {Object} opts.sortBy Sort by (default to name)
49823
50427
  * @param {Object} opts.sortOrder Sort order (default to ascending)
49824
- * @param {Array.<String>} opts.id Filter by wrapup code ID(s)
49825
50428
  * @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
50429
+ * @param {Array.<String>} opts.id Filter by wrapup code ID(s)
49826
50430
  * @param {Array.<String>} opts.divisionId Filter by division ID(s)
49827
50431
  */
49828
50432
  getRoutingWrapupcodes(opts) {
@@ -49833,7 +50437,7 @@ class RoutingApi {
49833
50437
  '/api/v2/routing/wrapupcodes',
49834
50438
  'GET',
49835
50439
  { },
49836
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
50440
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
49837
50441
  { },
49838
50442
  { },
49839
50443
  null,
@@ -51471,7 +52075,7 @@ class SCIMApi {
51471
52075
  /**
51472
52076
  * SCIM service.
51473
52077
  * @module purecloud-platform-client-v2/api/SCIMApi
51474
- * @version 175.0.0
52078
+ * @version 176.0.0
51475
52079
  */
51476
52080
 
51477
52081
  /**
@@ -52348,7 +52952,7 @@ class ScriptsApi {
52348
52952
  /**
52349
52953
  * Scripts service.
52350
52954
  * @module purecloud-platform-client-v2/api/ScriptsApi
52351
- * @version 175.0.0
52955
+ * @version 176.0.0
52352
52956
  */
52353
52957
 
52354
52958
  /**
@@ -52792,7 +53396,7 @@ class SearchApi {
52792
53396
  /**
52793
53397
  * Search service.
52794
53398
  * @module purecloud-platform-client-v2/api/SearchApi
52795
- * @version 175.0.0
53399
+ * @version 176.0.0
52796
53400
  */
52797
53401
 
52798
53402
  /**
@@ -53481,7 +54085,7 @@ class SettingsApi {
53481
54085
  /**
53482
54086
  * Settings service.
53483
54087
  * @module purecloud-platform-client-v2/api/SettingsApi
53484
- * @version 175.0.0
54088
+ * @version 176.0.0
53485
54089
  */
53486
54090
 
53487
54091
  /**
@@ -53546,7 +54150,7 @@ class SpeechTextAnalyticsApi {
53546
54150
  /**
53547
54151
  * SpeechTextAnalytics service.
53548
54152
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
53549
- * @version 175.0.0
54153
+ * @version 176.0.0
53550
54154
  */
53551
54155
 
53552
54156
  /**
@@ -54529,7 +55133,7 @@ class StationsApi {
54529
55133
  /**
54530
55134
  * Stations service.
54531
55135
  * @module purecloud-platform-client-v2/api/StationsApi
54532
- * @version 175.0.0
55136
+ * @version 176.0.0
54533
55137
  */
54534
55138
 
54535
55139
  /**
@@ -54631,7 +55235,7 @@ class SuggestApi {
54631
55235
  /**
54632
55236
  * Suggest service.
54633
55237
  * @module purecloud-platform-client-v2/api/SuggestApi
54634
- * @version 175.0.0
55238
+ * @version 176.0.0
54635
55239
  */
54636
55240
 
54637
55241
  /**
@@ -54770,7 +55374,7 @@ class TaskManagementApi {
54770
55374
  /**
54771
55375
  * TaskManagement service.
54772
55376
  * @module purecloud-platform-client-v2/api/TaskManagementApi
54773
- * @version 175.0.0
55377
+ * @version 176.0.0
54774
55378
  */
54775
55379
 
54776
55380
  /**
@@ -56051,7 +56655,7 @@ class TeamsApi {
56051
56655
  /**
56052
56656
  * Teams service.
56053
56657
  * @module purecloud-platform-client-v2/api/TeamsApi
56054
- * @version 175.0.0
56658
+ * @version 176.0.0
56055
56659
  */
56056
56660
 
56057
56661
  /**
@@ -56353,7 +56957,7 @@ class TelephonyApi {
56353
56957
  /**
56354
56958
  * Telephony service.
56355
56959
  * @module purecloud-platform-client-v2/api/TelephonyApi
56356
- * @version 175.0.0
56960
+ * @version 176.0.0
56357
56961
  */
56358
56962
 
56359
56963
  /**
@@ -56481,7 +57085,7 @@ class TelephonyProvidersEdgeApi {
56481
57085
  /**
56482
57086
  * TelephonyProvidersEdge service.
56483
57087
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
56484
- * @version 175.0.0
57088
+ * @version 176.0.0
56485
57089
  */
56486
57090
 
56487
57091
  /**
@@ -59770,7 +60374,7 @@ class TextbotsApi {
59770
60374
  /**
59771
60375
  * Textbots service.
59772
60376
  * @module purecloud-platform-client-v2/api/TextbotsApi
59773
- * @version 175.0.0
60377
+ * @version 176.0.0
59774
60378
  */
59775
60379
 
59776
60380
  /**
@@ -59898,7 +60502,7 @@ class TokensApi {
59898
60502
  /**
59899
60503
  * Tokens service.
59900
60504
  * @module purecloud-platform-client-v2/api/TokensApi
59901
- * @version 175.0.0
60505
+ * @version 176.0.0
59902
60506
  */
59903
60507
 
59904
60508
  /**
@@ -60054,7 +60658,7 @@ class UploadsApi {
60054
60658
  /**
60055
60659
  * Uploads service.
60056
60660
  * @module purecloud-platform-client-v2/api/UploadsApi
60057
- * @version 175.0.0
60661
+ * @version 176.0.0
60058
60662
  */
60059
60663
 
60060
60664
  /**
@@ -60230,7 +60834,7 @@ class UsageApi {
60230
60834
  /**
60231
60835
  * Usage service.
60232
60836
  * @module purecloud-platform-client-v2/api/UsageApi
60233
- * @version 175.0.0
60837
+ * @version 176.0.0
60234
60838
  */
60235
60839
 
60236
60840
  /**
@@ -60440,7 +61044,7 @@ class UserRecordingsApi {
60440
61044
  /**
60441
61045
  * UserRecordings service.
60442
61046
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
60443
- * @version 175.0.0
61047
+ * @version 176.0.0
60444
61048
  */
60445
61049
 
60446
61050
  /**
@@ -60625,7 +61229,7 @@ class UsersApi {
60625
61229
  /**
60626
61230
  * Users service.
60627
61231
  * @module purecloud-platform-client-v2/api/UsersApi
60628
- * @version 175.0.0
61232
+ * @version 176.0.0
60629
61233
  */
60630
61234
 
60631
61235
  /**
@@ -63186,7 +63790,7 @@ class UtilitiesApi {
63186
63790
  /**
63187
63791
  * Utilities service.
63188
63792
  * @module purecloud-platform-client-v2/api/UtilitiesApi
63189
- * @version 175.0.0
63793
+ * @version 176.0.0
63190
63794
  */
63191
63795
 
63192
63796
  /**
@@ -63297,7 +63901,7 @@ class VoicemailApi {
63297
63901
  /**
63298
63902
  * Voicemail service.
63299
63903
  * @module purecloud-platform-client-v2/api/VoicemailApi
63300
- * @version 175.0.0
63904
+ * @version 176.0.0
63301
63905
  */
63302
63906
 
63303
63907
  /**
@@ -63964,7 +64568,7 @@ class WebChatApi {
63964
64568
  /**
63965
64569
  * WebChat service.
63966
64570
  * @module purecloud-platform-client-v2/api/WebChatApi
63967
- * @version 175.0.0
64571
+ * @version 176.0.0
63968
64572
  */
63969
64573
 
63970
64574
  /**
@@ -64513,7 +65117,7 @@ class WebDeploymentsApi {
64513
65117
  /**
64514
65118
  * WebDeployments service.
64515
65119
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
64516
- * @version 175.0.0
65120
+ * @version 176.0.0
64517
65121
  */
64518
65122
 
64519
65123
  /**
@@ -65040,7 +65644,7 @@ class WebMessagingApi {
65040
65644
  /**
65041
65645
  * WebMessaging service.
65042
65646
  * @module purecloud-platform-client-v2/api/WebMessagingApi
65043
- * @version 175.0.0
65647
+ * @version 176.0.0
65044
65648
  */
65045
65649
 
65046
65650
  /**
@@ -65086,7 +65690,7 @@ class WidgetsApi {
65086
65690
  /**
65087
65691
  * Widgets service.
65088
65692
  * @module purecloud-platform-client-v2/api/WidgetsApi
65089
- * @version 175.0.0
65693
+ * @version 176.0.0
65090
65694
  */
65091
65695
 
65092
65696
  /**
@@ -65232,7 +65836,7 @@ class WorkforceManagementApi {
65232
65836
  /**
65233
65837
  * WorkforceManagement service.
65234
65838
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
65235
- * @version 175.0.0
65839
+ * @version 176.0.0
65236
65840
  */
65237
65841
 
65238
65842
  /**
@@ -70396,7 +71000,7 @@ class WorkforceManagementApi {
70396
71000
  * </pre>
70397
71001
  * </p>
70398
71002
  * @module purecloud-platform-client-v2/index
70399
- * @version 175.0.0
71003
+ * @version 176.0.0
70400
71004
  */
70401
71005
  class platformClient {
70402
71006
  constructor() {