purecloud-platform-client-v2 137.1.0 → 139.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 +382 -120
  3. package/dist/web-amd/purecloud-platform-client-v2.js +382 -120
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +382 -120
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +382 -120
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +653 -238
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +5 -2
  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 +271 -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 +24 -23
  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 +5 -5
  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 +1 -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 +9 -21
  52. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +4 -4
  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 +7 -7
  73. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -399,7 +399,7 @@ class Configuration {
399
399
 
400
400
  /**
401
401
  * @module purecloud-platform-client-v2/ApiClient
402
- * @version 137.1.0
402
+ * @version 139.0.0
403
403
  */
404
404
  class ApiClient {
405
405
  /**
@@ -1152,7 +1152,7 @@ class ApiClient {
1152
1152
  serialize(obj) {
1153
1153
  var result = {};
1154
1154
  for (var p in obj) {
1155
- if (obj.hasOwnProperty(p)) {
1155
+ if (obj.hasOwnProperty(p) && obj[p] !== undefined) {
1156
1156
  result[encodeURIComponent(p)] = Array.isArray(obj[p]) ? obj[p].join(",") : this.paramToString(obj[p]);
1157
1157
  }
1158
1158
  }
@@ -1289,6 +1289,9 @@ class ApiClient {
1289
1289
  */
1290
1290
  buildCollectionParam(param, collectionFormat) {
1291
1291
  if (!param) return;
1292
+ if (!Array.isArray(param)) {
1293
+ param = [param];
1294
+ }
1292
1295
 
1293
1296
  switch (collectionFormat) {
1294
1297
  case 'csv':
@@ -1474,7 +1477,7 @@ class AlertingApi {
1474
1477
  /**
1475
1478
  * Alerting service.
1476
1479
  * @module purecloud-platform-client-v2/api/AlertingApi
1477
- * @version 137.1.0
1480
+ * @version 139.0.0
1478
1481
  */
1479
1482
 
1480
1483
  /**
@@ -1788,7 +1791,7 @@ class AnalyticsApi {
1788
1791
  /**
1789
1792
  * Analytics service.
1790
1793
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1791
- * @version 137.1.0
1794
+ * @version 139.0.0
1792
1795
  */
1793
1796
 
1794
1797
  /**
@@ -2970,7 +2973,7 @@ class ArchitectApi {
2970
2973
  /**
2971
2974
  * Architect service.
2972
2975
  * @module purecloud-platform-client-v2/api/ArchitectApi
2973
- * @version 137.1.0
2976
+ * @version 139.0.0
2974
2977
  */
2975
2978
 
2976
2979
  /**
@@ -6015,7 +6018,7 @@ class AuditApi {
6015
6018
  /**
6016
6019
  * Audit service.
6017
6020
  * @module purecloud-platform-client-v2/api/AuditApi
6018
- * @version 137.1.0
6021
+ * @version 139.0.0
6019
6022
  */
6020
6023
 
6021
6024
  /**
@@ -6186,7 +6189,7 @@ class AuthorizationApi {
6186
6189
  /**
6187
6190
  * Authorization service.
6188
6191
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6189
- * @version 137.1.0
6192
+ * @version 139.0.0
6190
6193
  */
6191
6194
 
6192
6195
  /**
@@ -7369,7 +7372,7 @@ class BillingApi {
7369
7372
  /**
7370
7373
  * Billing service.
7371
7374
  * @module purecloud-platform-client-v2/api/BillingApi
7372
- * @version 137.1.0
7375
+ * @version 139.0.0
7373
7376
  */
7374
7377
 
7375
7378
  /**
@@ -7449,7 +7452,7 @@ class ChatApi {
7449
7452
  /**
7450
7453
  * Chat service.
7451
7454
  * @module purecloud-platform-client-v2/api/ChatApi
7452
- * @version 137.1.0
7455
+ * @version 139.0.0
7453
7456
  */
7454
7457
 
7455
7458
  /**
@@ -7540,7 +7543,7 @@ class CoachingApi {
7540
7543
  /**
7541
7544
  * Coaching service.
7542
7545
  * @module purecloud-platform-client-v2/api/CoachingApi
7543
- * @version 137.1.0
7546
+ * @version 139.0.0
7544
7547
  */
7545
7548
 
7546
7549
  /**
@@ -8117,7 +8120,7 @@ class ContentManagementApi {
8117
8120
  /**
8118
8121
  * ContentManagement service.
8119
8122
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8120
- * @version 137.1.0
8123
+ * @version 139.0.0
8121
8124
  */
8122
8125
 
8123
8126
  /**
@@ -9257,7 +9260,7 @@ class ConversationsApi {
9257
9260
  /**
9258
9261
  * Conversations service.
9259
9262
  * @module purecloud-platform-client-v2/api/ConversationsApi
9260
- * @version 137.1.0
9263
+ * @version 139.0.0
9261
9264
  */
9262
9265
 
9263
9266
  /**
@@ -13805,6 +13808,126 @@ class ConversationsApi {
13805
13808
  );
13806
13809
  }
13807
13810
 
13811
+ /**
13812
+ * Update a conversation by setting its recording state
13813
+ *
13814
+ * @param {String} conversationId conversationId
13815
+ * @param {Object} body SetRecordingState
13816
+ */
13817
+ putConversationsCallRecordingstate(conversationId, body) {
13818
+ // verify the required parameter 'conversationId' is set
13819
+ if (conversationId === undefined || conversationId === null) {
13820
+ throw 'Missing the required parameter "conversationId" when calling putConversationsCallRecordingstate';
13821
+ }
13822
+ // verify the required parameter 'body' is set
13823
+ if (body === undefined || body === null) {
13824
+ throw 'Missing the required parameter "body" when calling putConversationsCallRecordingstate';
13825
+ }
13826
+
13827
+ return this.apiClient.callApi(
13828
+ '/api/v2/conversations/calls/{conversationId}/recordingstate',
13829
+ 'PUT',
13830
+ { 'conversationId': conversationId },
13831
+ { },
13832
+ { },
13833
+ { },
13834
+ body,
13835
+ ['PureCloud OAuth'],
13836
+ ['application/json'],
13837
+ ['application/json']
13838
+ );
13839
+ }
13840
+
13841
+ /**
13842
+ * Update a conversation by setting its recording state
13843
+ *
13844
+ * @param {String} conversationId conversationId
13845
+ * @param {Object} body SetRecordingState
13846
+ */
13847
+ putConversationsCallbackRecordingstate(conversationId, body) {
13848
+ // verify the required parameter 'conversationId' is set
13849
+ if (conversationId === undefined || conversationId === null) {
13850
+ throw 'Missing the required parameter "conversationId" when calling putConversationsCallbackRecordingstate';
13851
+ }
13852
+ // verify the required parameter 'body' is set
13853
+ if (body === undefined || body === null) {
13854
+ throw 'Missing the required parameter "body" when calling putConversationsCallbackRecordingstate';
13855
+ }
13856
+
13857
+ return this.apiClient.callApi(
13858
+ '/api/v2/conversations/callbacks/{conversationId}/recordingstate',
13859
+ 'PUT',
13860
+ { 'conversationId': conversationId },
13861
+ { },
13862
+ { },
13863
+ { },
13864
+ body,
13865
+ ['PureCloud OAuth'],
13866
+ ['application/json'],
13867
+ ['application/json']
13868
+ );
13869
+ }
13870
+
13871
+ /**
13872
+ * Update a conversation by setting its recording state
13873
+ *
13874
+ * @param {String} conversationId conversationId
13875
+ * @param {Object} body SetRecordingState
13876
+ */
13877
+ putConversationsChatRecordingstate(conversationId, body) {
13878
+ // verify the required parameter 'conversationId' is set
13879
+ if (conversationId === undefined || conversationId === null) {
13880
+ throw 'Missing the required parameter "conversationId" when calling putConversationsChatRecordingstate';
13881
+ }
13882
+ // verify the required parameter 'body' is set
13883
+ if (body === undefined || body === null) {
13884
+ throw 'Missing the required parameter "body" when calling putConversationsChatRecordingstate';
13885
+ }
13886
+
13887
+ return this.apiClient.callApi(
13888
+ '/api/v2/conversations/chats/{conversationId}/recordingstate',
13889
+ 'PUT',
13890
+ { 'conversationId': conversationId },
13891
+ { },
13892
+ { },
13893
+ { },
13894
+ body,
13895
+ ['PureCloud OAuth'],
13896
+ ['application/json'],
13897
+ ['application/json']
13898
+ );
13899
+ }
13900
+
13901
+ /**
13902
+ * Update a conversation by setting its recording state
13903
+ *
13904
+ * @param {String} conversationId conversationId
13905
+ * @param {Object} body SetRecordingState
13906
+ */
13907
+ putConversationsCobrowsesessionRecordingstate(conversationId, body) {
13908
+ // verify the required parameter 'conversationId' is set
13909
+ if (conversationId === undefined || conversationId === null) {
13910
+ throw 'Missing the required parameter "conversationId" when calling putConversationsCobrowsesessionRecordingstate';
13911
+ }
13912
+ // verify the required parameter 'body' is set
13913
+ if (body === undefined || body === null) {
13914
+ throw 'Missing the required parameter "body" when calling putConversationsCobrowsesessionRecordingstate';
13915
+ }
13916
+
13917
+ return this.apiClient.callApi(
13918
+ '/api/v2/conversations/cobrowsesessions/{conversationId}/recordingstate',
13919
+ 'PUT',
13920
+ { 'conversationId': conversationId },
13921
+ { },
13922
+ { },
13923
+ { },
13924
+ body,
13925
+ ['PureCloud OAuth'],
13926
+ ['application/json'],
13927
+ ['application/json']
13928
+ );
13929
+ }
13930
+
13808
13931
  /**
13809
13932
  * Update conversation draft reply
13810
13933
  *
@@ -13835,6 +13958,66 @@ class ConversationsApi {
13835
13958
  );
13836
13959
  }
13837
13960
 
13961
+ /**
13962
+ * Update a conversation by setting its recording state
13963
+ *
13964
+ * @param {String} conversationId conversationId
13965
+ * @param {Object} body SetRecordingState
13966
+ */
13967
+ putConversationsEmailRecordingstate(conversationId, body) {
13968
+ // verify the required parameter 'conversationId' is set
13969
+ if (conversationId === undefined || conversationId === null) {
13970
+ throw 'Missing the required parameter "conversationId" when calling putConversationsEmailRecordingstate';
13971
+ }
13972
+ // verify the required parameter 'body' is set
13973
+ if (body === undefined || body === null) {
13974
+ throw 'Missing the required parameter "body" when calling putConversationsEmailRecordingstate';
13975
+ }
13976
+
13977
+ return this.apiClient.callApi(
13978
+ '/api/v2/conversations/emails/{conversationId}/recordingstate',
13979
+ 'PUT',
13980
+ { 'conversationId': conversationId },
13981
+ { },
13982
+ { },
13983
+ { },
13984
+ body,
13985
+ ['PureCloud OAuth'],
13986
+ ['application/json'],
13987
+ ['application/json']
13988
+ );
13989
+ }
13990
+
13991
+ /**
13992
+ * Update a conversation by setting its recording state
13993
+ *
13994
+ * @param {String} conversationId conversationId
13995
+ * @param {Object} body SetRecordingState
13996
+ */
13997
+ putConversationsMessageRecordingstate(conversationId, body) {
13998
+ // verify the required parameter 'conversationId' is set
13999
+ if (conversationId === undefined || conversationId === null) {
14000
+ throw 'Missing the required parameter "conversationId" when calling putConversationsMessageRecordingstate';
14001
+ }
14002
+ // verify the required parameter 'body' is set
14003
+ if (body === undefined || body === null) {
14004
+ throw 'Missing the required parameter "body" when calling putConversationsMessageRecordingstate';
14005
+ }
14006
+
14007
+ return this.apiClient.callApi(
14008
+ '/api/v2/conversations/messages/{conversationId}/recordingstate',
14009
+ 'PUT',
14010
+ { 'conversationId': conversationId },
14011
+ { },
14012
+ { },
14013
+ { },
14014
+ body,
14015
+ ['PureCloud OAuth'],
14016
+ ['application/json'],
14017
+ ['application/json']
14018
+ );
14019
+ }
14020
+
13838
14021
  /**
13839
14022
  * Update a LINE messenger integration
13840
14023
  *
@@ -13915,13 +14098,103 @@ class ConversationsApi {
13915
14098
  );
13916
14099
  }
13917
14100
 
14101
+ /**
14102
+ * Update a conversation by setting its recording state
14103
+ *
14104
+ * @param {String} conversationId conversationId
14105
+ * @param {Object} body SetRecordingState
14106
+ */
14107
+ putConversationsScreenshareRecordingstate(conversationId, body) {
14108
+ // verify the required parameter 'conversationId' is set
14109
+ if (conversationId === undefined || conversationId === null) {
14110
+ throw 'Missing the required parameter "conversationId" when calling putConversationsScreenshareRecordingstate';
14111
+ }
14112
+ // verify the required parameter 'body' is set
14113
+ if (body === undefined || body === null) {
14114
+ throw 'Missing the required parameter "body" when calling putConversationsScreenshareRecordingstate';
14115
+ }
14116
+
14117
+ return this.apiClient.callApi(
14118
+ '/api/v2/conversations/screenshares/{conversationId}/recordingstate',
14119
+ 'PUT',
14120
+ { 'conversationId': conversationId },
14121
+ { },
14122
+ { },
14123
+ { },
14124
+ body,
14125
+ ['PureCloud OAuth'],
14126
+ ['application/json'],
14127
+ ['application/json']
14128
+ );
14129
+ }
14130
+
14131
+ /**
14132
+ * Update a conversation by setting its recording state
14133
+ *
14134
+ * @param {String} conversationId conversationId
14135
+ * @param {Object} body SetRecordingState
14136
+ */
14137
+ putConversationsSocialRecordingstate(conversationId, body) {
14138
+ // verify the required parameter 'conversationId' is set
14139
+ if (conversationId === undefined || conversationId === null) {
14140
+ throw 'Missing the required parameter "conversationId" when calling putConversationsSocialRecordingstate';
14141
+ }
14142
+ // verify the required parameter 'body' is set
14143
+ if (body === undefined || body === null) {
14144
+ throw 'Missing the required parameter "body" when calling putConversationsSocialRecordingstate';
14145
+ }
14146
+
14147
+ return this.apiClient.callApi(
14148
+ '/api/v2/conversations/socials/{conversationId}/recordingstate',
14149
+ 'PUT',
14150
+ { 'conversationId': conversationId },
14151
+ { },
14152
+ { },
14153
+ { },
14154
+ body,
14155
+ ['PureCloud OAuth'],
14156
+ ['application/json'],
14157
+ ['application/json']
14158
+ );
14159
+ }
14160
+
14161
+ /**
14162
+ * Update a conversation by setting its recording state
14163
+ *
14164
+ * @param {String} conversationId conversationId
14165
+ * @param {Object} body SetRecordingState
14166
+ */
14167
+ putConversationsVideoRecordingstate(conversationId, body) {
14168
+ // verify the required parameter 'conversationId' is set
14169
+ if (conversationId === undefined || conversationId === null) {
14170
+ throw 'Missing the required parameter "conversationId" when calling putConversationsVideoRecordingstate';
14171
+ }
14172
+ // verify the required parameter 'body' is set
14173
+ if (body === undefined || body === null) {
14174
+ throw 'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';
14175
+ }
14176
+
14177
+ return this.apiClient.callApi(
14178
+ '/api/v2/conversations/videos/{conversationId}/recordingstate',
14179
+ 'PUT',
14180
+ { 'conversationId': conversationId },
14181
+ { },
14182
+ { },
14183
+ { },
14184
+ body,
14185
+ ['PureCloud OAuth'],
14186
+ ['application/json'],
14187
+ ['application/json']
14188
+ );
14189
+ }
14190
+
13918
14191
  }
13919
14192
 
13920
14193
  class DataExtensionsApi {
13921
14194
  /**
13922
14195
  * DataExtensions service.
13923
14196
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
13924
- * @version 137.1.0
14197
+ * @version 139.0.0
13925
14198
  */
13926
14199
 
13927
14200
  /**
@@ -14007,7 +14280,7 @@ class ExternalContactsApi {
14007
14280
  /**
14008
14281
  * ExternalContacts service.
14009
14282
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
14010
- * @version 137.1.0
14283
+ * @version 139.0.0
14011
14284
  */
14012
14285
 
14013
14286
  /**
@@ -15750,7 +16023,7 @@ class FaxApi {
15750
16023
  /**
15751
16024
  * Fax service.
15752
16025
  * @module purecloud-platform-client-v2/api/FaxApi
15753
- * @version 137.1.0
16026
+ * @version 139.0.0
15754
16027
  */
15755
16028
 
15756
16029
  /**
@@ -15921,7 +16194,7 @@ class FlowsApi {
15921
16194
  /**
15922
16195
  * Flows service.
15923
16196
  * @module purecloud-platform-client-v2/api/FlowsApi
15924
- * @version 137.1.0
16197
+ * @version 139.0.0
15925
16198
  */
15926
16199
 
15927
16200
  /**
@@ -15992,7 +16265,7 @@ class GamificationApi {
15992
16265
  /**
15993
16266
  * Gamification service.
15994
16267
  * @module purecloud-platform-client-v2/api/GamificationApi
15995
- * @version 137.1.0
16268
+ * @version 139.0.0
15996
16269
  */
15997
16270
 
15998
16271
  /**
@@ -16263,18 +16536,18 @@ class GamificationApi {
16263
16536
  /**
16264
16537
  * Members of a given performance profile
16265
16538
  *
16266
- * @param {String} performanceProfileId Performance Profile Id
16539
+ * @param {String} profileId Profile Id
16267
16540
  */
16268
- getGamificationProfileMembers(performanceProfileId) {
16269
- // verify the required parameter 'performanceProfileId' is set
16270
- if (performanceProfileId === undefined || performanceProfileId === null) {
16271
- throw 'Missing the required parameter "performanceProfileId" when calling getGamificationProfileMembers';
16541
+ getGamificationProfileMembers(profileId) {
16542
+ // verify the required parameter 'profileId' is set
16543
+ if (profileId === undefined || profileId === null) {
16544
+ throw 'Missing the required parameter "profileId" when calling getGamificationProfileMembers';
16272
16545
  }
16273
16546
 
16274
16547
  return this.apiClient.callApi(
16275
- '/api/v2/gamification/profiles/{performanceProfileId}/members',
16548
+ '/api/v2/gamification/profiles/{profileId}/members',
16276
16549
  'GET',
16277
- { 'performanceProfileId': performanceProfileId },
16550
+ { 'profileId': profileId },
16278
16551
  { },
16279
16552
  { },
16280
16553
  { },
@@ -16326,6 +16599,7 @@ class GamificationApi {
16326
16599
  * @param {Object} opts Optional parameters
16327
16600
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
16328
16601
  * @param {String} opts.workday The objective query workday. If not specified, then it retrieves the current objective. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
16602
+ * @param {String} opts.metricIds List of metric ids to filter the response (Optional, comma-separated).
16329
16603
  */
16330
16604
  getGamificationProfileMetrics(profileId, opts) {
16331
16605
  opts = opts || {};
@@ -16339,7 +16613,7 @@ class GamificationApi {
16339
16613
  '/api/v2/gamification/profiles/{profileId}/metrics',
16340
16614
  'GET',
16341
16615
  { 'profileId': profileId },
16342
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'workday': opts['workday'] },
16616
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'workday': opts['workday'],'metricIds': opts['metricIds'] },
16343
16617
  { },
16344
16618
  { },
16345
16619
  null,
@@ -17142,13 +17416,13 @@ class GamificationApi {
17142
17416
  /**
17143
17417
  * Assign members to a given performance profile
17144
17418
  *
17145
- * @param {String} performanceProfileId Performance Profile Id
17419
+ * @param {String} profileId Profile Id
17146
17420
  * @param {Object} body assignUsers
17147
17421
  */
17148
- postGamificationProfileMembers(performanceProfileId, body) {
17149
- // verify the required parameter 'performanceProfileId' is set
17150
- if (performanceProfileId === undefined || performanceProfileId === null) {
17151
- throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembers';
17422
+ postGamificationProfileMembers(profileId, body) {
17423
+ // verify the required parameter 'profileId' is set
17424
+ if (profileId === undefined || profileId === null) {
17425
+ throw 'Missing the required parameter "profileId" when calling postGamificationProfileMembers';
17152
17426
  }
17153
17427
  // verify the required parameter 'body' is set
17154
17428
  if (body === undefined || body === null) {
@@ -17156,9 +17430,9 @@ class GamificationApi {
17156
17430
  }
17157
17431
 
17158
17432
  return this.apiClient.callApi(
17159
- '/api/v2/gamification/profiles/{performanceProfileId}/members',
17433
+ '/api/v2/gamification/profiles/{profileId}/members',
17160
17434
  'POST',
17161
- { 'performanceProfileId': performanceProfileId },
17435
+ { 'profileId': profileId },
17162
17436
  { },
17163
17437
  { },
17164
17438
  { },
@@ -17172,13 +17446,13 @@ class GamificationApi {
17172
17446
  /**
17173
17447
  * Validate member assignment
17174
17448
  *
17175
- * @param {String} performanceProfileId Performance Profile Id
17449
+ * @param {String} profileId Profile Id
17176
17450
  * @param {Object} body memberAssignments
17177
17451
  */
17178
- postGamificationProfileMembersValidate(performanceProfileId, body) {
17179
- // verify the required parameter 'performanceProfileId' is set
17180
- if (performanceProfileId === undefined || performanceProfileId === null) {
17181
- throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembersValidate';
17452
+ postGamificationProfileMembersValidate(profileId, body) {
17453
+ // verify the required parameter 'profileId' is set
17454
+ if (profileId === undefined || profileId === null) {
17455
+ throw 'Missing the required parameter "profileId" when calling postGamificationProfileMembersValidate';
17182
17456
  }
17183
17457
  // verify the required parameter 'body' is set
17184
17458
  if (body === undefined || body === null) {
@@ -17186,9 +17460,9 @@ class GamificationApi {
17186
17460
  }
17187
17461
 
17188
17462
  return this.apiClient.callApi(
17189
- '/api/v2/gamification/profiles/{performanceProfileId}/members/validate',
17463
+ '/api/v2/gamification/profiles/{profileId}/members/validate',
17190
17464
  'POST',
17191
- { 'performanceProfileId': performanceProfileId },
17465
+ { 'profileId': profileId },
17192
17466
  { },
17193
17467
  { },
17194
17468
  { },
@@ -17422,7 +17696,7 @@ class GeneralDataProtectionRegulationApi {
17422
17696
  /**
17423
17697
  * GeneralDataProtectionRegulation service.
17424
17698
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
17425
- * @version 137.1.0
17699
+ * @version 139.0.0
17426
17700
  */
17427
17701
 
17428
17702
  /**
@@ -17552,7 +17826,7 @@ class GeolocationApi {
17552
17826
  /**
17553
17827
  * Geolocation service.
17554
17828
  * @module purecloud-platform-client-v2/api/GeolocationApi
17555
- * @version 137.1.0
17829
+ * @version 139.0.0
17556
17830
  */
17557
17831
 
17558
17832
  /**
@@ -17683,7 +17957,7 @@ class GreetingsApi {
17683
17957
  /**
17684
17958
  * Greetings service.
17685
17959
  * @module purecloud-platform-client-v2/api/GreetingsApi
17686
- * @version 137.1.0
17960
+ * @version 139.0.0
17687
17961
  */
17688
17962
 
17689
17963
  /**
@@ -18138,7 +18412,7 @@ class GroupsApi {
18138
18412
  /**
18139
18413
  * Groups service.
18140
18414
  * @module purecloud-platform-client-v2/api/GroupsApi
18141
- * @version 137.1.0
18415
+ * @version 139.0.0
18142
18416
  */
18143
18417
 
18144
18418
  /**
@@ -18543,7 +18817,7 @@ class IdentityProviderApi {
18543
18817
  /**
18544
18818
  * IdentityProvider service.
18545
18819
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
18546
- * @version 137.1.0
18820
+ * @version 139.0.0
18547
18821
  */
18548
18822
 
18549
18823
  /**
@@ -19299,7 +19573,7 @@ class IntegrationsApi {
19299
19573
  /**
19300
19574
  * Integrations service.
19301
19575
  * @module purecloud-platform-client-v2/api/IntegrationsApi
19302
- * @version 137.1.0
19576
+ * @version 139.0.0
19303
19577
  */
19304
19578
 
19305
19579
  /**
@@ -20976,7 +21250,7 @@ class JourneyApi {
20976
21250
  /**
20977
21251
  * Journey service.
20978
21252
  * @module purecloud-platform-client-v2/api/JourneyApi
20979
- * @version 137.1.0
21253
+ * @version 139.0.0
20980
21254
  */
20981
21255
 
20982
21256
  /**
@@ -21687,7 +21961,7 @@ class KnowledgeApi {
21687
21961
  /**
21688
21962
  * Knowledge service.
21689
21963
  * @module purecloud-platform-client-v2/api/KnowledgeApi
21690
- * @version 137.1.0
21964
+ * @version 139.0.0
21691
21965
  */
21692
21966
 
21693
21967
  /**
@@ -21865,7 +22139,7 @@ class KnowledgeApi {
21865
22139
  * @param {Object} opts Optional parameters
21866
22140
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
21867
22141
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
21868
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize, use CursorQueryParameters instead.
22142
+ * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
21869
22143
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
21870
22144
  * @param {String} opts.name Filter to return the categories that starts with the given category name.
21871
22145
  */
@@ -21973,7 +22247,7 @@ class KnowledgeApi {
21973
22247
  * @param {Object} opts Optional parameters
21974
22248
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
21975
22249
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
21976
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize, use CursorQueryParameters instead.
22250
+ * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
21977
22251
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
21978
22252
  * @param {String} opts.categories Filter by categories ids, comma separated values expected.
21979
22253
  * @param {String} opts.title Filter by document title.
@@ -22085,7 +22359,7 @@ class KnowledgeApi {
22085
22359
  * @param {Object} opts Optional parameters
22086
22360
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
22087
22361
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
22088
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize, use CursorQueryParameters instead.
22362
+ * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
22089
22363
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
22090
22364
  * @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
22091
22365
  */
@@ -22121,7 +22395,7 @@ class KnowledgeApi {
22121
22395
  * @param {Object} opts Optional parameters
22122
22396
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
22123
22397
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
22124
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize, use CursorQueryParameters instead.
22398
+ * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
22125
22399
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
22126
22400
  * @param {String} opts.name Filter by Name.
22127
22401
  * @param {Object} opts.coreLanguage Filter by core language.
@@ -22587,7 +22861,7 @@ class LanguageUnderstandingApi {
22587
22861
  /**
22588
22862
  * LanguageUnderstanding service.
22589
22863
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
22590
- * @version 137.1.0
22864
+ * @version 139.0.0
22591
22865
  */
22592
22866
 
22593
22867
  /**
@@ -23491,7 +23765,7 @@ class LanguagesApi {
23491
23765
  /**
23492
23766
  * Languages service.
23493
23767
  * @module purecloud-platform-client-v2/api/LanguagesApi
23494
- * @version 137.1.0
23768
+ * @version 139.0.0
23495
23769
  */
23496
23770
 
23497
23771
  /**
@@ -23759,7 +24033,7 @@ class LearningApi {
23759
24033
  /**
23760
24034
  * Learning service.
23761
24035
  * @module purecloud-platform-client-v2/api/LearningApi
23762
- * @version 137.1.0
24036
+ * @version 139.0.0
23763
24037
  */
23764
24038
 
23765
24039
  /**
@@ -24350,7 +24624,7 @@ class LicenseApi {
24350
24624
  /**
24351
24625
  * License service.
24352
24626
  * @module purecloud-platform-client-v2/api/LicenseApi
24353
- * @version 137.1.0
24627
+ * @version 139.0.0
24354
24628
  */
24355
24629
 
24356
24630
  /**
@@ -24588,7 +24862,7 @@ class LocationsApi {
24588
24862
  /**
24589
24863
  * Locations service.
24590
24864
  * @module purecloud-platform-client-v2/api/LocationsApi
24591
- * @version 137.1.0
24865
+ * @version 139.0.0
24592
24866
  */
24593
24867
 
24594
24868
  /**
@@ -24824,7 +25098,7 @@ class MessagingApi {
24824
25098
  /**
24825
25099
  * Messaging service.
24826
25100
  * @module purecloud-platform-client-v2/api/MessagingApi
24827
- * @version 137.1.0
25101
+ * @version 139.0.0
24828
25102
  */
24829
25103
 
24830
25104
  /**
@@ -24975,7 +25249,7 @@ class MobileDevicesApi {
24975
25249
  /**
24976
25250
  * MobileDevices service.
24977
25251
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
24978
- * @version 137.1.0
25252
+ * @version 139.0.0
24979
25253
  */
24980
25254
 
24981
25255
  /**
@@ -25126,7 +25400,7 @@ class NotificationsApi {
25126
25400
  /**
25127
25401
  * Notifications service.
25128
25402
  * @module purecloud-platform-client-v2/api/NotificationsApi
25129
- * @version 137.1.0
25403
+ * @version 139.0.0
25130
25404
  */
25131
25405
 
25132
25406
  /**
@@ -25351,7 +25625,7 @@ class OAuthApi {
25351
25625
  /**
25352
25626
  * OAuth service.
25353
25627
  * @module purecloud-platform-client-v2/api/OAuthApi
25354
- * @version 137.1.0
25628
+ * @version 139.0.0
25355
25629
  */
25356
25630
 
25357
25631
  /**
@@ -25717,7 +25991,7 @@ class ObjectsApi {
25717
25991
  /**
25718
25992
  * Objects service.
25719
25993
  * @module purecloud-platform-client-v2/api/ObjectsApi
25720
- * @version 137.1.0
25994
+ * @version 139.0.0
25721
25995
  */
25722
25996
 
25723
25997
  /**
@@ -25988,7 +26262,7 @@ class OrganizationApi {
25988
26262
  /**
25989
26263
  * Organization service.
25990
26264
  * @module purecloud-platform-client-v2/api/OrganizationApi
25991
- * @version 137.1.0
26265
+ * @version 139.0.0
25992
26266
  */
25993
26267
 
25994
26268
  /**
@@ -26391,7 +26665,7 @@ class OrganizationAuthorizationApi {
26391
26665
  /**
26392
26666
  * OrganizationAuthorization service.
26393
26667
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
26394
- * @version 137.1.0
26668
+ * @version 139.0.0
26395
26669
  */
26396
26670
 
26397
26671
  /**
@@ -27316,7 +27590,7 @@ class OutboundApi {
27316
27590
  /**
27317
27591
  * Outbound service.
27318
27592
  * @module purecloud-platform-client-v2/api/OutboundApi
27319
- * @version 137.1.0
27593
+ * @version 139.0.0
27320
27594
  */
27321
27595
 
27322
27596
  /**
@@ -30571,7 +30845,7 @@ class PresenceApi {
30571
30845
  /**
30572
30846
  * Presence service.
30573
30847
  * @module purecloud-platform-client-v2/api/PresenceApi
30574
- * @version 137.1.0
30848
+ * @version 139.0.0
30575
30849
  */
30576
30850
 
30577
30851
  /**
@@ -30893,7 +31167,7 @@ class QualityApi {
30893
31167
  /**
30894
31168
  * Quality service.
30895
31169
  * @module purecloud-platform-client-v2/api/QualityApi
30896
- * @version 137.1.0
31170
+ * @version 139.0.0
30897
31171
  */
30898
31172
 
30899
31173
  /**
@@ -32471,7 +32745,7 @@ class RecordingApi {
32471
32745
  /**
32472
32746
  * Recording service.
32473
32747
  * @module purecloud-platform-client-v2/api/RecordingApi
32474
- * @version 137.1.0
32748
+ * @version 139.0.0
32475
32749
  */
32476
32750
 
32477
32751
  /**
@@ -34124,7 +34398,7 @@ class ResponseManagementApi {
34124
34398
  /**
34125
34399
  * ResponseManagement service.
34126
34400
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
34127
- * @version 137.1.0
34401
+ * @version 139.0.0
34128
34402
  */
34129
34403
 
34130
34404
  /**
@@ -34608,7 +34882,7 @@ class RoutingApi {
34608
34882
  /**
34609
34883
  * Routing service.
34610
34884
  * @module purecloud-platform-client-v2/api/RoutingApi
34611
- * @version 137.1.0
34885
+ * @version 139.0.0
34612
34886
  */
34613
34887
 
34614
34888
  /**
@@ -34921,12 +35195,8 @@ class RoutingApi {
34921
35195
  * Delete a phone number provisioned for SMS.
34922
35196
  *
34923
35197
  * @param {String} addressId Address ID
34924
- * @param {Object} opts Optional parameters
34925
- * @param {Boolean} opts.async Delete a phone number for SMS in an asynchronous manner. If the async parameter value is true, this initiates the deletion of a provisioned phone number. (default to false)
34926
35198
  */
34927
- deleteRoutingSmsPhonenumber(addressId, opts) {
34928
- opts = opts || {};
34929
-
35199
+ deleteRoutingSmsPhonenumber(addressId) {
34930
35200
  // verify the required parameter 'addressId' is set
34931
35201
  if (addressId === undefined || addressId === null) {
34932
35202
  throw 'Missing the required parameter "addressId" when calling deleteRoutingSmsPhonenumber';
@@ -34936,7 +35206,7 @@ class RoutingApi {
34936
35206
  '/api/v2/routing/sms/phonenumbers/{addressId}',
34937
35207
  'DELETE',
34938
35208
  { 'addressId': addressId },
34939
- { 'async': opts['async'] },
35209
+ { },
34940
35210
  { },
34941
35211
  { },
34942
35212
  null,
@@ -35107,7 +35377,7 @@ class RoutingApi {
35107
35377
  * @param {Object} opts Optional parameters
35108
35378
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
35109
35379
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
35110
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize, use CursorQueryParameters instead.
35380
+ * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
35111
35381
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
35112
35382
  * @param {Array.<String>} opts.queueId Queue ID(s) to filter assessments by.
35113
35383
  */
@@ -35418,7 +35688,7 @@ class RoutingApi {
35418
35688
  * @param {Object} opts Optional parameters
35419
35689
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
35420
35690
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
35421
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize, use CursorQueryParameters instead.
35691
+ * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
35422
35692
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
35423
35693
  * @param {Array.<String>} opts.queueId Comma-separated list of queue Ids to filter by.
35424
35694
  */
@@ -37090,12 +37360,8 @@ class RoutingApi {
37090
37360
  * Provision a phone number for SMS
37091
37361
  *
37092
37362
  * @param {Object} body SmsPhoneNumber
37093
- * @param {Object} opts Optional parameters
37094
- * @param {Boolean} opts.async Provision a new phone number for SMS in an asynchronous manner. If the async parameter value is true, this initiates the provisioning of a new phone number. Check the phoneNumber's provisioningStatus for completion of this request. (default to false)
37095
37363
  */
37096
- postRoutingSmsPhonenumbers(body, opts) {
37097
- opts = opts || {};
37098
-
37364
+ postRoutingSmsPhonenumbers(body) {
37099
37365
  // verify the required parameter 'body' is set
37100
37366
  if (body === undefined || body === null) {
37101
37367
  throw 'Missing the required parameter "body" when calling postRoutingSmsPhonenumbers';
@@ -37105,7 +37371,7 @@ class RoutingApi {
37105
37371
  '/api/v2/routing/sms/phonenumbers',
37106
37372
  'POST',
37107
37373
  { },
37108
- { 'async': opts['async'] },
37374
+ { },
37109
37375
  { },
37110
37376
  { },
37111
37377
  body,
@@ -37350,12 +37616,8 @@ class RoutingApi {
37350
37616
  *
37351
37617
  * @param {String} addressId Address ID
37352
37618
  * @param {Object} body SmsPhoneNumber
37353
- * @param {Object} opts Optional parameters
37354
- * @param {Boolean} opts.async Update an existing phone number for SMS in an asynchronous manner. If the async parameter value is true, this initiates the update of a provisioned phone number. Check the phoneNumber's provisioningStatus for the progress of this request. (default to false)
37355
37619
  */
37356
- putRoutingSmsPhonenumber(addressId, body, opts) {
37357
- opts = opts || {};
37358
-
37620
+ putRoutingSmsPhonenumber(addressId, body) {
37359
37621
  // verify the required parameter 'addressId' is set
37360
37622
  if (addressId === undefined || addressId === null) {
37361
37623
  throw 'Missing the required parameter "addressId" when calling putRoutingSmsPhonenumber';
@@ -37369,7 +37631,7 @@ class RoutingApi {
37369
37631
  '/api/v2/routing/sms/phonenumbers/{addressId}',
37370
37632
  'PUT',
37371
37633
  { 'addressId': addressId },
37372
- { 'async': opts['async'] },
37634
+ { },
37373
37635
  { },
37374
37636
  { },
37375
37637
  body,
@@ -37535,7 +37797,7 @@ class SCIMApi {
37535
37797
  /**
37536
37798
  * SCIM service.
37537
37799
  * @module purecloud-platform-client-v2/api/SCIMApi
37538
- * @version 137.1.0
37800
+ * @version 139.0.0
37539
37801
  */
37540
37802
 
37541
37803
  /**
@@ -38412,7 +38674,7 @@ class ScriptsApi {
38412
38674
  /**
38413
38675
  * Scripts service.
38414
38676
  * @module purecloud-platform-client-v2/api/ScriptsApi
38415
- * @version 137.1.0
38677
+ * @version 139.0.0
38416
38678
  */
38417
38679
 
38418
38680
  /**
@@ -38740,9 +39002,9 @@ class ScriptsApi {
38740
39002
  *
38741
39003
  * @param {String} scriptId Script ID
38742
39004
  * @param {Object} opts Optional parameters
38743
- * @param {String} opts.input input
38744
- * @param {String} opts.output output
38745
- * @param {String} opts.type type
39005
+ * @param {Object} opts.input input
39006
+ * @param {Object} opts.output output
39007
+ * @param {Object} opts.type type
38746
39008
  * @param {String} opts.scriptDataVersion Advanced usage - controls the data version of the script
38747
39009
  */
38748
39010
  getScriptsPublishedScriptIdVariables(scriptId, opts) {
@@ -38831,7 +39093,7 @@ class SearchApi {
38831
39093
  /**
38832
39094
  * Search service.
38833
39095
  * @module purecloud-platform-client-v2/api/SearchApi
38834
- * @version 137.1.0
39096
+ * @version 139.0.0
38835
39097
  */
38836
39098
 
38837
39099
  /**
@@ -39366,7 +39628,7 @@ class SpeechTextAnalyticsApi {
39366
39628
  /**
39367
39629
  * SpeechTextAnalytics service.
39368
39630
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
39369
- * @version 137.1.0
39631
+ * @version 139.0.0
39370
39632
  */
39371
39633
 
39372
39634
  /**
@@ -40219,7 +40481,7 @@ class StationsApi {
40219
40481
  /**
40220
40482
  * Stations service.
40221
40483
  * @module purecloud-platform-client-v2/api/StationsApi
40222
- * @version 137.1.0
40484
+ * @version 139.0.0
40223
40485
  */
40224
40486
 
40225
40487
  /**
@@ -40366,7 +40628,7 @@ class SuggestApi {
40366
40628
  /**
40367
40629
  * Suggest service.
40368
40630
  * @module purecloud-platform-client-v2/api/SuggestApi
40369
- * @version 137.1.0
40631
+ * @version 139.0.0
40370
40632
  */
40371
40633
 
40372
40634
  /**
@@ -40505,7 +40767,7 @@ class TelephonyApi {
40505
40767
  /**
40506
40768
  * Telephony service.
40507
40769
  * @module purecloud-platform-client-v2/api/TelephonyApi
40508
- * @version 137.1.0
40770
+ * @version 139.0.0
40509
40771
  */
40510
40772
 
40511
40773
  /**
@@ -40613,7 +40875,7 @@ class TelephonyProvidersEdgeApi {
40613
40875
  /**
40614
40876
  * TelephonyProvidersEdge service.
40615
40877
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
40616
- * @version 137.1.0
40878
+ * @version 139.0.0
40617
40879
  */
40618
40880
 
40619
40881
  /**
@@ -44246,7 +44508,7 @@ class TextbotsApi {
44246
44508
  /**
44247
44509
  * Textbots service.
44248
44510
  * @module purecloud-platform-client-v2/api/TextbotsApi
44249
- * @version 137.1.0
44511
+ * @version 139.0.0
44250
44512
  */
44251
44513
 
44252
44514
  /**
@@ -44374,7 +44636,7 @@ class TokensApi {
44374
44636
  /**
44375
44637
  * Tokens service.
44376
44638
  * @module purecloud-platform-client-v2/api/TokensApi
44377
- * @version 137.1.0
44639
+ * @version 139.0.0
44378
44640
  */
44379
44641
 
44380
44642
  /**
@@ -44480,7 +44742,7 @@ class UploadsApi {
44480
44742
  /**
44481
44743
  * Uploads service.
44482
44744
  * @module purecloud-platform-client-v2/api/UploadsApi
44483
- * @version 137.1.0
44745
+ * @version 139.0.0
44484
44746
  */
44485
44747
 
44486
44748
  /**
@@ -44631,7 +44893,7 @@ class UsageApi {
44631
44893
  /**
44632
44894
  * Usage service.
44633
44895
  * @module purecloud-platform-client-v2/api/UsageApi
44634
- * @version 137.1.0
44896
+ * @version 139.0.0
44635
44897
  */
44636
44898
 
44637
44899
  /**
@@ -44702,7 +44964,7 @@ class UserRecordingsApi {
44702
44964
  /**
44703
44965
  * UserRecordings service.
44704
44966
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
44705
- * @version 137.1.0
44967
+ * @version 139.0.0
44706
44968
  */
44707
44969
 
44708
44970
  /**
@@ -44886,7 +45148,7 @@ class UsersApi {
44886
45148
  /**
44887
45149
  * Users service.
44888
45150
  * @module purecloud-platform-client-v2/api/UsersApi
44889
- * @version 137.1.0
45151
+ * @version 139.0.0
44890
45152
  */
44891
45153
 
44892
45154
  /**
@@ -47188,7 +47450,7 @@ class UtilitiesApi {
47188
47450
  /**
47189
47451
  * Utilities service.
47190
47452
  * @module purecloud-platform-client-v2/api/UtilitiesApi
47191
- * @version 137.1.0
47453
+ * @version 139.0.0
47192
47454
  */
47193
47455
 
47194
47456
  /**
@@ -47299,7 +47561,7 @@ class VoicemailApi {
47299
47561
  /**
47300
47562
  * Voicemail service.
47301
47563
  * @module purecloud-platform-client-v2/api/VoicemailApi
47302
- * @version 137.1.0
47564
+ * @version 139.0.0
47303
47565
  */
47304
47566
 
47305
47567
  /**
@@ -47966,7 +48228,7 @@ class WebChatApi {
47966
48228
  /**
47967
48229
  * WebChat service.
47968
48230
  * @module purecloud-platform-client-v2/api/WebChatApi
47969
- * @version 137.1.0
48231
+ * @version 139.0.0
47970
48232
  */
47971
48233
 
47972
48234
  /**
@@ -48510,7 +48772,7 @@ class WebDeploymentsApi {
48510
48772
  /**
48511
48773
  * WebDeployments service.
48512
48774
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
48513
- * @version 137.1.0
48775
+ * @version 139.0.0
48514
48776
  */
48515
48777
 
48516
48778
  /**
@@ -48865,7 +49127,7 @@ class WebMessagingApi {
48865
49127
  /**
48866
49128
  * WebMessaging service.
48867
49129
  * @module purecloud-platform-client-v2/api/WebMessagingApi
48868
- * @version 137.1.0
49130
+ * @version 139.0.0
48869
49131
  */
48870
49132
 
48871
49133
  /**
@@ -48911,7 +49173,7 @@ class WidgetsApi {
48911
49173
  /**
48912
49174
  * Widgets service.
48913
49175
  * @module purecloud-platform-client-v2/api/WidgetsApi
48914
- * @version 137.1.0
49176
+ * @version 139.0.0
48915
49177
  */
48916
49178
 
48917
49179
  /**
@@ -49057,7 +49319,7 @@ class WorkforceManagementApi {
49057
49319
  /**
49058
49320
  * WorkforceManagement service.
49059
49321
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
49060
- * @version 137.1.0
49322
+ * @version 139.0.0
49061
49323
  */
49062
49324
 
49063
49325
  /**
@@ -51816,8 +52078,8 @@ class WorkforceManagementApi {
51816
52078
  *
51817
52079
  * @param {String} businessUnitId The ID of the business unit
51818
52080
  * @param {Object} opts Optional parameters
51819
- * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
51820
- * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
52081
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
52082
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
51821
52083
  * @param {Object} opts.body body
51822
52084
  */
51823
52085
  postWorkforcemanagementBusinessunitAgentschedulesSearch(businessUnitId, opts) {
@@ -51938,8 +52200,8 @@ class WorkforceManagementApi {
51938
52200
  * @param {String} scheduleId The ID of the schedule
51939
52201
  * @param {Object} body body
51940
52202
  * @param {Object} opts Optional parameters
51941
- * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
51942
- * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
52203
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
52204
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
51943
52205
  */
51944
52206
  postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery(businessUnitId, weekId, scheduleId, body, opts) {
51945
52207
  opts = opts || {};
@@ -52525,8 +52787,8 @@ class WorkforceManagementApi {
52525
52787
  *
52526
52788
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
52527
52789
  * @param {Object} opts Optional parameters
52528
- * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
52529
- * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
52790
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
52791
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
52530
52792
  * @param {Object} opts.body body
52531
52793
  */
52532
52794
  postWorkforcemanagementManagementunitAgentschedulesSearch(managementUnitId, opts) {
@@ -53308,7 +53570,7 @@ class WorkforceManagementApi {
53308
53570
  * </pre>
53309
53571
  * </p>
53310
53572
  * @module purecloud-platform-client-v2/index
53311
- * @version 137.1.0
53573
+ * @version 139.0.0
53312
53574
  */
53313
53575
  class platformClient {
53314
53576
  constructor() {