@wix/auto_sdk_igor_document-search 1.0.0 → 1.0.2
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 +38 -158
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +201 -1
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +10 -7
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +54 -0
- package/build/cjs/schemas.js +115 -0
- package/build/cjs/schemas.js.map +1 -0
- package/build/es/index.d.mts +38 -158
- package/build/es/index.mjs +18 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +201 -1
- package/build/es/index.typings.mjs +18 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +10 -7
- package/build/es/meta.mjs +18 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +54 -0
- package/build/es/schemas.mjs +75 -0
- package/build/es/schemas.mjs.map +1 -0
- package/build/internal/cjs/index.d.ts +7 -10
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +25 -20
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +8 -6
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +54 -0
- package/build/internal/cjs/schemas.js +115 -0
- package/build/internal/cjs/schemas.js.map +1 -0
- package/build/internal/es/index.d.mts +7 -10
- package/build/internal/es/index.mjs +18 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +25 -20
- package/build/internal/es/index.typings.mjs +18 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +8 -6
- package/build/internal/es/meta.mjs +18 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +54 -0
- package/build/internal/es/schemas.mjs +75 -0
- package/build/internal/es/schemas.mjs.map +1 -0
- package/package.json +11 -5
- package/schemas/package.json +3 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/igor-v1-document-entry-document-search.http.ts","../../../src/igor-v1-document-entry-document-search.types.ts","../../../src/igor-v1-document-entry-document-search.meta.ts"],"sourcesContent":["import { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixIgorV1DocumentSearchServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'www.wixapis.com': [\n {\n srcPath: '/mcp-docs-search/v1',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_igor_document-search';\n\n/**\n * Searches Wix documentation entries by a search term and document type.\n *\n * Returns a ranked list of matching documentation entries ordered by relevance\n * score descending. Method results include kb_name to identify the source\n * knowledge base. Use lines_in_each_result to get truncated snippets with\n * contextual \"read more\" hints instead of full content.\n */\nexport function searchDocuments(payload: object): RequestOptionsFactory<any> {\n function __searchDocuments({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.igor.v1.document_entry',\n method: 'POST' as any,\n methodFqn: 'wix.igor.v1.DocumentSearchService.SearchDocuments',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixIgorV1DocumentSearchServiceUrl({\n protoPath: '/v1/docs/search',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'results.updatedDate' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'results.relevanceScore' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __searchDocuments;\n}\n\n/**\n * Searches Wix documentation and returns results as a single markdown string\n * ready to be passed directly to an LLM.\n *\n * Method results are interleaved 2-by-2 with article results so both types\n * always appear. When lines_in_each_result is set, each result is truncated\n * with a contextual hint (method results get a schema read hint; article\n * results get a \"read the full article\" hint). Results are separated by a\n * line of equal signs.\n */\nexport function searchDocumentsMarkdown(\n payload: object\n): RequestOptionsFactory<any> {\n function __searchDocumentsMarkdown({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.igor.v1.document_entry',\n method: 'POST' as any,\n methodFqn: 'wix.igor.v1.DocumentSearchService.SearchDocumentsMarkdown',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixIgorV1DocumentSearchServiceUrl({\n protoPath: '/v1/docs/search/markdown',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __searchDocumentsMarkdown;\n}\n","/** A Wix documentation entry returned as a search result. */\nexport interface DocumentEntry {\n /**\n * The unique identifier for this documentation entry.\n * @maxLength 500\n */\n id?: string;\n /** The date the document was last updated. */\n updatedDate?: Date | null;\n /**\n * The title of the documentation entry.\n * @maxLength 1000\n */\n title?: string;\n /**\n * The full text content of the documentation entry.\n * @maxLength 100000\n */\n content?: string;\n /**\n * The direct URL to the documentation page for this entry.\n * @maxLength 2000\n */\n url?: string;\n /** The relevance score in the range [0, 1]. Higher means more relevant. */\n relevanceScore?: number;\n /**\n * The knowledge base this entry was retrieved from (e.g. \"REST_METHODS_KB_ID\").\n * @maxLength 100\n */\n kbName?: string;\n}\n\n/** The parameters for a SearchDocuments call. */\nexport interface SearchDocumentsRequest {\n /**\n * The search term to look up in the documentation.\n * @minLength 1\n * @maxLength 500\n */\n searchTerm: string;\n /**\n * The maximum number of results to return. Defaults to 15. Valid range: [1, 20].\n * @min 1\n * @max 20\n */\n maximumResults?: number | null;\n /** The type of documentation to search. Defaults to REST if not provided. */\n documentType?: DocumentTypeWithLiterals;\n /**\n * Maximum number of lines to include per result content. When set, method results use\n * section-aware truncation; article results are truncated at this line count.\n * A \"Read more here: <url>\" hint is appended when content is truncated.\n * @min 1\n * @max 200\n */\n linesInEachResult?: number | null;\n}\n\n/** The type of Wix documentation to search. */\nexport enum DocumentType {\n /** Default value. Must not be used. */\n DOCUMENT_TYPE_UNSPECIFIED = 'DOCUMENT_TYPE_UNSPECIFIED',\n /** Velo JavaScript APIs for Wix sites. */\n VELO = 'VELO',\n /** Wix JavaScript SDK for headless and external applications. */\n SDK = 'SDK',\n /** Wix REST APIs. */\n REST = 'REST',\n /** Wix Design System documentation. */\n WDS = 'WDS',\n /** Documentation for building Wix apps. */\n BUILD_APPS = 'BUILD_APPS',\n /** Wix Headless documentation for external and headless applications. */\n WIX_HEADLESS = 'WIX_HEADLESS',\n /** Wix CLI documentation. */\n CLI = 'CLI',\n /** Wix business solutions and workflow documentation. */\n BUSINESS_SOLUTIONS = 'BUSINESS_SOLUTIONS',\n}\n\n/** @enumType */\nexport type DocumentTypeWithLiterals =\n | DocumentType\n | 'DOCUMENT_TYPE_UNSPECIFIED'\n | 'VELO'\n | 'SDK'\n | 'REST'\n | 'WDS'\n | 'BUILD_APPS'\n | 'WIX_HEADLESS'\n | 'CLI'\n | 'BUSINESS_SOLUTIONS';\n\n/** The result of a SearchDocuments call. */\nexport interface SearchDocumentsResponse {\n /**\n * The ranked list of matching documentation entries, ordered by relevance score descending.\n * @maxSize 100\n */\n results?: DocumentEntry[];\n}\n\n/** The parameters for a SearchDocumentsMarkdown call. */\nexport interface SearchDocumentsMarkdownRequest {\n /**\n * The search term to look up in the documentation.\n * @minLength 1\n * @maxLength 500\n */\n searchTerm: string;\n /** The type of documentation to search. Defaults to REST if not provided. */\n documentType?: DocumentTypeWithLiterals;\n /**\n * The maximum number of results to return. Defaults to 15. Valid range: [1, 20].\n * @min 1\n * @max 20\n */\n maximumResults?: number | null;\n /**\n * Maximum number of lines to include per result. When set, method results use\n * section-aware truncation; article results are truncated at this line count.\n * A \"Read more here: <url>\" hint is appended when content is truncated.\n * @min 1\n * @max 200\n */\n linesInEachResult?: number | null;\n}\n\n/** The result of a SearchDocumentsMarkdown call. */\nexport interface SearchDocumentsMarkdownResponse {\n /**\n * The search results as a single markdown document. Method results are interleaved\n * with article results. Results are separated by a line of equal signs.\n * @maxLength 500000\n */\n content?: string;\n}\n","import * as ambassadorWixIgorV1DocumentEntry from './igor-v1-document-entry-document-search.http.js';\nimport * as ambassadorWixIgorV1DocumentEntryTypes from './igor-v1-document-entry-document-search.types.js';\nimport * as ambassadorWixIgorV1DocumentEntryUniversalTypes from './igor-v1-document-entry-document-search.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 searchDocuments(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixIgorV1DocumentEntryUniversalTypes.SearchDocumentsRequest,\n ambassadorWixIgorV1DocumentEntryTypes.SearchDocumentsRequest,\n ambassadorWixIgorV1DocumentEntryUniversalTypes.SearchDocumentsResponse,\n ambassadorWixIgorV1DocumentEntryTypes.SearchDocumentsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixIgorV1DocumentEntry.searchDocuments(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/docs/search',\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 searchDocumentsMarkdown(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixIgorV1DocumentEntryUniversalTypes.SearchDocumentsMarkdownRequest,\n ambassadorWixIgorV1DocumentEntryTypes.SearchDocumentsMarkdownRequest,\n ambassadorWixIgorV1DocumentEntryUniversalTypes.SearchDocumentsMarkdownResponse,\n ambassadorWixIgorV1DocumentEntryTypes.SearchDocumentsMarkdownResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixIgorV1DocumentEntry.searchDocumentsMarkdown(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/docs/search/markdown',\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 DocumentEntry as DocumentEntryOriginal,\n SearchDocumentsRequest as SearchDocumentsRequestOriginal,\n DocumentType as DocumentTypeOriginal,\n DocumentTypeWithLiterals as DocumentTypeWithLiteralsOriginal,\n SearchDocumentsResponse as SearchDocumentsResponseOriginal,\n SearchDocumentsMarkdownRequest as SearchDocumentsMarkdownRequestOriginal,\n SearchDocumentsMarkdownResponse as SearchDocumentsMarkdownResponseOriginal,\n} from './igor-v1-document-entry-document-search.types.js';\n"],"mappings":";AAAA,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,yCACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAEA,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7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AAM;AAEN,EAAAA,cAAA,wBAAqB;AAlBX,SAAAA;AAAA,GAAA;;;ACtCL,SAASC,mBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC6B,gBAAgB,OAAO;AAE1D,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,2BAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC6B,wBAAwB,OAAO;AAElE,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":["payload","DocumentType","searchDocuments","searchDocumentsMarkdown"]}
|
|
1
|
+
{"version":3,"sources":["../../../src/igor-v1-document-entry-document-search.http.ts","../../../src/igor-v1-document-entry-document-search.types.ts","../../../src/igor-v1-document-entry-document-search.meta.ts"],"sourcesContent":["import { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixIgorV1DocumentSearchServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'www.wixapis.com': [\n {\n srcPath: '/mcp-docs-search/v1',\n destPath: '',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/mcp-docs-search/v1',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/mcp-docs-search/v1',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/mcp-docs-search/v1',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_igor_document-search';\n\n/**\n * Searches Wix documentation entries by a search term and document type.\n *\n * Returns a ranked list of matching documentation entries ordered by relevance\n * score descending. Method results include kb_name to identify the source\n * knowledge base. Each result is truncated to lines_in_each_result lines\n * (defaults to 20) with contextual \"read more\" hints; pass a larger value\n * for more content per result.\n */\nexport function searchDocuments(payload: object): RequestOptionsFactory<any> {\n function __searchDocuments({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.igor.v1.document_entry',\n method: 'POST' as any,\n methodFqn: 'wix.igor.v1.DocumentSearchService.SearchDocuments',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixIgorV1DocumentSearchServiceUrl({\n protoPath: '/v1/docs/search',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'results.updatedDate' }],\n },\n {\n transformFn: transformRESTFloatToSDKFloat,\n paths: [{ path: 'results.relevanceScore' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __searchDocuments;\n}\n\n/**\n * Searches Wix documentation and returns results as a single markdown string\n * ready to be passed directly to an LLM.\n *\n * Method results are interleaved 2-by-2 with article results so both types\n * always appear. Each result is truncated to lines_in_each_result lines\n * (defaults to 20) with a contextual hint (method results get a schema read\n * hint; article results get a \"read the full article\" hint). Results are\n * separated by a line of equal signs.\n */\nexport function searchDocumentsMarkdown(\n payload: object\n): RequestOptionsFactory<any> {\n function __searchDocumentsMarkdown({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.igor.v1.document_entry',\n method: 'POST' as any,\n methodFqn: 'wix.igor.v1.DocumentSearchService.SearchDocumentsMarkdown',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixIgorV1DocumentSearchServiceUrl({\n protoPath: '/v1/docs/search/markdown',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __searchDocumentsMarkdown;\n}\n","/** A Wix documentation entry returned as a search result. */\nexport interface DocumentEntry {\n /**\n * The unique identifier for this documentation entry.\n * @maxLength 500\n */\n id?: string;\n /** The date the document was last updated. */\n updatedDate?: Date | null;\n /**\n * The title of the documentation entry.\n * @maxLength 1000\n */\n title?: string;\n /**\n * The full text content of the documentation entry.\n * @maxLength 100000\n */\n content?: string;\n /**\n * The direct URL to the documentation page for this entry.\n * @maxLength 2000\n */\n url?: string;\n /** The relevance score in the range [0, 1]. Higher means more relevant. */\n relevanceScore?: number;\n /**\n * The knowledge base this entry was retrieved from (e.g. \"REST_METHODS_KB_ID\").\n * @maxLength 100\n */\n kbName?: string;\n}\n\n/** The parameters for a SearchDocuments call. */\nexport interface SearchDocumentsRequest {\n /**\n * The search term to look up in the documentation.\n * @minLength 1\n * @maxLength 500\n */\n searchTerm: string;\n /**\n * The maximum number of results to return. Defaults to 15. Valid range: [1, 20].\n * @min 1\n * @max 20\n */\n maximumResults?: number | null;\n /** The type of documentation to search. Defaults to REST if not provided. */\n documentType?: DocumentTypeWithLiterals;\n /**\n * Maximum number of lines to include per result content. Defaults to 20.\n * Method results use section-aware truncation; article results are truncated\n * at this line count. A \"Read more here: <url>\" hint is appended when content\n * is truncated.\n * @min 1\n * @max 200\n */\n linesInEachResult?: number | null;\n}\n\n/** The type of Wix documentation to search. */\nexport enum DocumentType {\n /** Default value. Must not be used. */\n DOCUMENT_TYPE_UNSPECIFIED = 'DOCUMENT_TYPE_UNSPECIFIED',\n /** Velo JavaScript APIs for Wix sites. */\n VELO = 'VELO',\n /** Wix JavaScript SDK for headless and external applications. */\n SDK = 'SDK',\n /** Wix REST APIs. */\n REST = 'REST',\n /** Wix Design System documentation. */\n WDS = 'WDS',\n /** Documentation for building Wix apps. */\n BUILD_APPS = 'BUILD_APPS',\n /** Wix Headless documentation for external and headless applications. */\n WIX_HEADLESS = 'WIX_HEADLESS',\n /** Wix CLI documentation. */\n CLI = 'CLI',\n /** Wix business solutions and workflow documentation. */\n BUSINESS_SOLUTIONS = 'BUSINESS_SOLUTIONS',\n}\n\n/** @enumType */\nexport type DocumentTypeWithLiterals =\n | DocumentType\n | 'DOCUMENT_TYPE_UNSPECIFIED'\n | 'VELO'\n | 'SDK'\n | 'REST'\n | 'WDS'\n | 'BUILD_APPS'\n | 'WIX_HEADLESS'\n | 'CLI'\n | 'BUSINESS_SOLUTIONS';\n\n/** The result of a SearchDocuments call. */\nexport interface SearchDocumentsResponse {\n /**\n * The ranked list of matching documentation entries, ordered by relevance score descending.\n * @maxSize 100\n */\n results?: DocumentEntry[];\n}\n\n/** The parameters for a SearchDocumentsMarkdown call. */\nexport interface SearchDocumentsMarkdownRequest {\n /**\n * The search term to look up in the documentation.\n * @minLength 1\n * @maxLength 500\n */\n searchTerm: string;\n /** The type of documentation to search. Defaults to REST if not provided. */\n documentType?: DocumentTypeWithLiterals;\n /**\n * The maximum number of results to return. Defaults to 15. Valid range: [1, 20].\n * @min 1\n * @max 20\n */\n maximumResults?: number | null;\n /**\n * Maximum number of lines to include per result. Defaults to 20. Method\n * results use section-aware truncation; article results are truncated at this\n * line count. A \"Read more here: <url>\" hint is appended when content is\n * truncated.\n * @min 1\n * @max 200\n */\n linesInEachResult?: number | null;\n}\n\n/** The result of a SearchDocumentsMarkdown call. */\nexport interface SearchDocumentsMarkdownResponse {\n /**\n * The search results as a single markdown document. Method results are interleaved\n * with article results. Results are separated by a line of equal signs.\n * @maxLength 500000\n */\n content?: string;\n}\n","import * as ambassadorWixIgorV1DocumentEntry from './igor-v1-document-entry-document-search.http.js';\nimport * as ambassadorWixIgorV1DocumentEntryTypes from './igor-v1-document-entry-document-search.types.js';\nimport * as ambassadorWixIgorV1DocumentEntryUniversalTypes from './igor-v1-document-entry-document-search.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 searchDocuments(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixIgorV1DocumentEntryUniversalTypes.SearchDocumentsRequest,\n ambassadorWixIgorV1DocumentEntryTypes.SearchDocumentsRequest,\n ambassadorWixIgorV1DocumentEntryUniversalTypes.SearchDocumentsResponse,\n ambassadorWixIgorV1DocumentEntryTypes.SearchDocumentsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixIgorV1DocumentEntry.searchDocuments(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/docs/search',\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 searchDocumentsMarkdown(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixIgorV1DocumentEntryUniversalTypes.SearchDocumentsMarkdownRequest,\n ambassadorWixIgorV1DocumentEntryTypes.SearchDocumentsMarkdownRequest,\n ambassadorWixIgorV1DocumentEntryUniversalTypes.SearchDocumentsMarkdownResponse,\n ambassadorWixIgorV1DocumentEntryTypes.SearchDocumentsMarkdownResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixIgorV1DocumentEntry.searchDocumentsMarkdown(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/docs/search/markdown',\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 DocumentEntry as DocumentEntryOriginal,\n SearchDocumentsRequest as SearchDocumentsRequestOriginal,\n DocumentType as DocumentTypeOriginal,\n DocumentTypeWithLiterals as DocumentTypeWithLiteralsOriginal,\n SearchDocumentsResponse as SearchDocumentsResponseOriginal,\n SearchDocumentsMarkdownRequest as SearchDocumentsMarkdownRequestOriginal,\n SearchDocumentsMarkdownResponse as SearchDocumentsMarkdownResponseOriginal,\n} from './igor-v1-document-entry-document-search.types.js';\n"],"mappings":";AAAA,SAAS,oCAAoC;AAC7C,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,yCACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,oBAAoB;AAAA,MAClB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,YAAY;AAAA,MACV;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,cAAc;AAAA,MACZ;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAEA,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAWd,SAAS,gBAAgB,SAA6C;AAC3E,WAAS,kBAAkB,EAAE,KAAK,GAAQ;AACxC,UAAM,WAAW;AAAA,MACf,YAAY;AAAA,MACZ,QAAQ;AAAA,MACR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,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,2BAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC6B,wBAAwB,OAAO;AAElE,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":["payload","DocumentType","searchDocuments","searchDocumentsMarkdown"]}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const SearchDocumentsRequest: z.ZodObject<{
|
|
4
|
+
searchTerm: z.ZodString;
|
|
5
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
maximumResults: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
7
|
+
documentType: z.ZodOptional<z.ZodEnum<{
|
|
8
|
+
DOCUMENT_TYPE_UNSPECIFIED: "DOCUMENT_TYPE_UNSPECIFIED";
|
|
9
|
+
VELO: "VELO";
|
|
10
|
+
SDK: "SDK";
|
|
11
|
+
REST: "REST";
|
|
12
|
+
WDS: "WDS";
|
|
13
|
+
BUILD_APPS: "BUILD_APPS";
|
|
14
|
+
WIX_HEADLESS: "WIX_HEADLESS";
|
|
15
|
+
CLI: "CLI";
|
|
16
|
+
BUSINESS_SOLUTIONS: "BUSINESS_SOLUTIONS";
|
|
17
|
+
}>>;
|
|
18
|
+
linesInEachResult: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
declare const SearchDocumentsResponse: z.ZodObject<{
|
|
22
|
+
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
23
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
24
|
+
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
25
|
+
title: z.ZodOptional<z.ZodString>;
|
|
26
|
+
content: z.ZodOptional<z.ZodString>;
|
|
27
|
+
url: z.ZodOptional<z.ZodString>;
|
|
28
|
+
relevanceScore: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
kbName: z.ZodOptional<z.ZodString>;
|
|
30
|
+
}, z.core.$strip>>>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
declare const SearchDocumentsMarkdownRequest: z.ZodObject<{
|
|
33
|
+
searchTerm: z.ZodString;
|
|
34
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
35
|
+
documentType: z.ZodOptional<z.ZodEnum<{
|
|
36
|
+
DOCUMENT_TYPE_UNSPECIFIED: "DOCUMENT_TYPE_UNSPECIFIED";
|
|
37
|
+
VELO: "VELO";
|
|
38
|
+
SDK: "SDK";
|
|
39
|
+
REST: "REST";
|
|
40
|
+
WDS: "WDS";
|
|
41
|
+
BUILD_APPS: "BUILD_APPS";
|
|
42
|
+
WIX_HEADLESS: "WIX_HEADLESS";
|
|
43
|
+
CLI: "CLI";
|
|
44
|
+
BUSINESS_SOLUTIONS: "BUSINESS_SOLUTIONS";
|
|
45
|
+
}>>;
|
|
46
|
+
maximumResults: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
47
|
+
linesInEachResult: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
48
|
+
}, z.core.$strip>>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
declare const SearchDocumentsMarkdownResponse: z.ZodObject<{
|
|
51
|
+
content: z.ZodOptional<z.ZodString>;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
|
|
54
|
+
export { SearchDocumentsMarkdownRequest, SearchDocumentsMarkdownResponse, SearchDocumentsRequest, SearchDocumentsResponse };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// src/igor-v1-document-entry-document-search.schemas.ts
|
|
2
|
+
import * as z from "zod";
|
|
3
|
+
var SearchDocumentsRequest = z.object({
|
|
4
|
+
searchTerm: z.string().describe("The search term to look up in the documentation.").min(1).max(500),
|
|
5
|
+
options: z.object({
|
|
6
|
+
maximumResults: z.number().int().describe(
|
|
7
|
+
"The maximum number of results to return. Defaults to 15. Valid range: [1, 20]."
|
|
8
|
+
).min(1).max(20).optional().nullable(),
|
|
9
|
+
documentType: z.enum([
|
|
10
|
+
"DOCUMENT_TYPE_UNSPECIFIED",
|
|
11
|
+
"VELO",
|
|
12
|
+
"SDK",
|
|
13
|
+
"REST",
|
|
14
|
+
"WDS",
|
|
15
|
+
"BUILD_APPS",
|
|
16
|
+
"WIX_HEADLESS",
|
|
17
|
+
"CLI",
|
|
18
|
+
"BUSINESS_SOLUTIONS"
|
|
19
|
+
]).optional(),
|
|
20
|
+
linesInEachResult: z.number().int().describe(
|
|
21
|
+
'Maximum number of lines to include per result content. Defaults to 20.\nMethod results use section-aware truncation; article results are truncated\nat this line count. A "Read more here: <url>" hint is appended when content\nis truncated.'
|
|
22
|
+
).min(1).max(200).optional().nullable()
|
|
23
|
+
}).optional()
|
|
24
|
+
});
|
|
25
|
+
var SearchDocumentsResponse = z.object({
|
|
26
|
+
results: z.array(
|
|
27
|
+
z.object({
|
|
28
|
+
_id: z.string().describe("The unique identifier for this documentation entry.").max(500).optional(),
|
|
29
|
+
_updatedDate: z.date().describe("The date the document was last updated.").optional().nullable(),
|
|
30
|
+
title: z.string().describe("The title of the documentation entry.").max(1e3).optional(),
|
|
31
|
+
content: z.string().describe("The full text content of the documentation entry.").max(1e5).optional(),
|
|
32
|
+
url: z.string().describe("The direct URL to the documentation page for this entry.").max(2e3).optional(),
|
|
33
|
+
relevanceScore: z.number().describe(
|
|
34
|
+
"The relevance score in the range [0, 1]. Higher means more relevant."
|
|
35
|
+
).optional(),
|
|
36
|
+
kbName: z.string().describe(
|
|
37
|
+
'The knowledge base this entry was retrieved from (e.g. "REST_METHODS_KB_ID").'
|
|
38
|
+
).max(100).optional()
|
|
39
|
+
})
|
|
40
|
+
).max(100).optional()
|
|
41
|
+
});
|
|
42
|
+
var SearchDocumentsMarkdownRequest = z.object({
|
|
43
|
+
searchTerm: z.string().describe("The search term to look up in the documentation.").min(1).max(500),
|
|
44
|
+
options: z.object({
|
|
45
|
+
documentType: z.enum([
|
|
46
|
+
"DOCUMENT_TYPE_UNSPECIFIED",
|
|
47
|
+
"VELO",
|
|
48
|
+
"SDK",
|
|
49
|
+
"REST",
|
|
50
|
+
"WDS",
|
|
51
|
+
"BUILD_APPS",
|
|
52
|
+
"WIX_HEADLESS",
|
|
53
|
+
"CLI",
|
|
54
|
+
"BUSINESS_SOLUTIONS"
|
|
55
|
+
]).optional(),
|
|
56
|
+
maximumResults: z.number().int().describe(
|
|
57
|
+
"The maximum number of results to return. Defaults to 15. Valid range: [1, 20]."
|
|
58
|
+
).min(1).max(20).optional().nullable(),
|
|
59
|
+
linesInEachResult: z.number().int().describe(
|
|
60
|
+
'Maximum number of lines to include per result. Defaults to 20. Method\nresults use section-aware truncation; article results are truncated at this\nline count. A "Read more here: <url>" hint is appended when content is\ntruncated.'
|
|
61
|
+
).min(1).max(200).optional().nullable()
|
|
62
|
+
}).optional()
|
|
63
|
+
});
|
|
64
|
+
var SearchDocumentsMarkdownResponse = z.object({
|
|
65
|
+
content: z.string().describe(
|
|
66
|
+
"The search results as a single markdown document. Method results are interleaved\nwith article results. Results are separated by a line of equal signs."
|
|
67
|
+
).max(5e5).optional()
|
|
68
|
+
});
|
|
69
|
+
export {
|
|
70
|
+
SearchDocumentsMarkdownRequest,
|
|
71
|
+
SearchDocumentsMarkdownResponse,
|
|
72
|
+
SearchDocumentsRequest,
|
|
73
|
+
SearchDocumentsResponse
|
|
74
|
+
};
|
|
75
|
+
//# sourceMappingURL=schemas.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/igor-v1-document-entry-document-search.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const SearchDocumentsRequest = z.object({\n searchTerm: z\n .string()\n .describe('The search term to look up in the documentation.')\n .min(1)\n .max(500),\n options: z\n .object({\n maximumResults: z\n .number()\n .int()\n .describe(\n 'The maximum number of results to return. Defaults to 15. Valid range: [1, 20].'\n )\n .min(1)\n .max(20)\n .optional()\n .nullable(),\n documentType: z\n .enum([\n 'DOCUMENT_TYPE_UNSPECIFIED',\n 'VELO',\n 'SDK',\n 'REST',\n 'WDS',\n 'BUILD_APPS',\n 'WIX_HEADLESS',\n 'CLI',\n 'BUSINESS_SOLUTIONS',\n ])\n .optional(),\n linesInEachResult: z\n .number()\n .int()\n .describe(\n 'Maximum number of lines to include per result content. Defaults to 20.\\nMethod results use section-aware truncation; article results are truncated\\nat this line count. A \"Read more here: <url>\" hint is appended when content\\nis truncated.'\n )\n .min(1)\n .max(200)\n .optional()\n .nullable(),\n })\n .optional(),\n});\nexport const SearchDocumentsResponse = z.object({\n results: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('The unique identifier for this documentation entry.')\n .max(500)\n .optional(),\n _updatedDate: z\n .date()\n .describe('The date the document was last updated.')\n .optional()\n .nullable(),\n title: z\n .string()\n .describe('The title of the documentation entry.')\n .max(1000)\n .optional(),\n content: z\n .string()\n .describe('The full text content of the documentation entry.')\n .max(100000)\n .optional(),\n url: z\n .string()\n .describe('The direct URL to the documentation page for this entry.')\n .max(2000)\n .optional(),\n relevanceScore: z\n .number()\n .describe(\n 'The relevance score in the range [0, 1]. Higher means more relevant.'\n )\n .optional(),\n kbName: z\n .string()\n .describe(\n 'The knowledge base this entry was retrieved from (e.g. \"REST_METHODS_KB_ID\").'\n )\n .max(100)\n .optional(),\n })\n )\n .max(100)\n .optional(),\n});\nexport const SearchDocumentsMarkdownRequest = z.object({\n searchTerm: z\n .string()\n .describe('The search term to look up in the documentation.')\n .min(1)\n .max(500),\n options: z\n .object({\n documentType: z\n .enum([\n 'DOCUMENT_TYPE_UNSPECIFIED',\n 'VELO',\n 'SDK',\n 'REST',\n 'WDS',\n 'BUILD_APPS',\n 'WIX_HEADLESS',\n 'CLI',\n 'BUSINESS_SOLUTIONS',\n ])\n .optional(),\n maximumResults: z\n .number()\n .int()\n .describe(\n 'The maximum number of results to return. Defaults to 15. Valid range: [1, 20].'\n )\n .min(1)\n .max(20)\n .optional()\n .nullable(),\n linesInEachResult: z\n .number()\n .int()\n .describe(\n 'Maximum number of lines to include per result. Defaults to 20. Method\\nresults use section-aware truncation; article results are truncated at this\\nline count. A \"Read more here: <url>\" hint is appended when content is\\ntruncated.'\n )\n .min(1)\n .max(200)\n .optional()\n .nullable(),\n })\n .optional(),\n});\nexport const SearchDocumentsMarkdownResponse = z.object({\n content: z\n .string()\n .describe(\n 'The search results as a single markdown document. Method results are interleaved\\nwith article results. Results are separated by a line of equal signs.'\n )\n .max(500000)\n .optional(),\n});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,yBAA2B,SAAO;AAAA,EAC7C,YACG,SAAO,EACP,SAAS,kDAAkD,EAC3D,IAAI,CAAC,EACL,IAAI,GAAG;AAAA,EACV,SACG,SAAO;AAAA,IACN,gBACG,SAAO,EACP,IAAI,EACJ;AAAA,MACC;AAAA,IACF,EACC,IAAI,CAAC,EACL,IAAI,EAAE,EACN,SAAS,EACT,SAAS;AAAA,IACZ,cACG,OAAK;AAAA,MACJ;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF,CAAC,EACA,SAA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IAAI,CAAC,EACL,IAAI,GAAG,EACP,SAAS,EACT,SAAS;AAAA,EACd,CAAC,EACA,SAAS;AACd,CAAC;AACM,IAAM,kCAAoC,SAAO;AAAA,EACtD,SACG,SAAO,EACP;AAAA,IACC;AAAA,EACF,EACC,IAAI,GAAM,EACV,SAAS;AACd,CAAC;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_igor_document-search",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -21,16 +21,22 @@
|
|
|
21
21
|
"import": "./build/es/meta.mjs",
|
|
22
22
|
"require": "./build/cjs/meta.js",
|
|
23
23
|
"types": "./build/es/meta.d.mts"
|
|
24
|
+
},
|
|
25
|
+
"./schemas": {
|
|
26
|
+
"import": "./build/es/schemas.mjs",
|
|
27
|
+
"require": "./build/cjs/schemas.js",
|
|
28
|
+
"types": "./build/es/schemas.d.mts"
|
|
24
29
|
}
|
|
25
30
|
},
|
|
26
31
|
"files": [
|
|
27
32
|
"build",
|
|
28
33
|
"meta",
|
|
29
|
-
"service-plugins"
|
|
34
|
+
"service-plugins",
|
|
35
|
+
"schemas"
|
|
30
36
|
],
|
|
31
37
|
"dependencies": {
|
|
32
|
-
"@wix/sdk-runtime": "^1.0.
|
|
33
|
-
"@wix/sdk-types": "^1.17.
|
|
38
|
+
"@wix/sdk-runtime": "^1.0.19",
|
|
39
|
+
"@wix/sdk-types": "^1.17.11",
|
|
34
40
|
"zod": "^4.3.6"
|
|
35
41
|
},
|
|
36
42
|
"devDependencies": {
|
|
@@ -51,5 +57,5 @@
|
|
|
51
57
|
"fqdn": "wix.igor.v1.document_entry"
|
|
52
58
|
}
|
|
53
59
|
},
|
|
54
|
-
"falconPackageHash": "
|
|
60
|
+
"falconPackageHash": "9038a2da8f9f283312c4d32ff4d7abf74bed4d0ca94be4bfde72ac73"
|
|
55
61
|
}
|