composio-scavio 0.5.3 → 0.6.0
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/README.md +3 -3
- package/dist/index.cjs +16 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +16 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1568,7 +1568,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1568
1568
|
page: onum("Results page, 1-based."),
|
|
1569
1569
|
count: onum("Results per page, 1-28. Defaults to 24; Target rejects anything above 28 outright."),
|
|
1570
1570
|
sort: ostr("Result sort order. Defaults to 'relevance'. Accepted values: 'relevance', 'featured', 'price_low', 'price_high', 'rating_high', 'best_seller', 'newest'."),
|
|
1571
|
-
store_id: ostr("Numeric Target store id whose prices
|
|
1571
|
+
store_id: ostr("Numeric Target store id whose prices the response reflects. Defaults to '3991', the store target.com uses with no store context.")
|
|
1572
1572
|
}),
|
|
1573
1573
|
(i) => client.target.search(i)
|
|
1574
1574
|
),
|
|
@@ -1581,7 +1581,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1581
1581
|
page: onum("Results page, 1-based."),
|
|
1582
1582
|
count: onum("Results per page, 1-28. Defaults to 24; Target rejects anything above 28 outright."),
|
|
1583
1583
|
sort: ostr("Result sort order. Defaults to 'relevance'. Accepted values: 'relevance', 'featured', 'price_low', 'price_high', 'rating_high', 'best_seller', 'newest'."),
|
|
1584
|
-
store_id: ostr("Numeric Target store id whose prices
|
|
1584
|
+
store_id: ostr("Numeric Target store id whose prices the response reflects. Defaults to '3991'.")
|
|
1585
1585
|
}),
|
|
1586
1586
|
(i) => client.target.category(i)
|
|
1587
1587
|
),
|
|
@@ -1591,7 +1591,7 @@ function buildScavioToolkit(options = {}) {
|
|
|
1591
1591
|
"Target product details by TCIN: price, rating, images, specifications, variants, return policy, fulfillment. seller_id/seller_name are null for stock sold by Target. Costs 1 credit.",
|
|
1592
1592
|
z.object({
|
|
1593
1593
|
tcin: str("Target catalog id (tcin, e.g. '1010453160'). A colour/size child tcin is answered by its variation parent, with the child present in 'variants'."),
|
|
1594
|
-
store_id: ostr("Numeric Target store id whose prices
|
|
1594
|
+
store_id: ostr("Numeric Target store id whose prices the response reflects. Defaults to '3991'.")
|
|
1595
1595
|
}),
|
|
1596
1596
|
(i) => client.target.product(i)
|
|
1597
1597
|
),
|
|
@@ -1602,9 +1602,21 @@ function buildScavioToolkit(options = {}) {
|
|
|
1602
1602
|
z.object({
|
|
1603
1603
|
tcin: str("Target catalog id (tcin, e.g. '1010453160')."),
|
|
1604
1604
|
limit: onum("Trim the returned reviews to at most this many (1 or greater). Target publishes 8 anonymously and offers no paging, so this only trims."),
|
|
1605
|
-
store_id: ostr("Numeric Target store id whose prices
|
|
1605
|
+
store_id: ostr("Numeric Target store id whose prices the response reflects. Defaults to '3991'.")
|
|
1606
1606
|
}),
|
|
1607
1607
|
(i) => client.target.reviews(i)
|
|
1608
|
+
),
|
|
1609
|
+
tool(
|
|
1610
|
+
"TARGET_AVAILABILITY",
|
|
1611
|
+
"Scavio Target Availability",
|
|
1612
|
+
"In-store stock for a Target product at every store near a ZIP: units available, in-store, pickup, curbside and ship-to-store status, distance, address and hours. Costs 1 credit.",
|
|
1613
|
+
z.object({
|
|
1614
|
+
tcin: str("Target catalog id (tcin, e.g. '85978609')."),
|
|
1615
|
+
zip: str("5-digit US ZIP code to search around."),
|
|
1616
|
+
radius: onum("Search radius in miles, 1-100. Defaults to 25. At most 20 stores."),
|
|
1617
|
+
store_id: ostr("Return only this Target store. It must be within radius of zip.")
|
|
1618
|
+
}),
|
|
1619
|
+
(i) => client.target.availability(i)
|
|
1608
1620
|
)
|
|
1609
1621
|
);
|
|
1610
1622
|
}
|