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
@@ -9306,7 +9306,7 @@ class Configuration {
9306
9306
 
9307
9307
  /**
9308
9308
  * @module purecloud-platform-client-v2/ApiClient
9309
- * @version 140.0.1
9309
+ * @version 141.0.0
9310
9310
  */
9311
9311
  class ApiClient {
9312
9312
  /**
@@ -10378,7 +10378,7 @@ class AlertingApi {
10378
10378
  /**
10379
10379
  * Alerting service.
10380
10380
  * @module purecloud-platform-client-v2/api/AlertingApi
10381
- * @version 140.0.1
10381
+ * @version 141.0.0
10382
10382
  */
10383
10383
 
10384
10384
  /**
@@ -10692,7 +10692,7 @@ class AnalyticsApi {
10692
10692
  /**
10693
10693
  * Analytics service.
10694
10694
  * @module purecloud-platform-client-v2/api/AnalyticsApi
10695
- * @version 140.0.1
10695
+ * @version 141.0.0
10696
10696
  */
10697
10697
 
10698
10698
  /**
@@ -11874,7 +11874,7 @@ class ArchitectApi {
11874
11874
  /**
11875
11875
  * Architect service.
11876
11876
  * @module purecloud-platform-client-v2/api/ArchitectApi
11877
- * @version 140.0.1
11877
+ * @version 141.0.0
11878
11878
  */
11879
11879
 
11880
11880
  /**
@@ -14919,7 +14919,7 @@ class AuditApi {
14919
14919
  /**
14920
14920
  * Audit service.
14921
14921
  * @module purecloud-platform-client-v2/api/AuditApi
14922
- * @version 140.0.1
14922
+ * @version 141.0.0
14923
14923
  */
14924
14924
 
14925
14925
  /**
@@ -15090,7 +15090,7 @@ class AuthorizationApi {
15090
15090
  /**
15091
15091
  * Authorization service.
15092
15092
  * @module purecloud-platform-client-v2/api/AuthorizationApi
15093
- * @version 140.0.1
15093
+ * @version 141.0.0
15094
15094
  */
15095
15095
 
15096
15096
  /**
@@ -16273,7 +16273,7 @@ class BillingApi {
16273
16273
  /**
16274
16274
  * Billing service.
16275
16275
  * @module purecloud-platform-client-v2/api/BillingApi
16276
- * @version 140.0.1
16276
+ * @version 141.0.0
16277
16277
  */
16278
16278
 
16279
16279
  /**
@@ -16353,7 +16353,7 @@ class ChatApi {
16353
16353
  /**
16354
16354
  * Chat service.
16355
16355
  * @module purecloud-platform-client-v2/api/ChatApi
16356
- * @version 140.0.1
16356
+ * @version 141.0.0
16357
16357
  */
16358
16358
 
16359
16359
  /**
@@ -16444,7 +16444,7 @@ class CoachingApi {
16444
16444
  /**
16445
16445
  * Coaching service.
16446
16446
  * @module purecloud-platform-client-v2/api/CoachingApi
16447
- * @version 140.0.1
16447
+ * @version 141.0.0
16448
16448
  */
16449
16449
 
16450
16450
  /**
@@ -17021,7 +17021,7 @@ class ContentManagementApi {
17021
17021
  /**
17022
17022
  * ContentManagement service.
17023
17023
  * @module purecloud-platform-client-v2/api/ContentManagementApi
17024
- * @version 140.0.1
17024
+ * @version 141.0.0
17025
17025
  */
17026
17026
 
17027
17027
  /**
@@ -18161,7 +18161,7 @@ class ConversationsApi {
18161
18161
  /**
18162
18162
  * Conversations service.
18163
18163
  * @module purecloud-platform-client-v2/api/ConversationsApi
18164
- * @version 140.0.1
18164
+ * @version 141.0.0
18165
18165
  */
18166
18166
 
18167
18167
  /**
@@ -23095,7 +23095,7 @@ class DataExtensionsApi {
23095
23095
  /**
23096
23096
  * DataExtensions service.
23097
23097
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
23098
- * @version 140.0.1
23098
+ * @version 141.0.0
23099
23099
  */
23100
23100
 
23101
23101
  /**
@@ -23181,7 +23181,7 @@ class ExternalContactsApi {
23181
23181
  /**
23182
23182
  * ExternalContacts service.
23183
23183
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
23184
- * @version 140.0.1
23184
+ * @version 141.0.0
23185
23185
  */
23186
23186
 
23187
23187
  /**
@@ -24924,7 +24924,7 @@ class FaxApi {
24924
24924
  /**
24925
24925
  * Fax service.
24926
24926
  * @module purecloud-platform-client-v2/api/FaxApi
24927
- * @version 140.0.1
24927
+ * @version 141.0.0
24928
24928
  */
24929
24929
 
24930
24930
  /**
@@ -25095,7 +25095,7 @@ class FlowsApi {
25095
25095
  /**
25096
25096
  * Flows service.
25097
25097
  * @module purecloud-platform-client-v2/api/FlowsApi
25098
- * @version 140.0.1
25098
+ * @version 141.0.0
25099
25099
  */
25100
25100
 
25101
25101
  /**
@@ -25166,7 +25166,7 @@ class GamificationApi {
25166
25166
  /**
25167
25167
  * Gamification service.
25168
25168
  * @module purecloud-platform-client-v2/api/GamificationApi
25169
- * @version 140.0.1
25169
+ * @version 141.0.0
25170
25170
  */
25171
25171
 
25172
25172
  /**
@@ -25789,6 +25789,157 @@ class GamificationApi {
25789
25789
  );
25790
25790
  }
25791
25791
 
25792
+ /**
25793
+ * Average performance values trends by metric of a user
25794
+ *
25795
+ * @param {String} profileId performanceProfileId
25796
+ * @param {String} metricId metricId
25797
+ * @param {String} userId
25798
+ * @param {String} startWorkday Start workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
25799
+ * @param {String} endWorkday End workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
25800
+ * @param {Object} opts Optional parameters
25801
+ * @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
25802
+ * @param {String} opts.timeZone Timezone for the workday. Defaults to UTC (default to UTC)
25803
+ */
25804
+ getGamificationScorecardsProfileMetricUserValuesTrends(profileId, metricId, userId, startWorkday, endWorkday, opts) {
25805
+ opts = opts || {};
25806
+
25807
+ // verify the required parameter 'profileId' is set
25808
+ if (profileId === undefined || profileId === null) {
25809
+ throw 'Missing the required parameter "profileId" when calling getGamificationScorecardsProfileMetricUserValuesTrends';
25810
+ }
25811
+ // verify the required parameter 'metricId' is set
25812
+ if (metricId === undefined || metricId === null) {
25813
+ throw 'Missing the required parameter "metricId" when calling getGamificationScorecardsProfileMetricUserValuesTrends';
25814
+ }
25815
+ // verify the required parameter 'userId' is set
25816
+ if (userId === undefined || userId === null) {
25817
+ throw 'Missing the required parameter "userId" when calling getGamificationScorecardsProfileMetricUserValuesTrends';
25818
+ }
25819
+ // verify the required parameter 'startWorkday' is set
25820
+ if (startWorkday === undefined || startWorkday === null) {
25821
+ throw 'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricUserValuesTrends';
25822
+ }
25823
+ // verify the required parameter 'endWorkday' is set
25824
+ if (endWorkday === undefined || endWorkday === null) {
25825
+ throw 'Missing the required parameter "endWorkday" when calling getGamificationScorecardsProfileMetricUserValuesTrends';
25826
+ }
25827
+
25828
+ return this.apiClient.callApi(
25829
+ '/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/users/{userId}/values/trends',
25830
+ 'GET',
25831
+ { 'profileId': profileId,'metricId': metricId,'userId': userId },
25832
+ { 'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
25833
+ { },
25834
+ { },
25835
+ null,
25836
+ ['PureCloud OAuth'],
25837
+ ['application/json'],
25838
+ ['application/json']
25839
+ );
25840
+ }
25841
+
25842
+ /**
25843
+ * Average performance values trends by metric of a division or a performance profile
25844
+ *
25845
+ * @param {String} profileId performanceProfileId
25846
+ * @param {String} metricId metricId
25847
+ * @param {Object} filterType Filter type for the query request.
25848
+ * @param {String} filterId ID for the filter type. For example, division Id
25849
+ * @param {String} startWorkday Start workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
25850
+ * @param {String} endWorkday End workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
25851
+ * @param {Object} opts Optional parameters
25852
+ * @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
25853
+ * @param {String} opts.timeZone Timezone for the workday. Defaults to UTC (default to UTC)
25854
+ */
25855
+ getGamificationScorecardsProfileMetricUsersValuesTrends(profileId, metricId, filterType, filterId, startWorkday, endWorkday, opts) {
25856
+ opts = opts || {};
25857
+
25858
+ // verify the required parameter 'profileId' is set
25859
+ if (profileId === undefined || profileId === null) {
25860
+ throw 'Missing the required parameter "profileId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
25861
+ }
25862
+ // verify the required parameter 'metricId' is set
25863
+ if (metricId === undefined || metricId === null) {
25864
+ throw 'Missing the required parameter "metricId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
25865
+ }
25866
+ // verify the required parameter 'filterType' is set
25867
+ if (filterType === undefined || filterType === null) {
25868
+ throw 'Missing the required parameter "filterType" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
25869
+ }
25870
+ // verify the required parameter 'filterId' is set
25871
+ if (filterId === undefined || filterId === null) {
25872
+ throw 'Missing the required parameter "filterId" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
25873
+ }
25874
+ // verify the required parameter 'startWorkday' is set
25875
+ if (startWorkday === undefined || startWorkday === null) {
25876
+ throw 'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
25877
+ }
25878
+ // verify the required parameter 'endWorkday' is set
25879
+ if (endWorkday === undefined || endWorkday === null) {
25880
+ throw 'Missing the required parameter "endWorkday" when calling getGamificationScorecardsProfileMetricUsersValuesTrends';
25881
+ }
25882
+
25883
+ return this.apiClient.callApi(
25884
+ '/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/users/values/trends',
25885
+ 'GET',
25886
+ { 'profileId': profileId,'metricId': metricId },
25887
+ { 'filterType': filterType,'filterId': filterId,'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
25888
+ { },
25889
+ { },
25890
+ null,
25891
+ ['PureCloud OAuth'],
25892
+ ['application/json'],
25893
+ ['application/json']
25894
+ );
25895
+ }
25896
+
25897
+ /**
25898
+ * Average performance values trends by metric of the requesting user
25899
+ *
25900
+ * @param {String} profileId performanceProfileId
25901
+ * @param {String} metricId metricId
25902
+ * @param {String} startWorkday Start workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
25903
+ * @param {String} endWorkday End workday of querying workdays range. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
25904
+ * @param {Object} opts Optional parameters
25905
+ * @param {Object} opts.filterType Filter type for the query request. If not set, returns the values trends of the requesting user
25906
+ * @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
25907
+ * @param {String} opts.timeZone Timezone for the workday. Defaults to UTC (default to UTC)
25908
+ */
25909
+ getGamificationScorecardsProfileMetricValuesTrends(profileId, metricId, startWorkday, endWorkday, opts) {
25910
+ opts = opts || {};
25911
+
25912
+ // verify the required parameter 'profileId' is set
25913
+ if (profileId === undefined || profileId === null) {
25914
+ throw 'Missing the required parameter "profileId" when calling getGamificationScorecardsProfileMetricValuesTrends';
25915
+ }
25916
+ // verify the required parameter 'metricId' is set
25917
+ if (metricId === undefined || metricId === null) {
25918
+ throw 'Missing the required parameter "metricId" when calling getGamificationScorecardsProfileMetricValuesTrends';
25919
+ }
25920
+ // verify the required parameter 'startWorkday' is set
25921
+ if (startWorkday === undefined || startWorkday === null) {
25922
+ throw 'Missing the required parameter "startWorkday" when calling getGamificationScorecardsProfileMetricValuesTrends';
25923
+ }
25924
+ // verify the required parameter 'endWorkday' is set
25925
+ if (endWorkday === undefined || endWorkday === null) {
25926
+ throw 'Missing the required parameter "endWorkday" when calling getGamificationScorecardsProfileMetricValuesTrends';
25927
+ }
25928
+
25929
+ return this.apiClient.callApi(
25930
+ '/api/v2/gamification/scorecards/profiles/{profileId}/metrics/{metricId}/values/trends',
25931
+ 'GET',
25932
+ { 'profileId': profileId,'metricId': metricId },
25933
+ { 'filterType': opts['filterType'],'startWorkday': startWorkday,'endWorkday': endWorkday,'referenceWorkday': opts['referenceWorkday'],'timeZone': opts['timeZone'] },
25934
+ { },
25935
+ { },
25936
+ null,
25937
+ ['PureCloud OAuth'],
25938
+ ['application/json'],
25939
+ ['application/json']
25940
+ );
25941
+ }
25942
+
25792
25943
  /**
25793
25944
  * Workday performance metrics for a user
25794
25945
  *
@@ -26597,7 +26748,7 @@ class GeneralDataProtectionRegulationApi {
26597
26748
  /**
26598
26749
  * GeneralDataProtectionRegulation service.
26599
26750
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
26600
- * @version 140.0.1
26751
+ * @version 141.0.0
26601
26752
  */
26602
26753
 
26603
26754
  /**
@@ -26727,7 +26878,7 @@ class GeolocationApi {
26727
26878
  /**
26728
26879
  * Geolocation service.
26729
26880
  * @module purecloud-platform-client-v2/api/GeolocationApi
26730
- * @version 140.0.1
26881
+ * @version 141.0.0
26731
26882
  */
26732
26883
 
26733
26884
  /**
@@ -26858,7 +27009,7 @@ class GreetingsApi {
26858
27009
  /**
26859
27010
  * Greetings service.
26860
27011
  * @module purecloud-platform-client-v2/api/GreetingsApi
26861
- * @version 140.0.1
27012
+ * @version 141.0.0
26862
27013
  */
26863
27014
 
26864
27015
  /**
@@ -27313,7 +27464,7 @@ class GroupsApi {
27313
27464
  /**
27314
27465
  * Groups service.
27315
27466
  * @module purecloud-platform-client-v2/api/GroupsApi
27316
- * @version 140.0.1
27467
+ * @version 141.0.0
27317
27468
  */
27318
27469
 
27319
27470
  /**
@@ -27718,7 +27869,7 @@ class IdentityProviderApi {
27718
27869
  /**
27719
27870
  * IdentityProvider service.
27720
27871
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
27721
- * @version 140.0.1
27872
+ * @version 141.0.0
27722
27873
  */
27723
27874
 
27724
27875
  /**
@@ -28474,7 +28625,7 @@ class IntegrationsApi {
28474
28625
  /**
28475
28626
  * Integrations service.
28476
28627
  * @module purecloud-platform-client-v2/api/IntegrationsApi
28477
- * @version 140.0.1
28628
+ * @version 141.0.0
28478
28629
  */
28479
28630
 
28480
28631
  /**
@@ -30151,7 +30302,7 @@ class JourneyApi {
30151
30302
  /**
30152
30303
  * Journey service.
30153
30304
  * @module purecloud-platform-client-v2/api/JourneyApi
30154
- * @version 140.0.1
30305
+ * @version 141.0.0
30155
30306
  */
30156
30307
 
30157
30308
  /**
@@ -30862,7 +31013,7 @@ class KnowledgeApi {
30862
31013
  /**
30863
31014
  * Knowledge service.
30864
31015
  * @module purecloud-platform-client-v2/api/KnowledgeApi
30865
- * @version 140.0.1
31016
+ * @version 141.0.0
30866
31017
  */
30867
31018
 
30868
31019
  /**
@@ -31762,7 +31913,7 @@ class LanguageUnderstandingApi {
31762
31913
  /**
31763
31914
  * LanguageUnderstanding service.
31764
31915
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
31765
- * @version 140.0.1
31916
+ * @version 141.0.0
31766
31917
  */
31767
31918
 
31768
31919
  /**
@@ -32666,7 +32817,7 @@ class LanguagesApi {
32666
32817
  /**
32667
32818
  * Languages service.
32668
32819
  * @module purecloud-platform-client-v2/api/LanguagesApi
32669
- * @version 140.0.1
32820
+ * @version 141.0.0
32670
32821
  */
32671
32822
 
32672
32823
  /**
@@ -32934,7 +33085,7 @@ class LearningApi {
32934
33085
  /**
32935
33086
  * Learning service.
32936
33087
  * @module purecloud-platform-client-v2/api/LearningApi
32937
- * @version 140.0.1
33088
+ * @version 141.0.0
32938
33089
  */
32939
33090
 
32940
33091
  /**
@@ -33253,6 +33404,40 @@ class LearningApi {
33253
33404
  );
33254
33405
  }
33255
33406
 
33407
+ /**
33408
+ * Get all learning modules of an organization including assignments for a specific user
33409
+ *
33410
+ * @param {Array.<String>} userIds The IDs of the users to include
33411
+ * @param {Object} opts Optional parameters
33412
+ * @param {Number} opts.pageSize Page size (default to 25)
33413
+ * @param {Number} opts.pageNumber Page number (default to 1)
33414
+ * @param {String} opts.searchTerm Search Term (searches by name and description)
33415
+ * @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)
33416
+ * @param {Array.<String>} opts.assignmentStates Specifies the assignment states to return.
33417
+ * @param {Array.<String>} opts.expand Fields to expand in response(case insensitive)
33418
+ */
33419
+ getLearningModulesAssignments(userIds, opts) {
33420
+ opts = opts || {};
33421
+
33422
+ // verify the required parameter 'userIds' is set
33423
+ if (userIds === undefined || userIds === null) {
33424
+ throw 'Missing the required parameter "userIds" when calling getLearningModulesAssignments';
33425
+ }
33426
+
33427
+ return this.apiClient.callApi(
33428
+ '/api/v2/learning/modules/assignments',
33429
+ 'GET',
33430
+ { },
33431
+ { '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') },
33432
+ { },
33433
+ { },
33434
+ null,
33435
+ ['PureCloud OAuth'],
33436
+ ['application/json'],
33437
+ ['application/json']
33438
+ );
33439
+ }
33440
+
33256
33441
  /**
33257
33442
  * Update Learning Assignment
33258
33443
  *
@@ -33635,7 +33820,7 @@ class LicenseApi {
33635
33820
  /**
33636
33821
  * License service.
33637
33822
  * @module purecloud-platform-client-v2/api/LicenseApi
33638
- * @version 140.0.1
33823
+ * @version 141.0.0
33639
33824
  */
33640
33825
 
33641
33826
  /**
@@ -33873,7 +34058,7 @@ class LocationsApi {
33873
34058
  /**
33874
34059
  * Locations service.
33875
34060
  * @module purecloud-platform-client-v2/api/LocationsApi
33876
- * @version 140.0.1
34061
+ * @version 141.0.0
33877
34062
  */
33878
34063
 
33879
34064
  /**
@@ -34109,7 +34294,7 @@ class MessagingApi {
34109
34294
  /**
34110
34295
  * Messaging service.
34111
34296
  * @module purecloud-platform-client-v2/api/MessagingApi
34112
- * @version 140.0.1
34297
+ * @version 141.0.0
34113
34298
  */
34114
34299
 
34115
34300
  /**
@@ -34260,7 +34445,7 @@ class MobileDevicesApi {
34260
34445
  /**
34261
34446
  * MobileDevices service.
34262
34447
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
34263
- * @version 140.0.1
34448
+ * @version 141.0.0
34264
34449
  */
34265
34450
 
34266
34451
  /**
@@ -34411,7 +34596,7 @@ class NotificationsApi {
34411
34596
  /**
34412
34597
  * Notifications service.
34413
34598
  * @module purecloud-platform-client-v2/api/NotificationsApi
34414
- * @version 140.0.1
34599
+ * @version 141.0.0
34415
34600
  */
34416
34601
 
34417
34602
  /**
@@ -34636,7 +34821,7 @@ class OAuthApi {
34636
34821
  /**
34637
34822
  * OAuth service.
34638
34823
  * @module purecloud-platform-client-v2/api/OAuthApi
34639
- * @version 140.0.1
34824
+ * @version 141.0.0
34640
34825
  */
34641
34826
 
34642
34827
  /**
@@ -35002,7 +35187,7 @@ class ObjectsApi {
35002
35187
  /**
35003
35188
  * Objects service.
35004
35189
  * @module purecloud-platform-client-v2/api/ObjectsApi
35005
- * @version 140.0.1
35190
+ * @version 141.0.0
35006
35191
  */
35007
35192
 
35008
35193
  /**
@@ -35273,7 +35458,7 @@ class OrganizationApi {
35273
35458
  /**
35274
35459
  * Organization service.
35275
35460
  * @module purecloud-platform-client-v2/api/OrganizationApi
35276
- * @version 140.0.1
35461
+ * @version 141.0.0
35277
35462
  */
35278
35463
 
35279
35464
  /**
@@ -35676,7 +35861,7 @@ class OrganizationAuthorizationApi {
35676
35861
  /**
35677
35862
  * OrganizationAuthorization service.
35678
35863
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
35679
- * @version 140.0.1
35864
+ * @version 141.0.0
35680
35865
  */
35681
35866
 
35682
35867
  /**
@@ -36601,7 +36786,7 @@ class OutboundApi {
36601
36786
  /**
36602
36787
  * Outbound service.
36603
36788
  * @module purecloud-platform-client-v2/api/OutboundApi
36604
- * @version 140.0.1
36789
+ * @version 141.0.0
36605
36790
  */
36606
36791
 
36607
36792
  /**
@@ -39856,7 +40041,7 @@ class PresenceApi {
39856
40041
  /**
39857
40042
  * Presence service.
39858
40043
  * @module purecloud-platform-client-v2/api/PresenceApi
39859
- * @version 140.0.1
40044
+ * @version 141.0.0
39860
40045
  */
39861
40046
 
39862
40047
  /**
@@ -40178,7 +40363,7 @@ class QualityApi {
40178
40363
  /**
40179
40364
  * Quality service.
40180
40365
  * @module purecloud-platform-client-v2/api/QualityApi
40181
- * @version 140.0.1
40366
+ * @version 141.0.0
40182
40367
  */
40183
40368
 
40184
40369
  /**
@@ -41756,7 +41941,7 @@ class RecordingApi {
41756
41941
  /**
41757
41942
  * Recording service.
41758
41943
  * @module purecloud-platform-client-v2/api/RecordingApi
41759
- * @version 140.0.1
41944
+ * @version 141.0.0
41760
41945
  */
41761
41946
 
41762
41947
  /**
@@ -43409,7 +43594,7 @@ class ResponseManagementApi {
43409
43594
  /**
43410
43595
  * ResponseManagement service.
43411
43596
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
43412
- * @version 140.0.1
43597
+ * @version 141.0.0
43413
43598
  */
43414
43599
 
43415
43600
  /**
@@ -43893,7 +44078,7 @@ class RoutingApi {
43893
44078
  /**
43894
44079
  * Routing service.
43895
44080
  * @module purecloud-platform-client-v2/api/RoutingApi
43896
- * @version 140.0.1
44081
+ * @version 141.0.0
43897
44082
  */
43898
44083
 
43899
44084
  /**
@@ -45003,6 +45188,8 @@ class RoutingApi {
45003
45188
  * @param {String} opts.name Filter by queue name
45004
45189
  * @param {Array.<String>} opts.id Filter by queue ID(s)
45005
45190
  * @param {Array.<String>} opts.divisionId Filter by queue division ID(s)
45191
+ * @param {Array.<String>} opts.peerId Filter by queue peer ID(s)
45192
+ * @param {Boolean} opts.hasPeer Filter by queues associated with peer
45006
45193
  */
45007
45194
  getRoutingQueues(opts) {
45008
45195
  opts = opts || {};
@@ -45012,7 +45199,7 @@ class RoutingApi {
45012
45199
  '/api/v2/routing/queues',
45013
45200
  'GET',
45014
45201
  { },
45015
- { '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') },
45202
+ { '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'] },
45016
45203
  { },
45017
45204
  { },
45018
45205
  null,
@@ -46812,7 +46999,7 @@ class SCIMApi {
46812
46999
  /**
46813
47000
  * SCIM service.
46814
47001
  * @module purecloud-platform-client-v2/api/SCIMApi
46815
- * @version 140.0.1
47002
+ * @version 141.0.0
46816
47003
  */
46817
47004
 
46818
47005
  /**
@@ -47689,7 +47876,7 @@ class ScriptsApi {
47689
47876
  /**
47690
47877
  * Scripts service.
47691
47878
  * @module purecloud-platform-client-v2/api/ScriptsApi
47692
- * @version 140.0.1
47879
+ * @version 141.0.0
47693
47880
  */
47694
47881
 
47695
47882
  /**
@@ -48108,7 +48295,7 @@ class SearchApi {
48108
48295
  /**
48109
48296
  * Search service.
48110
48297
  * @module purecloud-platform-client-v2/api/SearchApi
48111
- * @version 140.0.1
48298
+ * @version 141.0.0
48112
48299
  */
48113
48300
 
48114
48301
  /**
@@ -48643,7 +48830,7 @@ class SpeechTextAnalyticsApi {
48643
48830
  /**
48644
48831
  * SpeechTextAnalytics service.
48645
48832
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
48646
- * @version 140.0.1
48833
+ * @version 141.0.0
48647
48834
  */
48648
48835
 
48649
48836
  /**
@@ -49496,7 +49683,7 @@ class StationsApi {
49496
49683
  /**
49497
49684
  * Stations service.
49498
49685
  * @module purecloud-platform-client-v2/api/StationsApi
49499
- * @version 140.0.1
49686
+ * @version 141.0.0
49500
49687
  */
49501
49688
 
49502
49689
  /**
@@ -49643,7 +49830,7 @@ class SuggestApi {
49643
49830
  /**
49644
49831
  * Suggest service.
49645
49832
  * @module purecloud-platform-client-v2/api/SuggestApi
49646
- * @version 140.0.1
49833
+ * @version 141.0.0
49647
49834
  */
49648
49835
 
49649
49836
  /**
@@ -49782,7 +49969,7 @@ class TelephonyApi {
49782
49969
  /**
49783
49970
  * Telephony service.
49784
49971
  * @module purecloud-platform-client-v2/api/TelephonyApi
49785
- * @version 140.0.1
49972
+ * @version 141.0.0
49786
49973
  */
49787
49974
 
49788
49975
  /**
@@ -49890,7 +50077,7 @@ class TelephonyProvidersEdgeApi {
49890
50077
  /**
49891
50078
  * TelephonyProvidersEdge service.
49892
50079
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
49893
- * @version 140.0.1
50080
+ * @version 141.0.0
49894
50081
  */
49895
50082
 
49896
50083
  /**
@@ -53523,7 +53710,7 @@ class TextbotsApi {
53523
53710
  /**
53524
53711
  * Textbots service.
53525
53712
  * @module purecloud-platform-client-v2/api/TextbotsApi
53526
- * @version 140.0.1
53713
+ * @version 141.0.0
53527
53714
  */
53528
53715
 
53529
53716
  /**
@@ -53651,7 +53838,7 @@ class TokensApi {
53651
53838
  /**
53652
53839
  * Tokens service.
53653
53840
  * @module purecloud-platform-client-v2/api/TokensApi
53654
- * @version 140.0.1
53841
+ * @version 141.0.0
53655
53842
  */
53656
53843
 
53657
53844
  /**
@@ -53757,7 +53944,7 @@ class UploadsApi {
53757
53944
  /**
53758
53945
  * Uploads service.
53759
53946
  * @module purecloud-platform-client-v2/api/UploadsApi
53760
- * @version 140.0.1
53947
+ * @version 141.0.0
53761
53948
  */
53762
53949
 
53763
53950
  /**
@@ -53908,7 +54095,7 @@ class UsageApi {
53908
54095
  /**
53909
54096
  * Usage service.
53910
54097
  * @module purecloud-platform-client-v2/api/UsageApi
53911
- * @version 140.0.1
54098
+ * @version 141.0.0
53912
54099
  */
53913
54100
 
53914
54101
  /**
@@ -53979,7 +54166,7 @@ class UserRecordingsApi {
53979
54166
  /**
53980
54167
  * UserRecordings service.
53981
54168
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
53982
- * @version 140.0.1
54169
+ * @version 141.0.0
53983
54170
  */
53984
54171
 
53985
54172
  /**
@@ -54163,7 +54350,7 @@ class UsersApi {
54163
54350
  /**
54164
54351
  * Users service.
54165
54352
  * @module purecloud-platform-client-v2/api/UsersApi
54166
- * @version 140.0.1
54353
+ * @version 141.0.0
54167
54354
  */
54168
54355
 
54169
54356
  /**
@@ -56465,7 +56652,7 @@ class UtilitiesApi {
56465
56652
  /**
56466
56653
  * Utilities service.
56467
56654
  * @module purecloud-platform-client-v2/api/UtilitiesApi
56468
- * @version 140.0.1
56655
+ * @version 141.0.0
56469
56656
  */
56470
56657
 
56471
56658
  /**
@@ -56576,7 +56763,7 @@ class VoicemailApi {
56576
56763
  /**
56577
56764
  * Voicemail service.
56578
56765
  * @module purecloud-platform-client-v2/api/VoicemailApi
56579
- * @version 140.0.1
56766
+ * @version 141.0.0
56580
56767
  */
56581
56768
 
56582
56769
  /**
@@ -57243,7 +57430,7 @@ class WebChatApi {
57243
57430
  /**
57244
57431
  * WebChat service.
57245
57432
  * @module purecloud-platform-client-v2/api/WebChatApi
57246
- * @version 140.0.1
57433
+ * @version 141.0.0
57247
57434
  */
57248
57435
 
57249
57436
  /**
@@ -57787,7 +57974,7 @@ class WebDeploymentsApi {
57787
57974
  /**
57788
57975
  * WebDeployments service.
57789
57976
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
57790
- * @version 140.0.1
57977
+ * @version 141.0.0
57791
57978
  */
57792
57979
 
57793
57980
  /**
@@ -58142,7 +58329,7 @@ class WebMessagingApi {
58142
58329
  /**
58143
58330
  * WebMessaging service.
58144
58331
  * @module purecloud-platform-client-v2/api/WebMessagingApi
58145
- * @version 140.0.1
58332
+ * @version 141.0.0
58146
58333
  */
58147
58334
 
58148
58335
  /**
@@ -58188,7 +58375,7 @@ class WidgetsApi {
58188
58375
  /**
58189
58376
  * Widgets service.
58190
58377
  * @module purecloud-platform-client-v2/api/WidgetsApi
58191
- * @version 140.0.1
58378
+ * @version 141.0.0
58192
58379
  */
58193
58380
 
58194
58381
  /**
@@ -58334,7 +58521,7 @@ class WorkforceManagementApi {
58334
58521
  /**
58335
58522
  * WorkforceManagement service.
58336
58523
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
58337
- * @version 140.0.1
58524
+ * @version 141.0.0
58338
58525
  */
58339
58526
 
58340
58527
  /**
@@ -62585,7 +62772,7 @@ class WorkforceManagementApi {
62585
62772
  * </pre>
62586
62773
  * </p>
62587
62774
  * @module purecloud-platform-client-v2/index
62588
- * @version 140.0.1
62775
+ * @version 141.0.0
62589
62776
  */
62590
62777
  class platformClient {
62591
62778
  constructor() {