@wix/auto_sdk_forms_form-spam-submission-reports 1.0.24 → 1.0.26
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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +8 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +7 -1
- package/build/cjs/index.typings.js +8 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +6 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +7 -1
- package/build/es/index.typings.mjs +6 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +8 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +7 -1
- package/build/internal/cjs/index.typings.js +8 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +6 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +7 -1
- package/build/internal/es/index.typings.mjs +6 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +4 -4
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { FormSubmission, CheckForSpamResponse, FormSpamSubmissionReport, CreateFormSpamSubmissionReportValidationErrors, BulkDeleteFormSpamSubmissionReportOptions, BulkDeleteFormSpamSubmissionReportResponse, BulkDeleteFormSpamSubmissionReportByFilterResponse, ReportNotSpamSubmissionResponse, BulkReportNotSpamSubmissionOptions, BulkReportNotSpamSubmissionResponse, ReportReasonWithLiterals, ReportSpamSubmissionOptions, ReportSpamSubmissionResponse, BulkReportSpamSubmissionOptions, BulkReportSpamSubmissionResponse, CountFormSpamSubmissionReportsResponse, FormSpamSubmissionReportsQueryBuilder, FormSpamSubmissionReportQuery, typedQueryFormSpamSubmissionReportsByNamespace } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, ActionEvent, ApplicationError, BulkActionMetadata, BulkDeleteFormSpamSubmissionReportByFilterRequest, BulkDeleteFormSpamSubmissionReportRequest, BulkDeleteFormSpamSubmissionReportResult, BulkReportNotSpamSubmissionRequest, BulkReportNotSpamSubmissionResult, BulkReportSpamSubmissionRequest, BulkReportSpamSubmissionResult, CheckForSpamRequest, CommonQueryWithEntityContext, CountFormSpamSubmissionReportsRequest, CreateFormSpamSubmissionReportRequest, CreateFormSpamSubmissionReportResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteFormSpamSubmissionReportRequest, DeleteFormSpamSubmissionReportResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ErrorType, ErrorTypeWithLiterals, ExtendedFields, FormSpamSubmissionReportQuerySpec, FormSpamSubmissionReportValidationErrorsDetails, FormSpamSubmissionReportsCount, FormSpamSubmissionReportsQueryResult, FormSubmissionOrderDetails, GetFormSpamSubmissionReportRequest, GetFormSpamSubmissionReportResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, OrderDetails, PublicTags, QueryFormSpamSubmissionReportsByNamespaceRequest, QueryFormSpamSubmissionReportsByNamespaceResponse, ReportNotSpamSubmissionRequest, ReportReason, ReportSpamSubmissionRequest, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, SpamReport, SubmissionStatus, SubmissionStatusWithLiterals, Submitter, SubmitterSubmitterOneOf, TagList, ValidationError, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, ActionEvent, ApplicationError, BulkActionMetadata, BulkDeleteFormSpamSubmissionReportByFilterRequest, BulkDeleteFormSpamSubmissionReportRequest, BulkDeleteFormSpamSubmissionReportResult, BulkReportNotSpamSubmissionRequest, BulkReportNotSpamSubmissionResult, BulkReportSpamSubmissionRequest, BulkReportSpamSubmissionResult, CheckForSpamRequest, CommonQueryWithEntityContext, CountFormSpamSubmissionReportsRequest, CreateFormSpamSubmissionReportRequest, CreateFormSpamSubmissionReportResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteFormSpamSubmissionReportRequest, DeleteFormSpamSubmissionReportResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ErrorType, ErrorTypeWithLiterals, ExtendedFields, FormSpamSubmissionReportQuerySpec, FormSpamSubmissionReportValidationErrorsDetails, FormSpamSubmissionReportsCount, FormSpamSubmissionReportsQueryResult, FormSubmissionOrderDetails, GetFormSpamSubmissionReportRequest, GetFormSpamSubmissionReportResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, OrderDetails, PublicTags, QueryFormSpamSubmissionReportsByNamespaceRequest, QueryFormSpamSubmissionReportsByNamespaceResponse, ReportNotSpamSubmissionRequest, ReportReason, ReportSpamSubmissionRequest, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, SpamReport, SubmissionStatus, SubmissionStatusWithLiterals, Submitter, SubmitterSubmitterOneOf, TagList, ValidationError, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function checkForSpam$1(httpClient: HttpClient): CheckForSpamSignature;
|
|
6
6
|
interface CheckForSpamSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -36,7 +36,8 @@ __export(index_exports, {
|
|
|
36
36
|
getFormSpamSubmissionReport: () => getFormSpamSubmissionReport4,
|
|
37
37
|
queryFormSpamSubmissionReportsByNamespace: () => queryFormSpamSubmissionReportsByNamespace4,
|
|
38
38
|
reportNotSpamSubmission: () => reportNotSpamSubmission4,
|
|
39
|
-
reportSpamSubmission: () => reportSpamSubmission4
|
|
39
|
+
reportSpamSubmission: () => reportSpamSubmission4,
|
|
40
|
+
utils: () => utils
|
|
40
41
|
});
|
|
41
42
|
module.exports = __toCommonJS(index_exports);
|
|
42
43
|
|
|
@@ -454,6 +455,7 @@ function countFormSpamSubmissionReports(payload) {
|
|
|
454
455
|
|
|
455
456
|
// src/forms-v4-form-spam-submission-report-form-spam-submission-reports.universal.ts
|
|
456
457
|
var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
458
|
+
var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
|
|
457
459
|
var ReportReason = /* @__PURE__ */ ((ReportReason2) => {
|
|
458
460
|
ReportReason2["UNKNOWN_REASON"] = "UNKNOWN_REASON";
|
|
459
461
|
ReportReason2["EMAIL_QUOTA_REACHED"] = "EMAIL_QUOTA_REACHED";
|
|
@@ -882,6 +884,9 @@ async function typedQueryFormSpamSubmissionReportsByNamespace(query) {
|
|
|
882
884
|
throw transformedError;
|
|
883
885
|
}
|
|
884
886
|
}
|
|
887
|
+
var utils = {
|
|
888
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
889
|
+
};
|
|
885
890
|
async function countFormSpamSubmissionReports2(formIds, namespace) {
|
|
886
891
|
const { httpClient, sideEffects } = arguments[2];
|
|
887
892
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
@@ -1057,6 +1062,7 @@ var queryFormSpamSubmissionReportsByNamespace4 = /* @__PURE__ */ (0, import_rest
|
|
|
1057
1062
|
getFormSpamSubmissionReport,
|
|
1058
1063
|
queryFormSpamSubmissionReportsByNamespace,
|
|
1059
1064
|
reportNotSpamSubmission,
|
|
1060
|
-
reportSpamSubmission
|
|
1065
|
+
reportSpamSubmission,
|
|
1066
|
+
utils
|
|
1061
1067
|
});
|
|
1062
1068
|
//# sourceMappingURL=index.js.map
|