{"version":3,"sources":["../../src/forms-v4-form-spam-submission-report-form-spam-submission-reports.http.ts","../../src/forms-v4-form-spam-submission-report-form-spam-submission-reports.types.ts","../../src/forms-v4-form-spam-submission-report-form-spam-submission-reports.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nconst TRANSFORM_PATHS_0 = [\n  { path: 'submission.createdDate' },\n  { path: 'submission.updatedDate' },\n];\nconst TRANSFORM_PATHS_1 = [\n  { path: 'formSpamSubmissionReport.createdDate' },\n  { path: 'formSpamSubmissionReport.reportedDate' },\n  { path: 'formSpamSubmissionReport.updatedDate' },\n];\nconst TRANSFORM_PATHS_2 = [\n  { path: 'results.item.createdDate' },\n  { path: 'results.item.reportedDate' },\n  { path: 'results.item.updatedDate' },\n];\nconst TRANSFORM_PATHS_3 = [\n  { path: 'formSpamSubmissionReports.createdDate' },\n  { path: 'formSpamSubmissionReports.reportedDate' },\n  { path: 'formSpamSubmissionReports.updatedDate' },\n];\n\nfunction resolveWixFormsV4FormSpamSubmissionReportServiceUrl(\n  opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n  const domainToMappings = {\n    '*.dev.wix-code.com': [\n      {\n        srcPath: '/_api/form-spam-submission-report-service',\n        destPath: '',\n      },\n    ],\n    _: [\n      {\n        srcPath: '/_api/form-spam-submission-report-service',\n        destPath: '',\n      },\n    ],\n    'apps._base_domain_': [\n      {\n        srcPath: '/_api/form-spam-submission-report-service',\n        destPath: '',\n      },\n    ],\n    'editor._base_domain_': [\n      {\n        srcPath: '/_api/form-spam-submission-report-service',\n        destPath: '',\n      },\n    ],\n    'blocks._base_domain_': [\n      {\n        srcPath: '/_api/form-spam-submission-report-service',\n        destPath: '',\n      },\n    ],\n    'create.editorx': [\n      {\n        srcPath: '/_api/form-spam-submission-report-service',\n        destPath: '',\n      },\n    ],\n    'editor.wixapps.net': [\n      {\n        srcPath: '/_api/form-spam-submission-report-service',\n        destPath: '',\n      },\n    ],\n    'manage._base_domain_': [\n      {\n        srcPath: '/_api/form-spam-submission-report-service',\n        destPath: '',\n      },\n      {\n        srcPath: '/form-spam-submission-report-service',\n        destPath: '',\n      },\n    ],\n    'www._base_domain_': [\n      {\n        srcPath: '/_api/form-spam-submission-report-service',\n        destPath: '',\n      },\n    ],\n    'www.wixapis.com': [\n      {\n        srcPath: '/form-spam-submission-report-service',\n        destPath: '',\n      },\n    ],\n  };\n\n  return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_forms_form-spam-submission-reports';\n\n/**\n * Checks whether a submission is spam.\n *\n * Which checks run depends on the form's `spamFilterProtectionLevel` in the [Form Schemas API](https://dev.wix.com/docs/api-reference/crm/forms/form-schemas/introduction).\n *\n * This method returns the result only. It doesn't store a form spam submission report. To move a saved submission to spam, call [Report Spam Submission](https://dev.wix.com/docs/api-reference/crm/forms/spam-submissions/report-spam-submission). To store a spam submission that wasn't saved, call [Create Form Spam Submission Report](https://dev.wix.com/docs/api-reference/crm/forms/spam-submissions/create-form-spam-submission-report).\n *\n * Supported only for forms in the Wix Forms namespace, `wix.form_app.form`. Calls for forms in other namespaces fail with a permission error.\n */\nexport function checkForSpam(payload: object): RequestOptionsFactory<any> {\n  function __checkForSpam({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_0,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.forms.v4.form_spam_submission_report',\n      method: 'POST' as any,\n      methodFqn: 'wix.forms.v4.FormSpamSubmissionReportService.CheckForSpam',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFormsV4FormSpamSubmissionReportServiceUrl({\n        protoPath: '/v4/form-spam-submission-reports/check-for-spam',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n    };\n\n    return metadata;\n  }\n\n  return __checkForSpam;\n}\n\n/**\n * Creates a form spam submission report.\n *\n * Use this method to store a spam submission that wasn't saved as a regular submission. To move a saved submission to spam, call [Report Spam Submission](https://dev.wix.com/docs/api-reference/crm/forms/spam-submissions/report-spam-submission) instead. It creates the report and deletes the submission.\n *\n * The submitted values are validated against the form's fields. To upload files for the submission, call [Get Media Upload URL](https://dev.wix.com/docs/api-reference/crm/forms/form-submissions/get-media-upload-url) in the Form Submissions API.\n */\nexport function createFormSpamSubmissionReport(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __createFormSpamSubmissionReport({ host }: any) {\n    const serializedData = transformPaths(payload, [\n      {\n        transformFn: transformSDKTimestampToRESTTimestamp,\n        paths: TRANSFORM_PATHS_1,\n      },\n    ]);\n    const metadata = {\n      entityFqdn: 'wix.forms.v4.form_spam_submission_report',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.forms.v4.FormSpamSubmissionReportService.CreateFormSpamSubmissionReport',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFormsV4FormSpamSubmissionReportServiceUrl({\n        protoPath: '/v4/form-spam-submission-reports',\n        data: serializedData,\n        host,\n      }),\n      data: serializedData,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_1,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __createFormSpamSubmissionReport;\n}\n\n/** Retrieves a form spam submission report. */\nexport function getFormSpamSubmissionReport(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __getFormSpamSubmissionReport({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.forms.v4.form_spam_submission_report',\n      method: 'GET' as any,\n      methodFqn:\n        'wix.forms.v4.FormSpamSubmissionReportService.GetFormSpamSubmissionReport',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFormsV4FormSpamSubmissionReportServiceUrl({\n        protoPath:\n          '/v4/form-spam-submission-reports/{formSpamSubmissionReportId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_1,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __getFormSpamSubmissionReport;\n}\n\n/**\n * Permanently deletes a form spam submission report.\n *\n * The report's uploaded files are also deleted. To restore the submission instead, call [Report Not Spam Submission](https://dev.wix.com/docs/api-reference/crm/forms/spam-submissions/report-not-spam-submission).\n *\n * To delete multiple reports in a single API call, call [Bulk Delete Form Spam Submission Report](https://dev.wix.com/docs/api-reference/crm/forms/spam-submissions/bulk-delete-form-spam-submission-report).\n */\nexport function deleteFormSpamSubmissionReport(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __deleteFormSpamSubmissionReport({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.forms.v4.form_spam_submission_report',\n      method: 'DELETE' as any,\n      methodFqn:\n        'wix.forms.v4.FormSpamSubmissionReportService.DeleteFormSpamSubmissionReport',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFormsV4FormSpamSubmissionReportServiceUrl({\n        protoPath:\n          '/v4/form-spam-submission-reports/{formSpamSubmissionReportId}',\n        data: payload,\n        host,\n      }),\n      params: toURLSearchParams(payload),\n    };\n\n    return metadata;\n  }\n\n  return __deleteFormSpamSubmissionReport;\n}\n\n/**\n * Permanently deletes multiple form spam submission reports of a form.\n *\n * The reports' uploaded files are also deleted. Report IDs that don't exist or that belong to another form are skipped.\n *\n * To delete all reports that match a filter, call [Bulk Delete Form Spam Submission Report By Filter](https://dev.wix.com/docs/api-reference/crm/forms/spam-submissions/bulk-delete-form-spam-submission-report-by-filter).\n *\n * To delete a single report, call [Delete Form Spam Submission Report](https://dev.wix.com/docs/api-reference/crm/forms/spam-submissions/delete-form-spam-submission-report).\n */\nexport function bulkDeleteFormSpamSubmissionReport(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkDeleteFormSpamSubmissionReport({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.forms.v4.form_spam_submission_report',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.forms.v4.FormSpamSubmissionReportService.BulkDeleteFormSpamSubmissionReport',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFormsV4FormSpamSubmissionReportServiceUrl({\n        protoPath: '/v4/bulk/form-spam-submission-reports/delete',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkDeleteFormSpamSubmissionReport;\n}\n\n/**\n * Asynchronously deletes the form spam submission reports that match a filter.\n *\n * The filter must include `namespace` and `formId`. If no reports match the filter, the call fails with a `NOT_FOUND` error. The reports' uploaded files are also deleted.\n *\n * To check the status of the deletion, pass the returned `jobId` to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/get-async-job).\n *\n * To delete specific reports by ID, call [Bulk Delete Form Spam Submission Report](https://dev.wix.com/docs/api-reference/crm/forms/spam-submissions/bulk-delete-form-spam-submission-report).\n */\nexport function bulkDeleteFormSpamSubmissionReportByFilter(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkDeleteFormSpamSubmissionReportByFilter({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.forms.v4.form_spam_submission_report',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.forms.v4.FormSpamSubmissionReportService.BulkDeleteFormSpamSubmissionReportByFilter',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFormsV4FormSpamSubmissionReportServiceUrl({\n        protoPath: '/v4/bulk/form-spam-submission-reports/delete-by-filter',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkDeleteFormSpamSubmissionReportByFilter;\n}\n\n/**\n * Restores a spam submission as a regular submission.\n *\n * A new submission is created from the report's data, with a new submission ID, and the report is deleted shortly after. A submission that was `PENDING` when reported is restored as `CONFIRMED`. Any other status is kept. Submission automations run as they do for any new submission, and uploaded files are kept.\n *\n * Supported only for forms in the Wix Forms namespace, `wix.form_app.form`.\n *\n * To restore multiple submissions in a single API call, call [Bulk Report Not Spam Submission](https://dev.wix.com/docs/api-reference/crm/forms/spam-submissions/bulk-report-not-spam-submission).\n */\nexport function reportNotSpamSubmission(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __reportNotSpamSubmission({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.forms.v4.form_spam_submission_report',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.forms.v4.FormSpamSubmissionReportService.ReportNotSpamSubmission',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFormsV4FormSpamSubmissionReportServiceUrl({\n        protoPath:\n          '/v4/form-spam-submission-reports/{formSpamSubmissionReportId}/report-not-spam-submission',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_0,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __reportNotSpamSubmission;\n}\n\n/**\n * Restores multiple spam submissions of a form as regular submissions.\n *\n * For each report, a new submission is created from the report's data, with a new submission ID, and the report is deleted shortly after. A submission that was `PENDING` when reported is restored as `CONFIRMED`. Any other status is kept. Submission automations run as they do for any new submission.\n *\n * In the results, `itemMetadata.id` is the ID of the new submission. Report IDs that don't exist or that belong to another form are skipped.\n *\n * To restore a single submission, call [Report Not Spam Submission](https://dev.wix.com/docs/api-reference/crm/forms/spam-submissions/report-not-spam-submission).\n */\nexport function bulkReportNotSpamSubmission(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkReportNotSpamSubmission({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.forms.v4.form_spam_submission_report',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.forms.v4.FormSpamSubmissionReportService.BulkReportNotSpamSubmission',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFormsV4FormSpamSubmissionReportServiceUrl({\n        protoPath:\n          '/v4/bulk/form-spam-submission-reports/report-not-spam-submission',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __bulkReportNotSpamSubmission;\n}\n\n/**\n * Reports a submission as spam.\n *\n * A form spam submission report is created from the submission, and the submission is deleted shortly after.\n *\n * Supported only for forms in the Wix Forms namespace, `wix.form_app.form`.\n *\n * To store a spam submission that wasn't saved as a regular submission, call [Create Form Spam Submission Report](https://dev.wix.com/docs/api-reference/crm/forms/spam-submissions/create-form-spam-submission-report). To report multiple submissions in a single API call, call [Bulk Report Spam Submission](https://dev.wix.com/docs/api-reference/crm/forms/spam-submissions/bulk-report-spam-submission).\n */\nexport function reportSpamSubmission(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __reportSpamSubmission({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.forms.v4.form_spam_submission_report',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.forms.v4.FormSpamSubmissionReportService.ReportSpamSubmission',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFormsV4FormSpamSubmissionReportServiceUrl({\n        protoPath: '/v4/submissions/{submissionId}/report-spam-submission',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_1,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __reportSpamSubmission;\n}\n\n/**\n * Reports multiple submissions of a form as spam.\n *\n * For each submission, a form spam submission report is created, and the submission is deleted shortly after. Submission IDs that don't exist or that belong to another form are skipped.\n *\n * To report a single submission, call [Report Spam Submission](https://dev.wix.com/docs/api-reference/crm/forms/spam-submissions/report-spam-submission).\n */\nexport function bulkReportSpamSubmission(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __bulkReportSpamSubmission({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.forms.v4.form_spam_submission_report',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.forms.v4.FormSpamSubmissionReportService.BulkReportSpamSubmission',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFormsV4FormSpamSubmissionReportServiceUrl({\n        protoPath: '/v4/bulk/submissions/report-spam-submission',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_2,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __bulkReportSpamSubmission;\n}\n\n/**\n * Retrieves a list of up to 100 form spam submission reports, given the provided paging, filtering, and sorting.\n *\n * Query Form Spam Submission Reports By Namespace runs with these defaults, which you can override:\n *\n * - `createdDate` is sorted in `DESC` order\n * - `cursorPaging.limit` is `50`\n *\n * The filter must include `namespace`. To filter or sort by `createdDate`, `reportedDate`, or `reportReason`, also filter by `formId`.\n *\n * To learn about working with Query methods, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language), [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging), and [Field Projection](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-field-projection).\n */\nexport function queryFormSpamSubmissionReportsByNamespace(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __queryFormSpamSubmissionReportsByNamespace({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.forms.v4.form_spam_submission_report',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.forms.v4.FormSpamSubmissionReportService.QueryFormSpamSubmissionReportsByNamespace',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFormsV4FormSpamSubmissionReportServiceUrl({\n        protoPath: '/v4/form-spam-submission-reports/namespace/query',\n        data: payload,\n        host,\n      }),\n      data: payload,\n      transformResponse: (payload: any) =>\n        transformPaths(payload, [\n          {\n            transformFn: transformRESTTimestampToSDKTimestamp,\n            paths: TRANSFORM_PATHS_3,\n          },\n        ]),\n    };\n\n    return metadata;\n  }\n\n  return __queryFormSpamSubmissionReportsByNamespace;\n}\n\n/**\n * Counts the form spam submission reports of the specified forms.\n *\n * Forms with no reports aren't included in the response.\n */\nexport function countFormSpamSubmissionReports(\n  payload: object\n): RequestOptionsFactory<any> {\n  function __countFormSpamSubmissionReports({ host }: any) {\n    const metadata = {\n      entityFqdn: 'wix.forms.v4.form_spam_submission_report',\n      method: 'POST' as any,\n      methodFqn:\n        'wix.forms.v4.FormSpamSubmissionReportService.CountFormSpamSubmissionReports',\n      packageName: PACKAGE_NAME,\n      migrationOptions: {\n        optInTransformResponse: true,\n      },\n      url: resolveWixFormsV4FormSpamSubmissionReportServiceUrl({\n        protoPath: '/v4/form-spam-submission-reports/count',\n        data: payload,\n        host,\n      }),\n      data: payload,\n    };\n\n    return metadata;\n  }\n\n  return __countFormSpamSubmissionReports;\n}\n","/**\n * A form spam submission report stores a form submission that was flagged as spam, together with the reason it was flagged.\n *\n * Reports are deleted automatically after 30 days, unless the submission is restored as not spam.\n */\nexport interface FormSpamSubmissionReport {\n  /**\n   * Form spam submission report ID.\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * ID of the form the submission was made on.\n   * @format GUID\n   * @immutable\n   */\n  formId?: string;\n  /**\n   * Namespace of the app that the form belongs to. Copied from the form.\n   *\n   * Currently supports `wix.form_app.form`, the namespace of the Wix Forms app.\n   * @minLength 10\n   * @maxLength 50\n   * @readonly\n   */\n  namespace?: string;\n  /**\n   * Identity of the submitter: a member, visitor, app, or user.\n   * @immutable\n   */\n  submitter?: Submitter;\n  /**\n   * Submitted values. Each key is the `target` of a form field, and each value is what the submitter entered in that field.\n   *\n   * Validated against the form's fields when the report is created.\n   * @immutable\n   */\n  submissions?: Record<string, any>;\n  /**\n   * Reason the submission was flagged as spam.\n   * @immutable\n   */\n  reportReason?: ReportReasonWithLiterals;\n  /**\n   * Date and time the original submission was created.\n   *\n   * When you create a report for an existing submission, specify the submission's creation date to keep it. Can't be in the future.\n   *\n   * Default: Date and time the report is created\n   * @immutable\n   */\n  createdDate?: Date | null;\n  /**\n   * Date and time the submission was reported as spam.\n   * @readonly\n   */\n  reportedDate?: Date | null;\n  /**\n   * Date and time the form spam submission report was last updated.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /**\n   * Revision number, which increments by 1 each time the form spam submission report is updated.\n   *\n   * Ignored when creating a form spam submission report.\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * Custom field data for the form spam submission report object.\n   *\n   * [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must be configured in the app dashboard before they can be accessed with API calls.\n   */\n  extendedFields?: ExtendedFields;\n  /**\n   * Status of the submission when it was reported as spam.\n   *\n   * When the submission is restored as not spam, a `PENDING` status becomes `CONFIRMED`. Any other status is kept.\n   *\n   * Returned as `PENDING` when the status wasn't recorded.\n   */\n  submissionStatusAtReport?: SubmissionStatusWithLiterals;\n  /**\n   * Payment details of the submission.\n   *\n   * Available only for forms with payments.\n   */\n  orderDetails?: OrderDetails;\n  /**\n   * ID of the contact who submitted the form: the site member who submitted it, or the contact matched to the submitter.\n   * @format GUID\n   * @readonly\n   */\n  contactId?: string | null;\n  /**\n   * ID of the user who is authorized to view the original submission. Copied from the submission's `accessRestriction`.\n   *\n   * When set, reading the report requires the same additional access check as reading the submission.\n   * @format GUID\n   * @immutable\n   */\n  accessRestriction?: string | null;\n  /**\n   * Additional details about why the submission was flagged as spam. For example, the explanation returned by a spam moderation service plugin, or a note from the person who reported it.\n   * @minLength 1\n   * @maxLength 255\n   */\n  reportReasonDescription?: string | null;\n  /**\n   * ID of the site the submission was made on.\n   *\n   * Returned only when the site shares its data with a parent site. In that case, spam submission reports from all child sites are stored on the parent site, and this field identifies which site the report came from.\n   * @format GUID\n   * @readonly\n   */\n  childMetaSiteId?: string | null;\n}\n\nexport interface Submitter extends SubmitterSubmitterOneOf {\n  /**\n   * Member ID.\n   * @format GUID\n   */\n  memberId?: string | null;\n  /**\n   * Visitor ID.\n   * @format GUID\n   */\n  visitorId?: string | null;\n  /**\n   * Application ID.\n   * @maxLength 36\n   */\n  applicationId?: string | null;\n  /**\n   * User ID.\n   * @format GUID\n   */\n  userId?: string | null;\n}\n\n/** @oneof */\nexport interface SubmitterSubmitterOneOf {\n  /**\n   * Member ID.\n   * @format GUID\n   */\n  memberId?: string | null;\n  /**\n   * Visitor ID.\n   * @format GUID\n   */\n  visitorId?: string | null;\n  /**\n   * Application ID.\n   * @maxLength 36\n   */\n  applicationId?: string | null;\n  /**\n   * User ID.\n   * @format GUID\n   */\n  userId?: string | null;\n}\n\nexport enum ReportReason {\n  /** Too many submissions with the same email address in a short time. */\n  EMAIL_QUOTA_REACHED = 'EMAIL_QUOTA_REACHED',\n  /** The submitter's IP address is blocklisted. */\n  IP_BLOCKLISTED = 'IP_BLOCKLISTED',\n  /** An email address in the submission is blocklisted. */\n  EMAIL_BLOCKLISTED = 'EMAIL_BLOCKLISTED',\n  /** Flagged by an AI model that analyzes the submission text. Runs on forms with the `ADVANCED` spam protection level. */\n  AI_REPORTED = 'AI_REPORTED',\n  /** Reported as spam by a person, such as the site owner or a collaborator. */\n  MANUALLY_REPORTED = 'MANUALLY_REPORTED',\n  /** Flagged by a spam moderation service plugin installed on the site. */\n  MODERATION_SPI = 'MODERATION_SPI',\n  /** Flagged by a large language model (LLM) that analyzes the submission text. Runs on forms with the `ADVANCED` spam protection level, after all other checks found no spam. */\n  AI_REPORTED_LLM = 'AI_REPORTED_LLM',\n}\n\n/** @enumType */\nexport type ReportReasonWithLiterals =\n  | ReportReason\n  | 'EMAIL_QUOTA_REACHED'\n  | 'IP_BLOCKLISTED'\n  | 'EMAIL_BLOCKLISTED'\n  | 'AI_REPORTED'\n  | 'MANUALLY_REPORTED'\n  | 'MODERATION_SPI'\n  | 'AI_REPORTED_LLM';\n\nexport interface ExtendedFields {\n  /**\n   * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n   * The value of each key is structured according to the schema defined when the extended fields were configured.\n   *\n   * You can only access fields for which you have the appropriate permissions.\n   *\n   * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n   */\n  namespaces?: Record<string, Record<string, any>>;\n}\n\nexport enum SubmissionStatus {\n  /** A submission is created, but has not yet been recorded in the Wix Forms collection. */\n  PENDING = 'PENDING',\n  /** A submission is recorded in the Wix Forms collection. */\n  CONFIRMED = 'CONFIRMED',\n  /** A form submission requiring payment is created. */\n  PAYMENT_WAITING = 'PAYMENT_WAITING',\n  /** An order of a form submission is canceled. */\n  PAYMENT_CANCELED = 'PAYMENT_CANCELED',\n}\n\n/** @enumType */\nexport type SubmissionStatusWithLiterals =\n  | SubmissionStatus\n  | 'PENDING'\n  | 'CONFIRMED'\n  | 'PAYMENT_WAITING'\n  | 'PAYMENT_CANCELED';\n\nexport interface OrderDetails {\n  /**\n   * ID of the checkout created for the submission.\n   * @format GUID\n   * @readonly\n   */\n  checkoutId?: string;\n}\n\nexport interface CheckForSpamRequest {\n  /** Submission to check. */\n  submission: FormSubmission;\n}\n\n/** Form submission that was created or retrieved. */\nexport interface FormSubmission {\n  /**\n   * Submission ID.\n   * @format GUID\n   * @readonly\n   */\n  id?: string | null;\n  /**\n   * ID of the form which the submission belongs to.\n   * @format GUID\n   * @immutable\n   */\n  formId?: string;\n  /**\n   * The app which the form submissions belong to. A submission inherits the namespace from its form schema, so you can't set it directly.\n   *\n   * For example, a submission of a form visible in the Wix Forms app has the namespace `wix.form_app.form`, the namespace of the Wix Forms app, whose app ID is `225dd912-7dea-4738-8688-4b8c6955ffc2`.\n   *\n   * See a list of namespaces for [apps made by Wix](https://dev.wix.com/docs/api-reference/crm/forms/form-schemas/introduction#namespaces-of-apps-made-by-wix) section.\n   * To retrieve the ID for a Wix app, see [Apps Created By Wix](https://dev.wix.com/docs/rest/articles/get-started/apps-created-by-wix).\n   * @minLength 10\n   * @maxLength 50\n   * @readonly\n   */\n  namespace?: string;\n  /**\n   * Status of the submission.\n   *\n   * The status a submission is created with depends on the form's namespace and on whether the form collects payment, so read it from the response rather than assuming.\n   *\n   * A submission for a form that collects payment starts as `PAYMENT_WAITING`. Otherwise, most namespaces record the submission immediately as `CONFIRMED`. Namespaces that need to complete another step first, such as taking payment for a pricing plan, create the submission as `PENDING` and confirm it later with Confirm Submission.\n   *\n   * A `PENDING` submission isn't recorded yet, and is deleted automatically if it isn't confirmed in time.\n   */\n  status?: SubmissionStatusWithLiterals;\n  /**\n   * Values the visitor submitted.\n   *\n   * Each key is the `target` of a field in the form schema, which is the field's stable storage key rather than its ID or label. Only keys matching a field target are accepted.\n   *\n   * Each value's shape follows that field's `inputType`: `STRING` fields submit a string, `NUMBER` a number, `BOOLEAN` a boolean, and `ARRAY` an array of the selected option values. Date and time fields are strings. A choice field submits an option's `value`, not its ID or its label.\n   *\n   * 3 input types submit structured values: `ADDRESS` submits an address object, `PAYMENT` an array holding 1 product object per item bought, and `SCHEDULING` an appointment object.\n   *\n   * For the full mapping, see [About Submission Values](https://dev.wix.com/docs/api-reference/crm/forms/form-submissions/about-submission-values).\n   */\n  submissions?: Record<string, any>;\n  /**\n   * Date and time the form submission was created.\n   * @immutable\n   */\n  createdDate?: Date | null;\n  /**\n   * Date and time the form submission was updated.\n   * @readonly\n   */\n  updatedDate?: Date | null;\n  /**\n   * Revision number, which increments by 1 each time the form submission is updated. To prevent conflicting changes, the existing revision must be used when updating a form submission.\n   * @readonly\n   */\n  revision?: string | null;\n  /**\n   * ID of the visitor that submitted the form.\n   * @readonly\n   */\n  submitter?: Submitter;\n  /** Whether a site owner marked a submission as \"seen\". */\n  seen?: boolean;\n  /** Data extension object that holds users' and apps' fields. */\n  extendedFields?: ExtendedFields;\n  /**\n   * Order details. <br>\n   * <b>Note</b>: This object is only applicable when submitting a form in the Wix Payments app.\n   */\n  orderDetails?: FormSubmissionOrderDetails;\n  /**\n   * Contact ID of a site visitor who created the submission.\n   * @format GUID\n   * @readonly\n   * @immutable\n   */\n  contactId?: string | null;\n  /**\n   * Authorized viewer ID.\n   * @format GUID\n   * @immutable\n   */\n  accessRestriction?: string | null;\n  /** Tag IDs collections associated with the current entity. */\n  tags?: PublicTags;\n  /**\n   * Appointment details.\n   * This object is only applicable when submitting a form that creates a booking appointment.\n   */\n  appointmentDetails?: AppointmentDetails;\n  /**\n   * ID of the child site the submission was made on.\n   *\n   * Only present when the form was submitted on a site that shares its data with a parent site. In that case submissions from every child site are stored on the parent site, and this field identifies which child site the submission came from.\n   * @format GUID\n   * @readonly\n   */\n  childMetaSiteId?: string | null;\n}\n\nexport interface FormSubmissionOrderDetails {\n  /**\n   * ID of the order related to submission (only applicable if a form has payments).\n   * @format GUID\n   * @readonly\n   */\n  orderId?: string | null;\n  /**\n   * Order number.\n   * @readonly\n   */\n  number?: string | null;\n  /**\n   * Currency.\n   * @format CURRENCY\n   * @readonly\n   */\n  currency?: string | null;\n  /**\n   * Item subtotal.\n   * @decimalValue options { gte:0.00, maxScale:2 }\n   * @readonly\n   */\n  itemSubtotal?: string;\n  /**\n   * ID of the checkout related to submission (only applicable if a form has payments).\n   * @format GUID\n   * @readonly\n   */\n  checkoutId?: string;\n}\n\nexport interface PublicTags {\n  /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */\n  tags?: TagList;\n}\n\nexport interface TagList {\n  /**\n   * List of tag IDs\n   * @maxSize 100\n   * @maxLength 5\n   */\n  tagIds?: string[];\n}\n\nexport interface AppointmentDetails {\n  /**\n   * ID of the staff member assigned to the appointment.\n   * @format GUID\n   */\n  staffMemberId?: string | null;\n  /**\n   * Name of the staff member assigned to the appointment.\n   * @minLength 1\n   * @maxLength 40\n   */\n  staffMemberName?: string | null;\n}\n\nexport interface CheckForSpamResponse {\n  /** Whether the submission is spam. */\n  spam?: boolean;\n  /**\n   * Spam details.\n   *\n   * Returned only when `spam` is `true`.\n   */\n  spamReport?: SpamReport;\n}\n\nexport interface SpamReport {\n  /** Reason the submission was flagged as spam. */\n  reportReason?: ReportReasonWithLiterals;\n  /**\n   * Additional details about why the submission was flagged as spam.\n   *\n   * Returned only when the submission was flagged by a spam moderation service plugin.\n   * @minLength 1\n   * @maxLength 255\n   */\n  reportReasonDescription?: string | null;\n}\n\nexport interface CreateFormSpamSubmissionReportRequest {\n  /** Form spam submission report to create. */\n  formSpamSubmissionReport: FormSpamSubmissionReport;\n}\n\nexport interface CreateFormSpamSubmissionReportResponse {\n  /** Created form spam submission report. */\n  formSpamSubmissionReport?: FormSpamSubmissionReport;\n}\n\nexport interface FormSpamSubmissionReportValidationErrorsDetails {\n  /**\n   * Validation error for each invalid field.\n   * @maxSize 100\n   */\n  errors?: ValidationError[];\n}\n\nexport interface ValidationError {\n  /**\n   * Path to the value that failed validation, relative to the submission's values.\n   *\n   * For a top-level field this is the field's `target`, such as `email`. For a value nested inside a field, the path continues with `/`, such as `address/postal_code` for an address subfield, or `attachments/0/fileId` for an element of an array field.\n   * @maxLength 1000\n   */\n  errorPath?: string;\n  /**\n   * Error type.\n   *\n   * Switch on this rather than parsing `errorMessage`, which carries the underlying validator's wording and isn't a stable contract.\n   */\n  errorType?: ErrorTypeWithLiterals;\n  /**\n   * Human readable description of the error, in English.\n   *\n   * This comes from the schema validator and is meant for debugging. It isn't localized and its wording can change, so don't parse it or show it to submitters. Use `errorType` to decide what to display.\n   * @maxLength 1000\n   */\n  errorMessage?: string;\n  /** Additional error parameters, to help identify additional info. */\n  params?: Record<string, any> | null;\n  /**\n   * Whether to use a custom error message.\n   * If `false`, the API takes the message from the `errorType` field.\n   * Default: `false`\n   */\n  useCustomErrorMessage?: boolean;\n}\n\nexport enum ErrorType {\n  /** Error is unknown or not suitable for any of options bellow */\n  UNKNOWN_ERROR = 'UNKNOWN_ERROR',\n  /** Type of submitted value is incorrect */\n  TYPE_ERROR = 'TYPE_ERROR',\n  /** Value is required to be provided */\n  REQUIRED_VALUE_ERROR = 'REQUIRED_VALUE_ERROR',\n  /** Value contains additional properties not expected in schema */\n  UNKNOWN_VALUE_ERROR = 'UNKNOWN_VALUE_ERROR',\n  /** Text value exceeds max length */\n  MAX_LENGTH_ERROR = 'MAX_LENGTH_ERROR',\n  /** Text value not reaches min length */\n  MIN_LENGTH_ERROR = 'MIN_LENGTH_ERROR',\n  /** Text value not applicable for expected pattern */\n  PATTERN_ERROR = 'PATTERN_ERROR',\n  /** Text value not applicable for expected format */\n  FORMAT_ERROR = 'FORMAT_ERROR',\n  /** Number value is too big */\n  MAX_VALUE_ERROR = 'MAX_VALUE_ERROR',\n  /** Number value is too small */\n  MIN_VALUE_ERROR = 'MIN_VALUE_ERROR',\n  /** Number value is not multiple of expected number */\n  MULTIPLE_OF_VALUE_ERROR = 'MULTIPLE_OF_VALUE_ERROR',\n  /** Array value has too much items */\n  MIN_ITEMS_ERROR = 'MIN_ITEMS_ERROR',\n  /** Array value has not enough items */\n  MAX_ITEMS_ERROR = 'MAX_ITEMS_ERROR',\n  /** Value is not in list of allowed values */\n  NOT_ALLOWED_VALUE_ERROR = 'NOT_ALLOWED_VALUE_ERROR',\n  /** Form fields are incompatible */\n  FIELDS_COMPATIBILITY_ERROR = 'FIELDS_COMPATIBILITY_ERROR',\n  /** Submitted form is disabled */\n  DISABLED_FORM_ERROR = 'DISABLED_FORM_ERROR',\n  /** Too much forms */\n  FORMS_COUNT_RESTRICTIONS_ERROR = 'FORMS_COUNT_RESTRICTIONS_ERROR',\n  /** Too much fields on form */\n  FIELDS_COUNT_RESTRICTIONS_ERROR = 'FIELDS_COUNT_RESTRICTIONS_ERROR',\n  /** Too much steps on forms */\n  STEPS_COUNT_RESTRICTIONS_ERROR = 'STEPS_COUNT_RESTRICTIONS_ERROR',\n  /** Too much rules on forms */\n  RULES_COUNT_RESTRICTIONS_ERROR = 'RULES_COUNT_RESTRICTIONS_ERROR',\n  /** File upload is not allowed */\n  FILE_UPLOAD_RESTRICTIONS_ERROR = 'FILE_UPLOAD_RESTRICTIONS_ERROR',\n  /** Country code is not correct or missing from the phone number */\n  INVALID_PHONE_COUNTRY_CODE_ERROR = 'INVALID_PHONE_COUNTRY_CODE_ERROR',\n  /** Invalid staff member ID on appointment */\n  INVALID_STAFF_ID_ERROR = 'INVALID_STAFF_ID_ERROR',\n  /** Invalid business location ID on appointment */\n  INVALID_LOCATION_ID_ERROR = 'INVALID_LOCATION_ID_ERROR',\n  /** Missing service option on service picker field */\n  MISSING_SERVICE_OPTION_ERROR = 'MISSING_SERVICE_OPTION_ERROR',\n  /** Some of the service options on service picker field are deleted or unavailable */\n  INVALID_SERVICE_OPTIONS_ERROR = 'INVALID_SERVICE_OPTIONS_ERROR',\n  /** All of the service options on service picker field are deleted or unavailable */\n  NO_AVAILABLE_SERVICE_OPTIONS_ERROR = 'NO_AVAILABLE_SERVICE_OPTIONS_ERROR',\n  /** Text value does not match the exact required length */\n  EXACT_CHARACTER_LENGTH_ERROR = 'EXACT_CHARACTER_LENGTH_ERROR',\n  /** Character count is not within the required range */\n  CHARACTER_LENGTH_RANGE_ERROR = 'CHARACTER_LENGTH_RANGE_ERROR',\n  /** Number is not within the required range */\n  VALUE_RANGE_ERROR = 'VALUE_RANGE_ERROR',\n  /** Field not have the exact number of options selected */\n  EXACT_ITEMS_NUMBER_ERROR = 'EXACT_ITEMS_NUMBER_ERROR',\n  /** Number has incorrect number of decimal places */\n  DECIMAL_POINT_ERROR = 'DECIMAL_POINT_ERROR',\n  /** Date value is incomplete or missing required parts */\n  INCOMPLETE_DATE_ERROR = 'INCOMPLETE_DATE_ERROR',\n  /** Value does not match the required pattern format */\n  INVALID_VALUE_FOR_PATTERN_ERROR = 'INVALID_VALUE_FOR_PATTERN_ERROR',\n  /** Default value does not pass form field validation */\n  INVALID_DEFAULT_VALUE_ERROR = 'INVALID_DEFAULT_VALUE_ERROR',\n  /** No resource on the site is connected to a video conferencing provider, so the appointment's online meeting format can't be offered */\n  NO_CONNECTED_CONFERENCING_RESOURCE_ERROR = 'NO_CONNECTED_CONFERENCING_RESOURCE_ERROR',\n}\n\n/** @enumType */\nexport type ErrorTypeWithLiterals =\n  | ErrorType\n  | 'UNKNOWN_ERROR'\n  | 'TYPE_ERROR'\n  | 'REQUIRED_VALUE_ERROR'\n  | 'UNKNOWN_VALUE_ERROR'\n  | 'MAX_LENGTH_ERROR'\n  | 'MIN_LENGTH_ERROR'\n  | 'PATTERN_ERROR'\n  | 'FORMAT_ERROR'\n  | 'MAX_VALUE_ERROR'\n  | 'MIN_VALUE_ERROR'\n  | 'MULTIPLE_OF_VALUE_ERROR'\n  | 'MIN_ITEMS_ERROR'\n  | 'MAX_ITEMS_ERROR'\n  | 'NOT_ALLOWED_VALUE_ERROR'\n  | 'FIELDS_COMPATIBILITY_ERROR'\n  | 'DISABLED_FORM_ERROR'\n  | 'FORMS_COUNT_RESTRICTIONS_ERROR'\n  | 'FIELDS_COUNT_RESTRICTIONS_ERROR'\n  | 'STEPS_COUNT_RESTRICTIONS_ERROR'\n  | 'RULES_COUNT_RESTRICTIONS_ERROR'\n  | 'FILE_UPLOAD_RESTRICTIONS_ERROR'\n  | 'INVALID_PHONE_COUNTRY_CODE_ERROR'\n  | 'INVALID_STAFF_ID_ERROR'\n  | 'INVALID_LOCATION_ID_ERROR'\n  | 'MISSING_SERVICE_OPTION_ERROR'\n  | 'INVALID_SERVICE_OPTIONS_ERROR'\n  | 'NO_AVAILABLE_SERVICE_OPTIONS_ERROR'\n  | 'EXACT_CHARACTER_LENGTH_ERROR'\n  | 'CHARACTER_LENGTH_RANGE_ERROR'\n  | 'VALUE_RANGE_ERROR'\n  | 'EXACT_ITEMS_NUMBER_ERROR'\n  | 'DECIMAL_POINT_ERROR'\n  | 'INCOMPLETE_DATE_ERROR'\n  | 'INVALID_VALUE_FOR_PATTERN_ERROR'\n  | 'INVALID_DEFAULT_VALUE_ERROR'\n  | 'NO_CONNECTED_CONFERENCING_RESOURCE_ERROR';\n\nexport interface GetFormSpamSubmissionReportRequest {\n  /**\n   * ID of the form spam submission report to retrieve.\n   * @format GUID\n   */\n  formSpamSubmissionReportId: string;\n}\n\nexport interface GetFormSpamSubmissionReportResponse {\n  /** Retrieved form spam submission report. */\n  formSpamSubmissionReport?: FormSpamSubmissionReport;\n}\n\nexport interface DeleteFormSpamSubmissionReportRequest {\n  /**\n   * ID of the form spam submission report to delete.\n   * @format GUID\n   */\n  formSpamSubmissionReportId: string;\n}\n\nexport interface DeleteFormSpamSubmissionReportResponse {}\n\nexport interface BulkDeleteFormSpamSubmissionReportRequest {\n  /**\n   * ID of the form that the reports belong to.\n   * @format GUID\n   */\n  formId: string;\n  /**\n   * IDs of the form spam submission reports to delete.\n   * @maxSize 100\n   * @format GUID\n   */\n  formSpamSubmissionReportIds?: string[];\n}\n\nexport interface BulkDeleteFormSpamSubmissionReportResponse {\n  /**\n   * Result for each form spam submission report.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkDeleteFormSpamSubmissionReportResult[];\n  /** Metadata about the bulk action, such as the number of successes and failures. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkDeleteFormSpamSubmissionReportResult {\n  /** Metadata about the deleted report, such as whether the deletion succeeded. */\n  itemMetadata?: ItemMetadata;\n}\n\nexport interface ItemMetadata {\n  /**\n   * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\n   * @format GUID\n   */\n  id?: string | null;\n  /** Index of the item within the request array. Allows for correlation between request and response items. */\n  originalIndex?: number;\n  /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n  success?: boolean;\n  /** Details about the error in case of failure. */\n  error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n  /** Error code. */\n  code?: string;\n  /** Description of the error. */\n  description?: string;\n  /** Data related to the error. */\n  data?: Record<string, any> | null;\n}\n\nexport interface BulkActionMetadata {\n  /** Number of items that were successfully processed. */\n  totalSuccesses?: number;\n  /** Number of items that couldn't be processed. */\n  totalFailures?: number;\n  /** Number of failures without details because detailed failure threshold was exceeded. */\n  undetailedFailures?: number;\n}\n\nexport interface BulkDeleteFormSpamSubmissionReportByFilterRequest {\n  /**\n   * Filter object. See [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language) for more information.\n   *\n   * Must include `namespace` and `formId`.\n   */\n  filter: Record<string, any> | null;\n}\n\nexport interface BulkDeleteFormSpamSubmissionReportByFilterResponse {\n  /**\n   * Job ID. Pass this ID to [Get Async Job](https://dev.wix.com/docs/api-reference/business-management/async-job/get-async-job) to retrieve the status of the asynchronous operation.\n   * @format GUID\n   */\n  jobId?: string;\n}\n\nexport interface ReportNotSpamSubmissionRequest {\n  /**\n   * ID of the form spam submission report to restore.\n   * @format GUID\n   */\n  formSpamSubmissionReportId: string;\n}\n\nexport interface ReportNotSpamSubmissionResponse {\n  /** Submission created from the report. */\n  submission?: FormSubmission;\n}\n\nexport interface BulkReportNotSpamSubmissionRequest {\n  /**\n   * ID of the form that the reports belong to.\n   * @format GUID\n   */\n  formId: string;\n  /**\n   * IDs of the form spam submission reports to restore.\n   * @minSize 1\n   * @maxSize 100\n   * @format GUID\n   */\n  formSpamSubmissionReportIds?: string[];\n}\n\nexport interface BulkReportNotSpamSubmissionResponse {\n  /**\n   * Result for each restored report.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkReportNotSpamSubmissionResult[];\n  /** Metadata about the bulk action, such as the number of successes and failures. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkReportNotSpamSubmissionResult {\n  /** Metadata about the submission created from the report. `id` is the new submission ID. */\n  itemMetadata?: ItemMetadata;\n  /**\n   * ID of the restored form spam submission report.\n   * @format GUID\n   */\n  formSpamSubmissionReportId?: string;\n}\n\nexport interface ReportSpamSubmissionRequest {\n  /**\n   * ID of the submission to report as spam.\n   * @format GUID\n   */\n  submissionId: string;\n  /** Reason the submission is reported as spam. */\n  reportReason: ReportReasonWithLiterals;\n  /**\n   * Additional details about why the submission is reported as spam.\n   * @minLength 1\n   * @maxLength 255\n   */\n  reportReasonDescription?: string | null;\n}\n\nexport interface ReportSpamSubmissionResponse {\n  /** Created form spam submission report. */\n  formSpamSubmissionReport?: FormSpamSubmissionReport;\n}\n\nexport interface BulkReportSpamSubmissionRequest {\n  /**\n   * ID of the form that the submissions belong to.\n   * @format GUID\n   */\n  formId: string;\n  /**\n   * IDs of the submissions to report as spam.\n   * @maxSize 100\n   * @format GUID\n   */\n  submissionIds: string[];\n  /** Reason the submission is reported as spam. */\n  reportReason: ReportReasonWithLiterals;\n  /**\n   * Whether to return the created reports in `results.item`.\n   *\n   * Default: `false`\n   */\n  returnEntity?: boolean;\n  /**\n   * Additional details about why the submission is reported as spam.\n   * @minLength 1\n   * @maxLength 255\n   */\n  reportReasonDescription?: string | null;\n}\n\nexport interface BulkReportSpamSubmissionResponse {\n  /**\n   * Result for each submission.\n   * @minSize 1\n   * @maxSize 100\n   */\n  results?: BulkReportSpamSubmissionResult[];\n  /** Metadata about the bulk action, such as the number of successes and failures. */\n  bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface BulkReportSpamSubmissionResult {\n  /** Metadata about the created report, such as whether the report was created. */\n  itemMetadata?: ItemMetadata;\n  /**\n   * Created form spam submission report.\n   *\n   * Returned only when `returnEntity` is `true`.\n   */\n  item?: FormSpamSubmissionReport;\n}\n\nexport interface QueryFormSpamSubmissionReportsByNamespaceRequest {\n  /** Query options. The filter must include `namespace`. */\n  query: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n  cursorPaging?: CursorPaging;\n  /**\n   * Filter object in the following format:\n   * `\"filter\" : {\n   * \"fieldName1\": \"value1\",\n   * \"fieldName2\":{\"$operator\":\"value2\"}\n   * }`\n   * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`\n   */\n  filter?: Record<string, any> | null;\n  /**\n   * Sort object in the following format:\n   * `[{\"fieldName\":\"sortField1\",\"order\":\"ASC\"},{\"fieldName\":\"sortField2\",\"order\":\"DESC\"}]`\n   * @maxSize 3\n   */\n  sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */\n  cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n  /**\n   * Name of the field to sort by.\n   * @maxLength 512\n   */\n  fieldName?: string;\n  /** Sort order. */\n  order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n  ASC = 'ASC',\n  DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n  /**\n   * Number of items to load.\n   * @max 100\n   */\n  limit?: number | null;\n  /**\n   * Pointer to the next or previous page in the list of results.\n   *\n   * You can get the relevant cursor token\n   * from the `pagingMetadata` object in the previous call's response.\n   * Not relevant for the first request.\n   * @maxLength 16000\n   */\n  cursor?: string | null;\n}\n\nexport interface QueryFormSpamSubmissionReportsByNamespaceResponse {\n  /** Retrieved form spam submission reports. */\n  formSpamSubmissionReports?: FormSpamSubmissionReport[];\n  /** Paging metadata. */\n  pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n  /** Number of items returned in the response. */\n  count?: number | null;\n  /** Offset that was requested. */\n  cursors?: Cursors;\n  /**\n   * Indicates if there are more results after the current page.\n   * If `true`, another page of results can be retrieved.\n   * If `false`, this is the last page.\n   */\n  hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n  /**\n   * Cursor pointing to next page in the list of results.\n   * @maxLength 16000\n   */\n  next?: string | null;\n  /**\n   * Cursor pointing to previous page in the list of results.\n   * @maxLength 16000\n   */\n  prev?: string | null;\n}\n\nexport interface CountFormSpamSubmissionReportsRequest {\n  /**\n   * IDs of the forms to count reports for.\n   * @format GUID\n   * @minSize 1\n   * @maxSize 100\n   */\n  formIds: string[];\n  /**\n   * Namespace of the app that the forms belong to.\n   *\n   * Currently supports `wix.form_app.form`, the namespace of the Wix Forms app.\n   * @minLength 10\n   * @maxLength 50\n   */\n  namespace: string;\n}\n\nexport interface CountFormSpamSubmissionReportsResponse {\n  /** Number of form spam submission reports for each form. */\n  formsSpamSubmissionReportsCount?: FormSpamSubmissionReportsCount[];\n}\n\nexport interface FormSpamSubmissionReportsCount {\n  /**\n   * Form ID.\n   * @format GUID\n   */\n  formId?: string;\n  /** Number of form spam submission reports for the form. */\n  totalCount?: number;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n  /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n  id?: string;\n  /**\n   * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n   * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n   */\n  entityFqdn?: string;\n  /**\n   * Event action name, placed at the top level to make it easier for users to dispatch messages.\n   * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n   */\n  slug?: string;\n  /** ID of the entity associated with the event. */\n  entityId?: string;\n  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n  eventTime?: Date | null;\n  /**\n   * Whether the event was triggered as a result of a privacy regulation application\n   * (for example, GDPR).\n   */\n  triggeredByAnonymizeRequest?: boolean | null;\n  /** If present, indicates the action that triggered the event. */\n  originatedFrom?: string | null;\n  /**\n   * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n   * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n   */\n  entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n  createdEvent?: EntityCreatedEvent;\n  updatedEvent?: EntityUpdatedEvent;\n  deletedEvent?: EntityDeletedEvent;\n  actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n  entityAsJson?: string;\n  /**\n   * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity\n   * @internal\n   */\n  triggeredByUndelete?: boolean | null;\n  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n  restoreInfo?: RestoreInfo;\n  /**\n   * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n   * @internal\n   */\n  additionalMetadataAsJson?: string | null;\n}\n\nexport interface RestoreInfo {\n  deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n  /**\n   * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n   * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n   * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n   */\n  currentEntityAsJson?: string;\n  /**\n   * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard\n   * wont populate it / have any reference to it in the API.\n   * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,\n   * the developer should send only the new (current) entity.\n   * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big\n   * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.\n   * @internal\n   * @deprecated\n   */\n  previousEntityAsJson?: string | null;\n  /**\n   * Map of fully qualified field paths to their previous values for fields that changed.\n   * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)\n   * @internal\n   */\n  modifiedFields?: Record<string, any>;\n  /**\n   * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n   * @internal\n   */\n  additionalMetadataAsJson?: string | null;\n}\n\nexport interface EntityDeletedEvent {\n  /**\n   * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled\n   * @internal\n   */\n  movedToTrash?: boolean | null;\n  /** Entity that was deleted. */\n  deletedEntityAsJson?: string | null;\n  /**\n   * Optional domain-specific metadata defined by the API owner, encoded as JSON.\n   * @internal\n   */\n  additionalMetadataAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n  bodyAsJson?: string;\n}\n\nexport interface Empty {}\n\nexport interface MessageEnvelope {\n  /**\n   * App instance ID.\n   * @format GUID\n   */\n  instanceId?: string | null;\n  /**\n   * Event type.\n   * @maxLength 150\n   */\n  eventType?: string;\n  /** The identification type and identity data. */\n  identity?: IdentificationData;\n  /** Stringify payload. */\n  data?: string;\n  /** Details related to the account */\n  accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n  /** @readonly */\n  identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n  /**\n   * ID of a site visitor that has not logged in to the site.\n   * @format GUID\n   */\n  anonymousVisitorId?: string;\n  /**\n   * ID of a site visitor that has logged in to the site.\n   * @format GUID\n   */\n  memberId?: string;\n  /**\n   * ID of a Wix user (site owner, contributor, etc.).\n   * @format GUID\n   */\n  wixUserId?: string;\n  /**\n   * ID of an app.\n   * @format GUID\n   */\n  appId?: string;\n}\n\nexport enum WebhookIdentityType {\n  UNKNOWN = 'UNKNOWN',\n  ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n  MEMBER = 'MEMBER',\n  WIX_USER = 'WIX_USER',\n  APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n  | WebhookIdentityType\n  | 'UNKNOWN'\n  | 'ANONYMOUS_VISITOR'\n  | 'MEMBER'\n  | 'WIX_USER'\n  | 'APP';\n\nexport interface AccountInfo {\n  /**\n   * ID of the Wix account associated with the event.\n   * @format GUID\n   */\n  accountId?: string | null;\n  /**\n   * ID of the parent Wix account. Only included when accountId belongs to a child account.\n   * @format GUID\n   */\n  parentAccountId?: string | null;\n  /**\n   * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n   * @format GUID\n   */\n  siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type CreateFormSpamSubmissionReportValidationErrors = {\n  ruleName?: 'FORM_SPAM_SUBMISSION_REPORT_VALIDATION';\n};\n","import * as ambassadorWixFormsV4FormSpamSubmissionReport from './forms-v4-form-spam-submission-report-form-spam-submission-reports.http.js';\nimport * as ambassadorWixFormsV4FormSpamSubmissionReportTypes from './forms-v4-form-spam-submission-report-form-spam-submission-reports.types.js';\nimport * as ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes from './forms-v4-form-spam-submission-report-form-spam-submission-reports.universal.js';\n\nexport type __PublicMethodMetaInfo<\n  K = string,\n  M = unknown,\n  T = unknown,\n  S = unknown,\n  Q = unknown,\n  R = unknown\n> = {\n  getUrl: (context: any) => string;\n  httpMethod: K;\n  path: string;\n  pathParams: M;\n  __requestType: T;\n  __originalRequestType: S;\n  __responseType: Q;\n  __originalResponseType: R;\n};\n\nexport function checkForSpam(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.CheckForSpamRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.CheckForSpamRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.CheckForSpamResponse,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.CheckForSpamResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixFormsV4FormSpamSubmissionReport.checkForSpam(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v4/form-spam-submission-reports/check-for-spam',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function createFormSpamSubmissionReport(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.CreateFormSpamSubmissionReportRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.CreateFormSpamSubmissionReportRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.CreateFormSpamSubmissionReportResponse,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.CreateFormSpamSubmissionReportResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixFormsV4FormSpamSubmissionReport.createFormSpamSubmissionReport(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v4/form-spam-submission-reports',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function getFormSpamSubmissionReport(): __PublicMethodMetaInfo<\n  'GET',\n  { formSpamSubmissionReportId: string },\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.GetFormSpamSubmissionReportRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.GetFormSpamSubmissionReportRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.GetFormSpamSubmissionReportResponse,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.GetFormSpamSubmissionReportResponse\n> {\n  const payload = {\n    formSpamSubmissionReportId: ':formSpamSubmissionReportId',\n  } as any;\n\n  const getRequestOptions =\n    ambassadorWixFormsV4FormSpamSubmissionReport.getFormSpamSubmissionReport(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'GET',\n    path: '/v4/form-spam-submission-reports/{formSpamSubmissionReportId}',\n    pathParams: { formSpamSubmissionReportId: 'formSpamSubmissionReportId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function deleteFormSpamSubmissionReport(): __PublicMethodMetaInfo<\n  'DELETE',\n  { formSpamSubmissionReportId: string },\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.DeleteFormSpamSubmissionReportRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.DeleteFormSpamSubmissionReportRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.DeleteFormSpamSubmissionReportResponse,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.DeleteFormSpamSubmissionReportResponse\n> {\n  const payload = {\n    formSpamSubmissionReportId: ':formSpamSubmissionReportId',\n  } as any;\n\n  const getRequestOptions =\n    ambassadorWixFormsV4FormSpamSubmissionReport.deleteFormSpamSubmissionReport(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'DELETE',\n    path: '/v4/form-spam-submission-reports/{formSpamSubmissionReportId}',\n    pathParams: { formSpamSubmissionReportId: 'formSpamSubmissionReportId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkDeleteFormSpamSubmissionReport(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.BulkDeleteFormSpamSubmissionReportRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.BulkDeleteFormSpamSubmissionReportRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.BulkDeleteFormSpamSubmissionReportResponse,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.BulkDeleteFormSpamSubmissionReportResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixFormsV4FormSpamSubmissionReport.bulkDeleteFormSpamSubmissionReport(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v4/bulk/form-spam-submission-reports/delete',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkDeleteFormSpamSubmissionReportByFilter(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.BulkDeleteFormSpamSubmissionReportByFilterRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.BulkDeleteFormSpamSubmissionReportByFilterRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.BulkDeleteFormSpamSubmissionReportByFilterResponse,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.BulkDeleteFormSpamSubmissionReportByFilterResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixFormsV4FormSpamSubmissionReport.bulkDeleteFormSpamSubmissionReportByFilter(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v4/bulk/form-spam-submission-reports/delete-by-filter',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function reportNotSpamSubmission(): __PublicMethodMetaInfo<\n  'POST',\n  { formSpamSubmissionReportId: string },\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.ReportNotSpamSubmissionRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.ReportNotSpamSubmissionRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.ReportNotSpamSubmissionResponse,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.ReportNotSpamSubmissionResponse\n> {\n  const payload = {\n    formSpamSubmissionReportId: ':formSpamSubmissionReportId',\n  } as any;\n\n  const getRequestOptions =\n    ambassadorWixFormsV4FormSpamSubmissionReport.reportNotSpamSubmission(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v4/form-spam-submission-reports/{formSpamSubmissionReportId}/report-not-spam-submission',\n    pathParams: { formSpamSubmissionReportId: 'formSpamSubmissionReportId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkReportNotSpamSubmission(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.BulkReportNotSpamSubmissionRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.BulkReportNotSpamSubmissionRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.BulkReportNotSpamSubmissionResponse,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.BulkReportNotSpamSubmissionResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixFormsV4FormSpamSubmissionReport.bulkReportNotSpamSubmission(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v4/bulk/form-spam-submission-reports/report-not-spam-submission',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function reportSpamSubmission(): __PublicMethodMetaInfo<\n  'POST',\n  { submissionId: string },\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.ReportSpamSubmissionRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.ReportSpamSubmissionRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.ReportSpamSubmissionResponse,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.ReportSpamSubmissionResponse\n> {\n  const payload = { submissionId: ':submissionId' } as any;\n\n  const getRequestOptions =\n    ambassadorWixFormsV4FormSpamSubmissionReport.reportSpamSubmission(payload);\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v4/submissions/{submissionId}/report-spam-submission',\n    pathParams: { submissionId: 'submissionId' },\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function bulkReportSpamSubmission(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.BulkReportSpamSubmissionRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.BulkReportSpamSubmissionRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.BulkReportSpamSubmissionResponse,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.BulkReportSpamSubmissionResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixFormsV4FormSpamSubmissionReport.bulkReportSpamSubmission(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v4/bulk/submissions/report-spam-submission',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function queryFormSpamSubmissionReportsByNamespace(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.QueryFormSpamSubmissionReportsByNamespaceRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.QueryFormSpamSubmissionReportsByNamespaceRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.QueryFormSpamSubmissionReportsByNamespaceResponse,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.QueryFormSpamSubmissionReportsByNamespaceResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixFormsV4FormSpamSubmissionReport.queryFormSpamSubmissionReportsByNamespace(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v4/form-spam-submission-reports/namespace/query',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport function countFormSpamSubmissionReports(): __PublicMethodMetaInfo<\n  'POST',\n  {},\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.CountFormSpamSubmissionReportsRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.CountFormSpamSubmissionReportsRequest,\n  ambassadorWixFormsV4FormSpamSubmissionReportUniversalTypes.CountFormSpamSubmissionReportsResponse,\n  ambassadorWixFormsV4FormSpamSubmissionReportTypes.CountFormSpamSubmissionReportsResponse\n> {\n  const payload = {} as any;\n\n  const getRequestOptions =\n    ambassadorWixFormsV4FormSpamSubmissionReport.countFormSpamSubmissionReports(\n      payload\n    );\n\n  const getUrl = (context: any): string => {\n    const { url } = getRequestOptions(context);\n    return url!;\n  };\n\n  return {\n    getUrl,\n    httpMethod: 'POST',\n    path: '/v4/form-spam-submission-reports/count',\n    pathParams: {},\n    __requestType: null as any,\n    __originalRequestType: null as any,\n    __responseType: null as any,\n    __originalResponseType: null as any,\n  };\n}\n\nexport {\n  FormSpamSubmissionReport as FormSpamSubmissionReportOriginal,\n  Submitter as SubmitterOriginal,\n  SubmitterSubmitterOneOf as SubmitterSubmitterOneOfOriginal,\n  ReportReason as ReportReasonOriginal,\n  ReportReasonWithLiterals as ReportReasonWithLiteralsOriginal,\n  ExtendedFields as ExtendedFieldsOriginal,\n  SubmissionStatus as SubmissionStatusOriginal,\n  SubmissionStatusWithLiterals as SubmissionStatusWithLiteralsOriginal,\n  OrderDetails as OrderDetailsOriginal,\n  CheckForSpamRequest as CheckForSpamRequestOriginal,\n  FormSubmission as FormSubmissionOriginal,\n  FormSubmissionOrderDetails as FormSubmissionOrderDetailsOriginal,\n  PublicTags as PublicTagsOriginal,\n  TagList as TagListOriginal,\n  AppointmentDetails as AppointmentDetailsOriginal,\n  CheckForSpamResponse as CheckForSpamResponseOriginal,\n  SpamReport as SpamReportOriginal,\n  CreateFormSpamSubmissionReportRequest as CreateFormSpamSubmissionReportRequestOriginal,\n  CreateFormSpamSubmissionReportResponse as CreateFormSpamSubmissionReportResponseOriginal,\n  FormSpamSubmissionReportValidationErrorsDetails as FormSpamSubmissionReportValidationErrorsDetailsOriginal,\n  ValidationError as ValidationErrorOriginal,\n  ErrorType as ErrorTypeOriginal,\n  ErrorTypeWithLiterals as ErrorTypeWithLiteralsOriginal,\n  GetFormSpamSubmissionReportRequest as GetFormSpamSubmissionReportRequestOriginal,\n  GetFormSpamSubmissionReportResponse as GetFormSpamSubmissionReportResponseOriginal,\n  DeleteFormSpamSubmissionReportRequest as DeleteFormSpamSubmissionReportRequestOriginal,\n  DeleteFormSpamSubmissionReportResponse as DeleteFormSpamSubmissionReportResponseOriginal,\n  BulkDeleteFormSpamSubmissionReportRequest as BulkDeleteFormSpamSubmissionReportRequestOriginal,\n  BulkDeleteFormSpamSubmissionReportResponse as BulkDeleteFormSpamSubmissionReportResponseOriginal,\n  BulkDeleteFormSpamSubmissionReportResult as BulkDeleteFormSpamSubmissionReportResultOriginal,\n  ItemMetadata as ItemMetadataOriginal,\n  ApplicationError as ApplicationErrorOriginal,\n  BulkActionMetadata as BulkActionMetadataOriginal,\n  BulkDeleteFormSpamSubmissionReportByFilterRequest as BulkDeleteFormSpamSubmissionReportByFilterRequestOriginal,\n  BulkDeleteFormSpamSubmissionReportByFilterResponse as BulkDeleteFormSpamSubmissionReportByFilterResponseOriginal,\n  ReportNotSpamSubmissionRequest as ReportNotSpamSubmissionRequestOriginal,\n  ReportNotSpamSubmissionResponse as ReportNotSpamSubmissionResponseOriginal,\n  BulkReportNotSpamSubmissionRequest as BulkReportNotSpamSubmissionRequestOriginal,\n  BulkReportNotSpamSubmissionResponse as BulkReportNotSpamSubmissionResponseOriginal,\n  BulkReportNotSpamSubmissionResult as BulkReportNotSpamSubmissionResultOriginal,\n  ReportSpamSubmissionRequest as ReportSpamSubmissionRequestOriginal,\n  ReportSpamSubmissionResponse as ReportSpamSubmissionResponseOriginal,\n  BulkReportSpamSubmissionRequest as BulkReportSpamSubmissionRequestOriginal,\n  BulkReportSpamSubmissionResponse as BulkReportSpamSubmissionResponseOriginal,\n  BulkReportSpamSubmissionResult as BulkReportSpamSubmissionResultOriginal,\n  QueryFormSpamSubmissionReportsByNamespaceRequest as QueryFormSpamSubmissionReportsByNamespaceRequestOriginal,\n  CursorQuery as CursorQueryOriginal,\n  CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n  Sorting as SortingOriginal,\n  SortOrder as SortOrderOriginal,\n  SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n  CursorPaging as CursorPagingOriginal,\n  QueryFormSpamSubmissionReportsByNamespaceResponse as QueryFormSpamSubmissionReportsByNamespaceResponseOriginal,\n  CursorPagingMetadata as CursorPagingMetadataOriginal,\n  Cursors as CursorsOriginal,\n  CountFormSpamSubmissionReportsRequest as CountFormSpamSubmissionReportsRequestOriginal,\n  CountFormSpamSubmissionReportsResponse as CountFormSpamSubmissionReportsResponseOriginal,\n  FormSpamSubmissionReportsCount as FormSpamSubmissionReportsCountOriginal,\n  DomainEvent as DomainEventOriginal,\n  DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n  EntityCreatedEvent as EntityCreatedEventOriginal,\n  RestoreInfo as RestoreInfoOriginal,\n  EntityUpdatedEvent as EntityUpdatedEventOriginal,\n  EntityDeletedEvent as EntityDeletedEventOriginal,\n  ActionEvent as ActionEventOriginal,\n  Empty as EmptyOriginal,\n  MessageEnvelope as MessageEnvelopeOriginal,\n  IdentificationData as IdentificationDataOriginal,\n  IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n  WebhookIdentityType as WebhookIdentityTypeOriginal,\n  WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n  AccountInfo as AccountInfoOriginal,\n  CreateFormSpamSubmissionReportValidationErrors as CreateFormSpamSubmissionReportValidationErrorsOriginal,\n} from './forms-v4-form-spam-submission-report-form-spam-submission-re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,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,6CAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACyC;AAAA,IAC3C;AAAA,EACF;AAEF,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,kCAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBACyC;AAAA,IAC3C;AAAA,EACF;AAEF,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","ReportReason","SubmissionStatus","ErrorType","SortOrder","WebhookIdentityType","checkForSpam","createFormSpamSubmissionReport","getFormSpamSubmissionReport","deleteFormSpamSubmissionReport","bulkDeleteFormSpamSubmissionReport","bulkDeleteFormSpamSubmissionReportByFilter","reportNotSpamSubmission","bulkReportNotSpamSubmission","reportSpamSubmission","bulkReportSpamSubmission","queryFormSpamSubmissionReportsByNamespace","countFormSpamSubmissionReports"]}