@keystrokehq/retailed 0.1.4 → 0.1.6
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/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-goat-prices.cjs +1 -0
- package/dist/actions/get-goat-prices.cjs.map +1 -1
- package/dist/actions/get-goat-prices.d.cts +3 -5
- package/dist/actions/get-goat-prices.d.cts.map +1 -1
- package/dist/actions/get-goat-prices.d.mts +3 -5
- package/dist/actions/get-goat-prices.d.mts.map +1 -1
- package/dist/actions/get-goat-prices.mjs +1 -0
- package/dist/actions/get-goat-prices.mjs.map +1 -1
- package/dist/actions/get-stock-x-product.cjs +1 -0
- package/dist/actions/get-stock-x-product.cjs.map +1 -1
- package/dist/actions/get-stock-x-product.d.cts +3 -5
- package/dist/actions/get-stock-x-product.d.cts.map +1 -1
- package/dist/actions/get-stock-x-product.d.mts +3 -5
- package/dist/actions/get-stock-x-product.d.mts.map +1 -1
- package/dist/actions/get-stock-x-product.mjs +1 -0
- package/dist/actions/get-stock-x-product.mjs.map +1 -1
- package/dist/actions/get-stockx-search.cjs +1 -0
- package/dist/actions/get-stockx-search.cjs.map +1 -1
- package/dist/actions/get-stockx-search.d.cts +3 -5
- package/dist/actions/get-stockx-search.d.cts.map +1 -1
- package/dist/actions/get-stockx-search.d.mts +3 -5
- package/dist/actions/get-stockx-search.d.mts.map +1 -1
- package/dist/actions/get-stockx-search.mjs +1 -0
- package/dist/actions/get-stockx-search.mjs.map +1 -1
- package/dist/actions/get-stockx-trends.cjs +1 -0
- package/dist/actions/get-stockx-trends.cjs.map +1 -1
- package/dist/actions/get-stockx-trends.d.cts +3 -7
- package/dist/actions/get-stockx-trends.d.cts.map +1 -1
- package/dist/actions/get-stockx-trends.d.mts +3 -7
- package/dist/actions/get-stockx-trends.d.mts.map +1 -1
- package/dist/actions/get-stockx-trends.mjs +1 -0
- package/dist/actions/get-stockx-trends.mjs.map +1 -1
- package/dist/actions/get-usage.cjs +1 -0
- package/dist/actions/get-usage.cjs.map +1 -1
- package/dist/actions/get-usage.d.cts +3 -1
- package/dist/actions/get-usage.d.cts.map +1 -1
- package/dist/actions/get-usage.d.mts +3 -1
- package/dist/actions/get-usage.d.mts.map +1 -1
- package/dist/actions/get-usage.mjs +1 -0
- package/dist/actions/get-usage.mjs.map +1 -1
- package/dist/actions/search-products.cjs +1 -0
- package/dist/actions/search-products.cjs.map +1 -1
- package/dist/actions/search-products.d.cts +3 -7
- package/dist/actions/search-products.d.cts.map +1 -1
- package/dist/actions/search-products.d.mts +3 -7
- package/dist/actions/search-products.d.mts.map +1 -1
- package/dist/actions/search-products.mjs +1 -0
- package/dist/actions/search-products.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["retailed","executeRetailedTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { retailed } from \"./app\";\nimport { executeRetailedTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["retailed","executeRetailedTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { retailed } from \"./app\";\nimport { executeRetailedTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof retailed.credential> {\n return retailed.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRetailedTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { retailed } from \"./app\";\nimport { executeRetailedTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { retailed } from \"./app\";\nimport { executeRetailedTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof retailed.credential> {\n return retailed.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRetailedTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-goat-prices.cjs","names":["z","action"],"sources":["../../src/actions/get-goat-prices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetailedGetGoatPricesInput = z.object({\n size: z.string().describe(\"Specific product size (if applicable).\").optional(),\n country: z.string().describe(\"Country/market code for pricing (e.g., 'US', 'UK', 'EU').\").optional(),\n product_id: z.string().describe(\"GOAT product ID to fetch prices for. Use numeric ID like '719082' or product slug.\"),\n});\nconst RetailedGetGoatPrices_PriceInfoSchema = z.object({\n size: z.string().describe(\"Product size.\").nullable(),\n price: z.number().describe(\"Price for the specified size.\").nullable(),\n currency: z.string().describe(\"Currency code.\").nullable(),\n last_updated: z.string().describe(\"Timestamp of the last price update (ISO8601).\").nullable(),\n}).passthrough();\nexport const RetailedGetGoatPricesOutput = z.object({\n prices: z.array(RetailedGetGoatPrices_PriceInfoSchema).describe(\"List of prices for the product.\"),\n status: z.string().describe(\"Status of the request (e.g., success, error).\").nullable(),\n product_id: z.string().describe(\"The unique identifier for the product.\").nullable(),\n}).passthrough();\n\nexport const retailedGetGoatPrices = action(\"RETAILED_GET_GOAT_PRICES\", {\n slug: \"retailed-get-goat-prices\",\n name: \"Get GOAT Product Prices\",\n description: \"Tool to retrieve pricing information for a specific product on GOAT. Use when you need up-to-date size-based pricing. Call after confirming product_id.\",\n input: RetailedGetGoatPricesInput,\n output: RetailedGetGoatPricesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-goat-prices.cjs","names":["z","action"],"sources":["../../src/actions/get-goat-prices.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { retailed } from \"../app\";\n\nexport const RetailedGetGoatPricesInput = z.object({\n size: z.string().describe(\"Specific product size (if applicable).\").optional(),\n country: z.string().describe(\"Country/market code for pricing (e.g., 'US', 'UK', 'EU').\").optional(),\n product_id: z.string().describe(\"GOAT product ID to fetch prices for. Use numeric ID like '719082' or product slug.\"),\n});\nconst RetailedGetGoatPrices_PriceInfoSchema = z.object({\n size: z.string().describe(\"Product size.\").nullable(),\n price: z.number().describe(\"Price for the specified size.\").nullable(),\n currency: z.string().describe(\"Currency code.\").nullable(),\n last_updated: z.string().describe(\"Timestamp of the last price update (ISO8601).\").nullable(),\n}).passthrough();\nexport const RetailedGetGoatPricesOutput = z.object({\n prices: z.array(RetailedGetGoatPrices_PriceInfoSchema).describe(\"List of prices for the product.\"),\n status: z.string().describe(\"Status of the request (e.g., success, error).\").nullable(),\n product_id: z.string().describe(\"The unique identifier for the product.\").nullable(),\n}).passthrough();\n\nexport const retailedGetGoatPrices: AppAction<\n typeof RetailedGetGoatPricesInput,\n typeof RetailedGetGoatPricesOutput,\n typeof retailed.credential\n> = action(\"RETAILED_GET_GOAT_PRICES\", {\n slug: \"retailed-get-goat-prices\",\n name: \"Get GOAT Product Prices\",\n description: \"Tool to retrieve pricing information for a specific product on GOAT. Use when you need up-to-date size-based pricing. Call after confirming product_id.\",\n input: RetailedGetGoatPricesInput,\n output: RetailedGetGoatPricesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;AACtH,CAAC;AACD,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACzD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,QAAQA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,iCAAiC;CACjG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { retailed } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-goat-prices.d.ts
|
|
@@ -16,11 +18,7 @@ declare const RetailedGetGoatPricesOutput: z.ZodObject<{
|
|
|
16
18
|
status: z.ZodNullable<z.ZodString>;
|
|
17
19
|
product_id: z.ZodNullable<z.ZodString>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const retailedGetGoatPrices:
|
|
20
|
-
product_id: string;
|
|
21
|
-
size?: string | undefined;
|
|
22
|
-
country?: string | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const retailedGetGoatPrices: AppAction<typeof RetailedGetGoatPricesInput, typeof RetailedGetGoatPricesOutput, typeof retailed.credential>;
|
|
24
22
|
//#endregion
|
|
25
23
|
export { retailedGetGoatPrices };
|
|
26
24
|
//# sourceMappingURL=get-goat-prices.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-goat-prices.d.cts","names":[],"sources":["../../src/actions/get-goat-prices.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-goat-prices.d.cts","names":[],"sources":["../../src/actions/get-goat-prices.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { retailed } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-goat-prices.d.ts
|
|
@@ -16,11 +18,7 @@ declare const RetailedGetGoatPricesOutput: z.ZodObject<{
|
|
|
16
18
|
status: z.ZodNullable<z.ZodString>;
|
|
17
19
|
product_id: z.ZodNullable<z.ZodString>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const retailedGetGoatPrices:
|
|
20
|
-
product_id: string;
|
|
21
|
-
size?: string | undefined;
|
|
22
|
-
country?: string | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const retailedGetGoatPrices: AppAction<typeof RetailedGetGoatPricesInput, typeof RetailedGetGoatPricesOutput, typeof retailed.credential>;
|
|
24
22
|
//#endregion
|
|
25
23
|
export { retailedGetGoatPrices };
|
|
26
24
|
//# sourceMappingURL=get-goat-prices.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-goat-prices.d.mts","names":[],"sources":["../../src/actions/get-goat-prices.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-goat-prices.d.mts","names":[],"sources":["../../src/actions/get-goat-prices.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-goat-prices.mjs","names":[],"sources":["../../src/actions/get-goat-prices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetailedGetGoatPricesInput = z.object({\n size: z.string().describe(\"Specific product size (if applicable).\").optional(),\n country: z.string().describe(\"Country/market code for pricing (e.g., 'US', 'UK', 'EU').\").optional(),\n product_id: z.string().describe(\"GOAT product ID to fetch prices for. Use numeric ID like '719082' or product slug.\"),\n});\nconst RetailedGetGoatPrices_PriceInfoSchema = z.object({\n size: z.string().describe(\"Product size.\").nullable(),\n price: z.number().describe(\"Price for the specified size.\").nullable(),\n currency: z.string().describe(\"Currency code.\").nullable(),\n last_updated: z.string().describe(\"Timestamp of the last price update (ISO8601).\").nullable(),\n}).passthrough();\nexport const RetailedGetGoatPricesOutput = z.object({\n prices: z.array(RetailedGetGoatPrices_PriceInfoSchema).describe(\"List of prices for the product.\"),\n status: z.string().describe(\"Status of the request (e.g., success, error).\").nullable(),\n product_id: z.string().describe(\"The unique identifier for the product.\").nullable(),\n}).passthrough();\n\nexport const retailedGetGoatPrices = action(\"RETAILED_GET_GOAT_PRICES\", {\n slug: \"retailed-get-goat-prices\",\n name: \"Get GOAT Product Prices\",\n description: \"Tool to retrieve pricing information for a specific product on GOAT. Use when you need up-to-date size-based pricing. Call after confirming product_id.\",\n input: RetailedGetGoatPricesInput,\n output: RetailedGetGoatPricesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-goat-prices.mjs","names":[],"sources":["../../src/actions/get-goat-prices.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { retailed } from \"../app\";\n\nexport const RetailedGetGoatPricesInput = z.object({\n size: z.string().describe(\"Specific product size (if applicable).\").optional(),\n country: z.string().describe(\"Country/market code for pricing (e.g., 'US', 'UK', 'EU').\").optional(),\n product_id: z.string().describe(\"GOAT product ID to fetch prices for. Use numeric ID like '719082' or product slug.\"),\n});\nconst RetailedGetGoatPrices_PriceInfoSchema = z.object({\n size: z.string().describe(\"Product size.\").nullable(),\n price: z.number().describe(\"Price for the specified size.\").nullable(),\n currency: z.string().describe(\"Currency code.\").nullable(),\n last_updated: z.string().describe(\"Timestamp of the last price update (ISO8601).\").nullable(),\n}).passthrough();\nexport const RetailedGetGoatPricesOutput = z.object({\n prices: z.array(RetailedGetGoatPrices_PriceInfoSchema).describe(\"List of prices for the product.\"),\n status: z.string().describe(\"Status of the request (e.g., success, error).\").nullable(),\n product_id: z.string().describe(\"The unique identifier for the product.\").nullable(),\n}).passthrough();\n\nexport const retailedGetGoatPrices: AppAction<\n typeof RetailedGetGoatPricesInput,\n typeof RetailedGetGoatPricesOutput,\n typeof retailed.credential\n> = action(\"RETAILED_GET_GOAT_PRICES\", {\n slug: \"retailed-get-goat-prices\",\n name: \"Get GOAT Product Prices\",\n description: \"Tool to retrieve pricing information for a specific product on GOAT. Use when you need up-to-date size-based pricing. Call after confirming product_id.\",\n input: RetailedGetGoatPricesInput,\n output: RetailedGetGoatPricesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF;AACtH,CAAC;AACD,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACzD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfyC,EAAE,OAAO;EAClD,QAAQ,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,iCAAiC;EACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-stock-x-product.cjs","names":["z","action"],"sources":["../../src/actions/get-stock-x-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetailedGetStockXProductInput = z.object({\n sku: z.string().describe(\"StockX product SKU identifier StockX-specific; may not match SKUs from other marketplaces (e.g., GOAT). Normalize identifiers before cross-platform comparisons.\").optional(),\n url: z.string().describe(\"Direct StockX product URL\").optional(),\n include_market: z.boolean().default(false).describe(\"Whether to include detailed market data\").optional(),\n}).describe(\"Request model for retrieving StockX product details by SKU or direct URL.\");\nconst RetailedGetStockXProduct_StockXMarketDataSchema = z.record(z.string(), z.unknown()).describe(\"Market-related data for a StockX product. Fields may vary depending on include_market flag.\");\nexport const RetailedGetStockXProductOutput = z.object({\n id: z.string().describe(\"Internal product ID\").nullable(),\n sku: z.string().describe(\"StockX product SKU\").nullable(),\n url: z.string().describe(\"StockX product URL\").nullable(),\n name: z.string().describe(\"Product name\").nullable(),\n brand: z.string().describe(\"Product brand\").nullable(),\n image: z.string().describe(\"URL of the main product image\").nullable(),\n colorway: z.string().describe(\"Product colorway or color description\").nullable(),\n description: z.string().describe(\"Detailed product description\").nullable(),\n market_data: RetailedGetStockXProduct_StockXMarketDataSchema.nullable().optional(),\n release_date: z.string().describe(\"Release date of the product\").nullable(),\n retail_price: z.number().describe(\"Retail price in USD\").nullable(),\n}).passthrough().describe(\"Response model for StockX product retrieval.\");\n\nexport const retailedGetStockXProduct = action(\"RETAILED_GET_STOCK_X_PRODUCT\", {\n slug: \"retailed-get-stock-x-product\",\n name: \"Get StockX Product\",\n description: \"Tool to retrieve detailed StockX product information, including variant-level data. Use when you need comprehensive metadata from StockX by SKU or URL. Response is structured per variant; aggregate price or inventory metrics across variants only after grouping by variant to avoid distortion.\",\n input: RetailedGetStockXProductInput,\n output: RetailedGetStockXProductOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-stock-x-product.cjs","names":["z","action"],"sources":["../../src/actions/get-stock-x-product.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { retailed } from \"../app\";\n\nexport const RetailedGetStockXProductInput = z.object({\n sku: z.string().describe(\"StockX product SKU identifier StockX-specific; may not match SKUs from other marketplaces (e.g., GOAT). Normalize identifiers before cross-platform comparisons.\").optional(),\n url: z.string().describe(\"Direct StockX product URL\").optional(),\n include_market: z.boolean().default(false).describe(\"Whether to include detailed market data\").optional(),\n}).describe(\"Request model for retrieving StockX product details by SKU or direct URL.\");\nconst RetailedGetStockXProduct_StockXMarketDataSchema = z.record(z.string(), z.unknown()).describe(\"Market-related data for a StockX product. Fields may vary depending on include_market flag.\");\nexport const RetailedGetStockXProductOutput = z.object({\n id: z.string().describe(\"Internal product ID\").nullable(),\n sku: z.string().describe(\"StockX product SKU\").nullable(),\n url: z.string().describe(\"StockX product URL\").nullable(),\n name: z.string().describe(\"Product name\").nullable(),\n brand: z.string().describe(\"Product brand\").nullable(),\n image: z.string().describe(\"URL of the main product image\").nullable(),\n colorway: z.string().describe(\"Product colorway or color description\").nullable(),\n description: z.string().describe(\"Detailed product description\").nullable(),\n market_data: RetailedGetStockXProduct_StockXMarketDataSchema.nullable().optional(),\n release_date: z.string().describe(\"Release date of the product\").nullable(),\n retail_price: z.number().describe(\"Retail price in USD\").nullable(),\n}).passthrough().describe(\"Response model for StockX product retrieval.\");\n\nexport const retailedGetStockXProduct: AppAction<\n typeof RetailedGetStockXProductInput,\n typeof RetailedGetStockXProductOutput,\n typeof retailed.credential\n> = action(\"RETAILED_GET_STOCK_X_PRODUCT\", {\n slug: \"retailed-get-stock-x-product\",\n name: \"Get StockX Product\",\n description: \"Tool to retrieve detailed StockX product information, including variant-level data. Use when you need comprehensive metadata from StockX by SKU or URL. Response is structured per variant; aggregate price or inventory metrics across variants only after grouping by variant to avoid distortion.\",\n input: RetailedGetStockXProductInput,\n output: RetailedGetStockXProductOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CACtM,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BA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,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { retailed } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-stock-x-product.d.ts
|
|
@@ -19,11 +21,7 @@ declare const RetailedGetStockXProductOutput: z.ZodObject<{
|
|
|
19
21
|
release_date: z.ZodNullable<z.ZodString>;
|
|
20
22
|
retail_price: z.ZodNullable<z.ZodNumber>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const retailedGetStockXProduct:
|
|
23
|
-
sku?: string | undefined;
|
|
24
|
-
url?: string | undefined;
|
|
25
|
-
include_market?: boolean | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const retailedGetStockXProduct: AppAction<typeof RetailedGetStockXProductInput, typeof RetailedGetStockXProductOutput, typeof retailed.credential>;
|
|
27
25
|
//#endregion
|
|
28
26
|
export { retailedGetStockXProduct };
|
|
29
27
|
//# sourceMappingURL=get-stock-x-product.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-stock-x-product.d.cts","names":[],"sources":["../../src/actions/get-stock-x-product.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-stock-x-product.d.cts","names":[],"sources":["../../src/actions/get-stock-x-product.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { retailed } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-stock-x-product.d.ts
|
|
@@ -19,11 +21,7 @@ declare const RetailedGetStockXProductOutput: z.ZodObject<{
|
|
|
19
21
|
release_date: z.ZodNullable<z.ZodString>;
|
|
20
22
|
retail_price: z.ZodNullable<z.ZodNumber>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const retailedGetStockXProduct:
|
|
23
|
-
sku?: string | undefined;
|
|
24
|
-
url?: string | undefined;
|
|
25
|
-
include_market?: boolean | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const retailedGetStockXProduct: AppAction<typeof RetailedGetStockXProductInput, typeof RetailedGetStockXProductOutput, typeof retailed.credential>;
|
|
27
25
|
//#endregion
|
|
28
26
|
export { retailedGetStockXProduct };
|
|
29
27
|
//# sourceMappingURL=get-stock-x-product.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-stock-x-product.d.mts","names":[],"sources":["../../src/actions/get-stock-x-product.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-stock-x-product.d.mts","names":[],"sources":["../../src/actions/get-stock-x-product.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-stock-x-product.mjs","names":[],"sources":["../../src/actions/get-stock-x-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetailedGetStockXProductInput = z.object({\n sku: z.string().describe(\"StockX product SKU identifier StockX-specific; may not match SKUs from other marketplaces (e.g., GOAT). Normalize identifiers before cross-platform comparisons.\").optional(),\n url: z.string().describe(\"Direct StockX product URL\").optional(),\n include_market: z.boolean().default(false).describe(\"Whether to include detailed market data\").optional(),\n}).describe(\"Request model for retrieving StockX product details by SKU or direct URL.\");\nconst RetailedGetStockXProduct_StockXMarketDataSchema = z.record(z.string(), z.unknown()).describe(\"Market-related data for a StockX product. Fields may vary depending on include_market flag.\");\nexport const RetailedGetStockXProductOutput = z.object({\n id: z.string().describe(\"Internal product ID\").nullable(),\n sku: z.string().describe(\"StockX product SKU\").nullable(),\n url: z.string().describe(\"StockX product URL\").nullable(),\n name: z.string().describe(\"Product name\").nullable(),\n brand: z.string().describe(\"Product brand\").nullable(),\n image: z.string().describe(\"URL of the main product image\").nullable(),\n colorway: z.string().describe(\"Product colorway or color description\").nullable(),\n description: z.string().describe(\"Detailed product description\").nullable(),\n market_data: RetailedGetStockXProduct_StockXMarketDataSchema.nullable().optional(),\n release_date: z.string().describe(\"Release date of the product\").nullable(),\n retail_price: z.number().describe(\"Retail price in USD\").nullable(),\n}).passthrough().describe(\"Response model for StockX product retrieval.\");\n\nexport const retailedGetStockXProduct = action(\"RETAILED_GET_STOCK_X_PRODUCT\", {\n slug: \"retailed-get-stock-x-product\",\n name: \"Get StockX Product\",\n description: \"Tool to retrieve detailed StockX product information, including variant-level data. Use when you need comprehensive metadata from StockX by SKU or URL. Response is structured per variant; aggregate price or inventory metrics across variants only after grouping by variant to avoid distortion.\",\n input: RetailedGetStockXProductInput,\n output: RetailedGetStockXProductOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-stock-x-product.mjs","names":[],"sources":["../../src/actions/get-stock-x-product.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { retailed } from \"../app\";\n\nexport const RetailedGetStockXProductInput = z.object({\n sku: z.string().describe(\"StockX product SKU identifier StockX-specific; may not match SKUs from other marketplaces (e.g., GOAT). Normalize identifiers before cross-platform comparisons.\").optional(),\n url: z.string().describe(\"Direct StockX product URL\").optional(),\n include_market: z.boolean().default(false).describe(\"Whether to include detailed market data\").optional(),\n}).describe(\"Request model for retrieving StockX product details by SKU or direct URL.\");\nconst RetailedGetStockXProduct_StockXMarketDataSchema = z.record(z.string(), z.unknown()).describe(\"Market-related data for a StockX product. Fields may vary depending on include_market flag.\");\nexport const RetailedGetStockXProductOutput = z.object({\n id: z.string().describe(\"Internal product ID\").nullable(),\n sku: z.string().describe(\"StockX product SKU\").nullable(),\n url: z.string().describe(\"StockX product URL\").nullable(),\n name: z.string().describe(\"Product name\").nullable(),\n brand: z.string().describe(\"Product brand\").nullable(),\n image: z.string().describe(\"URL of the main product image\").nullable(),\n colorway: z.string().describe(\"Product colorway or color description\").nullable(),\n description: z.string().describe(\"Detailed product description\").nullable(),\n market_data: RetailedGetStockXProduct_StockXMarketDataSchema.nullable().optional(),\n release_date: z.string().describe(\"Release date of the product\").nullable(),\n retail_price: z.number().describe(\"Retail price in USD\").nullable(),\n}).passthrough().describe(\"Response model for StockX product retrieval.\");\n\nexport const retailedGetStockXProduct: AppAction<\n typeof RetailedGetStockXProductInput,\n typeof RetailedGetStockXProductOutput,\n typeof retailed.credential\n> = action(\"RETAILED_GET_STOCK_X_PRODUCT\", {\n slug: \"retailed-get-stock-x-product\",\n name: \"Get StockX Product\",\n description: \"Tool to retrieve detailed StockX product information, including variant-level data. Use when you need comprehensive metadata from StockX by SKU or URL. Response is structured per variant; aggregate price or inventory metrics across variants only after grouping by variant to avoid distortion.\",\n input: RetailedGetStockXProductInput,\n output: RetailedGetStockXProductOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CACtM,KAAK,EAAE,OAAO,CAAC,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s","names":["z","action"],"sources":["../../src/actions/get-stockx-search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetailedGetStockxSearchInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default: 1)\").optional(),\n limit: z.number().int().default(10).describe(\"Number of results per page (default: 10)\").optional(),\n query: z.string().describe(\"Search term for StockX products\"),\n}).describe(\"Request parameters for searching StockX products.\");\nconst RetailedGetStockxSearch_StockxProductSchema = z.object({\n id: z.string().describe(\"StockX product ID\").nullable(),\n sku: z.string().describe(\"Product SKU/style code\").nullable(),\n name: z.string().describe(\"Product name\").nullable(),\n slug: z.string().describe(\"Product URL slug\").nullable(),\n brand: z.string().describe(\"Product brand\").nullable(),\n image: z.string().describe(\"URL of the product image\").nullable(),\n category: z.string().describe(\"Product category\").nullable(),\n colorway: z.string().describe(\"Product colorway description\").nullable(),\n}).passthrough().describe(\"Details of a StockX product from search results.\");\nconst RetailedGetStockxSearch_StockxSearchDataSchema = z.object({\n details: z.array(RetailedGetStockxSearch_StockxProductSchema).describe(\"List of matched StockX products\"),\n}).passthrough().describe(\"Data container for StockX search results.\");\nexport const RetailedGetStockxSearchOutput = z.object({\n data: RetailedGetStockxSearch_StockxSearchDataSchema.nullable(),\n error: z.string().describe(\"Error message if any\").nullable().optional(),\n successfull: z.boolean().describe(\"Whether the search was successful\").nullable(),\n}).passthrough().describe(\"Response model for StockX product search.\");\n\nexport const retailedGetStockxSearch = action(\"RETAILED_GET_STOCKX_SEARCH\", {\n slug: \"retailed-get-stockx-search\",\n name: \"StockX Search\",\n description: \"Tool to search StockX marketplace for products and pricing information. Use when you have a search term and need up-to-date listings on StockX. Note: SKU identifiers and size labels in results may differ from other marketplaces (e.g., GOAT); normalize these fields before cross-platform price comparisons.\",\n input: RetailedGetStockxSearchInput,\n output: RetailedGetStockxSearchOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-stockx-search.cjs","names":["z","action"],"sources":["../../src/actions/get-stockx-search.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { retailed } from \"../app\";\n\nexport const RetailedGetStockxSearchInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default: 1)\").optional(),\n limit: z.number().int().default(10).describe(\"Number of results per page (default: 10)\").optional(),\n query: z.string().describe(\"Search term for StockX products\"),\n}).describe(\"Request parameters for searching StockX products.\");\nconst RetailedGetStockxSearch_StockxProductSchema = z.object({\n id: z.string().describe(\"StockX product ID\").nullable(),\n sku: z.string().describe(\"Product SKU/style code\").nullable(),\n name: z.string().describe(\"Product name\").nullable(),\n slug: z.string().describe(\"Product URL slug\").nullable(),\n brand: z.string().describe(\"Product brand\").nullable(),\n image: z.string().describe(\"URL of the product image\").nullable(),\n category: z.string().describe(\"Product category\").nullable(),\n colorway: z.string().describe(\"Product colorway description\").nullable(),\n}).passthrough().describe(\"Details of a StockX product from search results.\");\nconst RetailedGetStockxSearch_StockxSearchDataSchema = z.object({\n details: z.array(RetailedGetStockxSearch_StockxProductSchema).describe(\"List of matched StockX products\"),\n}).passthrough().describe(\"Data container for StockX search results.\");\nexport const RetailedGetStockxSearchOutput = z.object({\n data: RetailedGetStockxSearch_StockxSearchDataSchema.nullable(),\n error: z.string().describe(\"Error message if any\").nullable().optional(),\n successfull: z.boolean().describe(\"Whether the search was successful\").nullable(),\n}).passthrough().describe(\"Response model for StockX product search.\");\n\nexport const retailedGetStockxSearch: AppAction<\n typeof RetailedGetStockxSearchInput,\n typeof RetailedGetStockxSearchOutput,\n typeof retailed.credential\n> = action(\"RETAILED_GET_STOCKX_SEARCH\", {\n slug: \"retailed-get-stockx-search\",\n name: \"StockX Search\",\n description: \"Tool to search StockX marketplace for products and pricing information. Use when you have a search term and need up-to-date listings on StockX. Note: SKU identifiers and size labels in results may differ from other marketplaces (e.g., GOAT); normalize these fields before cross-platform price comparisons.\",\n input: RetailedGetStockxSearchInput,\n output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AS,iCAAiC,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAM,+CAA+C,SAAS;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { retailed } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-stockx-search.d.ts
|
|
@@ -22,11 +24,7 @@ declare const RetailedGetStockxSearchOutput: z.ZodObject<{
|
|
|
22
24
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
successfull: z.ZodNullable<z.ZodBoolean>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const retailedGetStockxSearch:
|
|
26
|
-
query: string;
|
|
27
|
-
page?: number | undefined;
|
|
28
|
-
limit?: number | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
declare const retailedGetStockxSearch: AppAction<typeof RetailedGetStockxSearchInput, typeof RetailedGetStockxSearchOutput, typeof retailed.credential>;
|
|
30
28
|
//#endregion
|
|
31
29
|
export { retailedGetStockxSearch };
|
|
32
30
|
//# sourceMappingURL=get-stockx-search.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-stockx-search.d.cts","names":[],"sources":["../../src/actions/get-stockx-search.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-stockx-search.d.cts","names":[],"sources":["../../src/actions/get-stockx-search.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAkB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { retailed } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-stockx-search.d.ts
|
|
@@ -22,11 +24,7 @@ declare const RetailedGetStockxSearchOutput: z.ZodObject<{
|
|
|
22
24
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
successfull: z.ZodNullable<z.ZodBoolean>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const retailedGetStockxSearch:
|
|
26
|
-
query: string;
|
|
27
|
-
page?: number | undefined;
|
|
28
|
-
limit?: number | undefined;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
declare const retailedGetStockxSearch: AppAction<typeof RetailedGetStockxSearchInput, typeof RetailedGetStockxSearchOutput, typeof retailed.credential>;
|
|
30
28
|
//#endregion
|
|
31
29
|
export { retailedGetStockxSearch };
|
|
32
30
|
//# sourceMappingURL=get-stockx-search.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-stockx-search.d.mts","names":[],"sources":["../../src/actions/get-stockx-search.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-stockx-search.d.mts","names":[],"sources":["../../src/actions/get-stockx-search.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAkB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-stockx-search.mjs","names":[],"sources":["../../src/actions/get-stockx-search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetailedGetStockxSearchInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default: 1)\").optional(),\n limit: z.number().int().default(10).describe(\"Number of results per page (default: 10)\").optional(),\n query: z.string().describe(\"Search term for StockX products\"),\n}).describe(\"Request parameters for searching StockX products.\");\nconst RetailedGetStockxSearch_StockxProductSchema = z.object({\n id: z.string().describe(\"StockX product ID\").nullable(),\n sku: z.string().describe(\"Product SKU/style code\").nullable(),\n name: z.string().describe(\"Product name\").nullable(),\n slug: z.string().describe(\"Product URL slug\").nullable(),\n brand: z.string().describe(\"Product brand\").nullable(),\n image: z.string().describe(\"URL of the product image\").nullable(),\n category: z.string().describe(\"Product category\").nullable(),\n colorway: z.string().describe(\"Product colorway description\").nullable(),\n}).passthrough().describe(\"Details of a StockX product from search results.\");\nconst RetailedGetStockxSearch_StockxSearchDataSchema = z.object({\n details: z.array(RetailedGetStockxSearch_StockxProductSchema).describe(\"List of matched StockX products\"),\n}).passthrough().describe(\"Data container for StockX search results.\");\nexport const RetailedGetStockxSearchOutput = z.object({\n data: RetailedGetStockxSearch_StockxSearchDataSchema.nullable(),\n error: z.string().describe(\"Error message if any\").nullable().optional(),\n successfull: z.boolean().describe(\"Whether the search was successful\").nullable(),\n}).passthrough().describe(\"Response model for StockX product search.\");\n\nexport const retailedGetStockxSearch = action(\"RETAILED_GET_STOCKX_SEARCH\", {\n slug: \"retailed-get-stockx-search\",\n name: \"StockX Search\",\n description: \"Tool to search StockX marketplace for products and pricing information. Use when you have a search term and need up-to-date listings on StockX. Note: SKU identifiers and size labels in results may differ from other marketplaces (e.g., GOAT); normalize these fields before cross-platform price comparisons.\",\n input: RetailedGetStockxSearchInput,\n output: RetailedGetStockxSearchOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-stockx-search.mjs","names":[],"sources":["../../src/actions/get-stockx-search.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { retailed } from \"../app\";\n\nexport const RetailedGetStockxSearchInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default: 1)\").optional(),\n limit: z.number().int().default(10).describe(\"Number of results per page (default: 10)\").optional(),\n query: z.string().describe(\"Search term for StockX products\"),\n}).describe(\"Request parameters for searching StockX products.\");\nconst RetailedGetStockxSearch_StockxProductSchema = z.object({\n id: z.string().describe(\"StockX product ID\").nullable(),\n sku: z.string().describe(\"Product SKU/style code\").nullable(),\n name: z.string().describe(\"Product name\").nullable(),\n slug: z.string().describe(\"Product URL slug\").nullable(),\n brand: z.string().describe(\"Product brand\").nullable(),\n image: z.string().describe(\"URL of the product image\").nullable(),\n category: z.string().describe(\"Product category\").nullable(),\n colorway: z.string().describe(\"Product colorway description\").nullable(),\n}).passthrough().describe(\"Details of a StockX product from search results.\");\nconst RetailedGetStockxSearch_StockxSearchDataSchema = z.object({\n details: z.array(RetailedGetStockxSearch_StockxProductSchema).describe(\"List of matched StockX products\"),\n}).passthrough().describe(\"Data container for StockX search results.\");\nexport const RetailedGetStockxSearchOutput = z.object({\n data: RetailedGetStockxSearch_StockxSearchDataSchema.nullable(),\n error: z.string().describe(\"Error message if any\").nullable().optional(),\n successfull: z.boolean().describe(\"Whether the search was successful\").nullable(),\n}).passthrough().describe(\"Response model for StockX product search.\");\n\nexport const retailedGetStockxSearch: AppAction<\n typeof RetailedGetStockxSearchInput,\n typeof RetailedGetStockxSearchOutput,\n typeof retailed.credential\n> = action(\"RETAILED_GET_STOCKX_SEARCH\", {\n slug: \"retailed-get-stockx-search\",\n name: \"StockX Search\",\n description: \"Tool to search StockX marketplace for products and pricing information. Use when you have a search term and need up-to-date listings on StockX. Note: SKU identifiers and size labels in results may differ from other marketplaces (e.g., GOAT); normalize these fields before cross-platform price comparisons.\",\n input: RetailedGetStockxSearchInput,\n output: RetailedGetStockxSearchOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AAC9D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,iDAAiD,EAAE,OAAO,EAC9D,SAAS,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,iCAAiC,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAOrE,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf2C,EAAE,OAAO;EACpD,MAAM,+CAA+C,SAAS;EAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-stockx-trends.cjs","names":["z","action"],"sources":["../../src/actions/get-stockx-trends.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetailedGetStockxTrendsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default: 1)\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"Sort order (ascending or descending)\").optional(),\n sort_by: z.string().describe(\"Sort field (e.g., popularity, price)\").optional(),\n per_page: z.number().int().default(20).describe(\"Number of results per page (default: 20)\").optional(),\n product_type: z.string().describe(\"Filter by product type (e.g., sneakers, streetwear)\").optional(),\n}).describe(\"Request parameters for retrieving trending product data from StockX.\");\nconst RetailedGetStockxTrends_TrendProductSchema = z.object({\n id: z.string().describe(\"Unique StockX product ID\").nullable(),\n sku: z.string().describe(\"Product SKU\").nullable(),\n name: z.string().describe(\"Product name\").nullable(),\n slug: z.string().describe(\"Product slug for URL\").nullable(),\n brand: z.string().describe(\"Product brand\").nullable(),\n image: z.string().describe(\"Product image URL (may be null)\").nullable().optional(),\n category: z.string().describe(\"Product category\").nullable(),\n release_date: z.string().describe(\"Date of product release (YYYY-MM-DD)\").nullable(),\n}).passthrough().describe(\"Details of a trending StockX product.\");\nexport const RetailedGetStockxTrendsOutput = z.object({\n products: z.array(RetailedGetStockxTrends_TrendProductSchema).describe(\"List of trending StockX product details\"),\n}).passthrough().describe(\"Response schema for trending products from StockX.\\nThis is a list of trending products returned directly from the API.\");\n\nexport const retailedGetStockxTrends = action(\"RETAILED_GET_STOCKX_TRENDS\", {\n slug: \"retailed-get-stockx-trends\",\n name: \"StockX Trends\",\n description: \"Tool to get the latest trending products from StockX. Use when you want to discover current trending items.\",\n input: RetailedGetStockxTrendsInput,\n output: RetailedGetStockxTrendsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-stockx-trends.cjs","names":["z","action"],"sources":["../../src/actions/get-stockx-trends.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { retailed } from \"../app\";\n\nexport const RetailedGetStockxTrendsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default: 1)\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"Sort order (ascending or descending)\").optional(),\n sort_by: z.string().describe(\"Sort field (e.g., popularity, price)\").optional(),\n per_page: z.number().int().default(20).describe(\"Number of results per page (default: 20)\").optional(),\n product_type: z.string().describe(\"Filter by product type (e.g., sneakers, streetwear)\").optional(),\n}).describe(\"Request parameters for retrieving trending product data from StockX.\");\nconst RetailedGetStockxTrends_TrendProductSchema = z.object({\n id: z.string().describe(\"Unique StockX product ID\").nullable(),\n sku: z.string().describe(\"Product SKU\").nullable(),\n name: z.string().describe(\"Product name\").nullable(),\n slug: z.string().describe(\"Product slug for URL\").nullable(),\n brand: z.string().describe(\"Product brand\").nullable(),\n image: z.string().describe(\"Product image URL (may be null)\").nullable().optional(),\n category: z.string().describe(\"Product category\").nullable(),\n release_date: z.string().describe(\"Date of product release (YYYY-MM-DD)\").nullable(),\n}).passthrough().describe(\"Details of a trending StockX product.\");\nexport const RetailedGetStockxTrendsOutput = z.object({\n products: z.array(RetailedGetStockxTrends_TrendProductSchema).describe(\"List of trending StockX product details\"),\n}).passthrough().describe(\"Response schema for trending products from StockX.\\nThis is a list of trending products returned directly from the API.\");\n\nexport const retailedGetStockxTrends: AppAction<\n typeof RetailedGetStockxTrendsInput,\n typeof RetailedGetStockxTrendsOutput,\n typeof retailed.credential\n> = action(\"RETAILED_GET_STOCKX_TRENDS\", {\n slug: \"retailed-get-stockx-trends\",\n name: \"StockX Trends\",\n description: \"Tool to get the latest trending products from StockX. Use when you want to discover current trending items.\",\n input: RetailedGetStockxTrendsInput,\n output: RetailedGetStockxTrendsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC3D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,UAAUA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,yCAAyC,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yHAAyH;AAEnJ,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { retailed } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-stockx-trends.d.ts
|
|
@@ -23,13 +25,7 @@ declare const RetailedGetStockxTrendsOutput: z.ZodObject<{
|
|
|
23
25
|
release_date: z.ZodNullable<z.ZodString>;
|
|
24
26
|
}, z.core.$loose>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const retailedGetStockxTrends:
|
|
27
|
-
page?: number | undefined;
|
|
28
|
-
order?: "asc" | "desc" | undefined;
|
|
29
|
-
sort_by?: string | undefined;
|
|
30
|
-
per_page?: number | undefined;
|
|
31
|
-
product_type?: string | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const retailedGetStockxTrends: AppAction<typeof RetailedGetStockxTrendsInput, typeof RetailedGetStockxTrendsOutput, typeof retailed.credential>;
|
|
33
29
|
//#endregion
|
|
34
30
|
export { retailedGetStockxTrends };
|
|
35
31
|
//# sourceMappingURL=get-stockx-trends.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-stockx-trends.d.cts","names":[],"sources":["../../src/actions/get-stockx-trends.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-stockx-trends.d.cts","names":[],"sources":["../../src/actions/get-stockx-trends.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAiB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { retailed } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-stockx-trends.d.ts
|
|
@@ -23,13 +25,7 @@ declare const RetailedGetStockxTrendsOutput: z.ZodObject<{
|
|
|
23
25
|
release_date: z.ZodNullable<z.ZodString>;
|
|
24
26
|
}, z.core.$loose>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const retailedGetStockxTrends:
|
|
27
|
-
page?: number | undefined;
|
|
28
|
-
order?: "asc" | "desc" | undefined;
|
|
29
|
-
sort_by?: string | undefined;
|
|
30
|
-
per_page?: number | undefined;
|
|
31
|
-
product_type?: string | undefined;
|
|
32
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const retailedGetStockxTrends: AppAction<typeof RetailedGetStockxTrendsInput, typeof RetailedGetStockxTrendsOutput, typeof retailed.credential>;
|
|
33
29
|
//#endregion
|
|
34
30
|
export { retailedGetStockxTrends };
|
|
35
31
|
//# sourceMappingURL=get-stockx-trends.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-stockx-trends.d.mts","names":[],"sources":["../../src/actions/get-stockx-trends.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-stockx-trends.d.mts","names":[],"sources":["../../src/actions/get-stockx-trends.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAiB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-stockx-trends.mjs","names":[],"sources":["../../src/actions/get-stockx-trends.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetailedGetStockxTrendsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default: 1)\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"Sort order (ascending or descending)\").optional(),\n sort_by: z.string().describe(\"Sort field (e.g., popularity, price)\").optional(),\n per_page: z.number().int().default(20).describe(\"Number of results per page (default: 20)\").optional(),\n product_type: z.string().describe(\"Filter by product type (e.g., sneakers, streetwear)\").optional(),\n}).describe(\"Request parameters for retrieving trending product data from StockX.\");\nconst RetailedGetStockxTrends_TrendProductSchema = z.object({\n id: z.string().describe(\"Unique StockX product ID\").nullable(),\n sku: z.string().describe(\"Product SKU\").nullable(),\n name: z.string().describe(\"Product name\").nullable(),\n slug: z.string().describe(\"Product slug for URL\").nullable(),\n brand: z.string().describe(\"Product brand\").nullable(),\n image: z.string().describe(\"Product image URL (may be null)\").nullable().optional(),\n category: z.string().describe(\"Product category\").nullable(),\n release_date: z.string().describe(\"Date of product release (YYYY-MM-DD)\").nullable(),\n}).passthrough().describe(\"Details of a trending StockX product.\");\nexport const RetailedGetStockxTrendsOutput = z.object({\n products: z.array(RetailedGetStockxTrends_TrendProductSchema).describe(\"List of trending StockX product details\"),\n}).passthrough().describe(\"Response schema for trending products from StockX.\\nThis is a list of trending products returned directly from the API.\");\n\nexport const retailedGetStockxTrends = action(\"RETAILED_GET_STOCKX_TRENDS\", {\n slug: \"retailed-get-stockx-trends\",\n name: \"StockX Trends\",\n description: \"Tool to get the latest trending products from StockX. Use when you want to discover current trending items.\",\n input: RetailedGetStockxTrendsInput,\n output: RetailedGetStockxTrendsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-stockx-trends.mjs","names":[],"sources":["../../src/actions/get-stockx-trends.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { retailed } from \"../app\";\n\nexport const RetailedGetStockxTrendsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default: 1)\").optional(),\n order: z.enum([\"asc\", \"desc\"]).default(\"desc\").describe(\"Sort order (ascending or descending)\").optional(),\n sort_by: z.string().describe(\"Sort field (e.g., popularity, price)\").optional(),\n per_page: z.number().int().default(20).describe(\"Number of results per page (default: 20)\").optional(),\n product_type: z.string().describe(\"Filter by product type (e.g., sneakers, streetwear)\").optional(),\n}).describe(\"Request parameters for retrieving trending product data from StockX.\");\nconst RetailedGetStockxTrends_TrendProductSchema = z.object({\n id: z.string().describe(\"Unique StockX product ID\").nullable(),\n sku: z.string().describe(\"Product SKU\").nullable(),\n name: z.string().describe(\"Product name\").nullable(),\n slug: z.string().describe(\"Product slug for URL\").nullable(),\n brand: z.string().describe(\"Product brand\").nullable(),\n image: z.string().describe(\"Product image URL (may be null)\").nullable().optional(),\n category: z.string().describe(\"Product category\").nullable(),\n release_date: z.string().describe(\"Date of product release (YYYY-MM-DD)\").nullable(),\n}).passthrough().describe(\"Details of a trending StockX product.\");\nexport const RetailedGetStockxTrendsOutput = z.object({\n products: z.array(RetailedGetStockxTrends_TrendProductSchema).describe(\"List of trending StockX product details\"),\n}).passthrough().describe(\"Response schema for trending products from StockX.\\nThis is a list of trending products returned directly from the API.\");\n\nexport const retailedGetStockxTrends: AppAction<\n typeof RetailedGetStockxTrendsInput,\n typeof RetailedGetStockxTrendsOutput,\n typeof retailed.credential\n> = action(\"RETAILED_GET_STOCKX_TRENDS\", {\n slug: \"retailed-get-stockx-trends\",\n name: \"StockX Trends\",\n description: \"Tool to get the latest trending products from StockX. Use when you want to discover current trending items.\",\n input: RetailedGetStockxTrendsInput,\n output: RetailedGetStockxTrendsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/F,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC3D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAKjE,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO,EACpD,UAAU,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,yCAAyC,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yHAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-usage.cjs","names":["z","action"],"sources":["../../src/actions/get-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetailedGetUsageInput = z.object({}).describe(\"Request parameters for retrieving API usage statistics.\");\nexport const RetailedGetUsageOutput = z.object({\n plan: z.string().describe(\"Plan name\").nullable(),\n remaining: z.union([z.number().int(), z.string()]),\n}).passthrough().describe(\"Response model for API usage statistics.\");\n\nexport const retailedGetUsage = action(\"RETAILED_GET_USAGE\", {\n slug: \"retailed-get-usage\",\n name: \"Get API Usage\",\n description: \"Tool to retrieve current API usage statistics. The only mechanism to check remaining API credits; call proactively before long-running analyses to prevent mid-run quota exhaustion.\",\n input: RetailedGetUsageInput,\n output: RetailedGetUsageOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-usage.cjs","names":["z","action"],"sources":["../../src/actions/get-usage.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { retailed } from \"../app\";\n\nexport const RetailedGetUsageInput = z.object({}).describe(\"Request parameters for retrieving API usage statistics.\");\nexport const RetailedGetUsageOutput = z.object({\n plan: z.string().describe(\"Plan name\").nullable(),\n remaining: z.union([z.number().int(), z.string()]),\n}).passthrough().describe(\"Response model for API usage statistics.\");\n\nexport const retailedGetUsage: AppAction<\n typeof RetailedGetUsageInput,\n typeof RetailedGetUsageOutput,\n typeof retailed.credential\n> = action(\"RETAILED_GET_USAGE\", {\n slug: \"retailed-get-usage\",\n name: \"Get API Usage\",\n description: \"Tool to retrieve current API usage statistics. The only mechanism to check remaining API credits; call proactively before long-running analyses to prevent mid-run quota exhaustion.\",\n input: RetailedGetUsageInput,\n output: RetailedGetUsageOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACpH,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,WAAWA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACnD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { retailed } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-usage.d.ts
|
|
@@ -6,7 +8,7 @@ declare const RetailedGetUsageOutput: z.ZodObject<{
|
|
|
6
8
|
plan: z.ZodNullable<z.ZodString>;
|
|
7
9
|
remaining: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
8
10
|
}, z.core.$loose>;
|
|
9
|
-
declare const retailedGetUsage:
|
|
11
|
+
declare const retailedGetUsage: AppAction<typeof RetailedGetUsageInput, typeof RetailedGetUsageOutput, typeof retailed.credential>;
|
|
10
12
|
//#endregion
|
|
11
13
|
export { retailedGetUsage };
|
|
12
14
|
//# sourceMappingURL=get-usage.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-usage.d.cts","names":[],"sources":["../../src/actions/get-usage.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-usage.d.cts","names":[],"sources":["../../src/actions/get-usage.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAKtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { retailed } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-usage.d.ts
|
|
@@ -6,7 +8,7 @@ declare const RetailedGetUsageOutput: z.ZodObject<{
|
|
|
6
8
|
plan: z.ZodNullable<z.ZodString>;
|
|
7
9
|
remaining: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
8
10
|
}, z.core.$loose>;
|
|
9
|
-
declare const retailedGetUsage:
|
|
11
|
+
declare const retailedGetUsage: AppAction<typeof RetailedGetUsageInput, typeof RetailedGetUsageOutput, typeof retailed.credential>;
|
|
10
12
|
//#endregion
|
|
11
13
|
export { retailedGetUsage };
|
|
12
14
|
//# sourceMappingURL=get-usage.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-usage.d.mts","names":[],"sources":["../../src/actions/get-usage.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-usage.d.mts","names":[],"sources":["../../src/actions/get-usage.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAKtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-usage.mjs","names":[],"sources":["../../src/actions/get-usage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetailedGetUsageInput = z.object({}).describe(\"Request parameters for retrieving API usage statistics.\");\nexport const RetailedGetUsageOutput = z.object({\n plan: z.string().describe(\"Plan name\").nullable(),\n remaining: z.union([z.number().int(), z.string()]),\n}).passthrough().describe(\"Response model for API usage statistics.\");\n\nexport const retailedGetUsage = action(\"RETAILED_GET_USAGE\", {\n slug: \"retailed-get-usage\",\n name: \"Get API Usage\",\n description: \"Tool to retrieve current API usage statistics. The only mechanism to check remaining API credits; call proactively before long-running analyses to prevent mid-run quota exhaustion.\",\n input: RetailedGetUsageInput,\n output: RetailedGetUsageOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-usage.mjs","names":[],"sources":["../../src/actions/get-usage.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { retailed } from \"../app\";\n\nexport const RetailedGetUsageInput = z.object({}).describe(\"Request parameters for retrieving API usage statistics.\");\nexport const RetailedGetUsageOutput = z.object({\n plan: z.string().describe(\"Plan name\").nullable(),\n remaining: z.union([z.number().int(), z.string()]),\n}).passthrough().describe(\"Response model for API usage statistics.\");\n\nexport const retailedGetUsage: AppAction<\n typeof RetailedGetUsageInput,\n typeof RetailedGetUsageOutput,\n typeof retailed.credential\n> = action(\"RETAILED_GET_USAGE\", {\n slug: \"retailed-get-usage\",\n name: \"Get API Usage\",\n description: \"Tool to retrieve current API usage statistics. The only mechanism to check remaining API credits; call proactively before long-running analyses to prevent mid-run quota exhaustion.\",\n input: RetailedGetUsageInput,\n output: RetailedGetUsageOutput,\n});\n"],"mappings":";;;AAYA,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAclD;CACP,QAdoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;EAChD,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;CACnD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-products.cjs","names":["z","action"],"sources":["../../src/actions/search-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetailedSearchProductsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default: 1).\").optional(),\n sort: z.string().describe(\"Field to sort by. Prefix with '-' for descending order.\").optional(),\n limit: z.number().int().default(10).describe(\"Number of products per page (default: 10, max: 100). Queries with many matches silently return only the first page; always manage `page` and `limit` explicitly when iterating full result sets.\").optional(),\n domain: z.string().describe(\"Filter by domain (e.g., 'stockx.com', 'goat.com').\").optional(),\n source: z.string().describe(\"Filter by source/marketplace name (e.g., 'stockx-us', 'goat-us').\").optional(),\n}).describe(\"Request parameters for searching products in Retailed database.\\nUses Retailed's granular querying language for filtering.\");\nconst RetailedSearchProducts_ProductSchema = z.object({\n id: z.number().int().describe(\"Product database ID.\").nullable().optional(),\n sku: z.string().describe(\"Product SKU.\").nullable().optional(),\n url: z.string().describe(\"Product URL.\").nullable().optional(),\n name: z.string().describe(\"Source name (e.g., stockx-us).\").nullable().optional(),\n price: z.number().describe(\"Product price.\").nullable().optional(),\n title: z.string().describe(\"Product title.\").nullable().optional(),\n domain: z.string().describe(\"Source domain (e.g., stockx.com).\").nullable().optional(),\n images: z.array(z.string()).describe(\"Product image URLs.\").nullable().optional(),\n country: z.string().describe(\"Country code.\").nullable().optional(),\n urlSlug: z.string().describe(\"URL slug.\").nullable().optional(),\n currency: z.string().describe(\"Currency code.\").nullable().optional(),\n variants: z.array(z.record(z.string(), z.unknown())).describe(\"Product variants.\").nullable().optional(),\n condition: z.string().describe(\"Product condition.\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp.\").nullable().optional(),\n productId: z.string().describe(\"Unique product identifier.\").nullable().optional(),\n salePrice: z.number().describe(\"Sale price.\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp.\").nullable().optional(),\n description: z.string().describe(\"Product description.\").nullable().optional(),\n availability: z.string().describe(\"Availability status.\").nullable().optional(),\n currencySymbol: z.string().describe(\"Currency symbol.\").nullable().optional(),\n lowestRecordedPrice: z.number().describe(\"Lowest recorded price.\").nullable().optional(),\n highestRecordedPrice: z.number().describe(\"Highest recorded price.\").nullable().optional(),\n}).passthrough().describe(\"Product data model from Retailed database.\");\nexport const RetailedSearchProductsOutput = z.object({\n docs: z.array(RetailedSearchProducts_ProductSchema).describe(\"List of matching products.\").nullable().optional(),\n page: z.number().int().describe(\"Current page number.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of products per page.\").nullable().optional(),\n nextPage: z.number().int().describe(\"Next page number.\").nullable().optional(),\n prevPage: z.number().int().describe(\"Previous page number.\").nullable().optional(),\n totalDocs: z.number().int().describe(\"Total number of matched products.\").nullable().optional(),\n totalPages: z.number().int().describe(\"Total number of pages.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether next page exists.\").nullable().optional(),\n hasPrevPage: z.boolean().describe(\"Whether previous page exists.\").nullable().optional(),\n pagingCounter: z.number().int().describe(\"Starting index.\").nullable().optional(),\n}).passthrough().describe(\"Response model for Retailed database products search.\");\n\nexport const retailedSearchProducts = action(\"RETAILED_SEARCH_PRODUCTS\", {\n slug: \"retailed-search-products\",\n name: \"Search Products\",\n description: \"Search for products in Retailed database matching query criteria. Uses Retailed's granular querying language with support for filtering by name, SKU, brand. SKUs and size labels are not standardized across sources; normalize product IDs and size labels before comparing results across marketplaces.\",\n input: RetailedSearchProductsInput,\n output: RetailedSearchProductsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-products.cjs","names":["z","action"],"sources":["../../src/actions/search-products.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { retailed } from \"../app\";\n\nexport const RetailedSearchProductsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default: 1).\").optional(),\n sort: z.string().describe(\"Field to sort by. Prefix with '-' for descending order.\").optional(),\n limit: z.number().int().default(10).describe(\"Number of products per page (default: 10, max: 100). Queries with many matches silently return only the first page; always manage `page` and `limit` explicitly when iterating full result sets.\").optional(),\n domain: z.string().describe(\"Filter by domain (e.g., 'stockx.com', 'goat.com').\").optional(),\n source: z.string().describe(\"Filter by source/marketplace name (e.g., 'stockx-us', 'goat-us').\").optional(),\n}).describe(\"Request parameters for searching products in Retailed database.\\nUses Retailed's granular querying language for filtering.\");\nconst RetailedSearchProducts_ProductSchema = z.object({\n id: z.number().int().describe(\"Product database ID.\").nullable().optional(),\n sku: z.string().describe(\"Product SKU.\").nullable().optional(),\n url: z.string().describe(\"Product URL.\").nullable().optional(),\n name: z.string().describe(\"Source name (e.g., stockx-us).\").nullable().optional(),\n price: z.number().describe(\"Product price.\").nullable().optional(),\n title: z.string().describe(\"Product title.\").nullable().optional(),\n domain: z.string().describe(\"Source domain (e.g., stockx.com).\").nullable().optional(),\n images: z.array(z.string()).describe(\"Product image URLs.\").nullable().optional(),\n country: z.string().describe(\"Country code.\").nullable().optional(),\n urlSlug: z.string().describe(\"URL slug.\").nullable().optional(),\n currency: z.string().describe(\"Currency code.\").nullable().optional(),\n variants: z.array(z.record(z.string(), z.unknown())).describe(\"Product variants.\").nullable().optional(),\n condition: z.string().describe(\"Product condition.\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp.\").nullable().optional(),\n productId: z.string().describe(\"Unique product identifier.\").nullable().optional(),\n salePrice: z.number().describe(\"Sale price.\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp.\").nullable().optional(),\n description: z.string().describe(\"Product description.\").nullable().optional(),\n availability: z.string().describe(\"Availability status.\").nullable().optional(),\n currencySymbol: z.string().describe(\"Currency symbol.\").nullable().optional(),\n lowestRecordedPrice: z.number().describe(\"Lowest recorded price.\").nullable().optional(),\n highestRecordedPrice: z.number().describe(\"Highest recorded price.\").nullable().optional(),\n}).passthrough().describe(\"Product data model from Retailed database.\");\nexport const RetailedSearchProductsOutput = z.object({\n docs: z.array(RetailedSearchProducts_ProductSchema).describe(\"List of matching products.\").nullable().optional(),\n page: z.number().int().describe(\"Current page number.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of products per page.\").nullable().optional(),\n nextPage: z.number().int().describe(\"Next page number.\").nullable().optional(),\n prevPage: z.number().int().describe(\"Previous page number.\").nullable().optional(),\n totalDocs: z.number().int().describe(\"Total number of matched products.\").nullable().optional(),\n totalPages: z.number().int().describe(\"Total number of pages.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether next page exists.\").nullable().optional(),\n hasPrevPage: z.boolean().describe(\"Whether previous page exists.\").nullable().optional(),\n pagingCounter: z.number().int().describe(\"Starting index.\").nullable().optional(),\n}).passthrough().describe(\"Response model for Retailed database products search.\");\n\nexport const retailedSearchProducts: AppAction<\n typeof RetailedSearchProductsInput,\n typeof RetailedSearchProductsOutput,\n typeof retailed.credential\n> = action(\"RETAILED_SEARCH_PRODUCTS\", {\n slug: \"retailed-search-products\",\n name: \"Search Products\",\n description: \"Search for products in Retailed database matching query criteria. Uses Retailed's granular querying language with support for filtering by name, SKU, brand. SKUs and size labels are not standardized across sources; normalize product IDs and size labels before comparing results across marketplaces.\",\n input: RetailedSearchProductsInput,\n output: RetailedSearchProductsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kMAAkM,CAAC,CAAC,SAAS;CAC1P,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,4HAA4H;AACxI,MAAM,uCAAuCA,IAAAA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
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/search-products.d.ts
|
|
@@ -43,13 +45,7 @@ declare const RetailedSearchProductsOutput: z.ZodObject<{
|
|
|
43
45
|
hasPrevPage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
44
46
|
pagingCounter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const retailedSearchProducts:
|
|
47
|
-
page?: number | undefined;
|
|
48
|
-
sort?: string | undefined;
|
|
49
|
-
limit?: number | undefined;
|
|
50
|
-
domain?: string | undefined;
|
|
51
|
-
source?: string | undefined;
|
|
52
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
48
|
+
declare const retailedSearchProducts: AppAction<typeof RetailedSearchProductsInput, typeof RetailedSearchProductsOutput, typeof retailed.credential>;
|
|
53
49
|
//#endregion
|
|
54
50
|
export { retailedSearchProducts };
|
|
55
51
|
//# sourceMappingURL=search-products.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-products.d.cts","names":[],"sources":["../../src/actions/search-products.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-products.d.cts","names":[],"sources":["../../src/actions/search-products.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cA+B3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAa5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { retailed } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/search-products.d.ts
|
|
@@ -43,13 +45,7 @@ declare const RetailedSearchProductsOutput: z.ZodObject<{
|
|
|
43
45
|
hasPrevPage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
44
46
|
pagingCounter: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const retailedSearchProducts:
|
|
47
|
-
page?: number | undefined;
|
|
48
|
-
sort?: string | undefined;
|
|
49
|
-
limit?: number | undefined;
|
|
50
|
-
domain?: string | undefined;
|
|
51
|
-
source?: string | undefined;
|
|
52
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
48
|
+
declare const retailedSearchProducts: AppAction<typeof RetailedSearchProductsInput, typeof RetailedSearchProductsOutput, typeof retailed.credential>;
|
|
53
49
|
//#endregion
|
|
54
50
|
export { retailedSearchProducts };
|
|
55
51
|
//# sourceMappingURL=search-products.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-products.d.mts","names":[],"sources":["../../src/actions/search-products.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-products.d.mts","names":[],"sources":["../../src/actions/search-products.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cA+B3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAa5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-products.mjs","names":[],"sources":["../../src/actions/search-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetailedSearchProductsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default: 1).\").optional(),\n sort: z.string().describe(\"Field to sort by. Prefix with '-' for descending order.\").optional(),\n limit: z.number().int().default(10).describe(\"Number of products per page (default: 10, max: 100). Queries with many matches silently return only the first page; always manage `page` and `limit` explicitly when iterating full result sets.\").optional(),\n domain: z.string().describe(\"Filter by domain (e.g., 'stockx.com', 'goat.com').\").optional(),\n source: z.string().describe(\"Filter by source/marketplace name (e.g., 'stockx-us', 'goat-us').\").optional(),\n}).describe(\"Request parameters for searching products in Retailed database.\\nUses Retailed's granular querying language for filtering.\");\nconst RetailedSearchProducts_ProductSchema = z.object({\n id: z.number().int().describe(\"Product database ID.\").nullable().optional(),\n sku: z.string().describe(\"Product SKU.\").nullable().optional(),\n url: z.string().describe(\"Product URL.\").nullable().optional(),\n name: z.string().describe(\"Source name (e.g., stockx-us).\").nullable().optional(),\n price: z.number().describe(\"Product price.\").nullable().optional(),\n title: z.string().describe(\"Product title.\").nullable().optional(),\n domain: z.string().describe(\"Source domain (e.g., stockx.com).\").nullable().optional(),\n images: z.array(z.string()).describe(\"Product image URLs.\").nullable().optional(),\n country: z.string().describe(\"Country code.\").nullable().optional(),\n urlSlug: z.string().describe(\"URL slug.\").nullable().optional(),\n currency: z.string().describe(\"Currency code.\").nullable().optional(),\n variants: z.array(z.record(z.string(), z.unknown())).describe(\"Product variants.\").nullable().optional(),\n condition: z.string().describe(\"Product condition.\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp.\").nullable().optional(),\n productId: z.string().describe(\"Unique product identifier.\").nullable().optional(),\n salePrice: z.number().describe(\"Sale price.\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp.\").nullable().optional(),\n description: z.string().describe(\"Product description.\").nullable().optional(),\n availability: z.string().describe(\"Availability status.\").nullable().optional(),\n currencySymbol: z.string().describe(\"Currency symbol.\").nullable().optional(),\n lowestRecordedPrice: z.number().describe(\"Lowest recorded price.\").nullable().optional(),\n highestRecordedPrice: z.number().describe(\"Highest recorded price.\").nullable().optional(),\n}).passthrough().describe(\"Product data model from Retailed database.\");\nexport const RetailedSearchProductsOutput = z.object({\n docs: z.array(RetailedSearchProducts_ProductSchema).describe(\"List of matching products.\").nullable().optional(),\n page: z.number().int().describe(\"Current page number.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of products per page.\").nullable().optional(),\n nextPage: z.number().int().describe(\"Next page number.\").nullable().optional(),\n prevPage: z.number().int().describe(\"Previous page number.\").nullable().optional(),\n totalDocs: z.number().int().describe(\"Total number of matched products.\").nullable().optional(),\n totalPages: z.number().int().describe(\"Total number of pages.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether next page exists.\").nullable().optional(),\n hasPrevPage: z.boolean().describe(\"Whether previous page exists.\").nullable().optional(),\n pagingCounter: z.number().int().describe(\"Starting index.\").nullable().optional(),\n}).passthrough().describe(\"Response model for Retailed database products search.\");\n\nexport const retailedSearchProducts = action(\"RETAILED_SEARCH_PRODUCTS\", {\n slug: \"retailed-search-products\",\n name: \"Search Products\",\n description: \"Search for products in Retailed database matching query criteria. Uses Retailed's granular querying language with support for filtering by name, SKU, brand. SKUs and size labels are not standardized across sources; normalize product IDs and size labels before comparing results across marketplaces.\",\n input: RetailedSearchProductsInput,\n output: RetailedSearchProductsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"search-products.mjs","names":[],"sources":["../../src/actions/search-products.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { retailed } from \"../app\";\n\nexport const RetailedSearchProductsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (default: 1).\").optional(),\n sort: z.string().describe(\"Field to sort by. Prefix with '-' for descending order.\").optional(),\n limit: z.number().int().default(10).describe(\"Number of products per page (default: 10, max: 100). Queries with many matches silently return only the first page; always manage `page` and `limit` explicitly when iterating full result sets.\").optional(),\n domain: z.string().describe(\"Filter by domain (e.g., 'stockx.com', 'goat.com').\").optional(),\n source: z.string().describe(\"Filter by source/marketplace name (e.g., 'stockx-us', 'goat-us').\").optional(),\n}).describe(\"Request parameters for searching products in Retailed database.\\nUses Retailed's granular querying language for filtering.\");\nconst RetailedSearchProducts_ProductSchema = z.object({\n id: z.number().int().describe(\"Product database ID.\").nullable().optional(),\n sku: z.string().describe(\"Product SKU.\").nullable().optional(),\n url: z.string().describe(\"Product URL.\").nullable().optional(),\n name: z.string().describe(\"Source name (e.g., stockx-us).\").nullable().optional(),\n price: z.number().describe(\"Product price.\").nullable().optional(),\n title: z.string().describe(\"Product title.\").nullable().optional(),\n domain: z.string().describe(\"Source domain (e.g., stockx.com).\").nullable().optional(),\n images: z.array(z.string()).describe(\"Product image URLs.\").nullable().optional(),\n country: z.string().describe(\"Country code.\").nullable().optional(),\n urlSlug: z.string().describe(\"URL slug.\").nullable().optional(),\n currency: z.string().describe(\"Currency code.\").nullable().optional(),\n variants: z.array(z.record(z.string(), z.unknown())).describe(\"Product variants.\").nullable().optional(),\n condition: z.string().describe(\"Product condition.\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp.\").nullable().optional(),\n productId: z.string().describe(\"Unique product identifier.\").nullable().optional(),\n salePrice: z.number().describe(\"Sale price.\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp.\").nullable().optional(),\n description: z.string().describe(\"Product description.\").nullable().optional(),\n availability: z.string().describe(\"Availability status.\").nullable().optional(),\n currencySymbol: z.string().describe(\"Currency symbol.\").nullable().optional(),\n lowestRecordedPrice: z.number().describe(\"Lowest recorded price.\").nullable().optional(),\n highestRecordedPrice: z.number().describe(\"Highest recorded price.\").nullable().optional(),\n}).passthrough().describe(\"Product data model from Retailed database.\");\nexport const RetailedSearchProductsOutput = z.object({\n docs: z.array(RetailedSearchProducts_ProductSchema).describe(\"List of matching products.\").nullable().optional(),\n page: z.number().int().describe(\"Current page number.\").nullable().optional(),\n limit: z.number().int().describe(\"Number of products per page.\").nullable().optional(),\n nextPage: z.number().int().describe(\"Next page number.\").nullable().optional(),\n prevPage: z.number().int().describe(\"Previous page number.\").nullable().optional(),\n totalDocs: z.number().int().describe(\"Total number of matched products.\").nullable().optional(),\n totalPages: z.number().int().describe(\"Total number of pages.\").nullable().optional(),\n hasNextPage: z.boolean().describe(\"Whether next page exists.\").nullable().optional(),\n hasPrevPage: z.boolean().describe(\"Whether previous page exists.\").nullable().optional(),\n pagingCounter: z.number().int().describe(\"Starting index.\").nullable().optional(),\n}).passthrough().describe(\"Response model for Retailed database products search.\");\n\nexport const retailedSearchProducts: AppAction<\n typeof RetailedSearchProductsInput,\n typeof RetailedSearchProductsOutput,\n typeof retailed.credential\n> = action(\"RETAILED_SEARCH_PRODUCTS\", {\n slug: \"retailed-search-products\",\n name: \"Search Products\",\n description: \"Search for products in Retailed database matching query criteria. Uses Retailed's granular querying language with support for filtering by name, SKU, brand. SKUs and size labels are not standardized across sources; normalize product IDs and size labels before comparing results across marketplaces.\",\n input: RetailedSearchProductsInput,\n output: RetailedSearchProductsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC9F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,kMAAkM,CAAC,CAAC,SAAS;CAC1P,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,4HAA4H;AACxI,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CA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SAAS,CAAC,CAAC,SAAS;EAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
1
2
|
//#region src/app.ts
|
|
2
|
-
const
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
|
+
const retailed = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "retailed",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.retailed = retailed;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const retailed = defineApp({\n slug: \"retailed\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const retailed: KeystrokeApp<\"retailed\", typeof credential> = defineApp({\n slug: \"retailed\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAkE;CAC7E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const retailed: KeystrokeApp<"retailed", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { retailed };
|
|
5
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const retailed: KeystrokeApp<"retailed", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { retailed };
|
|
5
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const retailed = defineApp({
|
|
4
4
|
slug: "retailed",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: { generic_api_key: z.string() }
|
|
6
7
|
});
|
|
7
8
|
//#endregion
|
|
8
9
|
export { retailed };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const retailed = defineApp({\n slug: \"retailed\",\n auth: \"keystroke\",\n});\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const retailed: KeystrokeApp<\"retailed\", typeof credential> = defineApp({\n slug: \"retailed\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,WAAwD,UAAU;CAC7E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { retailed } from "./app.cjs";
|
|
1
2
|
import { retailedGetGoatPrices } from "./actions/get-goat-prices.cjs";
|
|
2
3
|
import { retailedGetStockXProduct } from "./actions/get-stock-x-product.cjs";
|
|
3
4
|
import { retailedGetStockxSearch } from "./actions/get-stockx-search.cjs";
|
|
4
5
|
import { retailedGetStockxTrends } from "./actions/get-stockx-trends.cjs";
|
|
5
6
|
import { retailedGetUsage } from "./actions/get-usage.cjs";
|
|
6
7
|
import { retailedSearchProducts } from "./actions/search-products.cjs";
|
|
7
|
-
import { retailed } from "./app.cjs";
|
|
8
8
|
import { retailedCatalog } from "./catalog.cjs";
|
|
9
9
|
export { retailed, retailedCatalog, retailedGetGoatPrices, retailedGetStockXProduct, retailedGetStockxSearch, retailedGetStockxTrends, retailedGetUsage, retailedSearchProducts };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { retailed } from "./app.mjs";
|
|
1
2
|
import { retailedGetGoatPrices } from "./actions/get-goat-prices.mjs";
|
|
2
3
|
import { retailedGetStockXProduct } from "./actions/get-stock-x-product.mjs";
|
|
3
4
|
import { retailedGetStockxSearch } from "./actions/get-stockx-search.mjs";
|
|
4
5
|
import { retailedGetStockxTrends } from "./actions/get-stockx-trends.mjs";
|
|
5
6
|
import { retailedGetUsage } from "./actions/get-usage.mjs";
|
|
6
7
|
import { retailedSearchProducts } from "./actions/search-products.mjs";
|
|
7
|
-
import { retailed } from "./app.mjs";
|
|
8
8
|
import { retailedCatalog } from "./catalog.mjs";
|
|
9
9
|
export { retailed, retailedCatalog, retailedGetGoatPrices, retailedGetStockXProduct, retailedGetStockxSearch, retailedGetStockxTrends, retailedGetUsage, retailedSearchProducts };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/retailed",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|