@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
|
@@ -22,7 +22,7 @@ const OmnisendAddCartProductOutput = zod.z.object({
|
|
|
22
22
|
product_id: zod.z.string().describe("The product identifier.").nullable(),
|
|
23
23
|
variant_id: zod.z.string().describe("The variant identifier.").nullable(),
|
|
24
24
|
cart_product_id: zod.z.string().describe("The cart product identifier.").nullable()
|
|
25
|
-
});
|
|
25
|
+
}).passthrough();
|
|
26
26
|
const omnisendAddCartProduct = require_action.action("OMNISEND_ADD_CART_PRODUCT", {
|
|
27
27
|
slug: "omnisend-add-cart-product",
|
|
28
28
|
name: "Add Cart Product",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-cart-product.cjs","names":["z","action"],"sources":["../../src/actions/add-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendAddCartProductInput = z.object({\n sku: z.string().describe(\"Stock keeping unit identifier.\").optional(),\n price: z.number().int().describe(\"Current price in cents (e.g., 12111 for $121.11).\"),\n title: z.string().describe(\"Product name or title.\"),\n cart_id: z.string().describe(\"Unique identifier of the cart to add the product to.\"),\n currency: z.string().describe(\"ISO 4217 currency code (3 characters).\"),\n discount: z.number().int().describe(\"Discount amount in cents.\").optional(),\n quantity: z.number().int().describe(\"Number of items. Must be a whole number greater than or equal to 1.\"),\n image_url: z.string().describe(\"URL to product image.\").optional(),\n old_price: z.number().int().describe(\"Original price before discount in cents (e.g., 14311 for $143.11).\").optional(),\n product_id: z.string().describe(\"Unique product identifier from your catalog.\"),\n variant_id: z.string().describe(\"Product variant identifier for tracking specific product variations.\"),\n description: z.string().describe(\"Product description text.\").optional(),\n product_url: z.string().describe(\"URL to product page.\").optional(),\n cart_product_id: z.string().describe(\"Product identifier in cart. Must be unique within the cart.\"),\n});\nexport const OmnisendAddCartProductOutput = z.object({\n cart_id: z.string().describe(\"The cart identifier.\").nullable(),\n product_id: z.string().describe(\"The product identifier.\").nullable(),\n variant_id: z.string().describe(\"The variant identifier.\").nullable(),\n cart_product_id: z.string().describe(\"The cart product identifier.\").nullable(),\n});\n\nexport const omnisendAddCartProduct = action(\"OMNISEND_ADD_CART_PRODUCT\", {\n slug: \"omnisend-add-cart-product\",\n name: \"Add Cart Product\",\n description: \"Tool to add a product to a cart in Omnisend (v3 API). Use when updating cart contents or tracking abandoned carts.\",\n input: OmnisendAddCartProductInput,\n output: OmnisendAddCartProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAClE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AACpG,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACpE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAChF,CAAC;
|
|
1
|
+
{"version":3,"file":"add-cart-product.cjs","names":["z","action"],"sources":["../../src/actions/add-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendAddCartProductInput = z.object({\n sku: z.string().describe(\"Stock keeping unit identifier.\").optional(),\n price: z.number().int().describe(\"Current price in cents (e.g., 12111 for $121.11).\"),\n title: z.string().describe(\"Product name or title.\"),\n cart_id: z.string().describe(\"Unique identifier of the cart to add the product to.\"),\n currency: z.string().describe(\"ISO 4217 currency code (3 characters).\"),\n discount: z.number().int().describe(\"Discount amount in cents.\").optional(),\n quantity: z.number().int().describe(\"Number of items. Must be a whole number greater than or equal to 1.\"),\n image_url: z.string().describe(\"URL to product image.\").optional(),\n old_price: z.number().int().describe(\"Original price before discount in cents (e.g., 14311 for $143.11).\").optional(),\n product_id: z.string().describe(\"Unique product identifier from your catalog.\"),\n variant_id: z.string().describe(\"Product variant identifier for tracking specific product variations.\"),\n description: z.string().describe(\"Product description text.\").optional(),\n product_url: z.string().describe(\"URL to product page.\").optional(),\n cart_product_id: z.string().describe(\"Product identifier in cart. Must be unique within the cart.\"),\n});\nexport const OmnisendAddCartProductOutput = z.object({\n cart_id: z.string().describe(\"The cart identifier.\").nullable(),\n product_id: z.string().describe(\"The product identifier.\").nullable(),\n variant_id: z.string().describe(\"The variant identifier.\").nullable(),\n cart_product_id: z.string().describe(\"The cart product identifier.\").nullable(),\n}).passthrough();\n\nexport const omnisendAddCartProduct = action(\"OMNISEND_ADD_CART_PRODUCT\", {\n slug: \"omnisend-add-cart-product\",\n name: \"Add Cart Product\",\n description: \"Tool to add a product to a cart in Omnisend (v3 API). Use when updating cart contents or tracking abandoned carts.\",\n input: OmnisendAddCartProductInput,\n output: OmnisendAddCartProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACpF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACvE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAClE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AACpG,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACpE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -22,7 +22,7 @@ declare const OmnisendAddCartProductOutput: z.ZodObject<{
|
|
|
22
22
|
product_id: z.ZodNullable<z.ZodString>;
|
|
23
23
|
variant_id: z.ZodNullable<z.ZodString>;
|
|
24
24
|
cart_product_id: z.ZodNullable<z.ZodString>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const omnisendAddCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
price: number;
|
|
28
28
|
title: string;
|
|
@@ -38,7 +38,19 @@ declare const omnisendAddCartProduct: import("@keystrokehq/action").WorkflowActi
|
|
|
38
38
|
old_price?: number | undefined;
|
|
39
39
|
description?: string | undefined;
|
|
40
40
|
product_url?: string | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
41
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
42
|
+
connectionId: z.ZodString;
|
|
43
|
+
entityId: z.ZodString;
|
|
44
|
+
instanceId: z.ZodString;
|
|
45
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
+
accessToken: z.ZodString;
|
|
47
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
48
|
+
connectionId: z.ZodString;
|
|
49
|
+
entityId: z.ZodString;
|
|
50
|
+
instanceId: z.ZodString;
|
|
51
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
+
accessToken: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>]>;
|
|
42
54
|
//#endregion
|
|
43
55
|
export { omnisendAddCartProduct };
|
|
44
56
|
//# sourceMappingURL=add-cart-product.d.cts.map
|
|
@@ -22,7 +22,7 @@ declare const OmnisendAddCartProductOutput: z.ZodObject<{
|
|
|
22
22
|
product_id: z.ZodNullable<z.ZodString>;
|
|
23
23
|
variant_id: z.ZodNullable<z.ZodString>;
|
|
24
24
|
cart_product_id: z.ZodNullable<z.ZodString>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const omnisendAddCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
price: number;
|
|
28
28
|
title: string;
|
|
@@ -38,7 +38,19 @@ declare const omnisendAddCartProduct: import("@keystrokehq/action").WorkflowActi
|
|
|
38
38
|
old_price?: number | undefined;
|
|
39
39
|
description?: string | undefined;
|
|
40
40
|
product_url?: string | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
41
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
42
|
+
connectionId: z.ZodString;
|
|
43
|
+
entityId: z.ZodString;
|
|
44
|
+
instanceId: z.ZodString;
|
|
45
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
+
accessToken: z.ZodString;
|
|
47
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
48
|
+
connectionId: z.ZodString;
|
|
49
|
+
entityId: z.ZodString;
|
|
50
|
+
instanceId: z.ZodString;
|
|
51
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
+
accessToken: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>]>;
|
|
42
54
|
//#endregion
|
|
43
55
|
export { omnisendAddCartProduct };
|
|
44
56
|
//# sourceMappingURL=add-cart-product.d.mts.map
|
|
@@ -25,7 +25,7 @@ const omnisendAddCartProduct = action("OMNISEND_ADD_CART_PRODUCT", {
|
|
|
25
25
|
product_id: z.string().describe("The product identifier.").nullable(),
|
|
26
26
|
variant_id: z.string().describe("The variant identifier.").nullable(),
|
|
27
27
|
cart_product_id: z.string().describe("The cart product identifier.").nullable()
|
|
28
|
-
})
|
|
28
|
+
}).passthrough()
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { omnisendAddCartProduct };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-cart-product.mjs","names":[],"sources":["../../src/actions/add-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendAddCartProductInput = z.object({\n sku: z.string().describe(\"Stock keeping unit identifier.\").optional(),\n price: z.number().int().describe(\"Current price in cents (e.g., 12111 for $121.11).\"),\n title: z.string().describe(\"Product name or title.\"),\n cart_id: z.string().describe(\"Unique identifier of the cart to add the product to.\"),\n currency: z.string().describe(\"ISO 4217 currency code (3 characters).\"),\n discount: z.number().int().describe(\"Discount amount in cents.\").optional(),\n quantity: z.number().int().describe(\"Number of items. Must be a whole number greater than or equal to 1.\"),\n image_url: z.string().describe(\"URL to product image.\").optional(),\n old_price: z.number().int().describe(\"Original price before discount in cents (e.g., 14311 for $143.11).\").optional(),\n product_id: z.string().describe(\"Unique product identifier from your catalog.\"),\n variant_id: z.string().describe(\"Product variant identifier for tracking specific product variations.\"),\n description: z.string().describe(\"Product description text.\").optional(),\n product_url: z.string().describe(\"URL to product page.\").optional(),\n cart_product_id: z.string().describe(\"Product identifier in cart. Must be unique within the cart.\"),\n});\nexport const OmnisendAddCartProductOutput = z.object({\n cart_id: z.string().describe(\"The cart identifier.\").nullable(),\n product_id: z.string().describe(\"The product identifier.\").nullable(),\n variant_id: z.string().describe(\"The variant identifier.\").nullable(),\n cart_product_id: z.string().describe(\"The cart product identifier.\").nullable(),\n});\n\nexport const omnisendAddCartProduct = action(\"OMNISEND_ADD_CART_PRODUCT\", {\n slug: \"omnisend-add-cart-product\",\n name: \"Add Cart Product\",\n description: \"Tool to add a product to a cart in Omnisend (v3 API). Use when updating cart contents or tracking abandoned carts.\",\n input: OmnisendAddCartProductInput,\n output: OmnisendAddCartProductOutput,\n});\n"],"mappings":";;AA2BA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3ByC,EAAE,OAAO;EAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;EACpF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;EACzG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACjE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACpH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAClE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACpG,CAYS;CACP,QAZ0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACpE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAChF,
|
|
1
|
+
{"version":3,"file":"add-cart-product.mjs","names":[],"sources":["../../src/actions/add-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendAddCartProductInput = z.object({\n sku: z.string().describe(\"Stock keeping unit identifier.\").optional(),\n price: z.number().int().describe(\"Current price in cents (e.g., 12111 for $121.11).\"),\n title: z.string().describe(\"Product name or title.\"),\n cart_id: z.string().describe(\"Unique identifier of the cart to add the product to.\"),\n currency: z.string().describe(\"ISO 4217 currency code (3 characters).\"),\n discount: z.number().int().describe(\"Discount amount in cents.\").optional(),\n quantity: z.number().int().describe(\"Number of items. Must be a whole number greater than or equal to 1.\"),\n image_url: z.string().describe(\"URL to product image.\").optional(),\n old_price: z.number().int().describe(\"Original price before discount in cents (e.g., 14311 for $143.11).\").optional(),\n product_id: z.string().describe(\"Unique product identifier from your catalog.\"),\n variant_id: z.string().describe(\"Product variant identifier for tracking specific product variations.\"),\n description: z.string().describe(\"Product description text.\").optional(),\n product_url: z.string().describe(\"URL to product page.\").optional(),\n cart_product_id: z.string().describe(\"Product identifier in cart. Must be unique within the cart.\"),\n});\nexport const OmnisendAddCartProductOutput = z.object({\n cart_id: z.string().describe(\"The cart identifier.\").nullable(),\n product_id: z.string().describe(\"The product identifier.\").nullable(),\n variant_id: z.string().describe(\"The variant identifier.\").nullable(),\n cart_product_id: z.string().describe(\"The cart product identifier.\").nullable(),\n}).passthrough();\n\nexport const omnisendAddCartProduct = action(\"OMNISEND_ADD_CART_PRODUCT\", {\n slug: \"omnisend-add-cart-product\",\n name: \"Add Cart Product\",\n description: \"Tool to add a product to a cart in Omnisend (v3 API). Use when updating cart contents or tracking abandoned carts.\",\n input: OmnisendAddCartProductInput,\n output: OmnisendAddCartProductOutput,\n});\n"],"mappings":";;AA2BA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3ByC,EAAE,OAAO;EAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;EACpF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;EACzG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACjE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACpH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACvE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAClE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACpG,CAYS;CACP,QAZ0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACpE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -17,12 +17,12 @@ const OmnisendCreateBatch_BatchErrorSchema = zod.z.object({
|
|
|
17
17
|
data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional error details returned by the server.").nullable().optional(),
|
|
18
18
|
message: zod.z.string().describe("Error message for the failed item.").nullable(),
|
|
19
19
|
itemIndex: zod.z.number().int().describe("Zero-based index of the failed item in the request.").nullable().optional()
|
|
20
|
-
}).describe("Error detail for an individual item in the batch.");
|
|
20
|
+
}).passthrough().describe("Error detail for an individual item in the batch.");
|
|
21
21
|
const OmnisendCreateBatch_BatchResponseItemSchema = zod.z.object({
|
|
22
22
|
id: zod.z.string().describe("ID of the created or updated item.").nullable().optional(),
|
|
23
23
|
data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response body of the individual operation.").nullable().optional(),
|
|
24
24
|
status: zod.z.number().int().describe("HTTP status code for the item.").nullable().optional()
|
|
25
|
-
}).describe("Response detail for a successfully processed item in the batch.");
|
|
25
|
+
}).passthrough().describe("Response detail for a successfully processed item in the batch.");
|
|
26
26
|
const OmnisendCreateBatchOutput = zod.z.object({
|
|
27
27
|
errors: zod.z.array(OmnisendCreateBatch_BatchErrorSchema).describe("List of errors for failed items.").nullable().optional(),
|
|
28
28
|
status: zod.z.enum([
|
|
@@ -39,7 +39,7 @@ const OmnisendCreateBatchOutput = zod.z.object({
|
|
|
39
39
|
totalCount: zod.z.number().int().describe("Total number of items in the batch.").nullable(),
|
|
40
40
|
errorsCount: zod.z.number().int().describe("Number of items that encountered errors.").nullable().optional(),
|
|
41
41
|
finishedCount: zod.z.number().int().describe("Number of successfully processed items.").nullable().optional()
|
|
42
|
-
}).describe("Response schema returned after creating a batch.");
|
|
42
|
+
}).passthrough().describe("Response schema returned after creating a batch.");
|
|
43
43
|
const omnisendCreateBatch = require_action.action("OMNISEND_CREATE_BATCH", {
|
|
44
44
|
slug: "omnisend-create-batch",
|
|
45
45
|
name: "Create Batch",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-batch.cjs","names":["z","action"],"sources":["../../src/actions/create-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendCreateBatchInput = z.object({\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Array of payload objects for each operation.\"),\n method: z.enum([\"POST\", \"PUT\"]).describe(\"HTTP method for all operations in this batch. Must be POST or PUT.\"),\n eventID: z.string().describe(\"Required when endpoint is 'events'; the ID of the event to trigger.\").optional(),\n endpoint: z.enum([\"contacts\", \"orders\", \"products\", \"events\", \"categories\"]).describe(\"Target endpoint for the operations.\"),\n}).describe(\"Request schema for creating a batch of operations. Operations\\nmust use the same HTTP method and target endpoint.\");\nconst OmnisendCreateBatch_BatchErrorSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional error details returned by the server.\").nullable().optional(),\n message: z.string().describe(\"Error message for the failed item.\").nullable(),\n itemIndex: z.number().int().describe(\"Zero-based index of the failed item in the request.\").nullable().optional(),\n}).describe(\"Error detail for an individual item in the batch.\");\nconst OmnisendCreateBatch_BatchResponseItemSchema = z.object({\n id: z.string().describe(\"ID of the created or updated item.\").nullable().optional(),\n data: z.record(z.string(), z.unknown()).describe(\"Response body of the individual operation.\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code for the item.\").nullable().optional(),\n}).describe(\"Response detail for a successfully processed item in the batch.\");\nexport const OmnisendCreateBatchOutput = z.object({\n errors: z.array(OmnisendCreateBatch_BatchErrorSchema).describe(\"List of errors for failed items.\").nullable().optional(),\n status: z.enum([\"pending\", \"inProgress\", \"finished\", \"stopped\"]).describe(\"Current status of the batch.\").nullable().optional(),\n batchID: z.string().describe(\"Unique identifier for the created batch.\").nullable(),\n endedAt: z.string().describe(\"Batch end timestamp.\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n responses: z.array(OmnisendCreateBatch_BatchResponseItemSchema).describe(\"List of responses for processed items.\").nullable().optional(),\n startedAt: z.string().describe(\"Batch start timestamp.\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch.\").nullable(),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors.\").nullable().optional(),\n finishedCount: z.number().int().describe(\"Number of successfully processed items.\").nullable().optional(),\n}).describe(\"Response schema returned after creating a batch.\");\n\nexport const omnisendCreateBatch = action(\"OMNISEND_CREATE_BATCH\", {\n slug: \"omnisend-create-batch\",\n name: \"Create Batch\",\n description: \"Tool to create a new batch operation for multiple items. Use when you need to process many records asynchronously in one call, e.g., bulk contacts, products, orders, or events. Use after preparing the items list to avoid rate limits.\",\n input: OmnisendCreateBatchInput,\n output: OmnisendCreateBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8CAA8C;CACzG,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,oEAAoE;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;EAAY;EAAU;CAAY,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAC7H,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAC/H,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,mDAAmD;
|
|
1
|
+
{"version":3,"file":"create-batch.cjs","names":["z","action"],"sources":["../../src/actions/create-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendCreateBatchInput = z.object({\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Array of payload objects for each operation.\"),\n method: z.enum([\"POST\", \"PUT\"]).describe(\"HTTP method for all operations in this batch. Must be POST or PUT.\"),\n eventID: z.string().describe(\"Required when endpoint is 'events'; the ID of the event to trigger.\").optional(),\n endpoint: z.enum([\"contacts\", \"orders\", \"products\", \"events\", \"categories\"]).describe(\"Target endpoint for the operations.\"),\n}).describe(\"Request schema for creating a batch of operations. Operations\\nmust use the same HTTP method and target endpoint.\");\nconst OmnisendCreateBatch_BatchErrorSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional error details returned by the server.\").nullable().optional(),\n message: z.string().describe(\"Error message for the failed item.\").nullable(),\n itemIndex: z.number().int().describe(\"Zero-based index of the failed item in the request.\").nullable().optional(),\n}).passthrough().describe(\"Error detail for an individual item in the batch.\");\nconst OmnisendCreateBatch_BatchResponseItemSchema = z.object({\n id: z.string().describe(\"ID of the created or updated item.\").nullable().optional(),\n data: z.record(z.string(), z.unknown()).describe(\"Response body of the individual operation.\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code for the item.\").nullable().optional(),\n}).passthrough().describe(\"Response detail for a successfully processed item in the batch.\");\nexport const OmnisendCreateBatchOutput = z.object({\n errors: z.array(OmnisendCreateBatch_BatchErrorSchema).describe(\"List of errors for failed items.\").nullable().optional(),\n status: z.enum([\"pending\", \"inProgress\", \"finished\", \"stopped\"]).describe(\"Current status of the batch.\").nullable().optional(),\n batchID: z.string().describe(\"Unique identifier for the created batch.\").nullable(),\n endedAt: z.string().describe(\"Batch end timestamp.\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n responses: z.array(OmnisendCreateBatch_BatchResponseItemSchema).describe(\"List of responses for processed items.\").nullable().optional(),\n startedAt: z.string().describe(\"Batch start timestamp.\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch.\").nullable(),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors.\").nullable().optional(),\n finishedCount: z.number().int().describe(\"Number of successfully processed items.\").nullable().optional(),\n}).passthrough().describe(\"Response schema returned after creating a batch.\");\n\nexport const omnisendCreateBatch = action(\"OMNISEND_CREATE_BATCH\", {\n slug: \"omnisend-create-batch\",\n name: \"Create Batch\",\n description: \"Tool to create a new batch operation for multiple items. Use when you need to process many records asynchronously in one call, e.g., bulk contacts, products, orders, or events. Use after preparing the items list to avoid rate limits.\",\n input: OmnisendCreateBatchInput,\n output: OmnisendCreateBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8CAA8C;CACzG,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,oEAAoE;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;EAAY;EAAU;CAAY,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAC7H,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAC/H,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAC3F,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAc;EAAY;CAAS,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,9 +9,9 @@ declare const OmnisendCreateBatchInput: z.ZodObject<{
|
|
|
9
9
|
}>;
|
|
10
10
|
eventID: z.ZodOptional<z.ZodString>;
|
|
11
11
|
endpoint: z.ZodEnum<{
|
|
12
|
-
products: "products";
|
|
13
12
|
contacts: "contacts";
|
|
14
13
|
orders: "orders";
|
|
14
|
+
products: "products";
|
|
15
15
|
events: "events";
|
|
16
16
|
categories: "categories";
|
|
17
17
|
}>;
|
|
@@ -21,7 +21,7 @@ declare const OmnisendCreateBatchOutput: z.ZodObject<{
|
|
|
21
21
|
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
22
|
message: z.ZodNullable<z.ZodString>;
|
|
23
23
|
itemIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
25
|
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
26
26
|
pending: "pending";
|
|
27
27
|
inProgress: "inProgress";
|
|
@@ -35,18 +35,30 @@ declare const OmnisendCreateBatchOutput: z.ZodObject<{
|
|
|
35
35
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
37
37
|
status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>>>;
|
|
39
39
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
totalCount: z.ZodNullable<z.ZodNumber>;
|
|
41
41
|
errorsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
42
|
finishedCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>;
|
|
44
44
|
declare const omnisendCreateBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
items: Record<string, unknown>[];
|
|
46
46
|
method: "POST" | "PUT";
|
|
47
|
-
endpoint: "
|
|
47
|
+
endpoint: "contacts" | "orders" | "products" | "events" | "categories";
|
|
48
48
|
eventID?: string | undefined;
|
|
49
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
49
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
50
|
+
connectionId: z.ZodString;
|
|
51
|
+
entityId: z.ZodString;
|
|
52
|
+
instanceId: z.ZodString;
|
|
53
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
+
accessToken: z.ZodString;
|
|
55
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
56
|
+
connectionId: z.ZodString;
|
|
57
|
+
entityId: z.ZodString;
|
|
58
|
+
instanceId: z.ZodString;
|
|
59
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
+
accessToken: z.ZodString;
|
|
61
|
+
}, z.core.$strip>>]>;
|
|
50
62
|
//#endregion
|
|
51
63
|
export { omnisendCreateBatch };
|
|
52
64
|
//# sourceMappingURL=create-batch.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-batch.d.cts","names":[],"sources":["../../src/actions/create-batch.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAazB,mBAAA,gCAAmB,wBAAA
|
|
1
|
+
{"version":3,"file":"create-batch.d.cts","names":[],"sources":["../../src/actions/create-batch.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAazB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -9,9 +9,9 @@ declare const OmnisendCreateBatchInput: z.ZodObject<{
|
|
|
9
9
|
}>;
|
|
10
10
|
eventID: z.ZodOptional<z.ZodString>;
|
|
11
11
|
endpoint: z.ZodEnum<{
|
|
12
|
-
products: "products";
|
|
13
12
|
contacts: "contacts";
|
|
14
13
|
orders: "orders";
|
|
14
|
+
products: "products";
|
|
15
15
|
events: "events";
|
|
16
16
|
categories: "categories";
|
|
17
17
|
}>;
|
|
@@ -21,7 +21,7 @@ declare const OmnisendCreateBatchOutput: z.ZodObject<{
|
|
|
21
21
|
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
22
22
|
message: z.ZodNullable<z.ZodString>;
|
|
23
23
|
itemIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
25
|
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
26
26
|
pending: "pending";
|
|
27
27
|
inProgress: "inProgress";
|
|
@@ -35,18 +35,30 @@ declare const OmnisendCreateBatchOutput: z.ZodObject<{
|
|
|
35
35
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
37
37
|
status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>>>;
|
|
39
39
|
startedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
totalCount: z.ZodNullable<z.ZodNumber>;
|
|
41
41
|
errorsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
42
|
finishedCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>;
|
|
44
44
|
declare const omnisendCreateBatch: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
items: Record<string, unknown>[];
|
|
46
46
|
method: "POST" | "PUT";
|
|
47
|
-
endpoint: "
|
|
47
|
+
endpoint: "contacts" | "orders" | "products" | "events" | "categories";
|
|
48
48
|
eventID?: string | undefined;
|
|
49
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
49
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
50
|
+
connectionId: z.ZodString;
|
|
51
|
+
entityId: z.ZodString;
|
|
52
|
+
instanceId: z.ZodString;
|
|
53
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
+
accessToken: z.ZodString;
|
|
55
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
56
|
+
connectionId: z.ZodString;
|
|
57
|
+
entityId: z.ZodString;
|
|
58
|
+
instanceId: z.ZodString;
|
|
59
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
+
accessToken: z.ZodString;
|
|
61
|
+
}, z.core.$strip>>]>;
|
|
50
62
|
//#endregion
|
|
51
63
|
export { omnisendCreateBatch };
|
|
52
64
|
//# sourceMappingURL=create-batch.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-batch.d.mts","names":[],"sources":["../../src/actions/create-batch.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAazB,mBAAA,gCAAmB,wBAAA
|
|
1
|
+
{"version":3,"file":"create-batch.d.mts","names":[],"sources":["../../src/actions/create-batch.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAazB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -17,12 +17,12 @@ const OmnisendCreateBatch_BatchErrorSchema = z.object({
|
|
|
17
17
|
data: z.record(z.string(), z.unknown()).describe("Additional error details returned by the server.").nullable().optional(),
|
|
18
18
|
message: z.string().describe("Error message for the failed item.").nullable(),
|
|
19
19
|
itemIndex: z.number().int().describe("Zero-based index of the failed item in the request.").nullable().optional()
|
|
20
|
-
}).describe("Error detail for an individual item in the batch.");
|
|
20
|
+
}).passthrough().describe("Error detail for an individual item in the batch.");
|
|
21
21
|
const OmnisendCreateBatch_BatchResponseItemSchema = z.object({
|
|
22
22
|
id: z.string().describe("ID of the created or updated item.").nullable().optional(),
|
|
23
23
|
data: z.record(z.string(), z.unknown()).describe("Response body of the individual operation.").nullable().optional(),
|
|
24
24
|
status: z.number().int().describe("HTTP status code for the item.").nullable().optional()
|
|
25
|
-
}).describe("Response detail for a successfully processed item in the batch.");
|
|
25
|
+
}).passthrough().describe("Response detail for a successfully processed item in the batch.");
|
|
26
26
|
const omnisendCreateBatch = action("OMNISEND_CREATE_BATCH", {
|
|
27
27
|
slug: "omnisend-create-batch",
|
|
28
28
|
name: "Create Batch",
|
|
@@ -44,7 +44,7 @@ const omnisendCreateBatch = action("OMNISEND_CREATE_BATCH", {
|
|
|
44
44
|
totalCount: z.number().int().describe("Total number of items in the batch.").nullable(),
|
|
45
45
|
errorsCount: z.number().int().describe("Number of items that encountered errors.").nullable().optional(),
|
|
46
46
|
finishedCount: z.number().int().describe("Number of successfully processed items.").nullable().optional()
|
|
47
|
-
}).describe("Response schema returned after creating a batch.")
|
|
47
|
+
}).passthrough().describe("Response schema returned after creating a batch.")
|
|
48
48
|
});
|
|
49
49
|
//#endregion
|
|
50
50
|
export { omnisendCreateBatch };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-batch.mjs","names":[],"sources":["../../src/actions/create-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendCreateBatchInput = z.object({\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Array of payload objects for each operation.\"),\n method: z.enum([\"POST\", \"PUT\"]).describe(\"HTTP method for all operations in this batch. Must be POST or PUT.\"),\n eventID: z.string().describe(\"Required when endpoint is 'events'; the ID of the event to trigger.\").optional(),\n endpoint: z.enum([\"contacts\", \"orders\", \"products\", \"events\", \"categories\"]).describe(\"Target endpoint for the operations.\"),\n}).describe(\"Request schema for creating a batch of operations. Operations\\nmust use the same HTTP method and target endpoint.\");\nconst OmnisendCreateBatch_BatchErrorSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional error details returned by the server.\").nullable().optional(),\n message: z.string().describe(\"Error message for the failed item.\").nullable(),\n itemIndex: z.number().int().describe(\"Zero-based index of the failed item in the request.\").nullable().optional(),\n}).describe(\"Error detail for an individual item in the batch.\");\nconst OmnisendCreateBatch_BatchResponseItemSchema = z.object({\n id: z.string().describe(\"ID of the created or updated item.\").nullable().optional(),\n data: z.record(z.string(), z.unknown()).describe(\"Response body of the individual operation.\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code for the item.\").nullable().optional(),\n}).describe(\"Response detail for a successfully processed item in the batch.\");\nexport const OmnisendCreateBatchOutput = z.object({\n errors: z.array(OmnisendCreateBatch_BatchErrorSchema).describe(\"List of errors for failed items.\").nullable().optional(),\n status: z.enum([\"pending\", \"inProgress\", \"finished\", \"stopped\"]).describe(\"Current status of the batch.\").nullable().optional(),\n batchID: z.string().describe(\"Unique identifier for the created batch.\").nullable(),\n endedAt: z.string().describe(\"Batch end timestamp.\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n responses: z.array(OmnisendCreateBatch_BatchResponseItemSchema).describe(\"List of responses for processed items.\").nullable().optional(),\n startedAt: z.string().describe(\"Batch start timestamp.\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch.\").nullable(),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors.\").nullable().optional(),\n finishedCount: z.number().int().describe(\"Number of successfully processed items.\").nullable().optional(),\n}).describe(\"Response schema returned after creating a batch.\");\n\nexport const omnisendCreateBatch = action(\"OMNISEND_CREATE_BATCH\", {\n slug: \"omnisend-create-batch\",\n name: \"Create Batch\",\n description: \"Tool to create a new batch operation for multiple items. Use when you need to process many records asynchronously in one call, e.g., bulk contacts, products, orders, or events. Use after preparing the items list to avoid rate limits.\",\n input: OmnisendCreateBatchInput,\n output: OmnisendCreateBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8CAA8C;CACzG,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,oEAAoE;CAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,UAAU,EAAE,KAAK;EAAC;EAAY;EAAU;EAAY;EAAU;CAAY,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAC7H,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAC/H,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,mDAAmD;
|
|
1
|
+
{"version":3,"file":"create-batch.mjs","names":[],"sources":["../../src/actions/create-batch.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendCreateBatchInput = z.object({\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Array of payload objects for each operation.\"),\n method: z.enum([\"POST\", \"PUT\"]).describe(\"HTTP method for all operations in this batch. Must be POST or PUT.\"),\n eventID: z.string().describe(\"Required when endpoint is 'events'; the ID of the event to trigger.\").optional(),\n endpoint: z.enum([\"contacts\", \"orders\", \"products\", \"events\", \"categories\"]).describe(\"Target endpoint for the operations.\"),\n}).describe(\"Request schema for creating a batch of operations. Operations\\nmust use the same HTTP method and target endpoint.\");\nconst OmnisendCreateBatch_BatchErrorSchema = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Additional error details returned by the server.\").nullable().optional(),\n message: z.string().describe(\"Error message for the failed item.\").nullable(),\n itemIndex: z.number().int().describe(\"Zero-based index of the failed item in the request.\").nullable().optional(),\n}).passthrough().describe(\"Error detail for an individual item in the batch.\");\nconst OmnisendCreateBatch_BatchResponseItemSchema = z.object({\n id: z.string().describe(\"ID of the created or updated item.\").nullable().optional(),\n data: z.record(z.string(), z.unknown()).describe(\"Response body of the individual operation.\").nullable().optional(),\n status: z.number().int().describe(\"HTTP status code for the item.\").nullable().optional(),\n}).passthrough().describe(\"Response detail for a successfully processed item in the batch.\");\nexport const OmnisendCreateBatchOutput = z.object({\n errors: z.array(OmnisendCreateBatch_BatchErrorSchema).describe(\"List of errors for failed items.\").nullable().optional(),\n status: z.enum([\"pending\", \"inProgress\", \"finished\", \"stopped\"]).describe(\"Current status of the batch.\").nullable().optional(),\n batchID: z.string().describe(\"Unique identifier for the created batch.\").nullable(),\n endedAt: z.string().describe(\"Batch end timestamp.\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n responses: z.array(OmnisendCreateBatch_BatchResponseItemSchema).describe(\"List of responses for processed items.\").nullable().optional(),\n startedAt: z.string().describe(\"Batch start timestamp.\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch.\").nullable(),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors.\").nullable().optional(),\n finishedCount: z.number().int().describe(\"Number of successfully processed items.\").nullable().optional(),\n}).passthrough().describe(\"Response schema returned after creating a batch.\");\n\nexport const omnisendCreateBatch = action(\"OMNISEND_CREATE_BATCH\", {\n slug: \"omnisend-create-batch\",\n name: \"Create Batch\",\n description: \"Tool to create a new batch operation for multiple items. Use when you need to process many records asynchronously in one call, e.g., bulk contacts, products, orders, or events. Use after preparing the items list to avoid rate limits.\",\n input: OmnisendCreateBatchInput,\n output: OmnisendCreateBatchOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8CAA8C;CACzG,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,oEAAoE;CAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7G,UAAU,EAAE,KAAK;EAAC;EAAY;EAAU;EAAY;EAAU;CAAY,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAC7H,CAAC,CAAC,CAAC,SAAS,mHAAmH;AAC/H,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAc3F,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBuC,EAAE,OAAO;EAChD,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,QAAQ,EAAE,KAAK;GAAC;GAAW;GAAc;GAAY;EAAS,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,WAAW,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACtF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const OmnisendCreateCartInput = zod.z.object({
|
|
|
15
15
|
productID: zod.z.string().describe("Product identifier"),
|
|
16
16
|
variantID: zod.z.string().describe("Product variant identifier"),
|
|
17
17
|
cartProductID: zod.z.string().describe("Unique identifier for this product within the cart")
|
|
18
|
-
}).describe("Product item in the cart.")).describe("Array of products in the cart").optional(),
|
|
18
|
+
}).passthrough().describe("Product item in the cart.")).describe("Array of products in the cart").optional(),
|
|
19
19
|
contactID: zod.z.string().describe("Existing Omnisend contact identifier to associate with this cart").optional(),
|
|
20
20
|
createdAt: zod.z.string().describe("Cart creation timestamp in ISO 8601 format. If not provided, current time is used.").optional(),
|
|
21
21
|
updatedAt: zod.z.string().describe("Cart last update timestamp in ISO 8601 format").optional(),
|
|
@@ -24,7 +24,7 @@ const OmnisendCreateCartInput = zod.z.object({
|
|
|
24
24
|
const OmnisendCreateCartOutput = zod.z.object({
|
|
25
25
|
email: zod.z.string().describe("Email address associated with the cart").nullable().optional(),
|
|
26
26
|
cartID: zod.z.string().describe("The unique cart identifier that was created").nullable()
|
|
27
|
-
}).describe("Response schema after successfully creating a cart.");
|
|
27
|
+
}).passthrough().describe("Response schema after successfully creating a cart.");
|
|
28
28
|
const omnisendCreateCart = require_action.action("OMNISEND_CREATE_CART", {
|
|
29
29
|
slug: "omnisend-create-cart",
|
|
30
30
|
name: "Create Cart",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-cart.cjs","names":["z","action"],"sources":["../../src/actions/create-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendCreateCartInput = z.object({\n email: z.string().describe(\"Customer email address associated with this cart\").optional(),\n phone: z.string().describe(\"Customer phone number\").optional(),\n cartID: z.string().describe(\"Unique cart identifier. Must be unique across all carts.\"),\n cartSum: z.number().int().describe(\"Total cart value in cents (e.g., 9999 for $99.99)\").optional(),\n currency: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR, GBP)\").optional(),\n products: z.array(z.object({\n price: z.number().int().describe(\"Price of the product in cents (e.g., 1999 for $19.99)\").optional(),\n title: z.string().describe(\"Product title\"),\n imageUrl: z.string().describe(\"Product image URL\").optional(),\n quantity: z.number().int().describe(\"Quantity of this product in the cart\"),\n productID: z.string().describe(\"Product identifier\"),\n variantID: z.string().describe(\"Product variant identifier\"),\n cartProductID: z.string().describe(\"Unique identifier for this product within the cart\"),\n}).describe(\"Product item in the cart.\")).describe(\"Array of products in the cart\").optional(),\n contactID: z.string().describe(\"Existing Omnisend contact identifier to associate with this cart\").optional(),\n createdAt: z.string().describe(\"Cart creation timestamp in ISO 8601 format. If not provided, current time is used.\").optional(),\n updatedAt: z.string().describe(\"Cart last update timestamp in ISO 8601 format\").optional(),\n cartRecoveryUrl: z.string().describe(\"URL to recover the cart, used in abandoned cart emails\").optional(),\n}).describe(\"Request schema for creating a new cart in Omnisend.\");\nexport const OmnisendCreateCartOutput = z.object({\n email: z.string().describe(\"Email address associated with the cart\").nullable().optional(),\n cartID: z.string().describe(\"The unique cart identifier that was created\").nullable(),\n}).describe(\"Response schema after successfully creating a cart.\");\n\nexport const omnisendCreateCart = action(\"OMNISEND_CREATE_CART\", {\n slug: \"omnisend-create-cart\",\n name: \"Create Cart\",\n description: \"Tool to create a new shopping cart in Omnisend. Use when tracking customer cart activity for abandoned cart campaigns.\",\n input: OmnisendCreateCartInput,\n output: OmnisendCreateCartOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;EAC1C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;EAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;EACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAC3D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACzF,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"create-cart.cjs","names":["z","action"],"sources":["../../src/actions/create-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendCreateCartInput = z.object({\n email: z.string().describe(\"Customer email address associated with this cart\").optional(),\n phone: z.string().describe(\"Customer phone number\").optional(),\n cartID: z.string().describe(\"Unique cart identifier. Must be unique across all carts.\"),\n cartSum: z.number().int().describe(\"Total cart value in cents (e.g., 9999 for $99.99)\").optional(),\n currency: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR, GBP)\").optional(),\n products: z.array(z.object({\n price: z.number().int().describe(\"Price of the product in cents (e.g., 1999 for $19.99)\").optional(),\n title: z.string().describe(\"Product title\"),\n imageUrl: z.string().describe(\"Product image URL\").optional(),\n quantity: z.number().int().describe(\"Quantity of this product in the cart\"),\n productID: z.string().describe(\"Product identifier\"),\n variantID: z.string().describe(\"Product variant identifier\"),\n cartProductID: z.string().describe(\"Unique identifier for this product within the cart\"),\n}).passthrough().describe(\"Product item in the cart.\")).describe(\"Array of products in the cart\").optional(),\n contactID: z.string().describe(\"Existing Omnisend contact identifier to associate with this cart\").optional(),\n createdAt: z.string().describe(\"Cart creation timestamp in ISO 8601 format. If not provided, current time is used.\").optional(),\n updatedAt: z.string().describe(\"Cart last update timestamp in ISO 8601 format\").optional(),\n cartRecoveryUrl: z.string().describe(\"URL to recover the cart, used in abandoned cart emails\").optional(),\n}).describe(\"Request schema for creating a new cart in Omnisend.\");\nexport const OmnisendCreateCartOutput = z.object({\n email: z.string().describe(\"Email address associated with the cart\").nullable().optional(),\n cartID: z.string().describe(\"The unique cart identifier that was created\").nullable(),\n}).passthrough().describe(\"Response schema after successfully creating a cart.\");\n\nexport const omnisendCreateCart = action(\"OMNISEND_CREATE_CART\", {\n slug: \"omnisend-create-cart\",\n name: \"Create Cart\",\n description: \"Tool to create a new shopping cart in Omnisend. Use when tracking customer cart activity for abandoned cart campaigns.\",\n input: OmnisendCreateCartInput,\n output: OmnisendCreateCartOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACnG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;EAC1C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;EAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;EACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAC3D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC9H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ declare const OmnisendCreateCartInput: z.ZodObject<{
|
|
|
15
15
|
productID: z.ZodString;
|
|
16
16
|
variantID: z.ZodString;
|
|
17
17
|
cartProductID: z.ZodString;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
contactID: z.ZodOptional<z.ZodString>;
|
|
20
20
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
21
21
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -24,7 +24,7 @@ declare const OmnisendCreateCartInput: z.ZodObject<{
|
|
|
24
24
|
declare const OmnisendCreateCartOutput: z.ZodObject<{
|
|
25
25
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
cartID: z.ZodNullable<z.ZodString>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const omnisendCreateCart: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
cartID: string;
|
|
30
30
|
email?: string | undefined;
|
|
@@ -32,6 +32,7 @@ declare const omnisendCreateCart: import("@keystrokehq/action").WorkflowActionDe
|
|
|
32
32
|
cartSum?: number | undefined;
|
|
33
33
|
currency?: string | undefined;
|
|
34
34
|
products?: {
|
|
35
|
+
[x: string]: unknown;
|
|
35
36
|
title: string;
|
|
36
37
|
quantity: number;
|
|
37
38
|
productID: string;
|
|
@@ -44,7 +45,19 @@ declare const omnisendCreateCart: import("@keystrokehq/action").WorkflowActionDe
|
|
|
44
45
|
createdAt?: string | undefined;
|
|
45
46
|
updatedAt?: string | undefined;
|
|
46
47
|
cartRecoveryUrl?: string | undefined;
|
|
47
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
48
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
49
|
+
connectionId: z.ZodString;
|
|
50
|
+
entityId: z.ZodString;
|
|
51
|
+
instanceId: z.ZodString;
|
|
52
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
+
accessToken: z.ZodString;
|
|
54
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
55
|
+
connectionId: z.ZodString;
|
|
56
|
+
entityId: z.ZodString;
|
|
57
|
+
instanceId: z.ZodString;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
accessToken: z.ZodString;
|
|
60
|
+
}, z.core.$strip>>]>;
|
|
48
61
|
//#endregion
|
|
49
62
|
export { omnisendCreateCart };
|
|
50
63
|
//# sourceMappingURL=create-cart.d.cts.map
|
|
@@ -15,7 +15,7 @@ declare const OmnisendCreateCartInput: z.ZodObject<{
|
|
|
15
15
|
productID: z.ZodString;
|
|
16
16
|
variantID: z.ZodString;
|
|
17
17
|
cartProductID: z.ZodString;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
contactID: z.ZodOptional<z.ZodString>;
|
|
20
20
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
21
21
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -24,7 +24,7 @@ declare const OmnisendCreateCartInput: z.ZodObject<{
|
|
|
24
24
|
declare const OmnisendCreateCartOutput: z.ZodObject<{
|
|
25
25
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
cartID: z.ZodNullable<z.ZodString>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>;
|
|
28
28
|
declare const omnisendCreateCart: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
29
|
cartID: string;
|
|
30
30
|
email?: string | undefined;
|
|
@@ -32,6 +32,7 @@ declare const omnisendCreateCart: import("@keystrokehq/action").WorkflowActionDe
|
|
|
32
32
|
cartSum?: number | undefined;
|
|
33
33
|
currency?: string | undefined;
|
|
34
34
|
products?: {
|
|
35
|
+
[x: string]: unknown;
|
|
35
36
|
title: string;
|
|
36
37
|
quantity: number;
|
|
37
38
|
productID: string;
|
|
@@ -44,7 +45,19 @@ declare const omnisendCreateCart: import("@keystrokehq/action").WorkflowActionDe
|
|
|
44
45
|
createdAt?: string | undefined;
|
|
45
46
|
updatedAt?: string | undefined;
|
|
46
47
|
cartRecoveryUrl?: string | undefined;
|
|
47
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
48
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
49
|
+
connectionId: z.ZodString;
|
|
50
|
+
entityId: z.ZodString;
|
|
51
|
+
instanceId: z.ZodString;
|
|
52
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
+
accessToken: z.ZodString;
|
|
54
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
55
|
+
connectionId: z.ZodString;
|
|
56
|
+
entityId: z.ZodString;
|
|
57
|
+
instanceId: z.ZodString;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
accessToken: z.ZodString;
|
|
60
|
+
}, z.core.$strip>>]>;
|
|
48
61
|
//#endregion
|
|
49
62
|
export { omnisendCreateCart };
|
|
50
63
|
//# sourceMappingURL=create-cart.d.mts.map
|
|
@@ -18,7 +18,7 @@ const omnisendCreateCart = action("OMNISEND_CREATE_CART", {
|
|
|
18
18
|
productID: z.string().describe("Product identifier"),
|
|
19
19
|
variantID: z.string().describe("Product variant identifier"),
|
|
20
20
|
cartProductID: z.string().describe("Unique identifier for this product within the cart")
|
|
21
|
-
}).describe("Product item in the cart.")).describe("Array of products in the cart").optional(),
|
|
21
|
+
}).passthrough().describe("Product item in the cart.")).describe("Array of products in the cart").optional(),
|
|
22
22
|
contactID: z.string().describe("Existing Omnisend contact identifier to associate with this cart").optional(),
|
|
23
23
|
createdAt: z.string().describe("Cart creation timestamp in ISO 8601 format. If not provided, current time is used.").optional(),
|
|
24
24
|
updatedAt: z.string().describe("Cart last update timestamp in ISO 8601 format").optional(),
|
|
@@ -27,7 +27,7 @@ const omnisendCreateCart = action("OMNISEND_CREATE_CART", {
|
|
|
27
27
|
output: z.object({
|
|
28
28
|
email: z.string().describe("Email address associated with the cart").nullable().optional(),
|
|
29
29
|
cartID: z.string().describe("The unique cart identifier that was created").nullable()
|
|
30
|
-
}).describe("Response schema after successfully creating a cart.")
|
|
30
|
+
}).passthrough().describe("Response schema after successfully creating a cart.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { omnisendCreateCart };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-cart.mjs","names":[],"sources":["../../src/actions/create-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendCreateCartInput = z.object({\n email: z.string().describe(\"Customer email address associated with this cart\").optional(),\n phone: z.string().describe(\"Customer phone number\").optional(),\n cartID: z.string().describe(\"Unique cart identifier. Must be unique across all carts.\"),\n cartSum: z.number().int().describe(\"Total cart value in cents (e.g., 9999 for $99.99)\").optional(),\n currency: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR, GBP)\").optional(),\n products: z.array(z.object({\n price: z.number().int().describe(\"Price of the product in cents (e.g., 1999 for $19.99)\").optional(),\n title: z.string().describe(\"Product title\"),\n imageUrl: z.string().describe(\"Product image URL\").optional(),\n quantity: z.number().int().describe(\"Quantity of this product in the cart\"),\n productID: z.string().describe(\"Product identifier\"),\n variantID: z.string().describe(\"Product variant identifier\"),\n cartProductID: z.string().describe(\"Unique identifier for this product within the cart\"),\n}).describe(\"Product item in the cart.\")).describe(\"Array of products in the cart\").optional(),\n contactID: z.string().describe(\"Existing Omnisend contact identifier to associate with this cart\").optional(),\n createdAt: z.string().describe(\"Cart creation timestamp in ISO 8601 format. If not provided, current time is used.\").optional(),\n updatedAt: z.string().describe(\"Cart last update timestamp in ISO 8601 format\").optional(),\n cartRecoveryUrl: z.string().describe(\"URL to recover the cart, used in abandoned cart emails\").optional(),\n}).describe(\"Request schema for creating a new cart in Omnisend.\");\nexport const OmnisendCreateCartOutput = z.object({\n email: z.string().describe(\"Email address associated with the cart\").nullable().optional(),\n cartID: z.string().describe(\"The unique cart identifier that was created\").nullable(),\n}).describe(\"Response schema after successfully creating a cart.\");\n\nexport const omnisendCreateCart = action(\"OMNISEND_CREATE_CART\", {\n slug: \"omnisend-create-cart\",\n name: \"Create Cart\",\n description: \"Tool to create a new shopping cart in Omnisend. Use when tracking customer cart activity for abandoned cart campaigns.\",\n input: OmnisendCreateCartInput,\n output: OmnisendCreateCartOutput,\n});\n"],"mappings":";;AA6BA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7BqC,EAAE,OAAO;EAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;GACnG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;GAC1C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;GAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;GAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;GACnD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;GAC3D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACzF,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"create-cart.mjs","names":[],"sources":["../../src/actions/create-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendCreateCartInput = z.object({\n email: z.string().describe(\"Customer email address associated with this cart\").optional(),\n phone: z.string().describe(\"Customer phone number\").optional(),\n cartID: z.string().describe(\"Unique cart identifier. Must be unique across all carts.\"),\n cartSum: z.number().int().describe(\"Total cart value in cents (e.g., 9999 for $99.99)\").optional(),\n currency: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR, GBP)\").optional(),\n products: z.array(z.object({\n price: z.number().int().describe(\"Price of the product in cents (e.g., 1999 for $19.99)\").optional(),\n title: z.string().describe(\"Product title\"),\n imageUrl: z.string().describe(\"Product image URL\").optional(),\n quantity: z.number().int().describe(\"Quantity of this product in the cart\"),\n productID: z.string().describe(\"Product identifier\"),\n variantID: z.string().describe(\"Product variant identifier\"),\n cartProductID: z.string().describe(\"Unique identifier for this product within the cart\"),\n}).passthrough().describe(\"Product item in the cart.\")).describe(\"Array of products in the cart\").optional(),\n contactID: z.string().describe(\"Existing Omnisend contact identifier to associate with this cart\").optional(),\n createdAt: z.string().describe(\"Cart creation timestamp in ISO 8601 format. If not provided, current time is used.\").optional(),\n updatedAt: z.string().describe(\"Cart last update timestamp in ISO 8601 format\").optional(),\n cartRecoveryUrl: z.string().describe(\"URL to recover the cart, used in abandoned cart emails\").optional(),\n}).describe(\"Request schema for creating a new cart in Omnisend.\");\nexport const OmnisendCreateCartOutput = z.object({\n email: z.string().describe(\"Email address associated with the cart\").nullable().optional(),\n cartID: z.string().describe(\"The unique cart identifier that was created\").nullable(),\n}).passthrough().describe(\"Response schema after successfully creating a cart.\");\n\nexport const omnisendCreateCart = action(\"OMNISEND_CREATE_CART\", {\n slug: \"omnisend-create-cart\",\n name: \"Create Cart\",\n description: \"Tool to create a new shopping cart in Omnisend. Use when tracking customer cart activity for abandoned cart campaigns.\",\n input: OmnisendCreateCartInput,\n output: OmnisendCreateCartOutput,\n});\n"],"mappings":";;AA6BA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7BqC,EAAE,OAAO;EAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACxF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACvF,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;GACnG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;GAC1C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;GAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;GAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;GACnD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;GAC3D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACzG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC9H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,qDAUH;CACP,QAVsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const OmnisendCreateCategoryInput = zod.z.object({
|
|
|
5
5
|
title: zod.z.string().describe("Display name for the category."),
|
|
6
6
|
categoryID: zod.z.string().describe("Unique identifier for the category. Must be unique within your Omnisend account.")
|
|
7
7
|
});
|
|
8
|
-
const OmnisendCreateCategoryOutput = zod.z.object({ categoryID: zod.z.string().describe("Unique identifier of the created category.").nullable() });
|
|
8
|
+
const OmnisendCreateCategoryOutput = zod.z.object({ categoryID: zod.z.string().describe("Unique identifier of the created category.").nullable() }).passthrough();
|
|
9
9
|
const omnisendCreateCategory = require_action.action("OMNISEND_CREATE_CATEGORY", {
|
|
10
10
|
slug: "omnisend-create-category",
|
|
11
11
|
name: "Create Category",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-category.cjs","names":["z","action"],"sources":["../../src/actions/create-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendCreateCategoryInput = z.object({\n title: z.string().describe(\"Display name for the category.\"),\n categoryID: z.string().describe(\"Unique identifier for the category. Must be unique within your Omnisend account.\"),\n});\nexport const OmnisendCreateCategoryOutput = z.object({\n categoryID: z.string().describe(\"Unique identifier of the created category.\").nullable(),\n});\n\nexport const omnisendCreateCategory = action(\"OMNISEND_CREATE_CATEGORY\", {\n slug: \"omnisend-create-category\",\n name: \"Create Category\",\n description: \"Tool to create a new category in Omnisend. Use when organizing products into categories.\",\n input: OmnisendCreateCategoryInput,\n output: OmnisendCreateCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;AACpH,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,EACzF,CAAC;
|
|
1
|
+
{"version":3,"file":"create-category.cjs","names":["z","action"],"sources":["../../src/actions/create-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendCreateCategoryInput = z.object({\n title: z.string().describe(\"Display name for the category.\"),\n categoryID: z.string().describe(\"Unique identifier for the category. Must be unique within your Omnisend account.\"),\n});\nexport const OmnisendCreateCategoryOutput = z.object({\n categoryID: z.string().describe(\"Unique identifier of the created category.\").nullable(),\n}).passthrough();\n\nexport const omnisendCreateCategory = action(\"OMNISEND_CREATE_CATEGORY\", {\n slug: \"omnisend-create-category\",\n name: \"Create Category\",\n description: \"Tool to create a new category in Omnisend. Use when organizing products into categories.\",\n input: OmnisendCreateCategoryInput,\n output: OmnisendCreateCategoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;AACpH,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,11 +7,23 @@ declare const OmnisendCreateCategoryInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const OmnisendCreateCategoryOutput: z.ZodObject<{
|
|
9
9
|
categoryID: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const omnisendCreateCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
title: string;
|
|
13
13
|
categoryID: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
15
|
+
connectionId: z.ZodString;
|
|
16
|
+
entityId: z.ZodString;
|
|
17
|
+
instanceId: z.ZodString;
|
|
18
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
+
accessToken: z.ZodString;
|
|
20
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
21
|
+
connectionId: z.ZodString;
|
|
22
|
+
entityId: z.ZodString;
|
|
23
|
+
instanceId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
accessToken: z.ZodString;
|
|
26
|
+
}, z.core.$strip>>]>;
|
|
15
27
|
//#endregion
|
|
16
28
|
export { omnisendCreateCategory };
|
|
17
29
|
//# sourceMappingURL=create-category.d.cts.map
|
|
@@ -7,11 +7,23 @@ declare const OmnisendCreateCategoryInput: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
declare const OmnisendCreateCategoryOutput: z.ZodObject<{
|
|
9
9
|
categoryID: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const omnisendCreateCategory: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
title: string;
|
|
13
13
|
categoryID: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
14
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
15
|
+
connectionId: z.ZodString;
|
|
16
|
+
entityId: z.ZodString;
|
|
17
|
+
instanceId: z.ZodString;
|
|
18
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
+
accessToken: z.ZodString;
|
|
20
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
21
|
+
connectionId: z.ZodString;
|
|
22
|
+
entityId: z.ZodString;
|
|
23
|
+
instanceId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
+
accessToken: z.ZodString;
|
|
26
|
+
}, z.core.$strip>>]>;
|
|
15
27
|
//#endregion
|
|
16
28
|
export { omnisendCreateCategory };
|
|
17
29
|
//# sourceMappingURL=create-category.d.mts.map
|