@wix/auto_sdk_seo_llms-txt 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +50 -0
- package/build/cjs/index.js +383 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +324 -0
- package/build/cjs/index.typings.js +346 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +271 -0
- package/build/cjs/meta.js +312 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/schemas.d.ts +79 -0
- package/build/cjs/schemas.js +190 -0
- package/build/cjs/schemas.js.map +1 -0
- package/build/es/index.d.mts +50 -0
- package/build/es/index.mjs +355 -0
- package/build/es/index.mjs.map +1 -0
- package/build/es/index.typings.d.mts +324 -0
- package/build/es/index.typings.mjs +318 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +271 -0
- package/build/es/meta.mjs +281 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/schemas.d.mts +79 -0
- package/build/es/schemas.mjs +146 -0
- package/build/es/schemas.mjs.map +1 -0
- package/build/internal/cjs/index.d.ts +50 -0
- package/build/internal/cjs/index.js +383 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +324 -0
- package/build/internal/cjs/index.typings.js +346 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +271 -0
- package/build/internal/cjs/meta.js +312 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/schemas.d.ts +79 -0
- package/build/internal/cjs/schemas.js +190 -0
- package/build/internal/cjs/schemas.js.map +1 -0
- package/build/internal/es/index.d.mts +50 -0
- package/build/internal/es/index.mjs +355 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/internal/es/index.typings.d.mts +324 -0
- package/build/internal/es/index.typings.mjs +318 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +271 -0
- package/build/internal/es/meta.mjs +281 -0
- package/build/internal/es/meta.mjs.map +1 -0
- package/build/internal/es/schemas.d.mts +79 -0
- package/build/internal/es/schemas.mjs +146 -0
- package/build/internal/es/schemas.mjs.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +61 -0
- package/schemas/package.json +3 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../meta.ts","../../src/promote-seo-v2-llms-txt-llms-txt.http.ts","../../src/promote-seo-v2-llms-txt-llms-txt.types.ts","../../src/promote-seo-v2-llms-txt-llms-txt.meta.ts"],"sourcesContent":["export * from './src/promote-seo-v2-llms-txt-llms-txt.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveComWixpressPromoteSeoRobotsServerV2LlmsServiceV2Url(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'www._base_domain_': [\n {\n srcPath: '/_api/promote-seo-robots-server',\n destPath: '/api',\n },\n {\n srcPath: '/_api/promote-seo-robots-server/v2/robots',\n destPath: '/v2/robots',\n },\n {\n srcPath: '/_api/promote-seo-robots-server/v2/ads',\n destPath: '/v2/ads',\n },\n {\n srcPath: '/_api/promote-seo-robots-server/v2/llms',\n destPath: '/v2/llms',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/promote-seo-robots-server',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/promote-seo-robots-server',\n destPath: '/api',\n },\n {\n srcPath: '/_api/promote-seo-robots-server/v2/robots',\n destPath: '/v2/robots',\n },\n {\n srcPath: '/_api/promote-seo-robots-server/v2/ads',\n destPath: '/v2/ads',\n },\n {\n srcPath: '/_api/promote-seo-robots-server/v2/llms',\n destPath: '/v2/llms',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/promote-seo-robots-server/v2/robots',\n destPath: '/v2/robots',\n },\n {\n srcPath: '/promote-seo-robots-server/v2/ads',\n destPath: '/v2/ads',\n },\n {\n srcPath: '/promote-seo-txt-file-server/v2/ads',\n destPath: '/v2/ads',\n },\n {\n srcPath: '/promote-seo-txt-file-server/v2/robots',\n destPath: '/v2/robots',\n },\n {\n srcPath: '/promote-seo-robots-server/v2/llms',\n destPath: '/v2/llms',\n },\n {\n srcPath: '/promote-seo-txt-file-server/v2/llms',\n destPath: '/v2/llms',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/promote/marketing/v2/ads',\n destPath: '/v2/ads',\n },\n {\n srcPath: '/promote/seo/v2/llms',\n destPath: '/v2/llms',\n },\n {\n srcPath: '/promote/seo/v2/robots',\n destPath: '/v2/robots',\n },\n ],\n _: [\n {\n srcPath: '/promote/marketing/v2/ads',\n destPath: '/v2/ads',\n },\n {\n srcPath: '/promote/seo/v2/llms',\n destPath: '/v2/llms',\n },\n {\n srcPath: '/promote/seo/v2/robots',\n destPath: '/v2/robots',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_seo_llms-txt';\n\n/** Retrieves the `llms.txt` file entity. */\nexport function getLlmsTxt(payload: object): RequestOptionsFactory<any> {\n function __getLlmsTxt({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.promote.seo.v2.llms_txt',\n method: 'GET' as any,\n methodFqn:\n 'com.wixpress.promote.seo.robots.server.v2.LlmsServiceV2.GetLlmsTxt',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPromoteSeoRobotsServerV2LlmsServiceV2Url({\n protoPath: '/v2/llms',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __getLlmsTxt;\n}\n\n/**\n * Updates the `llms.txt` file entity.\n *\n * The content can be set to an empty string to create a blank file.\n *\n * To restore Wix's default content, set the `default` field to `true` and omit the `content` field.\n */\nexport function updateLlmsTxt(payload: object): RequestOptionsFactory<any> {\n function __updateLlmsTxt({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.promote.seo.v2.llms_txt',\n method: 'PUT' as any,\n methodFqn:\n 'com.wixpress.promote.seo.robots.server.v2.LlmsServiceV2.UpdateLlmsTxt',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPromoteSeoRobotsServerV2LlmsServiceV2Url({\n protoPath: '/v2/llms',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __updateLlmsTxt;\n}\n\n/**\n * Appends additional content to the existing `llms.txt` file.\n *\n * The provided content will be added to the end of the current file content.\n *\n * To reset to Wix's default content instead, set `default` to `true` and omit the `content` field.\n */\nexport function appendLlmsTxt(payload: object): RequestOptionsFactory<any> {\n function __appendLlmsTxt({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.promote.seo.v2.llms_txt',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wixpress.promote.seo.robots.server.v2.LlmsServiceV2.AppendLlmsTxt',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPromoteSeoRobotsServerV2LlmsServiceV2Url({\n protoPath: '/v2/llms',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __appendLlmsTxt;\n}\n\n/**\n * Updates only the hidden state of the Llms.txt file.\n * Content remains unchanged - only visibility is modified.\n */\nexport function updateLlmsTxtHiddenStatus(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateLlmsTxtHiddenStatus({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.promote.seo.v2.llms_txt',\n method: 'PATCH' as any,\n methodFqn:\n 'com.wixpress.promote.seo.robots.server.v2.LlmsServiceV2.UpdateLlmsTxtHiddenStatus',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveComWixpressPromoteSeoRobotsServerV2LlmsServiceV2Url({\n protoPath: '/v2/llms/hidden',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __updateLlmsTxtHiddenStatus;\n}\n","export interface LlmsTxt {\n /**\n * CFull text content of the `llms.txt` file.\n * @maxLength 720000\n */\n content?: string;\n /** Whether this `llms.txt` file uses Wix's default content. */\n default?: boolean;\n /**\n * Target subdomain for the `llms.txt` file (for example, 'www', 'es', 'fr'). Default: 'www'\n * @maxLength 63\n */\n subdomain?: string;\n /**\n * Whether the llms.txt file should be hidden from public access.\n * @readonly\n */\n hidden?: boolean | null;\n /** 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`. */\n manuallyEdited?: boolean;\n /**\n * ISO 639-1 language code detected for the site (e.g. en, fr). Used to localize the MCP documentation section when serving llms.txt.\n * @maxLength 2\n */\n detectedLanguage?: string;\n}\n\n/** The request to get the Llms.txt file content */\nexport interface GetLlmsTxtRequest {\n /**\n * Subdomain of the requested `llms.txt file`. For example, `www`, `es`, `fr`. Default: `www`.\n * @maxLength 63\n */\n subdomain?: string;\n}\n\n/** The response of the Llms.txt file request */\nexport interface GetLlmsTxtResponse {\n /** Retrieved `llms.txt` file entity. */\n llmsTxt?: LlmsTxt;\n}\n\n/** The request to update the content of the Llms.txt file */\nexport interface UpdateLlmsTxtRequest {\n /** `llms.txt` file to update. */\n llmsTxt?: LlmsTxt;\n}\n\nexport interface UpdateLlmsTxtResponse {\n /** Updated Llms txt object */\n llmsTxt?: LlmsTxt;\n}\n\n/** The request to append the content of the Llms.txt file */\nexport interface AppendLlmsTxtRequest {\n /** `llms.txt` file to append. */\n llmsTxt?: LlmsTxt;\n}\n\nexport interface AppendLlmsTxtResponse {\n /** Appended `llms.txt` file. */\n llmsTxt?: LlmsTxt;\n}\n\n/** The request to update the hidden state of Llms.txt file */\nexport interface UpdateLlmsTxtHiddenStatusRequest {\n /**\n * Hidden state to set for the Llms.txt file.\n * If true, the llms.txt file will be hidden from public access (returns 404).\n * If false, the llms.txt file will be publicly accessible.\n */\n hidden?: boolean;\n /**\n * Subdomain of Llms.txt, for example `www`, `es`, `fr`. Default is `www`.\n * @maxLength 63\n */\n subdomain?: string;\n}\n\n/** The response of updating the hidden state of Llms.txt file */\nexport interface UpdateLlmsTxtHiddenStatusResponse {\n /** Updated Llms txt object with new hidden state */\n llmsTxt?: LlmsTxt;\n}\n\n/** The request to update the manually_edited state of Llms.txt file */\nexport interface UpdateLlmsTxtManuallyEditedStatusRequest {\n /**\n * Manually edited state to set for the Llms.txt file.\n * If true, the llms.txt file is marked as manually edited, and update/append operations\n * that do not acknowledge the flag will be rejected.\n * If false, the llms.txt file is unlocked for auto-update operations.\n */\n manuallyEdited?: boolean;\n /**\n * Subdomain of Llms.txt, for example `www`, `es`, `fr`. Default is `www`.\n * @maxLength 63\n */\n subdomain?: string;\n}\n\n/** The response of updating the manually_edited state of Llms.txt file */\nexport interface UpdateLlmsTxtManuallyEditedStatusResponse {\n /** Updated Llms.txt file with new manually_edited state. */\n llmsTxt?: LlmsTxt;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n","import * as ambassadorWixPromoteSeoV2LlmsTxt from './promote-seo-v2-llms-txt-llms-txt.http.js';\nimport * as ambassadorWixPromoteSeoV2LlmsTxtTypes from './promote-seo-v2-llms-txt-llms-txt.types.js';\nimport * as ambassadorWixPromoteSeoV2LlmsTxtUniversalTypes from './promote-seo-v2-llms-txt-llms-txt.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function getLlmsTxt(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixPromoteSeoV2LlmsTxtUniversalTypes.GetLlmsTxtRequest,\n ambassadorWixPromoteSeoV2LlmsTxtTypes.GetLlmsTxtRequest,\n ambassadorWixPromoteSeoV2LlmsTxtUniversalTypes.GetLlmsTxtResponse,\n ambassadorWixPromoteSeoV2LlmsTxtTypes.GetLlmsTxtResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPromoteSeoV2LlmsTxt.getLlmsTxt(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v2/llms',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateLlmsTxt(): __PublicMethodMetaInfo<\n 'PUT',\n {},\n ambassadorWixPromoteSeoV2LlmsTxtUniversalTypes.UpdateLlmsTxtRequest,\n ambassadorWixPromoteSeoV2LlmsTxtTypes.UpdateLlmsTxtRequest,\n ambassadorWixPromoteSeoV2LlmsTxtUniversalTypes.UpdateLlmsTxtResponse,\n ambassadorWixPromoteSeoV2LlmsTxtTypes.UpdateLlmsTxtResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPromoteSeoV2LlmsTxt.updateLlmsTxt(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PUT',\n path: '/v2/llms',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function appendLlmsTxt(): __PublicMethodMetaInfo<\n 'PATCH',\n {},\n ambassadorWixPromoteSeoV2LlmsTxtUniversalTypes.AppendLlmsTxtRequest,\n ambassadorWixPromoteSeoV2LlmsTxtTypes.AppendLlmsTxtRequest,\n ambassadorWixPromoteSeoV2LlmsTxtUniversalTypes.AppendLlmsTxtResponse,\n ambassadorWixPromoteSeoV2LlmsTxtTypes.AppendLlmsTxtResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPromoteSeoV2LlmsTxt.appendLlmsTxt(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v2/llms',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateLlmsTxtHiddenStatus(): __PublicMethodMetaInfo<\n 'PATCH',\n {},\n ambassadorWixPromoteSeoV2LlmsTxtUniversalTypes.UpdateLlmsTxtHiddenStatusRequest,\n ambassadorWixPromoteSeoV2LlmsTxtTypes.UpdateLlmsTxtHiddenStatusRequest,\n ambassadorWixPromoteSeoV2LlmsTxtUniversalTypes.UpdateLlmsTxtHiddenStatusResponse,\n ambassadorWixPromoteSeoV2LlmsTxtTypes.UpdateLlmsTxtHiddenStatusResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPromoteSeoV2LlmsTxt.updateLlmsTxtHiddenStatus(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v2/llms/hidden',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n LlmsTxt as LlmsTxtOriginal,\n GetLlmsTxtRequest as GetLlmsTxtRequestOriginal,\n GetLlmsTxtResponse as GetLlmsTxtResponseOriginal,\n UpdateLlmsTxtRequest as UpdateLlmsTxtRequestOriginal,\n UpdateLlmsTxtResponse as UpdateLlmsTxtResponseOriginal,\n AppendLlmsTxtRequest as AppendLlmsTxtRequestOriginal,\n AppendLlmsTxtResponse as AppendLlmsTxtResponseOriginal,\n UpdateLlmsTxtHiddenStatusRequest as UpdateLlmsTxtHiddenStatusRequestOriginal,\n UpdateLlmsTxtHiddenStatusResponse as UpdateLlmsTxtHiddenStatusResponseOriginal,\n UpdateLlmsTxtManuallyEditedStatusRequest as UpdateLlmsTxtManuallyEditedStatusRequestOriginal,\n UpdateLlmsTxtManuallyEditedStatusResponse as UpdateLlmsTxtManuallyEditedStatusResponseOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n} from './promote-seo-v2-llms-txt-llms-txt.types.js';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA,uBAAAA;AAAA,EAAA,kBAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,iCAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,IAAAC,uBAA2B;AAI3B,SAAS,2DACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU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AM,oBAC6B,cAAc,OAAO;AAExD,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,6BAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC6B,0BAA0B,OAAO;AAEpE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["appendLlmsTxt","getLlmsTxt","updateLlmsTxt","updateLlmsTxtHiddenStatus","import_rest_modules","WebhookIdentityType","getLlmsTxt","updateLlmsTxt","appendLlmsTxt","updateLlmsTxtHiddenStatus"]}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const GetLlmsTxtRequest: z.ZodObject<{
|
|
4
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
5
|
+
subdomain: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const GetLlmsTxtResponse: z.ZodObject<{
|
|
9
|
+
llmsTxt: z.ZodOptional<z.ZodObject<{
|
|
10
|
+
content: z.ZodOptional<z.ZodString>;
|
|
11
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
subdomain: z.ZodOptional<z.ZodString>;
|
|
13
|
+
hidden: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
14
|
+
manuallyEdited: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
+
detectedLanguage: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const UpdateLlmsTxtRequest: z.ZodObject<{
|
|
19
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
20
|
+
llmsTxt: z.ZodOptional<z.ZodObject<{
|
|
21
|
+
content: z.ZodOptional<z.ZodString>;
|
|
22
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
+
subdomain: z.ZodOptional<z.ZodString>;
|
|
24
|
+
hidden: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
25
|
+
manuallyEdited: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
+
detectedLanguage: z.ZodOptional<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>>;
|
|
28
|
+
}, z.core.$strip>>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
declare const UpdateLlmsTxtResponse: z.ZodObject<{
|
|
31
|
+
llmsTxt: z.ZodOptional<z.ZodObject<{
|
|
32
|
+
content: z.ZodOptional<z.ZodString>;
|
|
33
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
34
|
+
subdomain: z.ZodOptional<z.ZodString>;
|
|
35
|
+
hidden: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
36
|
+
manuallyEdited: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
+
detectedLanguage: z.ZodOptional<z.ZodString>;
|
|
38
|
+
}, z.core.$strip>>;
|
|
39
|
+
}, z.core.$strip>;
|
|
40
|
+
declare const AppendLlmsTxtRequest: z.ZodObject<{
|
|
41
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
42
|
+
llmsTxt: z.ZodOptional<z.ZodObject<{
|
|
43
|
+
content: z.ZodOptional<z.ZodString>;
|
|
44
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
subdomain: z.ZodOptional<z.ZodString>;
|
|
46
|
+
hidden: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
47
|
+
manuallyEdited: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
+
detectedLanguage: z.ZodOptional<z.ZodString>;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
declare const AppendLlmsTxtResponse: z.ZodObject<{
|
|
53
|
+
llmsTxt: z.ZodOptional<z.ZodObject<{
|
|
54
|
+
content: z.ZodOptional<z.ZodString>;
|
|
55
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
+
subdomain: z.ZodOptional<z.ZodString>;
|
|
57
|
+
hidden: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
58
|
+
manuallyEdited: z.ZodOptional<z.ZodBoolean>;
|
|
59
|
+
detectedLanguage: z.ZodOptional<z.ZodString>;
|
|
60
|
+
}, z.core.$strip>>;
|
|
61
|
+
}, z.core.$strip>;
|
|
62
|
+
declare const UpdateLlmsTxtHiddenStatusRequest: z.ZodObject<{
|
|
63
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
64
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
65
|
+
subdomain: z.ZodOptional<z.ZodString>;
|
|
66
|
+
}, z.core.$strip>>;
|
|
67
|
+
}, z.core.$strip>;
|
|
68
|
+
declare const UpdateLlmsTxtHiddenStatusResponse: z.ZodObject<{
|
|
69
|
+
llmsTxt: z.ZodOptional<z.ZodObject<{
|
|
70
|
+
content: z.ZodOptional<z.ZodString>;
|
|
71
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
72
|
+
subdomain: z.ZodOptional<z.ZodString>;
|
|
73
|
+
hidden: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
74
|
+
manuallyEdited: z.ZodOptional<z.ZodBoolean>;
|
|
75
|
+
detectedLanguage: z.ZodOptional<z.ZodString>;
|
|
76
|
+
}, z.core.$strip>>;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
|
|
79
|
+
export { AppendLlmsTxtRequest, AppendLlmsTxtResponse, GetLlmsTxtRequest, GetLlmsTxtResponse, UpdateLlmsTxtHiddenStatusRequest, UpdateLlmsTxtHiddenStatusResponse, UpdateLlmsTxtRequest, UpdateLlmsTxtResponse };
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
|
|
30
|
+
// schemas.ts
|
|
31
|
+
var schemas_exports = {};
|
|
32
|
+
__export(schemas_exports, {
|
|
33
|
+
AppendLlmsTxtRequest: () => AppendLlmsTxtRequest,
|
|
34
|
+
AppendLlmsTxtResponse: () => AppendLlmsTxtResponse,
|
|
35
|
+
GetLlmsTxtRequest: () => GetLlmsTxtRequest,
|
|
36
|
+
GetLlmsTxtResponse: () => GetLlmsTxtResponse,
|
|
37
|
+
UpdateLlmsTxtHiddenStatusRequest: () => UpdateLlmsTxtHiddenStatusRequest,
|
|
38
|
+
UpdateLlmsTxtHiddenStatusResponse: () => UpdateLlmsTxtHiddenStatusResponse,
|
|
39
|
+
UpdateLlmsTxtRequest: () => UpdateLlmsTxtRequest,
|
|
40
|
+
UpdateLlmsTxtResponse: () => UpdateLlmsTxtResponse
|
|
41
|
+
});
|
|
42
|
+
module.exports = __toCommonJS(schemas_exports);
|
|
43
|
+
|
|
44
|
+
// src/promote-seo-v2-llms-txt-llms-txt.schemas.ts
|
|
45
|
+
var z = __toESM(require("zod"));
|
|
46
|
+
var GetLlmsTxtRequest = z.object({
|
|
47
|
+
options: z.object({
|
|
48
|
+
subdomain: z.string().describe(
|
|
49
|
+
"Subdomain of the requested `llms.txt file`. For example, `www`, `es`, `fr`. Default: `www`."
|
|
50
|
+
).max(63).optional()
|
|
51
|
+
}).optional()
|
|
52
|
+
});
|
|
53
|
+
var GetLlmsTxtResponse = z.object({
|
|
54
|
+
llmsTxt: z.object({
|
|
55
|
+
content: z.string().describe("CFull text content of the `llms.txt` file.").max(72e4).optional(),
|
|
56
|
+
default: z.boolean().describe("Whether this `llms.txt` file uses Wix's default content.").optional(),
|
|
57
|
+
subdomain: z.string().describe(
|
|
58
|
+
"Target subdomain for the `llms.txt` file (for example, 'www', 'es', 'fr'). Default: 'www'"
|
|
59
|
+
).max(63).optional(),
|
|
60
|
+
hidden: z.boolean().describe(
|
|
61
|
+
"Whether the llms.txt file should be hidden from public access."
|
|
62
|
+
).optional().nullable(),
|
|
63
|
+
manuallyEdited: z.boolean().describe(
|
|
64
|
+
"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`."
|
|
65
|
+
).optional(),
|
|
66
|
+
detectedLanguage: z.string().describe(
|
|
67
|
+
"ISO 639-1 language code detected for the site (e.g. en, fr). Used to localize the MCP documentation section when serving llms.txt."
|
|
68
|
+
).max(2).optional()
|
|
69
|
+
}).describe("Retrieved `llms.txt` file entity.").optional()
|
|
70
|
+
});
|
|
71
|
+
var UpdateLlmsTxtRequest = z.object({
|
|
72
|
+
options: z.object({
|
|
73
|
+
llmsTxt: z.object({
|
|
74
|
+
content: z.string().describe("CFull text content of the `llms.txt` file.").max(72e4).optional(),
|
|
75
|
+
default: z.boolean().describe(
|
|
76
|
+
"Whether this `llms.txt` file uses Wix's default content."
|
|
77
|
+
).optional(),
|
|
78
|
+
subdomain: z.string().describe(
|
|
79
|
+
"Target subdomain for the `llms.txt` file (for example, 'www', 'es', 'fr'). Default: 'www'"
|
|
80
|
+
).max(63).optional(),
|
|
81
|
+
hidden: z.boolean().describe(
|
|
82
|
+
"Whether the llms.txt file should be hidden from public access."
|
|
83
|
+
).optional().nullable(),
|
|
84
|
+
manuallyEdited: z.boolean().describe(
|
|
85
|
+
"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`."
|
|
86
|
+
).optional(),
|
|
87
|
+
detectedLanguage: z.string().describe(
|
|
88
|
+
"ISO 639-1 language code detected for the site (e.g. en, fr). Used to localize the MCP documentation section when serving llms.txt."
|
|
89
|
+
).max(2).optional()
|
|
90
|
+
}).describe("`llms.txt` file to update.").optional()
|
|
91
|
+
}).optional()
|
|
92
|
+
});
|
|
93
|
+
var UpdateLlmsTxtResponse = z.object({
|
|
94
|
+
llmsTxt: z.object({
|
|
95
|
+
content: z.string().describe("CFull text content of the `llms.txt` file.").max(72e4).optional(),
|
|
96
|
+
default: z.boolean().describe("Whether this `llms.txt` file uses Wix's default content.").optional(),
|
|
97
|
+
subdomain: z.string().describe(
|
|
98
|
+
"Target subdomain for the `llms.txt` file (for example, 'www', 'es', 'fr'). Default: 'www'"
|
|
99
|
+
).max(63).optional(),
|
|
100
|
+
hidden: z.boolean().describe(
|
|
101
|
+
"Whether the llms.txt file should be hidden from public access."
|
|
102
|
+
).optional().nullable(),
|
|
103
|
+
manuallyEdited: z.boolean().describe(
|
|
104
|
+
"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`."
|
|
105
|
+
).optional(),
|
|
106
|
+
detectedLanguage: z.string().describe(
|
|
107
|
+
"ISO 639-1 language code detected for the site (e.g. en, fr). Used to localize the MCP documentation section when serving llms.txt."
|
|
108
|
+
).max(2).optional()
|
|
109
|
+
}).describe("Updated Llms txt object").optional()
|
|
110
|
+
});
|
|
111
|
+
var AppendLlmsTxtRequest = z.object({
|
|
112
|
+
options: z.object({
|
|
113
|
+
llmsTxt: z.object({
|
|
114
|
+
content: z.string().describe("CFull text content of the `llms.txt` file.").max(72e4).optional(),
|
|
115
|
+
default: z.boolean().describe(
|
|
116
|
+
"Whether this `llms.txt` file uses Wix's default content."
|
|
117
|
+
).optional(),
|
|
118
|
+
subdomain: z.string().describe(
|
|
119
|
+
"Target subdomain for the `llms.txt` file (for example, 'www', 'es', 'fr'). Default: 'www'"
|
|
120
|
+
).max(63).optional(),
|
|
121
|
+
hidden: z.boolean().describe(
|
|
122
|
+
"Whether the llms.txt file should be hidden from public access."
|
|
123
|
+
).optional().nullable(),
|
|
124
|
+
manuallyEdited: z.boolean().describe(
|
|
125
|
+
"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`."
|
|
126
|
+
).optional(),
|
|
127
|
+
detectedLanguage: z.string().describe(
|
|
128
|
+
"ISO 639-1 language code detected for the site (e.g. en, fr). Used to localize the MCP documentation section when serving llms.txt."
|
|
129
|
+
).max(2).optional()
|
|
130
|
+
}).describe("`llms.txt` file to append.").optional()
|
|
131
|
+
}).optional()
|
|
132
|
+
});
|
|
133
|
+
var AppendLlmsTxtResponse = z.object({
|
|
134
|
+
llmsTxt: z.object({
|
|
135
|
+
content: z.string().describe("CFull text content of the `llms.txt` file.").max(72e4).optional(),
|
|
136
|
+
default: z.boolean().describe("Whether this `llms.txt` file uses Wix's default content.").optional(),
|
|
137
|
+
subdomain: z.string().describe(
|
|
138
|
+
"Target subdomain for the `llms.txt` file (for example, 'www', 'es', 'fr'). Default: 'www'"
|
|
139
|
+
).max(63).optional(),
|
|
140
|
+
hidden: z.boolean().describe(
|
|
141
|
+
"Whether the llms.txt file should be hidden from public access."
|
|
142
|
+
).optional().nullable(),
|
|
143
|
+
manuallyEdited: z.boolean().describe(
|
|
144
|
+
"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`."
|
|
145
|
+
).optional(),
|
|
146
|
+
detectedLanguage: z.string().describe(
|
|
147
|
+
"ISO 639-1 language code detected for the site (e.g. en, fr). Used to localize the MCP documentation section when serving llms.txt."
|
|
148
|
+
).max(2).optional()
|
|
149
|
+
}).describe("Appended `llms.txt` file.").optional()
|
|
150
|
+
});
|
|
151
|
+
var UpdateLlmsTxtHiddenStatusRequest = z.object({
|
|
152
|
+
options: z.object({
|
|
153
|
+
hidden: z.boolean().describe(
|
|
154
|
+
"Hidden state to set for the Llms.txt file.\nIf true, the llms.txt file will be hidden from public access (returns 404).\nIf false, the llms.txt file will be publicly accessible."
|
|
155
|
+
).optional(),
|
|
156
|
+
subdomain: z.string().describe(
|
|
157
|
+
"Subdomain of Llms.txt, for example `www`, `es`, `fr`. Default is `www`."
|
|
158
|
+
).max(63).optional()
|
|
159
|
+
}).optional()
|
|
160
|
+
});
|
|
161
|
+
var UpdateLlmsTxtHiddenStatusResponse = z.object({
|
|
162
|
+
llmsTxt: z.object({
|
|
163
|
+
content: z.string().describe("CFull text content of the `llms.txt` file.").max(72e4).optional(),
|
|
164
|
+
default: z.boolean().describe("Whether this `llms.txt` file uses Wix's default content.").optional(),
|
|
165
|
+
subdomain: z.string().describe(
|
|
166
|
+
"Target subdomain for the `llms.txt` file (for example, 'www', 'es', 'fr'). Default: 'www'"
|
|
167
|
+
).max(63).optional(),
|
|
168
|
+
hidden: z.boolean().describe(
|
|
169
|
+
"Whether the llms.txt file should be hidden from public access."
|
|
170
|
+
).optional().nullable(),
|
|
171
|
+
manuallyEdited: z.boolean().describe(
|
|
172
|
+
"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`."
|
|
173
|
+
).optional(),
|
|
174
|
+
detectedLanguage: z.string().describe(
|
|
175
|
+
"ISO 639-1 language code detected for the site (e.g. en, fr). Used to localize the MCP documentation section when serving llms.txt."
|
|
176
|
+
).max(2).optional()
|
|
177
|
+
}).describe("Updated Llms txt object with new hidden state").optional()
|
|
178
|
+
});
|
|
179
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
180
|
+
0 && (module.exports = {
|
|
181
|
+
AppendLlmsTxtRequest,
|
|
182
|
+
AppendLlmsTxtResponse,
|
|
183
|
+
GetLlmsTxtRequest,
|
|
184
|
+
GetLlmsTxtResponse,
|
|
185
|
+
UpdateLlmsTxtHiddenStatusRequest,
|
|
186
|
+
UpdateLlmsTxtHiddenStatusResponse,
|
|
187
|
+
UpdateLlmsTxtRequest,
|
|
188
|
+
UpdateLlmsTxtResponse
|
|
189
|
+
});
|
|
190
|
+
//# sourceMappingURL=schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../schemas.ts","../../src/promote-seo-v2-llms-txt-llms-txt.schemas.ts"],"sourcesContent":["export * from './src/promote-seo-v2-llms-txt-llms-txt.schemas.js';\n","import * as z from 'zod';\n\nexport const GetLlmsTxtRequest = z.object({\n options: z\n .object({\n subdomain: z\n .string()\n .describe(\n 'Subdomain of the requested `llms.txt file`. For example, `www`, `es`, `fr`. Default: `www`.'\n )\n .max(63)\n .optional(),\n })\n .optional(),\n});\nexport const GetLlmsTxtResponse = z.object({\n llmsTxt: z\n .object({\n content: z\n .string()\n .describe('CFull text content of the `llms.txt` file.')\n .max(720000)\n .optional(),\n default: z\n .boolean()\n .describe(\"Whether this `llms.txt` file uses Wix's default content.\")\n .optional(),\n subdomain: z\n .string()\n .describe(\n \"Target subdomain for the `llms.txt` file (for example, 'www', 'es', 'fr'). Default: 'www'\"\n )\n .max(63)\n .optional(),\n hidden: z\n .boolean()\n .describe(\n 'Whether the llms.txt file should be hidden from public access.'\n )\n .optional()\n .nullable(),\n manuallyEdited: z\n .boolean()\n .describe(\n \"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`.\"\n )\n .optional(),\n detectedLanguage: z\n .string()\n .describe(\n 'ISO 639-1 language code detected for the site (e.g. en, fr). Used to localize the MCP documentation section when serving llms.txt.'\n )\n .max(2)\n .optional(),\n })\n .describe('Retrieved `llms.txt` file entity.')\n .optional(),\n});\nexport const UpdateLlmsTxtRequest = z.object({\n options: z\n .object({\n llmsTxt: z\n .object({\n content: z\n .string()\n .describe('CFull text content of the `llms.txt` file.')\n .max(720000)\n .optional(),\n default: z\n .boolean()\n .describe(\n \"Whether this `llms.txt` file uses Wix's default content.\"\n )\n .optional(),\n subdomain: z\n .string()\n .describe(\n \"Target subdomain for the `llms.txt` file (for example, 'www', 'es', 'fr'). Default: 'www'\"\n )\n .max(63)\n .optional(),\n hidden: z\n .boolean()\n .describe(\n 'Whether the llms.txt file should be hidden from public access.'\n )\n .optional()\n .nullable(),\n manuallyEdited: z\n .boolean()\n .describe(\n \"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`.\"\n )\n .optional(),\n detectedLanguage: z\n .string()\n .describe(\n 'ISO 639-1 language code detected for the site (e.g. en, fr). Used to localize the MCP documentation section when serving llms.txt.'\n )\n .max(2)\n .optional(),\n })\n .describe('`llms.txt` file to update.')\n .optional(),\n })\n .optional(),\n});\nexport const UpdateLlmsTxtResponse = z.object({\n llmsTxt: z\n .object({\n content: z\n .string()\n .describe('CFull text content of the `llms.txt` file.')\n .max(720000)\n .optional(),\n default: z\n .boolean()\n .describe(\"Whether this `llms.txt` file uses Wix's default content.\")\n .optional(),\n subdomain: z\n .string()\n .describe(\n \"Target subdomain for the `llms.txt` file (for example, 'www', 'es', 'fr'). Default: 'www'\"\n )\n .max(63)\n .optional(),\n hidden: z\n .boolean()\n .describe(\n 'Whether the llms.txt file should be hidden from public access.'\n )\n .optional()\n .nullable(),\n manuallyEdited: z\n .boolean()\n .describe(\n \"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`.\"\n )\n .optional(),\n detectedLanguage: z\n .string()\n .describe(\n 'ISO 639-1 language code detected for the site (e.g. en, fr). Used to localize the MCP documentation section when serving llms.txt.'\n )\n .max(2)\n .optional(),\n })\n .describe('Updated Llms txt object')\n .optional(),\n});\nexport const AppendLlmsTxtRequest = z.object({\n options: z\n .object({\n llmsTxt: z\n .object({\n content: z\n .string()\n .describe('CFull text content of the `llms.txt` file.')\n .max(720000)\n .optional(),\n default: z\n .boolean()\n .describe(\n \"Whether this `llms.txt` file uses Wix's default content.\"\n )\n .optional(),\n subdomain: z\n .string()\n .describe(\n \"Target subdomain for the `llms.txt` file (for example, 'www', 'es', 'fr'). Default: 'www'\"\n )\n .max(63)\n .optional(),\n hidden: z\n .boolean()\n .describe(\n 'Whether the llms.txt file should be hidden from public access.'\n )\n .optional()\n .nullable(),\n manuallyEdited: z\n .boolean()\n .describe(\n \"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`.\"\n )\n .optional(),\n detectedLanguage: z\n .string()\n .describe(\n 'ISO 639-1 language code detected for the site (e.g. en, fr). Used to localize the MCP documentation section when serving llms.txt.'\n )\n .max(2)\n .optional(),\n })\n .describe('`llms.txt` file to append.')\n .optional(),\n })\n .optional(),\n});\nexport const AppendLlmsTxtResponse = z.object({\n llmsTxt: z\n .object({\n content: z\n .string()\n .describe('CFull text content of the `llms.txt` file.')\n .max(720000)\n .optional(),\n default: z\n .boolean()\n .describe(\"Whether this `llms.txt` file uses Wix's default content.\")\n .optional(),\n subdomain: z\n .string()\n .describe(\n \"Target subdomain for the `llms.txt` file (for example, 'www', 'es', 'fr'). Default: 'www'\"\n )\n .max(63)\n .optional(),\n hidden: z\n .boolean()\n .describe(\n 'Whether the llms.txt file should be hidden from public access.'\n )\n .optional()\n .nullable(),\n manuallyEdited: z\n .boolean()\n .describe(\n \"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`.\"\n )\n .optional(),\n detectedLanguage: z\n .string()\n .describe(\n 'ISO 639-1 language code detected for the site (e.g. en, fr). Used to localize the MCP documentation section when serving llms.txt.'\n )\n .max(2)\n .optional(),\n })\n .describe('Appended `llms.txt` file.')\n .optional(),\n});\nexport const UpdateLlmsTxtHiddenStatusRequest = z.object({\n options: z\n .object({\n hidden: z\n .boolean()\n .describe(\n 'Hidden state to set for the Llms.txt file.\\nIf true, the llms.txt file will be hidden from public access (returns 404).\\nIf false, the llms.txt file will be publicly accessible.'\n )\n .optional(),\n subdomain: z\n .string()\n .describe(\n 'Subdomain of Llms.txt, for example `www`, `es`, `fr`. Default is `www`.'\n )\n .max(63)\n .optional(),\n })\n .optional(),\n});\nexport const UpdateLlmsTxtHiddenStatusResponse = z.object({\n llmsTxt: z\n .object({\n content: z\n .string()\n .describe('CFull text content of the `llms.txt` file.')\n .max(720000)\n .optional(),\n default: z\n .boolean()\n .describe(\"Whether this `llms.txt` file uses Wix's default content.\")\n .optional(),\n subdomain: z\n .string()\n .describe(\n \"Target subdomain for the `llms.txt` file (for example, 'www', 'es', 'fr'). Default: 'www'\"\n )\n .max(63)\n .optional(),\n hidden: z\n .boolean()\n .describe(\n 'Whether the llms.txt file should be hidden from public access.'\n )\n .optional()\n .nullable(),\n manuallyEdited: z\n .boolean()\n .describe(\n \"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`.\"\n )\n .optional(),\n detectedLanguage: z\n .string()\n .describe(\n 'ISO 639-1 language code detected for the site (e.g. en, fr). Used to localize the MCP documentation section when serving llms.txt.'\n )\n .max(2)\n .optional(),\n })\n .describe('Updated Llms txt object with new hidden state')\n .optional(),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AAEZ,IAAM,oBAAsB,SAAO;AAAA,EACxC,SACG,SAAO;AAAA,IACN,WACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,EAAE,EACN,SAAS;AAAA,EACd,CAAC,EACA,SAAS;AACd,CAAC;AACM,IAAM,qBAAuB,SAAO;AAAA,EACzC,SACG,SAAO;AAAA,IACN,SACG,SAAO,EACP,SAAS,4CAA4C,EACrD,IAAI,IAAM,EACV,SAAS;AAAA,IACZ,SACG,UAAQ,EACR,SAAS,0DAA0D,EACnE,SAAS;AAAA,IACZ,WACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,EAAE,EACN,SAAS;AAAA,IACZ,QACG,UAAQ,EACR;AAAA,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,gBACG,UAAQ,EACR;AAAA,MACC;AAAA,IACF,E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A,IACZ,WACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,EAAE,EACN,SAAS;AAAA,EACd,CAAC,EACA,SAAS;AACd,CAAC;AACM,IAAM,oCAAsC,SAAO;AAAA,EACxD,SACG,SAAO;AAAA,IACN,SACG,SAAO,EACP,SAAS,4CAA4C,EACrD,IAAI,IAAM,EACV,SAAS;AAAA,IACZ,SACG,UAAQ,EACR,SAAS,0DAA0D,EACnE,SAAS;AAAA,IACZ,WACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,EAAE,EACN,SAAS;AAAA,IACZ,QACG,UAAQ,EACR;AAAA,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,gBACG,UAAQ,EACR;AAAA,MACC;AAAA,IACF,EACC,SAAS;AAAA,IACZ,kBACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,CAAC,EACL,SAAS;AAAA,EACd,CAAC,EACA,SAAS,+CAA+C,EACxD,SAAS;AACd,CAAC;","names":[]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
+
import { GetLlmsTxtOptions, GetLlmsTxtResponse, UpdateLlmsTxtOptions, UpdateLlmsTxtResponse, AppendLlmsTxtOptions, AppendLlmsTxtResponse, UpdateLlmsTxtHiddenStatusOptions, UpdateLlmsTxtHiddenStatusResponse } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, ActionEvent, AppendLlmsTxtRequest, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, GetLlmsTxtRequest, IdentificationData, IdentificationDataIdOneOf, LlmsTxt, MessageEnvelope, RestoreInfo, UpdateLlmsTxtHiddenStatusRequest, UpdateLlmsTxtManuallyEditedStatusRequest, UpdateLlmsTxtManuallyEditedStatusResponse, UpdateLlmsTxtRequest, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
|
|
4
|
+
|
|
5
|
+
declare function getLlmsTxt$1(httpClient: HttpClient): GetLlmsTxtSignature;
|
|
6
|
+
interface GetLlmsTxtSignature {
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves the `llms.txt` file entity.
|
|
9
|
+
* @returns The response of the Llms.txt file request
|
|
10
|
+
*/
|
|
11
|
+
(options?: GetLlmsTxtOptions): Promise<NonNullablePaths<GetLlmsTxtResponse, `llmsTxt.content` | `llmsTxt.default` | `llmsTxt.subdomain` | `llmsTxt.manuallyEdited` | `llmsTxt.detectedLanguage`, 3>>;
|
|
12
|
+
}
|
|
13
|
+
declare function updateLlmsTxt$1(httpClient: HttpClient): UpdateLlmsTxtSignature;
|
|
14
|
+
interface UpdateLlmsTxtSignature {
|
|
15
|
+
/**
|
|
16
|
+
* Updates the `llms.txt` file entity.
|
|
17
|
+
*
|
|
18
|
+
* The content can be set to an empty string to create a blank file.
|
|
19
|
+
*
|
|
20
|
+
* To restore Wix's default content, set the `default` field to `true` and omit the `content` field.
|
|
21
|
+
*/
|
|
22
|
+
(options?: UpdateLlmsTxtOptions): Promise<NonNullablePaths<UpdateLlmsTxtResponse, `llmsTxt.content` | `llmsTxt.default` | `llmsTxt.subdomain` | `llmsTxt.manuallyEdited` | `llmsTxt.detectedLanguage`, 3>>;
|
|
23
|
+
}
|
|
24
|
+
declare function appendLlmsTxt$1(httpClient: HttpClient): AppendLlmsTxtSignature;
|
|
25
|
+
interface AppendLlmsTxtSignature {
|
|
26
|
+
/**
|
|
27
|
+
* Appends additional content to the existing `llms.txt` file.
|
|
28
|
+
*
|
|
29
|
+
* The provided content will be added to the end of the current file content.
|
|
30
|
+
*
|
|
31
|
+
* To reset to Wix's default content instead, set `default` to `true` and omit the `content` field.
|
|
32
|
+
*/
|
|
33
|
+
(options?: AppendLlmsTxtOptions): Promise<NonNullablePaths<AppendLlmsTxtResponse, `llmsTxt.content` | `llmsTxt.default` | `llmsTxt.subdomain` | `llmsTxt.manuallyEdited` | `llmsTxt.detectedLanguage`, 3>>;
|
|
34
|
+
}
|
|
35
|
+
declare function updateLlmsTxtHiddenStatus$1(httpClient: HttpClient): UpdateLlmsTxtHiddenStatusSignature;
|
|
36
|
+
interface UpdateLlmsTxtHiddenStatusSignature {
|
|
37
|
+
/**
|
|
38
|
+
* Updates only the hidden state of the Llms.txt file.
|
|
39
|
+
* Content remains unchanged - only visibility is modified.
|
|
40
|
+
* @returns The response of updating the hidden state of Llms.txt file
|
|
41
|
+
*/
|
|
42
|
+
(options?: UpdateLlmsTxtHiddenStatusOptions): Promise<NonNullablePaths<UpdateLlmsTxtHiddenStatusResponse, `llmsTxt.content` | `llmsTxt.default` | `llmsTxt.subdomain` | `llmsTxt.manuallyEdited` | `llmsTxt.detectedLanguage`, 3>>;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare const getLlmsTxt: MaybeContext<BuildRESTFunction<typeof getLlmsTxt$1> & typeof getLlmsTxt$1>;
|
|
46
|
+
declare const updateLlmsTxt: MaybeContext<BuildRESTFunction<typeof updateLlmsTxt$1> & typeof updateLlmsTxt$1>;
|
|
47
|
+
declare const appendLlmsTxt: MaybeContext<BuildRESTFunction<typeof appendLlmsTxt$1> & typeof appendLlmsTxt$1>;
|
|
48
|
+
declare const updateLlmsTxtHiddenStatus: MaybeContext<BuildRESTFunction<typeof updateLlmsTxtHiddenStatus$1> & typeof updateLlmsTxtHiddenStatus$1>;
|
|
49
|
+
|
|
50
|
+
export { AppendLlmsTxtOptions, AppendLlmsTxtResponse, GetLlmsTxtOptions, GetLlmsTxtResponse, UpdateLlmsTxtHiddenStatusOptions, UpdateLlmsTxtHiddenStatusResponse, UpdateLlmsTxtOptions, UpdateLlmsTxtResponse, appendLlmsTxt, getLlmsTxt, updateLlmsTxt, updateLlmsTxtHiddenStatus };
|