purecloud-platform-client-v2 233.0.0 → 235.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 (93) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +503 -1079
  3. package/dist/web-amd/purecloud-platform-client-v2.js +503 -1079
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +233 -409
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +233 -409
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +475 -382
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +45 -1
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -30
  22. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/CoachingApi.js +51 -1
  25. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +42 -8
  27. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/GamificationApi.js +46 -1
  37. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +61 -880
  46. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LearningApi.js +51 -1
  49. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/OutboundApi.js +26 -1
  61. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -107
  64. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/RoutingApi.js +156 -1
  67. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -31
  71. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +7 -3
  73. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +2 -2
  90. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +3 -2
  93. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LanguagesApi {
5
5
  /**
6
6
  * Languages service.
7
7
  * @module purecloud-platform-client-v2/api/LanguagesApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LearningApi {
5
5
  /**
6
6
  * Learning service.
7
7
  * @module purecloud-platform-client-v2/api/LearningApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -446,6 +446,31 @@ class LearningApi {
446
446
  );
447
447
  }
448
448
 
449
+ /**
450
+ * Retrieve the status of the job for the slots where a learning activity can be scheduled.
451
+ *
452
+ * @param {String} jobId The ID of the job
453
+ */
454
+ getLearningScheduleslotsJob(jobId) {
455
+ // verify the required parameter 'jobId' is set
456
+ if (jobId === undefined || jobId === null || jobId === '') {
457
+ throw 'Missing the required parameter "jobId" when calling getLearningScheduleslotsJob';
458
+ }
459
+
460
+ return this.apiClient.callApi(
461
+ '/api/v2/learning/scheduleslots/jobs/{jobId}',
462
+ 'GET',
463
+ { 'jobId': jobId },
464
+ { },
465
+ { },
466
+ { },
467
+ null,
468
+ ['PureCloud OAuth'],
469
+ ['application/json'],
470
+ ['application/json']
471
+ );
472
+ }
473
+
449
474
  /**
450
475
  * Get Learning SCORM Result
451
476
  *
@@ -889,6 +914,31 @@ class LearningApi {
889
914
  );
890
915
  }
891
916
 
917
+ /**
918
+ * Start job to retrieve slots where a learning activity can be scheduled.
919
+ *
920
+ * @param {Object} body The slots search request
921
+ */
922
+ postLearningScheduleslotsJobs(body) {
923
+ // verify the required parameter 'body' is set
924
+ if (body === undefined || body === null) {
925
+ throw 'Missing the required parameter "body" when calling postLearningScheduleslotsJobs';
926
+ }
927
+
928
+ return this.apiClient.callApi(
929
+ '/api/v2/learning/scheduleslots/jobs',
930
+ 'POST',
931
+ { },
932
+ { },
933
+ { },
934
+ { },
935
+ body,
936
+ ['PureCloud OAuth'],
937
+ ['application/json'],
938
+ ['application/json']
939
+ );
940
+ }
941
+
892
942
  /**
893
943
  * Get list of possible slots where a learning activity can be scheduled.
894
944
  *
@@ -5,7 +5,7 @@ class LicenseApi {
5
5
  /**
6
6
  * License service.
7
7
  * @module purecloud-platform-client-v2/api/LicenseApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LocationsApi {
5
5
  /**
6
6
  * Locations service.
7
7
  * @module purecloud-platform-client-v2/api/LocationsApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LogCaptureApi {
5
5
  /**
6
6
  * LogCapture service.
7
7
  * @module purecloud-platform-client-v2/api/LogCaptureApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class MessagingApi {
5
5
  /**
6
6
  * Messaging service.
7
7
  * @module purecloud-platform-client-v2/api/MessagingApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class MobileDevicesApi {
5
5
  /**
6
6
  * MobileDevices service.
7
7
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class NotificationsApi {
5
5
  /**
6
6
  * Notifications service.
7
7
  * @module purecloud-platform-client-v2/api/NotificationsApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OAuthApi {
5
5
  /**
6
6
  * OAuth service.
7
7
  * @module purecloud-platform-client-v2/api/OAuthApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ObjectsApi {
5
5
  /**
6
6
  * Objects service.
7
7
  * @module purecloud-platform-client-v2/api/ObjectsApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OperationalEventsApi {
5
5
  /**
6
6
  * OperationalEvents service.
7
7
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationApi {
5
5
  /**
6
6
  * Organization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationAuthorizationApi {
5
5
  /**
6
6
  * OrganizationAuthorization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OutboundApi {
5
5
  /**
6
6
  * Outbound service.
7
7
  * @module purecloud-platform-client-v2/api/OutboundApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -3223,6 +3223,31 @@ class OutboundApi {
3223
3223
  );
3224
3224
  }
3225
3225
 
3226
+ /**
3227
+ * Get performance data for a list of campaigns
3228
+ *
3229
+ * @param {Array.<String>} body Campaign IDs. Maximum of 50 IDs allowed.
3230
+ */
3231
+ postOutboundCampaignsPerformanceQuery(body) {
3232
+ // verify the required parameter 'body' is set
3233
+ if (body === undefined || body === null) {
3234
+ throw 'Missing the required parameter "body" when calling postOutboundCampaignsPerformanceQuery';
3235
+ }
3236
+
3237
+ return this.apiClient.callApi(
3238
+ '/api/v2/outbound/campaigns/performance/query',
3239
+ 'POST',
3240
+ { },
3241
+ { },
3242
+ { },
3243
+ { },
3244
+ body,
3245
+ ['PureCloud OAuth'],
3246
+ ['application/json'],
3247
+ ['application/json']
3248
+ );
3249
+ }
3250
+
3226
3251
  /**
3227
3252
  * Get progress for a list of campaigns
3228
3253
  *
@@ -5,7 +5,7 @@ class PresenceApi {
5
5
  /**
6
6
  * Presence service.
7
7
  * @module purecloud-platform-client-v2/api/PresenceApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ProcessAutomationApi {
5
5
  /**
6
6
  * ProcessAutomation service.
7
7
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class QualityApi {
5
5
  /**
6
6
  * Quality service.
7
7
  * @module purecloud-platform-client-v2/api/QualityApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1069,59 +1069,6 @@ class QualityApi {
1069
1069
  );
1070
1070
  }
1071
1071
 
1072
- /**
1073
- * Get the most recent published version of an evaluation form across any division.
1074
- *
1075
- * @param {String} evaluationFormId Evaluation Form ID
1076
- * getQualityPublishedformsEvaluationsDivisionview is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1077
- */
1078
- getQualityPublishedformsEvaluationsDivisionview(evaluationFormId) {
1079
- // verify the required parameter 'evaluationFormId' is set
1080
- if (evaluationFormId === undefined || evaluationFormId === null || evaluationFormId === '') {
1081
- throw 'Missing the required parameter "evaluationFormId" when calling getQualityPublishedformsEvaluationsDivisionview';
1082
- }
1083
-
1084
- return this.apiClient.callApi(
1085
- '/api/v2/quality/publishedforms/evaluations/divisionviews/{evaluationFormId}',
1086
- 'GET',
1087
- { 'evaluationFormId': evaluationFormId },
1088
- { },
1089
- { },
1090
- { },
1091
- null,
1092
- ['PureCloud OAuth'],
1093
- ['application/json'],
1094
- ['application/json']
1095
- );
1096
- }
1097
-
1098
- /**
1099
- * Get the published evaluation forms across any division.
1100
- *
1101
- * @param {Object} opts Optional parameters
1102
- * @param {Number} opts.pageSize Page size (default to 25)
1103
- * @param {Number} opts.pageNumber Page number (default to 1)
1104
- * @param {String} opts.name Name
1105
- * getQualityPublishedformsEvaluationsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1106
- */
1107
- getQualityPublishedformsEvaluationsDivisionviews(opts) {
1108
- opts = opts || {};
1109
-
1110
-
1111
- return this.apiClient.callApi(
1112
- '/api/v2/quality/publishedforms/evaluations/divisionviews',
1113
- 'GET',
1114
- { },
1115
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'] },
1116
- { },
1117
- { },
1118
- null,
1119
- ['PureCloud OAuth'],
1120
- ['application/json'],
1121
- ['application/json']
1122
- );
1123
- }
1124
-
1125
1072
  /**
1126
1073
  * Get the most recent published version of a survey form.
1127
1074
  *
@@ -1174,59 +1121,6 @@ class QualityApi {
1174
1121
  );
1175
1122
  }
1176
1123
 
1177
- /**
1178
- * Get the most recent published version of an enabled survey form across any division.
1179
- *
1180
- * @param {String} surveyFormId Survey Form ID
1181
- * getQualityPublishedformsSurveysDivisionview is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1182
- */
1183
- getQualityPublishedformsSurveysDivisionview(surveyFormId) {
1184
- // verify the required parameter 'surveyFormId' is set
1185
- if (surveyFormId === undefined || surveyFormId === null || surveyFormId === '') {
1186
- throw 'Missing the required parameter "surveyFormId" when calling getQualityPublishedformsSurveysDivisionview';
1187
- }
1188
-
1189
- return this.apiClient.callApi(
1190
- '/api/v2/quality/publishedforms/surveys/divisionviews/{surveyFormId}',
1191
- 'GET',
1192
- { 'surveyFormId': surveyFormId },
1193
- { },
1194
- { },
1195
- { },
1196
- null,
1197
- ['PureCloud OAuth'],
1198
- ['application/json'],
1199
- ['application/json']
1200
- );
1201
- }
1202
-
1203
- /**
1204
- * Get the published and enabled survey forms across any division.
1205
- *
1206
- * @param {Object} opts Optional parameters
1207
- * @param {Number} opts.pageSize Page size (default to 25)
1208
- * @param {Number} opts.pageNumber Page number (default to 1)
1209
- * @param {String} opts.name Name
1210
- * getQualityPublishedformsSurveysDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1211
- */
1212
- getQualityPublishedformsSurveysDivisionviews(opts) {
1213
- opts = opts || {};
1214
-
1215
-
1216
- return this.apiClient.callApi(
1217
- '/api/v2/quality/publishedforms/surveys/divisionviews',
1218
- 'GET',
1219
- { },
1220
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'] },
1221
- { },
1222
- { },
1223
- null,
1224
- ['PureCloud OAuth'],
1225
- ['application/json'],
1226
- ['application/json']
1227
- );
1228
- }
1229
-
1230
1124
  /**
1231
1125
  * Get a survey for a conversation
1232
1126
  *
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ResponseManagementApi {
5
5
  /**
6
6
  * ResponseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class RoutingApi {
5
5
  /**
6
6
  * Routing service.
7
7
  * @module purecloud-platform-client-v2/api/RoutingApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -820,6 +820,56 @@ class RoutingApi {
820
820
  );
821
821
  }
822
822
 
823
+ /**
824
+ * Get domain dkim settings
825
+ *
826
+ * @param {String} domainId domain ID
827
+ */
828
+ getRoutingEmailDomainDkim(domainId) {
829
+ // verify the required parameter 'domainId' is set
830
+ if (domainId === undefined || domainId === null || domainId === '') {
831
+ throw 'Missing the required parameter "domainId" when calling getRoutingEmailDomainDkim';
832
+ }
833
+
834
+ return this.apiClient.callApi(
835
+ '/api/v2/routing/email/domains/{domainId}/dkim',
836
+ 'GET',
837
+ { 'domainId': domainId },
838
+ { },
839
+ { },
840
+ { },
841
+ null,
842
+ ['PureCloud OAuth'],
843
+ ['application/json'],
844
+ ['application/json']
845
+ );
846
+ }
847
+
848
+ /**
849
+ * Get domain mail from settings
850
+ *
851
+ * @param {String} domainId domain ID
852
+ */
853
+ getRoutingEmailDomainMailfrom(domainId) {
854
+ // verify the required parameter 'domainId' is set
855
+ if (domainId === undefined || domainId === null || domainId === '') {
856
+ throw 'Missing the required parameter "domainId" when calling getRoutingEmailDomainMailfrom';
857
+ }
858
+
859
+ return this.apiClient.callApi(
860
+ '/api/v2/routing/email/domains/{domainId}/mailfrom',
861
+ 'GET',
862
+ { 'domainId': domainId },
863
+ { },
864
+ { },
865
+ { },
866
+ null,
867
+ ['PureCloud OAuth'],
868
+ ['application/json'],
869
+ ['application/json']
870
+ );
871
+ }
872
+
823
873
  /**
824
874
  * Get a route
825
875
  *
@@ -916,6 +966,31 @@ class RoutingApi {
916
966
  );
917
967
  }
918
968
 
969
+ /**
970
+ * Get domain verification settings
971
+ *
972
+ * @param {String} domainId domain ID
973
+ */
974
+ getRoutingEmailDomainVerification(domainId) {
975
+ // verify the required parameter 'domainId' is set
976
+ if (domainId === undefined || domainId === null || domainId === '') {
977
+ throw 'Missing the required parameter "domainId" when calling getRoutingEmailDomainVerification';
978
+ }
979
+
980
+ return this.apiClient.callApi(
981
+ '/api/v2/routing/email/domains/{domainId}/verification',
982
+ 'GET',
983
+ { 'domainId': domainId },
984
+ { },
985
+ { },
986
+ { },
987
+ null,
988
+ ['PureCloud OAuth'],
989
+ ['application/json'],
990
+ ['application/json']
991
+ );
992
+ }
993
+
919
994
  /**
920
995
  * Get domains
921
996
  *
@@ -3204,6 +3279,61 @@ class RoutingApi {
3204
3279
  );
3205
3280
  }
3206
3281
 
3282
+ /**
3283
+ * Restart domain dkim
3284
+ *
3285
+ * @param {String} domainId domain ID
3286
+ */
3287
+ postRoutingEmailDomainDkim(domainId) {
3288
+ // verify the required parameter 'domainId' is set
3289
+ if (domainId === undefined || domainId === null || domainId === '') {
3290
+ throw 'Missing the required parameter "domainId" when calling postRoutingEmailDomainDkim';
3291
+ }
3292
+
3293
+ return this.apiClient.callApi(
3294
+ '/api/v2/routing/email/domains/{domainId}/dkim',
3295
+ 'POST',
3296
+ { 'domainId': domainId },
3297
+ { },
3298
+ { },
3299
+ { },
3300
+ null,
3301
+ ['PureCloud OAuth'],
3302
+ ['application/json'],
3303
+ ['application/json']
3304
+ );
3305
+ }
3306
+
3307
+ /**
3308
+ * Set domain mail from settings
3309
+ *
3310
+ * @param {String} domainId domain ID
3311
+ * @param {Object} body Mail From Settings
3312
+ */
3313
+ postRoutingEmailDomainMailfrom(domainId, body) {
3314
+ // verify the required parameter 'domainId' is set
3315
+ if (domainId === undefined || domainId === null || domainId === '') {
3316
+ throw 'Missing the required parameter "domainId" when calling postRoutingEmailDomainMailfrom';
3317
+ }
3318
+ // verify the required parameter 'body' is set
3319
+ if (body === undefined || body === null) {
3320
+ throw 'Missing the required parameter "body" when calling postRoutingEmailDomainMailfrom';
3321
+ }
3322
+
3323
+ return this.apiClient.callApi(
3324
+ '/api/v2/routing/email/domains/{domainId}/mailfrom',
3325
+ 'POST',
3326
+ { 'domainId': domainId },
3327
+ { },
3328
+ { },
3329
+ { },
3330
+ body,
3331
+ ['PureCloud OAuth'],
3332
+ ['application/json'],
3333
+ ['application/json']
3334
+ );
3335
+ }
3336
+
3207
3337
  /**
3208
3338
  * Create a route
3209
3339
  *
@@ -3263,6 +3393,31 @@ class RoutingApi {
3263
3393
  );
3264
3394
  }
3265
3395
 
3396
+ /**
3397
+ * Restart domain verification
3398
+ *
3399
+ * @param {String} domainId domain ID
3400
+ */
3401
+ postRoutingEmailDomainVerification(domainId) {
3402
+ // verify the required parameter 'domainId' is set
3403
+ if (domainId === undefined || domainId === null || domainId === '') {
3404
+ throw 'Missing the required parameter "domainId" when calling postRoutingEmailDomainVerification';
3405
+ }
3406
+
3407
+ return this.apiClient.callApi(
3408
+ '/api/v2/routing/email/domains/{domainId}/verification',
3409
+ 'POST',
3410
+ { 'domainId': domainId },
3411
+ { },
3412
+ { },
3413
+ { },
3414
+ null,
3415
+ ['PureCloud OAuth'],
3416
+ ['application/json'],
3417
+ ['application/json']
3418
+ );
3419
+ }
3420
+
3266
3421
  /**
3267
3422
  * Create a domain
3268
3423
  *
@@ -5,7 +5,7 @@ class SCIMApi {
5
5
  /**
6
6
  * SCIM service.
7
7
  * @module purecloud-platform-client-v2/api/SCIMApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScreenRecordingApi {
5
5
  /**
6
6
  * ScreenRecording service.
7
7
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScriptsApi {
5
5
  /**
6
6
  * Scripts service.
7
7
  * @module purecloud-platform-client-v2/api/ScriptsApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SearchApi {
5
5
  /**
6
6
  * Search service.
7
7
  * @module purecloud-platform-client-v2/api/SearchApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -402,36 +402,6 @@ class SearchApi {
402
402
  );
403
403
  }
404
404
 
405
- /**
406
- * Search Documents
407
- *
408
- * @param {String} knowledgeBaseId Knowledge base ID
409
- * @param {Object} opts Optional parameters
410
- * @param {Object} opts.body
411
- * @deprecated
412
- */
413
- postKnowledgeKnowledgebaseSearch(knowledgeBaseId, opts) {
414
- opts = opts || {};
415
-
416
- // verify the required parameter 'knowledgeBaseId' is set
417
- if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
418
- throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseSearch';
419
- }
420
-
421
- return this.apiClient.callApi(
422
- '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/search',
423
- 'POST',
424
- { 'knowledgeBaseId': knowledgeBaseId },
425
- { },
426
- { },
427
- { },
428
- opts['body'],
429
- ['PureCloud OAuth'],
430
- ['application/json'],
431
- ['application/json']
432
- );
433
- }
434
-
435
405
  /**
436
406
  * Search locations
437
407
  *
@@ -5,7 +5,7 @@ class SettingsApi {
5
5
  /**
6
6
  * Settings service.
7
7
  * @module purecloud-platform-client-v2/api/SettingsApi
8
- * @version 233.0.0
8
+ * @version 235.0.0
9
9
  */
10
10
 
11
11
  /**