"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// meta.ts
var meta_exports = {};
__export(meta_exports, {
  ActionOriginal: () => Action,
  AddressInfoTagOriginal: () => AddressInfoTag,
  AddressTagOriginal: () => AddressTag,
  AlignmentOriginal: () => Alignment,
  AppTypeOriginal: () => AppType,
  ArrayComponentTypeOriginal: () => ArrayComponentType,
  AspectRatioOriginal: () => AspectRatio,
  BackdropTypeOriginal: () => BackdropType,
  BackgroundTypeOriginal: () => BackgroundType,
  BannerPositionOriginal: () => BannerPosition,
  BooleanComponentTypeOriginal: () => BooleanComponentType,
  ButtonDataTypeOriginal: () => ButtonDataType,
  CardDataBackgroundTypeOriginal: () => CardDataBackgroundType,
  CardStylesAlignmentOriginal: () => CardStylesAlignment,
  CardStylesTypeOriginal: () => CardStylesType,
  ChangeablePropertyOriginal: () => ChangeableProperty,
  ColumnSizeOriginal: () => ColumnSize,
  ComponentTypeOriginal: () => ComponentType,
  ConfirmationLevelOriginal: () => ConfirmationLevel,
  ContactAutofillOriginal: () => ContactAutofill,
  ContactFieldOriginal: () => ContactField,
  CropOriginal: () => Crop,
  DayOfWeekOriginal: () => DayOfWeek,
  DecorationTypeOriginal: () => DecorationType,
  DesignTargetOriginal: () => DesignTarget,
  DirectionOriginal: () => Direction,
  DisplayFieldTypeOriginal: () => DisplayFieldType,
  DividerDataAlignmentOriginal: () => DividerDataAlignment,
  EmailDeliverabilityStatusOriginal: () => EmailDeliverabilityStatus,
  EmailInfoTagOriginal: () => EmailInfoTag,
  ErrorTypeOriginal: () => ErrorType,
  FieldTypeOriginal: () => FieldType,
  FirstDayOfWeekOriginal: () => FirstDayOfWeek,
  FontTypeOriginal: () => FontType,
  FormFieldContactInfoContactFieldOriginal: () => FormFieldContactInfoContactField,
  FormFieldContactInfoEmailInfoTagOriginal: () => FormFieldContactInfoEmailInfoTag,
  FormFieldContactInfoPhoneInfoTagOriginal: () => FormFieldContactInfoPhoneInfoTag,
  FormatEnumFormatOriginal: () => FormatEnumFormat,
  FormatOriginal: () => Format,
  GIFTypeOriginal: () => GIFType,
  GradientTypeOriginal: () => GradientType,
  IdentityTypeOriginal: () => IdentityType,
  ImageFitOriginal: () => ImageFit,
  ImagePositionOriginal: () => ImagePosition,
  ImagePositionPositionOriginal: () => ImagePositionPosition,
  ImageScalingScalingOriginal: () => ImageScalingScaling,
  IndentationOriginal: () => Indentation,
  InitialExpandedItemsOriginal: () => InitialExpandedItems,
  InputTypeOriginal: () => InputType,
  ItemTypeOriginal: () => ItemType,
  KindOriginal: () => Kind,
  LayoutDataBackgroundTypeOriginal: () => LayoutDataBackgroundType,
  LayoutDataImagePositionOriginal: () => LayoutDataImagePosition,
  LayoutOriginal: () => Layout,
  LayoutTypeOriginal: () => LayoutType,
  LineStyleOriginal: () => LineStyle,
  LinkTargetOriginal: () => LinkTarget,
  ListStyleOriginal: () => ListStyle,
  MapTypeOriginal: () => MapType,
  MeetingTypeOriginal: () => MeetingType,
  MemberStatusOriginal: () => MemberStatus,
  ModeOriginal: () => Mode,
  NodeTypeOriginal: () => NodeType,
  NullValueOriginal: () => NullValue,
  NumberComponentTypeOriginal: () => NumberComponentType,
  NumberOfColumnsOriginal: () => NumberOfColumns,
  ObjectArrayComponentTypeOriginal: () => ObjectArrayComponentType,
  OperatorOriginal: () => Operator,
  OptInLevelOriginal: () => OptInLevel,
  OrientationOriginal: () => Orientation,
  OriginOriginal: () => Origin,
  OverrideEntityTypeEnumOverrideEntityTypeOriginal: () => OverrideEntityTypeEnumOverrideEntityType,
  OverrideEntityTypeOriginal: () => OverrideEntityType,
  PaymentComponentTypeOriginal: () => PaymentComponentType,
  PhoneDeliverabilityStatusOriginal: () => PhoneDeliverabilityStatus,
  PhoneInfoTagOriginal: () => PhoneInfoTag,
  PhoneTagOriginal: () => PhoneTag,
  PlacementOriginal: () => Placement,
  PluginContainerDataAlignmentOriginal: () => PluginContainerDataAlignment,
  PollDesignBackgroundTypeOriginal: () => PollDesignBackgroundType,
  PollLayoutDirectionOriginal: () => PollLayoutDirection,
  PollLayoutTypeOriginal: () => PollLayoutType,
  PositionOriginal: () => Position,
  PriceTypeOriginal: () => PriceType,
  PrivacyStatusOriginal: () => PrivacyStatus,
  ProductTypeOriginal: () => ProductType,
  PropertiesTypeEnumOriginal: () => PropertiesTypeEnum,
  RequiredIndicatorOriginal: () => RequiredIndicator,
  RequiredIndicatorPlacementOriginal: () => RequiredIndicatorPlacement,
  ResizingOriginal: () => Resizing,
  ResponsivenessBehaviourOriginal: () => ResponsivenessBehaviour,
  ResultsDisplayOriginal: () => ResultsDisplay,
  RoleOriginal: () => Role,
  ScalingOriginal: () => Scaling,
  SchedulingComponentTypeOriginal: () => SchedulingComponentType,
  SmartBlockDataTypeOriginal: () => SmartBlockDataType,
  SortOrderOriginal: () => SortOrder,
  SourceOriginal: () => Source,
  SpamFilterProtectionLevelOriginal: () => SpamFilterProtectionLevel,
  StaffStrategySelectionOriginal: () => StaffStrategySelection,
  StatusOriginal: () => Status,
  StringComponentTypeOriginal: () => StringComponentType,
  StringTypeFormatEnumFormatOriginal: () => StringTypeFormatEnumFormat,
  StylesPositionOriginal: () => StylesPosition,
  SubdivisionTypeOriginal: () => SubdivisionType,
  SubmissionAccessOriginal: () => SubmissionAccess,
  SubmissionErrorTypeOriginal: () => SubmissionErrorType,
  SubmissionStatusOriginal: () => SubmissionStatus,
  SubmitSuccessActionOriginal: () => SubmitSuccessAction,
  SubscriptionChannelOriginal: () => SubscriptionChannel,
  SubscriptionInfoOptInLevelOriginal: () => SubscriptionInfoOptInLevel,
  SubscriptionStatusOriginal: () => SubscriptionStatus,
  TagOriginal: () => Tag,
  TargetOriginal: () => Target,
  TextAlignmentOriginal: () => TextAlignment,
  ThumbnailsAlignmentOriginal: () => ThumbnailsAlignment,
  TypeOriginal: () => Type,
  UploadFileFormatOriginal: () => UploadFileFormat,
  ValidationFormatOriginal: () => ValidationFormat,
  VariantOriginal: () => Variant,
  VerticalAlignmentAlignmentOriginal: () => VerticalAlignmentAlignment,
  VerticalAlignmentOriginal: () => VerticalAlignment,
  ViewModeOriginal: () => ViewMode,
  ViewRoleOriginal: () => ViewRole,
  VoteRoleOriginal: () => VoteRole,
  WebhookIdentityTypeOriginal: () => WebhookIdentityType,
  WidthOriginal: () => Width,
  WidthTypeOriginal: () => WidthType,
  WixFileComponentTypeOriginal: () => WixFileComponentType,
  bulkDeleteSubmission: () => bulkDeleteSubmission2,
  bulkMarkSubmissionsAsSeen: () => bulkMarkSubmissionsAsSeen2,
  bulkRemoveSubmissionFromTrashBin: () => bulkRemoveSubmissionFromTrashBin2,
  bulkUpdateFormSubmissionTags: () => bulkUpdateFormSubmissionTags2,
  bulkUpdateFormSubmissionTagsByFilter: () => bulkUpdateFormSubmissionTagsByFilter2,
  confirmSubmission: () => confirmSubmission2,
  countDeletedSubmissions: () => countDeletedSubmissions2,
  countSubmissions: () => countSubmissions2,
  countSubmissionsByFilter: () => countSubmissionsByFilter2,
  createSubmission: () => createSubmission2,
  deleteSubmission: () => deleteSubmission2,
  downloadSubmission: () => downloadSubmission2,
  getDeletedSubmission: () => getDeletedSubmission2,
  getFormattedSubmission: () => getFormattedSubmission2,
  getMediaUploadUrl: () => getMediaUploadUrl2,
  getSubmission: () => getSubmission2,
  getSubmissionDownloadUrl: () => getSubmissionDownloadUrl2,
  listDeletedSubmissions: () => listDeletedSubmissions2,
  querySubmission: () => querySubmission2,
  querySubmissionsByNamespace: () => querySubmissionsByNamespace2,
  removeSubmissionFromTrashBin: () => removeSubmissionFromTrashBin2,
  restoreSubmissionFromTrashBin: () => restoreSubmissionFromTrashBin2,
  searchSubmissionsByNamespace: () => searchSubmissionsByNamespace2,
  updateExtendedFields: () => updateExtendedFields2,
  updateSubmission: () => updateSubmission2,
  upsertContactFromSubmission: () => upsertContactFromSubmission2,
  validateFormSubmission: () => validateFormSubmission2
});
module.exports = __toCommonJS(meta_exports);

// src/forms-v4-submission-submissions.http.ts
var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
var import_float = require("@wix/sdk-runtime/transformations/float");
var import_bytes = require("@wix/sdk-runtime/transformations/bytes");
var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
function resolveWixFormsV4FormSubmissionServiceUrl(opts) {
  const domainToMappings = {
    "api._api_base_domain_": [
      {
        srcPath: "/form-submission-service",
        destPath: ""
      }
    ],
    _: [
      {
        srcPath: "/_api/form-submission-service",
        destPath: ""
      }
    ],
    "manage._base_domain_": [
      {
        srcPath: "/_api/form-submission-service",
        destPath: ""
      },
      {
        srcPath: "/form-submission-service",
        destPath: ""
      }
    ],
    "www._base_domain_": [
      {
        srcPath: "/_api/form-submission-service",
        destPath: ""
      }
    ],
    "bo._base_domain_": [
      {
        srcPath: "/form-submission-service",
        destPath: ""
      }
    ],
    "wixbo.ai": [
      {
        srcPath: "/form-submission-service",
        destPath: ""
      }
    ],
    "wix-bo.com": [
      {
        srcPath: "/form-submission-service",
        destPath: ""
      }
    ],
    "www.wixapis.com": [
      {
        srcPath: "/form-submission-service",
        destPath: ""
      },
      {
        srcPath: "/_api/form-submission-service",
        destPath: ""
      }
    ],
    "apps._base_domain_": [
      {
        srcPath: "/form-submission-service",
        destPath: ""
      }
    ],
    "editor._base_domain_": [
      {
        srcPath: "/_api/form-submission-service",
        destPath: ""
      }
    ],
    "blocks._base_domain_": [
      {
        srcPath: "/_api/form-submission-service",
        destPath: ""
      }
    ],
    "create.editorx": [
      {
        srcPath: "/_api/form-submission-service",
        destPath: ""
      }
    ],
    "*.dev.wix-code.com": [
      {
        srcPath: "/_api/form-submission-service",
        destPath: ""
      }
    ],
    "*.wixforms.com": [
      {
        srcPath: "/_api/form-submission-service",
        destPath: ""
      }
    ],
    "apps.wixel.com": [
      {
        srcPath: "/_api/form-submission-service",
        destPath: ""
      }
    ],
    "*.wixel.com": [
      {
        srcPath: "/_api/form-submission-service",
        destPath: ""
      }
    ],
    "editor.wixapps.net": [
      {
        srcPath: "/_api/form-submission-service",
        destPath: ""
      }
    ]
  };
  return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
}
function resolveWixFormsV4FormSubmissionContactUpsertServiceUrl(opts) {
  const domainToMappings = {
    "bo._base_domain_": [
      {
        srcPath: "/form-submission-contact-mapping-service",
        destPath: ""
      }
    ],
    "wixbo.ai": [
      {
        srcPath: "/form-submission-contact-mapping-service",
        destPath: ""
      }
    ],
    "wix-bo.com": [
      {
        srcPath: "/form-submission-contact-mapping-service",
        destPath: ""
      }
    ],
    "www.wixapis.com": [
      {
        srcPath: "/form-submission-contact-mapping-service",
        destPath: ""
      },
      {
        srcPath: "/_api/form-submission-contact-mapping-service",
        destPath: ""
      }
    ]
  };
  return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
}
var PACKAGE_NAME = "@wix/auto_sdk_forms_submissions";
function upsertContactFromSubmission(payload) {
  function __upsertContactFromSubmission({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "POST",
      methodFqn: "wix.forms.v4.FormSubmissionContactUpsertService.UpsertContactFromSubmission",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionContactUpsertServiceUrl({
        protoPath: "/v4/submissions-contacts",
        data: payload,
        host
      }),
      data: payload,
      transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
        {
          transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
          paths: [
            { path: "upsertContactResponse.contact.createdDate" },
            { path: "upsertContactResponse.contact.updatedDate" },
            {
              path: "upsertContactResponse.contact.email.subscriptionStatus.updatedDate"
            },
            {
              path: "upsertContactResponse.contact.phone.subscriptionStatus.updatedDate"
            },
            { path: "upsertContactResponse.contact.image.urlExpirationDate" },
            { path: "upsertContactResponse.contact.lastActivity.date" },
            { path: "upsertContactResponse.contact.memberInfo.signupDate" },
            {
              path: "upsertContactResponse.contact.memberInfo.profileInfo.photo.urlExpirationDate"
            },
            {
              path: "upsertContactResponse.contact.memberInfo.sessionInfo.lastWebLogin"
            },
            {
              path: "upsertContactResponse.contact.memberInfo.sessionInfo.lastMobileLogin"
            }
          ]
        },
        {
          transformFn: import_float.transformRESTFloatToSDKFloat,
          paths: [
            {
              path: "upsertContactResponse.contact.addresses.address.geocode.latitude"
            },
            {
              path: "upsertContactResponse.contact.addresses.address.geocode.longitude"
            }
          ]
        }
      ])
    };
    return metadata;
  }
  return __upsertContactFromSubmission;
}
function createSubmission(payload) {
  function __createSubmission({ host }) {
    const serializedData = (0, import_transform_paths.transformPaths)(payload, [
      {
        transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
        paths: [
          { path: "submission.createdDate" },
          { path: "submission.updatedDate" }
        ]
      }
    ]);
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "POST",
      methodFqn: "wix.forms.v4.FormSubmissionService.CreateSubmission",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions",
        data: serializedData,
        host
      }),
      data: serializedData,
      transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
        {
          transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
          paths: [
            { path: "submission.createdDate" },
            { path: "submission.updatedDate" }
          ]
        }
      ])
    };
    return metadata;
  }
  return __createSubmission;
}
function getSubmission(payload) {
  function __getSubmission({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "GET",
      methodFqn: "wix.forms.v4.FormSubmissionService.GetSubmission",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/{submissionId}",
        data: payload,
        host
      }),
      params: (0, import_rest_modules.toURLSearchParams)(payload),
      transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
        {
          transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
          paths: [
            { path: "submission.createdDate" },
            { path: "submission.updatedDate" }
          ]
        }
      ])
    };
    return metadata;
  }
  return __getSubmission;
}
function updateSubmission(payload) {
  function __updateSubmission({ host }) {
    const serializedData = (0, import_transform_paths.transformPaths)(payload, [
      {
        transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
        paths: [{ path: "mask" }]
      },
      {
        transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
        paths: [
          { path: "submission.createdDate" },
          { path: "submission.updatedDate" }
        ]
      }
    ]);
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "PATCH",
      methodFqn: "wix.forms.v4.FormSubmissionService.UpdateSubmission",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/{submission.id}",
        data: serializedData,
        host
      }),
      data: serializedData,
      transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
        {
          transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
          paths: [
            { path: "submission.createdDate" },
            { path: "submission.updatedDate" }
          ]
        }
      ])
    };
    return metadata;
  }
  return __updateSubmission;
}
function confirmSubmission(payload) {
  function __confirmSubmission({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "POST",
      methodFqn: "wix.forms.v4.FormSubmissionService.ConfirmSubmission",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/{submissionId}/confirm",
        data: payload,
        host
      }),
      data: payload,
      transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
        {
          transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
          paths: [
            { path: "submission.createdDate" },
            { path: "submission.updatedDate" }
          ]
        }
      ])
    };
    return metadata;
  }
  return __confirmSubmission;
}
function deleteSubmission(payload) {
  function __deleteSubmission({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "DELETE",
      methodFqn: "wix.forms.v4.FormSubmissionService.DeleteSubmission",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/{submissionId}",
        data: payload,
        host
      }),
      params: (0, import_rest_modules.toURLSearchParams)(payload)
    };
    return metadata;
  }
  return __deleteSubmission;
}
function bulkDeleteSubmission(payload) {
  function __bulkDeleteSubmission({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "POST",
      methodFqn: "wix.forms.v4.FormSubmissionService.BulkDeleteSubmission",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/bulk/submissions/delete",
        data: payload,
        host
      }),
      data: payload
    };
    return metadata;
  }
  return __bulkDeleteSubmission;
}
function restoreSubmissionFromTrashBin(payload) {
  function __restoreSubmissionFromTrashBin({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "POST",
      methodFqn: "wix.forms.v4.FormSubmissionService.RestoreSubmissionFromTrashBin",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/trash-bin/{submissionId}/restore",
        data: payload,
        host
      }),
      data: payload,
      transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
        {
          transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
          paths: [
            { path: "submission.createdDate" },
            { path: "submission.updatedDate" }
          ]
        }
      ])
    };
    return metadata;
  }
  return __restoreSubmissionFromTrashBin;
}
function removeSubmissionFromTrashBin(payload) {
  function __removeSubmissionFromTrashBin({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "DELETE",
      methodFqn: "wix.forms.v4.FormSubmissionService.RemoveSubmissionFromTrashBin",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/trash-bin/{submissionId}",
        data: payload,
        host
      }),
      params: (0, import_rest_modules.toURLSearchParams)(payload)
    };
    return metadata;
  }
  return __removeSubmissionFromTrashBin;
}
function bulkRemoveSubmissionFromTrashBin(payload) {
  function __bulkRemoveSubmissionFromTrashBin({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "POST",
      methodFqn: "wix.forms.v4.FormSubmissionService.BulkRemoveSubmissionFromTrashBin",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/trash-bin/delete",
        data: payload,
        host
      }),
      data: payload
    };
    return metadata;
  }
  return __bulkRemoveSubmissionFromTrashBin;
}
function listDeletedSubmissions(payload) {
  function __listDeletedSubmissions({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "GET",
      methodFqn: "wix.forms.v4.FormSubmissionService.ListDeletedSubmissions",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/trash-bin",
        data: payload,
        host
      }),
      params: (0, import_rest_modules.toURLSearchParams)(payload),
      transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
        {
          transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
          paths: [
            { path: "submissions.createdDate" },
            { path: "submissions.updatedDate" }
          ]
        }
      ])
    };
    return metadata;
  }
  return __listDeletedSubmissions;
}
function getDeletedSubmission(payload) {
  function __getDeletedSubmission({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "GET",
      methodFqn: "wix.forms.v4.FormSubmissionService.GetDeletedSubmission",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/trash-bin/{submissionId}",
        data: payload,
        host
      }),
      params: (0, import_rest_modules.toURLSearchParams)(payload),
      transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
        {
          transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
          paths: [
            { path: "submission.createdDate" },
            { path: "submission.updatedDate" }
          ]
        }
      ])
    };
    return metadata;
  }
  return __getDeletedSubmission;
}
function querySubmission(payload) {
  function __querySubmission({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "POST",
      methodFqn: "wix.forms.v4.FormSubmissionService.QuerySubmission",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/query",
        data: payload,
        host
      }),
      data: payload,
      transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
        {
          transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
          paths: [
            { path: "submissions.createdDate" },
            { path: "submissions.updatedDate" }
          ]
        }
      ])
    };
    return metadata;
  }
  return __querySubmission;
}
function searchSubmissionsByNamespace(payload) {
  function __searchSubmissionsByNamespace({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "POST",
      methodFqn: "wix.forms.v4.FormSubmissionService.SearchSubmissionsByNamespace",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/namespace/search",
        data: payload,
        host
      }),
      data: payload,
      transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
        {
          transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
          paths: [
            { path: "submissions.createdDate" },
            { path: "submissions.updatedDate" }
          ]
        }
      ])
    };
    return metadata;
  }
  return __searchSubmissionsByNamespace;
}
function querySubmissionsByNamespace(payload) {
  function __querySubmissionsByNamespace({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "POST",
      methodFqn: "wix.forms.v4.FormSubmissionService.QuerySubmissionsByNamespace",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/namespace/query",
        data: payload,
        host
      }),
      data: payload,
      transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
        {
          transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
          paths: [
            { path: "submissions.createdDate" },
            { path: "submissions.updatedDate" }
          ]
        }
      ])
    };
    return metadata;
  }
  return __querySubmissionsByNamespace;
}
function countSubmissionsByFilter(payload) {
  function __countSubmissionsByFilter({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "POST",
      methodFqn: "wix.forms.v4.FormSubmissionService.CountSubmissionsByFilter",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/count-by-filter",
        data: payload,
        host
      }),
      data: payload
    };
    return metadata;
  }
  return __countSubmissionsByFilter;
}
function countSubmissions(payload) {
  function __countSubmissions({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "POST",
      methodFqn: "wix.forms.v4.FormSubmissionService.CountSubmissions",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/count",
        data: payload,
        host
      }),
      data: payload
    };
    return metadata;
  }
  return __countSubmissions;
}
function countDeletedSubmissions(payload) {
  function __countDeletedSubmissions({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "POST",
      methodFqn: "wix.forms.v4.FormSubmissionService.CountDeletedSubmissions",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/trash-bin/count",
        data: payload,
        host
      }),
      data: payload
    };
    return metadata;
  }
  return __countDeletedSubmissions;
}
function getMediaUploadUrl(payload) {
  function __getMediaUploadUrl({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "POST",
      methodFqn: "wix.forms.v4.FormSubmissionService.GetMediaUploadURL",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/media-upload-url",
        data: payload,
        host
      }),
      data: payload
    };
    return metadata;
  }
  return __getMediaUploadUrl;
}
function bulkMarkSubmissionsAsSeen(payload) {
  function __bulkMarkSubmissionsAsSeen({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "POST",
      methodFqn: "wix.forms.v4.FormSubmissionService.BulkMarkSubmissionsAsSeen",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/bulk/submissions/mark-as-seen",
        data: payload,
        host
      }),
      data: payload
    };
    return metadata;
  }
  return __bulkMarkSubmissionsAsSeen;
}
function getSubmissionDownloadUrl(payload) {
  function __getSubmissionDownloadUrl({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "GET",
      methodFqn: "wix.forms.v4.FormSubmissionService.GetSubmissionDownloadUrl",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/{submissionId}/document",
        data: payload,
        host
      }),
      params: (0, import_rest_modules.toURLSearchParams)(payload)
    };
    return metadata;
  }
  return __getSubmissionDownloadUrl;
}
function downloadSubmission(payload) {
  function __downloadSubmission({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "GET",
      methodFqn: "wix.forms.v4.FormSubmissionService.DownloadSubmission",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/{submissionId}/download",
        data: payload,
        host
      }),
      params: (0, import_rest_modules.toURLSearchParams)(payload),
      transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
        {
          transformFn: import_bytes.transformRESTBytesToSDKBytes,
          paths: [{ path: "body" }]
        }
      ])
    };
    return metadata;
  }
  return __downloadSubmission;
}
function getFormattedSubmission(payload) {
  function __getFormattedSubmission({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "GET",
      methodFqn: "wix.forms.v4.FormSubmissionService.GetFormattedSubmission",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/{submissionId}/formatted",
        data: payload,
        host
      }),
      params: (0, import_rest_modules.toURLSearchParams)(payload)
    };
    return metadata;
  }
  return __getFormattedSubmission;
}
function updateExtendedFields(payload) {
  function __updateExtendedFields({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "POST",
      methodFqn: "wix.forms.v4.FormSubmissionService.UpdateExtendedFields",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/{id}/extended-fields",
        data: payload,
        host
      }),
      data: payload
    };
    return metadata;
  }
  return __updateExtendedFields;
}
function bulkUpdateFormSubmissionTags(payload) {
  function __bulkUpdateFormSubmissionTags({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "POST",
      methodFqn: "wix.forms.v4.FormSubmissionService.BulkUpdateFormSubmissionTags",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/bulk/submissions/update-tags",
        data: payload,
        host
      }),
      data: payload
    };
    return metadata;
  }
  return __bulkUpdateFormSubmissionTags;
}
function bulkUpdateFormSubmissionTagsByFilter(payload) {
  function __bulkUpdateFormSubmissionTagsByFilter({ host }) {
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "POST",
      methodFqn: "wix.forms.v4.FormSubmissionService.BulkUpdateFormSubmissionTagsByFilter",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/bulk/submissions/update-tags-by-filter",
        data: payload,
        host
      }),
      data: payload
    };
    return metadata;
  }
  return __bulkUpdateFormSubmissionTagsByFilter;
}
function validateFormSubmission(payload) {
  function __validateFormSubmission({ host }) {
    const serializedData = (0, import_transform_paths.transformPaths)(payload, [
      {
        transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
        paths: [
          { path: "submission.createdDate" },
          { path: "submission.updatedDate" }
        ]
      }
    ]);
    const metadata = {
      entityFqdn: "wix.forms.v4.submission",
      method: "POST",
      methodFqn: "wix.forms.v4.FormSubmissionService.ValidateFormSubmission",
      packageName: PACKAGE_NAME,
      migrationOptions: {
        optInTransformResponse: true
      },
      url: resolveWixFormsV4FormSubmissionServiceUrl({
        protoPath: "/v4/submissions/validate",
        data: serializedData,
        host
      }),
      data: serializedData
    };
    return metadata;
  }
  return __validateFormSubmission;
}

// src/forms-v4-submission-submissions.types.ts
var SubmissionStatus = /* @__PURE__ */ ((SubmissionStatus2) => {
  SubmissionStatus2["PENDING"] = "PENDING";
  SubmissionStatus2["CONFIRMED"] = "CONFIRMED";
  SubmissionStatus2["PAYMENT_WAITING"] = "PAYMENT_WAITING";
  SubmissionStatus2["PAYMENT_CANCELED"] = "PAYMENT_CANCELED";
  return SubmissionStatus2;
})(SubmissionStatus || {});
var OptInLevel = /* @__PURE__ */ ((OptInLevel2) => {
  OptInLevel2["SINGLE_CONFIRMATION"] = "SINGLE_CONFIRMATION";
  OptInLevel2["DOUBLE_CONFIRMATION"] = "DOUBLE_CONFIRMATION";
  return OptInLevel2;
})(OptInLevel || {});
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
  SortOrder2["ASC"] = "ASC";
  SortOrder2["DESC"] = "DESC";
  return SortOrder2;
})(SortOrder || {});
var Mode = /* @__PURE__ */ ((Mode2) => {
  Mode2["OR"] = "OR";
  Mode2["AND"] = "AND";
  return Mode2;
})(Mode || {});
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
  WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
  WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
  WebhookIdentityType2["MEMBER"] = "MEMBER";
  WebhookIdentityType2["WIX_USER"] = "WIX_USER";
  WebhookIdentityType2["APP"] = "APP";
  return WebhookIdentityType2;
})(WebhookIdentityType || {});
var StringTypeFormatEnumFormat = /* @__PURE__ */ ((StringTypeFormatEnumFormat2) => {
  StringTypeFormatEnumFormat2["UNDEFINED"] = "UNDEFINED";
  StringTypeFormatEnumFormat2["DATE"] = "DATE";
  StringTypeFormatEnumFormat2["TIME"] = "TIME";
  StringTypeFormatEnumFormat2["DATE_TIME"] = "DATE_TIME";
  StringTypeFormatEnumFormat2["EMAIL"] = "EMAIL";
  StringTypeFormatEnumFormat2["URL"] = "URL";
  StringTypeFormatEnumFormat2["UUID"] = "UUID";
  StringTypeFormatEnumFormat2["PHONE"] = "PHONE";
  StringTypeFormatEnumFormat2["URI"] = "URI";
  StringTypeFormatEnumFormat2["HOSTNAME"] = "HOSTNAME";
  StringTypeFormatEnumFormat2["COLOR_HEX"] = "COLOR_HEX";
  StringTypeFormatEnumFormat2["CURRENCY"] = "CURRENCY";
  StringTypeFormatEnumFormat2["LANGUAGE"] = "LANGUAGE";
  StringTypeFormatEnumFormat2["DATE_OPTIONAL_TIME"] = "DATE_OPTIONAL_TIME";
  return StringTypeFormatEnumFormat2;
})(StringTypeFormatEnumFormat || {});
var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
  DayOfWeek2["MONDAY"] = "MONDAY";
  DayOfWeek2["TUESDAY"] = "TUESDAY";
  DayOfWeek2["WEDNESDAY"] = "WEDNESDAY";
  DayOfWeek2["THURSDAY"] = "THURSDAY";
  DayOfWeek2["FRIDAY"] = "FRIDAY";
  DayOfWeek2["SATURDAY"] = "SATURDAY";
  DayOfWeek2["SUNDAY"] = "SUNDAY";
  return DayOfWeek2;
})(DayOfWeek || {});
var ValidationFormat = /* @__PURE__ */ ((ValidationFormat2) => {
  ValidationFormat2["UNDEFINED"] = "UNDEFINED";
  ValidationFormat2["WIX_FILE"] = "WIX_FILE";
  ValidationFormat2["PAYMENT"] = "PAYMENT";
  ValidationFormat2["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
  ValidationFormat2["SCHEDULING"] = "SCHEDULING";
  ValidationFormat2["OBJECT_ARRAY"] = "OBJECT_ARRAY";
  return ValidationFormat2;
})(ValidationFormat || {});
var ProductType = /* @__PURE__ */ ((ProductType2) => {
  ProductType2["SHIPPABLE"] = "SHIPPABLE";
  ProductType2["DIGITAL"] = "DIGITAL";
  return ProductType2;
})(ProductType || {});
var PriceType = /* @__PURE__ */ ((PriceType2) => {
  PriceType2["FIXED_PRICE"] = "FIXED_PRICE";
  PriceType2["DYNAMIC_PRICE"] = "DYNAMIC_PRICE";
  return PriceType2;
})(PriceType || {});
var FieldType = /* @__PURE__ */ ((FieldType2) => {
  FieldType2["UNKNOWN_FIELD_TYPE"] = "UNKNOWN_FIELD_TYPE";
  FieldType2["INPUT"] = "INPUT";
  FieldType2["DISPLAY"] = "DISPLAY";
  return FieldType2;
})(FieldType || {});
var FormatEnumFormat = /* @__PURE__ */ ((FormatEnumFormat2) => {
  FormatEnumFormat2["UNKNOWN_FORMAT"] = "UNKNOWN_FORMAT";
  FormatEnumFormat2["DATE"] = "DATE";
  FormatEnumFormat2["TIME"] = "TIME";
  FormatEnumFormat2["DATE_TIME"] = "DATE_TIME";
  FormatEnumFormat2["EMAIL"] = "EMAIL";
  FormatEnumFormat2["URL"] = "URL";
  FormatEnumFormat2["UUID"] = "UUID";
  FormatEnumFormat2["PHONE"] = "PHONE";
  FormatEnumFormat2["URI"] = "URI";
  FormatEnumFormat2["HOSTNAME"] = "HOSTNAME";
  FormatEnumFormat2["COLOR_HEX"] = "COLOR_HEX";
  FormatEnumFormat2["CURRENCY"] = "CURRENCY";
  FormatEnumFormat2["LANGUAGE"] = "LANGUAGE";
  FormatEnumFormat2["DATE_OPTIONAL_TIME"] = "DATE_OPTIONAL_TIME";
  return FormatEnumFormat2;
})(FormatEnumFormat || {});
var StringComponentType = /* @__PURE__ */ ((StringComponentType2) => {
  StringComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
  StringComponentType2["TEXT_INPUT"] = "TEXT_INPUT";
  StringComponentType2["RADIO_GROUP"] = "RADIO_GROUP";
  StringComponentType2["DROPDOWN"] = "DROPDOWN";
  StringComponentType2["DATE_TIME"] = "DATE_TIME";
  StringComponentType2["PHONE_INPUT"] = "PHONE_INPUT";
  StringComponentType2["DATE_INPUT"] = "DATE_INPUT";
  StringComponentType2["TIME_INPUT"] = "TIME_INPUT";
  StringComponentType2["DATE_PICKER"] = "DATE_PICKER";
  StringComponentType2["SERVICES_DROPDOWN"] = "SERVICES_DROPDOWN";
  StringComponentType2["PASSWORD"] = "PASSWORD";
  return StringComponentType2;
})(StringComponentType || {});
var NodeType = /* @__PURE__ */ ((NodeType2) => {
  NodeType2["PARAGRAPH"] = "PARAGRAPH";
  NodeType2["TEXT"] = "TEXT";
  NodeType2["HEADING"] = "HEADING";
  NodeType2["BULLETED_LIST"] = "BULLETED_LIST";
  NodeType2["ORDERED_LIST"] = "ORDERED_LIST";
  NodeType2["LIST_ITEM"] = "LIST_ITEM";
  NodeType2["BLOCKQUOTE"] = "BLOCKQUOTE";
  NodeType2["CODE_BLOCK"] = "CODE_BLOCK";
  NodeType2["VIDEO"] = "VIDEO";
  NodeType2["DIVIDER"] = "DIVIDER";
  NodeType2["FILE"] = "FILE";
  NodeType2["GALLERY"] = "GALLERY";
  NodeType2["GIF"] = "GIF";
  NodeType2["HTML"] = "HTML";
  NodeType2["IMAGE"] = "IMAGE";
  NodeType2["LINK_PREVIEW"] = "LINK_PREVIEW";
  NodeType2["MAP"] = "MAP";
  NodeType2["POLL"] = "POLL";
  NodeType2["APP_EMBED"] = "APP_EMBED";
  NodeType2["BUTTON"] = "BUTTON";
  NodeType2["COLLAPSIBLE_LIST"] = "COLLAPSIBLE_LIST";
  NodeType2["TABLE"] = "TABLE";
  NodeType2["EMBED"] = "EMBED";
  NodeType2["COLLAPSIBLE_ITEM"] = "COLLAPSIBLE_ITEM";
  NodeType2["COLLAPSIBLE_ITEM_TITLE"] = "COLLAPSIBLE_ITEM_TITLE";
  NodeType2["COLLAPSIBLE_ITEM_BODY"] = "COLLAPSIBLE_ITEM_BODY";
  NodeType2["TABLE_CELL"] = "TABLE_CELL";
  NodeType2["TABLE_ROW"] = "TABLE_ROW";
  NodeType2["EXTERNAL"] = "EXTERNAL";
  NodeType2["AUDIO"] = "AUDIO";
  NodeType2["CAPTION"] = "CAPTION";
  NodeType2["LAYOUT"] = "LAYOUT";
  NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
  NodeType2["SHAPE"] = "SHAPE";
  NodeType2["CARD"] = "CARD";
  NodeType2["TOC"] = "TOC";
  NodeType2["SMART_BLOCK"] = "SMART_BLOCK";
  NodeType2["SMART_BLOCK_CELL"] = "SMART_BLOCK_CELL";
  NodeType2["CHECKBOX_LIST"] = "CHECKBOX_LIST";
  return NodeType2;
})(NodeType || {});
var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
  BackgroundType2["COLOR"] = "COLOR";
  BackgroundType2["GRADIENT"] = "GRADIENT";
  return BackgroundType2;
})(BackgroundType || {});
var GradientType = /* @__PURE__ */ ((GradientType2) => {
  GradientType2["LINEAR"] = "LINEAR";
  GradientType2["RADIAL"] = "RADIAL";
  return GradientType2;
})(GradientType || {});
var WidthType = /* @__PURE__ */ ((WidthType2) => {
  WidthType2["CONTENT"] = "CONTENT";
  WidthType2["SMALL"] = "SMALL";
  WidthType2["ORIGINAL"] = "ORIGINAL";
  WidthType2["FULL_WIDTH"] = "FULL_WIDTH";
  return WidthType2;
})(WidthType || {});
var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignment2) => {
  PluginContainerDataAlignment2["CENTER"] = "CENTER";
  PluginContainerDataAlignment2["LEFT"] = "LEFT";
  PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
  return PluginContainerDataAlignment2;
})(PluginContainerDataAlignment || {});
var ButtonDataType = /* @__PURE__ */ ((ButtonDataType2) => {
  ButtonDataType2["LINK"] = "LINK";
  ButtonDataType2["ACTION"] = "ACTION";
  return ButtonDataType2;
})(ButtonDataType || {});
var LinkTarget = /* @__PURE__ */ ((LinkTarget2) => {
  LinkTarget2["SELF"] = "SELF";
  LinkTarget2["BLANK"] = "BLANK";
  LinkTarget2["PARENT"] = "PARENT";
  LinkTarget2["TOP"] = "TOP";
  return LinkTarget2;
})(LinkTarget || {});
var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
  TextAlignment2["AUTO"] = "AUTO";
  TextAlignment2["LEFT"] = "LEFT";
  TextAlignment2["RIGHT"] = "RIGHT";
  TextAlignment2["CENTER"] = "CENTER";
  TextAlignment2["JUSTIFY"] = "JUSTIFY";
  return TextAlignment2;
})(TextAlignment || {});
var LineStyle = /* @__PURE__ */ ((LineStyle2) => {
  LineStyle2["SINGLE"] = "SINGLE";
  LineStyle2["DOUBLE"] = "DOUBLE";
  LineStyle2["DASHED"] = "DASHED";
  LineStyle2["DOTTED"] = "DOTTED";
  return LineStyle2;
})(LineStyle || {});
var Width = /* @__PURE__ */ ((Width2) => {
  Width2["LARGE"] = "LARGE";
  Width2["MEDIUM"] = "MEDIUM";
  Width2["SMALL"] = "SMALL";
  return Width2;
})(Width || {});
var DividerDataAlignment = /* @__PURE__ */ ((DividerDataAlignment2) => {
  DividerDataAlignment2["CENTER"] = "CENTER";
  DividerDataAlignment2["LEFT"] = "LEFT";
  DividerDataAlignment2["RIGHT"] = "RIGHT";
  return DividerDataAlignment2;
})(DividerDataAlignment || {});
var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
  ViewMode2["NONE"] = "NONE";
  ViewMode2["FULL"] = "FULL";
  ViewMode2["MINI"] = "MINI";
  return ViewMode2;
})(ViewMode || {});
var LayoutType = /* @__PURE__ */ ((LayoutType2) => {
  LayoutType2["COLLAGE"] = "COLLAGE";
  LayoutType2["MASONRY"] = "MASONRY";
  LayoutType2["GRID"] = "GRID";
  LayoutType2["THUMBNAIL"] = "THUMBNAIL";
  LayoutType2["SLIDER"] = "SLIDER";
  LayoutType2["SLIDESHOW"] = "SLIDESHOW";
  LayoutType2["PANORAMA"] = "PANORAMA";
  LayoutType2["COLUMN"] = "COLUMN";
  LayoutType2["MAGIC"] = "MAGIC";
  LayoutType2["FULLSIZE"] = "FULLSIZE";
  return LayoutType2;
})(LayoutType || {});
var Orientation = /* @__PURE__ */ ((Orientation2) => {
  Orientation2["ROWS"] = "ROWS";
  Orientation2["COLUMNS"] = "COLUMNS";
  return Orientation2;
})(Orientation || {});
var Crop = /* @__PURE__ */ ((Crop2) => {
  Crop2["FILL"] = "FILL";
  Crop2["FIT"] = "FIT";
  return Crop2;
})(Crop || {});
var ThumbnailsAlignment = /* @__PURE__ */ ((ThumbnailsAlignment2) => {
  ThumbnailsAlignment2["TOP"] = "TOP";
  ThumbnailsAlignment2["RIGHT"] = "RIGHT";
  ThumbnailsAlignment2["BOTTOM"] = "BOTTOM";
  ThumbnailsAlignment2["LEFT"] = "LEFT";
  ThumbnailsAlignment2["NONE"] = "NONE";
  return ThumbnailsAlignment2;
})(ThumbnailsAlignment || {});
var GIFType = /* @__PURE__ */ ((GIFType2) => {
  GIFType2["NORMAL"] = "NORMAL";
  GIFType2["STICKER"] = "STICKER";
  return GIFType2;
})(GIFType || {});
var Source = /* @__PURE__ */ ((Source2) => {
  Source2["HTML"] = "HTML";
  Source2["ADSENSE"] = "ADSENSE";
  Source2["AI"] = "AI";
  Source2["AI_WIDGET"] = "AI_WIDGET";
  return Source2;
})(Source || {});
var StylesPosition = /* @__PURE__ */ ((StylesPosition2) => {
  StylesPosition2["START"] = "START";
  StylesPosition2["END"] = "END";
  StylesPosition2["TOP"] = "TOP";
  StylesPosition2["HIDDEN"] = "HIDDEN";
  return StylesPosition2;
})(StylesPosition || {});
var MapType = /* @__PURE__ */ ((MapType2) => {
  MapType2["ROADMAP"] = "ROADMAP";
  MapType2["SATELITE"] = "SATELITE";
  MapType2["HYBRID"] = "HYBRID";
  MapType2["TERRAIN"] = "TERRAIN";
  return MapType2;
})(MapType || {});
var ViewRole = /* @__PURE__ */ ((ViewRole2) => {
  ViewRole2["CREATOR"] = "CREATOR";
  ViewRole2["VOTERS"] = "VOTERS";
  ViewRole2["EVERYONE"] = "EVERYONE";
  return ViewRole2;
})(ViewRole || {});
var VoteRole = /* @__PURE__ */ ((VoteRole2) => {
  VoteRole2["SITE_MEMBERS"] = "SITE_MEMBERS";
  VoteRole2["ALL"] = "ALL";
  return VoteRole2;
})(VoteRole || {});
var PollLayoutType = /* @__PURE__ */ ((PollLayoutType2) => {
  PollLayoutType2["LIST"] = "LIST";
  PollLayoutType2["GRID"] = "GRID";
  return PollLayoutType2;
})(PollLayoutType || {});
var PollLayoutDirection = /* @__PURE__ */ ((PollLayoutDirection2) => {
  PollLayoutDirection2["LTR"] = "LTR";
  PollLayoutDirection2["RTL"] = "RTL";
  return PollLayoutDirection2;
})(PollLayoutDirection || {});
var PollDesignBackgroundType = /* @__PURE__ */ ((PollDesignBackgroundType2) => {
  PollDesignBackgroundType2["COLOR"] = "COLOR";
  PollDesignBackgroundType2["IMAGE"] = "IMAGE";
  PollDesignBackgroundType2["GRADIENT"] = "GRADIENT";
  return PollDesignBackgroundType2;
})(PollDesignBackgroundType || {});
var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
  DecorationType2["BOLD"] = "BOLD";
  DecorationType2["ITALIC"] = "ITALIC";
  DecorationType2["UNDERLINE"] = "UNDERLINE";
  DecorationType2["SPOILER"] = "SPOILER";
  DecorationType2["ANCHOR"] = "ANCHOR";
  DecorationType2["MENTION"] = "MENTION";
  DecorationType2["LINK"] = "LINK";
  DecorationType2["COLOR"] = "COLOR";
  DecorationType2["FONT_SIZE"] = "FONT_SIZE";
  DecorationType2["EXTERNAL"] = "EXTERNAL";
  DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
  DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
  DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
  DecorationType2["FONT_FAMILY"] = "FONT_FAMILY";
  DecorationType2["SKETCH"] = "SKETCH";
  return DecorationType2;
})(DecorationType || {});
var FontType = /* @__PURE__ */ ((FontType2) => {
  FontType2["PX"] = "PX";
  FontType2["EM"] = "EM";
  return FontType2;
})(FontType || {});
var Variant = /* @__PURE__ */ ((Variant2) => {
  Variant2["UNDERLINE"] = "UNDERLINE";
  Variant2["BOX"] = "BOX";
  Variant2["CIRCLE"] = "CIRCLE";
  Variant2["HIGHLIGHT"] = "HIGHLIGHT";
  Variant2["STRIKETHROUGH"] = "STRIKETHROUGH";
  Variant2["CROSSED_OFF"] = "CROSSED_OFF";
  return Variant2;
})(Variant || {});
var Position = /* @__PURE__ */ ((Position2) => {
  Position2["START"] = "START";
  Position2["END"] = "END";
  Position2["TOP"] = "TOP";
  return Position2;
})(Position || {});
var AspectRatio = /* @__PURE__ */ ((AspectRatio2) => {
  AspectRatio2["SQUARE"] = "SQUARE";
  AspectRatio2["RECTANGLE"] = "RECTANGLE";
  return AspectRatio2;
})(AspectRatio || {});
var Resizing = /* @__PURE__ */ ((Resizing2) => {
  Resizing2["FILL"] = "FILL";
  Resizing2["FIT"] = "FIT";
  return Resizing2;
})(Resizing || {});
var Placement = /* @__PURE__ */ ((Placement2) => {
  Placement2["IMAGE"] = "IMAGE";
  Placement2["PRODUCT_INFO"] = "PRODUCT_INFO";
  return Placement2;
})(Placement || {});
var CardStylesType = /* @__PURE__ */ ((CardStylesType2) => {
  CardStylesType2["CONTAINED"] = "CONTAINED";
  CardStylesType2["FRAMELESS"] = "FRAMELESS";
  return CardStylesType2;
})(CardStylesType || {});
var CardStylesAlignment = /* @__PURE__ */ ((CardStylesAlignment2) => {
  CardStylesAlignment2["START"] = "START";
  CardStylesAlignment2["CENTER"] = "CENTER";
  CardStylesAlignment2["END"] = "END";
  return CardStylesAlignment2;
})(CardStylesAlignment || {});
var Layout = /* @__PURE__ */ ((Layout2) => {
  Layout2["STACKED"] = "STACKED";
  Layout2["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
  return Layout2;
})(Layout || {});
var AppType = /* @__PURE__ */ ((AppType2) => {
  AppType2["PRODUCT"] = "PRODUCT";
  AppType2["EVENT"] = "EVENT";
  AppType2["BOOKING"] = "BOOKING";
  return AppType2;
})(AppType || {});
var InitialExpandedItems = /* @__PURE__ */ ((InitialExpandedItems2) => {
  InitialExpandedItems2["FIRST"] = "FIRST";
  InitialExpandedItems2["ALL"] = "ALL";
  InitialExpandedItems2["NONE"] = "NONE";
  return InitialExpandedItems2;
})(InitialExpandedItems || {});
var Direction = /* @__PURE__ */ ((Direction2) => {
  Direction2["LTR"] = "LTR";
  Direction2["RTL"] = "RTL";
  return Direction2;
})(Direction || {});
var VerticalAlignment = /* @__PURE__ */ ((VerticalAlignment2) => {
  VerticalAlignment2["TOP"] = "TOP";
  VerticalAlignment2["MIDDLE"] = "MIDDLE";
  VerticalAlignment2["BOTTOM"] = "BOTTOM";
  return VerticalAlignment2;
})(VerticalAlignment || {});
var NullValue = /* @__PURE__ */ ((NullValue2) => {
  NullValue2["NULL_VALUE"] = "NULL_VALUE";
  return NullValue2;
})(NullValue || {});
var ImageScalingScaling = /* @__PURE__ */ ((ImageScalingScaling2) => {
  ImageScalingScaling2["AUTO"] = "AUTO";
  ImageScalingScaling2["CONTAIN"] = "CONTAIN";
  ImageScalingScaling2["COVER"] = "COVER";
  return ImageScalingScaling2;
})(ImageScalingScaling || {});
var LayoutDataImagePosition = /* @__PURE__ */ ((LayoutDataImagePosition2) => {
  LayoutDataImagePosition2["CENTER"] = "CENTER";
  LayoutDataImagePosition2["CENTER_LEFT"] = "CENTER_LEFT";
  LayoutDataImagePosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
  LayoutDataImagePosition2["TOP"] = "TOP";
  LayoutDataImagePosition2["TOP_LEFT"] = "TOP_LEFT";
  LayoutDataImagePosition2["TOP_RIGHT"] = "TOP_RIGHT";
  LayoutDataImagePosition2["BOTTOM"] = "BOTTOM";
  LayoutDataImagePosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
  LayoutDataImagePosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
  return LayoutDataImagePosition2;
})(LayoutDataImagePosition || {});
var LayoutDataBackgroundType = /* @__PURE__ */ ((LayoutDataBackgroundType2) => {
  LayoutDataBackgroundType2["COLOR"] = "COLOR";
  LayoutDataBackgroundType2["GRADIENT"] = "GRADIENT";
  return LayoutDataBackgroundType2;
})(LayoutDataBackgroundType || {});
var Origin = /* @__PURE__ */ ((Origin2) => {
  Origin2["IMAGE"] = "IMAGE";
  Origin2["LAYOUT"] = "LAYOUT";
  return Origin2;
})(Origin || {});
var BannerPosition = /* @__PURE__ */ ((BannerPosition2) => {
  BannerPosition2["TOP"] = "TOP";
  BannerPosition2["BOTTOM"] = "BOTTOM";
  return BannerPosition2;
})(BannerPosition || {});
var BackdropType = /* @__PURE__ */ ((BackdropType2) => {
  BackdropType2["COLOR"] = "COLOR";
  BackdropType2["GRADIENT"] = "GRADIENT";
  return BackdropType2;
})(BackdropType || {});
var VerticalAlignmentAlignment = /* @__PURE__ */ ((VerticalAlignmentAlignment2) => {
  VerticalAlignmentAlignment2["TOP"] = "TOP";
  VerticalAlignmentAlignment2["MIDDLE"] = "MIDDLE";
  VerticalAlignmentAlignment2["BOTTOM"] = "BOTTOM";
  return VerticalAlignmentAlignment2;
})(VerticalAlignmentAlignment || {});
var ResponsivenessBehaviour = /* @__PURE__ */ ((ResponsivenessBehaviour2) => {
  ResponsivenessBehaviour2["STACK"] = "STACK";
  ResponsivenessBehaviour2["WRAP"] = "WRAP";
  return ResponsivenessBehaviour2;
})(ResponsivenessBehaviour || {});
var DesignTarget = /* @__PURE__ */ ((DesignTarget2) => {
  DesignTarget2["LAYOUT"] = "LAYOUT";
  DesignTarget2["CELL"] = "CELL";
  return DesignTarget2;
})(DesignTarget || {});
var Scaling = /* @__PURE__ */ ((Scaling2) => {
  Scaling2["AUTO"] = "AUTO";
  Scaling2["CONTAIN"] = "CONTAIN";
  Scaling2["COVER"] = "COVER";
  return Scaling2;
})(Scaling || {});
var ImagePositionPosition = /* @__PURE__ */ ((ImagePositionPosition2) => {
  ImagePositionPosition2["CENTER"] = "CENTER";
  ImagePositionPosition2["CENTER_LEFT"] = "CENTER_LEFT";
  ImagePositionPosition2["CENTER_RIGHT"] = "CENTER_RIGHT";
  ImagePositionPosition2["TOP"] = "TOP";
  ImagePositionPosition2["TOP_LEFT"] = "TOP_LEFT";
  ImagePositionPosition2["TOP_RIGHT"] = "TOP_RIGHT";
  ImagePositionPosition2["BOTTOM"] = "BOTTOM";
  ImagePositionPosition2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
  ImagePositionPosition2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
  return ImagePositionPosition2;
})(ImagePositionPosition || {});
var CardDataBackgroundType = /* @__PURE__ */ ((CardDataBackgroundType2) => {
  CardDataBackgroundType2["COLOR"] = "COLOR";
  CardDataBackgroundType2["GRADIENT"] = "GRADIENT";
  return CardDataBackgroundType2;
})(CardDataBackgroundType || {});
var ListStyle = /* @__PURE__ */ ((ListStyle2) => {
  ListStyle2["PLAIN"] = "PLAIN";
  ListStyle2["NUMBERED"] = "NUMBERED";
  ListStyle2["LETTERS"] = "LETTERS";
  ListStyle2["ROMAN"] = "ROMAN";
  ListStyle2["BULLETED"] = "BULLETED";
  ListStyle2["ALPHABETICAL_INDEX"] = "ALPHABETICAL_INDEX";
  ListStyle2["ALPHABETICAL_INDEX_COMPACT"] = "ALPHABETICAL_INDEX_COMPACT";
  return ListStyle2;
})(ListStyle || {});
var Indentation = /* @__PURE__ */ ((Indentation2) => {
  Indentation2["NESTED"] = "NESTED";
  Indentation2["FLAT"] = "FLAT";
  return Indentation2;
})(Indentation || {});
var SmartBlockDataType = /* @__PURE__ */ ((SmartBlockDataType2) => {
  SmartBlockDataType2["SOLID_BOXES"] = "SOLID_BOXES";
  SmartBlockDataType2["NUMBERED_BOXES"] = "NUMBERED_BOXES";
  SmartBlockDataType2["STATS"] = "STATS";
  SmartBlockDataType2["CIRCLE_STATS"] = "CIRCLE_STATS";
  SmartBlockDataType2["SOLID_BOXES_ALTERNATING"] = "SOLID_BOXES_ALTERNATING";
  SmartBlockDataType2["SOLID_JOINED_BOXES"] = "SOLID_JOINED_BOXES";
  SmartBlockDataType2["SIDE_LINE_TEXT"] = "SIDE_LINE_TEXT";
  SmartBlockDataType2["TOP_LINE_TEXT"] = "TOP_LINE_TEXT";
  SmartBlockDataType2["OUTLINE_BOXES_WITH_TOP_CIRCLE"] = "OUTLINE_BOXES_WITH_TOP_CIRCLE";
  SmartBlockDataType2["BIG_BULLETS"] = "BIG_BULLETS";
  SmartBlockDataType2["SMALL_BULLETS"] = "SMALL_BULLETS";
  SmartBlockDataType2["ARROW_BULLETS"] = "ARROW_BULLETS";
  SmartBlockDataType2["PROCESS_STEPS"] = "PROCESS_STEPS";
  SmartBlockDataType2["BAR_STATS"] = "BAR_STATS";
  SmartBlockDataType2["TIMELINE"] = "TIMELINE";
  SmartBlockDataType2["MINIMAL_TIMELINE"] = "MINIMAL_TIMELINE";
  SmartBlockDataType2["PILLS"] = "PILLS";
  SmartBlockDataType2["STAR_RATING"] = "STAR_RATING";
  SmartBlockDataType2["QUOTE_BOXES"] = "QUOTE_BOXES";
  SmartBlockDataType2["CIRCLE"] = "CIRCLE";
  SmartBlockDataType2["PYRAMID"] = "PYRAMID";
  SmartBlockDataType2["STAIRCASE"] = "STAIRCASE";
  SmartBlockDataType2["VERTICAL_FUNNEL"] = "VERTICAL_FUNNEL";
  return SmartBlockDataType2;
})(SmartBlockDataType || {});
var ColumnSize = /* @__PURE__ */ ((ColumnSize2) => {
  ColumnSize2["SMALL"] = "SMALL";
  ColumnSize2["MEDIUM"] = "MEDIUM";
  ColumnSize2["LARGE"] = "LARGE";
  ColumnSize2["EXTRA_LARGE"] = "EXTRA_LARGE";
  return ColumnSize2;
})(ColumnSize || {});
var ImagePosition = /* @__PURE__ */ ((ImagePosition2) => {
  ImagePosition2["ABOVE"] = "ABOVE";
  ImagePosition2["BELOW"] = "BELOW";
  return ImagePosition2;
})(ImagePosition || {});
var Alignment = /* @__PURE__ */ ((Alignment2) => {
  Alignment2["LEFT"] = "LEFT";
  Alignment2["CENTER"] = "CENTER";
  Alignment2["RIGHT"] = "RIGHT";
  return Alignment2;
})(Alignment || {});
var ImageFit = /* @__PURE__ */ ((ImageFit2) => {
  ImageFit2["COVER"] = "COVER";
  ImageFit2["CONTAIN"] = "CONTAIN";
  return ImageFit2;
})(ImageFit || {});
var NumberOfColumns = /* @__PURE__ */ ((NumberOfColumns2) => {
  NumberOfColumns2["ZERO"] = "ZERO";
  NumberOfColumns2["ONE"] = "ONE";
  NumberOfColumns2["TWO"] = "TWO";
  NumberOfColumns2["THREE"] = "THREE";
  return NumberOfColumns2;
})(NumberOfColumns || {});
var FirstDayOfWeek = /* @__PURE__ */ ((FirstDayOfWeek2) => {
  FirstDayOfWeek2["MONDAY"] = "MONDAY";
  FirstDayOfWeek2["SUNDAY"] = "SUNDAY";
  return FirstDayOfWeek2;
})(FirstDayOfWeek || {});
var NumberComponentType = /* @__PURE__ */ ((NumberComponentType2) => {
  NumberComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
  NumberComponentType2["NUMBER_INPUT"] = "NUMBER_INPUT";
  NumberComponentType2["RATING_INPUT"] = "RATING_INPUT";
  return NumberComponentType2;
})(NumberComponentType || {});
var BooleanComponentType = /* @__PURE__ */ ((BooleanComponentType2) => {
  BooleanComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
  BooleanComponentType2["CHECKBOX"] = "CHECKBOX";
  return BooleanComponentType2;
})(BooleanComponentType || {});
var ItemType = /* @__PURE__ */ ((ItemType2) => {
  ItemType2["STRING"] = "STRING";
  ItemType2["NUMBER"] = "NUMBER";
  ItemType2["BOOLEAN"] = "BOOLEAN";
  return ItemType2;
})(ItemType || {});
var PropertiesTypeEnum = /* @__PURE__ */ ((PropertiesTypeEnum2) => {
  PropertiesTypeEnum2["STRING"] = "STRING";
  PropertiesTypeEnum2["NUMBER"] = "NUMBER";
  PropertiesTypeEnum2["BOOLEAN"] = "BOOLEAN";
  PropertiesTypeEnum2["ARRAY"] = "ARRAY";
  return PropertiesTypeEnum2;
})(PropertiesTypeEnum || {});
var ArrayComponentType = /* @__PURE__ */ ((ArrayComponentType2) => {
  ArrayComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
  ArrayComponentType2["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
  ArrayComponentType2["TAGS"] = "TAGS";
  ArrayComponentType2["SERVICES_CHECKBOX_GROUP"] = "SERVICES_CHECKBOX_GROUP";
  return ArrayComponentType2;
})(ArrayComponentType || {});
var WixFileComponentType = /* @__PURE__ */ ((WixFileComponentType2) => {
  WixFileComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
  WixFileComponentType2["FILE_UPLOAD"] = "FILE_UPLOAD";
  WixFileComponentType2["SIGNATURE"] = "SIGNATURE";
  return WixFileComponentType2;
})(WixFileComponentType || {});
var UploadFileFormat = /* @__PURE__ */ ((UploadFileFormat2) => {
  UploadFileFormat2["VIDEO"] = "VIDEO";
  UploadFileFormat2["IMAGE"] = "IMAGE";
  UploadFileFormat2["AUDIO"] = "AUDIO";
  UploadFileFormat2["DOCUMENT"] = "DOCUMENT";
  UploadFileFormat2["ARCHIVE"] = "ARCHIVE";
  UploadFileFormat2["MODEL_3D"] = "MODEL_3D";
  return UploadFileFormat2;
})(UploadFileFormat || {});
var PaymentComponentType = /* @__PURE__ */ ((PaymentComponentType2) => {
  PaymentComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
  PaymentComponentType2["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
  PaymentComponentType2["DONATION_INPUT"] = "DONATION_INPUT";
  PaymentComponentType2["PAYMENT_INPUT"] = "PAYMENT_INPUT";
  PaymentComponentType2["FIXED_PAYMENT"] = "FIXED_PAYMENT";
  return PaymentComponentType2;
})(PaymentComponentType || {});
var ComponentType = /* @__PURE__ */ ((ComponentType2) => {
  ComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
  ComponentType2["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
  return ComponentType2;
})(ComponentType || {});
var Type = /* @__PURE__ */ ((Type2) => {
  Type2["UNKNOWN_DEFAULT_COUNTRY"] = "UNKNOWN_DEFAULT_COUNTRY";
  Type2["BY_IP"] = "BY_IP";
  Type2["COUNTRY"] = "COUNTRY";
  return Type2;
})(Type || {});
var ObjectArrayComponentType = /* @__PURE__ */ ((ObjectArrayComponentType2) => {
  ObjectArrayComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
  ObjectArrayComponentType2["REPEATER"] = "REPEATER";
  return ObjectArrayComponentType2;
})(ObjectArrayComponentType || {});
var SchedulingComponentType = /* @__PURE__ */ ((SchedulingComponentType2) => {
  SchedulingComponentType2["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
  SchedulingComponentType2["APPOINTMENT"] = "APPOINTMENT";
  return SchedulingComponentType2;
})(SchedulingComponentType || {});
var Format = /* @__PURE__ */ ((Format2) => {
  Format2["IN_PERSON"] = "IN_PERSON";
  Format2["VIDEO_CONFERENCE"] = "VIDEO_CONFERENCE";
  Format2["PHONE"] = "PHONE";
  return Format2;
})(Format || {});
var MeetingType = /* @__PURE__ */ ((MeetingType2) => {
  MeetingType2["SINGLE_STAFF"] = "SINGLE_STAFF";
  MeetingType2["ROUND_ROBIN"] = "ROUND_ROBIN";
  return MeetingType2;
})(MeetingType || {});
var StaffStrategySelection = /* @__PURE__ */ ((StaffStrategySelection2) => {
  StaffStrategySelection2["AUTOMATIC"] = "AUTOMATIC";
  StaffStrategySelection2["HIGH_TO_LOW_PRIORITY"] = "HIGH_TO_LOW_PRIORITY";
  StaffStrategySelection2["LOW_TO_HIGH_PRIORITY"] = "LOW_TO_HIGH_PRIORITY";
  return StaffStrategySelection2;
})(StaffStrategySelection || {});
var InputType = /* @__PURE__ */ ((InputType2) => {
  InputType2["UNKNOWN_INPUT_TYPE"] = "UNKNOWN_INPUT_TYPE";
  InputType2["STRING"] = "STRING";
  InputType2["NUMBER"] = "NUMBER";
  InputType2["BOOLEAN"] = "BOOLEAN";
  InputType2["ARRAY"] = "ARRAY";
  InputType2["OBJECT"] = "OBJECT";
  InputType2["WIX_FILE"] = "WIX_FILE";
  InputType2["PAYMENT"] = "PAYMENT";
  InputType2["SCHEDULING"] = "SCHEDULING";
  InputType2["ADDRESS"] = "ADDRESS";
  return InputType2;
})(InputType || {});
var EmailInfoTag = /* @__PURE__ */ ((EmailInfoTag2) => {
  EmailInfoTag2["UNTAGGED"] = "UNTAGGED";
  EmailInfoTag2["MAIN"] = "MAIN";
  return EmailInfoTag2;
})(EmailInfoTag || {});
var PhoneInfoTag = /* @__PURE__ */ ((PhoneInfoTag2) => {
  PhoneInfoTag2["UNTAGGED"] = "UNTAGGED";
  PhoneInfoTag2["MAIN"] = "MAIN";
  return PhoneInfoTag2;
})(PhoneInfoTag || {});
var Tag = /* @__PURE__ */ ((Tag2) => {
  Tag2["UNTAGGED"] = "UNTAGGED";
  Tag2["HOME"] = "HOME";
  return Tag2;
})(Tag || {});
var ConfirmationLevel = /* @__PURE__ */ ((ConfirmationLevel2) => {
  ConfirmationLevel2["UNKNOWN_CONFIRMATION_LEVEL"] = "UNKNOWN_CONFIRMATION_LEVEL";
  ConfirmationLevel2["SINGLE_CONFIRMATION"] = "SINGLE_CONFIRMATION";
  ConfirmationLevel2["DOUBLE_CONFIRMATION"] = "DOUBLE_CONFIRMATION";
  return ConfirmationLevel2;
})(ConfirmationLevel || {});
var SubscriptionChannel = /* @__PURE__ */ ((SubscriptionChannel2) => {
  SubscriptionChannel2["EMAIL"] = "EMAIL";
  SubscriptionChannel2["SMS"] = "SMS";
  return SubscriptionChannel2;
})(SubscriptionChannel || {});
var ContactField = /* @__PURE__ */ ((ContactField2) => {
  ContactField2["FIRST_NAME"] = "FIRST_NAME";
  ContactField2["LAST_NAME"] = "LAST_NAME";
  ContactField2["COMPANY"] = "COMPANY";
  ContactField2["POSITION"] = "POSITION";
  ContactField2["EMAIL"] = "EMAIL";
  ContactField2["PHONE"] = "PHONE";
  ContactField2["ADDRESS"] = "ADDRESS";
  ContactField2["BIRTHDATE"] = "BIRTHDATE";
  ContactField2["CUSTOM_FIELD"] = "CUSTOM_FIELD";
  ContactField2["SUBSCRIPTION"] = "SUBSCRIPTION";
  ContactField2["VAT_ID"] = "VAT_ID";
  return ContactField2;
})(ContactField || {});
var DisplayFieldType = /* @__PURE__ */ ((DisplayFieldType2) => {
  DisplayFieldType2["UNKNOWN_FIELD_TYPE"] = "UNKNOWN_FIELD_TYPE";
  DisplayFieldType2["RICH_CONTENT"] = "RICH_CONTENT";
  DisplayFieldType2["PAGE_NAVIGATION"] = "PAGE_NAVIGATION";
  DisplayFieldType2["LOGIN_BAR"] = "LOGIN_BAR";
  return DisplayFieldType2;
})(DisplayFieldType || {});
var OverrideEntityType = /* @__PURE__ */ ((OverrideEntityType2) => {
  OverrideEntityType2["UNKNOWN"] = "UNKNOWN";
  OverrideEntityType2["FIELD"] = "FIELD";
  return OverrideEntityType2;
})(OverrideEntityType || {});
var Kind = /* @__PURE__ */ ((Kind2) => {
  Kind2["REGULAR"] = "REGULAR";
  Kind2["EXTENSION"] = "EXTENSION";
  return Kind2;
})(Kind || {});
var FormFieldContactInfoEmailInfoTag = /* @__PURE__ */ ((FormFieldContactInfoEmailInfoTag2) => {
  FormFieldContactInfoEmailInfoTag2["UNTAGGED"] = "UNTAGGED";
  FormFieldContactInfoEmailInfoTag2["MAIN"] = "MAIN";
  return FormFieldContactInfoEmailInfoTag2;
})(FormFieldContactInfoEmailInfoTag || {});
var FormFieldContactInfoPhoneInfoTag = /* @__PURE__ */ ((FormFieldContactInfoPhoneInfoTag2) => {
  FormFieldContactInfoPhoneInfoTag2["UNTAGGED"] = "UNTAGGED";
  FormFieldContactInfoPhoneInfoTag2["MAIN"] = "MAIN";
  return FormFieldContactInfoPhoneInfoTag2;
})(FormFieldContactInfoPhoneInfoTag || {});
var AddressInfoTag = /* @__PURE__ */ ((AddressInfoTag2) => {
  AddressInfoTag2["UNTAGGED"] = "UNTAGGED";
  AddressInfoTag2["HOME"] = "HOME";
  return AddressInfoTag2;
})(AddressInfoTag || {});
var SubscriptionInfoOptInLevel = /* @__PURE__ */ ((SubscriptionInfoOptInLevel2) => {
  SubscriptionInfoOptInLevel2["UNKNOWN"] = "UNKNOWN";
  SubscriptionInfoOptInLevel2["SINGLE_CONFIRMATION"] = "SINGLE_CONFIRMATION";
  SubscriptionInfoOptInLevel2["DOUBLE_CONFIRMATION"] = "DOUBLE_CONFIRMATION";
  return SubscriptionInfoOptInLevel2;
})(SubscriptionInfoOptInLevel || {});
var FormFieldContactInfoContactField = /* @__PURE__ */ ((FormFieldContactInfoContactField2) => {
  FormFieldContactInfoContactField2["FIRST_NAME"] = "FIRST_NAME";
  FormFieldContactInfoContactField2["LAST_NAME"] = "LAST_NAME";
  FormFieldContactInfoContactField2["COMPANY"] = "COMPANY";
  FormFieldContactInfoContactField2["POSITION"] = "POSITION";
  FormFieldContactInfoContactField2["EMAIL"] = "EMAIL";
  FormFieldContactInfoContactField2["PHONE"] = "PHONE";
  FormFieldContactInfoContactField2["ADDRESS"] = "ADDRESS";
  FormFieldContactInfoContactField2["BIRTHDATE"] = "BIRTHDATE";
  FormFieldContactInfoContactField2["CUSTOM_FIELD"] = "CUSTOM_FIELD";
  FormFieldContactInfoContactField2["SUBSCRIPTION"] = "SUBSCRIPTION";
  FormFieldContactInfoContactField2["VAT_ID"] = "VAT_ID";
  return FormFieldContactInfoContactField2;
})(FormFieldContactInfoContactField || {});
var SpamFilterProtectionLevel = /* @__PURE__ */ ((SpamFilterProtectionLevel2) => {
  SpamFilterProtectionLevel2["UNKNOWN"] = "UNKNOWN";
  SpamFilterProtectionLevel2["NONE"] = "NONE";
  SpamFilterProtectionLevel2["BASIC"] = "BASIC";
  SpamFilterProtectionLevel2["ADVANCED"] = "ADVANCED";
  return SpamFilterProtectionLevel2;
})(SpamFilterProtectionLevel || {});
var RequiredIndicator = /* @__PURE__ */ ((RequiredIndicator2) => {
  RequiredIndicator2["ASTERISK"] = "ASTERISK";
  RequiredIndicator2["TEXT"] = "TEXT";
  RequiredIndicator2["NONE"] = "NONE";
  return RequiredIndicator2;
})(RequiredIndicator || {});
var RequiredIndicatorPlacement = /* @__PURE__ */ ((RequiredIndicatorPlacement2) => {
  RequiredIndicatorPlacement2["AFTER_FIELD_TITLE"] = "AFTER_FIELD_TITLE";
  RequiredIndicatorPlacement2["BEFORE_FIELD_TITLE"] = "BEFORE_FIELD_TITLE";
  return RequiredIndicatorPlacement2;
})(RequiredIndicatorPlacement || {});
var Target = /* @__PURE__ */ ((Target2) => {
  Target2["UNKNOWN_TARGET"] = "UNKNOWN_TARGET";
  Target2["SELF"] = "SELF";
  Target2["BLANK"] = "BLANK";
  return Target2;
})(Target || {});
var SubmitSuccessAction = /* @__PURE__ */ ((SubmitSuccessAction2) => {
  SubmitSuccessAction2["NO_ACTION"] = "NO_ACTION";
  SubmitSuccessAction2["THANK_YOU_MESSAGE"] = "THANK_YOU_MESSAGE";
  SubmitSuccessAction2["REDIRECT"] = "REDIRECT";
  SubmitSuccessAction2["POPUP"] = "POPUP";
  return SubmitSuccessAction2;
})(SubmitSuccessAction || {});
var ChangeableProperty = /* @__PURE__ */ ((ChangeableProperty2) => {
  ChangeableProperty2["REQUIRED"] = "REQUIRED";
  ChangeableProperty2["HIDDEN"] = "HIDDEN";
  ChangeableProperty2["ALLOWED_VALUES"] = "ALLOWED_VALUES";
  return ChangeableProperty2;
})(ChangeableProperty || {});
var OverrideEntityTypeEnumOverrideEntityType = /* @__PURE__ */ ((OverrideEntityTypeEnumOverrideEntityType2) => {
  OverrideEntityTypeEnumOverrideEntityType2["FIELD"] = "FIELD";
  return OverrideEntityTypeEnumOverrideEntityType2;
})(OverrideEntityTypeEnumOverrideEntityType || {});
var Operator = /* @__PURE__ */ ((Operator2) => {
  Operator2["EQUAL"] = "EQUAL";
  Operator2["NOT_EQUAL"] = "NOT_EQUAL";
  Operator2["EMPTY"] = "EMPTY";
  Operator2["NOT_EMPTY"] = "NOT_EMPTY";
  Operator2["CONTAINS"] = "CONTAINS";
  Operator2["NOT_CONTAINS"] = "NOT_CONTAINS";
  Operator2["LESS_THAN"] = "LESS_THAN";
  Operator2["LESS_THAN_OR_EQUALS"] = "LESS_THAN_OR_EQUALS";
  Operator2["GREATER_THAN"] = "GREATER_THAN";
  Operator2["GREATER_THAN_OR_EQUALS"] = "GREATER_THAN_OR_EQUALS";
  Operator2["BEFORE"] = "BEFORE";
  Operator2["BEFORE_OR_EQUAL"] = "BEFORE_OR_EQUAL";
  Operator2["AFTER"] = "AFTER";
  Operator2["AFTER_OR_EQUAL"] = "AFTER_OR_EQUAL";
  Operator2["BETWEEN"] = "BETWEEN";
  Operator2["ANY"] = "ANY";
  Operator2["ARRAY_EQUAL"] = "ARRAY_EQUAL";
  Operator2["ARRAY_NOT_EQUAL"] = "ARRAY_NOT_EQUAL";
  Operator2["CHECKED"] = "CHECKED";
  Operator2["NOT_CHECKED"] = "NOT_CHECKED";
  Operator2["IN"] = "IN";
  Operator2["NOT_IN"] = "NOT_IN";
  Operator2["IS_DATE_OLDER_THAN"] = "IS_DATE_OLDER_THAN";
  Operator2["IS_DATE_OLDER_THAN_OR_EQUAL"] = "IS_DATE_OLDER_THAN_OR_EQUAL";
  Operator2["IS_DATE_NEWER_THAN"] = "IS_DATE_NEWER_THAN";
  Operator2["IS_DATE_NEWER_THAN_OR_EQUAL"] = "IS_DATE_NEWER_THAN_OR_EQUAL";
  return Operator2;
})(Operator || {});
var ResultsDisplay = /* @__PURE__ */ ((ResultsDisplay2) => {
  ResultsDisplay2["DO_NOT_DISPLAY"] = "DO_NOT_DISPLAY";
  ResultsDisplay2["SCORE"] = "SCORE";
  ResultsDisplay2["PASSING_STATUS"] = "PASSING_STATUS";
  ResultsDisplay2["SCORE_AND_PASSING_STATUS"] = "SCORE_AND_PASSING_STATUS";
  return ResultsDisplay2;
})(ResultsDisplay || {});
var ContactAutofill = /* @__PURE__ */ ((ContactAutofill2) => {
  ContactAutofill2["MEMBER_DATA"] = "MEMBER_DATA";
  ContactAutofill2["FORM_INPUT"] = "FORM_INPUT";
  return ContactAutofill2;
})(ContactAutofill || {});
var SubmissionAccess = /* @__PURE__ */ ((SubmissionAccess2) => {
  SubmissionAccess2["UNKNOWN_SUBMISSION_ACCESS"] = "UNKNOWN_SUBMISSION_ACCESS";
  SubmissionAccess2["OWNER_AND_COLLABORATORS"] = "OWNER_AND_COLLABORATORS";
  SubmissionAccess2["MEMBERS"] = "MEMBERS";
  SubmissionAccess2["PUBLIC"] = "PUBLIC";
  return SubmissionAccess2;
})(SubmissionAccess || {});
var IdentityType = /* @__PURE__ */ ((IdentityType2) => {
  IdentityType2["UNKNOWN"] = "UNKNOWN";
  IdentityType2["CONTACT"] = "CONTACT";
  IdentityType2["MEMBER"] = "MEMBER";
  IdentityType2["NOT_AUTHENTICATED_MEMBER"] = "NOT_AUTHENTICATED_MEMBER";
  return IdentityType2;
})(IdentityType || {});
var SubscriptionStatus = /* @__PURE__ */ ((SubscriptionStatus2) => {
  SubscriptionStatus2["NO_SUBSCRIPTION_STATUS"] = "NO_SUBSCRIPTION_STATUS";
  SubscriptionStatus2["NOT_SET"] = "NOT_SET";
  SubscriptionStatus2["PENDING"] = "PENDING";
  SubscriptionStatus2["SUBSCRIBED"] = "SUBSCRIBED";
  SubscriptionStatus2["UNSUBSCRIBED"] = "UNSUBSCRIBED";
  return SubscriptionStatus2;
})(SubscriptionStatus || {});
var EmailDeliverabilityStatus = /* @__PURE__ */ ((EmailDeliverabilityStatus2) => {
  EmailDeliverabilityStatus2["NOT_SET"] = "NOT_SET";
  EmailDeliverabilityStatus2["VALID"] = "VALID";
  EmailDeliverabilityStatus2["BOUNCED"] = "BOUNCED";
  EmailDeliverabilityStatus2["SPAM_COMPLAINT"] = "SPAM_COMPLAINT";
  EmailDeliverabilityStatus2["INACTIVE"] = "INACTIVE";
  return EmailDeliverabilityStatus2;
})(EmailDeliverabilityStatus || {});
var PhoneTag = /* @__PURE__ */ ((PhoneTag2) => {
  PhoneTag2["OTHER"] = "OTHER";
  PhoneTag2["MAIN"] = "MAIN";
  PhoneTag2["HOME"] = "HOME";
  PhoneTag2["MOBILE"] = "MOBILE";
  PhoneTag2["WORK"] = "WORK";
  PhoneTag2["FAX"] = "FAX";
  return PhoneTag2;
})(PhoneTag || {});
var PhoneDeliverabilityStatus = /* @__PURE__ */ ((PhoneDeliverabilityStatus2) => {
  PhoneDeliverabilityStatus2["NO_PHONE_DELIVERABILITY_STATUS"] = "NO_PHONE_DELIVERABILITY_STATUS";
  PhoneDeliverabilityStatus2["NOT_SET"] = "NOT_SET";
  PhoneDeliverabilityStatus2["VALID"] = "VALID";
  PhoneDeliverabilityStatus2["INVALID"] = "INVALID";
  return PhoneDeliverabilityStatus2;
})(PhoneDeliverabilityStatus || {});
var AddressTag = /* @__PURE__ */ ((AddressTag2) => {
  AddressTag2["OTHER"] = "OTHER";
  AddressTag2["HOME"] = "HOME";
  AddressTag2["WORK"] = "WORK";
  AddressTag2["BILLING"] = "BILLING";
  AddressTag2["SHIPPING"] = "SHIPPING";
  return AddressTag2;
})(AddressTag || {});
var SubdivisionType = /* @__PURE__ */ ((SubdivisionType2) => {
  SubdivisionType2["UNKNOWN_SUBDIVISION_TYPE"] = "UNKNOWN_SUBDIVISION_TYPE";
  SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_1"] = "ADMINISTRATIVE_AREA_LEVEL_1";
  SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_2"] = "ADMINISTRATIVE_AREA_LEVEL_2";
  SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_3"] = "ADMINISTRATIVE_AREA_LEVEL_3";
  SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_4"] = "ADMINISTRATIVE_AREA_LEVEL_4";
  SubdivisionType2["ADMINISTRATIVE_AREA_LEVEL_5"] = "ADMINISTRATIVE_AREA_LEVEL_5";
  SubdivisionType2["COUNTRY"] = "COUNTRY";
  return SubdivisionType2;
})(SubdivisionType || {});
var MemberStatus = /* @__PURE__ */ ((MemberStatus2) => {
  MemberStatus2["PENDING"] = "PENDING";
  MemberStatus2["ACTIVE"] = "ACTIVE";
  MemberStatus2["BLOCKED"] = "BLOCKED";
  MemberStatus2["OFFLINE"] = "OFFLINE";
  return MemberStatus2;
})(MemberStatus || {});
var PrivacyStatus = /* @__PURE__ */ ((PrivacyStatus2) => {
  PrivacyStatus2["PRIVATE"] = "PRIVATE";
  PrivacyStatus2["PUBLIC"] = "PUBLIC";
  return PrivacyStatus2;
})(PrivacyStatus || {});
var Role = /* @__PURE__ */ ((Role2) => {
  Role2["OWNER"] = "OWNER";
  Role2["CONTRIBUTOR"] = "CONTRIBUTOR";
  Role2["MEMBER"] = "MEMBER";
  return Role2;
})(Role || {});
var Action = /* @__PURE__ */ ((Action2) => {
  Action2["UPDATED"] = "UPDATED";
  Action2["CREATED"] = "CREATED";
  return Action2;
})(Action || {});
var ErrorType = /* @__PURE__ */ ((ErrorType2) => {
  ErrorType2["UNKNOWN_ERROR"] = "UNKNOWN_ERROR";
  ErrorType2["TYPE_ERROR"] = "TYPE_ERROR";
  ErrorType2["REQUIRED_VALUE_ERROR"] = "REQUIRED_VALUE_ERROR";
  ErrorType2["UNKNOWN_VALUE_ERROR"] = "UNKNOWN_VALUE_ERROR";
  ErrorType2["MAX_LENGTH_ERROR"] = "MAX_LENGTH_ERROR";
  ErrorType2["MIN_LENGTH_ERROR"] = "MIN_LENGTH_ERROR";
  ErrorType2["PATTERN_ERROR"] = "PATTERN_ERROR";
  ErrorType2["FORMAT_ERROR"] = "FORMAT_ERROR";
  ErrorType2["MAX_VALUE_ERROR"] = "MAX_VALUE_ERROR";
  ErrorType2["MIN_VALUE_ERROR"] = "MIN_VALUE_ERROR";
  ErrorType2["MULTIPLE_OF_VALUE_ERROR"] = "MULTIPLE_OF_VALUE_ERROR";
  ErrorType2["MIN_ITEMS_ERROR"] = "MIN_ITEMS_ERROR";
  ErrorType2["MAX_ITEMS_ERROR"] = "MAX_ITEMS_ERROR";
  ErrorType2["NOT_ALLOWED_VALUE_ERROR"] = "NOT_ALLOWED_VALUE_ERROR";
  ErrorType2["FIELDS_COMPATIBILITY_ERROR"] = "FIELDS_COMPATIBILITY_ERROR";
  ErrorType2["DISABLED_FORM_ERROR"] = "DISABLED_FORM_ERROR";
  ErrorType2["FORMS_COUNT_RESTRICTIONS_ERROR"] = "FORMS_COUNT_RESTRICTIONS_ERROR";
  ErrorType2["FIELDS_COUNT_RESTRICTIONS_ERROR"] = "FIELDS_COUNT_RESTRICTIONS_ERROR";
  ErrorType2["STEPS_COUNT_RESTRICTIONS_ERROR"] = "STEPS_COUNT_RESTRICTIONS_ERROR";
  ErrorType2["RULES_COUNT_RESTRICTIONS_ERROR"] = "RULES_COUNT_RESTRICTIONS_ERROR";
  ErrorType2["FILE_UPLOAD_RESTRICTIONS_ERROR"] = "FILE_UPLOAD_RESTRICTIONS_ERROR";
  ErrorType2["INVALID_PHONE_COUNTRY_CODE_ERROR"] = "INVALID_PHONE_COUNTRY_CODE_ERROR";
  ErrorType2["INVALID_STAFF_ID_ERROR"] = "INVALID_STAFF_ID_ERROR";
  ErrorType2["INVALID_LOCATION_ID_ERROR"] = "INVALID_LOCATION_ID_ERROR";
  ErrorType2["MISSING_SERVICE_OPTION_ERROR"] = "MISSING_SERVICE_OPTION_ERROR";
  ErrorType2["INVALID_SERVICE_OPTIONS_ERROR"] = "INVALID_SERVICE_OPTIONS_ERROR";
  ErrorType2["NO_AVAILABLE_SERVICE_OPTIONS_ERROR"] = "NO_AVAILABLE_SERVICE_OPTIONS_ERROR";
  ErrorType2["EXACT_CHARACTER_LENGTH_ERROR"] = "EXACT_CHARACTER_LENGTH_ERROR";
  ErrorType2["CHARACTER_LENGTH_RANGE_ERROR"] = "CHARACTER_LENGTH_RANGE_ERROR";
  ErrorType2["VALUE_RANGE_ERROR"] = "VALUE_RANGE_ERROR";
  ErrorType2["EXACT_ITEMS_NUMBER_ERROR"] = "EXACT_ITEMS_NUMBER_ERROR";
  ErrorType2["DECIMAL_POINT_ERROR"] = "DECIMAL_POINT_ERROR";
  ErrorType2["INCOMPLETE_DATE_ERROR"] = "INCOMPLETE_DATE_ERROR";
  ErrorType2["INVALID_VALUE_FOR_PATTERN_ERROR"] = "INVALID_VALUE_FOR_PATTERN_ERROR";
  ErrorType2["INVALID_DEFAULT_VALUE_ERROR"] = "INVALID_DEFAULT_VALUE_ERROR";
  return ErrorType2;
})(ErrorType || {});
var Status = /* @__PURE__ */ ((Status2) => {
  Status2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
  Status2["READY"] = "READY";
  Status2["PENDING"] = "PENDING";
  Status2["FAILED"] = "FAILED";
  return Status2;
})(Status || {});
var SubmissionErrorType = /* @__PURE__ */ ((SubmissionErrorType2) => {
  SubmissionErrorType2["UNKNOWN_ERROR"] = "UNKNOWN_ERROR";
  SubmissionErrorType2["TYPE_ERROR"] = "TYPE_ERROR";
  SubmissionErrorType2["REQUIRED_VALUE_ERROR"] = "REQUIRED_VALUE_ERROR";
  SubmissionErrorType2["UNKNOWN_VALUE_ERROR"] = "UNKNOWN_VALUE_ERROR";
  SubmissionErrorType2["MAX_LENGTH_ERROR"] = "MAX_LENGTH_ERROR";
  SubmissionErrorType2["MIN_LENGTH_ERROR"] = "MIN_LENGTH_ERROR";
  SubmissionErrorType2["PATTERN_ERROR"] = "PATTERN_ERROR";
  SubmissionErrorType2["FORMAT_ERROR"] = "FORMAT_ERROR";
  SubmissionErrorType2["MAX_VALUE_ERROR"] = "MAX_VALUE_ERROR";
  SubmissionErrorType2["MIN_VALUE_ERROR"] = "MIN_VALUE_ERROR";
  SubmissionErrorType2["MULTIPLE_OF_VALUE_ERROR"] = "MULTIPLE_OF_VALUE_ERROR";
  SubmissionErrorType2["MIN_ITEMS_ERROR"] = "MIN_ITEMS_ERROR";
  SubmissionErrorType2["MAX_ITEMS_ERROR"] = "MAX_ITEMS_ERROR";
  SubmissionErrorType2["NOT_ALLOWED_VALUE_ERROR"] = "NOT_ALLOWED_VALUE_ERROR";
  SubmissionErrorType2["DISABLED_FORM_ERROR"] = "DISABLED_FORM_ERROR";
  return SubmissionErrorType2;
})(SubmissionErrorType || {});

// src/forms-v4-submission-submissions.meta.ts
function upsertContactFromSubmission2() {
  const payload = {};
  const getRequestOptions = upsertContactFromSubmission(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "POST",
    path: "/v4/submissions-contacts",
    pathParams: {},
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function createSubmission2() {
  const payload = {};
  const getRequestOptions = createSubmission(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "POST",
    path: "/v4/submissions",
    pathParams: {},
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function getSubmission2() {
  const payload = { submissionId: ":submissionId" };
  const getRequestOptions = getSubmission(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "GET",
    path: "/v4/submissions/{submissionId}",
    pathParams: { submissionId: "submissionId" },
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function updateSubmission2() {
  const payload = { submission: { id: ":submissionId" } };
  const getRequestOptions = updateSubmission(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "PATCH",
    path: "/v4/submissions/{submission.id}",
    pathParams: { submissionId: "submissionId" },
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function confirmSubmission2() {
  const payload = { submissionId: ":submissionId" };
  const getRequestOptions = confirmSubmission(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "POST",
    path: "/v4/submissions/{submissionId}/confirm",
    pathParams: { submissionId: "submissionId" },
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function deleteSubmission2() {
  const payload = { submissionId: ":submissionId" };
  const getRequestOptions = deleteSubmission(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "DELETE",
    path: "/v4/submissions/{submissionId}",
    pathParams: { submissionId: "submissionId" },
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function bulkDeleteSubmission2() {
  const payload = {};
  const getRequestOptions = bulkDeleteSubmission(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "POST",
    path: "/v4/bulk/submissions/delete",
    pathParams: {},
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function restoreSubmissionFromTrashBin2() {
  const payload = { submissionId: ":submissionId" };
  const getRequestOptions = restoreSubmissionFromTrashBin(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "POST",
    path: "/v4/submissions/trash-bin/{submissionId}/restore",
    pathParams: { submissionId: "submissionId" },
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function removeSubmissionFromTrashBin2() {
  const payload = { submissionId: ":submissionId" };
  const getRequestOptions = removeSubmissionFromTrashBin(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "DELETE",
    path: "/v4/submissions/trash-bin/{submissionId}",
    pathParams: { submissionId: "submissionId" },
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function bulkRemoveSubmissionFromTrashBin2() {
  const payload = {};
  const getRequestOptions = bulkRemoveSubmissionFromTrashBin(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "POST",
    path: "/v4/submissions/trash-bin/delete",
    pathParams: {},
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function listDeletedSubmissions2() {
  const payload = {};
  const getRequestOptions = listDeletedSubmissions(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "GET",
    path: "/v4/submissions/trash-bin",
    pathParams: {},
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function getDeletedSubmission2() {
  const payload = { submissionId: ":submissionId" };
  const getRequestOptions = getDeletedSubmission(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "GET",
    path: "/v4/submissions/trash-bin/{submissionId}",
    pathParams: { submissionId: "submissionId" },
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function querySubmission2() {
  const payload = {};
  const getRequestOptions = querySubmission(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "POST",
    path: "/v4/submissions/query",
    pathParams: {},
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function searchSubmissionsByNamespace2() {
  const payload = {};
  const getRequestOptions = searchSubmissionsByNamespace(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "POST",
    path: "/v4/submissions/namespace/search",
    pathParams: {},
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function querySubmissionsByNamespace2() {
  const payload = {};
  const getRequestOptions = querySubmissionsByNamespace(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "POST",
    path: "/v4/submissions/namespace/query",
    pathParams: {},
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function countSubmissionsByFilter2() {
  const payload = {};
  const getRequestOptions = countSubmissionsByFilter(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "POST",
    path: "/v4/submissions/count-by-filter",
    pathParams: {},
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function countSubmissions2() {
  const payload = {};
  const getRequestOptions = countSubmissions(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "POST",
    path: "/v4/submissions/count",
    pathParams: {},
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function countDeletedSubmissions2() {
  const payload = {};
  const getRequestOptions = countDeletedSubmissions(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "POST",
    path: "/v4/submissions/trash-bin/count",
    pathParams: {},
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function getMediaUploadUrl2() {
  const payload = {};
  const getRequestOptions = getMediaUploadUrl(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "POST",
    path: "/v4/submissions/media-upload-url",
    pathParams: {},
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function bulkMarkSubmissionsAsSeen2() {
  const payload = {};
  const getRequestOptions = bulkMarkSubmissionsAsSeen(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "POST",
    path: "/v4/bulk/submissions/mark-as-seen",
    pathParams: {},
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function getSubmissionDownloadUrl2() {
  const payload = { submissionId: ":submissionId" };
  const getRequestOptions = getSubmissionDownloadUrl(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "GET",
    path: "/v4/submissions/{submissionId}/document",
    pathParams: { submissionId: "submissionId" },
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function downloadSubmission2() {
  const payload = { submissionId: ":submissionId" };
  const getRequestOptions = downloadSubmission(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "GET",
    path: "/v4/submissions/{submissionId}/download",
    pathParams: { submissionId: "submissionId" },
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function getFormattedSubmission2() {
  const payload = { submissionId: ":submissionId" };
  const getRequestOptions = getFormattedSubmission(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "GET",
    path: "/v4/submissions/{submissionId}/formatted",
    pathParams: { submissionId: "submissionId" },
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function updateExtendedFields2() {
  const payload = { id: ":id" };
  const getRequestOptions = updateExtendedFields(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "POST",
    path: "/v4/submissions/{id}/extended-fields",
    pathParams: { id: "id" },
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function bulkUpdateFormSubmissionTags2() {
  const payload = {};
  const getRequestOptions = bulkUpdateFormSubmissionTags(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "POST",
    path: "/v4/bulk/submissions/update-tags",
    pathParams: {},
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function bulkUpdateFormSubmissionTagsByFilter2() {
  const payload = {};
  const getRequestOptions = bulkUpdateFormSubmissionTagsByFilter(
    payload
  );
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "POST",
    path: "/v4/bulk/submissions/update-tags-by-filter",
    pathParams: {},
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
function validateFormSubmission2() {
  const payload = {};
  const getRequestOptions = validateFormSubmission(payload);
  const getUrl = (context) => {
    const { url } = getRequestOptions(context);
    return url;
  };
  return {
    getUrl,
    httpMethod: "POST",
    path: "/v4/submissions/validate",
    pathParams: {},
    __requestType: null,
    __originalRequestType: null,
    __responseType: null,
    __originalResponseType: null
  };
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  ActionOriginal,
  AddressInfoTagOriginal,
  AddressTagOriginal,
  AlignmentOriginal,
  AppTypeOriginal,
  ArrayComponentTypeOriginal,
  AspectRatioOriginal,
  BackdropTypeOriginal,
  BackgroundTypeOriginal,
  BannerPositionOriginal,
  BooleanComponentTypeOriginal,
  ButtonDataTypeOriginal,
  CardDataBackgroundTypeOriginal,
  CardStylesAlignmentOriginal,
  CardStylesTypeOriginal,
  ChangeablePropertyOriginal,
  ColumnSizeOriginal,
  ComponentTypeOriginal,
  ConfirmationLevelOriginal,
  ContactAutofillOriginal,
  ContactFieldOriginal,
  CropOriginal,
  DayOfWeekOriginal,
  DecorationTypeOriginal,
  DesignTargetOriginal,
  DirectionOriginal,
  DisplayFieldTypeOriginal,
  DividerDataAlignmentOriginal,
  EmailDeliverabilityStatusOriginal,
  EmailInfoTagOriginal,
  ErrorTypeOriginal,
  FieldTypeOriginal,
  FirstDayOfWeekOriginal,
  FontTypeOriginal,
  FormFieldContactInfoContactFieldOriginal,
  FormFieldContactInfoEmailInfoTagOriginal,
  FormFieldContactInfoPhoneInfoTagOriginal,
  FormatEnumFormatOriginal,
  FormatOriginal,
  GIFTypeOriginal,
  GradientTypeOriginal,
  IdentityTypeOriginal,
  ImageFitOriginal,
  ImagePositionOriginal,
  ImagePositionPositionOriginal,
  ImageScalingScalingOriginal,
  IndentationOriginal,
  InitialExpandedItemsOriginal,
  InputTypeOriginal,
  ItemTypeOriginal,
  KindOriginal,
  LayoutDataBackgroundTypeOriginal,
  LayoutDataImagePositionOriginal,
  LayoutOriginal,
  LayoutTypeOriginal,
  LineStyleOriginal,
  LinkTargetOriginal,
  ListStyleOriginal,
  MapTypeOriginal,
  MeetingTypeOriginal,
  MemberStatusOriginal,
  ModeOriginal,
  NodeTypeOriginal,
  NullValueOriginal,
  NumberComponentTypeOriginal,
  NumberOfColumnsOriginal,
  ObjectArrayComponentTypeOriginal,
  OperatorOriginal,
  OptInLevelOriginal,
  OrientationOriginal,
  OriginOriginal,
  OverrideEntityTypeEnumOverrideEntityTypeOriginal,
  OverrideEntityTypeOriginal,
  PaymentComponentTypeOriginal,
  PhoneDeliverabilityStatusOriginal,
  PhoneInfoTagOriginal,
  PhoneTagOriginal,
  PlacementOriginal,
  PluginContainerDataAlignmentOriginal,
  PollDesignBackgroundTypeOriginal,
  PollLayoutDirectionOriginal,
  PollLayoutTypeOriginal,
  PositionOriginal,
  PriceTypeOriginal,
  PrivacyStatusOriginal,
  ProductTypeOriginal,
  PropertiesTypeEnumOriginal,
  RequiredIndicatorOriginal,
  RequiredIndicatorPlacementOriginal,
  ResizingOriginal,
  ResponsivenessBehaviourOriginal,
  ResultsDisplayOriginal,
  RoleOriginal,
  ScalingOriginal,
  SchedulingComponentTypeOriginal,
  SmartBlockDataTypeOriginal,
  SortOrderOriginal,
  SourceOriginal,
  SpamFilterProtectionLevelOriginal,
  StaffStrategySelectionOriginal,
  StatusOriginal,
  StringComponentTypeOriginal,
  StringTypeFormatEnumFormatOriginal,
  StylesPositionOriginal,
  SubdivisionTypeOriginal,
  SubmissionAccessOriginal,
  SubmissionErrorTypeOriginal,
  SubmissionStatusOriginal,
  SubmitSuccessActionOriginal,
  SubscriptionChannelOriginal,
  SubscriptionInfoOptInLevelOriginal,
  SubscriptionStatusOriginal,
  TagOriginal,
  TargetOriginal,
  TextAlignmentOriginal,
  ThumbnailsAlignmentOriginal,
  TypeOriginal,
  UploadFileFormatOriginal,
  ValidationFormatOriginal,
  VariantOriginal,
  VerticalAlignmentAlignmentOriginal,
  VerticalAlignmentOriginal,
  ViewModeOriginal,
  ViewRoleOriginal,
  VoteRoleOriginal,
  WebhookIdentityTypeOriginal,
  WidthOriginal,
  WidthTypeOriginal,
  WixFileComponentTypeOriginal,
  bulkDeleteSubmission,
  bulkMarkSubmissionsAsSeen,
  bulkRemoveSubmissionFromTrashBin,
  bulkUpdateFormSubmissionTags,
  bulkUpdateFormSubmissionTagsByFilter,
  confirmSubmission,
  countDeletedSubmissions,
  countSubmissions,
  countSubmissionsByFilter,
  createSubmission,
  deleteSubmission,
  downloadSubmission,
  getDeletedSubmission,
  getFormattedSubmission,
  getMediaUploadUrl,
  getSubmission,
  getSubmissionDownloadUrl,
  listDeletedSubmissions,
  querySubmission,
  querySubmissionsByNamespace,
  removeSubmissionFromTrashBin,
  restoreSubmissionFromTrashBin,
  searchSubmissionsByNamespace,
  updateExtendedFields,
  updateSubmission,
  upsertContactFromSubmission,
  validateFormSubmission
});
//# sourceMappingURL=meta.js.map