purecloud-platform-client-v2 159.0.0 → 160.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 (78) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +1281 -177
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1281 -177
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +1281 -177
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +7744 -400
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +455 -168
  9. package/package.json +3 -2
  10. package/src/purecloud-platform-client-v2/ApiClient.js +16 -4
  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/ChatApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +814 -42
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +107 -0
  34. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LearningApi.js +55 -1
  40. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +13 -5
  45. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/OutboundApi.js +60 -1
  50. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -101
  54. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/RoutingApi.js +38 -3
  56. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/SearchApi.js +26 -1
  59. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +76 -1
  60. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/UsersApi.js +32 -1
  71. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +26 -1
  78. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 159.0.0
8
+ * @version 160.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -706,51 +706,6 @@ class RecordingApi {
706
706
  );
707
707
  }
708
708
 
709
- /**
710
- * Get the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
711
- *
712
- * @param {String} settingsId Settings Id
713
- */
714
- getRecordingLocalkeysSetting(settingsId) {
715
- // verify the required parameter 'settingsId' is set
716
- if (settingsId === undefined || settingsId === null) {
717
- throw 'Missing the required parameter "settingsId" when calling getRecordingLocalkeysSetting';
718
- }
719
-
720
- return this.apiClient.callApi(
721
- '/api/v2/recording/localkeys/settings/{settingsId}',
722
- 'GET',
723
- { 'settingsId': settingsId },
724
- { },
725
- { },
726
- { },
727
- null,
728
- ['PureCloud OAuth'],
729
- ['application/json'],
730
- ['application/json']
731
- );
732
- }
733
-
734
- /**
735
- * gets a list local key settings data. Replaced by API recording/keyconfigurations
736
- *
737
- */
738
- getRecordingLocalkeysSettings() {
739
-
740
- return this.apiClient.callApi(
741
- '/api/v2/recording/localkeys/settings',
742
- 'GET',
743
- { },
744
- { },
745
- { },
746
- { },
747
- null,
748
- ['PureCloud OAuth'],
749
- ['application/json'],
750
- ['application/json']
751
- );
752
- }
753
-
754
709
  /**
755
710
  * Gets media retention policy list with query options to filter on name and enabled.
756
711
  * for a less verbose response, add summary=true to this endpoint
@@ -1233,31 +1188,6 @@ class RecordingApi {
1233
1188
  );
1234
1189
  }
1235
1190
 
1236
- /**
1237
- * create settings for local key creation. Replaced by API recording/keyconfigurations
1238
- *
1239
- * @param {Object} body Local Encryption Configuration
1240
- */
1241
- postRecordingLocalkeysSettings(body) {
1242
- // verify the required parameter 'body' is set
1243
- if (body === undefined || body === null) {
1244
- throw 'Missing the required parameter "body" when calling postRecordingLocalkeysSettings';
1245
- }
1246
-
1247
- return this.apiClient.callApi(
1248
- '/api/v2/recording/localkeys/settings',
1249
- 'POST',
1250
- { },
1251
- { },
1252
- { },
1253
- { },
1254
- body,
1255
- ['PureCloud OAuth'],
1256
- ['application/json'],
1257
- ['application/json']
1258
- );
1259
- }
1260
-
1261
1191
  /**
1262
1192
  * Create media retention policy
1263
1193
  * Policy does not work retroactively
@@ -1601,36 +1531,6 @@ class RecordingApi {
1601
1531
  );
1602
1532
  }
1603
1533
 
1604
- /**
1605
- * Update the local encryption settings. Replaced by API recording/keyconfigurations/{keyConfigurationId}
1606
- *
1607
- * @param {String} settingsId Settings Id
1608
- * @param {Object} body Local Encryption metadata
1609
- */
1610
- putRecordingLocalkeysSetting(settingsId, body) {
1611
- // verify the required parameter 'settingsId' is set
1612
- if (settingsId === undefined || settingsId === null) {
1613
- throw 'Missing the required parameter "settingsId" when calling putRecordingLocalkeysSetting';
1614
- }
1615
- // verify the required parameter 'body' is set
1616
- if (body === undefined || body === null) {
1617
- throw 'Missing the required parameter "body" when calling putRecordingLocalkeysSetting';
1618
- }
1619
-
1620
- return this.apiClient.callApi(
1621
- '/api/v2/recording/localkeys/settings/{settingsId}',
1622
- 'PUT',
1623
- { 'settingsId': settingsId },
1624
- { },
1625
- { },
1626
- { },
1627
- body,
1628
- ['PureCloud OAuth'],
1629
- ['application/json'],
1630
- ['application/json']
1631
- );
1632
- }
1633
-
1634
1534
  /**
1635
1535
  * Update a media retention policy
1636
1536
  * Policy does not work retroactively
@@ -5,7 +5,7 @@ class ResponseManagementApi {
5
5
  /**
6
6
  * ResponseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
8
- * @version 159.0.0
8
+ * @version 160.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class RoutingApi {
5
5
  /**
6
6
  * Routing service.
7
7
  * @module purecloud-platform-client-v2/api/RoutingApi
8
- * @version 159.0.0
8
+ * @version 160.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -1808,8 +1808,12 @@ class RoutingApi {
1808
1808
  * Get a phone number provisioned for SMS.
1809
1809
  *
1810
1810
  * @param {String} addressId Address ID
1811
+ * @param {Object} opts Optional parameters
1812
+ * @param {Object} opts.expand Expand response with additional information
1811
1813
  */
1812
- getRoutingSmsPhonenumber(addressId) {
1814
+ getRoutingSmsPhonenumber(addressId, opts) {
1815
+ opts = opts || {};
1816
+
1813
1817
  // verify the required parameter 'addressId' is set
1814
1818
  if (addressId === undefined || addressId === null) {
1815
1819
  throw 'Missing the required parameter "addressId" when calling getRoutingSmsPhonenumber';
@@ -1819,7 +1823,7 @@ class RoutingApi {
1819
1823
  '/api/v2/routing/sms/phonenumbers/{addressId}',
1820
1824
  'GET',
1821
1825
  { 'addressId': addressId },
1822
- { },
1826
+ { 'expand': opts['expand'] },
1823
1827
  { },
1824
1828
  { },
1825
1829
  null,
@@ -2053,6 +2057,37 @@ class RoutingApi {
2053
2057
  );
2054
2058
  }
2055
2059
 
2060
+ /**
2061
+ * Get skill groups for a user
2062
+ *
2063
+ * @param {String} userId User ID
2064
+ * @param {Object} opts Optional parameters
2065
+ * @param {Number} opts.pageSize Page size (default to 25)
2066
+ * @param {String} opts.after The cursor that points to the next page
2067
+ * @param {String} opts.before The cursor that points to the previous page
2068
+ */
2069
+ getUserSkillgroups(userId, opts) {
2070
+ opts = opts || {};
2071
+
2072
+ // verify the required parameter 'userId' is set
2073
+ if (userId === undefined || userId === null) {
2074
+ throw 'Missing the required parameter "userId" when calling getUserSkillgroups';
2075
+ }
2076
+
2077
+ return this.apiClient.callApi(
2078
+ '/api/v2/users/{userId}/skillgroups',
2079
+ 'GET',
2080
+ { 'userId': userId },
2081
+ { 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'] },
2082
+ { },
2083
+ { },
2084
+ null,
2085
+ ['PureCloud OAuth'],
2086
+ ['application/json'],
2087
+ ['application/json']
2088
+ );
2089
+ }
2090
+
2056
2091
  /**
2057
2092
  * Update attributes of an in-queue conversation
2058
2093
  * Returns an object indicating the updated values of all settable attributes. Supported attributes: skillIds, languageId, and priority.
@@ -5,7 +5,7 @@ class SCIMApi {
5
5
  /**
6
6
  * SCIM service.
7
7
  * @module purecloud-platform-client-v2/api/SCIMApi
8
- * @version 159.0.0
8
+ * @version 160.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScriptsApi {
5
5
  /**
6
6
  * Scripts service.
7
7
  * @module purecloud-platform-client-v2/api/ScriptsApi
8
- * @version 159.0.0
8
+ * @version 160.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SearchApi {
5
5
  /**
6
6
  * Search service.
7
7
  * @module purecloud-platform-client-v2/api/SearchApi
8
- * @version 159.0.0
8
+ * @version 160.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -272,6 +272,31 @@ class SearchApi {
272
272
  );
273
273
  }
274
274
 
275
+ /**
276
+ * Search conversations
277
+ *
278
+ * @param {Object} body Search request options
279
+ */
280
+ postConversationsParticipantsAttributesSearch(body) {
281
+ // verify the required parameter 'body' is set
282
+ if (body === undefined || body === null) {
283
+ throw 'Missing the required parameter "body" when calling postConversationsParticipantsAttributesSearch';
284
+ }
285
+
286
+ return this.apiClient.callApi(
287
+ '/api/v2/conversations/participants/attributes/search',
288
+ 'POST',
289
+ { },
290
+ { },
291
+ { },
292
+ { },
293
+ body,
294
+ ['PureCloud OAuth'],
295
+ ['application/json'],
296
+ ['application/json']
297
+ );
298
+ }
299
+
275
300
  /**
276
301
  * Search gkn documentation
277
302
  *
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
5
5
  /**
6
6
  * SpeechTextAnalytics service.
7
7
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
8
- * @version 159.0.0
8
+ * @version 160.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -224,6 +224,31 @@ class SpeechTextAnalyticsApi {
224
224
  );
225
225
  }
226
226
 
227
+ /**
228
+ * Get transcription engine settings of a program
229
+ *
230
+ * @param {String} programId The id of the program
231
+ */
232
+ getSpeechandtextanalyticsProgramTranscriptionengines(programId) {
233
+ // verify the required parameter 'programId' is set
234
+ if (programId === undefined || programId === null) {
235
+ throw 'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramTranscriptionengines';
236
+ }
237
+
238
+ return this.apiClient.callApi(
239
+ '/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines',
240
+ 'GET',
241
+ { 'programId': programId },
242
+ { },
243
+ { },
244
+ { },
245
+ null,
246
+ ['PureCloud OAuth'],
247
+ ['application/json'],
248
+ ['application/json']
249
+ );
250
+ }
251
+
227
252
  /**
228
253
  * Get the list of Speech and Text Analytics programs
229
254
  *
@@ -325,6 +350,26 @@ class SpeechTextAnalyticsApi {
325
350
  );
326
351
  }
327
352
 
353
+ /**
354
+ * Get supported dialects for each transcription engine
355
+ *
356
+ */
357
+ getSpeechandtextanalyticsProgramsTranscriptionenginesDialects() {
358
+
359
+ return this.apiClient.callApi(
360
+ '/api/v2/speechandtextanalytics/programs/transcriptionengines/dialects',
361
+ 'GET',
362
+ { },
363
+ { },
364
+ { },
365
+ { },
366
+ null,
367
+ ['PureCloud OAuth'],
368
+ ['application/json'],
369
+ ['application/json']
370
+ );
371
+ }
372
+
328
373
  /**
329
374
  * Get the list of Speech and Text Analytics unpublished programs
330
375
  *
@@ -798,6 +843,36 @@ class SpeechTextAnalyticsApi {
798
843
  );
799
844
  }
800
845
 
846
+ /**
847
+ * Update transcription engine settings of a program
848
+ *
849
+ * @param {String} programId The id of the program
850
+ * @param {Object} body Program transcription engine setting
851
+ */
852
+ putSpeechandtextanalyticsProgramTranscriptionengines(programId, body) {
853
+ // verify the required parameter 'programId' is set
854
+ if (programId === undefined || programId === null) {
855
+ throw 'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramTranscriptionengines';
856
+ }
857
+ // verify the required parameter 'body' is set
858
+ if (body === undefined || body === null) {
859
+ throw 'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramTranscriptionengines';
860
+ }
861
+
862
+ return this.apiClient.callApi(
863
+ '/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines',
864
+ 'PUT',
865
+ { 'programId': programId },
866
+ { },
867
+ { },
868
+ { },
869
+ body,
870
+ ['PureCloud OAuth'],
871
+ ['application/json'],
872
+ ['application/json']
873
+ );
874
+ }
875
+
801
876
  /**
802
877
  * Update Speech And Text Analytics Settings
803
878
  *
@@ -5,7 +5,7 @@ class StationsApi {
5
5
  /**
6
6
  * Stations service.
7
7
  * @module purecloud-platform-client-v2/api/StationsApi
8
- * @version 159.0.0
8
+ * @version 160.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SuggestApi {
5
5
  /**
6
6
  * Suggest service.
7
7
  * @module purecloud-platform-client-v2/api/SuggestApi
8
- * @version 159.0.0
8
+ * @version 160.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TeamsApi {
5
5
  /**
6
6
  * Teams service.
7
7
  * @module purecloud-platform-client-v2/api/TeamsApi
8
- * @version 159.0.0
8
+ * @version 160.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyApi {
5
5
  /**
6
6
  * Telephony service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyApi
8
- * @version 159.0.0
8
+ * @version 160.1.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 159.0.0
8
+ * @version 160.1.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 159.0.0
8
+ * @version 160.1.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 159.0.0
8
+ * @version 160.1.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 159.0.0
8
+ * @version 160.1.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 159.0.0
8
+ * @version 160.1.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 159.0.0
8
+ * @version 160.1.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 159.0.0
8
+ * @version 160.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -934,6 +934,37 @@ class UsersApi {
934
934
  );
935
935
  }
936
936
 
937
+ /**
938
+ * Get skill groups for a user
939
+ *
940
+ * @param {String} userId User ID
941
+ * @param {Object} opts Optional parameters
942
+ * @param {Number} opts.pageSize Page size (default to 25)
943
+ * @param {String} opts.after The cursor that points to the next page
944
+ * @param {String} opts.before The cursor that points to the previous page
945
+ */
946
+ getUserSkillgroups(userId, opts) {
947
+ opts = opts || {};
948
+
949
+ // verify the required parameter 'userId' is set
950
+ if (userId === undefined || userId === null) {
951
+ throw 'Missing the required parameter "userId" when calling getUserSkillgroups';
952
+ }
953
+
954
+ return this.apiClient.callApi(
955
+ '/api/v2/users/{userId}/skillgroups',
956
+ 'GET',
957
+ { 'userId': userId },
958
+ { 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'] },
959
+ { },
960
+ { },
961
+ null,
962
+ ['PureCloud OAuth'],
963
+ ['application/json'],
964
+ ['application/json']
965
+ );
966
+ }
967
+
937
968
  /**
938
969
  * Get user state information.
939
970
  *
@@ -5,7 +5,7 @@ class UtilitiesApi {
5
5
  /**
6
6
  * Utilities service.
7
7
  * @module purecloud-platform-client-v2/api/UtilitiesApi
8
- * @version 159.0.0
8
+ * @version 160.1.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 159.0.0
8
+ * @version 160.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebChatApi {
5
5
  /**
6
6
  * WebChat service.
7
7
  * @module purecloud-platform-client-v2/api/WebChatApi
8
- * @version 159.0.0
8
+ * @version 160.1.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 159.0.0
8
+ * @version 160.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebMessagingApi {
5
5
  /**
6
6
  * WebMessaging service.
7
7
  * @module purecloud-platform-client-v2/api/WebMessagingApi
8
- * @version 159.0.0
8
+ * @version 160.1.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 159.0.0
8
+ * @version 160.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WorkforceManagementApi {
5
5
  /**
6
6
  * WorkforceManagement service.
7
7
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
8
- * @version 159.0.0
8
+ * @version 160.1.0
9
9
  */
10
10
 
11
11
  /**
@@ -3040,6 +3040,31 @@ class WorkforceManagementApi {
3040
3040
  );
3041
3041
  }
3042
3042
 
3043
+ /**
3044
+ * Get agent possible work shifts for requested time frame
3045
+ *
3046
+ * @param {Object} body body
3047
+ */
3048
+ postWorkforcemanagementAgentsMePossibleworkshifts(body) {
3049
+ // verify the required parameter 'body' is set
3050
+ if (body === undefined || body === null) {
3051
+ throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgentsMePossibleworkshifts';
3052
+ }
3053
+
3054
+ return this.apiClient.callApi(
3055
+ '/api/v2/workforcemanagement/agents/me/possibleworkshifts',
3056
+ 'POST',
3057
+ { },
3058
+ { },
3059
+ { },
3060
+ { },
3061
+ body,
3062
+ ['PureCloud OAuth'],
3063
+ ['application/json'],
3064
+ ['application/json']
3065
+ );
3066
+ }
3067
+
3043
3068
  /**
3044
3069
  * Get published schedule for the current user
3045
3070
  *
@@ -23,6 +23,7 @@ import GeolocationApi from './api/GeolocationApi.js';
23
23
  import GreetingsApi from './api/GreetingsApi.js';
24
24
  import GroupsApi from './api/GroupsApi.js';
25
25
  import IdentityProviderApi from './api/IdentityProviderApi.js';
26
+ import InfrastructureAsCodeApi from './api/InfrastructureAsCodeApi.js';
26
27
  import IntegrationsApi from './api/IntegrationsApi.js';
27
28
  import JourneyApi from './api/JourneyApi.js';
28
29
  import KnowledgeApi from './api/KnowledgeApi.js';
@@ -99,7 +100,7 @@ import WorkforceManagementApi from './api/WorkforceManagementApi.js';
99
100
  * </pre>
100
101
  * </p>
101
102
  * @module purecloud-platform-client-v2/index
102
- * @version 159.0.0
103
+ * @version 160.1.0
103
104
  */
104
105
  class platformClient {
105
106
  constructor() {
@@ -223,6 +224,11 @@ class platformClient {
223
224
  * @property {module:purecloud-platform-client-v2/api/IdentityProviderApi}
224
225
  */
225
226
  this.IdentityProviderApi = IdentityProviderApi;
227
+ /**
228
+ * The InfrastructureAsCodeApi service constructor.
229
+ * @property {module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi}
230
+ */
231
+ this.InfrastructureAsCodeApi = InfrastructureAsCodeApi;
226
232
  /**
227
233
  * The IntegrationsApi service constructor.
228
234
  * @property {module:purecloud-platform-client-v2/api/IntegrationsApi}