import { GetLlmsTxtRequest as GetLlmsTxtRequest$1, GetLlmsTxtResponse as GetLlmsTxtResponse$1, UpdateLlmsTxtRequest as UpdateLlmsTxtRequest$1, UpdateLlmsTxtResponse as UpdateLlmsTxtResponse$1, AppendLlmsTxtRequest as AppendLlmsTxtRequest$1, AppendLlmsTxtResponse as AppendLlmsTxtResponse$1, UpdateLlmsTxtHiddenStatusRequest as UpdateLlmsTxtHiddenStatusRequest$1, UpdateLlmsTxtHiddenStatusResponse as UpdateLlmsTxtHiddenStatusResponse$1 } from './index.typings.js'; import '@wix/sdk-types'; interface LlmsTxt { /** * CFull text content of the `llms.txt` file. * @maxLength 720000 */ content?: string; /** Whether this `llms.txt` file uses Wix's default content. */ default?: boolean; /** * Target subdomain for the `llms.txt` file (for example, 'www', 'es', 'fr'). Default: 'www' * @maxLength 63 */ subdomain?: string; /** * Whether the llms.txt file should be hidden from public access. * @readonly */ hidden?: boolean | null; /** Whether the content was manually edited by the user. If `true` in DB, update/append requests must also set `manually_edited=true` or they'll be rejected with `FAILED_PRECONDITION`. */ manuallyEdited?: boolean; /** * ISO 639-1 language code detected for the site (e.g. en, fr). Used to localize the MCP documentation section when serving llms.txt. * @maxLength 2 */ detectedLanguage?: string; } /** The request to get the Llms.txt file content */ interface GetLlmsTxtRequest { /** * Subdomain of the requested `llms.txt file`. For example, `www`, `es`, `fr`. Default: `www`. * @maxLength 63 */ subdomain?: string; } /** The response of the Llms.txt file request */ interface GetLlmsTxtResponse { /** Retrieved `llms.txt` file entity. */ llmsTxt?: LlmsTxt; } /** The request to update the content of the Llms.txt file */ interface UpdateLlmsTxtRequest { /** `llms.txt` file to update. */ llmsTxt?: LlmsTxt; } interface UpdateLlmsTxtResponse { /** Updated Llms txt object */ llmsTxt?: LlmsTxt; } /** The request to append the content of the Llms.txt file */ interface AppendLlmsTxtRequest { /** `llms.txt` file to append. */ llmsTxt?: LlmsTxt; } interface AppendLlmsTxtResponse { /** Appended `llms.txt` file. */ llmsTxt?: LlmsTxt; } /** The request to update the hidden state of Llms.txt file */ interface UpdateLlmsTxtHiddenStatusRequest { /** * Hidden state to set for the Llms.txt file. * If true, the llms.txt file will be hidden from public access (returns 404). * If false, the llms.txt file will be publicly accessible. */ hidden?: boolean; /** * Subdomain of Llms.txt, for example `www`, `es`, `fr`. Default is `www`. * @maxLength 63 */ subdomain?: string; } /** The response of updating the hidden state of Llms.txt file */ interface UpdateLlmsTxtHiddenStatusResponse { /** Updated Llms txt object with new hidden state */ llmsTxt?: LlmsTxt; } /** The request to update the manually_edited state of Llms.txt file */ interface UpdateLlmsTxtManuallyEditedStatusRequest { /** * Manually edited state to set for the Llms.txt file. * If true, the llms.txt file is marked as manually edited, and update/append operations * that do not acknowledge the flag will be rejected. * If false, the llms.txt file is unlocked for auto-update operations. */ manuallyEdited?: boolean; /** * Subdomain of Llms.txt, for example `www`, `es`, `fr`. Default is `www`. * @maxLength 63 */ subdomain?: string; } /** The response of updating the manually_edited state of Llms.txt file */ interface UpdateLlmsTxtManuallyEditedStatusResponse { /** Updated Llms.txt file with new manually_edited state. */ llmsTxt?: LlmsTxt; } 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 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 getLlmsTxt(): __PublicMethodMetaInfo<'GET', {}, GetLlmsTxtRequest$1, GetLlmsTxtRequest, GetLlmsTxtResponse$1, GetLlmsTxtResponse>; declare function updateLlmsTxt(): __PublicMethodMetaInfo<'PUT', {}, UpdateLlmsTxtRequest$1, UpdateLlmsTxtRequest, UpdateLlmsTxtResponse$1, UpdateLlmsTxtResponse>; declare function appendLlmsTxt(): __PublicMethodMetaInfo<'PATCH', {}, AppendLlmsTxtRequest$1, AppendLlmsTxtRequest, AppendLlmsTxtResponse$1, AppendLlmsTxtResponse>; declare function updateLlmsTxtHiddenStatus(): __PublicMethodMetaInfo<'PATCH', {}, UpdateLlmsTxtHiddenStatusRequest$1, UpdateLlmsTxtHiddenStatusRequest, UpdateLlmsTxtHiddenStatusResponse$1, UpdateLlmsTxtHiddenStatusResponse>; export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AppendLlmsTxtRequest as AppendLlmsTxtRequestOriginal, type AppendLlmsTxtResponse as AppendLlmsTxtResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type GetLlmsTxtRequest as GetLlmsTxtRequestOriginal, type GetLlmsTxtResponse as GetLlmsTxtResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type LlmsTxt as LlmsTxtOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type RestoreInfo as RestoreInfoOriginal, type UpdateLlmsTxtHiddenStatusRequest as UpdateLlmsTxtHiddenStatusRequestOriginal, type UpdateLlmsTxtHiddenStatusResponse as UpdateLlmsTxtHiddenStatusResponseOriginal, type UpdateLlmsTxtManuallyEditedStatusRequest as UpdateLlmsTxtManuallyEditedStatusRequestOriginal, type UpdateLlmsTxtManuallyEditedStatusResponse as UpdateLlmsTxtManuallyEditedStatusResponseOriginal, type UpdateLlmsTxtRequest as UpdateLlmsTxtRequestOriginal, type UpdateLlmsTxtResponse as UpdateLlmsTxtResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, appendLlmsTxt, getLlmsTxt, updateLlmsTxt, updateLlmsTxtHiddenStatus };