@wix/mcp 1.0.7 → 1.0.9

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.
Files changed (122) hide show
  1. package/README.md +99 -95
  2. package/build/bin-standalone.js +16434 -0
  3. package/build/bin-standalone.js.map +7 -0
  4. package/build/cjs/index.js +24140 -0
  5. package/build/cjs/index.js.map +7 -0
  6. package/build/dts/api-call/index.d.ts +4 -0
  7. package/build/dts/api-call/index.d.ts.map +1 -0
  8. package/build/dts/api-call/index.js +150 -0
  9. package/build/dts/api-call/index.js.map +1 -0
  10. package/build/dts/auth/index.d.ts +6 -0
  11. package/build/dts/auth/index.d.ts.map +1 -0
  12. package/build/dts/auth/index.js +2 -0
  13. package/build/dts/auth/index.js.map +1 -0
  14. package/build/{bin.d.ts → dts/bin.d.ts} +3 -2
  15. package/build/dts/bin.d.ts.map +1 -0
  16. package/build/dts/bin.js +108 -0
  17. package/build/dts/bin.js.map +1 -0
  18. package/build/dts/cli-tools/cli.d.ts +5 -0
  19. package/build/dts/cli-tools/cli.d.ts.map +1 -0
  20. package/build/dts/cli-tools/cli.js +340 -0
  21. package/build/dts/cli-tools/cli.js.map +1 -0
  22. package/build/{cli-tools → dts/cli-tools}/utils.d.ts +1 -0
  23. package/build/dts/cli-tools/utils.d.ts.map +1 -0
  24. package/build/dts/cli-tools/utils.js +26 -0
  25. package/build/dts/cli-tools/utils.js.map +1 -0
  26. package/build/{docs → dts/docs}/docs.d.ts +1 -0
  27. package/build/dts/docs/docs.d.ts.map +1 -0
  28. package/build/dts/docs/docs.js +438 -0
  29. package/build/dts/docs/docs.js.map +1 -0
  30. package/build/dts/docs/fetch-article.d.ts +3 -0
  31. package/build/dts/docs/fetch-article.d.ts.map +1 -0
  32. package/build/dts/docs/fetch-article.js +20 -0
  33. package/build/dts/docs/fetch-article.js.map +1 -0
  34. package/build/dts/docs/get-to-know.d.ts +3 -0
  35. package/build/dts/docs/get-to-know.d.ts.map +1 -0
  36. package/build/dts/docs/get-to-know.js +42 -0
  37. package/build/dts/docs/get-to-know.js.map +1 -0
  38. package/build/{docs → dts/docs}/long-content.d.ts +1 -0
  39. package/build/dts/docs/long-content.d.ts.map +1 -0
  40. package/build/dts/docs/long-content.js +2 -0
  41. package/build/dts/docs/long-content.js.map +1 -0
  42. package/build/{docs → dts/docs}/semanticSearch.d.ts +1 -0
  43. package/build/dts/docs/semanticSearch.d.ts.map +1 -0
  44. package/build/dts/docs/semanticSearch.js +109 -0
  45. package/build/dts/docs/semanticSearch.js.map +1 -0
  46. package/build/dts/docs/semanticSearch.test.d.ts +2 -0
  47. package/build/dts/docs/semanticSearch.test.d.ts.map +1 -0
  48. package/build/dts/docs/semanticSearch.test.js +460 -0
  49. package/build/dts/docs/semanticSearch.test.js.map +1 -0
  50. package/build/{index.d.ts → dts/index.d.ts} +3 -0
  51. package/build/dts/index.d.ts.map +1 -0
  52. package/build/dts/index.js +8 -0
  53. package/build/dts/index.js.map +1 -0
  54. package/build/dts/infra/bi-logger.d.ts +3 -0
  55. package/build/dts/infra/bi-logger.d.ts.map +1 -0
  56. package/build/dts/infra/bi-logger.js +11 -0
  57. package/build/dts/infra/bi-logger.js.map +1 -0
  58. package/build/dts/infra/environment.d.ts +10 -0
  59. package/build/dts/infra/environment.d.ts.map +1 -0
  60. package/build/dts/infra/environment.js +28 -0
  61. package/build/dts/infra/environment.js.map +1 -0
  62. package/build/{logger.d.ts → dts/infra/logger.d.ts} +1 -0
  63. package/build/dts/infra/logger.d.ts.map +1 -0
  64. package/build/dts/infra/logger.js +62 -0
  65. package/build/dts/infra/logger.js.map +1 -0
  66. package/build/dts/infra/panorama.d.ts +8 -0
  67. package/build/dts/infra/panorama.d.ts.map +1 -0
  68. package/build/dts/infra/panorama.js +36 -0
  69. package/build/dts/infra/panorama.js.map +1 -0
  70. package/build/dts/infra/sentry.d.ts +2 -0
  71. package/build/dts/infra/sentry.d.ts.map +1 -0
  72. package/build/dts/infra/sentry.js +11 -0
  73. package/build/dts/infra/sentry.js.map +1 -0
  74. package/build/{interactive-command-tools → dts/interactive-command-tools}/eventually.d.ts +1 -0
  75. package/build/dts/interactive-command-tools/eventually.d.ts.map +1 -0
  76. package/build/dts/interactive-command-tools/eventually.js +16 -0
  77. package/build/dts/interactive-command-tools/eventually.js.map +1 -0
  78. package/build/{interactive-command-tools → dts/interactive-command-tools}/handleStdout.d.ts +1 -0
  79. package/build/dts/interactive-command-tools/handleStdout.d.ts.map +1 -0
  80. package/build/dts/interactive-command-tools/handleStdout.js +76 -0
  81. package/build/dts/interactive-command-tools/handleStdout.js.map +1 -0
  82. package/build/{interactive-command-tools → dts/interactive-command-tools}/interactive-command-utils.d.ts +1 -0
  83. package/build/dts/interactive-command-tools/interactive-command-utils.d.ts.map +1 -0
  84. package/build/dts/interactive-command-tools/interactive-command-utils.js +76 -0
  85. package/build/dts/interactive-command-tools/interactive-command-utils.js.map +1 -0
  86. package/build/{resources → dts/resources}/docs.d.ts +1 -0
  87. package/build/dts/resources/docs.d.ts.map +1 -0
  88. package/build/dts/resources/docs.js +46 -0
  89. package/build/dts/resources/docs.js.map +1 -0
  90. package/build/{support → dts/support}/index.d.ts +1 -0
  91. package/build/dts/support/index.d.ts.map +1 -0
  92. package/build/dts/support/index.js +33 -0
  93. package/build/dts/support/index.js.map +1 -0
  94. package/build/dts/tool-utils.d.ts +3 -0
  95. package/build/dts/tool-utils.d.ts.map +1 -0
  96. package/build/dts/tool-utils.js +31 -0
  97. package/build/dts/tool-utils.js.map +1 -0
  98. package/build/dts/tool-utils.spec.d.ts +2 -0
  99. package/build/dts/tool-utils.spec.d.ts.map +1 -0
  100. package/build/dts/tool-utils.spec.js +100 -0
  101. package/build/dts/tool-utils.spec.js.map +1 -0
  102. package/build/{wix-mcp-server.d.ts → dts/wix-mcp-server.d.ts} +13 -1
  103. package/build/dts/wix-mcp-server.d.ts.map +1 -0
  104. package/build/dts/wix-mcp-server.js +115 -0
  105. package/build/dts/wix-mcp-server.js.map +1 -0
  106. package/build/esm/index.js +18898 -0
  107. package/build/esm/index.js.map +7 -0
  108. package/package.json +19 -11
  109. package/bin.js +0 -2
  110. package/build/api-call/index.d.ts +0 -2
  111. package/build/bin.js +0 -681
  112. package/build/bin.js.map +0 -7
  113. package/build/chunk-QGIZNLF4.js +0 -8179
  114. package/build/chunk-QGIZNLF4.js.map +0 -7
  115. package/build/cli-tools/cli.d.ts +0 -4
  116. package/build/docs/semanticSearch.test.d.ts +0 -1
  117. package/build/index.js +0 -201
  118. package/build/index.js.map +0 -7
  119. package/build/panorama.d.ts +0 -2
  120. package/build/sentry.d.ts +0 -1
  121. package/build/tool-utils.d.ts +0 -1
  122. package/build/tool-utils.spec.d.ts +0 -1
@@ -1,4 +0,0 @@
1
- import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
- export declare const VALID_CLI_TOOLS: readonly ["WIX_API", "CLI_COMMAND", "CLI_COMMAND_INTERACTIVE_MODE"];
3
- export type CLITool = (typeof VALID_CLI_TOOLS)[number];
4
- export declare function addCliTools(server: McpServer, allowedTools?: CLITool[], isWixOne?: boolean): void;
@@ -1 +0,0 @@
1
- export {};
package/build/index.js DELETED
@@ -1,201 +0,0 @@
1
-
2
- // Shim require if needed.
3
- import module from 'module';
4
- if (typeof globalThis.require === "undefined") {
5
- globalThis.require = module.createRequire(import.meta.url);
6
- }
7
-
8
- import {
9
- VALID_DOCS_TOOLS,
10
- WixMcpServer,
11
- addDocsResources,
12
- addDocsTools,
13
- handleWixAPIResponse,
14
- logger
15
- } from "./chunk-QGIZNLF4.js";
16
-
17
- // src/api-call/index.ts
18
- import { z } from "zod";
19
- function addApiCallTool(server, getSiteAccessToken, getAccountAccessToken) {
20
- server.tool(
21
- "CallWixSiteAPI",
22
- [
23
- "Call Wix apis on a business or site. Use this to create, read, update, and delete data and other Wix entities in your Wix site,",
24
- `You should ALWAYS check the rest docs - "SearchWixRESTDocumentation" for the specific API you want to call, don't just call it without knowing what it does, CHECK THE DOCS`,
25
- "Error Handling:",
26
- 'If the error is related to missing installed app or "WDE0110: Wix Code not enabled", you should install the missing app by using ReadFullDocsArticle tool to fetch the article - https://dev.wix.com/docs/kb-only/MCP_REST_RECIPES_KB_ID/TRAIN_wix.devcenter.apps.installer.v1.AppsInstallerService.InstallApp',
27
- "**Note:** there is no need to check if an app is installed/ Wix Code enabled in advance, just call the API and handle the error if it occurs, the API error message will state it clearly.",
28
- "For any other error, use your default error handling mechanism"
29
- ].join("\n"),
30
- {
31
- siteId: z.string().describe("The id of the site selected using site selection tool"),
32
- url: z.string().describe(
33
- "The url of the api to call - ALWAYS get the information from the Wix REST docs or from the conversation context, the URL MUST BE ABSOLUTE URL"
34
- ),
35
- method: z.string().describe(
36
- "The HTTP method to use for the API call (e.g. GET, POST, PUT, DELETE)"
37
- ),
38
- body: z.string().optional().describe(
39
- "A string representing of a valid JSON object to describe the body of the request"
40
- )
41
- },
42
- async ({ url, body, method, siteId }) => {
43
- logger.log(
44
- `Calling Wix Site API: ${siteId} ${url}, body: ${JSON.stringify(body)}`
45
- );
46
- const authorization = await getSiteAccessToken(siteId);
47
- try {
48
- const response = await fetch(url, {
49
- method,
50
- headers: {
51
- Authorization: authorization,
52
- ...body ? { "Content-Type": "application/json" } : {}
53
- },
54
- body: method === "GET" ? void 0 : body
55
- });
56
- const responseData = await handleWixAPIResponse(response);
57
- return {
58
- content: [
59
- {
60
- type: "text",
61
- text: `Wix Site API call successful: ${JSON.stringify(responseData)}`
62
- }
63
- ]
64
- };
65
- } catch (error) {
66
- logger.error(`Failed to call Wix Site API: ${error}`);
67
- throw new Error(`Failed to call Wix Site API: ${error}`);
68
- }
69
- }
70
- );
71
- server.tool(
72
- "ListWixSites",
73
- "List Wix sites for the current user",
74
- async () => {
75
- const sitesRes = await fetch(
76
- "https://www.wixapis.com/site-list/v2/sites/query",
77
- {
78
- method: "POST",
79
- headers: {
80
- "Content-Type": "application/json",
81
- Accept: "application/json, text/plain, */*",
82
- Authorization: await getAccountAccessToken()
83
- },
84
- body: JSON.stringify({
85
- query: {
86
- cursorPaging: { limit: 50 }
87
- }
88
- })
89
- }
90
- );
91
- const result = await sitesRes.json().then(
92
- ({ sites }) => sites?.map(({ id, displayName }) => ({
93
- id,
94
- name: displayName
95
- })) ?? []
96
- );
97
- return {
98
- content: [
99
- {
100
- type: "text",
101
- text: JSON.stringify(result)
102
- },
103
- {
104
- type: "text",
105
- text: "if there is more than one site returned, the user should pick one from a list, list the sites (only name) for the user and ask them to pick one"
106
- }
107
- ]
108
- };
109
- }
110
- );
111
- server.tool(
112
- "ManageWixSite",
113
- `Use account level API in order to create a site, update a site and publish site.
114
- ALWAYS use "SearchWixRESTDocumentation" to search for the API you should invoke, NEVER GUESS THE SITE API URL
115
- You should ALWAYS check the rest docs - "SearchWixRESTDocumentation" for the specific API you want to call, don't just call it without knowing what it does, CHECK THE DOCS`,
116
- {
117
- url: z.string().describe(
118
- "The url of the api to call - ALWAYS get the information from the Wix REST docs DONT GUESS IT, the URL MUST BE ABSOLUTE URL"
119
- ),
120
- method: z.string().describe(
121
- "The HTTP method to use for the API call (e.g. GET, POST, PUT, DELETE)"
122
- ),
123
- body: z.string().optional().describe(
124
- "A string representing of a valid JSON object to describe the body of the request"
125
- )
126
- },
127
- async ({ url, body, method }) => {
128
- logger.log(
129
- `Calling Wix Account level API: ${url}, body: ${JSON.stringify(body)}`
130
- );
131
- const authorization = await getAccountAccessToken();
132
- try {
133
- const response = await fetch(url, {
134
- method,
135
- headers: {
136
- Authorization: authorization,
137
- ...body ? { "Content-Type": "application/json" } : {}
138
- },
139
- body: method === "GET" ? void 0 : body
140
- });
141
- const responseData = await handleWixAPIResponse(response);
142
- return {
143
- content: [
144
- {
145
- type: "text",
146
- text: `Wix Account API call successful: ${JSON.stringify(responseData)}`
147
- }
148
- ]
149
- };
150
- } catch (error) {
151
- logger.error(`Failed to call Wix Account API: ${error}`);
152
- throw new Error(`Failed to call Wix Account API: ${error}`);
153
- }
154
- }
155
- );
156
- }
157
-
158
- // src/support/index.ts
159
- import { z as z2 } from "zod";
160
- function addSupportTool(server) {
161
- server.tool(
162
- "SupportAndFeedback",
163
- [
164
- "If the user would like to provide Wix with some feedback (good or bad), about the tools in Wix MCP,",
165
- "for example they used the tools provided, and they reflected satisfaction or dissatisfaction with the tools.",
166
- "Also, if you encounter too many errors tyring to call the Wix API, you can also suggest the user to provide feedback to Wix using this tool.",
167
- "**IMPORTANT NOTE**",
168
- "This tool is not sending the message, but formats it in order to another tool to actually send it"
169
- ].join("\n"),
170
- {
171
- requestId: z2.string().optional().describe(
172
- "request id if returned from the server in a failed API call to Wix"
173
- ),
174
- message: z2.string().describe("The message to send to Wix")
175
- },
176
- async ({ requestId, message }) => {
177
- return {
178
- content: [
179
- {
180
- type: "text",
181
- text: `${message} ${requestId ? `request id: ${requestId}` : ""}`
182
- },
183
- {
184
- type: "text",
185
- text: "You should present the user with the formatted message above and ask if they would like to send it to Wix.If the user confirms, you can get the details about send feedback API from the article `https://dev.wix.com/docs/kb-only/MCP_REST_RECIPES_KB_ID/TRAIN_send_mcp_feedback_to_wix_from_user`.You can use the `ReadFullDocsArticle` tool to fetch the article and get the details about the API call.Once you have the details, you can use the `ManageWixSite` (if site id is in context) or `CallWixSiteAPI` (if site id is not in context) tool to call the API and send the feedback to Wix."
186
- }
187
- ]
188
- };
189
- }
190
- );
191
- }
192
- export {
193
- VALID_DOCS_TOOLS,
194
- WixMcpServer,
195
- addApiCallTool,
196
- addDocsResources,
197
- addDocsTools,
198
- addSupportTool,
199
- handleWixAPIResponse
200
- };
201
- //# sourceMappingURL=index.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/api-call/index.ts", "../src/support/index.ts"],
4
- "sourcesContent": ["import { z } from 'zod';\nimport { logger } from '../logger.js';\nimport { WixMcpServer } from '../wix-mcp-server.js';\nimport { handleWixAPIResponse } from '../tool-utils.js';\n\nexport function addApiCallTool(\n server: WixMcpServer,\n getSiteAccessToken: (siteId: string) => Promise<string>,\n getAccountAccessToken: () => Promise<string>\n) {\n server.tool(\n 'CallWixSiteAPI',\n [\n 'Call Wix apis on a business or site. Use this to create, read, update, and delete data and other Wix entities in your Wix site,',\n `You should ALWAYS check the rest docs - \"SearchWixRESTDocumentation\" for the specific API you want to call, don't just call it without knowing what it does, CHECK THE DOCS`,\n 'Error Handling:',\n 'If the error is related to missing installed app or \"WDE0110: Wix Code not enabled\", you should install the missing app by using ReadFullDocsArticle tool to fetch the article - https://dev.wix.com/docs/kb-only/MCP_REST_RECIPES_KB_ID/TRAIN_wix.devcenter.apps.installer.v1.AppsInstallerService.InstallApp',\n '**Note:** there is no need to check if an app is installed/ Wix Code enabled in advance, just call the API and handle the error if it occurs, the API error message will state it clearly.',\n 'For any other error, use your default error handling mechanism'\n ].join('\\n'),\n {\n siteId: z\n .string()\n .describe('The id of the site selected using site selection tool'),\n url: z\n .string()\n .describe(\n 'The url of the api to call - ALWAYS get the information from the Wix REST docs or from the conversation context, the URL MUST BE ABSOLUTE URL'\n ),\n method: z\n .string()\n .describe(\n 'The HTTP method to use for the API call (e.g. GET, POST, PUT, DELETE)'\n ),\n body: z\n .string()\n .optional()\n .describe(\n 'A string representing of a valid JSON object to describe the body of the request'\n )\n },\n async ({ url, body, method, siteId }) => {\n logger.log(\n `Calling Wix Site API: ${siteId} ${url}, body: ${JSON.stringify(body)}`\n );\n\n const authorization = await getSiteAccessToken(siteId);\n\n try {\n const response = await fetch(url, {\n method,\n headers: {\n Authorization: authorization,\n ...(body ? { 'Content-Type': 'application/json' } : {})\n },\n body: method === 'GET' ? undefined : body\n });\n\n const responseData = await handleWixAPIResponse(response);\n\n return {\n content: [\n {\n type: 'text',\n text: `Wix Site API call successful: ${JSON.stringify(responseData)}`\n }\n ]\n };\n } catch (error) {\n logger.error(`Failed to call Wix Site API: ${error}`);\n throw new Error(`Failed to call Wix Site API: ${error}`);\n }\n }\n );\n\n server.tool(\n 'ListWixSites',\n 'List Wix sites for the current user',\n async () => {\n const sitesRes = await fetch(\n 'https://www.wixapis.com/site-list/v2/sites/query',\n {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n Accept: 'application/json, text/plain, */*',\n Authorization: await getAccountAccessToken()\n },\n body: JSON.stringify({\n query: {\n cursorPaging: { limit: 50 }\n }\n })\n }\n );\n\n const result = await sitesRes.json().then(\n ({ sites }: any) =>\n sites?.map(({ id, displayName }: any) => ({\n id,\n name: displayName\n })) ?? []\n );\n\n return {\n content: [\n {\n type: 'text',\n text: JSON.stringify(result)\n },\n {\n type: 'text',\n text: 'if there is more than one site returned, the user should pick one from a list, list the sites (only name) for the user and ask them to pick one'\n }\n ]\n };\n }\n );\n\n server.tool(\n 'ManageWixSite',\n `Use account level API in order to create a site, update a site and publish site.\n ALWAYS use \"SearchWixRESTDocumentation\" to search for the API you should invoke, NEVER GUESS THE SITE API URL\n You should ALWAYS check the rest docs - \"SearchWixRESTDocumentation\" for the specific API you want to call, don't just call it without knowing what it does, CHECK THE DOCS`,\n {\n url: z\n .string()\n .describe(\n 'The url of the api to call - ALWAYS get the information from the Wix REST docs DONT GUESS IT, the URL MUST BE ABSOLUTE URL'\n ),\n method: z\n .string()\n .describe(\n 'The HTTP method to use for the API call (e.g. GET, POST, PUT, DELETE)'\n ),\n body: z\n .string()\n .optional()\n .describe(\n 'A string representing of a valid JSON object to describe the body of the request'\n )\n },\n async ({ url, body, method }) => {\n logger.log(\n `Calling Wix Account level API: ${url}, body: ${JSON.stringify(body)}`\n );\n\n const authorization = await getAccountAccessToken();\n\n try {\n const response = await fetch(url, {\n method,\n headers: {\n Authorization: authorization,\n ...(body ? { 'Content-Type': 'application/json' } : {})\n },\n body: method === 'GET' ? undefined : body\n });\n\n const responseData = await handleWixAPIResponse(response);\n\n return {\n content: [\n {\n type: 'text',\n text: `Wix Account API call successful: ${JSON.stringify(responseData)}`\n }\n ]\n };\n } catch (error) {\n logger.error(`Failed to call Wix Account API: ${error}`);\n throw new Error(`Failed to call Wix Account API: ${error}`);\n }\n }\n );\n}\n", "import { WixMcpServer } from '../wix-mcp-server.js';\nimport { z } from 'zod';\n\nexport function addSupportTool(server: WixMcpServer) {\n server.tool(\n 'SupportAndFeedback',\n [\n 'If the user would like to provide Wix with some feedback (good or bad), about the tools in Wix MCP,',\n 'for example they used the tools provided, and they reflected satisfaction or dissatisfaction with the tools.',\n 'Also, if you encounter too many errors tyring to call the Wix API, you can also suggest the user to provide feedback to Wix using this tool.',\n '**IMPORTANT NOTE**',\n 'This tool is not sending the message, but formats it in order to another tool to actually send it'\n ].join('\\n'),\n {\n requestId: z\n .string()\n .optional()\n .describe(\n 'request id if returned from the server in a failed API call to Wix'\n ),\n message: z.string().describe('The message to send to Wix')\n },\n async ({ requestId, message }) => {\n return {\n content: [\n {\n type: 'text',\n text: `${message} ${requestId ? `request id: ${requestId}` : ''}`\n },\n {\n type: 'text',\n text:\n 'You should present the user with the formatted message above and ask if they would like to send it to Wix.' +\n 'If the user confirms, you can get the details about send feedback API from the article `https://dev.wix.com/docs/kb-only/MCP_REST_RECIPES_KB_ID/TRAIN_send_mcp_feedback_to_wix_from_user`.' +\n 'You can use the `ReadFullDocsArticle` tool to fetch the article and get the details about the API call.' +\n 'Once you have the details, you can use the `ManageWixSite` (if site id is in context) or `CallWixSiteAPI` (if site id is not in context) tool to call the API and send the feedback to Wix.'\n }\n ]\n };\n }\n );\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA,SAAS,SAAS;AAKX,SAAS,eACd,QACA,oBACA,uBACA;AACA,SAAO;AAAA,IACL;AAAA,IACA;AAAA,MACE;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF,EAAE,KAAK,IAAI;AAAA,IACX;AAAA,MACE,QAAQ,EACL,OAAO,EACP,SAAS,uDAAuD;AAAA,MACnE,KAAK,EACF,OAAO,EACP;AAAA,QACC;AAAA,MACF;AAAA,MACF,QAAQ,EACL,OAAO,EACP;AAAA,QACC;AAAA,MACF;AAAA,MACF,MAAM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F;;;AC9KA,SAAS,KAAAA,UAAS;AAEX,SAAS,eAAe,QAAsB;AACnD,SAAO;AAAA,IACL;AAAA,IACA;AAAA,MACE;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF,EAAE,KAAK,IAAI;AAAA,IACX;AAAA,MACE,WAAWA,GACR,OAAO,EACP,SAAS,EACT;AAAA,QACC;AAAA,MACF;AAAA,MACF,SAASA,GAAE,OAAO,EAAE,SAAS,4BAA4B;AAAA,IAC3D;AAAA,IACA,OAAO,EAAE,WAAW,QAAQ,MAAM;AAChC,aAAO;AAAA,QACL,SAAS;AAAA,UACP;AAAA,YACE,MAAM;AAAA,YACN,MAAM,GAAG,OAAO,IAAI,YAAY,eAAe,SAAS,KAAK,EAAE;AAAA,UACjE;AAAA,UACA;AAAA,YACE,MAAM;AAAA,YACN,MACE;AAAA,UAIJ;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;",
6
- "names": ["z"]
7
- }
@@ -1,2 +0,0 @@
1
- export declare const globalConfig: import("@wix/panorama-client-node").GlobalConfig<import("@wix/panorama-common-shared/dist/types/types/data-types.js").EventPayload, {}>;
2
- export declare const panoramaFactory: import("@wix/panorama-client").PanoramaClientFactory<import("@wix/panorama-common-shared/dist/types/types/data-types.js").EventPayload>;
package/build/sentry.d.ts DELETED
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export declare const handleWixAPIResponse: <T = any>(response: Response) => Promise<T>;
@@ -1 +0,0 @@
1
- export {};