import { CreateItemRequest as CreateItemRequest$1, CreateItemResponse as CreateItemResponse$1, GetItemRequest as GetItemRequest$1, GetItemResponse as GetItemResponse$1, UpdateItemRequest as UpdateItemRequest$1, UpdateItemResponse as UpdateItemResponse$1, DeleteItemRequest as DeleteItemRequest$1, DeleteItemResponse as DeleteItemResponse$1, QueryItemsRequest as QueryItemsRequest$1, QueryItemsResponse as QueryItemsResponse$1, UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequest$1, UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponse$1, BulkCreateItemsRequest as BulkCreateItemsRequest$1, BulkCreateItemsResponse as BulkCreateItemsResponse$1, BulkUpdateItemsRequest as BulkUpdateItemsRequest$1, BulkUpdateItemsResponse as BulkUpdateItemsResponse$1, BulkDeleteItemsRequest as BulkDeleteItemsRequest$1, BulkDeleteItemsResponse as BulkDeleteItemsResponse$1, RemoveItemFromTrashBinRequest as RemoveItemFromTrashBinRequest$1, RemoveItemFromTrashBinResponse as RemoveItemFromTrashBinResponse$1, RestoreItemFromTrashBinRequest as RestoreItemFromTrashBinRequest$1, RestoreItemFromTrashBinResponse as RestoreItemFromTrashBinResponse$1, GetDeletedItemRequest as GetDeletedItemRequest$1, GetDeletedItemResponse as GetDeletedItemResponse$1, ListDeletedItemsRequest as ListDeletedItemsRequest$1, ListDeletedItemsResponse as ListDeletedItemsResponse$1 } from './index.typings.js'; import '@wix/sdk-types'; /** * A Item is a ... * You can ... * Read more about Items * in this [article](). */ interface Item { /** * Item ID. * @format GUID * @readonly */ id?: string | null; /** @readonly */ revision?: string | null; /** * Draft Item ID that this item originated from * @format GUID * @readonly */ draftItemId?: string | null; /** * Gallery ID that the item is part of * @format GUID * @immutable */ galleryId?: string | null; /** * Represents the site version when the item was published * @readonly * @immutable */ siteVersion?: string | null; /** @maxLength 50 */ title?: string | null; /** Link to an internal or external page */ link?: Link; /** media of the item */ media?: MediaItem; /** @readonly */ createdDate?: Date | null; /** @readonly */ updatedDate?: Date | null; /** @maxLength 1500 */ description?: string | null; /** Data Extensions */ extendedFields?: ExtendedFields; } interface Link { /** * Display text of the link. * `referenced_entity_field` carries this field's translations from a source entity onto an entity * that references it - concretely, DraftItem -> the published Item, whose translations are synced * from DraftItem rather than owned locally. Without it the translated label is served on the draft * read (so the editor looks right) and silently falls back to the origin language on the published * read, which is what site visitors get. It must be declared on this leaf: the collector only * honours the annotation on STRING / StringValue / RichContent and ignores it on message fields. * The path is the field's location in the source entity; every embedder of this type - pro-gallery * and fast-gallery, draft and published - places it at `link`, so one path is correct for all. * @maxLength 1000 */ text?: string | null; /** * Target URL of the link. * @format WEB_URL */ url?: string | null; } declare enum LinkType { UNDEFINED = "UNDEFINED", /** external link */ EXTERNAL = "EXTERNAL", /** for internal usage using wixLinkData */ INTERNAL = "INTERNAL" } /** @enumType */ type LinkTypeWithLiterals = LinkType | 'UNDEFINED' | 'EXTERNAL' | 'INTERNAL'; /** The link object generated by panels in the editor and used by applications in Wix */ interface WixLink extends WixLinkLinkOneOf { /** External link type */ external?: ExternalLink; /** Page link type */ page?: PageLink; /** Anchor link type */ anchor?: AnchorLink; /** Dynamic page link type */ dynamicPage?: DynamicPageLink; /** Document link type */ document?: DocumentLink; /** Email link type */ email?: EmailLink; /** Phone link type */ phone?: PhoneLink; /** Address link type */ address?: AddressLink; /** WhatsApp link type */ whatsApp?: WhatsAppLink; /** TPA link type */ tpaPage?: TpaPageLink; } /** @oneof */ interface WixLinkLinkOneOf { /** External link type */ external?: ExternalLink; /** Page link type */ page?: PageLink; /** Anchor link type */ anchor?: AnchorLink; /** Dynamic page link type */ dynamicPage?: DynamicPageLink; /** Document link type */ document?: DocumentLink; /** Email link type */ email?: EmailLink; /** Phone link type */ phone?: PhoneLink; /** Address link type */ address?: AddressLink; /** WhatsApp link type */ whatsApp?: WhatsAppLink; /** TPA link type */ tpaPage?: TpaPageLink; } interface ExternalLink { /** * The url of the page * @format WEB_URL */ url?: string; /** * Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page. * @maxLength 1000 */ target?: string | null; /** @maxSize 20 */ rel?: LinkRelWithLiterals[]; } /** * The 'rel' attribute of the link. The rel attribute defines the relationship between a linked resource and the current document. * Further reading (also about different possible rel types): https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel * Following are the accepted 'rel' types by Wix applications. */ declare enum LinkRel { /** Indicates that the current document's original author or publisher does not endorse the referenced document. */ nofollow = "nofollow", /** Instructs the browser to navigate to the target resource without granting the new browsing context access to the document that opened it. */ noopener = "noopener", /** No Referer header will be included. Additionally, has the same effect as noopener. */ noreferrer = "noreferrer", /** Indicates a link that resulted from advertisements or paid placements. */ sponsored = "sponsored" } /** @enumType */ type LinkRelWithLiterals = LinkRel | 'nofollow' | 'noopener' | 'noreferrer' | 'sponsored'; interface PageLink { /** * The page id we want from the site * @maxLength 1000 */ pageId?: string; /** * Where this link should open, supports _self and _blank or any name the user chooses. _self means same page, _blank means new page. * @maxLength 1000 */ target?: string | null; /** * rel of link * @maxSize 20 */ rel?: LinkRelWithLiterals[]; } interface AnchorLink { /** * The name of the anchor * @maxLength 1000 */ anchorName?: string; /** * The data id (from the JSON page) of the anchor that should be used * @maxLength 1000 */ anchorDataId?: string; /** * The page id we want from the site * @maxLength 1000 */ pageId?: string; /** * rel of link * @maxSize 20 */ rel?: LinkRelWithLiterals[]; } interface DynamicPageLink { /** * The router that handles this link * @maxLength 1000 */ routerId?: string; /** * The path data we'd like * @maxLength 1000 */ innerRoute?: string; /** * The data id (from the JSON page) of the anchor that should be used * @maxLength 1000 */ anchorDataId?: string | null; /** * rel of link * @maxSize 20 */ rel?: LinkRelWithLiterals[]; } interface DocumentLink { /** * The id of the document * @maxLength 1000 */ docId?: string; /** * The name of the document for download purposes * @maxLength 1000 */ name?: string | null; /** If this document can be indexed by scrapers, default is false */ indexable?: boolean; } interface EmailLink { /** * The email we will be sending a message to * @format EMAIL */ recipient?: string; /** * The subject of the email * @maxLength 1000 */ subject?: string | null; /** * The body of the email * @maxLength 100000 */ body?: string | null; } interface PhoneLink { /** * The phone number we want to link to * @format PHONE * @maxLength 100 */ phoneNumber?: string; } interface AddressLink { /** * An address that we can link to * @maxLength 1000 */ address?: string; } interface WhatsAppLink { /** * The whatsApp phone number we want to connect with * @format PHONE */ phoneNumber?: string; } /** Link to a TPA page */ interface TpaPageLink { /** * Type of item (e.g. 'wix.stores.sub_pages.product') * @maxLength 1000 */ itemTypeIdentifier?: string; /** * Id of linked item * @maxLength 1000 */ itemId?: string; /** * Id of linked page * @maxLength 1000 */ pageId?: string; /** * Id of app being linked to (AppDefId) * @maxLength 1000 */ appDefinitionId?: string; /** * The relativepath of linked page * @maxLength 10000 */ path?: string; /** * rel of link * @maxSize 20 */ rel?: LinkRelWithLiterals[]; } interface MediaItem extends MediaItemMediaOneOf { /** image item */ imageOptions?: Image; /** item's media type */ type?: TypeWithLiterals; } /** @oneof */ interface MediaItemMediaOneOf { /** image item */ imageOptions?: Image; } declare enum Type { /** undefined type */ UNDEFINED = "UNDEFINED", /** image */ IMAGE = "IMAGE" } /** @enumType */ type TypeWithLiterals = Type | 'UNDEFINED' | 'IMAGE'; interface Image { /** Information about the Wix Media image. */ imageInfo?: CommonImage; /** Focal point of the image. */ focalPoint?: Point; /** Set of key-value pairs describing the media in [Exchangeable Image File format](https://en.wikipedia.org/wiki/Exif). */ exif?: Record | null; /** * Image compression level.
* * Min: `30`
* Max: `100` * @min 30 * @max 100 */ quality?: number | null; /** [Unsharp masking](https://en.wikipedia.org/wiki/Unsharp_masking) values of the image. */ unsharpMasking?: UnsharpMasking; /** * Image alt text, translatable. * @maxLength 5000 */ altText?: string | null; } interface CommonImage { /** * WixMedia image ID. * @maxLength 200 */ id?: string; /** Image URL. */ url?: string; /** *Required.** Original image height. */ height?: number; /** *Required.** Original image width. */ width?: number; /** * Image alt text. * @maxLength 5000 */ altText?: string | null; /** * Image filename. * @readonly * @maxLength 512 */ filename?: string | null; /** Focal point of the image. */ focalPoint?: FocalPoint; } interface FocalPoint { /** X-coordinate of the focal point. */ x?: number; /** Y-coordinate of the focal point. */ y?: number; } interface Point { /** X-coordinate of the focal point. */ x?: number; /** Y-coordinate of the focal point. */ y?: number; } interface UnsharpMasking { /** * Unsharp masking amount. Controls the sharpening strength.
* * Min: `0`
* Max: `5` * @max 5 */ amount?: number | null; /** Unsharp masking radius in pixels. Controls the sharpening width. */ radius?: number | null; /** * Unsharp masking threshold. Controls how different neighboring pixels must be for shapening to apply.
* * Min: `0`
* Max: `1` * @max 1 */ threshold?: number | null; } interface ExtendedFields { /** * Extended field data. Each key corresponds to the namespace of the app that created the extended fields. * The value of each key is structured according to the schema defined when the extended fields were configured. * * You can only access fields for which you have the appropriate permissions. * * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields). */ namespaces?: Record>; } interface CreateItemRequest { /** Item to be created. */ item: Item; } interface CreateItemResponse { /** The created Item. */ item?: Item; } interface GetItemRequest { /** * ID of the Item to retrieve. * @format GUID */ itemId: string; } interface GetItemResponse { /** The requested Item. */ item?: Item; } interface UpdateItemRequest { /** Item to be updated, may be partial. */ item: Item; } interface UpdateItemResponse { /** Updated Item. */ item?: Item; } interface DeleteItemRequest { /** * Id of the Item to delete. * @format GUID */ itemId: string; } interface DeleteItemResponse { } interface QueryItemsRequest { /** WQL expression. */ query?: CursorQuery; } interface CursorQuery extends CursorQueryPagingMethodOneOf { /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */ cursorPaging?: CursorPaging; /** * Filter object in the following format: * `"filter" : { * "fieldName1": "value1", * "fieldName2":{"$operator":"value2"} * }` * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains` */ filter?: Record | null; /** * Sort object in the following format: * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]` * @maxSize 5 */ sort?: Sorting[]; } /** @oneof */ interface CursorQueryPagingMethodOneOf { /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */ cursorPaging?: CursorPaging; } interface Sorting { /** * Name of the field to sort by. * @maxLength 512 */ fieldName?: string; /** Sort order. */ order?: SortOrderWithLiterals; } declare enum SortOrder { ASC = "ASC", DESC = "DESC" } /** @enumType */ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC'; interface CursorPaging { /** * Maximum number of items to return in the results. * @max 100 */ limit?: number | null; /** * Pointer to the next or previous page in the list of results. * * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response. * Not relevant for the first request. * @maxLength 16000 */ cursor?: string | null; } interface QueryItemsResponse { /** List of Items. */ items?: Item[]; /** Paging metadata */ pagingMetadata?: CursorPagingMetadata; } interface CursorPagingMetadata { /** Number of items returned in the response. */ count?: number | null; /** Cursor strings that point to the next page, previous page, or both. */ cursors?: Cursors; /** * Whether there are more pages to retrieve following the current page. * * + `true`: Another page of results can be retrieved. * + `false`: This is the last page. */ hasNext?: boolean | null; } interface Cursors { /** * Cursor string pointing to the next page in the list of results. * @maxLength 16000 */ next?: string | null; /** * Cursor pointing to the previous page in the list of results. * @maxLength 16000 */ prev?: string | null; } interface UpdateExtendedFieldsRequest { /** ID of the entity to update. */ id: string; /** Identifier for the app whose extended fields are being updated. */ namespace: string; /** Data to update. Structured according to the [schema](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields#json-schema-for-extended-fields) defined when the extended fields were configured. */ namespaceData: Record | null; } interface UpdateExtendedFieldsResponse { /** Updated Item. */ item?: Item; } interface BulkCreateItemsRequest { /** * List of Items to be created * @minSize 1 * @maxSize 100 */ items: Item[]; /** set to `true` if you wish to receive back the created Items in the response */ returnEntity?: boolean; } interface BulkCreateItemsResponse { /** * List of the bulk create operation results including the Items and metadata. * @minSize 1 * @maxSize 100 */ results?: BulkItemResult[]; /** Metadata regarding the bulk create operation */ bulkActionMetadata?: BulkActionMetadata; } interface ItemMetadata { /** * Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). * @format GUID */ id?: string | null; /** Index of the item within the request array. Allows for correlation between request and response items. */ originalIndex?: number; /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */ success?: boolean; /** Details about the error in case of failure. */ error?: ApplicationError; } interface ApplicationError { /** Error code. */ code?: string; /** Description of the error. */ description?: string; /** Data related to the error. */ data?: Record | null; } interface BulkItemResult { /** Metadata regarding the specific single create operation */ itemMetadata?: ItemMetadata; /** Only exists if `returnEntity` was set to true in the request */ item?: Item; } interface BulkActionMetadata { /** Number of items that were successfully processed. */ totalSuccesses?: number; /** Number of items that couldn't be processed. */ totalFailures?: number; /** Number of failures without details because detailed failure threshold was exceeded. */ undetailedFailures?: number; } interface BulkUpdateItemsRequest { /** * List of Items to be updated. * @minSize 1 * @maxSize 100 */ items: MaskedItem[]; /** set to `true` if you wish to receive back the updated Items in the response */ returnEntity?: boolean; } interface MaskedItem { /** Item to be updated, may be partial */ item?: Item; } interface BulkUpdateItemsResponse { /** * Results * @minSize 1 * @maxSize 100 */ results?: BulkUpdateItemsResponseBulkItemResult[]; /** Metadata regarding the bulk update operation */ bulkActionMetadata?: BulkActionMetadata; } interface BulkUpdateItemsResponseBulkItemResult { /** Metadata regarding the specific single update operation */ itemMetadata?: ItemMetadata; /** Only exists if `returnEntity` was set to true in the request */ item?: Item; } interface BulkDeleteItemsRequest { /** * Item ids to be deleted * @minSize 1 * @maxSize 100 * @format GUID */ itemIds: string[]; } interface BulkDeleteItemsResponse { /** * Results * @minSize 1 * @maxSize 100 */ results?: BulkDeleteItemsResponseBulkItemResult[]; /** Metadata regarding the bulk delete operation */ bulkActionMetadata?: BulkActionMetadata; } interface BulkDeleteItemsResponseBulkItemResult { /** Metadata regarding the specific single delete operation */ itemMetadata?: ItemMetadata; } interface RemoveItemFromTrashBinRequest { /** * ID of the Item to remove from TrashBin. * @format GUID */ itemId: string; } interface RemoveItemFromTrashBinResponse { } interface RestoreItemFromTrashBinRequest { /** * ID of the Item to restore from TrashBin. * @format GUID */ itemId: string; } interface RestoreItemFromTrashBinResponse { /** Restored Item. */ item?: Item; } interface GetDeletedItemRequest { /** * ID of the Item to retrieve from TrashBin. * @format GUID */ itemId: string; } interface GetDeletedItemResponse { /** Deleted Item. */ item?: Item; } interface ListDeletedItemsRequest { /** WQL query to run against TrashBin items */ query?: CursorQuery; /** * List of Item IDs to retrieve from TrashBin. Supersedes query if both are present. * @format GUID * @maxSize 100 */ itemIds?: string[]; } interface ListDeletedItemsResponse { /** List of Items in TrashBin. */ items?: Item[]; /** Paging metadata */ pagingMetadata?: CursorPagingMetadata; } interface DomainEvent extends DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; /** Event ID. With this ID you can easily spot duplicated events and ignore them. */ id?: string; /** * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities. * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`. */ entityFqdn?: string; /** * Event action name, placed at the top level to make it easier for users to dispatch messages. * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`. */ slug?: string; /** ID of the entity associated with the event. */ entityId?: string; /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */ eventTime?: Date | null; /** * Whether the event was triggered as a result of a privacy regulation application * (for example, GDPR). */ triggeredByAnonymizeRequest?: boolean | null; /** If present, indicates the action that triggered the event. */ originatedFrom?: string | null; /** * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number. * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it. */ entityEventSequence?: string | null; } /** @oneof */ interface DomainEventBodyOneOf { createdEvent?: EntityCreatedEvent; updatedEvent?: EntityUpdatedEvent; deletedEvent?: EntityDeletedEvent; actionEvent?: ActionEvent; } interface EntityCreatedEvent { entityAsJson?: string; /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */ restoreInfo?: RestoreInfo; } interface RestoreInfo { deletedDate?: Date | null; } interface EntityUpdatedEvent { /** * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff. * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects. * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it. */ currentEntityAsJson?: string; } interface EntityDeletedEvent { /** Entity that was deleted. */ deletedEntityAsJson?: string | null; } interface ActionEvent { bodyAsJson?: string; } interface Empty { } interface MessageEnvelope { /** * App instance ID. * @format GUID */ instanceId?: string | null; /** * Event type. * @maxLength 150 */ eventType?: string; /** The identification type and identity data. */ identity?: IdentificationData; /** Stringify payload. */ data?: string; /** Details related to the account */ accountInfo?: AccountInfo; } interface IdentificationData extends IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; /** @readonly */ identityType?: WebhookIdentityTypeWithLiterals; } /** @oneof */ interface IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; } declare enum WebhookIdentityType { UNKNOWN = "UNKNOWN", ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR", MEMBER = "MEMBER", WIX_USER = "WIX_USER", APP = "APP" } /** @enumType */ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP'; interface AccountInfo { /** * ID of the Wix account associated with the event. * @format GUID */ accountId?: string | null; /** * ID of the parent Wix account. Only included when accountId belongs to a child account. * @format GUID */ parentAccountId?: string | null; /** * ID of the Wix site associated with the event. Only included when the event is tied to a specific site. * @format GUID */ siteId?: string | null; } type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function createItem(): __PublicMethodMetaInfo<'POST', {}, CreateItemRequest$1, CreateItemRequest, CreateItemResponse$1, CreateItemResponse>; declare function getItem(): __PublicMethodMetaInfo<'GET', { itemId: string; }, GetItemRequest$1, GetItemRequest, GetItemResponse$1, GetItemResponse>; declare function updateItem(): __PublicMethodMetaInfo<'PATCH', { itemId: string; }, UpdateItemRequest$1, UpdateItemRequest, UpdateItemResponse$1, UpdateItemResponse>; declare function deleteItem(): __PublicMethodMetaInfo<'DELETE', { itemId: string; }, DeleteItemRequest$1, DeleteItemRequest, DeleteItemResponse$1, DeleteItemResponse>; declare function queryItems(): __PublicMethodMetaInfo<'GET', {}, QueryItemsRequest$1, QueryItemsRequest, QueryItemsResponse$1, QueryItemsResponse>; declare function updateExtendedFields(): __PublicMethodMetaInfo<'POST', { id: string; }, UpdateExtendedFieldsRequest$1, UpdateExtendedFieldsRequest, UpdateExtendedFieldsResponse$1, UpdateExtendedFieldsResponse>; declare function bulkCreateItems(): __PublicMethodMetaInfo<'POST', {}, BulkCreateItemsRequest$1, BulkCreateItemsRequest, BulkCreateItemsResponse$1, BulkCreateItemsResponse>; declare function bulkUpdateItems(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateItemsRequest$1, BulkUpdateItemsRequest, BulkUpdateItemsResponse$1, BulkUpdateItemsResponse>; declare function bulkDeleteItems(): __PublicMethodMetaInfo<'POST', {}, BulkDeleteItemsRequest$1, BulkDeleteItemsRequest, BulkDeleteItemsResponse$1, BulkDeleteItemsResponse>; declare function removeItemFromTrashBin(): __PublicMethodMetaInfo<'DELETE', { itemId: string; }, RemoveItemFromTrashBinRequest$1, RemoveItemFromTrashBinRequest, RemoveItemFromTrashBinResponse$1, RemoveItemFromTrashBinResponse>; declare function restoreItemFromTrashBin(): __PublicMethodMetaInfo<'POST', { itemId: string; }, RestoreItemFromTrashBinRequest$1, RestoreItemFromTrashBinRequest, RestoreItemFromTrashBinResponse$1, RestoreItemFromTrashBinResponse>; declare function getDeletedItem(): __PublicMethodMetaInfo<'GET', { itemId: string; }, GetDeletedItemRequest$1, GetDeletedItemRequest, GetDeletedItemResponse$1, GetDeletedItemResponse>; declare function listDeletedItems(): __PublicMethodMetaInfo<'GET', {}, ListDeletedItemsRequest$1, ListDeletedItemsRequest, ListDeletedItemsResponse$1, ListDeletedItemsResponse>; export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressLink as AddressLinkOriginal, type AnchorLink as AnchorLinkOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCreateItemsRequest as BulkCreateItemsRequestOriginal, type BulkCreateItemsResponse as BulkCreateItemsResponseOriginal, type BulkDeleteItemsRequest as BulkDeleteItemsRequestOriginal, type BulkDeleteItemsResponseBulkItemResult as BulkDeleteItemsResponseBulkItemResultOriginal, type BulkDeleteItemsResponse as BulkDeleteItemsResponseOriginal, type BulkItemResult as BulkItemResultOriginal, type BulkUpdateItemsRequest as BulkUpdateItemsRequestOriginal, type BulkUpdateItemsResponseBulkItemResult as BulkUpdateItemsResponseBulkItemResultOriginal, type BulkUpdateItemsResponse as BulkUpdateItemsResponseOriginal, type CommonImage as CommonImageOriginal, type CreateItemRequest as CreateItemRequestOriginal, type CreateItemResponse as CreateItemResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type DeleteItemRequest as DeleteItemRequestOriginal, type DeleteItemResponse as DeleteItemResponseOriginal, type DocumentLink as DocumentLinkOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DynamicPageLink as DynamicPageLinkOriginal, type EmailLink as EmailLinkOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalLink as ExternalLinkOriginal, type FocalPoint as FocalPointOriginal, type GetDeletedItemRequest as GetDeletedItemRequestOriginal, type GetDeletedItemResponse as GetDeletedItemResponseOriginal, type GetItemRequest as GetItemRequestOriginal, type GetItemResponse as GetItemResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type ItemMetadata as ItemMetadataOriginal, type Item as ItemOriginal, type Link as LinkOriginal, LinkRel as LinkRelOriginal, type LinkRelWithLiterals as LinkRelWithLiteralsOriginal, LinkType as LinkTypeOriginal, type LinkTypeWithLiterals as LinkTypeWithLiteralsOriginal, type ListDeletedItemsRequest as ListDeletedItemsRequestOriginal, type ListDeletedItemsResponse as ListDeletedItemsResponseOriginal, type MaskedItem as MaskedItemOriginal, type MediaItemMediaOneOf as MediaItemMediaOneOfOriginal, type MediaItem as MediaItemOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type PageLink as PageLinkOriginal, type PhoneLink as PhoneLinkOriginal, type Point as PointOriginal, type QueryItemsRequest as QueryItemsRequestOriginal, type QueryItemsResponse as QueryItemsResponseOriginal, type RemoveItemFromTrashBinRequest as RemoveItemFromTrashBinRequestOriginal, type RemoveItemFromTrashBinResponse as RemoveItemFromTrashBinResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type RestoreItemFromTrashBinRequest as RestoreItemFromTrashBinRequestOriginal, type RestoreItemFromTrashBinResponse as RestoreItemFromTrashBinResponseOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type TpaPageLink as TpaPageLinkOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UnsharpMasking as UnsharpMaskingOriginal, type UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal, type UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal, type UpdateItemRequest as UpdateItemRequestOriginal, type UpdateItemResponse as UpdateItemResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WhatsAppLink as WhatsAppLinkOriginal, type WixLinkLinkOneOf as WixLinkLinkOneOfOriginal, type WixLink as WixLinkOriginal, type __PublicMethodMetaInfo, bulkCreateItems, bulkDeleteItems, bulkUpdateItems, createItem, deleteItem, getDeletedItem, getItem, listDeletedItems, queryItems, removeItemFromTrashBin, restoreItemFromTrashBin, updateExtendedFields, updateItem };