purecloud-platform-client-v2 140.0.1 → 141.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 (73) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +252 -65
  3. package/dist/web-amd/purecloud-platform-client-v2.js +252 -65
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +252 -65
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +252 -65
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +322 -200
  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/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 +1 -1
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/GamificationApi.js +152 -1
  26. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/LearningApi.js +35 -1
  37. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/RoutingApi.js +4 -2
  52. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  71. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -398,7 +398,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
398
398
 
399
399
  /**
400
400
  * @module purecloud-platform-client-v2/ApiClient
401
- * @version 140.0.1
401
+ * @version 141.0.0
402
402
  */
403
403
  class ApiClient {
404
404
  /**
@@ -1477,7 +1477,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1477
1477
  /**
1478
1478
  * Alerting service.
1479
1479
  * @module purecloud-platform-client-v2/api/AlertingApi
1480
- * @version 140.0.1
1480
+ * @version 141.0.0
1481
1481
  */
1482
1482
 
1483
1483
  /**
@@ -1791,7 +1791,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1791
1791
  /**
1792
1792
  * Analytics service.
1793
1793
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1794
- * @version 140.0.1
1794
+ * @version 141.0.0
1795
1795
  */
1796
1796
 
1797
1797
  /**
@@ -2973,7 +2973,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2973
2973
  /**
2974
2974
  * Architect service.
2975
2975
  * @module purecloud-platform-client-v2/api/ArchitectApi
2976
- * @version 140.0.1
2976
+ * @version 141.0.0
2977
2977
  */
2978
2978
 
2979
2979
  /**
@@ -6018,7 +6018,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6018
6018
  /**
6019
6019
  * Audit service.
6020
6020
  * @module purecloud-platform-client-v2/api/AuditApi
6021
- * @version 140.0.1
6021
+ * @version 141.0.0
6022
6022
  */
6023
6023
 
6024
6024
  /**
@@ -6189,7 +6189,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6189
6189
  /**
6190
6190
  * Authorization service.
6191
6191
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6192
- * @version 140.0.1
6192
+ * @version 141.0.0
6193
6193
  */
6194
6194
 
6195
6195
  /**
@@ -7372,7 +7372,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7372
7372
  /**
7373
7373
  * Billing service.
7374
7374
  * @module purecloud-platform-client-v2/api/BillingApi
7375
- * @version 140.0.1
7375
+ * @version 141.0.0
7376
7376
  */
7377
7377
 
7378
7378
  /**
@@ -7452,7 +7452,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7452
7452
  /**
7453
7453
  * Chat service.
7454
7454
  * @module purecloud-platform-client-v2/api/ChatApi
7455
- * @version 140.0.1
7455
+ * @version 141.0.0
7456
7456
  */
7457
7457
 
7458
7458
  /**
@@ -7543,7 +7543,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7543
7543
  /**
7544
7544
  * Coaching service.
7545
7545
  * @module purecloud-platform-client-v2/api/CoachingApi
7546
- * @version 140.0.1
7546
+ * @version 141.0.0
7547
7547
  */
7548
7548
 
7549
7549
  /**
@@ -8120,7 +8120,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
8120
8120
  /**
8121
8121
  * ContentManagement service.
8122
8122
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8123
- * @version 140.0.1
8123
+ * @version 141.0.0
8124
8124
  */
8125
8125
 
8126
8126
  /**
@@ -9260,7 +9260,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9260
9260
  /**
9261
9261
  * Conversations service.
9262
9262
  * @module purecloud-platform-client-v2/api/ConversationsApi
9263
- * @version 140.0.1
9263
+ * @version 141.0.0
9264
9264
  */
9265
9265
 
9266
9266
  /**
@@ -14194,7 +14194,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14194
14194
  /**
14195
14195
  * DataExtensions service.
14196
14196
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
14197
- * @version 140.0.1
14197
+ * @version 141.0.0
14198
14198
  */
14199
14199
 
14200
14200
  /**
@@ -14280,7 +14280,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14280
14280
  /**
14281
14281
  * ExternalContacts service.
14282
14282
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
14283
- * @version 140.0.1
14283
+ * @version 141.0.0
14284
14284
  */
14285
14285
 
14286
14286
  /**
@@ -16023,7 +16023,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16023
16023
  /**
16024
16024
  * Fax service.
16025
16025
  * @module purecloud-platform-client-v2/api/FaxApi
16026
- * @version 140.0.1
16026
+ * @version 141.0.0
16027
16027
  */
16028
16028
 
16029
16029
  /**
@@ -16194,7 +16194,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16194
16194
  /**
16195
16195
  * Flows service.
16196
16196
  * @module purecloud-platform-client-v2/api/FlowsApi
16197
- * @version 140.0.1
16197
+ * @version 141.0.0
16198
16198
  */
16199
16199
 
16200
16200
  /**
@@ -16265,7 +16265,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16265
16265
  /**
16266
16266
  * Gamification service.
16267
16267
  * @module purecloud-platform-client-v2/api/GamificationApi
16268
- * @version 140.0.1
16268
+ * @version 141.0.0
16269
16269
  */
16270
16270
 
16271
16271
  /**
@@ -16888,6 +16888,157 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16888
16888
  );
16889
16889
  }
16890
16890
 
16891
+ /**
16892
+ * Average performance values trends by metric of a user
16893
+ *
16894
+ * @param {String} profileId performanceProfileId
16895
+ * @param {String} metricId metricId
16896
+ * @param {String} userId
16897
+ * @param {String} startWorkday Start workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
16898
+ * @param {String} endWorkday End workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
16899
+ * @param {Object} opts Optional parameters
16900
+ * @param {String} opts.referenceWorkday Reference workday for the trend. Used to determine the associated metric definition. If not set, then the value of endWorkday is used. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
16901
+ * @param {String} opts.timeZone Timezone for the workday. Defaults to UTC (default to UTC)
16902
+ */
16903
+ getGamificationScorecardsProfileMetricUserValuesTrends(profileId, metricId, userId, startWorkday, endWorkday, opts) {
16904
+ opts = opts || {};
16905
+
16906
+ // verify the required parameter 'profileId' is set
16907
+ if (profileId === undefined || profileId === null) {
16908
+ throw 'Missing the required parameter "profileId" when calling getGamificationScorecardsProfileMetricUserValuesTrends';
16909
+ }
16910
+ // verify the required parameter 'metricId' is set
16911
+ if (metricId === undefined || metricId === null) {
16912
+ throw 'Missing the required parameter "metricId" when calling getGamificationScorecardsProfileMetricUserValuesTrends';
16913
+ }
16914
+ // verify the required parameter 'userId' is set
16915
+ if (userId === undefined || userId === null) {
16916
+ throw 'Missing the required parameter "userId" when calling getGamificationScorecardsProfileMetricUserValuesTrends';
16917
+ }
16918
+ // verify the required parameter 'startWorkday' is set
16919
+ if (startWorkday === undefined || startWorkday === null) {
16920
+ throw 'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricUserValuesTrends';
16921
+ }
16922
+ // verify the required parameter 'endWorkday' is set
16923
+ if (endWorkday === undefined || endWorkday === null) {
16924
+ throw 'Missing the required parameter "endWorkday" when calling getGamificationScorecardsProfileMetricUserValuesTrends';
16925
+ }
16926
+
16927
+ return this.apiClient.callApi(
16928
+ '/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/users/{userId}/values/trends',
16929
+ 'GET',
16930
+ { 'profileId': profileId,'metricId': metricId,'userId': userId },
16931
+ { 'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
16932
+ { },
16933
+ { },
16934
+ null,
16935
+ ['PureCloud OAuth'],
16936
+ ['application/json'],
16937
+ ['application/json']
16938
+ );
16939
+ }
16940
+
16941
+ /**
16942
+ * Average performance values trends by metric of a division or a performance profile
16943
+ *
16944
+ * @param {String} profileId performanceProfileId
16945
+ * @param {String} metricId metricId
16946
+ * @param {Object} filterType Filter type for the query request.
16947
+ * @param {String} filterId ID for the filter type. For example, division Id
16948
+ * @param {String} startWorkday Start workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
16949
+ * @param {String} endWorkday End workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
16950
+ * @param {Object} opts Optional parameters
16951
+ * @param {String} opts.referenceWorkday Reference workday for the trend. Used to determine the associated metric definition. If not set, then the value of endWorkday is used. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
16952
+ * @param {String} opts.timeZone Timezone for the workday. Defaults to UTC (default to UTC)
16953
+ */
16954
+ getGamificationScorecardsProfileMetricUsersValuesTrends(profileId, metricId, filterType, filterId, startWorkday, endWorkday, opts) {
16955
+ opts = opts || {};
16956
+
16957
+ // verify the required parameter 'profileId' is set
16958
+ if (profileId === undefined || profileId === null) {
16959
+ throw 'Missing the required parameter "profileId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
16960
+ }
16961
+ // verify the required parameter 'metricId' is set
16962
+ if (metricId === undefined || metricId === null) {
16963
+ throw 'Missing the required parameter "metricId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
16964
+ }
16965
+ // verify the required parameter 'filterType' is set
16966
+ if (filterType === undefined || filterType === null) {
16967
+ throw 'Missing the required parameter "filterType" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
16968
+ }
16969
+ // verify the required parameter 'filterId' is set
16970
+ if (filterId === undefined || filterId === null) {
16971
+ throw 'Missing the required parameter "filterId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
16972
+ }
16973
+ // verify the required parameter 'startWorkday' is set
16974
+ if (startWorkday === undefined || startWorkday === null) {
16975
+ throw 'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
16976
+ }
16977
+ // verify the required parameter 'endWorkday' is set
16978
+ if (endWorkday === undefined || endWorkday === null) {
16979
+ throw 'Missing the required parameter "endWorkday" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
16980
+ }
16981
+
16982
+ return this.apiClient.callApi(
16983
+ '/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/users/values/trends',
16984
+ 'GET',
16985
+ { 'profileId': profileId,'metricId': metricId },
16986
+ { 'filterType': filterType,'filterId': filterId,'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
16987
+ { },
16988
+ { },
16989
+ null,
16990
+ ['PureCloud OAuth'],
16991
+ ['application/json'],
16992
+ ['application/json']
16993
+ );
16994
+ }
16995
+
16996
+ /**
16997
+ * Average performance values trends by metric of the requesting user
16998
+ *
16999
+ * @param {String} profileId performanceProfileId
17000
+ * @param {String} metricId metricId
17001
+ * @param {String} startWorkday Start workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
17002
+ * @param {String} endWorkday End workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
17003
+ * @param {Object} opts Optional parameters
17004
+ * @param {Object} opts.filterType Filter type for the query request. If not set, returns the values trends of the requesting user
17005
+ * @param {String} opts.referenceWorkday Reference workday for the trend. Used to determine the associated metric definition. If not set, then the value of endWorkday is used. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
17006
+ * @param {String} opts.timeZone Timezone for the workday. Defaults to UTC (default to UTC)
17007
+ */
17008
+ getGamificationScorecardsProfileMetricValuesTrends(profileId, metricId, startWorkday, endWorkday, opts) {
17009
+ opts = opts || {};
17010
+
17011
+ // verify the required parameter 'profileId' is set
17012
+ if (profileId === undefined || profileId === null) {
17013
+ throw 'Missing the required parameter "profileId" when calling getGamificationScorecardsProfileMetricValuesTrends';
17014
+ }
17015
+ // verify the required parameter 'metricId' is set
17016
+ if (metricId === undefined || metricId === null) {
17017
+ throw 'Missing the required parameter "metricId" when calling getGamificationScorecardsProfileMetricValuesTrends';
17018
+ }
17019
+ // verify the required parameter 'startWorkday' is set
17020
+ if (startWorkday === undefined || startWorkday === null) {
17021
+ throw 'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricValuesTrends';
17022
+ }
17023
+ // verify the required parameter 'endWorkday' is set
17024
+ if (endWorkday === undefined || endWorkday === null) {
17025
+ throw 'Missing the required parameter "endWorkday" when calling getGamificationScorecardsProfileMetricValuesTrends';
17026
+ }
17027
+
17028
+ return this.apiClient.callApi(
17029
+ '/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/values/trends',
17030
+ 'GET',
17031
+ { 'profileId': profileId,'metricId': metricId },
17032
+ { 'filterType': opts['filterType'],'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
17033
+ { },
17034
+ { },
17035
+ null,
17036
+ ['PureCloud OAuth'],
17037
+ ['application/json'],
17038
+ ['application/json']
17039
+ );
17040
+ }
17041
+
16891
17042
  /**
16892
17043
  * Workday performance metrics for a user
16893
17044
  *
@@ -17696,7 +17847,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17696
17847
  /**
17697
17848
  * GeneralDataProtectionRegulation service.
17698
17849
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
17699
- * @version 140.0.1
17850
+ * @version 141.0.0
17700
17851
  */
17701
17852
 
17702
17853
  /**
@@ -17826,7 +17977,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17826
17977
  /**
17827
17978
  * Geolocation service.
17828
17979
  * @module purecloud-platform-client-v2/api/GeolocationApi
17829
- * @version 140.0.1
17980
+ * @version 141.0.0
17830
17981
  */
17831
17982
 
17832
17983
  /**
@@ -17957,7 +18108,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17957
18108
  /**
17958
18109
  * Greetings service.
17959
18110
  * @module purecloud-platform-client-v2/api/GreetingsApi
17960
- * @version 140.0.1
18111
+ * @version 141.0.0
17961
18112
  */
17962
18113
 
17963
18114
  /**
@@ -18412,7 +18563,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18412
18563
  /**
18413
18564
  * Groups service.
18414
18565
  * @module purecloud-platform-client-v2/api/GroupsApi
18415
- * @version 140.0.1
18566
+ * @version 141.0.0
18416
18567
  */
18417
18568
 
18418
18569
  /**
@@ -18817,7 +18968,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18817
18968
  /**
18818
18969
  * IdentityProvider service.
18819
18970
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
18820
- * @version 140.0.1
18971
+ * @version 141.0.0
18821
18972
  */
18822
18973
 
18823
18974
  /**
@@ -19573,7 +19724,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19573
19724
  /**
19574
19725
  * Integrations service.
19575
19726
  * @module purecloud-platform-client-v2/api/IntegrationsApi
19576
- * @version 140.0.1
19727
+ * @version 141.0.0
19577
19728
  */
19578
19729
 
19579
19730
  /**
@@ -21250,7 +21401,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21250
21401
  /**
21251
21402
  * Journey service.
21252
21403
  * @module purecloud-platform-client-v2/api/JourneyApi
21253
- * @version 140.0.1
21404
+ * @version 141.0.0
21254
21405
  */
21255
21406
 
21256
21407
  /**
@@ -21961,7 +22112,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21961
22112
  /**
21962
22113
  * Knowledge service.
21963
22114
  * @module purecloud-platform-client-v2/api/KnowledgeApi
21964
- * @version 140.0.1
22115
+ * @version 141.0.0
21965
22116
  */
21966
22117
 
21967
22118
  /**
@@ -22861,7 +23012,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22861
23012
  /**
22862
23013
  * LanguageUnderstanding service.
22863
23014
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
22864
- * @version 140.0.1
23015
+ * @version 141.0.0
22865
23016
  */
22866
23017
 
22867
23018
  /**
@@ -23765,7 +23916,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23765
23916
  /**
23766
23917
  * Languages service.
23767
23918
  * @module purecloud-platform-client-v2/api/LanguagesApi
23768
- * @version 140.0.1
23919
+ * @version 141.0.0
23769
23920
  */
23770
23921
 
23771
23922
  /**
@@ -24033,7 +24184,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24033
24184
  /**
24034
24185
  * Learning service.
24035
24186
  * @module purecloud-platform-client-v2/api/LearningApi
24036
- * @version 140.0.1
24187
+ * @version 141.0.0
24037
24188
  */
24038
24189
 
24039
24190
  /**
@@ -24352,6 +24503,40 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24352
24503
  );
24353
24504
  }
24354
24505
 
24506
+ /**
24507
+ * Get all learning modules of an organization including assignments for a specific user
24508
+ *
24509
+ * @param {Array.<String>} userIds The IDs of the users to include
24510
+ * @param {Object} opts Optional parameters
24511
+ * @param {Number} opts.pageSize Page size (default to 25)
24512
+ * @param {Number} opts.pageNumber Page number (default to 1)
24513
+ * @param {String} opts.searchTerm Search Term (searches by name and description)
24514
+ * @param {Object} opts.overdue Specifies if only modules with overdue/not overdue (overdue is True or False) assignments are returned. If overdue is Any or omitted, both are returned and can including modules that are unassigned. (default to Any)
24515
+ * @param {Array.<String>} opts.assignmentStates Specifies the assignment states to return.
24516
+ * @param {Array.<String>} opts.expand Fields to expand in response(case insensitive)
24517
+ */
24518
+ getLearningModulesAssignments(userIds, opts) {
24519
+ opts = opts || {};
24520
+
24521
+ // verify the required parameter 'userIds' is set
24522
+ if (userIds === undefined || userIds === null) {
24523
+ throw 'Missing the required parameter "userIds" when calling getLearningModulesAssignments';
24524
+ }
24525
+
24526
+ return this.apiClient.callApi(
24527
+ '/api/v2/learning/modules/assignments',
24528
+ 'GET',
24529
+ { },
24530
+ { 'userIds': this.apiClient.buildCollectionParam(userIds, 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'searchTerm': opts['searchTerm'],'overdue': opts['overdue'],'assignmentStates': this.apiClient.buildCollectionParam(opts['assignmentStates'], 'multi'),'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
24531
+ { },
24532
+ { },
24533
+ null,
24534
+ ['PureCloud OAuth'],
24535
+ ['application/json'],
24536
+ ['application/json']
24537
+ );
24538
+ }
24539
+
24355
24540
  /**
24356
24541
  * Update Learning Assignment
24357
24542
  *
@@ -24734,7 +24919,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24734
24919
  /**
24735
24920
  * License service.
24736
24921
  * @module purecloud-platform-client-v2/api/LicenseApi
24737
- * @version 140.0.1
24922
+ * @version 141.0.0
24738
24923
  */
24739
24924
 
24740
24925
  /**
@@ -24972,7 +25157,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24972
25157
  /**
24973
25158
  * Locations service.
24974
25159
  * @module purecloud-platform-client-v2/api/LocationsApi
24975
- * @version 140.0.1
25160
+ * @version 141.0.0
24976
25161
  */
24977
25162
 
24978
25163
  /**
@@ -25208,7 +25393,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25208
25393
  /**
25209
25394
  * Messaging service.
25210
25395
  * @module purecloud-platform-client-v2/api/MessagingApi
25211
- * @version 140.0.1
25396
+ * @version 141.0.0
25212
25397
  */
25213
25398
 
25214
25399
  /**
@@ -25359,7 +25544,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25359
25544
  /**
25360
25545
  * MobileDevices service.
25361
25546
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
25362
- * @version 140.0.1
25547
+ * @version 141.0.0
25363
25548
  */
25364
25549
 
25365
25550
  /**
@@ -25510,7 +25695,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25510
25695
  /**
25511
25696
  * Notifications service.
25512
25697
  * @module purecloud-platform-client-v2/api/NotificationsApi
25513
- * @version 140.0.1
25698
+ * @version 141.0.0
25514
25699
  */
25515
25700
 
25516
25701
  /**
@@ -25735,7 +25920,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25735
25920
  /**
25736
25921
  * OAuth service.
25737
25922
  * @module purecloud-platform-client-v2/api/OAuthApi
25738
- * @version 140.0.1
25923
+ * @version 141.0.0
25739
25924
  */
25740
25925
 
25741
25926
  /**
@@ -26101,7 +26286,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26101
26286
  /**
26102
26287
  * Objects service.
26103
26288
  * @module purecloud-platform-client-v2/api/ObjectsApi
26104
- * @version 140.0.1
26289
+ * @version 141.0.0
26105
26290
  */
26106
26291
 
26107
26292
  /**
@@ -26372,7 +26557,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26372
26557
  /**
26373
26558
  * Organization service.
26374
26559
  * @module purecloud-platform-client-v2/api/OrganizationApi
26375
- * @version 140.0.1
26560
+ * @version 141.0.0
26376
26561
  */
26377
26562
 
26378
26563
  /**
@@ -26775,7 +26960,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26775
26960
  /**
26776
26961
  * OrganizationAuthorization service.
26777
26962
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
26778
- * @version 140.0.1
26963
+ * @version 141.0.0
26779
26964
  */
26780
26965
 
26781
26966
  /**
@@ -27700,7 +27885,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27700
27885
  /**
27701
27886
  * Outbound service.
27702
27887
  * @module purecloud-platform-client-v2/api/OutboundApi
27703
- * @version 140.0.1
27888
+ * @version 141.0.0
27704
27889
  */
27705
27890
 
27706
27891
  /**
@@ -30955,7 +31140,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30955
31140
  /**
30956
31141
  * Presence service.
30957
31142
  * @module purecloud-platform-client-v2/api/PresenceApi
30958
- * @version 140.0.1
31143
+ * @version 141.0.0
30959
31144
  */
30960
31145
 
30961
31146
  /**
@@ -31277,7 +31462,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
31277
31462
  /**
31278
31463
  * Quality service.
31279
31464
  * @module purecloud-platform-client-v2/api/QualityApi
31280
- * @version 140.0.1
31465
+ * @version 141.0.0
31281
31466
  */
31282
31467
 
31283
31468
  /**
@@ -32855,7 +33040,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32855
33040
  /**
32856
33041
  * Recording service.
32857
33042
  * @module purecloud-platform-client-v2/api/RecordingApi
32858
- * @version 140.0.1
33043
+ * @version 141.0.0
32859
33044
  */
32860
33045
 
32861
33046
  /**
@@ -34508,7 +34693,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34508
34693
  /**
34509
34694
  * ResponseManagement service.
34510
34695
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
34511
- * @version 140.0.1
34696
+ * @version 141.0.0
34512
34697
  */
34513
34698
 
34514
34699
  /**
@@ -34992,7 +35177,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34992
35177
  /**
34993
35178
  * Routing service.
34994
35179
  * @module purecloud-platform-client-v2/api/RoutingApi
34995
- * @version 140.0.1
35180
+ * @version 141.0.0
34996
35181
  */
34997
35182
 
34998
35183
  /**
@@ -36102,6 +36287,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36102
36287
  * @param {String} opts.name Filter by queue name
36103
36288
  * @param {Array.<String>} opts.id Filter by queue ID(s)
36104
36289
  * @param {Array.<String>} opts.divisionId Filter by queue division ID(s)
36290
+ * @param {Array.<String>} opts.peerId Filter by queue peer ID(s)
36291
+ * @param {Boolean} opts.hasPeer Filter by queues associated with peer
36105
36292
  */
36106
36293
  getRoutingQueues(opts) {
36107
36294
  opts = opts || {};
@@ -36111,7 +36298,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36111
36298
  '/api/v2/routing/queues',
36112
36299
  'GET',
36113
36300
  { },
36114
- { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
36301
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'sortOrder': opts['sortOrder'],'name': opts['name'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi'),'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi'),'peerId': this.apiClient.buildCollectionParam(opts['peerId'], 'multi'),'hasPeer': opts['hasPeer'] },
36115
36302
  { },
36116
36303
  { },
36117
36304
  null,
@@ -37911,7 +38098,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37911
38098
  /**
37912
38099
  * SCIM service.
37913
38100
  * @module purecloud-platform-client-v2/api/SCIMApi
37914
- * @version 140.0.1
38101
+ * @version 141.0.0
37915
38102
  */
37916
38103
 
37917
38104
  /**
@@ -38788,7 +38975,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38788
38975
  /**
38789
38976
  * Scripts service.
38790
38977
  * @module purecloud-platform-client-v2/api/ScriptsApi
38791
- * @version 140.0.1
38978
+ * @version 141.0.0
38792
38979
  */
38793
38980
 
38794
38981
  /**
@@ -39207,7 +39394,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39207
39394
  /**
39208
39395
  * Search service.
39209
39396
  * @module purecloud-platform-client-v2/api/SearchApi
39210
- * @version 140.0.1
39397
+ * @version 141.0.0
39211
39398
  */
39212
39399
 
39213
39400
  /**
@@ -39742,7 +39929,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39742
39929
  /**
39743
39930
  * SpeechTextAnalytics service.
39744
39931
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
39745
- * @version 140.0.1
39932
+ * @version 141.0.0
39746
39933
  */
39747
39934
 
39748
39935
  /**
@@ -40595,7 +40782,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40595
40782
  /**
40596
40783
  * Stations service.
40597
40784
  * @module purecloud-platform-client-v2/api/StationsApi
40598
- * @version 140.0.1
40785
+ * @version 141.0.0
40599
40786
  */
40600
40787
 
40601
40788
  /**
@@ -40742,7 +40929,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40742
40929
  /**
40743
40930
  * Suggest service.
40744
40931
  * @module purecloud-platform-client-v2/api/SuggestApi
40745
- * @version 140.0.1
40932
+ * @version 141.0.0
40746
40933
  */
40747
40934
 
40748
40935
  /**
@@ -40881,7 +41068,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40881
41068
  /**
40882
41069
  * Telephony service.
40883
41070
  * @module purecloud-platform-client-v2/api/TelephonyApi
40884
- * @version 140.0.1
41071
+ * @version 141.0.0
40885
41072
  */
40886
41073
 
40887
41074
  /**
@@ -40989,7 +41176,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40989
41176
  /**
40990
41177
  * TelephonyProvidersEdge service.
40991
41178
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
40992
- * @version 140.0.1
41179
+ * @version 141.0.0
40993
41180
  */
40994
41181
 
40995
41182
  /**
@@ -44622,7 +44809,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44622
44809
  /**
44623
44810
  * Textbots service.
44624
44811
  * @module purecloud-platform-client-v2/api/TextbotsApi
44625
- * @version 140.0.1
44812
+ * @version 141.0.0
44626
44813
  */
44627
44814
 
44628
44815
  /**
@@ -44750,7 +44937,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44750
44937
  /**
44751
44938
  * Tokens service.
44752
44939
  * @module purecloud-platform-client-v2/api/TokensApi
44753
- * @version 140.0.1
44940
+ * @version 141.0.0
44754
44941
  */
44755
44942
 
44756
44943
  /**
@@ -44856,7 +45043,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44856
45043
  /**
44857
45044
  * Uploads service.
44858
45045
  * @module purecloud-platform-client-v2/api/UploadsApi
44859
- * @version 140.0.1
45046
+ * @version 141.0.0
44860
45047
  */
44861
45048
 
44862
45049
  /**
@@ -45007,7 +45194,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45007
45194
  /**
45008
45195
  * Usage service.
45009
45196
  * @module purecloud-platform-client-v2/api/UsageApi
45010
- * @version 140.0.1
45197
+ * @version 141.0.0
45011
45198
  */
45012
45199
 
45013
45200
  /**
@@ -45078,7 +45265,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45078
45265
  /**
45079
45266
  * UserRecordings service.
45080
45267
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
45081
- * @version 140.0.1
45268
+ * @version 141.0.0
45082
45269
  */
45083
45270
 
45084
45271
  /**
@@ -45262,7 +45449,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
45262
45449
  /**
45263
45450
  * Users service.
45264
45451
  * @module purecloud-platform-client-v2/api/UsersApi
45265
- * @version 140.0.1
45452
+ * @version 141.0.0
45266
45453
  */
45267
45454
 
45268
45455
  /**
@@ -47564,7 +47751,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47564
47751
  /**
47565
47752
  * Utilities service.
47566
47753
  * @module purecloud-platform-client-v2/api/UtilitiesApi
47567
- * @version 140.0.1
47754
+ * @version 141.0.0
47568
47755
  */
47569
47756
 
47570
47757
  /**
@@ -47675,7 +47862,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47675
47862
  /**
47676
47863
  * Voicemail service.
47677
47864
  * @module purecloud-platform-client-v2/api/VoicemailApi
47678
- * @version 140.0.1
47865
+ * @version 141.0.0
47679
47866
  */
47680
47867
 
47681
47868
  /**
@@ -48342,7 +48529,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48342
48529
  /**
48343
48530
  * WebChat service.
48344
48531
  * @module purecloud-platform-client-v2/api/WebChatApi
48345
- * @version 140.0.1
48532
+ * @version 141.0.0
48346
48533
  */
48347
48534
 
48348
48535
  /**
@@ -48886,7 +49073,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48886
49073
  /**
48887
49074
  * WebDeployments service.
48888
49075
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
48889
- * @version 140.0.1
49076
+ * @version 141.0.0
48890
49077
  */
48891
49078
 
48892
49079
  /**
@@ -49241,7 +49428,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49241
49428
  /**
49242
49429
  * WebMessaging service.
49243
49430
  * @module purecloud-platform-client-v2/api/WebMessagingApi
49244
- * @version 140.0.1
49431
+ * @version 141.0.0
49245
49432
  */
49246
49433
 
49247
49434
  /**
@@ -49287,7 +49474,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49287
49474
  /**
49288
49475
  * Widgets service.
49289
49476
  * @module purecloud-platform-client-v2/api/WidgetsApi
49290
- * @version 140.0.1
49477
+ * @version 141.0.0
49291
49478
  */
49292
49479
 
49293
49480
  /**
@@ -49433,7 +49620,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49433
49620
  /**
49434
49621
  * WorkforceManagement service.
49435
49622
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
49436
- * @version 140.0.1
49623
+ * @version 141.0.0
49437
49624
  */
49438
49625
 
49439
49626
  /**
@@ -53684,7 +53871,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53684
53871
  * </pre>
53685
53872
  * </p>
53686
53873
  * @module purecloud-platform-client-v2/index
53687
- * @version 140.0.1
53874
+ * @version 141.0.0
53688
53875
  */
53689
53876
  class platformClient {
53690
53877
  constructor() {