@keystrokehq/retailed 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/get-goat-prices.cjs +6 -6
- package/dist/actions/get-goat-prices.cjs.map +1 -1
- package/dist/actions/get-goat-prices.d.cts +20 -3
- package/dist/actions/get-goat-prices.d.cts.map +1 -1
- package/dist/actions/get-goat-prices.d.mts +20 -3
- package/dist/actions/get-goat-prices.d.mts.map +1 -1
- package/dist/actions/get-goat-prices.mjs +6 -6
- package/dist/actions/get-goat-prices.mjs.map +1 -1
- package/dist/actions/get-stock-x-product.cjs +10 -10
- package/dist/actions/get-stock-x-product.cjs.map +1 -1
- package/dist/actions/get-stock-x-product.d.cts +23 -3
- package/dist/actions/get-stock-x-product.d.cts.map +1 -1
- package/dist/actions/get-stock-x-product.d.mts +23 -3
- package/dist/actions/get-stock-x-product.d.mts.map +1 -1
- package/dist/actions/get-stock-x-product.mjs +10 -10
- package/dist/actions/get-stock-x-product.mjs.map +1 -1
- package/dist/actions/get-stockx-search.cjs +9 -9
- package/dist/actions/get-stockx-search.cjs.map +1 -1
- package/dist/actions/get-stockx-search.d.cts +26 -3
- package/dist/actions/get-stockx-search.d.cts.map +1 -1
- package/dist/actions/get-stockx-search.d.mts +26 -3
- package/dist/actions/get-stockx-search.d.mts.map +1 -1
- package/dist/actions/get-stockx-search.mjs +9 -9
- package/dist/actions/get-stockx-search.mjs.map +1 -1
- package/dist/actions/get-stockx-trends.cjs +7 -7
- package/dist/actions/get-stockx-trends.cjs.map +1 -1
- package/dist/actions/get-stockx-trends.d.cts +29 -3
- package/dist/actions/get-stockx-trends.d.cts.map +1 -1
- package/dist/actions/get-stockx-trends.d.mts +29 -3
- package/dist/actions/get-stockx-trends.d.mts.map +1 -1
- package/dist/actions/get-stockx-trends.mjs +7 -7
- package/dist/actions/get-stockx-trends.mjs.map +1 -1
- package/dist/actions/get-usage.cjs +1 -1
- package/dist/actions/get-usage.cjs.map +1 -1
- package/dist/actions/get-usage.d.cts +6 -3
- package/dist/actions/get-usage.d.cts.map +1 -1
- package/dist/actions/get-usage.d.mts +6 -3
- package/dist/actions/get-usage.d.mts.map +1 -1
- package/dist/actions/get-usage.mjs +1 -1
- package/dist/actions/get-usage.mjs.map +1 -1
- package/dist/actions/search-products.cjs.map +1 -1
- package/dist/actions/search-products.d.cts +49 -3
- package/dist/actions/search-products.d.cts.map +1 -1
- package/dist/actions/search-products.d.mts +49 -3
- package/dist/actions/search-products.d.mts.map +1 -1
- package/dist/actions/search-products.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
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: z.ZodType;\n },\n) {\n return retailed.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRetailedTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
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: z.ZodType;\n },\n) {\n return retailed.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRetailedTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,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"}
|
|
@@ -7,15 +7,15 @@ const RetailedGetGoatPricesInput = zod.z.object({
|
|
|
7
7
|
product_id: zod.z.string().describe("GOAT product ID to fetch prices for. Use numeric ID like '719082' or product slug.")
|
|
8
8
|
});
|
|
9
9
|
const RetailedGetGoatPrices_PriceInfoSchema = zod.z.object({
|
|
10
|
-
size: zod.z.string().describe("Product size."),
|
|
11
|
-
price: zod.z.number().describe("Price for the specified size."),
|
|
12
|
-
currency: zod.z.string().describe("Currency code."),
|
|
13
|
-
last_updated: zod.z.string().describe("Timestamp of the last price update (ISO8601).")
|
|
10
|
+
size: zod.z.string().describe("Product size.").nullable(),
|
|
11
|
+
price: zod.z.number().describe("Price for the specified size.").nullable(),
|
|
12
|
+
currency: zod.z.string().describe("Currency code.").nullable(),
|
|
13
|
+
last_updated: zod.z.string().describe("Timestamp of the last price update (ISO8601).").nullable()
|
|
14
14
|
});
|
|
15
15
|
const RetailedGetGoatPricesOutput = zod.z.object({
|
|
16
16
|
prices: zod.z.array(RetailedGetGoatPrices_PriceInfoSchema).describe("List of prices for the product."),
|
|
17
|
-
status: zod.z.string().describe("Status of the request (e.g., success, error)."),
|
|
18
|
-
product_id: zod.z.string().describe("The unique identifier for the product.")
|
|
17
|
+
status: zod.z.string().describe("Status of the request (e.g., success, error).").nullable(),
|
|
18
|
+
product_id: zod.z.string().describe("The unique identifier for the product.").nullable()
|
|
19
19
|
});
|
|
20
20
|
const retailedGetGoatPrices = require_action.action("RETAILED_GET_GOAT_PRICES", {
|
|
21
21
|
slug: "retailed-get-goat-prices",
|
|
@@ -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
|
|
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});\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});\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":";;;AAIA,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;AACD,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;AAED,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-goat-prices.d.ts
|
|
4
|
-
declare const RetailedGetGoatPricesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RetailedGetGoatPricesInput: z.ZodObject<{
|
|
5
|
+
size: z.ZodOptional<z.ZodString>;
|
|
6
|
+
country: z.ZodOptional<z.ZodString>;
|
|
7
|
+
product_id: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RetailedGetGoatPricesOutput: z.ZodObject<{
|
|
10
|
+
prices: z.ZodArray<z.ZodObject<{
|
|
11
|
+
size: z.ZodNullable<z.ZodString>;
|
|
12
|
+
price: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
14
|
+
last_updated: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
status: z.ZodNullable<z.ZodString>;
|
|
17
|
+
product_id: z.ZodNullable<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const retailedGetGoatPrices: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { retailedGetGoatPrices };
|
|
9
26
|
//# 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":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-goat-prices.d.cts","names":[],"sources":["../../src/actions/get-goat-prices.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-goat-prices.d.ts
|
|
4
|
-
declare const RetailedGetGoatPricesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RetailedGetGoatPricesInput: z.ZodObject<{
|
|
5
|
+
size: z.ZodOptional<z.ZodString>;
|
|
6
|
+
country: z.ZodOptional<z.ZodString>;
|
|
7
|
+
product_id: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RetailedGetGoatPricesOutput: z.ZodObject<{
|
|
10
|
+
prices: z.ZodArray<z.ZodObject<{
|
|
11
|
+
size: z.ZodNullable<z.ZodString>;
|
|
12
|
+
price: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
14
|
+
last_updated: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
status: z.ZodNullable<z.ZodString>;
|
|
17
|
+
product_id: z.ZodNullable<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const retailedGetGoatPrices: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { retailedGetGoatPrices };
|
|
9
26
|
//# 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":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"get-goat-prices.d.mts","names":[],"sources":["../../src/actions/get-goat-prices.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAM3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -7,10 +7,10 @@ const RetailedGetGoatPricesInput = z.object({
|
|
|
7
7
|
product_id: z.string().describe("GOAT product ID to fetch prices for. Use numeric ID like '719082' or product slug.")
|
|
8
8
|
});
|
|
9
9
|
const RetailedGetGoatPrices_PriceInfoSchema = z.object({
|
|
10
|
-
size: z.string().describe("Product size."),
|
|
11
|
-
price: z.number().describe("Price for the specified size."),
|
|
12
|
-
currency: z.string().describe("Currency code."),
|
|
13
|
-
last_updated: z.string().describe("Timestamp of the last price update (ISO8601).")
|
|
10
|
+
size: z.string().describe("Product size.").nullable(),
|
|
11
|
+
price: z.number().describe("Price for the specified size.").nullable(),
|
|
12
|
+
currency: z.string().describe("Currency code.").nullable(),
|
|
13
|
+
last_updated: z.string().describe("Timestamp of the last price update (ISO8601).").nullable()
|
|
14
14
|
});
|
|
15
15
|
const retailedGetGoatPrices = action("RETAILED_GET_GOAT_PRICES", {
|
|
16
16
|
slug: "retailed-get-goat-prices",
|
|
@@ -19,8 +19,8 @@ const retailedGetGoatPrices = action("RETAILED_GET_GOAT_PRICES", {
|
|
|
19
19
|
input: RetailedGetGoatPricesInput,
|
|
20
20
|
output: z.object({
|
|
21
21
|
prices: z.array(RetailedGetGoatPrices_PriceInfoSchema).describe("List of prices for the product."),
|
|
22
|
-
status: z.string().describe("Status of the request (e.g., success, error)."),
|
|
23
|
-
product_id: z.string().describe("The unique identifier for the product.")
|
|
22
|
+
status: z.string().describe("Status of the request (e.g., success, error).").nullable(),
|
|
23
|
+
product_id: z.string().describe("The unique identifier for the product.").nullable()
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
@@ -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
|
|
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});\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});\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":";;;AAIA,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;AAOD,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXyC,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,CAOU;AACV,CAAC"}
|
|
@@ -8,17 +8,17 @@ const RetailedGetStockXProductInput = zod.z.object({
|
|
|
8
8
|
}).describe("Request model for retrieving StockX product details by SKU or direct URL.");
|
|
9
9
|
const RetailedGetStockXProduct_StockXMarketDataSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Market-related data for a StockX product. Fields may vary depending on include_market flag.");
|
|
10
10
|
const RetailedGetStockXProductOutput = zod.z.object({
|
|
11
|
-
id: zod.z.string().describe("Internal product ID"),
|
|
12
|
-
sku: zod.z.string().describe("StockX product SKU"),
|
|
13
|
-
url: zod.z.string().describe("StockX product URL"),
|
|
14
|
-
name: zod.z.string().describe("Product name"),
|
|
15
|
-
brand: zod.z.string().describe("Product brand"),
|
|
16
|
-
image: zod.z.string().describe("URL of the main product image"),
|
|
17
|
-
colorway: zod.z.string().describe("Product colorway or color description"),
|
|
18
|
-
description: zod.z.string().describe("Detailed product description"),
|
|
11
|
+
id: zod.z.string().describe("Internal product ID").nullable(),
|
|
12
|
+
sku: zod.z.string().describe("StockX product SKU").nullable(),
|
|
13
|
+
url: zod.z.string().describe("StockX product URL").nullable(),
|
|
14
|
+
name: zod.z.string().describe("Product name").nullable(),
|
|
15
|
+
brand: zod.z.string().describe("Product brand").nullable(),
|
|
16
|
+
image: zod.z.string().describe("URL of the main product image").nullable(),
|
|
17
|
+
colorway: zod.z.string().describe("Product colorway or color description").nullable(),
|
|
18
|
+
description: zod.z.string().describe("Detailed product description").nullable(),
|
|
19
19
|
market_data: RetailedGetStockXProduct_StockXMarketDataSchema.nullable().optional(),
|
|
20
|
-
release_date: zod.z.string().describe("Release date of the product"),
|
|
21
|
-
retail_price: zod.z.number().describe("Retail price in USD")
|
|
20
|
+
release_date: zod.z.string().describe("Release date of the product").nullable(),
|
|
21
|
+
retail_price: zod.z.number().describe("Retail price in USD").nullable()
|
|
22
22
|
}).describe("Response model for StockX product retrieval.");
|
|
23
23
|
const retailedGetStockXProduct = require_action.action("RETAILED_GET_STOCK_X_PRODUCT", {
|
|
24
24
|
slug: "retailed-get-stock-x-product",
|
|
@@ -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
|
|
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}).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":";;;AAIA,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,2BAA2B,CAAC,CAAC,SAAS;CAC/D,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,kDAAkDA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAChM,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC1E,aAAa,gDAAgD,SAAS,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC1E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-stock-x-product.d.ts
|
|
4
|
-
declare const RetailedGetStockXProductInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RetailedGetStockXProductInput: z.ZodObject<{
|
|
5
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
6
|
+
url: z.ZodOptional<z.ZodString>;
|
|
7
|
+
include_market: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RetailedGetStockXProductOutput: z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodString>;
|
|
11
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
12
|
+
url: z.ZodNullable<z.ZodString>;
|
|
13
|
+
name: z.ZodNullable<z.ZodString>;
|
|
14
|
+
brand: z.ZodNullable<z.ZodString>;
|
|
15
|
+
image: z.ZodNullable<z.ZodString>;
|
|
16
|
+
colorway: z.ZodNullable<z.ZodString>;
|
|
17
|
+
description: z.ZodNullable<z.ZodString>;
|
|
18
|
+
market_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
|
+
release_date: z.ZodNullable<z.ZodString>;
|
|
20
|
+
retail_price: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const retailedGetStockXProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { retailedGetStockXProduct };
|
|
9
29
|
//# 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":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-stock-x-product.d.cts","names":[],"sources":["../../src/actions/get-stock-x-product.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-stock-x-product.d.ts
|
|
4
|
-
declare const RetailedGetStockXProductInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RetailedGetStockXProductInput: z.ZodObject<{
|
|
5
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
6
|
+
url: z.ZodOptional<z.ZodString>;
|
|
7
|
+
include_market: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RetailedGetStockXProductOutput: z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodString>;
|
|
11
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
12
|
+
url: z.ZodNullable<z.ZodString>;
|
|
13
|
+
name: z.ZodNullable<z.ZodString>;
|
|
14
|
+
brand: z.ZodNullable<z.ZodString>;
|
|
15
|
+
image: z.ZodNullable<z.ZodString>;
|
|
16
|
+
colorway: z.ZodNullable<z.ZodString>;
|
|
17
|
+
description: z.ZodNullable<z.ZodString>;
|
|
18
|
+
market_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
|
+
release_date: z.ZodNullable<z.ZodString>;
|
|
20
|
+
retail_price: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const retailedGetStockXProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>;
|
|
7
27
|
//#endregion
|
|
8
28
|
export { retailedGetStockXProduct };
|
|
9
29
|
//# 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":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-stock-x-product.d.mts","names":[],"sources":["../../src/actions/get-stock-x-product.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -13,17 +13,17 @@ const retailedGetStockXProduct = action("RETAILED_GET_STOCK_X_PRODUCT", {
|
|
|
13
13
|
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.",
|
|
14
14
|
input: RetailedGetStockXProductInput,
|
|
15
15
|
output: z.object({
|
|
16
|
-
id: z.string().describe("Internal product ID"),
|
|
17
|
-
sku: z.string().describe("StockX product SKU"),
|
|
18
|
-
url: z.string().describe("StockX product URL"),
|
|
19
|
-
name: z.string().describe("Product name"),
|
|
20
|
-
brand: z.string().describe("Product brand"),
|
|
21
|
-
image: z.string().describe("URL of the main product image"),
|
|
22
|
-
colorway: z.string().describe("Product colorway or color description"),
|
|
23
|
-
description: z.string().describe("Detailed product description"),
|
|
16
|
+
id: z.string().describe("Internal product ID").nullable(),
|
|
17
|
+
sku: z.string().describe("StockX product SKU").nullable(),
|
|
18
|
+
url: z.string().describe("StockX product URL").nullable(),
|
|
19
|
+
name: z.string().describe("Product name").nullable(),
|
|
20
|
+
brand: z.string().describe("Product brand").nullable(),
|
|
21
|
+
image: z.string().describe("URL of the main product image").nullable(),
|
|
22
|
+
colorway: z.string().describe("Product colorway or color description").nullable(),
|
|
23
|
+
description: z.string().describe("Detailed product description").nullable(),
|
|
24
24
|
market_data: RetailedGetStockXProduct_StockXMarketDataSchema.nullable().optional(),
|
|
25
|
-
release_date: z.string().describe("Release date of the product"),
|
|
26
|
-
retail_price: z.number().describe("Retail price in USD")
|
|
25
|
+
release_date: z.string().describe("Release date of the product").nullable(),
|
|
26
|
+
retail_price: z.number().describe("Retail price in USD").nullable()
|
|
27
27
|
}).describe("Response model for StockX product retrieval.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
@@ -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
|
|
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}).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":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CACtM,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,kDAAkD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAehM,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,aAAa,gDAAgD,SAAS,CAAC,CAAC,SAAS;EACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EAC1E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACpE,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|
|
@@ -7,20 +7,20 @@ const RetailedGetStockxSearchInput = zod.z.object({
|
|
|
7
7
|
query: zod.z.string().describe("Search term for StockX products")
|
|
8
8
|
}).describe("Request parameters for searching StockX products.");
|
|
9
9
|
const RetailedGetStockxSearch_StockxProductSchema = zod.z.object({
|
|
10
|
-
id: zod.z.string().describe("StockX product ID"),
|
|
11
|
-
sku: zod.z.string().describe("Product SKU/style code"),
|
|
12
|
-
name: zod.z.string().describe("Product name"),
|
|
13
|
-
slug: zod.z.string().describe("Product URL slug"),
|
|
14
|
-
brand: zod.z.string().describe("Product brand"),
|
|
15
|
-
image: zod.z.string().describe("URL of the product image"),
|
|
16
|
-
category: zod.z.string().describe("Product category"),
|
|
17
|
-
colorway: zod.z.string().describe("Product colorway description")
|
|
10
|
+
id: zod.z.string().describe("StockX product ID").nullable(),
|
|
11
|
+
sku: zod.z.string().describe("Product SKU/style code").nullable(),
|
|
12
|
+
name: zod.z.string().describe("Product name").nullable(),
|
|
13
|
+
slug: zod.z.string().describe("Product URL slug").nullable(),
|
|
14
|
+
brand: zod.z.string().describe("Product brand").nullable(),
|
|
15
|
+
image: zod.z.string().describe("URL of the product image").nullable(),
|
|
16
|
+
category: zod.z.string().describe("Product category").nullable(),
|
|
17
|
+
colorway: zod.z.string().describe("Product colorway description").nullable()
|
|
18
18
|
}).describe("Details of a StockX product from search results.");
|
|
19
19
|
const RetailedGetStockxSearch_StockxSearchDataSchema = zod.z.object({ details: zod.z.array(RetailedGetStockxSearch_StockxProductSchema).describe("List of matched StockX products") }).describe("Data container for StockX search results.");
|
|
20
20
|
const RetailedGetStockxSearchOutput = zod.z.object({
|
|
21
21
|
data: RetailedGetStockxSearch_StockxSearchDataSchema.nullable(),
|
|
22
22
|
error: zod.z.string().describe("Error message if any").nullable().optional(),
|
|
23
|
-
successfull: zod.z.boolean().describe("Whether the search was successful")
|
|
23
|
+
successfull: zod.z.boolean().describe("Whether the search was successful").nullable()
|
|
24
24
|
}).describe("Response model for StockX product search.");
|
|
25
25
|
const retailedGetStockxSearch = require_action.action("RETAILED_GET_STOCKX_SEARCH", {
|
|
26
26
|
slug: "retailed-get-stockx-search",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-stockx-search.cjs","names":["z","action"],"sources":["../../src/actions/get-stockx-search.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RetailedGetStockxSearchInput
|
|
1
|
+
{"version":3,"file":"get-stockx-search.cjs","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}).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}).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}).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":";;;AAIA,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,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AAC9D,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,iDAAiDA,IAAAA,EAAE,OAAO,EAC9D,SAASA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,iCAAiC,EAC1G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,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,SAAS,2CAA2C;AAEvD,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-stockx-search.d.ts
|
|
4
|
-
declare const RetailedGetStockxSearchInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RetailedGetStockxSearchInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
query: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RetailedGetStockxSearchOutput: z.ZodObject<{
|
|
10
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
details: z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodString>;
|
|
13
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
14
|
+
name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
16
|
+
brand: z.ZodNullable<z.ZodString>;
|
|
17
|
+
image: z.ZodNullable<z.ZodString>;
|
|
18
|
+
category: z.ZodNullable<z.ZodString>;
|
|
19
|
+
colorway: z.ZodNullable<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
successfull: z.ZodNullable<z.ZodBoolean>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const retailedGetStockxSearch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { retailedGetStockxSearch };
|
|
9
32
|
//# 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":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"get-stockx-search.d.cts","names":[],"sources":["../../src/actions/get-stockx-search.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAkB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,32 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-stockx-search.d.ts
|
|
4
|
-
declare const RetailedGetStockxSearchInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RetailedGetStockxSearchInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
query: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RetailedGetStockxSearchOutput: z.ZodObject<{
|
|
10
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
details: z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodString>;
|
|
13
|
+
sku: z.ZodNullable<z.ZodString>;
|
|
14
|
+
name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
16
|
+
brand: z.ZodNullable<z.ZodString>;
|
|
17
|
+
image: z.ZodNullable<z.ZodString>;
|
|
18
|
+
category: z.ZodNullable<z.ZodString>;
|
|
19
|
+
colorway: z.ZodNullable<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
successfull: z.ZodNullable<z.ZodBoolean>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const retailedGetStockxSearch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>;
|
|
7
30
|
//#endregion
|
|
8
31
|
export { retailedGetStockxSearch };
|
|
9
32
|
//# 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":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"get-stockx-search.d.mts","names":[],"sources":["../../src/actions/get-stockx-search.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAkB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -7,14 +7,14 @@ const RetailedGetStockxSearchInput = z.object({
|
|
|
7
7
|
query: z.string().describe("Search term for StockX products")
|
|
8
8
|
}).describe("Request parameters for searching StockX products.");
|
|
9
9
|
const RetailedGetStockxSearch_StockxProductSchema = z.object({
|
|
10
|
-
id: z.string().describe("StockX product ID"),
|
|
11
|
-
sku: z.string().describe("Product SKU/style code"),
|
|
12
|
-
name: z.string().describe("Product name"),
|
|
13
|
-
slug: z.string().describe("Product URL slug"),
|
|
14
|
-
brand: z.string().describe("Product brand"),
|
|
15
|
-
image: z.string().describe("URL of the product image"),
|
|
16
|
-
category: z.string().describe("Product category"),
|
|
17
|
-
colorway: z.string().describe("Product colorway description")
|
|
10
|
+
id: z.string().describe("StockX product ID").nullable(),
|
|
11
|
+
sku: z.string().describe("Product SKU/style code").nullable(),
|
|
12
|
+
name: z.string().describe("Product name").nullable(),
|
|
13
|
+
slug: z.string().describe("Product URL slug").nullable(),
|
|
14
|
+
brand: z.string().describe("Product brand").nullable(),
|
|
15
|
+
image: z.string().describe("URL of the product image").nullable(),
|
|
16
|
+
category: z.string().describe("Product category").nullable(),
|
|
17
|
+
colorway: z.string().describe("Product colorway description").nullable()
|
|
18
18
|
}).describe("Details of a StockX product from search results.");
|
|
19
19
|
const RetailedGetStockxSearch_StockxSearchDataSchema = z.object({ details: z.array(RetailedGetStockxSearch_StockxProductSchema).describe("List of matched StockX products") }).describe("Data container for StockX search results.");
|
|
20
20
|
const retailedGetStockxSearch = action("RETAILED_GET_STOCKX_SEARCH", {
|
|
@@ -25,7 +25,7 @@ const retailedGetStockxSearch = action("RETAILED_GET_STOCKX_SEARCH", {
|
|
|
25
25
|
output: z.object({
|
|
26
26
|
data: RetailedGetStockxSearch_StockxSearchDataSchema.nullable(),
|
|
27
27
|
error: z.string().describe("Error message if any").nullable().optional(),
|
|
28
|
-
successfull: z.boolean().describe("Whether the search was successful")
|
|
28
|
+
successfull: z.boolean().describe("Whether the search was successful").nullable()
|
|
29
29
|
}).describe("Response model for StockX product search.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
@@ -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
|
|
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}).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}).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}).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":";;;AAIA,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,SAAS,kDAAkD;AAC9D,MAAM,iDAAiD,EAAE,OAAO,EAC9D,SAAS,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,iCAAiC,EAC1G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAOvD,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX2C,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,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -9,14 +9,14 @@ const RetailedGetStockxTrendsInput = zod.z.object({
|
|
|
9
9
|
product_type: zod.z.string().describe("Filter by product type (e.g., sneakers, streetwear)").optional()
|
|
10
10
|
}).describe("Request parameters for retrieving trending product data from StockX.");
|
|
11
11
|
const RetailedGetStockxTrends_TrendProductSchema = zod.z.object({
|
|
12
|
-
id: zod.z.string().describe("Unique StockX product ID"),
|
|
13
|
-
sku: zod.z.string().describe("Product SKU"),
|
|
14
|
-
name: zod.z.string().describe("Product name"),
|
|
15
|
-
slug: zod.z.string().describe("Product slug for URL"),
|
|
16
|
-
brand: zod.z.string().describe("Product brand"),
|
|
12
|
+
id: zod.z.string().describe("Unique StockX product ID").nullable(),
|
|
13
|
+
sku: zod.z.string().describe("Product SKU").nullable(),
|
|
14
|
+
name: zod.z.string().describe("Product name").nullable(),
|
|
15
|
+
slug: zod.z.string().describe("Product slug for URL").nullable(),
|
|
16
|
+
brand: zod.z.string().describe("Product brand").nullable(),
|
|
17
17
|
image: zod.z.string().describe("Product image URL (may be null)").nullable().optional(),
|
|
18
|
-
category: zod.z.string().describe("Product category"),
|
|
19
|
-
release_date: zod.z.string().describe("Date of product release (YYYY-MM-DD)")
|
|
18
|
+
category: zod.z.string().describe("Product category").nullable(),
|
|
19
|
+
release_date: zod.z.string().describe("Date of product release (YYYY-MM-DD)").nullable()
|
|
20
20
|
}).describe("Details of a trending StockX product.");
|
|
21
21
|
const RetailedGetStockxTrendsOutput = zod.z.object({ products: zod.z.array(RetailedGetStockxTrends_TrendProductSchema).describe("List of trending StockX product details") }).describe("Response schema for trending products from StockX.\nThis is a list of trending products returned directly from the API.");
|
|
22
22
|
const retailedGetStockxTrends = require_action.action("RETAILED_GET_STOCKX_TRENDS", {
|
|
@@ -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
|
|
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}).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}).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":";;;AAIA,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,SAAS,uCAAuC;AACnD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,UAAUA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,yCAAyC,EAClH,CAAC,CAAC,CAAC,SAAS,yHAAyH;AAErI,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|