@keystrokehq/omnisend 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/add-cart-product.cjs +1 -1
- package/dist/actions/add-cart-product.cjs.map +1 -1
- package/dist/actions/add-cart-product.d.cts +14 -2
- package/dist/actions/add-cart-product.d.mts +14 -2
- package/dist/actions/add-cart-product.mjs +1 -1
- package/dist/actions/add-cart-product.mjs.map +1 -1
- package/dist/actions/create-batch.cjs +3 -3
- package/dist/actions/create-batch.cjs.map +1 -1
- package/dist/actions/create-batch.d.cts +18 -6
- package/dist/actions/create-batch.d.cts.map +1 -1
- package/dist/actions/create-batch.d.mts +18 -6
- package/dist/actions/create-batch.d.mts.map +1 -1
- package/dist/actions/create-batch.mjs +3 -3
- package/dist/actions/create-batch.mjs.map +1 -1
- package/dist/actions/create-cart.cjs +2 -2
- package/dist/actions/create-cart.cjs.map +1 -1
- package/dist/actions/create-cart.d.cts +16 -3
- package/dist/actions/create-cart.d.mts +16 -3
- package/dist/actions/create-cart.mjs +2 -2
- package/dist/actions/create-cart.mjs.map +1 -1
- package/dist/actions/create-category.cjs +1 -1
- package/dist/actions/create-category.cjs.map +1 -1
- package/dist/actions/create-category.d.cts +14 -2
- package/dist/actions/create-category.d.mts +14 -2
- package/dist/actions/create-category.mjs +1 -1
- package/dist/actions/create-category.mjs.map +1 -1
- package/dist/actions/create-or-update-contact.cjs +2 -2
- package/dist/actions/create-or-update-contact.cjs.map +1 -1
- package/dist/actions/create-or-update-contact.d.cts +16 -3
- package/dist/actions/create-or-update-contact.d.mts +16 -3
- package/dist/actions/create-or-update-contact.mjs +2 -2
- package/dist/actions/create-or-update-contact.mjs.map +1 -1
- package/dist/actions/create-order.cjs +3 -3
- package/dist/actions/create-order.cjs.map +1 -1
- package/dist/actions/create-order.d.cts +18 -5
- package/dist/actions/create-order.d.cts.map +1 -1
- package/dist/actions/create-order.d.mts +18 -5
- package/dist/actions/create-order.d.mts.map +1 -1
- package/dist/actions/create-order.mjs +3 -3
- package/dist/actions/create-order.mjs.map +1 -1
- package/dist/actions/create-product-category.cjs +1 -1
- package/dist/actions/create-product-category.cjs.map +1 -1
- package/dist/actions/create-product-category.d.cts +14 -2
- package/dist/actions/create-product-category.d.mts +14 -2
- package/dist/actions/create-product-category.mjs +1 -1
- package/dist/actions/create-product-category.mjs.map +1 -1
- package/dist/actions/create-product.cjs +2 -2
- package/dist/actions/create-product.cjs.map +1 -1
- package/dist/actions/create-product.d.cts +16 -3
- package/dist/actions/create-product.d.mts +16 -3
- package/dist/actions/create-product.mjs +2 -2
- package/dist/actions/create-product.mjs.map +1 -1
- package/dist/actions/delete-cart.cjs +1 -1
- package/dist/actions/delete-cart.cjs.map +1 -1
- package/dist/actions/delete-cart.d.cts +14 -2
- package/dist/actions/delete-cart.d.cts.map +1 -1
- package/dist/actions/delete-cart.d.mts +14 -2
- package/dist/actions/delete-cart.d.mts.map +1 -1
- package/dist/actions/delete-cart.mjs +1 -1
- package/dist/actions/delete-cart.mjs.map +1 -1
- package/dist/actions/delete-category.cjs +1 -1
- package/dist/actions/delete-category.cjs.map +1 -1
- package/dist/actions/delete-category.d.cts +14 -2
- package/dist/actions/delete-category.d.cts.map +1 -1
- package/dist/actions/delete-category.d.mts +14 -2
- package/dist/actions/delete-category.d.mts.map +1 -1
- package/dist/actions/delete-category.mjs +1 -1
- package/dist/actions/delete-category.mjs.map +1 -1
- package/dist/actions/delete-order.cjs +1 -1
- package/dist/actions/delete-order.cjs.map +1 -1
- package/dist/actions/delete-order.d.cts +14 -2
- package/dist/actions/delete-order.d.cts.map +1 -1
- package/dist/actions/delete-order.d.mts +14 -2
- package/dist/actions/delete-order.d.mts.map +1 -1
- package/dist/actions/delete-order.mjs +1 -1
- package/dist/actions/delete-order.mjs.map +1 -1
- package/dist/actions/delete-product-category.cjs +1 -1
- package/dist/actions/delete-product-category.cjs.map +1 -1
- package/dist/actions/delete-product-category.d.cts +14 -2
- package/dist/actions/delete-product-category.d.cts.map +1 -1
- package/dist/actions/delete-product-category.d.mts +14 -2
- package/dist/actions/delete-product-category.d.mts.map +1 -1
- package/dist/actions/delete-product-category.mjs +1 -1
- package/dist/actions/delete-product-category.mjs.map +1 -1
- package/dist/actions/delete-product.cjs +1 -1
- package/dist/actions/delete-product.cjs.map +1 -1
- package/dist/actions/delete-product.d.cts +14 -2
- package/dist/actions/delete-product.d.cts.map +1 -1
- package/dist/actions/delete-product.d.mts +14 -2
- package/dist/actions/delete-product.d.mts.map +1 -1
- package/dist/actions/delete-product.mjs +1 -1
- package/dist/actions/delete-product.mjs.map +1 -1
- package/dist/actions/get-batch-information.cjs +1 -1
- package/dist/actions/get-batch-information.cjs.map +1 -1
- package/dist/actions/get-batch-information.d.cts +14 -2
- package/dist/actions/get-batch-information.d.mts +14 -2
- package/dist/actions/get-batch-information.mjs +1 -1
- package/dist/actions/get-batch-information.mjs.map +1 -1
- package/dist/actions/get-batch-item.cjs +1 -1
- package/dist/actions/get-batch-item.cjs.map +1 -1
- package/dist/actions/get-batch-item.d.cts +14 -2
- package/dist/actions/get-batch-item.d.mts +14 -2
- package/dist/actions/get-batch-item.mjs +1 -1
- package/dist/actions/get-batch-item.mjs.map +1 -1
- package/dist/actions/get-batch-items.cjs +2 -2
- package/dist/actions/get-batch-items.cjs.map +1 -1
- package/dist/actions/get-batch-items.d.cts +15 -3
- package/dist/actions/get-batch-items.d.mts +15 -3
- package/dist/actions/get-batch-items.mjs +2 -2
- package/dist/actions/get-batch-items.mjs.map +1 -1
- package/dist/actions/get-batches.cjs +3 -3
- package/dist/actions/get-batches.cjs.map +1 -1
- package/dist/actions/get-batches.d.cts +18 -6
- package/dist/actions/get-batches.d.mts +18 -6
- package/dist/actions/get-batches.mjs +3 -3
- package/dist/actions/get-batches.mjs.map +1 -1
- package/dist/actions/get-brand.cjs +1 -1
- package/dist/actions/get-brand.cjs.map +1 -1
- package/dist/actions/get-brand.d.cts +14 -2
- package/dist/actions/get-brand.d.cts.map +1 -1
- package/dist/actions/get-brand.d.mts +14 -2
- package/dist/actions/get-brand.d.mts.map +1 -1
- package/dist/actions/get-brand.mjs +1 -1
- package/dist/actions/get-brand.mjs.map +1 -1
- package/dist/actions/get-cart.cjs +2 -2
- package/dist/actions/get-cart.cjs.map +1 -1
- package/dist/actions/get-cart.d.cts +15 -3
- package/dist/actions/get-cart.d.mts +15 -3
- package/dist/actions/get-cart.mjs +2 -2
- package/dist/actions/get-cart.mjs.map +1 -1
- package/dist/actions/get-category.cjs +1 -1
- package/dist/actions/get-category.cjs.map +1 -1
- package/dist/actions/get-category.d.cts +14 -2
- package/dist/actions/get-category.d.mts +14 -2
- package/dist/actions/get-category.mjs +1 -1
- package/dist/actions/get-category.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +6 -6
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +19 -7
- package/dist/actions/get-contact.d.mts +19 -7
- package/dist/actions/get-contact.mjs +6 -6
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-order.cjs +3 -3
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +17 -5
- package/dist/actions/get-order.d.mts +17 -5
- package/dist/actions/get-order.mjs +3 -3
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-product-category.cjs +1 -1
- package/dist/actions/get-product-category.cjs.map +1 -1
- package/dist/actions/get-product-category.d.cts +14 -2
- package/dist/actions/get-product-category.d.mts +14 -2
- package/dist/actions/get-product-category.mjs +1 -1
- package/dist/actions/get-product-category.mjs.map +1 -1
- package/dist/actions/get-product.cjs +2 -2
- package/dist/actions/get-product.cjs.map +1 -1
- package/dist/actions/get-product.d.cts +15 -3
- package/dist/actions/get-product.d.mts +15 -3
- package/dist/actions/get-product.mjs +2 -2
- package/dist/actions/get-product.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +5 -5
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +18 -6
- package/dist/actions/list-campaigns.d.mts +18 -6
- package/dist/actions/list-campaigns.mjs +5 -5
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/list-carts.cjs +3 -3
- package/dist/actions/list-carts.cjs.map +1 -1
- package/dist/actions/list-carts.d.cts +16 -4
- package/dist/actions/list-carts.d.mts +16 -4
- package/dist/actions/list-carts.mjs +3 -3
- package/dist/actions/list-carts.mjs.map +1 -1
- package/dist/actions/list-categories.cjs +3 -3
- package/dist/actions/list-categories.cjs.map +1 -1
- package/dist/actions/list-categories.d.cts +16 -4
- package/dist/actions/list-categories.d.mts +16 -4
- package/dist/actions/list-categories.mjs +3 -3
- package/dist/actions/list-categories.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +7 -7
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +20 -8
- package/dist/actions/list-contacts.d.mts +20 -8
- package/dist/actions/list-contacts.mjs +7 -7
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-events.cjs +3 -3
- package/dist/actions/list-events.cjs.map +1 -1
- package/dist/actions/list-events.d.cts +16 -4
- package/dist/actions/list-events.d.cts.map +1 -1
- package/dist/actions/list-events.d.mts +16 -4
- package/dist/actions/list-events.d.mts.map +1 -1
- package/dist/actions/list-events.mjs +3 -3
- package/dist/actions/list-events.mjs.map +1 -1
- package/dist/actions/list-product-categories.cjs +3 -3
- package/dist/actions/list-product-categories.cjs.map +1 -1
- package/dist/actions/list-product-categories.d.cts +16 -4
- package/dist/actions/list-product-categories.d.mts +16 -4
- package/dist/actions/list-product-categories.mjs +3 -3
- package/dist/actions/list-product-categories.mjs.map +1 -1
- package/dist/actions/list-products.cjs +4 -4
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +17 -5
- package/dist/actions/list-products.d.mts +17 -5
- package/dist/actions/list-products.mjs +4 -4
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/remove-cart-product.cjs +1 -1
- package/dist/actions/remove-cart-product.cjs.map +1 -1
- package/dist/actions/remove-cart-product.d.cts +14 -2
- package/dist/actions/remove-cart-product.d.cts.map +1 -1
- package/dist/actions/remove-cart-product.d.mts +14 -2
- package/dist/actions/remove-cart-product.d.mts.map +1 -1
- package/dist/actions/remove-cart-product.mjs +1 -1
- package/dist/actions/remove-cart-product.mjs.map +1 -1
- package/dist/actions/replace-cart-product.cjs +1 -1
- package/dist/actions/replace-cart-product.cjs.map +1 -1
- package/dist/actions/replace-cart-product.d.cts +14 -2
- package/dist/actions/replace-cart-product.d.mts +14 -2
- package/dist/actions/replace-cart-product.mjs +1 -1
- package/dist/actions/replace-cart-product.mjs.map +1 -1
- package/dist/actions/replace-cart.cjs +2 -2
- package/dist/actions/replace-cart.cjs.map +1 -1
- package/dist/actions/replace-cart.d.cts +16 -3
- package/dist/actions/replace-cart.d.mts +16 -3
- package/dist/actions/replace-cart.mjs +2 -2
- package/dist/actions/replace-cart.mjs.map +1 -1
- package/dist/actions/replace-category.cjs +1 -1
- package/dist/actions/replace-category.cjs.map +1 -1
- package/dist/actions/replace-category.d.cts +14 -2
- package/dist/actions/replace-category.d.mts +14 -2
- package/dist/actions/replace-category.mjs +1 -1
- package/dist/actions/replace-category.mjs.map +1 -1
- package/dist/actions/replace-order.cjs +2 -2
- package/dist/actions/replace-order.cjs.map +1 -1
- package/dist/actions/replace-order.d.cts +16 -3
- package/dist/actions/replace-order.d.mts +16 -3
- package/dist/actions/replace-order.mjs +2 -2
- package/dist/actions/replace-order.mjs.map +1 -1
- package/dist/actions/replace-product.cjs +2 -2
- package/dist/actions/replace-product.cjs.map +1 -1
- package/dist/actions/replace-product.d.cts +16 -3
- package/dist/actions/replace-product.d.mts +16 -3
- package/dist/actions/replace-product.mjs +2 -2
- package/dist/actions/replace-product.mjs.map +1 -1
- package/dist/actions/send-event.cjs +3 -3
- package/dist/actions/send-event.cjs.map +1 -1
- package/dist/actions/send-event.d.cts +18 -6
- package/dist/actions/send-event.d.cts.map +1 -1
- package/dist/actions/send-event.d.mts +18 -6
- package/dist/actions/send-event.d.mts.map +1 -1
- package/dist/actions/send-event.mjs +3 -3
- package/dist/actions/send-event.mjs.map +1 -1
- package/dist/actions/update-cart-product.cjs +1 -1
- package/dist/actions/update-cart-product.cjs.map +1 -1
- package/dist/actions/update-cart-product.d.cts +14 -2
- package/dist/actions/update-cart-product.d.mts +14 -2
- package/dist/actions/update-cart-product.mjs +1 -1
- package/dist/actions/update-cart-product.mjs.map +1 -1
- package/dist/actions/update-cart.cjs +2 -2
- package/dist/actions/update-cart.cjs.map +1 -1
- package/dist/actions/update-cart.d.cts +16 -3
- package/dist/actions/update-cart.d.mts +16 -3
- package/dist/actions/update-cart.mjs +2 -2
- package/dist/actions/update-cart.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +3 -3
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +18 -5
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +18 -5
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +3 -3
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-order-status.cjs +1 -1
- package/dist/actions/update-order-status.cjs.map +1 -1
- package/dist/actions/update-order-status.d.cts +14 -2
- package/dist/actions/update-order-status.d.mts +14 -2
- package/dist/actions/update-order-status.mjs +1 -1
- package/dist/actions/update-order-status.mjs.map +1 -1
- package/dist/actions/update-product-category.cjs +1 -1
- package/dist/actions/update-product-category.cjs.map +1 -1
- package/dist/actions/update-product-category.d.cts +14 -2
- package/dist/actions/update-product-category.d.mts +14 -2
- package/dist/actions/update-product-category.mjs +1 -1
- package/dist/actions/update-product-category.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -30,14 +30,14 @@ const OmnisendCreateProductInput = zod.z.object({
|
|
|
30
30
|
description: zod.z.string().describe("Variant description.").optional(),
|
|
31
31
|
defaultImageUrl: zod.z.string().describe("Primary image URL for this variant.").optional(),
|
|
32
32
|
strikeThroughPrice: zod.z.number().describe("Original price before discount for displaying strike-through pricing.").optional()
|
|
33
|
-
}).describe("Product variant details for creation.")).describe("Product variants with their own prices and SKUs. At least one variant is required (min 1, max 500 items)."),
|
|
33
|
+
}).passthrough().describe("Product variant details for creation.")).describe("Product variants with their own prices and SKUs. At least one variant is required (min 1, max 500 items)."),
|
|
34
34
|
createdAt: zod.z.string().describe("Product creation timestamp in ISO 8601 format (e.g., 2021-01-01T00:00:00Z).").optional(),
|
|
35
35
|
updatedAt: zod.z.string().describe("Last update timestamp in ISO 8601 format.").optional(),
|
|
36
36
|
categoryIDs: zod.z.array(zod.z.string()).describe("List of category IDs this product belongs to (max 100 items).").optional(),
|
|
37
37
|
description: zod.z.string().describe("Short description of the product. Can be used in the email body.").optional(),
|
|
38
38
|
defaultImageUrl: zod.z.string().describe("Primary image URL for the product. Recommended if more than one image is needed.").optional()
|
|
39
39
|
}).describe("Request schema for creating a product in Omnisend.");
|
|
40
|
-
const OmnisendCreateProductOutput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the created product.").nullable() }).describe("Response schema after creating a product.");
|
|
40
|
+
const OmnisendCreateProductOutput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the created product.").nullable() }).passthrough().describe("Response schema after creating a product.");
|
|
41
41
|
const omnisendCreateProduct = require_action.action("OMNISEND_CREATE_PRODUCT", {
|
|
42
42
|
slug: "omnisend-create-product",
|
|
43
43
|
name: "Create Product",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-product.cjs","names":["z","action"],"sources":["../../src/actions/create-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendCreateProductInput = z.object({\n id: z.string().describe(\"Unique product identifier from your store. Must be unique across all products.\"),\n url: z.string().describe(\"URL to the product page on your website.\"),\n tags: z.array(z.string()).describe(\"Tags to categorize the product for filtering and organization (max 100 items).\").optional(),\n type: z.string().describe(\"Product type to categorize products (e.g., 'Electronics', 'Clothing').\").optional(),\n title: z.string().describe(\"Product title displayed to customers.\"),\n images: z.array(z.string()).describe(\"Additional product image URLs beyond the default image (max 300 items).\").optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Overall product availability status. Keep in sync with your shop to avoid sending out-of-stock products.\"),\n vendor: z.string().describe(\"Manufacturer or brand of the product.\").optional(),\n currency: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR, GBP).\"),\n variants: z.array(z.object({\n id: z.string().describe(\"Unique variant identifier from your store.\"),\n sku: z.string().describe(\"Stock keeping unit (SKU) for inventory tracking.\").optional(),\n url: z.string().describe(\"Product page URL for this variant.\"),\n price: z.number().describe(\"Variant price as a decimal number.\"),\n title: z.string().describe(\"Variant title.\"),\n images: z.array(z.string()).describe(\"Additional image URLs for this variant (max 300 items).\").optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Stock status for this variant.\"),\n description: z.string().describe(\"Variant description.\").optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL for this variant.\").optional(),\n strikeThroughPrice: z.number().describe(\"Original price before discount for displaying strike-through pricing.\").optional(),\n}).describe(\"Product variant details for creation.\")).describe(\"Product variants with their own prices and SKUs. At least one variant is required (min 1, max 500 items).\"),\n createdAt: z.string().describe(\"Product creation timestamp in ISO 8601 format (e.g., 2021-01-01T00:00:00Z).\").optional(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 format.\").optional(),\n categoryIDs: z.array(z.string()).describe(\"List of category IDs this product belongs to (max 100 items).\").optional(),\n description: z.string().describe(\"Short description of the product. Can be used in the email body.\").optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL for the product. Recommended if more than one image is needed.\").optional(),\n}).describe(\"Request schema for creating a product in Omnisend.\");\nexport const OmnisendCreateProductOutput = z.object({\n id: z.string().describe(\"The unique identifier of the created product.\").nullable(),\n}).describe(\"Response schema after creating a product.\");\n\nexport const omnisendCreateProduct = action(\"OMNISEND_CREATE_PRODUCT\", {\n slug: \"omnisend-create-product\",\n name: \"Create Product\",\n description: \"Tool to create a new product in the Omnisend product catalog. Use when adding products for email campaigns or syncing inventory.\",\n input: OmnisendCreateProductInput,\n output: OmnisendCreateProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CACxG,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACnE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC9H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAc;CAAc,CAAC,CAAC,CAAC,SAAS,0GAA0G;CAC7K,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC7E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;EAC3C,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACzG,QAAQA,IAAAA,EAAE,KAAK;GAAC;GAAW;GAAc;EAAc,CAAC,CAAC,CAAC,SAAS,gCAAgC;EACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAClE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACrF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,CAAC,SAAS,2GAA2G;
|
|
1
|
+
{"version":3,"file":"create-product.cjs","names":["z","action"],"sources":["../../src/actions/create-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendCreateProductInput = z.object({\n id: z.string().describe(\"Unique product identifier from your store. Must be unique across all products.\"),\n url: z.string().describe(\"URL to the product page on your website.\"),\n tags: z.array(z.string()).describe(\"Tags to categorize the product for filtering and organization (max 100 items).\").optional(),\n type: z.string().describe(\"Product type to categorize products (e.g., 'Electronics', 'Clothing').\").optional(),\n title: z.string().describe(\"Product title displayed to customers.\"),\n images: z.array(z.string()).describe(\"Additional product image URLs beyond the default image (max 300 items).\").optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Overall product availability status. Keep in sync with your shop to avoid sending out-of-stock products.\"),\n vendor: z.string().describe(\"Manufacturer or brand of the product.\").optional(),\n currency: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR, GBP).\"),\n variants: z.array(z.object({\n id: z.string().describe(\"Unique variant identifier from your store.\"),\n sku: z.string().describe(\"Stock keeping unit (SKU) for inventory tracking.\").optional(),\n url: z.string().describe(\"Product page URL for this variant.\"),\n price: z.number().describe(\"Variant price as a decimal number.\"),\n title: z.string().describe(\"Variant title.\"),\n images: z.array(z.string()).describe(\"Additional image URLs for this variant (max 300 items).\").optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Stock status for this variant.\"),\n description: z.string().describe(\"Variant description.\").optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL for this variant.\").optional(),\n strikeThroughPrice: z.number().describe(\"Original price before discount for displaying strike-through pricing.\").optional(),\n}).passthrough().describe(\"Product variant details for creation.\")).describe(\"Product variants with their own prices and SKUs. At least one variant is required (min 1, max 500 items).\"),\n createdAt: z.string().describe(\"Product creation timestamp in ISO 8601 format (e.g., 2021-01-01T00:00:00Z).\").optional(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 format.\").optional(),\n categoryIDs: z.array(z.string()).describe(\"List of category IDs this product belongs to (max 100 items).\").optional(),\n description: z.string().describe(\"Short description of the product. Can be used in the email body.\").optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL for the product. Recommended if more than one image is needed.\").optional(),\n}).describe(\"Request schema for creating a product in Omnisend.\");\nexport const OmnisendCreateProductOutput = z.object({\n id: z.string().describe(\"The unique identifier of the created product.\").nullable(),\n}).passthrough().describe(\"Response schema after creating a product.\");\n\nexport const omnisendCreateProduct = action(\"OMNISEND_CREATE_PRODUCT\", {\n slug: \"omnisend-create-product\",\n name: \"Create Product\",\n description: \"Tool to create a new product in the Omnisend product catalog. Use when adding products for email campaigns or syncing inventory.\",\n input: OmnisendCreateProductInput,\n output: OmnisendCreateProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CACxG,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACnE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC9H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACzH,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAc;CAAc,CAAC,CAAC,CAAC,SAAS,0GAA0G;CAC7K,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC7E,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;EAC3C,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACzG,QAAQA,IAAAA,EAAE,KAAK;GAAC;GAAW;GAAc;EAAc,CAAC,CAAC,CAAC,SAAS,gCAAgC;EACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAClE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACrF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,CAAC,SAAS,2GAA2G;CACtL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACvH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -30,7 +30,7 @@ declare const OmnisendCreateProductInput: z.ZodObject<{
|
|
|
30
30
|
description: z.ZodOptional<z.ZodString>;
|
|
31
31
|
defaultImageUrl: z.ZodOptional<z.ZodString>;
|
|
32
32
|
strikeThroughPrice: z.ZodOptional<z.ZodNumber>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
34
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
35
35
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
36
36
|
categoryIDs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -39,7 +39,7 @@ declare const OmnisendCreateProductInput: z.ZodObject<{
|
|
|
39
39
|
}, z.core.$strip>;
|
|
40
40
|
declare const OmnisendCreateProductOutput: z.ZodObject<{
|
|
41
41
|
id: z.ZodNullable<z.ZodString>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>;
|
|
43
43
|
declare const omnisendCreateProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
44
|
id: string;
|
|
45
45
|
url: string;
|
|
@@ -47,6 +47,7 @@ declare const omnisendCreateProduct: import("@keystrokehq/action").WorkflowActio
|
|
|
47
47
|
status: "inStock" | "outOfStock" | "notAvailable";
|
|
48
48
|
currency: string;
|
|
49
49
|
variants: {
|
|
50
|
+
[x: string]: unknown;
|
|
50
51
|
id: string;
|
|
51
52
|
url: string;
|
|
52
53
|
price: number;
|
|
@@ -67,7 +68,19 @@ declare const omnisendCreateProduct: import("@keystrokehq/action").WorkflowActio
|
|
|
67
68
|
categoryIDs?: string[] | undefined;
|
|
68
69
|
description?: string | undefined;
|
|
69
70
|
defaultImageUrl?: string | undefined;
|
|
70
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
71
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
72
|
+
connectionId: z.ZodString;
|
|
73
|
+
entityId: z.ZodString;
|
|
74
|
+
instanceId: z.ZodString;
|
|
75
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
76
|
+
accessToken: z.ZodString;
|
|
77
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
78
|
+
connectionId: z.ZodString;
|
|
79
|
+
entityId: z.ZodString;
|
|
80
|
+
instanceId: z.ZodString;
|
|
81
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
82
|
+
accessToken: z.ZodString;
|
|
83
|
+
}, z.core.$strip>>]>;
|
|
71
84
|
//#endregion
|
|
72
85
|
export { omnisendCreateProduct };
|
|
73
86
|
//# sourceMappingURL=create-product.d.cts.map
|
|
@@ -30,7 +30,7 @@ declare const OmnisendCreateProductInput: z.ZodObject<{
|
|
|
30
30
|
description: z.ZodOptional<z.ZodString>;
|
|
31
31
|
defaultImageUrl: z.ZodOptional<z.ZodString>;
|
|
32
32
|
strikeThroughPrice: z.ZodOptional<z.ZodNumber>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
34
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
35
35
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
36
36
|
categoryIDs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -39,7 +39,7 @@ declare const OmnisendCreateProductInput: z.ZodObject<{
|
|
|
39
39
|
}, z.core.$strip>;
|
|
40
40
|
declare const OmnisendCreateProductOutput: z.ZodObject<{
|
|
41
41
|
id: z.ZodNullable<z.ZodString>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>;
|
|
43
43
|
declare const omnisendCreateProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
44
|
id: string;
|
|
45
45
|
url: string;
|
|
@@ -47,6 +47,7 @@ declare const omnisendCreateProduct: import("@keystrokehq/action").WorkflowActio
|
|
|
47
47
|
status: "inStock" | "outOfStock" | "notAvailable";
|
|
48
48
|
currency: string;
|
|
49
49
|
variants: {
|
|
50
|
+
[x: string]: unknown;
|
|
50
51
|
id: string;
|
|
51
52
|
url: string;
|
|
52
53
|
price: number;
|
|
@@ -67,7 +68,19 @@ declare const omnisendCreateProduct: import("@keystrokehq/action").WorkflowActio
|
|
|
67
68
|
categoryIDs?: string[] | undefined;
|
|
68
69
|
description?: string | undefined;
|
|
69
70
|
defaultImageUrl?: string | undefined;
|
|
70
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
71
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
72
|
+
connectionId: z.ZodString;
|
|
73
|
+
entityId: z.ZodString;
|
|
74
|
+
instanceId: z.ZodString;
|
|
75
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
76
|
+
accessToken: z.ZodString;
|
|
77
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
78
|
+
connectionId: z.ZodString;
|
|
79
|
+
entityId: z.ZodString;
|
|
80
|
+
instanceId: z.ZodString;
|
|
81
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
82
|
+
accessToken: z.ZodString;
|
|
83
|
+
}, z.core.$strip>>]>;
|
|
71
84
|
//#endregion
|
|
72
85
|
export { omnisendCreateProduct };
|
|
73
86
|
//# sourceMappingURL=create-product.d.mts.map
|
|
@@ -33,14 +33,14 @@ const omnisendCreateProduct = action("OMNISEND_CREATE_PRODUCT", {
|
|
|
33
33
|
description: z.string().describe("Variant description.").optional(),
|
|
34
34
|
defaultImageUrl: z.string().describe("Primary image URL for this variant.").optional(),
|
|
35
35
|
strikeThroughPrice: z.number().describe("Original price before discount for displaying strike-through pricing.").optional()
|
|
36
|
-
}).describe("Product variant details for creation.")).describe("Product variants with their own prices and SKUs. At least one variant is required (min 1, max 500 items)."),
|
|
36
|
+
}).passthrough().describe("Product variant details for creation.")).describe("Product variants with their own prices and SKUs. At least one variant is required (min 1, max 500 items)."),
|
|
37
37
|
createdAt: z.string().describe("Product creation timestamp in ISO 8601 format (e.g., 2021-01-01T00:00:00Z).").optional(),
|
|
38
38
|
updatedAt: z.string().describe("Last update timestamp in ISO 8601 format.").optional(),
|
|
39
39
|
categoryIDs: z.array(z.string()).describe("List of category IDs this product belongs to (max 100 items).").optional(),
|
|
40
40
|
description: z.string().describe("Short description of the product. Can be used in the email body.").optional(),
|
|
41
41
|
defaultImageUrl: z.string().describe("Primary image URL for the product. Recommended if more than one image is needed.").optional()
|
|
42
42
|
}).describe("Request schema for creating a product in Omnisend."),
|
|
43
|
-
output: z.object({ id: z.string().describe("The unique identifier of the created product.").nullable() }).describe("Response schema after creating a product.")
|
|
43
|
+
output: z.object({ id: z.string().describe("The unique identifier of the created product.").nullable() }).passthrough().describe("Response schema after creating a product.")
|
|
44
44
|
});
|
|
45
45
|
//#endregion
|
|
46
46
|
export { omnisendCreateProduct };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-product.mjs","names":[],"sources":["../../src/actions/create-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendCreateProductInput = z.object({\n id: z.string().describe(\"Unique product identifier from your store. Must be unique across all products.\"),\n url: z.string().describe(\"URL to the product page on your website.\"),\n tags: z.array(z.string()).describe(\"Tags to categorize the product for filtering and organization (max 100 items).\").optional(),\n type: z.string().describe(\"Product type to categorize products (e.g., 'Electronics', 'Clothing').\").optional(),\n title: z.string().describe(\"Product title displayed to customers.\"),\n images: z.array(z.string()).describe(\"Additional product image URLs beyond the default image (max 300 items).\").optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Overall product availability status. Keep in sync with your shop to avoid sending out-of-stock products.\"),\n vendor: z.string().describe(\"Manufacturer or brand of the product.\").optional(),\n currency: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR, GBP).\"),\n variants: z.array(z.object({\n id: z.string().describe(\"Unique variant identifier from your store.\"),\n sku: z.string().describe(\"Stock keeping unit (SKU) for inventory tracking.\").optional(),\n url: z.string().describe(\"Product page URL for this variant.\"),\n price: z.number().describe(\"Variant price as a decimal number.\"),\n title: z.string().describe(\"Variant title.\"),\n images: z.array(z.string()).describe(\"Additional image URLs for this variant (max 300 items).\").optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Stock status for this variant.\"),\n description: z.string().describe(\"Variant description.\").optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL for this variant.\").optional(),\n strikeThroughPrice: z.number().describe(\"Original price before discount for displaying strike-through pricing.\").optional(),\n}).describe(\"Product variant details for creation.\")).describe(\"Product variants with their own prices and SKUs. At least one variant is required (min 1, max 500 items).\"),\n createdAt: z.string().describe(\"Product creation timestamp in ISO 8601 format (e.g., 2021-01-01T00:00:00Z).\").optional(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 format.\").optional(),\n categoryIDs: z.array(z.string()).describe(\"List of category IDs this product belongs to (max 100 items).\").optional(),\n description: z.string().describe(\"Short description of the product. Can be used in the email body.\").optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL for the product. Recommended if more than one image is needed.\").optional(),\n}).describe(\"Request schema for creating a product in Omnisend.\");\nexport const OmnisendCreateProductOutput = z.object({\n id: z.string().describe(\"The unique identifier of the created product.\").nullable(),\n}).describe(\"Response schema after creating a product.\");\n\nexport const omnisendCreateProduct = action(\"OMNISEND_CREATE_PRODUCT\", {\n slug: \"omnisend-create-product\",\n name: \"Create Product\",\n description: \"Tool to create a new product in the Omnisend product catalog. Use when adding products for email campaigns or syncing inventory.\",\n input: OmnisendCreateProductInput,\n output: OmnisendCreateProductOutput,\n});\n"],"mappings":";;AAoCA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApCwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;EACxG,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACnE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC9H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAClE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACzH,QAAQ,EAAE,KAAK;GAAC;GAAW;GAAc;EAAc,CAAC,CAAC,CAAC,SAAS,0GAA0G;EAC7K,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC7E,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;GACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;GACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;GAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;GAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;GAC3C,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;GACzG,QAAQ,EAAE,KAAK;IAAC;IAAW;IAAc;GAAc,CAAC,CAAC,CAAC,SAAS,gCAAgC;GACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;GAClE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;GACrF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC5H,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,CAAC,SAAS,2GAA2G;
|
|
1
|
+
{"version":3,"file":"create-product.mjs","names":[],"sources":["../../src/actions/create-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendCreateProductInput = z.object({\n id: z.string().describe(\"Unique product identifier from your store. Must be unique across all products.\"),\n url: z.string().describe(\"URL to the product page on your website.\"),\n tags: z.array(z.string()).describe(\"Tags to categorize the product for filtering and organization (max 100 items).\").optional(),\n type: z.string().describe(\"Product type to categorize products (e.g., 'Electronics', 'Clothing').\").optional(),\n title: z.string().describe(\"Product title displayed to customers.\"),\n images: z.array(z.string()).describe(\"Additional product image URLs beyond the default image (max 300 items).\").optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Overall product availability status. Keep in sync with your shop to avoid sending out-of-stock products.\"),\n vendor: z.string().describe(\"Manufacturer or brand of the product.\").optional(),\n currency: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR, GBP).\"),\n variants: z.array(z.object({\n id: z.string().describe(\"Unique variant identifier from your store.\"),\n sku: z.string().describe(\"Stock keeping unit (SKU) for inventory tracking.\").optional(),\n url: z.string().describe(\"Product page URL for this variant.\"),\n price: z.number().describe(\"Variant price as a decimal number.\"),\n title: z.string().describe(\"Variant title.\"),\n images: z.array(z.string()).describe(\"Additional image URLs for this variant (max 300 items).\").optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Stock status for this variant.\"),\n description: z.string().describe(\"Variant description.\").optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL for this variant.\").optional(),\n strikeThroughPrice: z.number().describe(\"Original price before discount for displaying strike-through pricing.\").optional(),\n}).passthrough().describe(\"Product variant details for creation.\")).describe(\"Product variants with their own prices and SKUs. At least one variant is required (min 1, max 500 items).\"),\n createdAt: z.string().describe(\"Product creation timestamp in ISO 8601 format (e.g., 2021-01-01T00:00:00Z).\").optional(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 format.\").optional(),\n categoryIDs: z.array(z.string()).describe(\"List of category IDs this product belongs to (max 100 items).\").optional(),\n description: z.string().describe(\"Short description of the product. Can be used in the email body.\").optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL for the product. Recommended if more than one image is needed.\").optional(),\n}).describe(\"Request schema for creating a product in Omnisend.\");\nexport const OmnisendCreateProductOutput = z.object({\n id: z.string().describe(\"The unique identifier of the created product.\").nullable(),\n}).passthrough().describe(\"Response schema after creating a product.\");\n\nexport const omnisendCreateProduct = action(\"OMNISEND_CREATE_PRODUCT\", {\n slug: \"omnisend-create-product\",\n name: \"Create Product\",\n description: \"Tool to create a new product in the Omnisend product catalog. Use when adding products for email campaigns or syncing inventory.\",\n input: OmnisendCreateProductInput,\n output: OmnisendCreateProductOutput,\n});\n"],"mappings":";;AAoCA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApCwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;EACxG,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACnE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC9H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAClE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACzH,QAAQ,EAAE,KAAK;GAAC;GAAW;GAAc;EAAc,CAAC,CAAC,CAAC,SAAS,0GAA0G;EAC7K,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC7E,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;GACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;GACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;GAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;GAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;GAC3C,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;GACzG,QAAQ,EAAE,KAAK;IAAC;IAAW;IAAc;GAAc,CAAC,CAAC,CAAC,SAAS,gCAAgC;GACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;GAClE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;GACrF,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,CAAC,SAAS,2GAA2G;EACtL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACvH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACrF,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACpH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC9G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,SAAS,oDASH;CACP,QATyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,EACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-cart.ts
|
|
4
4
|
const OmnisendDeleteCartInput = zod.z.object({ cartID: zod.z.string().describe("Unique identifier of the cart to delete.") });
|
|
5
|
-
const OmnisendDeleteCartOutput = zod.z.
|
|
5
|
+
const OmnisendDeleteCartOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response for successful deletion (204 No Content).");
|
|
6
6
|
const omnisendDeleteCart = require_action.action("OMNISEND_DELETE_CART", {
|
|
7
7
|
slug: "omnisend-delete-cart",
|
|
8
8
|
name: "Delete Cart",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-cart.cjs","names":["z","action"],"sources":["../../src/actions/delete-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteCartInput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to delete.\"),\n});\nexport const OmnisendDeleteCartOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-cart.cjs","names":["z","action"],"sources":["../../src/actions/delete-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteCartInput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to delete.\"),\n});\nexport const OmnisendDeleteCartOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendDeleteCart = action(\"OMNISEND_DELETE_CART\", {\n slug: \"omnisend-delete-cart\",\n name: \"Delete Cart\",\n description: \"Tool to delete a cart from Omnisend by its ID (v3 API). Use when you need to remove an abandoned or expired cart from the system.\",\n input: OmnisendDeleteCartInput,\n output: OmnisendDeleteCartOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,EACxE,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAE7I,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,10 +4,22 @@ import { z } from "zod";
|
|
|
4
4
|
declare const OmnisendDeleteCartInput: z.ZodObject<{
|
|
5
5
|
cartID: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const OmnisendDeleteCartOutput: z.
|
|
7
|
+
declare const OmnisendDeleteCartOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const omnisendDeleteCart: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
cartID: string;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
11
|
+
connectionId: z.ZodString;
|
|
12
|
+
entityId: z.ZodString;
|
|
13
|
+
instanceId: z.ZodString;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
accessToken: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
17
|
+
connectionId: z.ZodString;
|
|
18
|
+
entityId: z.ZodString;
|
|
19
|
+
instanceId: z.ZodString;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
accessToken: z.ZodString;
|
|
22
|
+
}, z.core.$strip>>]>;
|
|
11
23
|
//#endregion
|
|
12
24
|
export { omnisendDeleteCart };
|
|
13
25
|
//# sourceMappingURL=delete-cart.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-cart.d.cts","names":[],"sources":["../../src/actions/delete-cart.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-cart.d.cts","names":[],"sources":["../../src/actions/delete-cart.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -4,10 +4,22 @@ import { z } from "zod";
|
|
|
4
4
|
declare const OmnisendDeleteCartInput: z.ZodObject<{
|
|
5
5
|
cartID: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const OmnisendDeleteCartOutput: z.
|
|
7
|
+
declare const OmnisendDeleteCartOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const omnisendDeleteCart: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
cartID: string;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
11
|
+
connectionId: z.ZodString;
|
|
12
|
+
entityId: z.ZodString;
|
|
13
|
+
instanceId: z.ZodString;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
accessToken: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
17
|
+
connectionId: z.ZodString;
|
|
18
|
+
entityId: z.ZodString;
|
|
19
|
+
instanceId: z.ZodString;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
accessToken: z.ZodString;
|
|
22
|
+
}, z.core.$strip>>]>;
|
|
11
23
|
//#endregion
|
|
12
24
|
export { omnisendDeleteCart };
|
|
13
25
|
//# sourceMappingURL=delete-cart.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-cart.d.mts","names":[],"sources":["../../src/actions/delete-cart.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-cart.d.mts","names":[],"sources":["../../src/actions/delete-cart.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const omnisendDeleteCart = action("OMNISEND_DELETE_CART", {
|
|
|
5
5
|
name: "Delete Cart",
|
|
6
6
|
description: "Tool to delete a cart from Omnisend by its ID (v3 API). Use when you need to remove an abandoned or expired cart from the system.",
|
|
7
7
|
input: z.object({ cartID: z.string().describe("Unique identifier of the cart to delete.") }),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response for successful deletion (204 No Content).")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { omnisendDeleteCart };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-cart.mjs","names":[],"sources":["../../src/actions/delete-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteCartInput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to delete.\"),\n});\nexport const OmnisendDeleteCartOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-cart.mjs","names":[],"sources":["../../src/actions/delete-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteCartInput = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to delete.\"),\n});\nexport const OmnisendDeleteCartOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendDeleteCart = action(\"OMNISEND_DELETE_CART\", {\n slug: \"omnisend-delete-cart\",\n name: \"Delete Cart\",\n description: \"Tool to delete a cart from Omnisend by its ID (v3 API). Use when you need to remove an abandoned or expired cart from the system.\",\n input: OmnisendDeleteCartInput,\n output: OmnisendDeleteCartOutput,\n});\n"],"mappings":";;AASA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATqC,EAAE,OAAO,EAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,EACxE,CAOS;CACP,QAPsC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAOzE;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-category.ts
|
|
4
4
|
const OmnisendDeleteCategoryInput = zod.z.object({ category_id: zod.z.string().describe("Unique identifier of the category to delete.") });
|
|
5
|
-
const OmnisendDeleteCategoryOutput = zod.z.
|
|
5
|
+
const OmnisendDeleteCategoryOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response for successful deletion (204 No Content).");
|
|
6
6
|
const omnisendDeleteCategory = require_action.action("OMNISEND_DELETE_CATEGORY", {
|
|
7
7
|
slug: "omnisend-delete-category",
|
|
8
8
|
name: "Delete Category",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-category.cjs","names":["z","action"],"sources":["../../src/actions/delete-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteCategoryInput = z.object({\n category_id: z.string().describe(\"Unique identifier of the category to delete.\"),\n});\nexport const OmnisendDeleteCategoryOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-category.cjs","names":["z","action"],"sources":["../../src/actions/delete-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteCategoryInput = z.object({\n category_id: z.string().describe(\"Unique identifier of the category to delete.\"),\n});\nexport const OmnisendDeleteCategoryOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendDeleteCategory = action(\"OMNISEND_DELETE_CATEGORY\", {\n slug: \"omnisend-delete-category\",\n name: \"Delete Category\",\n description: \"Tool to remove a category from Omnisend by its ID. Use when you need to delete a category and ensure it is no longer available in your catalog.\",\n input: OmnisendDeleteCategoryInput,\n output: OmnisendDeleteCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACjF,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEjJ,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,10 +4,22 @@ import { z } from "zod";
|
|
|
4
4
|
declare const OmnisendDeleteCategoryInput: z.ZodObject<{
|
|
5
5
|
category_id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const OmnisendDeleteCategoryOutput: z.
|
|
7
|
+
declare const OmnisendDeleteCategoryOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const omnisendDeleteCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
category_id: string;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
11
|
+
connectionId: z.ZodString;
|
|
12
|
+
entityId: z.ZodString;
|
|
13
|
+
instanceId: z.ZodString;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
accessToken: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
17
|
+
connectionId: z.ZodString;
|
|
18
|
+
entityId: z.ZodString;
|
|
19
|
+
instanceId: z.ZodString;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
accessToken: z.ZodString;
|
|
22
|
+
}, z.core.$strip>>]>;
|
|
11
23
|
//#endregion
|
|
12
24
|
export { omnisendDeleteCategory };
|
|
13
25
|
//# sourceMappingURL=delete-category.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-category.d.cts","names":[],"sources":["../../src/actions/delete-category.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-category.d.cts","names":[],"sources":["../../src/actions/delete-category.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -4,10 +4,22 @@ import { z } from "zod";
|
|
|
4
4
|
declare const OmnisendDeleteCategoryInput: z.ZodObject<{
|
|
5
5
|
category_id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const OmnisendDeleteCategoryOutput: z.
|
|
7
|
+
declare const OmnisendDeleteCategoryOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const omnisendDeleteCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
category_id: string;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
11
|
+
connectionId: z.ZodString;
|
|
12
|
+
entityId: z.ZodString;
|
|
13
|
+
instanceId: z.ZodString;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
accessToken: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
17
|
+
connectionId: z.ZodString;
|
|
18
|
+
entityId: z.ZodString;
|
|
19
|
+
instanceId: z.ZodString;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
accessToken: z.ZodString;
|
|
22
|
+
}, z.core.$strip>>]>;
|
|
11
23
|
//#endregion
|
|
12
24
|
export { omnisendDeleteCategory };
|
|
13
25
|
//# sourceMappingURL=delete-category.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-category.d.mts","names":[],"sources":["../../src/actions/delete-category.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-category.d.mts","names":[],"sources":["../../src/actions/delete-category.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const omnisendDeleteCategory = action("OMNISEND_DELETE_CATEGORY", {
|
|
|
5
5
|
name: "Delete Category",
|
|
6
6
|
description: "Tool to remove a category from Omnisend by its ID. Use when you need to delete a category and ensure it is no longer available in your catalog.",
|
|
7
7
|
input: z.object({ category_id: z.string().describe("Unique identifier of the category to delete.") }),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response for successful deletion (204 No Content).")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { omnisendDeleteCategory };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-category.mjs","names":[],"sources":["../../src/actions/delete-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteCategoryInput = z.object({\n category_id: z.string().describe(\"Unique identifier of the category to delete.\"),\n});\nexport const OmnisendDeleteCategoryOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-category.mjs","names":[],"sources":["../../src/actions/delete-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteCategoryInput = z.object({\n category_id: z.string().describe(\"Unique identifier of the category to delete.\"),\n});\nexport const OmnisendDeleteCategoryOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendDeleteCategory = action(\"OMNISEND_DELETE_CATEGORY\", {\n slug: \"omnisend-delete-category\",\n name: \"Delete Category\",\n description: \"Tool to remove a category from Omnisend by its ID. Use when you need to delete a category and ensure it is no longer available in your catalog.\",\n input: OmnisendDeleteCategoryInput,\n output: OmnisendDeleteCategoryOutput,\n});\n"],"mappings":";;AASA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATyC,EAAE,OAAO,EAClD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACjF,CAOS;CACP,QAP0C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAO7E;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-order.ts
|
|
4
4
|
const OmnisendDeleteOrderInput = zod.z.object({ orderID: zod.z.string().describe("Unique identifier of the order to delete.") });
|
|
5
|
-
const OmnisendDeleteOrderOutput = zod.z.
|
|
5
|
+
const OmnisendDeleteOrderOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response for successful deletion (204 No Content).");
|
|
6
6
|
const omnisendDeleteOrder = require_action.action("OMNISEND_DELETE_ORDER", {
|
|
7
7
|
slug: "omnisend-delete-order",
|
|
8
8
|
name: "Delete Order",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-order.cjs","names":["z","action"],"sources":["../../src/actions/delete-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteOrderInput = z.object({\n orderID: z.string().describe(\"Unique identifier of the order to delete.\"),\n});\nexport const OmnisendDeleteOrderOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-order.cjs","names":["z","action"],"sources":["../../src/actions/delete-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteOrderInput = z.object({\n orderID: z.string().describe(\"Unique identifier of the order to delete.\"),\n});\nexport const OmnisendDeleteOrderOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendDeleteOrder = action(\"OMNISEND_DELETE_ORDER\", {\n slug: \"omnisend-delete-order\",\n name: \"Delete Order\",\n description: \"Tool to delete an order from Omnisend by its ID. Use when you need to remove an order from the system.\",\n input: OmnisendDeleteOrderInput,\n output: OmnisendDeleteOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EAC1E,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAE9I,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,10 +4,22 @@ import { z } from "zod";
|
|
|
4
4
|
declare const OmnisendDeleteOrderInput: z.ZodObject<{
|
|
5
5
|
orderID: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const OmnisendDeleteOrderOutput: z.
|
|
7
|
+
declare const OmnisendDeleteOrderOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const omnisendDeleteOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
orderID: string;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
11
|
+
connectionId: z.ZodString;
|
|
12
|
+
entityId: z.ZodString;
|
|
13
|
+
instanceId: z.ZodString;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
accessToken: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
17
|
+
connectionId: z.ZodString;
|
|
18
|
+
entityId: z.ZodString;
|
|
19
|
+
instanceId: z.ZodString;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
accessToken: z.ZodString;
|
|
22
|
+
}, z.core.$strip>>]>;
|
|
11
23
|
//#endregion
|
|
12
24
|
export { omnisendDeleteOrder };
|
|
13
25
|
//# sourceMappingURL=delete-order.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-order.d.cts","names":[],"sources":["../../src/actions/delete-order.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-order.d.cts","names":[],"sources":["../../src/actions/delete-order.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -4,10 +4,22 @@ import { z } from "zod";
|
|
|
4
4
|
declare const OmnisendDeleteOrderInput: z.ZodObject<{
|
|
5
5
|
orderID: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const OmnisendDeleteOrderOutput: z.
|
|
7
|
+
declare const OmnisendDeleteOrderOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const omnisendDeleteOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
orderID: string;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
11
|
+
connectionId: z.ZodString;
|
|
12
|
+
entityId: z.ZodString;
|
|
13
|
+
instanceId: z.ZodString;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
accessToken: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
17
|
+
connectionId: z.ZodString;
|
|
18
|
+
entityId: z.ZodString;
|
|
19
|
+
instanceId: z.ZodString;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
accessToken: z.ZodString;
|
|
22
|
+
}, z.core.$strip>>]>;
|
|
11
23
|
//#endregion
|
|
12
24
|
export { omnisendDeleteOrder };
|
|
13
25
|
//# sourceMappingURL=delete-order.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-order.d.mts","names":[],"sources":["../../src/actions/delete-order.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-order.d.mts","names":[],"sources":["../../src/actions/delete-order.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAGxB,yBAAA,EAAyB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const omnisendDeleteOrder = action("OMNISEND_DELETE_ORDER", {
|
|
|
5
5
|
name: "Delete Order",
|
|
6
6
|
description: "Tool to delete an order from Omnisend by its ID. Use when you need to remove an order from the system.",
|
|
7
7
|
input: z.object({ orderID: z.string().describe("Unique identifier of the order to delete.") }),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response for successful deletion (204 No Content).")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { omnisendDeleteOrder };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-order.mjs","names":[],"sources":["../../src/actions/delete-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteOrderInput = z.object({\n orderID: z.string().describe(\"Unique identifier of the order to delete.\"),\n});\nexport const OmnisendDeleteOrderOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-order.mjs","names":[],"sources":["../../src/actions/delete-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteOrderInput = z.object({\n orderID: z.string().describe(\"Unique identifier of the order to delete.\"),\n});\nexport const OmnisendDeleteOrderOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendDeleteOrder = action(\"OMNISEND_DELETE_ORDER\", {\n slug: \"omnisend-delete-order\",\n name: \"Delete Order\",\n description: \"Tool to delete an order from Omnisend by its ID. Use when you need to remove an order from the system.\",\n input: OmnisendDeleteOrderInput,\n output: OmnisendDeleteOrderOutput,\n});\n"],"mappings":";;AASA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATsC,EAAE,OAAO,EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EAC1E,CAOS;CACP,QAPuC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAO1E;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-product-category.ts
|
|
4
4
|
const OmnisendDeleteProductCategoryInput = zod.z.object({ category_id: zod.z.string().describe("Unique identifier of the product category to delete.") });
|
|
5
|
-
const OmnisendDeleteProductCategoryOutput = zod.z.
|
|
5
|
+
const OmnisendDeleteProductCategoryOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response for successful deletion (204 No Content).");
|
|
6
6
|
const omnisendDeleteProductCategory = require_action.action("OMNISEND_DELETE_PRODUCT_CATEGORY", {
|
|
7
7
|
slug: "omnisend-delete-product-category",
|
|
8
8
|
name: "Delete Product Category",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-product-category.cjs","names":["z","action"],"sources":["../../src/actions/delete-product-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteProductCategoryInput = z.object({\n category_id: z.string().describe(\"Unique identifier of the product category to delete.\"),\n});\nexport const OmnisendDeleteProductCategoryOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-product-category.cjs","names":["z","action"],"sources":["../../src/actions/delete-product-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteProductCategoryInput = z.object({\n category_id: z.string().describe(\"Unique identifier of the product category to delete.\"),\n});\nexport const OmnisendDeleteProductCategoryOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendDeleteProductCategory = action(\"OMNISEND_DELETE_PRODUCT_CATEGORY\", {\n slug: \"omnisend-delete-product-category\",\n name: \"Delete Product Category\",\n description: \"Tool to remove a product category from Omnisend by its ID. Use when you need to delete a product category from your catalog.\",\n input: OmnisendDeleteProductCategoryInput,\n output: OmnisendDeleteProductCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EACzF,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAExJ,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,10 +4,22 @@ import { z } from "zod";
|
|
|
4
4
|
declare const OmnisendDeleteProductCategoryInput: z.ZodObject<{
|
|
5
5
|
category_id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const OmnisendDeleteProductCategoryOutput: z.
|
|
7
|
+
declare const OmnisendDeleteProductCategoryOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const omnisendDeleteProductCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
category_id: string;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
11
|
+
connectionId: z.ZodString;
|
|
12
|
+
entityId: z.ZodString;
|
|
13
|
+
instanceId: z.ZodString;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
accessToken: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
17
|
+
connectionId: z.ZodString;
|
|
18
|
+
entityId: z.ZodString;
|
|
19
|
+
instanceId: z.ZodString;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
accessToken: z.ZodString;
|
|
22
|
+
}, z.core.$strip>>]>;
|
|
11
23
|
//#endregion
|
|
12
24
|
export { omnisendDeleteProductCategory };
|
|
13
25
|
//# sourceMappingURL=delete-product-category.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-product-category.d.cts","names":[],"sources":["../../src/actions/delete-product-category.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-product-category.d.cts","names":[],"sources":["../../src/actions/delete-product-category.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEnC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -4,10 +4,22 @@ import { z } from "zod";
|
|
|
4
4
|
declare const OmnisendDeleteProductCategoryInput: z.ZodObject<{
|
|
5
5
|
category_id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const OmnisendDeleteProductCategoryOutput: z.
|
|
7
|
+
declare const OmnisendDeleteProductCategoryOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const omnisendDeleteProductCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
category_id: string;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
11
|
+
connectionId: z.ZodString;
|
|
12
|
+
entityId: z.ZodString;
|
|
13
|
+
instanceId: z.ZodString;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
accessToken: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
17
|
+
connectionId: z.ZodString;
|
|
18
|
+
entityId: z.ZodString;
|
|
19
|
+
instanceId: z.ZodString;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
accessToken: z.ZodString;
|
|
22
|
+
}, z.core.$strip>>]>;
|
|
11
23
|
//#endregion
|
|
12
24
|
export { omnisendDeleteProductCategory };
|
|
13
25
|
//# sourceMappingURL=delete-product-category.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-product-category.d.mts","names":[],"sources":["../../src/actions/delete-product-category.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-product-category.d.mts","names":[],"sources":["../../src/actions/delete-product-category.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEnC,6BAAA,gCAA6B,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const omnisendDeleteProductCategory = action("OMNISEND_DELETE_PRODUCT_CATEGORY",
|
|
|
5
5
|
name: "Delete Product Category",
|
|
6
6
|
description: "Tool to remove a product category from Omnisend by its ID. Use when you need to delete a product category from your catalog.",
|
|
7
7
|
input: z.object({ category_id: z.string().describe("Unique identifier of the product category to delete.") }),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response for successful deletion (204 No Content).")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { omnisendDeleteProductCategory };
|