@keystrokehq/retailed 0.1.2 → 0.1.4
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/actions/get-goat-prices.cjs +2 -2
- package/dist/actions/get-goat-prices.cjs.map +1 -1
- package/dist/actions/get-goat-prices.d.cts +2 -2
- package/dist/actions/get-goat-prices.d.mts +2 -2
- package/dist/actions/get-goat-prices.mjs +2 -2
- package/dist/actions/get-goat-prices.mjs.map +1 -1
- package/dist/actions/get-stock-x-product.cjs +1 -1
- package/dist/actions/get-stock-x-product.cjs.map +1 -1
- package/dist/actions/get-stock-x-product.d.cts +1 -1
- package/dist/actions/get-stock-x-product.d.mts +1 -1
- package/dist/actions/get-stock-x-product.mjs +1 -1
- package/dist/actions/get-stock-x-product.mjs.map +1 -1
- package/dist/actions/get-stockx-search.cjs +3 -3
- package/dist/actions/get-stockx-search.cjs.map +1 -1
- package/dist/actions/get-stockx-search.d.cts +3 -3
- package/dist/actions/get-stockx-search.d.mts +3 -3
- package/dist/actions/get-stockx-search.mjs +3 -3
- package/dist/actions/get-stockx-search.mjs.map +1 -1
- package/dist/actions/get-stockx-trends.cjs +2 -2
- package/dist/actions/get-stockx-trends.cjs.map +1 -1
- package/dist/actions/get-stockx-trends.d.cts +2 -2
- package/dist/actions/get-stockx-trends.d.mts +2 -2
- package/dist/actions/get-stockx-trends.mjs +2 -2
- 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 +1 -1
- package/dist/actions/get-usage.d.mts +1 -1
- package/dist/actions/get-usage.mjs +1 -1
- package/dist/actions/get-usage.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -11,12 +11,12 @@ const RetailedGetGoatPrices_PriceInfoSchema = zod.z.object({
|
|
|
11
11
|
price: zod.z.number().describe("Price for the specified size.").nullable(),
|
|
12
12
|
currency: zod.z.string().describe("Currency code.").nullable(),
|
|
13
13
|
last_updated: zod.z.string().describe("Timestamp of the last price update (ISO8601).").nullable()
|
|
14
|
-
});
|
|
14
|
+
}).passthrough();
|
|
15
15
|
const RetailedGetGoatPricesOutput = zod.z.object({
|
|
16
16
|
prices: zod.z.array(RetailedGetGoatPrices_PriceInfoSchema).describe("List of prices for the product."),
|
|
17
17
|
status: zod.z.string().describe("Status of the request (e.g., success, error).").nullable(),
|
|
18
18
|
product_id: zod.z.string().describe("The unique identifier for the product.").nullable()
|
|
19
|
-
});
|
|
19
|
+
}).passthrough();
|
|
20
20
|
const retailedGetGoatPrices = require_action.action("RETAILED_GET_GOAT_PRICES", {
|
|
21
21
|
slug: "retailed-get-goat-prices",
|
|
22
22
|
name: "Get GOAT Product 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 = 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;
|
|
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":";;;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,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,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,10 +12,10 @@ declare const RetailedGetGoatPricesOutput: z.ZodObject<{
|
|
|
12
12
|
price: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
currency: z.ZodNullable<z.ZodString>;
|
|
14
14
|
last_updated: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
status: z.ZodNullable<z.ZodString>;
|
|
17
17
|
product_id: z.ZodNullable<z.ZodString>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const retailedGetGoatPrices: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
product_id: string;
|
|
21
21
|
size?: string | undefined;
|
|
@@ -12,10 +12,10 @@ declare const RetailedGetGoatPricesOutput: z.ZodObject<{
|
|
|
12
12
|
price: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
currency: z.ZodNullable<z.ZodString>;
|
|
14
14
|
last_updated: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
status: z.ZodNullable<z.ZodString>;
|
|
17
17
|
product_id: z.ZodNullable<z.ZodString>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const retailedGetGoatPrices: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
product_id: string;
|
|
21
21
|
size?: string | undefined;
|
|
@@ -11,7 +11,7 @@ const RetailedGetGoatPrices_PriceInfoSchema = z.object({
|
|
|
11
11
|
price: z.number().describe("Price for the specified size.").nullable(),
|
|
12
12
|
currency: z.string().describe("Currency code.").nullable(),
|
|
13
13
|
last_updated: z.string().describe("Timestamp of the last price update (ISO8601).").nullable()
|
|
14
|
-
});
|
|
14
|
+
}).passthrough();
|
|
15
15
|
const retailedGetGoatPrices = action("RETAILED_GET_GOAT_PRICES", {
|
|
16
16
|
slug: "retailed-get-goat-prices",
|
|
17
17
|
name: "Get GOAT Product Prices",
|
|
@@ -21,7 +21,7 @@ const retailedGetGoatPrices = action("RETAILED_GET_GOAT_PRICES", {
|
|
|
21
21
|
prices: z.array(RetailedGetGoatPrices_PriceInfoSchema).describe("List of prices for the product."),
|
|
22
22
|
status: z.string().describe("Status of the request (e.g., success, error).").nullable(),
|
|
23
23
|
product_id: z.string().describe("The unique identifier for the product.").nullable()
|
|
24
|
-
})
|
|
24
|
+
}).passthrough()
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { retailedGetGoatPrices };
|
|
@@ -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});\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;
|
|
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":";;;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,CAAC,CAAC,YAAY;AAOf,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,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -19,7 +19,7 @@ const RetailedGetStockXProductOutput = zod.z.object({
|
|
|
19
19
|
market_data: RetailedGetStockXProduct_StockXMarketDataSchema.nullable().optional(),
|
|
20
20
|
release_date: zod.z.string().describe("Release date of the product").nullable(),
|
|
21
21
|
retail_price: zod.z.number().describe("Retail price in USD").nullable()
|
|
22
|
-
}).describe("Response model for StockX product retrieval.");
|
|
22
|
+
}).passthrough().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",
|
|
25
25
|
name: "Get StockX 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 = 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;
|
|
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":";;;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,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ declare const RetailedGetStockXProductOutput: z.ZodObject<{
|
|
|
18
18
|
market_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
19
|
release_date: z.ZodNullable<z.ZodString>;
|
|
20
20
|
retail_price: z.ZodNullable<z.ZodNumber>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const retailedGetStockXProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
sku?: string | undefined;
|
|
24
24
|
url?: string | undefined;
|
|
@@ -18,7 +18,7 @@ declare const RetailedGetStockXProductOutput: z.ZodObject<{
|
|
|
18
18
|
market_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
19
19
|
release_date: z.ZodNullable<z.ZodString>;
|
|
20
20
|
retail_price: z.ZodNullable<z.ZodNumber>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const retailedGetStockXProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
sku?: string | undefined;
|
|
24
24
|
url?: string | undefined;
|
|
@@ -24,7 +24,7 @@ const retailedGetStockXProduct = action("RETAILED_GET_STOCK_X_PRODUCT", {
|
|
|
24
24
|
market_data: RetailedGetStockXProduct_StockXMarketDataSchema.nullable().optional(),
|
|
25
25
|
release_date: z.string().describe("Release date of the product").nullable(),
|
|
26
26
|
retail_price: z.number().describe("Retail price in USD").nullable()
|
|
27
|
-
}).describe("Response model for StockX product retrieval.")
|
|
27
|
+
}).passthrough().describe("Response model for StockX product retrieval.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { retailedGetStockXProduct };
|
|
@@ -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}).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,
|
|
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":";;;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,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -15,13 +15,13 @@ const RetailedGetStockxSearch_StockxProductSchema = zod.z.object({
|
|
|
15
15
|
image: zod.z.string().describe("URL of the product image").nullable(),
|
|
16
16
|
category: zod.z.string().describe("Product category").nullable(),
|
|
17
17
|
colorway: zod.z.string().describe("Product colorway description").nullable()
|
|
18
|
-
}).describe("Details of a StockX product from search results.");
|
|
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.");
|
|
18
|
+
}).passthrough().describe("Details of a StockX product from search results.");
|
|
19
|
+
const RetailedGetStockxSearch_StockxSearchDataSchema = zod.z.object({ details: zod.z.array(RetailedGetStockxSearch_StockxProductSchema).describe("List of matched StockX products") }).passthrough().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
23
|
successfull: zod.z.boolean().describe("Whether the search was successful").nullable()
|
|
24
|
-
}).describe("Response model for StockX product search.");
|
|
24
|
+
}).passthrough().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",
|
|
27
27
|
name: "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 = 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;
|
|
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}).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":";;;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,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,iDAAiDA,IAAAA,EAAE,OAAO,EAC9D,SAASA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,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,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,11 +17,11 @@ declare const RetailedGetStockxSearchOutput: z.ZodObject<{
|
|
|
17
17
|
image: z.ZodNullable<z.ZodString>;
|
|
18
18
|
category: z.ZodNullable<z.ZodString>;
|
|
19
19
|
colorway: z.ZodNullable<z.ZodString>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
22
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
successfull: z.ZodNullable<z.ZodBoolean>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const retailedGetStockxSearch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
query: string;
|
|
27
27
|
page?: number | undefined;
|
|
@@ -17,11 +17,11 @@ declare const RetailedGetStockxSearchOutput: z.ZodObject<{
|
|
|
17
17
|
image: z.ZodNullable<z.ZodString>;
|
|
18
18
|
category: z.ZodNullable<z.ZodString>;
|
|
19
19
|
colorway: z.ZodNullable<z.ZodString>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
22
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
successfull: z.ZodNullable<z.ZodBoolean>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const retailedGetStockxSearch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
query: string;
|
|
27
27
|
page?: number | undefined;
|
|
@@ -15,8 +15,8 @@ const RetailedGetStockxSearch_StockxProductSchema = z.object({
|
|
|
15
15
|
image: z.string().describe("URL of the product image").nullable(),
|
|
16
16
|
category: z.string().describe("Product category").nullable(),
|
|
17
17
|
colorway: z.string().describe("Product colorway description").nullable()
|
|
18
|
-
}).describe("Details of a StockX product from search results.");
|
|
19
|
-
const RetailedGetStockxSearch_StockxSearchDataSchema = z.object({ details: z.array(RetailedGetStockxSearch_StockxProductSchema).describe("List of matched StockX products") }).describe("Data container for StockX search results.");
|
|
18
|
+
}).passthrough().describe("Details of a StockX product from search results.");
|
|
19
|
+
const RetailedGetStockxSearch_StockxSearchDataSchema = z.object({ details: z.array(RetailedGetStockxSearch_StockxProductSchema).describe("List of matched StockX products") }).passthrough().describe("Data container for StockX search results.");
|
|
20
20
|
const retailedGetStockxSearch = action("RETAILED_GET_STOCKX_SEARCH", {
|
|
21
21
|
slug: "retailed-get-stockx-search",
|
|
22
22
|
name: "StockX Search",
|
|
@@ -26,7 +26,7 @@ const retailedGetStockxSearch = action("RETAILED_GET_STOCKX_SEARCH", {
|
|
|
26
26
|
data: RetailedGetStockxSearch_StockxSearchDataSchema.nullable(),
|
|
27
27
|
error: z.string().describe("Error message if any").nullable().optional(),
|
|
28
28
|
successfull: z.boolean().describe("Whether the search was successful").nullable()
|
|
29
|
-
}).describe("Response model for StockX product search.")
|
|
29
|
+
}).passthrough().describe("Response model for StockX product search.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { retailedGetStockxSearch };
|
|
@@ -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}).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;
|
|
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":";;;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,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,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,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -17,8 +17,8 @@ const RetailedGetStockxTrends_TrendProductSchema = zod.z.object({
|
|
|
17
17
|
image: zod.z.string().describe("Product image URL (may be null)").nullable().optional(),
|
|
18
18
|
category: zod.z.string().describe("Product category").nullable(),
|
|
19
19
|
release_date: zod.z.string().describe("Date of product release (YYYY-MM-DD)").nullable()
|
|
20
|
-
}).describe("Details of a trending StockX product.");
|
|
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.");
|
|
20
|
+
}).passthrough().describe("Details of a trending StockX product.");
|
|
21
|
+
const RetailedGetStockxTrendsOutput = zod.z.object({ products: zod.z.array(RetailedGetStockxTrends_TrendProductSchema).describe("List of trending StockX product details") }).passthrough().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", {
|
|
23
23
|
slug: "retailed-get-stockx-trends",
|
|
24
24
|
name: "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 = 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;
|
|
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":";;;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,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,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -21,8 +21,8 @@ declare const RetailedGetStockxTrendsOutput: z.ZodObject<{
|
|
|
21
21
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
category: z.ZodNullable<z.ZodString>;
|
|
23
23
|
release_date: z.ZodNullable<z.ZodString>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const retailedGetStockxTrends: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
page?: number | undefined;
|
|
28
28
|
order?: "asc" | "desc" | undefined;
|
|
@@ -21,8 +21,8 @@ declare const RetailedGetStockxTrendsOutput: z.ZodObject<{
|
|
|
21
21
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
category: z.ZodNullable<z.ZodString>;
|
|
23
23
|
release_date: z.ZodNullable<z.ZodString>;
|
|
24
|
-
}, z.core.$
|
|
25
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const retailedGetStockxTrends: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
page?: number | undefined;
|
|
28
28
|
order?: "asc" | "desc" | undefined;
|
|
@@ -17,13 +17,13 @@ const RetailedGetStockxTrends_TrendProductSchema = z.object({
|
|
|
17
17
|
image: z.string().describe("Product image URL (may be null)").nullable().optional(),
|
|
18
18
|
category: z.string().describe("Product category").nullable(),
|
|
19
19
|
release_date: z.string().describe("Date of product release (YYYY-MM-DD)").nullable()
|
|
20
|
-
}).describe("Details of a trending StockX product.");
|
|
20
|
+
}).passthrough().describe("Details of a trending StockX product.");
|
|
21
21
|
const retailedGetStockxTrends = action("RETAILED_GET_STOCKX_TRENDS", {
|
|
22
22
|
slug: "retailed-get-stockx-trends",
|
|
23
23
|
name: "StockX Trends",
|
|
24
24
|
description: "Tool to get the latest trending products from StockX. Use when you want to discover current trending items.",
|
|
25
25
|
input: RetailedGetStockxTrendsInput,
|
|
26
|
-
output: z.object({ products: 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.")
|
|
26
|
+
output: z.object({ products: z.array(RetailedGetStockxTrends_TrendProductSchema).describe("List of trending StockX product details") }).passthrough().describe("Response schema for trending products from StockX.\nThis is a list of trending products returned directly from the API.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { retailedGetStockxTrends };
|
|
@@ -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}).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+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,SAAS,uCAAuC;
|
|
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":";;;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,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,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,UAAU,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,yCAAyC,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yHAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const RetailedGetUsageInput = zod.z.object({}).describe("Request parameters for
|
|
|
5
5
|
const RetailedGetUsageOutput = zod.z.object({
|
|
6
6
|
plan: zod.z.string().describe("Plan name").nullable(),
|
|
7
7
|
remaining: zod.z.union([zod.z.number().int(), zod.z.string()])
|
|
8
|
-
}).describe("Response model for API usage statistics.");
|
|
8
|
+
}).passthrough().describe("Response model for API usage statistics.");
|
|
9
9
|
const retailedGetUsage = require_action.action("RETAILED_GET_USAGE", {
|
|
10
10
|
slug: "retailed-get-usage",
|
|
11
11
|
name: "Get API Usage",
|
|
@@ -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}).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":";;;AAIA,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,SAAS,0CAA0C;
|
|
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":";;;AAIA,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,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ declare const RetailedGetUsageInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
5
|
declare const RetailedGetUsageOutput: z.ZodObject<{
|
|
6
6
|
plan: z.ZodNullable<z.ZodString>;
|
|
7
7
|
remaining: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>;
|
|
9
9
|
declare const retailedGetUsage: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { retailedGetUsage };
|
|
@@ -5,7 +5,7 @@ declare const RetailedGetUsageInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
5
|
declare const RetailedGetUsageOutput: z.ZodObject<{
|
|
6
6
|
plan: z.ZodNullable<z.ZodString>;
|
|
7
7
|
remaining: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>;
|
|
9
9
|
declare const retailedGetUsage: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { retailedGetUsage };
|
|
@@ -8,7 +8,7 @@ const retailedGetUsage = action("RETAILED_GET_USAGE", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
plan: z.string().describe("Plan name").nullable(),
|
|
10
10
|
remaining: z.union([z.number().int(), z.string()])
|
|
11
|
-
}).describe("Response model for API usage statistics.")
|
|
11
|
+
}).passthrough().describe("Response model for API usage statistics.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { retailedGetUsage };
|
|
@@ -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}).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":";;AAUA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAUlD;CACP,QAVoC,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,SAAS,
|
|
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":";;AAUA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAUlD;CACP,QAVoC,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,0CAOhB;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const retailedCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/retailed",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "Retailed API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "The API key used for authenticating requests to the Retailed API."
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const retailedCatalog = {\n \"slug\": \"retailed\",\n \"name\": \"Retailed\",\n \"description\": \"Retailed is a global developer-first platform providing retail and resale marketplace APIs with access to product data, pricing information, and inventory management from major platforms like StockX, GOAT, Chrono24, and 50+ retail websites including sneakers, streetwear, watches, and luxury goods.\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/retailed\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const retailedCatalog = {\n \"slug\": \"retailed\",\n \"name\": \"Retailed\",\n \"description\": \"Retailed is a global developer-first platform providing retail and resale marketplace APIs with access to product data, pricing information, and inventory management from major platforms like StockX, GOAT, Chrono24, and 50+ retail websites including sneakers, streetwear, watches, and luxury goods.\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/retailed\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Retailed API Key\",\n \"secret\": true,\n \"description\": \"The API key used for authenticating requests to the Retailed API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ declare const retailedCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "Retailed API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "The API key used for authenticating requests to the Retailed API.";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ declare const retailedCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "Retailed API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "The API key used for authenticating requests to the Retailed API.";
|
package/dist/catalog.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const retailedCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/retailed",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "Retailed API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "The API key used for authenticating requests to the Retailed API."
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const retailedCatalog = {\n \"slug\": \"retailed\",\n \"name\": \"Retailed\",\n \"description\": \"Retailed is a global developer-first platform providing retail and resale marketplace APIs with access to product data, pricing information, and inventory management from major platforms like StockX, GOAT, Chrono24, and 50+ retail websites including sneakers, streetwear, watches, and luxury goods.\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/retailed\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const retailedCatalog = {\n \"slug\": \"retailed\",\n \"name\": \"Retailed\",\n \"description\": \"Retailed is a global developer-first platform providing retail and resale marketplace APIs with access to product data, pricing information, and inventory management from major platforms like StockX, GOAT, Chrono24, and 50+ retail websites including sneakers, streetwear, watches, and luxury goods.\",\n \"category\": \"eCommerce\",\n \"logo\": \"https://logos.composio.dev/api/retailed\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Retailed API Key\",\n \"secret\": true,\n \"description\": \"The API key used for authenticating requests to the Retailed API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|