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
@@ -397,7 +397,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
397
397
 
398
398
  /**
399
399
  * @module purecloud-platform-client-v2/ApiClient
400
- * @version 137.1.0
400
+ * @version 139.0.0
401
401
  */
402
402
  class ApiClient {
403
403
  /**
@@ -1150,7 +1150,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1150
1150
  serialize(obj) {
1151
1151
  var result = {};
1152
1152
  for (var p in obj) {
1153
- if (obj.hasOwnProperty(p)) {
1153
+ if (obj.hasOwnProperty(p) && obj[p] !== undefined) {
1154
1154
  result[encodeURIComponent(p)] = Array.isArray(obj[p]) ? obj[p].join(",") : this.paramToString(obj[p]);
1155
1155
  }
1156
1156
  }
@@ -1287,6 +1287,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1287
1287
  */
1288
1288
  buildCollectionParam(param, collectionFormat) {
1289
1289
  if (!param) return;
1290
+ if (!Array.isArray(param)) {
1291
+ param = [param];
1292
+ }
1290
1293
 
1291
1294
  switch (collectionFormat) {
1292
1295
  case 'csv':
@@ -1472,7 +1475,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1472
1475
  /**
1473
1476
  * Alerting service.
1474
1477
  * @module purecloud-platform-client-v2/api/AlertingApi
1475
- * @version 137.1.0
1478
+ * @version 139.0.0
1476
1479
  */
1477
1480
 
1478
1481
  /**
@@ -1786,7 +1789,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1786
1789
  /**
1787
1790
  * Analytics service.
1788
1791
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1789
- * @version 137.1.0
1792
+ * @version 139.0.0
1790
1793
  */
1791
1794
 
1792
1795
  /**
@@ -2968,7 +2971,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
2968
2971
  /**
2969
2972
  * Architect service.
2970
2973
  * @module purecloud-platform-client-v2/api/ArchitectApi
2971
- * @version 137.1.0
2974
+ * @version 139.0.0
2972
2975
  */
2973
2976
 
2974
2977
  /**
@@ -6013,7 +6016,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6013
6016
  /**
6014
6017
  * Audit service.
6015
6018
  * @module purecloud-platform-client-v2/api/AuditApi
6016
- * @version 137.1.0
6019
+ * @version 139.0.0
6017
6020
  */
6018
6021
 
6019
6022
  /**
@@ -6184,7 +6187,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6184
6187
  /**
6185
6188
  * Authorization service.
6186
6189
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6187
- * @version 137.1.0
6190
+ * @version 139.0.0
6188
6191
  */
6189
6192
 
6190
6193
  /**
@@ -7367,7 +7370,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7367
7370
  /**
7368
7371
  * Billing service.
7369
7372
  * @module purecloud-platform-client-v2/api/BillingApi
7370
- * @version 137.1.0
7373
+ * @version 139.0.0
7371
7374
  */
7372
7375
 
7373
7376
  /**
@@ -7447,7 +7450,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7447
7450
  /**
7448
7451
  * Chat service.
7449
7452
  * @module purecloud-platform-client-v2/api/ChatApi
7450
- * @version 137.1.0
7453
+ * @version 139.0.0
7451
7454
  */
7452
7455
 
7453
7456
  /**
@@ -7538,7 +7541,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7538
7541
  /**
7539
7542
  * Coaching service.
7540
7543
  * @module purecloud-platform-client-v2/api/CoachingApi
7541
- * @version 137.1.0
7544
+ * @version 139.0.0
7542
7545
  */
7543
7546
 
7544
7547
  /**
@@ -8115,7 +8118,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
8115
8118
  /**
8116
8119
  * ContentManagement service.
8117
8120
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8118
- * @version 137.1.0
8121
+ * @version 139.0.0
8119
8122
  */
8120
8123
 
8121
8124
  /**
@@ -9255,7 +9258,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9255
9258
  /**
9256
9259
  * Conversations service.
9257
9260
  * @module purecloud-platform-client-v2/api/ConversationsApi
9258
- * @version 137.1.0
9261
+ * @version 139.0.0
9259
9262
  */
9260
9263
 
9261
9264
  /**
@@ -13803,6 +13806,126 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13803
13806
  );
13804
13807
  }
13805
13808
 
13809
+ /**
13810
+ * Update a conversation by setting its recording state
13811
+ *
13812
+ * @param {String} conversationId conversationId
13813
+ * @param {Object} body SetRecordingState
13814
+ */
13815
+ putConversationsCallRecordingstate(conversationId, body) {
13816
+ // verify the required parameter 'conversationId' is set
13817
+ if (conversationId === undefined || conversationId === null) {
13818
+ throw 'Missing the required parameter "conversationId" when calling putConversationsCallRecordingstate';
13819
+ }
13820
+ // verify the required parameter 'body' is set
13821
+ if (body === undefined || body === null) {
13822
+ throw 'Missing the required parameter "body" when calling putConversationsCallRecordingstate';
13823
+ }
13824
+
13825
+ return this.apiClient.callApi(
13826
+ '/api/v2/conversations/calls/{conversationId}/recordingstate',
13827
+ 'PUT',
13828
+ { 'conversationId': conversationId },
13829
+ { },
13830
+ { },
13831
+ { },
13832
+ body,
13833
+ ['PureCloud OAuth'],
13834
+ ['application/json'],
13835
+ ['application/json']
13836
+ );
13837
+ }
13838
+
13839
+ /**
13840
+ * Update a conversation by setting its recording state
13841
+ *
13842
+ * @param {String} conversationId conversationId
13843
+ * @param {Object} body SetRecordingState
13844
+ */
13845
+ putConversationsCallbackRecordingstate(conversationId, body) {
13846
+ // verify the required parameter 'conversationId' is set
13847
+ if (conversationId === undefined || conversationId === null) {
13848
+ throw 'Missing the required parameter "conversationId" when calling putConversationsCallbackRecordingstate';
13849
+ }
13850
+ // verify the required parameter 'body' is set
13851
+ if (body === undefined || body === null) {
13852
+ throw 'Missing the required parameter "body" when calling putConversationsCallbackRecordingstate';
13853
+ }
13854
+
13855
+ return this.apiClient.callApi(
13856
+ '/api/v2/conversations/callbacks/{conversationId}/recordingstate',
13857
+ 'PUT',
13858
+ { 'conversationId': conversationId },
13859
+ { },
13860
+ { },
13861
+ { },
13862
+ body,
13863
+ ['PureCloud OAuth'],
13864
+ ['application/json'],
13865
+ ['application/json']
13866
+ );
13867
+ }
13868
+
13869
+ /**
13870
+ * Update a conversation by setting its recording state
13871
+ *
13872
+ * @param {String} conversationId conversationId
13873
+ * @param {Object} body SetRecordingState
13874
+ */
13875
+ putConversationsChatRecordingstate(conversationId, body) {
13876
+ // verify the required parameter 'conversationId' is set
13877
+ if (conversationId === undefined || conversationId === null) {
13878
+ throw 'Missing the required parameter "conversationId" when calling putConversationsChatRecordingstate';
13879
+ }
13880
+ // verify the required parameter 'body' is set
13881
+ if (body === undefined || body === null) {
13882
+ throw 'Missing the required parameter "body" when calling putConversationsChatRecordingstate';
13883
+ }
13884
+
13885
+ return this.apiClient.callApi(
13886
+ '/api/v2/conversations/chats/{conversationId}/recordingstate',
13887
+ 'PUT',
13888
+ { 'conversationId': conversationId },
13889
+ { },
13890
+ { },
13891
+ { },
13892
+ body,
13893
+ ['PureCloud OAuth'],
13894
+ ['application/json'],
13895
+ ['application/json']
13896
+ );
13897
+ }
13898
+
13899
+ /**
13900
+ * Update a conversation by setting its recording state
13901
+ *
13902
+ * @param {String} conversationId conversationId
13903
+ * @param {Object} body SetRecordingState
13904
+ */
13905
+ putConversationsCobrowsesessionRecordingstate(conversationId, body) {
13906
+ // verify the required parameter 'conversationId' is set
13907
+ if (conversationId === undefined || conversationId === null) {
13908
+ throw 'Missing the required parameter "conversationId" when calling putConversationsCobrowsesessionRecordingstate';
13909
+ }
13910
+ // verify the required parameter 'body' is set
13911
+ if (body === undefined || body === null) {
13912
+ throw 'Missing the required parameter "body" when calling putConversationsCobrowsesessionRecordingstate';
13913
+ }
13914
+
13915
+ return this.apiClient.callApi(
13916
+ '/api/v2/conversations/cobrowsesessions/{conversationId}/recordingstate',
13917
+ 'PUT',
13918
+ { 'conversationId': conversationId },
13919
+ { },
13920
+ { },
13921
+ { },
13922
+ body,
13923
+ ['PureCloud OAuth'],
13924
+ ['application/json'],
13925
+ ['application/json']
13926
+ );
13927
+ }
13928
+
13806
13929
  /**
13807
13930
  * Update conversation draft reply
13808
13931
  *
@@ -13833,6 +13956,66 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13833
13956
  );
13834
13957
  }
13835
13958
 
13959
+ /**
13960
+ * Update a conversation by setting its recording state
13961
+ *
13962
+ * @param {String} conversationId conversationId
13963
+ * @param {Object} body SetRecordingState
13964
+ */
13965
+ putConversationsEmailRecordingstate(conversationId, body) {
13966
+ // verify the required parameter 'conversationId' is set
13967
+ if (conversationId === undefined || conversationId === null) {
13968
+ throw 'Missing the required parameter "conversationId" when calling putConversationsEmailRecordingstate';
13969
+ }
13970
+ // verify the required parameter 'body' is set
13971
+ if (body === undefined || body === null) {
13972
+ throw 'Missing the required parameter "body" when calling putConversationsEmailRecordingstate';
13973
+ }
13974
+
13975
+ return this.apiClient.callApi(
13976
+ '/api/v2/conversations/emails/{conversationId}/recordingstate',
13977
+ 'PUT',
13978
+ { 'conversationId': conversationId },
13979
+ { },
13980
+ { },
13981
+ { },
13982
+ body,
13983
+ ['PureCloud OAuth'],
13984
+ ['application/json'],
13985
+ ['application/json']
13986
+ );
13987
+ }
13988
+
13989
+ /**
13990
+ * Update a conversation by setting its recording state
13991
+ *
13992
+ * @param {String} conversationId conversationId
13993
+ * @param {Object} body SetRecordingState
13994
+ */
13995
+ putConversationsMessageRecordingstate(conversationId, body) {
13996
+ // verify the required parameter 'conversationId' is set
13997
+ if (conversationId === undefined || conversationId === null) {
13998
+ throw 'Missing the required parameter "conversationId" when calling putConversationsMessageRecordingstate';
13999
+ }
14000
+ // verify the required parameter 'body' is set
14001
+ if (body === undefined || body === null) {
14002
+ throw 'Missing the required parameter "body" when calling putConversationsMessageRecordingstate';
14003
+ }
14004
+
14005
+ return this.apiClient.callApi(
14006
+ '/api/v2/conversations/messages/{conversationId}/recordingstate',
14007
+ 'PUT',
14008
+ { 'conversationId': conversationId },
14009
+ { },
14010
+ { },
14011
+ { },
14012
+ body,
14013
+ ['PureCloud OAuth'],
14014
+ ['application/json'],
14015
+ ['application/json']
14016
+ );
14017
+ }
14018
+
13836
14019
  /**
13837
14020
  * Update a LINE messenger integration
13838
14021
  *
@@ -13913,13 +14096,103 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13913
14096
  );
13914
14097
  }
13915
14098
 
14099
+ /**
14100
+ * Update a conversation by setting its recording state
14101
+ *
14102
+ * @param {String} conversationId conversationId
14103
+ * @param {Object} body SetRecordingState
14104
+ */
14105
+ putConversationsScreenshareRecordingstate(conversationId, body) {
14106
+ // verify the required parameter 'conversationId' is set
14107
+ if (conversationId === undefined || conversationId === null) {
14108
+ throw 'Missing the required parameter "conversationId" when calling putConversationsScreenshareRecordingstate';
14109
+ }
14110
+ // verify the required parameter 'body' is set
14111
+ if (body === undefined || body === null) {
14112
+ throw 'Missing the required parameter "body" when calling putConversationsScreenshareRecordingstate';
14113
+ }
14114
+
14115
+ return this.apiClient.callApi(
14116
+ '/api/v2/conversations/screenshares/{conversationId}/recordingstate',
14117
+ 'PUT',
14118
+ { 'conversationId': conversationId },
14119
+ { },
14120
+ { },
14121
+ { },
14122
+ body,
14123
+ ['PureCloud OAuth'],
14124
+ ['application/json'],
14125
+ ['application/json']
14126
+ );
14127
+ }
14128
+
14129
+ /**
14130
+ * Update a conversation by setting its recording state
14131
+ *
14132
+ * @param {String} conversationId conversationId
14133
+ * @param {Object} body SetRecordingState
14134
+ */
14135
+ putConversationsSocialRecordingstate(conversationId, body) {
14136
+ // verify the required parameter 'conversationId' is set
14137
+ if (conversationId === undefined || conversationId === null) {
14138
+ throw 'Missing the required parameter "conversationId" when calling putConversationsSocialRecordingstate';
14139
+ }
14140
+ // verify the required parameter 'body' is set
14141
+ if (body === undefined || body === null) {
14142
+ throw 'Missing the required parameter "body" when calling putConversationsSocialRecordingstate';
14143
+ }
14144
+
14145
+ return this.apiClient.callApi(
14146
+ '/api/v2/conversations/socials/{conversationId}/recordingstate',
14147
+ 'PUT',
14148
+ { 'conversationId': conversationId },
14149
+ { },
14150
+ { },
14151
+ { },
14152
+ body,
14153
+ ['PureCloud OAuth'],
14154
+ ['application/json'],
14155
+ ['application/json']
14156
+ );
14157
+ }
14158
+
14159
+ /**
14160
+ * Update a conversation by setting its recording state
14161
+ *
14162
+ * @param {String} conversationId conversationId
14163
+ * @param {Object} body SetRecordingState
14164
+ */
14165
+ putConversationsVideoRecordingstate(conversationId, body) {
14166
+ // verify the required parameter 'conversationId' is set
14167
+ if (conversationId === undefined || conversationId === null) {
14168
+ throw 'Missing the required parameter "conversationId" when calling putConversationsVideoRecordingstate';
14169
+ }
14170
+ // verify the required parameter 'body' is set
14171
+ if (body === undefined || body === null) {
14172
+ throw 'Missing the required parameter "body" when calling putConversationsVideoRecordingstate';
14173
+ }
14174
+
14175
+ return this.apiClient.callApi(
14176
+ '/api/v2/conversations/videos/{conversationId}/recordingstate',
14177
+ 'PUT',
14178
+ { 'conversationId': conversationId },
14179
+ { },
14180
+ { },
14181
+ { },
14182
+ body,
14183
+ ['PureCloud OAuth'],
14184
+ ['application/json'],
14185
+ ['application/json']
14186
+ );
14187
+ }
14188
+
13916
14189
  }
13917
14190
 
13918
14191
  class DataExtensionsApi {
13919
14192
  /**
13920
14193
  * DataExtensions service.
13921
14194
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
13922
- * @version 137.1.0
14195
+ * @version 139.0.0
13923
14196
  */
13924
14197
 
13925
14198
  /**
@@ -14005,7 +14278,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14005
14278
  /**
14006
14279
  * ExternalContacts service.
14007
14280
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
14008
- * @version 137.1.0
14281
+ * @version 139.0.0
14009
14282
  */
14010
14283
 
14011
14284
  /**
@@ -15748,7 +16021,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15748
16021
  /**
15749
16022
  * Fax service.
15750
16023
  * @module purecloud-platform-client-v2/api/FaxApi
15751
- * @version 137.1.0
16024
+ * @version 139.0.0
15752
16025
  */
15753
16026
 
15754
16027
  /**
@@ -15919,7 +16192,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15919
16192
  /**
15920
16193
  * Flows service.
15921
16194
  * @module purecloud-platform-client-v2/api/FlowsApi
15922
- * @version 137.1.0
16195
+ * @version 139.0.0
15923
16196
  */
15924
16197
 
15925
16198
  /**
@@ -15990,7 +16263,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15990
16263
  /**
15991
16264
  * Gamification service.
15992
16265
  * @module purecloud-platform-client-v2/api/GamificationApi
15993
- * @version 137.1.0
16266
+ * @version 139.0.0
15994
16267
  */
15995
16268
 
15996
16269
  /**
@@ -16261,18 +16534,18 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16261
16534
  /**
16262
16535
  * Members of a given performance profile
16263
16536
  *
16264
- * @param {String} performanceProfileId Performance Profile Id
16537
+ * @param {String} profileId Profile Id
16265
16538
  */
16266
- getGamificationProfileMembers(performanceProfileId) {
16267
- // verify the required parameter 'performanceProfileId' is set
16268
- if (performanceProfileId === undefined || performanceProfileId === null) {
16269
- throw 'Missing the required parameter "performanceProfileId" when calling getGamificationProfileMembers';
16539
+ getGamificationProfileMembers(profileId) {
16540
+ // verify the required parameter 'profileId' is set
16541
+ if (profileId === undefined || profileId === null) {
16542
+ throw 'Missing the required parameter "profileId" when calling getGamificationProfileMembers';
16270
16543
  }
16271
16544
 
16272
16545
  return this.apiClient.callApi(
16273
- '/api/v2/gamification/profiles/{performanceProfileId}/members',
16546
+ '/api/v2/gamification/profiles/{profileId}/members',
16274
16547
  'GET',
16275
- { 'performanceProfileId': performanceProfileId },
16548
+ { 'profileId': profileId },
16276
16549
  { },
16277
16550
  { },
16278
16551
  { },
@@ -16324,6 +16597,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16324
16597
  * @param {Object} opts Optional parameters
16325
16598
  * @param {Array.<String>} opts.expand Which fields, if any, to expand.
16326
16599
  * @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
16600
+ * @param {String} opts.metricIds List of metric ids to filter the response (Optional, comma-separated).
16327
16601
  */
16328
16602
  getGamificationProfileMetrics(profileId, opts) {
16329
16603
  opts = opts || {};
@@ -16337,7 +16611,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16337
16611
  '/api/v2/gamification/profiles/{profileId}/metrics',
16338
16612
  'GET',
16339
16613
  { 'profileId': profileId },
16340
- { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'workday': opts['workday'] },
16614
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'workday': opts['workday'],'metricIds': opts['metricIds'] },
16341
16615
  { },
16342
16616
  { },
16343
16617
  null,
@@ -17140,13 +17414,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17140
17414
  /**
17141
17415
  * Assign members to a given performance profile
17142
17416
  *
17143
- * @param {String} performanceProfileId Performance Profile Id
17417
+ * @param {String} profileId Profile Id
17144
17418
  * @param {Object} body assignUsers
17145
17419
  */
17146
- postGamificationProfileMembers(performanceProfileId, body) {
17147
- // verify the required parameter 'performanceProfileId' is set
17148
- if (performanceProfileId === undefined || performanceProfileId === null) {
17149
- throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembers';
17420
+ postGamificationProfileMembers(profileId, body) {
17421
+ // verify the required parameter 'profileId' is set
17422
+ if (profileId === undefined || profileId === null) {
17423
+ throw 'Missing the required parameter "profileId" when calling postGamificationProfileMembers';
17150
17424
  }
17151
17425
  // verify the required parameter 'body' is set
17152
17426
  if (body === undefined || body === null) {
@@ -17154,9 +17428,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17154
17428
  }
17155
17429
 
17156
17430
  return this.apiClient.callApi(
17157
- '/api/v2/gamification/profiles/{performanceProfileId}/members',
17431
+ '/api/v2/gamification/profiles/{profileId}/members',
17158
17432
  'POST',
17159
- { 'performanceProfileId': performanceProfileId },
17433
+ { 'profileId': profileId },
17160
17434
  { },
17161
17435
  { },
17162
17436
  { },
@@ -17170,13 +17444,13 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17170
17444
  /**
17171
17445
  * Validate member assignment
17172
17446
  *
17173
- * @param {String} performanceProfileId Performance Profile Id
17447
+ * @param {String} profileId Profile Id
17174
17448
  * @param {Object} body memberAssignments
17175
17449
  */
17176
- postGamificationProfileMembersValidate(performanceProfileId, body) {
17177
- // verify the required parameter 'performanceProfileId' is set
17178
- if (performanceProfileId === undefined || performanceProfileId === null) {
17179
- throw 'Missing the required parameter "performanceProfileId" when calling postGamificationProfileMembersValidate';
17450
+ postGamificationProfileMembersValidate(profileId, body) {
17451
+ // verify the required parameter 'profileId' is set
17452
+ if (profileId === undefined || profileId === null) {
17453
+ throw 'Missing the required parameter "profileId" when calling postGamificationProfileMembersValidate';
17180
17454
  }
17181
17455
  // verify the required parameter 'body' is set
17182
17456
  if (body === undefined || body === null) {
@@ -17184,9 +17458,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17184
17458
  }
17185
17459
 
17186
17460
  return this.apiClient.callApi(
17187
- '/api/v2/gamification/profiles/{performanceProfileId}/members/validate',
17461
+ '/api/v2/gamification/profiles/{profileId}/members/validate',
17188
17462
  'POST',
17189
- { 'performanceProfileId': performanceProfileId },
17463
+ { 'profileId': profileId },
17190
17464
  { },
17191
17465
  { },
17192
17466
  { },
@@ -17420,7 +17694,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17420
17694
  /**
17421
17695
  * GeneralDataProtectionRegulation service.
17422
17696
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
17423
- * @version 137.1.0
17697
+ * @version 139.0.0
17424
17698
  */
17425
17699
 
17426
17700
  /**
@@ -17550,7 +17824,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17550
17824
  /**
17551
17825
  * Geolocation service.
17552
17826
  * @module purecloud-platform-client-v2/api/GeolocationApi
17553
- * @version 137.1.0
17827
+ * @version 139.0.0
17554
17828
  */
17555
17829
 
17556
17830
  /**
@@ -17681,7 +17955,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
17681
17955
  /**
17682
17956
  * Greetings service.
17683
17957
  * @module purecloud-platform-client-v2/api/GreetingsApi
17684
- * @version 137.1.0
17958
+ * @version 139.0.0
17685
17959
  */
17686
17960
 
17687
17961
  /**
@@ -18136,7 +18410,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18136
18410
  /**
18137
18411
  * Groups service.
18138
18412
  * @module purecloud-platform-client-v2/api/GroupsApi
18139
- * @version 137.1.0
18413
+ * @version 139.0.0
18140
18414
  */
18141
18415
 
18142
18416
  /**
@@ -18541,7 +18815,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18541
18815
  /**
18542
18816
  * IdentityProvider service.
18543
18817
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
18544
- * @version 137.1.0
18818
+ * @version 139.0.0
18545
18819
  */
18546
18820
 
18547
18821
  /**
@@ -19297,7 +19571,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19297
19571
  /**
19298
19572
  * Integrations service.
19299
19573
  * @module purecloud-platform-client-v2/api/IntegrationsApi
19300
- * @version 137.1.0
19574
+ * @version 139.0.0
19301
19575
  */
19302
19576
 
19303
19577
  /**
@@ -20974,7 +21248,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20974
21248
  /**
20975
21249
  * Journey service.
20976
21250
  * @module purecloud-platform-client-v2/api/JourneyApi
20977
- * @version 137.1.0
21251
+ * @version 139.0.0
20978
21252
  */
20979
21253
 
20980
21254
  /**
@@ -21685,7 +21959,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21685
21959
  /**
21686
21960
  * Knowledge service.
21687
21961
  * @module purecloud-platform-client-v2/api/KnowledgeApi
21688
- * @version 137.1.0
21962
+ * @version 139.0.0
21689
21963
  */
21690
21964
 
21691
21965
  /**
@@ -21863,7 +22137,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21863
22137
  * @param {Object} opts Optional parameters
21864
22138
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
21865
22139
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
21866
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize, use CursorQueryParameters instead.
22140
+ * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
21867
22141
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
21868
22142
  * @param {String} opts.name Filter to return the categories that starts with the given category name.
21869
22143
  */
@@ -21971,7 +22245,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21971
22245
  * @param {Object} opts Optional parameters
21972
22246
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
21973
22247
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
21974
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize, use CursorQueryParameters instead.
22248
+ * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
21975
22249
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
21976
22250
  * @param {String} opts.categories Filter by categories ids, comma separated values expected.
21977
22251
  * @param {String} opts.title Filter by document title.
@@ -22083,7 +22357,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22083
22357
  * @param {Object} opts Optional parameters
22084
22358
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
22085
22359
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
22086
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize, use CursorQueryParameters instead.
22360
+ * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
22087
22361
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
22088
22362
  * @param {Object} opts.knowledgeDocumentsState Return the training with the specified state of the trained documents.
22089
22363
  */
@@ -22119,7 +22393,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22119
22393
  * @param {Object} opts Optional parameters
22120
22394
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
22121
22395
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
22122
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize, use CursorQueryParameters instead.
22396
+ * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
22123
22397
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
22124
22398
  * @param {String} opts.name Filter by Name.
22125
22399
  * @param {Object} opts.coreLanguage Filter by core language.
@@ -22585,7 +22859,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22585
22859
  /**
22586
22860
  * LanguageUnderstanding service.
22587
22861
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
22588
- * @version 137.1.0
22862
+ * @version 139.0.0
22589
22863
  */
22590
22864
 
22591
22865
  /**
@@ -23489,7 +23763,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23489
23763
  /**
23490
23764
  * Languages service.
23491
23765
  * @module purecloud-platform-client-v2/api/LanguagesApi
23492
- * @version 137.1.0
23766
+ * @version 139.0.0
23493
23767
  */
23494
23768
 
23495
23769
  /**
@@ -23757,7 +24031,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
23757
24031
  /**
23758
24032
  * Learning service.
23759
24033
  * @module purecloud-platform-client-v2/api/LearningApi
23760
- * @version 137.1.0
24034
+ * @version 139.0.0
23761
24035
  */
23762
24036
 
23763
24037
  /**
@@ -24348,7 +24622,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24348
24622
  /**
24349
24623
  * License service.
24350
24624
  * @module purecloud-platform-client-v2/api/LicenseApi
24351
- * @version 137.1.0
24625
+ * @version 139.0.0
24352
24626
  */
24353
24627
 
24354
24628
  /**
@@ -24586,7 +24860,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24586
24860
  /**
24587
24861
  * Locations service.
24588
24862
  * @module purecloud-platform-client-v2/api/LocationsApi
24589
- * @version 137.1.0
24863
+ * @version 139.0.0
24590
24864
  */
24591
24865
 
24592
24866
  /**
@@ -24822,7 +25096,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24822
25096
  /**
24823
25097
  * Messaging service.
24824
25098
  * @module purecloud-platform-client-v2/api/MessagingApi
24825
- * @version 137.1.0
25099
+ * @version 139.0.0
24826
25100
  */
24827
25101
 
24828
25102
  /**
@@ -24973,7 +25247,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24973
25247
  /**
24974
25248
  * MobileDevices service.
24975
25249
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
24976
- * @version 137.1.0
25250
+ * @version 139.0.0
24977
25251
  */
24978
25252
 
24979
25253
  /**
@@ -25124,7 +25398,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25124
25398
  /**
25125
25399
  * Notifications service.
25126
25400
  * @module purecloud-platform-client-v2/api/NotificationsApi
25127
- * @version 137.1.0
25401
+ * @version 139.0.0
25128
25402
  */
25129
25403
 
25130
25404
  /**
@@ -25349,7 +25623,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25349
25623
  /**
25350
25624
  * OAuth service.
25351
25625
  * @module purecloud-platform-client-v2/api/OAuthApi
25352
- * @version 137.1.0
25626
+ * @version 139.0.0
25353
25627
  */
25354
25628
 
25355
25629
  /**
@@ -25715,7 +25989,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25715
25989
  /**
25716
25990
  * Objects service.
25717
25991
  * @module purecloud-platform-client-v2/api/ObjectsApi
25718
- * @version 137.1.0
25992
+ * @version 139.0.0
25719
25993
  */
25720
25994
 
25721
25995
  /**
@@ -25986,7 +26260,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25986
26260
  /**
25987
26261
  * Organization service.
25988
26262
  * @module purecloud-platform-client-v2/api/OrganizationApi
25989
- * @version 137.1.0
26263
+ * @version 139.0.0
25990
26264
  */
25991
26265
 
25992
26266
  /**
@@ -26389,7 +26663,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26389
26663
  /**
26390
26664
  * OrganizationAuthorization service.
26391
26665
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
26392
- * @version 137.1.0
26666
+ * @version 139.0.0
26393
26667
  */
26394
26668
 
26395
26669
  /**
@@ -27314,7 +27588,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27314
27588
  /**
27315
27589
  * Outbound service.
27316
27590
  * @module purecloud-platform-client-v2/api/OutboundApi
27317
- * @version 137.1.0
27591
+ * @version 139.0.0
27318
27592
  */
27319
27593
 
27320
27594
  /**
@@ -30569,7 +30843,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30569
30843
  /**
30570
30844
  * Presence service.
30571
30845
  * @module purecloud-platform-client-v2/api/PresenceApi
30572
- * @version 137.1.0
30846
+ * @version 139.0.0
30573
30847
  */
30574
30848
 
30575
30849
  /**
@@ -30891,7 +31165,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
30891
31165
  /**
30892
31166
  * Quality service.
30893
31167
  * @module purecloud-platform-client-v2/api/QualityApi
30894
- * @version 137.1.0
31168
+ * @version 139.0.0
30895
31169
  */
30896
31170
 
30897
31171
  /**
@@ -32469,7 +32743,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
32469
32743
  /**
32470
32744
  * Recording service.
32471
32745
  * @module purecloud-platform-client-v2/api/RecordingApi
32472
- * @version 137.1.0
32746
+ * @version 139.0.0
32473
32747
  */
32474
32748
 
32475
32749
  /**
@@ -34122,7 +34396,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34122
34396
  /**
34123
34397
  * ResponseManagement service.
34124
34398
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
34125
- * @version 137.1.0
34399
+ * @version 139.0.0
34126
34400
  */
34127
34401
 
34128
34402
  /**
@@ -34606,7 +34880,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34606
34880
  /**
34607
34881
  * Routing service.
34608
34882
  * @module purecloud-platform-client-v2/api/RoutingApi
34609
- * @version 137.1.0
34883
+ * @version 139.0.0
34610
34884
  */
34611
34885
 
34612
34886
  /**
@@ -34919,12 +35193,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34919
35193
  * Delete a phone number provisioned for SMS.
34920
35194
  *
34921
35195
  * @param {String} addressId Address ID
34922
- * @param {Object} opts Optional parameters
34923
- * @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)
34924
35196
  */
34925
- deleteRoutingSmsPhonenumber(addressId, opts) {
34926
- opts = opts || {};
34927
-
35197
+ deleteRoutingSmsPhonenumber(addressId) {
34928
35198
  // verify the required parameter 'addressId' is set
34929
35199
  if (addressId === undefined || addressId === null) {
34930
35200
  throw 'Missing the required parameter "addressId" when calling deleteRoutingSmsPhonenumber';
@@ -34934,7 +35204,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
34934
35204
  '/api/v2/routing/sms/phonenumbers/{addressId}',
34935
35205
  'DELETE',
34936
35206
  { 'addressId': addressId },
34937
- { 'async': opts['async'] },
35207
+ { },
34938
35208
  { },
34939
35209
  { },
34940
35210
  null,
@@ -35105,7 +35375,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35105
35375
  * @param {Object} opts Optional parameters
35106
35376
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
35107
35377
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
35108
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize, use CursorQueryParameters instead.
35378
+ * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
35109
35379
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
35110
35380
  * @param {Array.<String>} opts.queueId Queue ID(s) to filter assessments by.
35111
35381
  */
@@ -35416,7 +35686,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35416
35686
  * @param {Object} opts Optional parameters
35417
35687
  * @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
35418
35688
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
35419
- * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize, use CursorQueryParameters instead.
35689
+ * @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
35420
35690
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
35421
35691
  * @param {Array.<String>} opts.queueId Comma-separated list of queue Ids to filter by.
35422
35692
  */
@@ -37088,12 +37358,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37088
37358
  * Provision a phone number for SMS
37089
37359
  *
37090
37360
  * @param {Object} body SmsPhoneNumber
37091
- * @param {Object} opts Optional parameters
37092
- * @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)
37093
37361
  */
37094
- postRoutingSmsPhonenumbers(body, opts) {
37095
- opts = opts || {};
37096
-
37362
+ postRoutingSmsPhonenumbers(body) {
37097
37363
  // verify the required parameter 'body' is set
37098
37364
  if (body === undefined || body === null) {
37099
37365
  throw 'Missing the required parameter "body" when calling postRoutingSmsPhonenumbers';
@@ -37103,7 +37369,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37103
37369
  '/api/v2/routing/sms/phonenumbers',
37104
37370
  'POST',
37105
37371
  { },
37106
- { 'async': opts['async'] },
37372
+ { },
37107
37373
  { },
37108
37374
  { },
37109
37375
  body,
@@ -37348,12 +37614,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37348
37614
  *
37349
37615
  * @param {String} addressId Address ID
37350
37616
  * @param {Object} body SmsPhoneNumber
37351
- * @param {Object} opts Optional parameters
37352
- * @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)
37353
37617
  */
37354
- putRoutingSmsPhonenumber(addressId, body, opts) {
37355
- opts = opts || {};
37356
-
37618
+ putRoutingSmsPhonenumber(addressId, body) {
37357
37619
  // verify the required parameter 'addressId' is set
37358
37620
  if (addressId === undefined || addressId === null) {
37359
37621
  throw 'Missing the required parameter "addressId" when calling putRoutingSmsPhonenumber';
@@ -37367,7 +37629,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37367
37629
  '/api/v2/routing/sms/phonenumbers/{addressId}',
37368
37630
  'PUT',
37369
37631
  { 'addressId': addressId },
37370
- { 'async': opts['async'] },
37632
+ { },
37371
37633
  { },
37372
37634
  { },
37373
37635
  body,
@@ -37533,7 +37795,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37533
37795
  /**
37534
37796
  * SCIM service.
37535
37797
  * @module purecloud-platform-client-v2/api/SCIMApi
37536
- * @version 137.1.0
37798
+ * @version 139.0.0
37537
37799
  */
37538
37800
 
37539
37801
  /**
@@ -38410,7 +38672,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38410
38672
  /**
38411
38673
  * Scripts service.
38412
38674
  * @module purecloud-platform-client-v2/api/ScriptsApi
38413
- * @version 137.1.0
38675
+ * @version 139.0.0
38414
38676
  */
38415
38677
 
38416
38678
  /**
@@ -38738,9 +39000,9 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38738
39000
  *
38739
39001
  * @param {String} scriptId Script ID
38740
39002
  * @param {Object} opts Optional parameters
38741
- * @param {String} opts.input input
38742
- * @param {String} opts.output output
38743
- * @param {String} opts.type type
39003
+ * @param {Object} opts.input input
39004
+ * @param {Object} opts.output output
39005
+ * @param {Object} opts.type type
38744
39006
  * @param {String} opts.scriptDataVersion Advanced usage - controls the data version of the script
38745
39007
  */
38746
39008
  getScriptsPublishedScriptIdVariables(scriptId, opts) {
@@ -38829,7 +39091,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38829
39091
  /**
38830
39092
  * Search service.
38831
39093
  * @module purecloud-platform-client-v2/api/SearchApi
38832
- * @version 137.1.0
39094
+ * @version 139.0.0
38833
39095
  */
38834
39096
 
38835
39097
  /**
@@ -39364,7 +39626,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39364
39626
  /**
39365
39627
  * SpeechTextAnalytics service.
39366
39628
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
39367
- * @version 137.1.0
39629
+ * @version 139.0.0
39368
39630
  */
39369
39631
 
39370
39632
  /**
@@ -40217,7 +40479,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40217
40479
  /**
40218
40480
  * Stations service.
40219
40481
  * @module purecloud-platform-client-v2/api/StationsApi
40220
- * @version 137.1.0
40482
+ * @version 139.0.0
40221
40483
  */
40222
40484
 
40223
40485
  /**
@@ -40364,7 +40626,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40364
40626
  /**
40365
40627
  * Suggest service.
40366
40628
  * @module purecloud-platform-client-v2/api/SuggestApi
40367
- * @version 137.1.0
40629
+ * @version 139.0.0
40368
40630
  */
40369
40631
 
40370
40632
  /**
@@ -40503,7 +40765,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40503
40765
  /**
40504
40766
  * Telephony service.
40505
40767
  * @module purecloud-platform-client-v2/api/TelephonyApi
40506
- * @version 137.1.0
40768
+ * @version 139.0.0
40507
40769
  */
40508
40770
 
40509
40771
  /**
@@ -40611,7 +40873,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40611
40873
  /**
40612
40874
  * TelephonyProvidersEdge service.
40613
40875
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
40614
- * @version 137.1.0
40876
+ * @version 139.0.0
40615
40877
  */
40616
40878
 
40617
40879
  /**
@@ -44244,7 +44506,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44244
44506
  /**
44245
44507
  * Textbots service.
44246
44508
  * @module purecloud-platform-client-v2/api/TextbotsApi
44247
- * @version 137.1.0
44509
+ * @version 139.0.0
44248
44510
  */
44249
44511
 
44250
44512
  /**
@@ -44372,7 +44634,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44372
44634
  /**
44373
44635
  * Tokens service.
44374
44636
  * @module purecloud-platform-client-v2/api/TokensApi
44375
- * @version 137.1.0
44637
+ * @version 139.0.0
44376
44638
  */
44377
44639
 
44378
44640
  /**
@@ -44478,7 +44740,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44478
44740
  /**
44479
44741
  * Uploads service.
44480
44742
  * @module purecloud-platform-client-v2/api/UploadsApi
44481
- * @version 137.1.0
44743
+ * @version 139.0.0
44482
44744
  */
44483
44745
 
44484
44746
  /**
@@ -44629,7 +44891,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44629
44891
  /**
44630
44892
  * Usage service.
44631
44893
  * @module purecloud-platform-client-v2/api/UsageApi
44632
- * @version 137.1.0
44894
+ * @version 139.0.0
44633
44895
  */
44634
44896
 
44635
44897
  /**
@@ -44700,7 +44962,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44700
44962
  /**
44701
44963
  * UserRecordings service.
44702
44964
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
44703
- * @version 137.1.0
44965
+ * @version 139.0.0
44704
44966
  */
44705
44967
 
44706
44968
  /**
@@ -44884,7 +45146,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
44884
45146
  /**
44885
45147
  * Users service.
44886
45148
  * @module purecloud-platform-client-v2/api/UsersApi
44887
- * @version 137.1.0
45149
+ * @version 139.0.0
44888
45150
  */
44889
45151
 
44890
45152
  /**
@@ -47186,7 +47448,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47186
47448
  /**
47187
47449
  * Utilities service.
47188
47450
  * @module purecloud-platform-client-v2/api/UtilitiesApi
47189
- * @version 137.1.0
47451
+ * @version 139.0.0
47190
47452
  */
47191
47453
 
47192
47454
  /**
@@ -47297,7 +47559,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47297
47559
  /**
47298
47560
  * Voicemail service.
47299
47561
  * @module purecloud-platform-client-v2/api/VoicemailApi
47300
- * @version 137.1.0
47562
+ * @version 139.0.0
47301
47563
  */
47302
47564
 
47303
47565
  /**
@@ -47964,7 +48226,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47964
48226
  /**
47965
48227
  * WebChat service.
47966
48228
  * @module purecloud-platform-client-v2/api/WebChatApi
47967
- * @version 137.1.0
48229
+ * @version 139.0.0
47968
48230
  */
47969
48231
 
47970
48232
  /**
@@ -48508,7 +48770,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48508
48770
  /**
48509
48771
  * WebDeployments service.
48510
48772
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
48511
- * @version 137.1.0
48773
+ * @version 139.0.0
48512
48774
  */
48513
48775
 
48514
48776
  /**
@@ -48863,7 +49125,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48863
49125
  /**
48864
49126
  * WebMessaging service.
48865
49127
  * @module purecloud-platform-client-v2/api/WebMessagingApi
48866
- * @version 137.1.0
49128
+ * @version 139.0.0
48867
49129
  */
48868
49130
 
48869
49131
  /**
@@ -48909,7 +49171,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48909
49171
  /**
48910
49172
  * Widgets service.
48911
49173
  * @module purecloud-platform-client-v2/api/WidgetsApi
48912
- * @version 137.1.0
49174
+ * @version 139.0.0
48913
49175
  */
48914
49176
 
48915
49177
  /**
@@ -49055,7 +49317,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
49055
49317
  /**
49056
49318
  * WorkforceManagement service.
49057
49319
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
49058
- * @version 137.1.0
49320
+ * @version 139.0.0
49059
49321
  */
49060
49322
 
49061
49323
  /**
@@ -51814,8 +52076,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51814
52076
  *
51815
52077
  * @param {String} businessUnitId The ID of the business unit
51816
52078
  * @param {Object} opts Optional parameters
51817
- * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
51818
- * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
52079
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
52080
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
51819
52081
  * @param {Object} opts.body body
51820
52082
  */
51821
52083
  postWorkforcemanagementBusinessunitAgentschedulesSearch(businessUnitId, opts) {
@@ -51936,8 +52198,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51936
52198
  * @param {String} scheduleId The ID of the schedule
51937
52199
  * @param {Object} body body
51938
52200
  * @param {Object} opts Optional parameters
51939
- * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
51940
- * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
52201
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
52202
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
51941
52203
  */
51942
52204
  postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery(businessUnitId, weekId, scheduleId, body, opts) {
51943
52205
  opts = opts || {};
@@ -52523,8 +52785,8 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52523
52785
  *
52524
52786
  * @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
52525
52787
  * @param {Object} opts Optional parameters
52526
- * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
52527
- * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
52788
+ * @param {Boolean} opts.forceAsync Force the result of this operation to be sent asynchronously via notification. For testing/app development purposes
52789
+ * @param {Boolean} opts.forceDownloadService Force the result of this operation to be sent via download service. For testing/app development purposes
52528
52790
  * @param {Object} opts.body body
52529
52791
  */
52530
52792
  postWorkforcemanagementManagementunitAgentschedulesSearch(managementUnitId, opts) {
@@ -53306,7 +53568,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
53306
53568
  * </pre>
53307
53569
  * </p>
53308
53570
  * @module purecloud-platform-client-v2/index
53309
- * @version 137.1.0
53571
+ * @version 139.0.0
53310
53572
  */
53311
53573
  class platformClient {
53312
53574
  constructor() {