purecloud-platform-client-v2 205.0.0 → 207.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 (90) hide show
  1. package/README.md +102 -3
  2. package/dist/node/purecloud-platform-client-v2.js +1241 -133
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1241 -133
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +384 -137
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +384 -137
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +1242 -275
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +40 -18
  11. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +7 -6
  16. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +2 -2
  17. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +2 -3
  24. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +9 -5
  25. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +232 -1
  31. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/JourneyApi.js +191 -4
  42. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -19
  43. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +48 -1
  57. package/src/purecloud-platform-client-v2/api/OutboundApi.js +101 -1
  58. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +311 -1
  73. package/src/purecloud-platform-client-v2/api/TeamsApi.js +7 -3
  74. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/UsersApi.js +27 -1
  82. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +56 -1
  84. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +2 -2
  86. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +60 -1
  89. package/src/purecloud-platform-client-v2/configuration.js +81 -0
  90. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class TaskManagementApi {
5
5
  /**
6
6
  * TaskManagement service.
7
7
  * @module purecloud-platform-client-v2/api/TaskManagementApi
8
- * @version 205.0.0
8
+ * @version 207.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -120,6 +120,66 @@ class TaskManagementApi {
120
120
  );
121
121
  }
122
122
 
123
+ /**
124
+ * Delete a rule
125
+ *
126
+ * @param {String} worktypeId Worktype id
127
+ * @param {String} ruleId ruleId
128
+ */
129
+ deleteTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId) {
130
+ // verify the required parameter 'worktypeId' is set
131
+ if (worktypeId === undefined || worktypeId === null) {
132
+ throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsOnattributechangeRule';
133
+ }
134
+ // verify the required parameter 'ruleId' is set
135
+ if (ruleId === undefined || ruleId === null) {
136
+ throw 'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsOnattributechangeRule';
137
+ }
138
+
139
+ return this.apiClient.callApi(
140
+ '/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}',
141
+ 'DELETE',
142
+ { 'worktypeId': worktypeId,'ruleId': ruleId },
143
+ { },
144
+ { },
145
+ { },
146
+ null,
147
+ ['PureCloud OAuth'],
148
+ ['application/json'],
149
+ ['application/json']
150
+ );
151
+ }
152
+
153
+ /**
154
+ * Delete a rule
155
+ *
156
+ * @param {String} worktypeId Worktype id
157
+ * @param {String} ruleId ruleId
158
+ */
159
+ deleteTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId) {
160
+ // verify the required parameter 'worktypeId' is set
161
+ if (worktypeId === undefined || worktypeId === null) {
162
+ throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsOncreateRule';
163
+ }
164
+ // verify the required parameter 'ruleId' is set
165
+ if (ruleId === undefined || ruleId === null) {
166
+ throw 'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsOncreateRule';
167
+ }
168
+
169
+ return this.apiClient.callApi(
170
+ '/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}',
171
+ 'DELETE',
172
+ { 'worktypeId': worktypeId,'ruleId': ruleId },
173
+ { },
174
+ { },
175
+ { },
176
+ null,
177
+ ['PureCloud OAuth'],
178
+ ['application/json'],
179
+ ['application/json']
180
+ );
181
+ }
182
+
123
183
  /**
124
184
  * Delete a status
125
185
  *
@@ -642,6 +702,126 @@ class TaskManagementApi {
642
702
  );
643
703
  }
644
704
 
705
+ /**
706
+ * Get an attribute change rule
707
+ *
708
+ * @param {String} worktypeId Worktype id
709
+ * @param {String} ruleId ruleId
710
+ */
711
+ getTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId) {
712
+ // verify the required parameter 'worktypeId' is set
713
+ if (worktypeId === undefined || worktypeId === null) {
714
+ throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRule';
715
+ }
716
+ // verify the required parameter 'ruleId' is set
717
+ if (ruleId === undefined || ruleId === null) {
718
+ throw 'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRule';
719
+ }
720
+
721
+ return this.apiClient.callApi(
722
+ '/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}',
723
+ 'GET',
724
+ { 'worktypeId': worktypeId,'ruleId': ruleId },
725
+ { },
726
+ { },
727
+ { },
728
+ null,
729
+ ['PureCloud OAuth'],
730
+ ['application/json'],
731
+ ['application/json']
732
+ );
733
+ }
734
+
735
+ /**
736
+ * Get all attribute-change rules for a worktype
737
+ *
738
+ * @param {String} worktypeId Worktype id
739
+ * @param {Object} opts Optional parameters
740
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
741
+ * @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
742
+ */
743
+ getTaskmanagementWorktypeFlowsOnattributechangeRules(worktypeId, opts) {
744
+ opts = opts || {};
745
+
746
+ // verify the required parameter 'worktypeId' is set
747
+ if (worktypeId === undefined || worktypeId === null) {
748
+ throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRules';
749
+ }
750
+
751
+ return this.apiClient.callApi(
752
+ '/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules',
753
+ 'GET',
754
+ { 'worktypeId': worktypeId },
755
+ { 'after': opts['after'],'pageSize': opts['pageSize'] },
756
+ { },
757
+ { },
758
+ null,
759
+ ['PureCloud OAuth'],
760
+ ['application/json'],
761
+ ['application/json']
762
+ );
763
+ }
764
+
765
+ /**
766
+ * Get an on-create rule
767
+ *
768
+ * @param {String} worktypeId Worktype id
769
+ * @param {String} ruleId ruleId
770
+ */
771
+ getTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId) {
772
+ // verify the required parameter 'worktypeId' is set
773
+ if (worktypeId === undefined || worktypeId === null) {
774
+ throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOncreateRule';
775
+ }
776
+ // verify the required parameter 'ruleId' is set
777
+ if (ruleId === undefined || ruleId === null) {
778
+ throw 'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsOncreateRule';
779
+ }
780
+
781
+ return this.apiClient.callApi(
782
+ '/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}',
783
+ 'GET',
784
+ { 'worktypeId': worktypeId,'ruleId': ruleId },
785
+ { },
786
+ { },
787
+ { },
788
+ null,
789
+ ['PureCloud OAuth'],
790
+ ['application/json'],
791
+ ['application/json']
792
+ );
793
+ }
794
+
795
+ /**
796
+ * Get all on-create rules for a worktype
797
+ *
798
+ * @param {String} worktypeId Worktype id
799
+ * @param {Object} opts Optional parameters
800
+ * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
801
+ * @param {Number} opts.pageSize Limit the number of entities to return. It is not guaranteed that the requested number of entities will be filled in a single request. If an `after` key is returned as part of the response it is possible that more entities that match the filter criteria exist. Maximum of 200. (default to 25)
802
+ */
803
+ getTaskmanagementWorktypeFlowsOncreateRules(worktypeId, opts) {
804
+ opts = opts || {};
805
+
806
+ // verify the required parameter 'worktypeId' is set
807
+ if (worktypeId === undefined || worktypeId === null) {
808
+ throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOncreateRules';
809
+ }
810
+
811
+ return this.apiClient.callApi(
812
+ '/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules',
813
+ 'GET',
814
+ { 'worktypeId': worktypeId },
815
+ { 'after': opts['after'],'pageSize': opts['pageSize'] },
816
+ { },
817
+ { },
818
+ null,
819
+ ['PureCloud OAuth'],
820
+ ['application/json'],
821
+ ['application/json']
822
+ );
823
+ }
824
+
645
825
  /**
646
826
  * Get a listing of a worktype's attribute change history
647
827
  *
@@ -978,6 +1158,76 @@ class TaskManagementApi {
978
1158
  );
979
1159
  }
980
1160
 
1161
+ /**
1162
+ * Update the attributes of a rule
1163
+ *
1164
+ * @param {String} worktypeId Worktype id
1165
+ * @param {String} ruleId ruleId
1166
+ * @param {Object} body Rule
1167
+ */
1168
+ patchTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId, body) {
1169
+ // verify the required parameter 'worktypeId' is set
1170
+ if (worktypeId === undefined || worktypeId === null) {
1171
+ throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';
1172
+ }
1173
+ // verify the required parameter 'ruleId' is set
1174
+ if (ruleId === undefined || ruleId === null) {
1175
+ throw 'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';
1176
+ }
1177
+ // verify the required parameter 'body' is set
1178
+ if (body === undefined || body === null) {
1179
+ throw 'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';
1180
+ }
1181
+
1182
+ return this.apiClient.callApi(
1183
+ '/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}',
1184
+ 'PATCH',
1185
+ { 'worktypeId': worktypeId,'ruleId': ruleId },
1186
+ { },
1187
+ { },
1188
+ { },
1189
+ body,
1190
+ ['PureCloud OAuth'],
1191
+ ['application/json'],
1192
+ ['application/json']
1193
+ );
1194
+ }
1195
+
1196
+ /**
1197
+ * Update the attributes of a rule
1198
+ *
1199
+ * @param {String} worktypeId Worktype id
1200
+ * @param {String} ruleId ruleId
1201
+ * @param {Object} body Rule
1202
+ */
1203
+ patchTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId, body) {
1204
+ // verify the required parameter 'worktypeId' is set
1205
+ if (worktypeId === undefined || worktypeId === null) {
1206
+ throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsOncreateRule';
1207
+ }
1208
+ // verify the required parameter 'ruleId' is set
1209
+ if (ruleId === undefined || ruleId === null) {
1210
+ throw 'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsOncreateRule';
1211
+ }
1212
+ // verify the required parameter 'body' is set
1213
+ if (body === undefined || body === null) {
1214
+ throw 'Missing the required parameter "body" when calling patchTaskmanagementWorktypeFlowsOncreateRule';
1215
+ }
1216
+
1217
+ return this.apiClient.callApi(
1218
+ '/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}',
1219
+ 'PATCH',
1220
+ { 'worktypeId': worktypeId,'ruleId': ruleId },
1221
+ { },
1222
+ { },
1223
+ { },
1224
+ body,
1225
+ ['PureCloud OAuth'],
1226
+ ['application/json'],
1227
+ ['application/json']
1228
+ );
1229
+ }
1230
+
981
1231
  /**
982
1232
  * Update the attributes of a status
983
1233
  *
@@ -1243,6 +1493,66 @@ class TaskManagementApi {
1243
1493
  );
1244
1494
  }
1245
1495
 
1496
+ /**
1497
+ * Add an attribute-change rule to a worktype
1498
+ *
1499
+ * @param {String} worktypeId Worktype id
1500
+ * @param {Object} body Rule
1501
+ */
1502
+ postTaskmanagementWorktypeFlowsOnattributechangeRules(worktypeId, body) {
1503
+ // verify the required parameter 'worktypeId' is set
1504
+ if (worktypeId === undefined || worktypeId === null) {
1505
+ throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsOnattributechangeRules';
1506
+ }
1507
+ // verify the required parameter 'body' is set
1508
+ if (body === undefined || body === null) {
1509
+ throw 'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsOnattributechangeRules';
1510
+ }
1511
+
1512
+ return this.apiClient.callApi(
1513
+ '/api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules',
1514
+ 'POST',
1515
+ { 'worktypeId': worktypeId },
1516
+ { },
1517
+ { },
1518
+ { },
1519
+ body,
1520
+ ['PureCloud OAuth'],
1521
+ ['application/json'],
1522
+ ['application/json']
1523
+ );
1524
+ }
1525
+
1526
+ /**
1527
+ * Add an on-create rule to a worktype
1528
+ *
1529
+ * @param {String} worktypeId Worktype id
1530
+ * @param {Object} body Rule
1531
+ */
1532
+ postTaskmanagementWorktypeFlowsOncreateRules(worktypeId, body) {
1533
+ // verify the required parameter 'worktypeId' is set
1534
+ if (worktypeId === undefined || worktypeId === null) {
1535
+ throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsOncreateRules';
1536
+ }
1537
+ // verify the required parameter 'body' is set
1538
+ if (body === undefined || body === null) {
1539
+ throw 'Missing the required parameter "body" when calling postTaskmanagementWorktypeFlowsOncreateRules';
1540
+ }
1541
+
1542
+ return this.apiClient.callApi(
1543
+ '/api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules',
1544
+ 'POST',
1545
+ { 'worktypeId': worktypeId },
1546
+ { },
1547
+ { },
1548
+ { },
1549
+ body,
1550
+ ['PureCloud OAuth'],
1551
+ ['application/json'],
1552
+ ['application/json']
1553
+ );
1554
+ }
1555
+
1246
1556
  /**
1247
1557
  * Add a status to a worktype
1248
1558
  *
@@ -5,7 +5,7 @@ class TeamsApi {
5
5
  /**
6
6
  * Teams service.
7
7
  * @module purecloud-platform-client-v2/api/TeamsApi
8
- * @version 205.0.0
8
+ * @version 207.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -79,8 +79,12 @@ class TeamsApi {
79
79
  * Get team
80
80
  *
81
81
  * @param {String} teamId Team ID
82
+ * @param {Object} opts Optional parameters
83
+ * @param {Object} opts.expand Expand the division name
82
84
  */
83
- getTeam(teamId) {
85
+ getTeam(teamId, opts) {
86
+ opts = opts || {};
87
+
84
88
  // verify the required parameter 'teamId' is set
85
89
  if (teamId === undefined || teamId === null) {
86
90
  throw 'Missing the required parameter "teamId" when calling getTeam';
@@ -90,7 +94,7 @@ class TeamsApi {
90
94
  '/api/v2/teams/{teamId}',
91
95
  'GET',
92
96
  { 'teamId': teamId },
93
- { },
97
+ { 'expand': opts['expand'] },
94
98
  { },
95
99
  { },
96
100
  null,
@@ -5,7 +5,7 @@ class TelephonyApi {
5
5
  /**
6
6
  * Telephony service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyApi
8
- * @version 205.0.0
8
+ * @version 207.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
5
5
  /**
6
6
  * TelephonyProvidersEdge service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
8
- * @version 205.0.0
8
+ * @version 207.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 205.0.0
8
+ * @version 207.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TokensApi {
5
5
  /**
6
6
  * Tokens service.
7
7
  * @module purecloud-platform-client-v2/api/TokensApi
8
- * @version 205.0.0
8
+ * @version 207.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UploadsApi {
5
5
  /**
6
6
  * Uploads service.
7
7
  * @module purecloud-platform-client-v2/api/UploadsApi
8
- * @version 205.0.0
8
+ * @version 207.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsageApi {
5
5
  /**
6
6
  * Usage service.
7
7
  * @module purecloud-platform-client-v2/api/UsageApi
8
- * @version 205.0.0
8
+ * @version 207.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UserRecordingsApi {
5
5
  /**
6
6
  * UserRecordings service.
7
7
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
8
- * @version 205.0.0
8
+ * @version 207.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsersApi {
5
5
  /**
6
6
  * Users service.
7
7
  * @module purecloud-platform-client-v2/api/UsersApi
8
- * @version 205.0.0
8
+ * @version 207.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1320,6 +1320,32 @@ class UsersApi {
1320
1320
  );
1321
1321
  }
1322
1322
 
1323
+ /**
1324
+ * Get chats for a user
1325
+ *
1326
+ * @param {Object} opts Optional parameters
1327
+ * @param {Boolean} opts.excludeClosed Whether or not to exclude closed chats
1328
+ * @param {Boolean} opts.includePresence Whether or not to include user presence
1329
+ * @param {String} opts.after The key to start after
1330
+ */
1331
+ getUsersChatsMe(opts) {
1332
+ opts = opts || {};
1333
+
1334
+
1335
+ return this.apiClient.callApi(
1336
+ '/api/v2/users/chats/me',
1337
+ 'GET',
1338
+ { },
1339
+ { 'excludeClosed': opts['excludeClosed'],'includePresence': opts['includePresence'],'after': opts['after'] },
1340
+ { },
1341
+ { },
1342
+ null,
1343
+ ['PureCloud OAuth'],
1344
+ ['application/json'],
1345
+ ['application/json']
1346
+ );
1347
+ }
1348
+
1323
1349
  /**
1324
1350
  * Get list of Development Activities
1325
1351
  * Either moduleId or userId is required. Results are filtered based on the applicable permissions.
@@ -5,7 +5,7 @@ class UtilitiesApi {
5
5
  /**
6
6
  * Utilities service.
7
7
  * @module purecloud-platform-client-v2/api/UtilitiesApi
8
- * @version 205.0.0
8
+ * @version 207.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class VoicemailApi {
5
5
  /**
6
6
  * Voicemail service.
7
7
  * @module purecloud-platform-client-v2/api/VoicemailApi
8
- * @version 205.0.0
8
+ * @version 207.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -392,6 +392,61 @@ class VoicemailApi {
392
392
  );
393
393
  }
394
394
 
395
+ /**
396
+ * Get a user's mailbox information
397
+ *
398
+ * @param {String} userId userId
399
+ */
400
+ getVoicemailUserMailbox(userId) {
401
+ // verify the required parameter 'userId' is set
402
+ if (userId === undefined || userId === null) {
403
+ throw 'Missing the required parameter "userId" when calling getVoicemailUserMailbox';
404
+ }
405
+
406
+ return this.apiClient.callApi(
407
+ '/api/v2/voicemail/users/{userId}/mailbox',
408
+ 'GET',
409
+ { 'userId': userId },
410
+ { },
411
+ { },
412
+ { },
413
+ null,
414
+ ['PureCloud OAuth'],
415
+ ['application/json'],
416
+ ['application/json']
417
+ );
418
+ }
419
+
420
+ /**
421
+ * List voicemail messages
422
+ *
423
+ * @param {String} userId User ID
424
+ * @param {Object} opts Optional parameters
425
+ * @param {Number} opts.pageSize Page size (default to 25)
426
+ * @param {Number} opts.pageNumber Page number (default to 1)
427
+ */
428
+ getVoicemailUserMessages(userId, opts) {
429
+ opts = opts || {};
430
+
431
+ // verify the required parameter 'userId' is set
432
+ if (userId === undefined || userId === null) {
433
+ throw 'Missing the required parameter "userId" when calling getVoicemailUserMessages';
434
+ }
435
+
436
+ return this.apiClient.callApi(
437
+ '/api/v2/voicemail/users/{userId}/messages',
438
+ 'GET',
439
+ { 'userId': userId },
440
+ { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
441
+ { },
442
+ { },
443
+ null,
444
+ ['PureCloud OAuth'],
445
+ ['application/json'],
446
+ ['application/json']
447
+ );
448
+ }
449
+
395
450
  /**
396
451
  * Get a user's voicemail policy
397
452
  *
@@ -5,7 +5,7 @@ class WebChatApi {
5
5
  /**
6
6
  * WebChat service.
7
7
  * @module purecloud-platform-client-v2/api/WebChatApi
8
- * @version 205.0.0
8
+ * @version 207.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebDeploymentsApi {
5
5
  /**
6
6
  * WebDeployments service.
7
7
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
8
- * @version 205.0.0
8
+ * @version 207.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -209,7 +209,7 @@ class WebDeploymentsApi {
209
209
  * View configuration drafts
210
210
  *
211
211
  * @param {Object} opts Optional parameters
212
- * @param {Boolean} opts.showOnlyPublished Get only configuration drafts with published versions (default to false)
212
+ * @param {Boolean} opts.showOnlyPublished Filter by published status.
213
213
  */
214
214
  getWebdeploymentsConfigurations(opts) {
215
215
  opts = opts || {};
@@ -5,7 +5,7 @@ class WebMessagingApi {
5
5
  /**
6
6
  * WebMessaging service.
7
7
  * @module purecloud-platform-client-v2/api/WebMessagingApi
8
- * @version 205.0.0
8
+ * @version 207.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WidgetsApi {
5
5
  /**
6
6
  * Widgets service.
7
7
  * @module purecloud-platform-client-v2/api/WidgetsApi
8
- * @version 205.0.0
8
+ * @version 207.0.0
9
9
  */
10
10
 
11
11
  /**