import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { StandaloneForm, CreateStandaloneFormApplicationErrors, DeleteStandaloneFormOptions, RestoreStandaloneFormFromTrashBinResponse, GetDeletedStandaloneFormResponse, ListDeletedStandaloneFormsOptions, ListDeletedStandaloneFormsResponse, CursorQuery, QueryStandaloneFormsResponse, GetSitePropertiesResponse, GetSitePropertiesApplicationErrors } from './index.typings.mjs'; export { AccountInfo, ActionEvent, Address, AddressHint, Asset, BusinessSchedule, Categories, ChangeContext, ChangeContextPayloadOneOf, ConsentPolicy, CreateStandaloneFormRequest, CreateStandaloneFormResponse, CursorPaging, CursorPagingMetadata, CursorQueryPagingMethodOneOf, Cursors, DayOfWeek, DayOfWeekWithLiterals, DeleteContext, DeleteStandaloneFormRequest, DeleteStandaloneFormResponse, DeleteStatus, DeleteStatusWithLiterals, DomainEvent, DomainEventBodyOneOf, EditorlessAssigned, EditorlessUnassigned, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, GeoCoordinates, GetDeletedStandaloneFormRequest, GetOrCreateFormStandaloneMetaSiteRequest, GetOrCreateFormStandaloneMetaSiteResponse, GetSitePropertiesRequest, GetStandaloneFormRequest, GetStandaloneFormResponse, IdentificationData, IdentificationDataIdOneOf, ListDeletedStandaloneFormsRequest, Locale, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Multilingual, Namespace, NamespaceChanged, NamespaceWithLiterals, OdeditorAssigned, OdeditorUnassigned, PicassoAssigned, PicassoUnassigned, PlacementType, PlacementTypeWithLiterals, Properties, PropertiesChange, QueryStandaloneFormsRequest, RemoveStandaloneFormFromTrashBinRequest, RemoveStandaloneFormFromTrashBinResponse, ResolutionMethod, ResolutionMethodWithLiterals, RestoreInfo, RestoreStandaloneFormFromTrashBinRequest, ServiceProvisioned, ServiceRemoved, SiteCloned, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePropertiesEvent, SitePropertiesNotification, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, SortOrderWithLiterals, Sorting, SpecialHourPeriod, StandaloneMetaSiteProperties, State, StateWithLiterals, StudioAssigned, StudioTwoAssigned, StudioTwoUnassigned, StudioUnassigned, SupportedLanguage, TimePeriod, Translation, UserDomainMediaDisabled, UserDomainMediaEnabled, V4SiteCreated, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixelAssigned, WixelUnassigned } from './index.typings.mjs'; declare function createStandaloneForm$1(httpClient: HttpClient): CreateStandaloneFormSignature; interface CreateStandaloneFormSignature { /** * Creates a standalone form, which marks a form as standalone so responders can reach it at its own public URL. * * The form must already exist. Create it with [Create Form](https://dev.wix.com/docs/api-reference/crm/forms/form-schemas/create-form) first. The standalone form is owned by * the site your request is authorized for. Each form can be marked standalone once per site. * * The response includes the `id` and `accountSlug` that make up the standalone form's public URL. * * To stop hosting the form as standalone, call [Delete Standalone Form](https://dev.wix.com/docs/api-reference/crm/forms/standalone-form-v1/delete-standalone-form). * @param - Standalone form to create. * @returns Created standalone form. */ (standaloneForm: NonNullablePaths): Promise; } declare function getStandaloneForm$1(httpClient: HttpClient): GetStandaloneFormSignature; interface GetStandaloneFormSignature { /** * Retrieves a standalone form. * * To retrieve the form's fields and settings, pass the returned `formId` to [Get Form](https://dev.wix.com/docs/api-reference/crm/forms/form-schemas/get-form). * @param - ID of the standalone form to retrieve. * @returns Retrieved standalone form. */ (standaloneFormId: string): Promise; } declare function deleteStandaloneForm$1(httpClient: HttpClient): DeleteStandaloneFormSignature; interface DeleteStandaloneFormSignature { /** * Deletes a standalone form. * * Deleting a standalone form means the form is no longer standalone. The form itself isn't deleted. * * By default, the standalone form is moved to the trash bin. From there, you can restore it with * [Restore Standalone Form From Trash Bin](https://dev.wix.com/docs/api-reference/crm/forms/standalone-form-v1/restore-standalone-form-from-trash-bin) or permanently delete it with * [Remove Standalone Form From Trash Bin](https://dev.wix.com/docs/api-reference/crm/forms/standalone-form-v1/remove-standalone-form-from-trash-bin). To permanently delete the standalone form right away, set * `permanent` to `true`. * @param - ID of the standalone form to delete. */ (standaloneFormId: string, options?: DeleteStandaloneFormOptions): Promise; } declare function removeStandaloneFormFromTrashBin$1(httpClient: HttpClient): RemoveStandaloneFormFromTrashBinSignature; interface RemoveStandaloneFormFromTrashBinSignature { /** * Permanently deletes a standalone form from the trash bin. * * To move a standalone form to the trash bin, call [Delete Standalone Form](https://dev.wix.com/docs/api-reference/crm/forms/standalone-form-v1/delete-standalone-form). * @param - ID of the standalone form to permanently delete. */ (standaloneFormId: string): Promise; } declare function restoreStandaloneFormFromTrashBin$1(httpClient: HttpClient): RestoreStandaloneFormFromTrashBinSignature; interface RestoreStandaloneFormFromTrashBinSignature { /** * Restores a standalone form from the trash bin. * * The restored standalone form keeps its `id` and `accountSlug`, so its public URL works again. * @param - ID of the standalone form to restore. */ (standaloneFormId: string): Promise; } declare function getDeletedStandaloneForm$1(httpClient: HttpClient): GetDeletedStandaloneFormSignature; interface GetDeletedStandaloneFormSignature { /** * Retrieves a standalone form from the trash bin. * @param - ID of the standalone form to retrieve from the trash bin. */ (standaloneFormId: string): Promise; } declare function listDeletedStandaloneForms$1(httpClient: HttpClient): ListDeletedStandaloneFormsSignature; interface ListDeletedStandaloneFormsSignature { /** * Retrieves a list of standalone forms in the trash bin. * * To retrieve specific standalone forms, specify their IDs in `standaloneFormIds`. */ (options?: ListDeletedStandaloneFormsOptions): Promise>; } declare function queryStandaloneForms$1(httpClient: HttpClient): QueryStandaloneFormsSignature; interface QueryStandaloneFormsSignature { /** * Retrieves a list of up to 100 standalone forms, given the provided paging, filtering, and sorting. * * Query Standalone Forms runs with these defaults, which you can override: * * - `createdDate` is sorted in `DESC` order * - `cursorPaging.limit` is `50` * * Supported properties for filtering and sorting: `id`, `formId`, `metaSiteId`, `createdDate`, `updatedDate`. * * To learn about working with Query methods, see * [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language), * [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging), * and [Field Projection](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-field-projection). * @param - Query options. See [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language) for more information. */ (query: CursorQuery): Promise>; } declare function getSiteProperties$1(httpClient: HttpClient): GetSitePropertiesSignature; interface GetSitePropertiesSignature { /** * Retrieves the currency and locale of the site your request is authorized for. * * Use these values to display prices and labels correctly when you render a standalone form. Results may be cached, * so recent changes to the site's settings might not appear right away. */ (): Promise & { __applicationErrorsType?: GetSitePropertiesApplicationErrors; }>; } declare const createStandaloneForm: MaybeContext & typeof createStandaloneForm$1>; declare const getStandaloneForm: MaybeContext & typeof getStandaloneForm$1>; declare const deleteStandaloneForm: MaybeContext & typeof deleteStandaloneForm$1>; declare const removeStandaloneFormFromTrashBin: MaybeContext & typeof removeStandaloneFormFromTrashBin$1>; declare const restoreStandaloneFormFromTrashBin: MaybeContext & typeof restoreStandaloneFormFromTrashBin$1>; declare const getDeletedStandaloneForm: MaybeContext & typeof getDeletedStandaloneForm$1>; declare const listDeletedStandaloneForms: MaybeContext & typeof listDeletedStandaloneForms$1>; declare const queryStandaloneForms: MaybeContext & typeof queryStandaloneForms$1>; declare const getSiteProperties: MaybeContext & typeof getSiteProperties$1>; export { CreateStandaloneFormApplicationErrors, CursorQuery, DeleteStandaloneFormOptions, GetDeletedStandaloneFormResponse, GetSitePropertiesApplicationErrors, GetSitePropertiesResponse, ListDeletedStandaloneFormsOptions, ListDeletedStandaloneFormsResponse, QueryStandaloneFormsResponse, RestoreStandaloneFormFromTrashBinResponse, StandaloneForm, createStandaloneForm, deleteStandaloneForm, getDeletedStandaloneForm, getSiteProperties, getStandaloneForm, listDeletedStandaloneForms, queryStandaloneForms, removeStandaloneFormFromTrashBin, restoreStandaloneFormFromTrashBin };