@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-product-category.mjs","names":[],"sources":["../../src/actions/delete-product-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteProductCategoryInput = z.object({\n category_id: z.string().describe(\"Unique identifier of the product category to delete.\"),\n});\nexport const OmnisendDeleteProductCategoryOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-product-category.mjs","names":[],"sources":["../../src/actions/delete-product-category.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteProductCategoryInput = z.object({\n category_id: z.string().describe(\"Unique identifier of the product category to delete.\"),\n});\nexport const OmnisendDeleteProductCategoryOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendDeleteProductCategory = action(\"OMNISEND_DELETE_PRODUCT_CATEGORY\", {\n slug: \"omnisend-delete-product-category\",\n name: \"Delete Product Category\",\n description: \"Tool to remove a product category from Omnisend by its ID. Use when you need to delete a product category from your catalog.\",\n input: OmnisendDeleteProductCategoryInput,\n output: OmnisendDeleteProductCategoryOutput,\n});\n"],"mappings":";;AASA,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATgD,EAAE,OAAO,EACzD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EACzF,CAOS;CACP,QAPiD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAOpF;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/delete-product.ts
|
|
4
4
|
const OmnisendDeleteProductInput = zod.z.object({ product_id: zod.z.string().describe("Unique identifier of the product to delete.") });
|
|
5
|
-
const OmnisendDeleteProductOutput = zod.z.
|
|
5
|
+
const OmnisendDeleteProductOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response for successful deletion (204 No Content).");
|
|
6
6
|
const omnisendDeleteProduct = require_action.action("OMNISEND_DELETE_PRODUCT", {
|
|
7
7
|
slug: "omnisend-delete-product",
|
|
8
8
|
name: "Delete Product",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-product.cjs","names":["z","action"],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteProductInput = z.object({\n product_id: z.string().describe(\"Unique identifier of the product to delete.\"),\n});\nexport const OmnisendDeleteProductOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-product.cjs","names":["z","action"],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteProductInput = z.object({\n product_id: z.string().describe(\"Unique identifier of the product to delete.\"),\n});\nexport const OmnisendDeleteProductOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendDeleteProduct = action(\"OMNISEND_DELETE_PRODUCT\", {\n slug: \"omnisend-delete-product\",\n name: \"Delete Product\",\n description: \"Tool to remove a product from Omnisend by its ID. Use when you need to delete a product and ensure it is no longer available in your catalog.\",\n input: OmnisendDeleteProductInput,\n output: OmnisendDeleteProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC/E,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEhJ,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,10 +4,22 @@ import { z } from "zod";
|
|
|
4
4
|
declare const OmnisendDeleteProductInput: z.ZodObject<{
|
|
5
5
|
product_id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const OmnisendDeleteProductOutput: z.
|
|
7
|
+
declare const OmnisendDeleteProductOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const omnisendDeleteProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
product_id: string;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
11
|
+
connectionId: z.ZodString;
|
|
12
|
+
entityId: z.ZodString;
|
|
13
|
+
instanceId: z.ZodString;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
accessToken: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
17
|
+
connectionId: z.ZodString;
|
|
18
|
+
entityId: z.ZodString;
|
|
19
|
+
instanceId: z.ZodString;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
accessToken: z.ZodString;
|
|
22
|
+
}, z.core.$strip>>]>;
|
|
11
23
|
//#endregion
|
|
12
24
|
export { omnisendDeleteProduct };
|
|
13
25
|
//# sourceMappingURL=delete-product.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-product.d.cts","names":[],"sources":["../../src/actions/delete-product.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-product.d.cts","names":[],"sources":["../../src/actions/delete-product.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -4,10 +4,22 @@ import { z } from "zod";
|
|
|
4
4
|
declare const OmnisendDeleteProductInput: z.ZodObject<{
|
|
5
5
|
product_id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const OmnisendDeleteProductOutput: z.
|
|
7
|
+
declare const OmnisendDeleteProductOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const omnisendDeleteProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
product_id: string;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
11
|
+
connectionId: z.ZodString;
|
|
12
|
+
entityId: z.ZodString;
|
|
13
|
+
instanceId: z.ZodString;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
accessToken: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
17
|
+
connectionId: z.ZodString;
|
|
18
|
+
entityId: z.ZodString;
|
|
19
|
+
instanceId: z.ZodString;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
accessToken: z.ZodString;
|
|
22
|
+
}, z.core.$strip>>]>;
|
|
11
23
|
//#endregion
|
|
12
24
|
export { omnisendDeleteProduct };
|
|
13
25
|
//# sourceMappingURL=delete-product.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-product.d.mts","names":[],"sources":["../../src/actions/delete-product.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"delete-product.d.mts","names":[],"sources":["../../src/actions/delete-product.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const omnisendDeleteProduct = action("OMNISEND_DELETE_PRODUCT", {
|
|
|
5
5
|
name: "Delete Product",
|
|
6
6
|
description: "Tool to remove a product from Omnisend by its ID. Use when you need to delete a product and ensure it is no longer available in your catalog.",
|
|
7
7
|
input: z.object({ product_id: z.string().describe("Unique identifier of the product to delete.") }),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response for successful deletion (204 No Content).")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { omnisendDeleteProduct };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-product.mjs","names":[],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteProductInput = z.object({\n product_id: z.string().describe(\"Unique identifier of the product to delete.\"),\n});\nexport const OmnisendDeleteProductOutput = z.
|
|
1
|
+
{"version":3,"file":"delete-product.mjs","names":[],"sources":["../../src/actions/delete-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendDeleteProductInput = z.object({\n product_id: z.string().describe(\"Unique identifier of the product to delete.\"),\n});\nexport const OmnisendDeleteProductOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for successful deletion (204 No Content).\");\n\nexport const omnisendDeleteProduct = action(\"OMNISEND_DELETE_PRODUCT\", {\n slug: \"omnisend-delete-product\",\n name: \"Delete Product\",\n description: \"Tool to remove a product from Omnisend by its ID. Use when you need to delete a product and ensure it is no longer available in your catalog.\",\n input: OmnisendDeleteProductInput,\n output: OmnisendDeleteProductOutput,\n});\n"],"mappings":";;AASA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATwC,EAAE,OAAO,EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EAC/E,CAOS;CACP,QAPyC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAO5E;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const OmnisendGetBatchInformationOutput = zod.z.object({
|
|
|
11
11
|
totalCount: zod.z.number().int().describe("Total number of items in the batch").nullable().optional(),
|
|
12
12
|
errorsCount: zod.z.number().int().describe("Number of items that encountered errors").nullable().optional(),
|
|
13
13
|
finishedCount: zod.z.number().int().describe("Number of successfully finished items").nullable().optional()
|
|
14
|
-
}).describe("Response schema for batch information.");
|
|
14
|
+
}).passthrough().describe("Response schema for batch information.");
|
|
15
15
|
const omnisendGetBatchInformation = require_action.action("OMNISEND_GET_BATCH_INFORMATION", {
|
|
16
16
|
slug: "omnisend-get-batch-information",
|
|
17
17
|
name: "Get Batch Information",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-information.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-information.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchInformationInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch to retrieve\"),\n}).describe(\"Request schema for retrieving a specific batch by ID.\");\nexport const OmnisendGetBatchInformationOutput = z.object({\n status: z.string().describe(\"Current status of the batch (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier for the batch\").nullable().optional(),\n endedAt: z.string().describe(\"ISO 8601 timestamp when the batch finished processing\").nullable().optional(),\n endpoint: z.string().describe(\"Target endpoint for the batch operations (e.g., 'contacts', 'products')\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the batch was created\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch\").nullable().optional(),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors\").nullable().optional(),\n finishedCount: z.number().int().describe(\"Number of successfully finished items\").nullable().optional(),\n}).describe(\"Response schema for batch information.\");\n\nexport const omnisendGetBatchInformation = action(\"OMNISEND_GET_BATCH_INFORMATION\", {\n slug: \"omnisend-get-batch-information\",\n name: \"Get Batch Information\",\n description: \"Tool to retrieve information about a specific batch by ID. Use after submitting a batch when you need a detailed status and counts.\",\n input: OmnisendGetBatchInformationInput,\n output: OmnisendGetBatchInformationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC/E,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,wCAAwC;
|
|
1
|
+
{"version":3,"file":"get-batch-information.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-information.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchInformationInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch to retrieve\"),\n}).describe(\"Request schema for retrieving a specific batch by ID.\");\nexport const OmnisendGetBatchInformationOutput = z.object({\n status: z.string().describe(\"Current status of the batch (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier for the batch\").nullable().optional(),\n endedAt: z.string().describe(\"ISO 8601 timestamp when the batch finished processing\").nullable().optional(),\n endpoint: z.string().describe(\"Target endpoint for the batch operations (e.g., 'contacts', 'products')\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the batch was created\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch\").nullable().optional(),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors\").nullable().optional(),\n finishedCount: z.number().int().describe(\"Number of successfully finished items\").nullable().optional(),\n}).passthrough().describe(\"Response schema for batch information.\");\n\nexport const omnisendGetBatchInformation = action(\"OMNISEND_GET_BATCH_INFORMATION\", {\n slug: \"omnisend-get-batch-information\",\n name: \"Get Batch Information\",\n description: \"Tool to retrieve information about a specific batch by ID. Use after submitting a batch when you need a detailed status and counts.\",\n input: OmnisendGetBatchInformationInput,\n output: OmnisendGetBatchInformationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC/E,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,10 +13,22 @@ declare const OmnisendGetBatchInformationOutput: z.ZodObject<{
|
|
|
13
13
|
totalCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
14
|
errorsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
finishedCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const omnisendGetBatchInformation: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
batchId: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
20
|
+
connectionId: z.ZodString;
|
|
21
|
+
entityId: z.ZodString;
|
|
22
|
+
instanceId: z.ZodString;
|
|
23
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
+
accessToken: z.ZodString;
|
|
25
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
26
|
+
connectionId: z.ZodString;
|
|
27
|
+
entityId: z.ZodString;
|
|
28
|
+
instanceId: z.ZodString;
|
|
29
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
+
accessToken: z.ZodString;
|
|
31
|
+
}, z.core.$strip>>]>;
|
|
20
32
|
//#endregion
|
|
21
33
|
export { omnisendGetBatchInformation };
|
|
22
34
|
//# sourceMappingURL=get-batch-information.d.cts.map
|
|
@@ -13,10 +13,22 @@ declare const OmnisendGetBatchInformationOutput: z.ZodObject<{
|
|
|
13
13
|
totalCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
14
|
errorsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
finishedCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const omnisendGetBatchInformation: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
batchId: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
20
|
+
connectionId: z.ZodString;
|
|
21
|
+
entityId: z.ZodString;
|
|
22
|
+
instanceId: z.ZodString;
|
|
23
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
+
accessToken: z.ZodString;
|
|
25
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
26
|
+
connectionId: z.ZodString;
|
|
27
|
+
entityId: z.ZodString;
|
|
28
|
+
instanceId: z.ZodString;
|
|
29
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
+
accessToken: z.ZodString;
|
|
31
|
+
}, z.core.$strip>>]>;
|
|
20
32
|
//#endregion
|
|
21
33
|
export { omnisendGetBatchInformation };
|
|
22
34
|
//# sourceMappingURL=get-batch-information.d.mts.map
|
|
@@ -14,7 +14,7 @@ const omnisendGetBatchInformation = action("OMNISEND_GET_BATCH_INFORMATION", {
|
|
|
14
14
|
totalCount: z.number().int().describe("Total number of items in the batch").nullable().optional(),
|
|
15
15
|
errorsCount: z.number().int().describe("Number of items that encountered errors").nullable().optional(),
|
|
16
16
|
finishedCount: z.number().int().describe("Number of successfully finished items").nullable().optional()
|
|
17
|
-
}).describe("Response schema for batch information.")
|
|
17
|
+
}).passthrough().describe("Response schema for batch information.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { omnisendGetBatchInformation };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-information.mjs","names":[],"sources":["../../src/actions/get-batch-information.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchInformationInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch to retrieve\"),\n}).describe(\"Request schema for retrieving a specific batch by ID.\");\nexport const OmnisendGetBatchInformationOutput = z.object({\n status: z.string().describe(\"Current status of the batch (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier for the batch\").nullable().optional(),\n endedAt: z.string().describe(\"ISO 8601 timestamp when the batch finished processing\").nullable().optional(),\n endpoint: z.string().describe(\"Target endpoint for the batch operations (e.g., 'contacts', 'products')\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the batch was created\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch\").nullable().optional(),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors\").nullable().optional(),\n finishedCount: z.number().int().describe(\"Number of successfully finished items\").nullable().optional(),\n}).describe(\"Response schema for batch information.\");\n\nexport const omnisendGetBatchInformation = action(\"OMNISEND_GET_BATCH_INFORMATION\", {\n slug: \"omnisend-get-batch-information\",\n name: \"Get Batch Information\",\n description: \"Tool to retrieve information about a specific batch by ID. Use after submitting a batch when you need a detailed status and counts.\",\n input: OmnisendGetBatchInformationInput,\n output: OmnisendGetBatchInformationOutput,\n});\n"],"mappings":";;AAkBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB8C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC/E,CAAC,CAAC,CAAC,SAAS,uDAgBH;CACP,QAhB+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-batch-information.mjs","names":[],"sources":["../../src/actions/get-batch-information.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchInformationInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch to retrieve\"),\n}).describe(\"Request schema for retrieving a specific batch by ID.\");\nexport const OmnisendGetBatchInformationOutput = z.object({\n status: z.string().describe(\"Current status of the batch (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier for the batch\").nullable().optional(),\n endedAt: z.string().describe(\"ISO 8601 timestamp when the batch finished processing\").nullable().optional(),\n endpoint: z.string().describe(\"Target endpoint for the batch operations (e.g., 'contacts', 'products')\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the batch was created\").nullable().optional(),\n totalCount: z.number().int().describe(\"Total number of items in the batch\").nullable().optional(),\n errorsCount: z.number().int().describe(\"Number of items that encountered errors\").nullable().optional(),\n finishedCount: z.number().int().describe(\"Number of successfully finished items\").nullable().optional(),\n}).passthrough().describe(\"Response schema for batch information.\");\n\nexport const omnisendGetBatchInformation = action(\"OMNISEND_GET_BATCH_INFORMATION\", {\n slug: \"omnisend-get-batch-information\",\n name: \"Get Batch Information\",\n description: \"Tool to retrieve information about a specific batch by ID. Use after submitting a batch when you need a detailed status and counts.\",\n input: OmnisendGetBatchInformationInput,\n output: OmnisendGetBatchInformationOutput,\n});\n"],"mappings":";;AAkBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB8C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC/E,CAAC,CAAC,CAAC,SAAS,uDAgBH;CACP,QAhB+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
|
|
@@ -15,7 +15,7 @@ const OmnisendGetBatchItemOutput = zod.z.object({
|
|
|
15
15
|
endpoint: zod.z.string().describe("API endpoint that was called for this batch item").nullable().optional(),
|
|
16
16
|
response: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON response returned by the API for this item").nullable().optional(),
|
|
17
17
|
responseCode: zod.z.number().int().describe("HTTP status code returned for this batch item operation").nullable().optional()
|
|
18
|
-
}).describe("Response schema for a specific batch item.");
|
|
18
|
+
}).passthrough().describe("Response schema for a specific batch item.");
|
|
19
19
|
const omnisendGetBatchItem = require_action.action("OMNISEND_GET_BATCH_ITEM", {
|
|
20
20
|
slug: "omnisend-get-batch-item",
|
|
21
21
|
name: "Get Batch Item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-item.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemInput = z.object({\n itemID: z.string().describe(\"The unique identifier of the specific item to retrieve within the batch\"),\n batchID: z.string().describe(\"The unique identifier of the batch containing the item\"),\n}).describe(\"Request schema for retrieving a specific item within a batch.\");\nexport const OmnisendGetBatchItemOutput = z.object({\n itemID: z.string().describe(\"The unique identifier of the item within the batch\").nullable().optional(),\n method: z.string().describe(\"HTTP method used for the batch item request\").nullable().optional(),\n status: z.string().describe(\"Processing status of the item (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier of the batch\").nullable(),\n eventID: z.string().describe(\"Event identifier associated with this batch item\").nullable().optional(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item\").nullable().optional(),\n endpoint: z.string().describe(\"API endpoint that was called for this batch item\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation\").nullable().optional(),\n}).describe(\"Response schema for a specific batch item.\");\n\nexport const omnisendGetBatchItem = action(\"OMNISEND_GET_BATCH_ITEM\", {\n slug: \"omnisend-get-batch-item\",\n name: \"Get Batch Item\",\n description: \"Tool to retrieve a specific item within a batch by batchID and itemID. Use when you need to inspect the result of a single batch operation.\",\n input: OmnisendGetBatchItemInput,\n output: OmnisendGetBatchItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AACvF,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"get-batch-item.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemInput = z.object({\n itemID: z.string().describe(\"The unique identifier of the specific item to retrieve within the batch\"),\n batchID: z.string().describe(\"The unique identifier of the batch containing the item\"),\n}).describe(\"Request schema for retrieving a specific item within a batch.\");\nexport const OmnisendGetBatchItemOutput = z.object({\n itemID: z.string().describe(\"The unique identifier of the item within the batch\").nullable().optional(),\n method: z.string().describe(\"HTTP method used for the batch item request\").nullable().optional(),\n status: z.string().describe(\"Processing status of the item (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier of the batch\").nullable(),\n eventID: z.string().describe(\"Event identifier associated with this batch item\").nullable().optional(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item\").nullable().optional(),\n endpoint: z.string().describe(\"API endpoint that was called for this batch item\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a specific batch item.\");\n\nexport const omnisendGetBatchItem = action(\"OMNISEND_GET_BATCH_ITEM\", {\n slug: \"omnisend-get-batch-item\",\n name: \"Get Batch Item\",\n description: \"Tool to retrieve a specific item within a batch by batchID and itemID. Use when you need to inspect the result of a single batch operation.\",\n input: OmnisendGetBatchItemInput,\n output: OmnisendGetBatchItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AACvF,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,11 +15,23 @@ declare const OmnisendGetBatchItemOutput: z.ZodObject<{
|
|
|
15
15
|
endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
17
17
|
responseCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const omnisendGetBatchItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
itemID: string;
|
|
21
21
|
batchID: string;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
23
|
+
connectionId: z.ZodString;
|
|
24
|
+
entityId: z.ZodString;
|
|
25
|
+
instanceId: z.ZodString;
|
|
26
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
+
accessToken: z.ZodString;
|
|
28
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
29
|
+
connectionId: z.ZodString;
|
|
30
|
+
entityId: z.ZodString;
|
|
31
|
+
instanceId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
accessToken: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>]>;
|
|
23
35
|
//#endregion
|
|
24
36
|
export { omnisendGetBatchItem };
|
|
25
37
|
//# sourceMappingURL=get-batch-item.d.cts.map
|
|
@@ -15,11 +15,23 @@ declare const OmnisendGetBatchItemOutput: z.ZodObject<{
|
|
|
15
15
|
endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
17
17
|
responseCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const omnisendGetBatchItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
itemID: string;
|
|
21
21
|
batchID: string;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
23
|
+
connectionId: z.ZodString;
|
|
24
|
+
entityId: z.ZodString;
|
|
25
|
+
instanceId: z.ZodString;
|
|
26
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
+
accessToken: z.ZodString;
|
|
28
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
29
|
+
connectionId: z.ZodString;
|
|
30
|
+
entityId: z.ZodString;
|
|
31
|
+
instanceId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
accessToken: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>]>;
|
|
23
35
|
//#endregion
|
|
24
36
|
export { omnisendGetBatchItem };
|
|
25
37
|
//# sourceMappingURL=get-batch-item.d.mts.map
|
|
@@ -18,7 +18,7 @@ const omnisendGetBatchItem = action("OMNISEND_GET_BATCH_ITEM", {
|
|
|
18
18
|
endpoint: z.string().describe("API endpoint that was called for this batch item").nullable().optional(),
|
|
19
19
|
response: z.record(z.string(), z.unknown()).describe("JSON response returned by the API for this item").nullable().optional(),
|
|
20
20
|
responseCode: z.number().int().describe("HTTP status code returned for this batch item operation").nullable().optional()
|
|
21
|
-
}).describe("Response schema for a specific batch item.")
|
|
21
|
+
}).passthrough().describe("Response schema for a specific batch item.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { omnisendGetBatchItem };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-item.mjs","names":[],"sources":["../../src/actions/get-batch-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemInput = z.object({\n itemID: z.string().describe(\"The unique identifier of the specific item to retrieve within the batch\"),\n batchID: z.string().describe(\"The unique identifier of the batch containing the item\"),\n}).describe(\"Request schema for retrieving a specific item within a batch.\");\nexport const OmnisendGetBatchItemOutput = z.object({\n itemID: z.string().describe(\"The unique identifier of the item within the batch\").nullable().optional(),\n method: z.string().describe(\"HTTP method used for the batch item request\").nullable().optional(),\n status: z.string().describe(\"Processing status of the item (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier of the batch\").nullable(),\n eventID: z.string().describe(\"Event identifier associated with this batch item\").nullable().optional(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item\").nullable().optional(),\n endpoint: z.string().describe(\"API endpoint that was called for this batch item\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation\").nullable().optional(),\n}).describe(\"Response schema for a specific batch item.\");\n\nexport const omnisendGetBatchItem = action(\"OMNISEND_GET_BATCH_ITEM\", {\n slug: \"omnisend-get-batch-item\",\n name: \"Get Batch Item\",\n description: \"Tool to retrieve a specific item within a batch by batchID and itemID. Use when you need to inspect the result of a single batch operation.\",\n input: OmnisendGetBatchItemInput,\n output: OmnisendGetBatchItemOutput,\n});\n"],"mappings":";;AAoBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuC,EAAE,OAAO;EAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;EACrG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACvF,CAAC,CAAC,CAAC,SAAS,+DAiBH;CACP,QAjBwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-batch-item.mjs","names":[],"sources":["../../src/actions/get-batch-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemInput = z.object({\n itemID: z.string().describe(\"The unique identifier of the specific item to retrieve within the batch\"),\n batchID: z.string().describe(\"The unique identifier of the batch containing the item\"),\n}).describe(\"Request schema for retrieving a specific item within a batch.\");\nexport const OmnisendGetBatchItemOutput = z.object({\n itemID: z.string().describe(\"The unique identifier of the item within the batch\").nullable().optional(),\n method: z.string().describe(\"HTTP method used for the batch item request\").nullable().optional(),\n status: z.string().describe(\"Processing status of the item (e.g., 'pending', 'finished')\").nullable().optional(),\n batchID: z.string().describe(\"The unique identifier of the batch\").nullable(),\n eventID: z.string().describe(\"Event identifier associated with this batch item\").nullable().optional(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item\").nullable().optional(),\n endpoint: z.string().describe(\"API endpoint that was called for this batch item\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a specific batch item.\");\n\nexport const omnisendGetBatchItem = action(\"OMNISEND_GET_BATCH_ITEM\", {\n slug: \"omnisend-get-batch-item\",\n name: \"Get Batch Item\",\n description: \"Tool to retrieve a specific item within a batch by batchID and itemID. Use when you need to inspect the result of a single batch operation.\",\n input: OmnisendGetBatchItemInput,\n output: OmnisendGetBatchItemOutput,\n});\n"],"mappings":";;AAoBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuC,EAAE,OAAO;EAChD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;EACrG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACvF,CAAC,CAAC,CAAC,SAAS,+DAiBH;CACP,QAjBwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -8,8 +8,8 @@ const OmnisendGetBatchItems_BatchItemSchema = zod.z.object({
|
|
|
8
8
|
request: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Original request payload submitted for this item.").nullable().optional(),
|
|
9
9
|
response: zod.z.record(zod.z.string(), zod.z.unknown()).describe("JSON response returned by the API for this item.").nullable().optional(),
|
|
10
10
|
responseCode: zod.z.number().int().describe("HTTP status code returned for this batch item operation.").nullable().optional()
|
|
11
|
-
}).describe("Representation of a single item within a batch operation.");
|
|
12
|
-
const OmnisendGetBatchItemsOutput = zod.z.object({ items: zod.z.array(OmnisendGetBatchItems_BatchItemSchema).describe("Array of batch items associated with the requested batch.") }).describe("Response schema containing items processed in the batch.");
|
|
11
|
+
}).passthrough().describe("Representation of a single item within a batch operation.");
|
|
12
|
+
const OmnisendGetBatchItemsOutput = zod.z.object({ items: zod.z.array(OmnisendGetBatchItems_BatchItemSchema).describe("Array of batch items associated with the requested batch.") }).passthrough().describe("Response schema containing items processed in the batch.");
|
|
13
13
|
const omnisendGetBatchItems = require_action.action("OMNISEND_GET_BATCH_ITEMS", {
|
|
14
14
|
slug: "omnisend-get-batch-items",
|
|
15
15
|
name: "Get Batch Items",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-items.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemsInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch whose items you want to retrieve.\"),\n}).describe(\"Request schema for retrieving items of a specific batch. No query parameters supported.\");\nconst OmnisendGetBatchItems_BatchItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the batch item.\").nullable(),\n status: z.enum([\"pending\", \"finished\"]).describe(\"Processing status of the item: 'pending' means not yet processed; 'finished' means completed.\").nullable(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item.\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation.\").nullable().optional(),\n}).describe(\"Representation of a single item within a batch operation.\");\nexport const OmnisendGetBatchItemsOutput = z.object({\n items: z.array(OmnisendGetBatchItems_BatchItemSchema).describe(\"Array of batch items associated with the requested batch.\"),\n}).describe(\"Response schema containing items processed in the batch.\");\n\nexport const omnisendGetBatchItems = action(\"OMNISEND_GET_BATCH_ITEMS\", {\n slug: \"omnisend-get-batch-items\",\n name: \"Get Batch Items\",\n description: \"Tool to retrieve processed items of a specific batch by ID. Use when you need to inspect individual results of a batch operation after fetching batch details.\",\n input: OmnisendGetBatchItemsInput,\n output: OmnisendGetBatchItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EACrG,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3J,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,2DAA2D;
|
|
1
|
+
{"version":3,"file":"get-batch-items.cjs","names":["z","action"],"sources":["../../src/actions/get-batch-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemsInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch whose items you want to retrieve.\"),\n}).describe(\"Request schema for retrieving items of a specific batch. No query parameters supported.\");\nconst OmnisendGetBatchItems_BatchItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the batch item.\").nullable(),\n status: z.enum([\"pending\", \"finished\"]).describe(\"Processing status of the item: 'pending' means not yet processed; 'finished' means completed.\").nullable(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item.\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single item within a batch operation.\");\nexport const OmnisendGetBatchItemsOutput = z.object({\n items: z.array(OmnisendGetBatchItems_BatchItemSchema).describe(\"Array of batch items associated with the requested batch.\"),\n}).passthrough().describe(\"Response schema containing items processed in the batch.\");\n\nexport const omnisendGetBatchItems = action(\"OMNISEND_GET_BATCH_ITEMS\", {\n slug: \"omnisend-get-batch-items\",\n name: \"Get Batch Items\",\n description: \"Tool to retrieve processed items of a specific batch by ID. Use when you need to inspect individual results of a batch operation after fetching batch details.\",\n input: OmnisendGetBatchItemsInput,\n output: OmnisendGetBatchItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EACrG,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3J,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,OAAOA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2DAA2D,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,11 +14,23 @@ declare const OmnisendGetBatchItemsOutput: z.ZodObject<{
|
|
|
14
14
|
request: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
15
|
response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16
16
|
responseCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const omnisendGetBatchItems: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
batchId: string;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
22
|
+
connectionId: z.ZodString;
|
|
23
|
+
entityId: z.ZodString;
|
|
24
|
+
instanceId: z.ZodString;
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
+
accessToken: z.ZodString;
|
|
27
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
28
|
+
connectionId: z.ZodString;
|
|
29
|
+
entityId: z.ZodString;
|
|
30
|
+
instanceId: z.ZodString;
|
|
31
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
+
accessToken: z.ZodString;
|
|
33
|
+
}, z.core.$strip>>]>;
|
|
22
34
|
//#endregion
|
|
23
35
|
export { omnisendGetBatchItems };
|
|
24
36
|
//# sourceMappingURL=get-batch-items.d.cts.map
|
|
@@ -14,11 +14,23 @@ declare const OmnisendGetBatchItemsOutput: z.ZodObject<{
|
|
|
14
14
|
request: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
15
|
response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
16
16
|
responseCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const omnisendGetBatchItems: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
batchId: string;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
22
|
+
connectionId: z.ZodString;
|
|
23
|
+
entityId: z.ZodString;
|
|
24
|
+
instanceId: z.ZodString;
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
+
accessToken: z.ZodString;
|
|
27
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
28
|
+
connectionId: z.ZodString;
|
|
29
|
+
entityId: z.ZodString;
|
|
30
|
+
instanceId: z.ZodString;
|
|
31
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
+
accessToken: z.ZodString;
|
|
33
|
+
}, z.core.$strip>>]>;
|
|
22
34
|
//#endregion
|
|
23
35
|
export { omnisendGetBatchItems };
|
|
24
36
|
//# sourceMappingURL=get-batch-items.d.mts.map
|
|
@@ -8,13 +8,13 @@ const OmnisendGetBatchItems_BatchItemSchema = z.object({
|
|
|
8
8
|
request: z.record(z.string(), z.unknown()).describe("Original request payload submitted for this item.").nullable().optional(),
|
|
9
9
|
response: z.record(z.string(), z.unknown()).describe("JSON response returned by the API for this item.").nullable().optional(),
|
|
10
10
|
responseCode: z.number().int().describe("HTTP status code returned for this batch item operation.").nullable().optional()
|
|
11
|
-
}).describe("Representation of a single item within a batch operation.");
|
|
11
|
+
}).passthrough().describe("Representation of a single item within a batch operation.");
|
|
12
12
|
const omnisendGetBatchItems = action("OMNISEND_GET_BATCH_ITEMS", {
|
|
13
13
|
slug: "omnisend-get-batch-items",
|
|
14
14
|
name: "Get Batch Items",
|
|
15
15
|
description: "Tool to retrieve processed items of a specific batch by ID. Use when you need to inspect individual results of a batch operation after fetching batch details.",
|
|
16
16
|
input: OmnisendGetBatchItemsInput,
|
|
17
|
-
output: z.object({ items: z.array(OmnisendGetBatchItems_BatchItemSchema).describe("Array of batch items associated with the requested batch.") }).describe("Response schema containing items processed in the batch.")
|
|
17
|
+
output: z.object({ items: z.array(OmnisendGetBatchItems_BatchItemSchema).describe("Array of batch items associated with the requested batch.") }).passthrough().describe("Response schema containing items processed in the batch.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { omnisendGetBatchItems };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batch-items.mjs","names":[],"sources":["../../src/actions/get-batch-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemsInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch whose items you want to retrieve.\"),\n}).describe(\"Request schema for retrieving items of a specific batch. No query parameters supported.\");\nconst OmnisendGetBatchItems_BatchItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the batch item.\").nullable(),\n status: z.enum([\"pending\", \"finished\"]).describe(\"Processing status of the item: 'pending' means not yet processed; 'finished' means completed.\").nullable(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item.\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation.\").nullable().optional(),\n}).describe(\"Representation of a single item within a batch operation.\");\nexport const OmnisendGetBatchItemsOutput = z.object({\n items: z.array(OmnisendGetBatchItems_BatchItemSchema).describe(\"Array of batch items associated with the requested batch.\"),\n}).describe(\"Response schema containing items processed in the batch.\");\n\nexport const omnisendGetBatchItems = action(\"OMNISEND_GET_BATCH_ITEMS\", {\n slug: \"omnisend-get-batch-items\",\n name: \"Get Batch Items\",\n description: \"Tool to retrieve processed items of a specific batch by ID. Use when you need to inspect individual results of a batch operation after fetching batch details.\",\n input: OmnisendGetBatchItemsInput,\n output: OmnisendGetBatchItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EACrG,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3J,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,2DAA2D;
|
|
1
|
+
{"version":3,"file":"get-batch-items.mjs","names":[],"sources":["../../src/actions/get-batch-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchItemsInput = z.object({\n batchId: z.string().describe(\"The unique identifier of the batch whose items you want to retrieve.\"),\n}).describe(\"Request schema for retrieving items of a specific batch. No query parameters supported.\");\nconst OmnisendGetBatchItems_BatchItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the batch item.\").nullable(),\n status: z.enum([\"pending\", \"finished\"]).describe(\"Processing status of the item: 'pending' means not yet processed; 'finished' means completed.\").nullable(),\n request: z.record(z.string(), z.unknown()).describe(\"Original request payload submitted for this item.\").nullable().optional(),\n response: z.record(z.string(), z.unknown()).describe(\"JSON response returned by the API for this item.\").nullable().optional(),\n responseCode: z.number().int().describe(\"HTTP status code returned for this batch item operation.\").nullable().optional(),\n}).passthrough().describe(\"Representation of a single item within a batch operation.\");\nexport const OmnisendGetBatchItemsOutput = z.object({\n items: z.array(OmnisendGetBatchItems_BatchItemSchema).describe(\"Array of batch items associated with the requested batch.\"),\n}).passthrough().describe(\"Response schema containing items processed in the batch.\");\n\nexport const omnisendGetBatchItems = action(\"OMNISEND_GET_BATCH_ITEMS\", {\n slug: \"omnisend-get-batch-items\",\n name: \"Get Batch Items\",\n description: \"Tool to retrieve processed items of a specific batch by ID. Use when you need to inspect individual results of a batch operation after fetching batch details.\",\n input: OmnisendGetBatchItemsInput,\n output: OmnisendGetBatchItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EACrG,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC3J,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAKrF,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,OAAO,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2DAA2D,EAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ const OmnisendGetBatches_PagingSchema = zod.z.object({
|
|
|
13
13
|
limit: zod.z.number().int().nullable(),
|
|
14
14
|
offset: zod.z.number().int().nullable(),
|
|
15
15
|
previous: zod.z.string().nullable()
|
|
16
|
-
});
|
|
16
|
+
}).passthrough();
|
|
17
17
|
const OmnisendGetBatches_BatchSchema = zod.z.object({
|
|
18
18
|
method: zod.z.string().describe("HTTP method used for the batch.").nullable(),
|
|
19
19
|
origin: zod.z.string().describe("Origin of the batch operation.").nullable(),
|
|
@@ -26,11 +26,11 @@ const OmnisendGetBatches_BatchSchema = zod.z.object({
|
|
|
26
26
|
totalCount: zod.z.number().int().describe("Total number of items in the batch.").nullable(),
|
|
27
27
|
errorsCount: zod.z.number().int().describe("Number of items that encountered errors.").nullable(),
|
|
28
28
|
finishedCount: zod.z.number().int().describe("Number of items processed successfully.").nullable()
|
|
29
|
-
}).describe("Represents a batch operation record in Omnisend.");
|
|
29
|
+
}).passthrough().describe("Represents a batch operation record in Omnisend.");
|
|
30
30
|
const OmnisendGetBatchesOutput = zod.z.object({
|
|
31
31
|
paging: OmnisendGetBatches_PagingSchema.nullable().optional(),
|
|
32
32
|
batches: zod.z.array(OmnisendGetBatches_BatchSchema).describe("List of batch operations in the store.")
|
|
33
|
-
}).describe("Response schema for retrieved batch operations.");
|
|
33
|
+
}).passthrough().describe("Response schema for retrieved batch operations.");
|
|
34
34
|
const omnisendGetBatches = require_action.action("OMNISEND_GET_BATCHES", {
|
|
35
35
|
slug: "omnisend-get-batches",
|
|
36
36
|
name: "Get Batches",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-batches.cjs","names":["z","action"],"sources":["../../src/actions/get-batches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchesInput = z.object({\n endpoint: z.enum([\"contacts\", \"orders\", \"products\", \"events\", \"categories\"]).describe(\"Target endpoint for the batch operations to retrieve.\"),\n}).describe(\"Request schema for retrieving batch operations. Use 'endpoint' to filter by batch type.\");\nconst OmnisendGetBatches_PagingSchema = z.object({\n next: z.string().nullable(),\n limit: z.number().int().nullable(),\n offset: z.number().int().nullable(),\n previous: z.string().nullable(),\n});\nconst OmnisendGetBatches_BatchSchema = z.object({\n method: z.string().describe(\"HTTP method used for the batch.\").nullable(),\n origin: z.string().describe(\"Origin of the batch operation.\").nullable(),\n status: z.string().describe(\"Current status of the batch operation.\").nullable(),\n batchID: z.string().describe(\"Unique identifier of the batch.\").nullable(),\n endedAt: z.string().describe(\"Batch end timestamp (ISO 8601).\").nullable().optional(),\n endpoint: z.string().describe(\"Endpoint targeted by the batch.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the batch was created (ISO 8601).\").nullable(),\n startedAt: z.string().describe(\"Batch start timestamp (ISO 8601).\").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(),\n finishedCount: z.number().int().describe(\"Number of items processed successfully.\").nullable(),\n}).describe(\"Represents a batch operation record in Omnisend.\");\nexport const OmnisendGetBatchesOutput = z.object({\n paging: OmnisendGetBatches_PagingSchema.nullable().optional(),\n batches: z.array(OmnisendGetBatches_BatchSchema).describe(\"List of batch operations in the store.\"),\n}).describe(\"Response schema for retrieved batch operations.\");\n\nexport const omnisendGetBatches = action(\"OMNISEND_GET_BATCHES\", {\n slug: \"omnisend-get-batches\",\n name: \"Get Batches\",\n description: \"Tool to retrieve a list of batch operations. Use after initiating a batch job to monitor its progress and results.\",\n input: OmnisendGetBatchesInput,\n output: OmnisendGetBatchesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,UAAUA,IAAAA,EAAE,KAAK;CAAC;CAAY;CAAU;CAAY;CAAU;AAAY,CAAC,CAAC,CAAC,SAAS,uDAAuD,EAC/I,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CACjC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CAClC,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;AAChC,CAAC;
|
|
1
|
+
{"version":3,"file":"get-batches.cjs","names":["z","action"],"sources":["../../src/actions/get-batches.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendGetBatchesInput = z.object({\n endpoint: z.enum([\"contacts\", \"orders\", \"products\", \"events\", \"categories\"]).describe(\"Target endpoint for the batch operations to retrieve.\"),\n}).describe(\"Request schema for retrieving batch operations. Use 'endpoint' to filter by batch type.\");\nconst OmnisendGetBatches_PagingSchema = z.object({\n next: z.string().nullable(),\n limit: z.number().int().nullable(),\n offset: z.number().int().nullable(),\n previous: z.string().nullable(),\n}).passthrough();\nconst OmnisendGetBatches_BatchSchema = z.object({\n method: z.string().describe(\"HTTP method used for the batch.\").nullable(),\n origin: z.string().describe(\"Origin of the batch operation.\").nullable(),\n status: z.string().describe(\"Current status of the batch operation.\").nullable(),\n batchID: z.string().describe(\"Unique identifier of the batch.\").nullable(),\n endedAt: z.string().describe(\"Batch end timestamp (ISO 8601).\").nullable().optional(),\n endpoint: z.string().describe(\"Endpoint targeted by the batch.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the batch was created (ISO 8601).\").nullable(),\n startedAt: z.string().describe(\"Batch start timestamp (ISO 8601).\").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(),\n finishedCount: z.number().int().describe(\"Number of items processed successfully.\").nullable(),\n}).passthrough().describe(\"Represents a batch operation record in Omnisend.\");\nexport const OmnisendGetBatchesOutput = z.object({\n paging: OmnisendGetBatches_PagingSchema.nullable().optional(),\n batches: z.array(OmnisendGetBatches_BatchSchema).describe(\"List of batch operations in the store.\"),\n}).passthrough().describe(\"Response schema for retrieved batch operations.\");\n\nexport const omnisendGetBatches = action(\"OMNISEND_GET_BATCHES\", {\n slug: \"omnisend-get-batches\",\n name: \"Get Batches\",\n description: \"Tool to retrieve a list of batch operations. Use after initiating a batch job to monitor its progress and results.\",\n input: OmnisendGetBatchesInput,\n output: OmnisendGetBatchesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,UAAUA,IAAAA,EAAE,KAAK;CAAC;CAAY;CAAU;CAAY;CAAU;AAAY,CAAC,CAAC,CAAC,SAAS,uDAAuD,EAC/I,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CACjC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS;CAClC,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;AAChC,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,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;CAC5F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQ,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,wCAAwC;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -3,9 +3,9 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-batches.d.ts
|
|
4
4
|
declare const OmnisendGetBatchesInput: z.ZodObject<{
|
|
5
5
|
endpoint: z.ZodEnum<{
|
|
6
|
-
products: "products";
|
|
7
6
|
contacts: "contacts";
|
|
8
7
|
orders: "orders";
|
|
8
|
+
products: "products";
|
|
9
9
|
events: "events";
|
|
10
10
|
categories: "categories";
|
|
11
11
|
}>;
|
|
@@ -16,7 +16,7 @@ declare const OmnisendGetBatchesOutput: z.ZodObject<{
|
|
|
16
16
|
limit: z.ZodNullable<z.ZodNumber>;
|
|
17
17
|
offset: z.ZodNullable<z.ZodNumber>;
|
|
18
18
|
previous: z.ZodNullable<z.ZodString>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
20
|
batches: z.ZodArray<z.ZodObject<{
|
|
21
21
|
method: z.ZodNullable<z.ZodString>;
|
|
22
22
|
origin: z.ZodNullable<z.ZodString>;
|
|
@@ -29,11 +29,23 @@ declare const OmnisendGetBatchesOutput: z.ZodObject<{
|
|
|
29
29
|
totalCount: z.ZodNullable<z.ZodNumber>;
|
|
30
30
|
errorsCount: z.ZodNullable<z.ZodNumber>;
|
|
31
31
|
finishedCount: z.ZodNullable<z.ZodNumber>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const omnisendGetBatches: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
|
-
endpoint: "
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
35
|
+
endpoint: "contacts" | "orders" | "products" | "events" | "categories";
|
|
36
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
37
|
+
connectionId: z.ZodString;
|
|
38
|
+
entityId: z.ZodString;
|
|
39
|
+
instanceId: z.ZodString;
|
|
40
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
+
accessToken: z.ZodString;
|
|
42
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
43
|
+
connectionId: z.ZodString;
|
|
44
|
+
entityId: z.ZodString;
|
|
45
|
+
instanceId: z.ZodString;
|
|
46
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
+
accessToken: z.ZodString;
|
|
48
|
+
}, z.core.$strip>>]>;
|
|
37
49
|
//#endregion
|
|
38
50
|
export { omnisendGetBatches };
|
|
39
51
|
//# sourceMappingURL=get-batches.d.cts.map
|
|
@@ -3,9 +3,9 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-batches.d.ts
|
|
4
4
|
declare const OmnisendGetBatchesInput: z.ZodObject<{
|
|
5
5
|
endpoint: z.ZodEnum<{
|
|
6
|
-
products: "products";
|
|
7
6
|
contacts: "contacts";
|
|
8
7
|
orders: "orders";
|
|
8
|
+
products: "products";
|
|
9
9
|
events: "events";
|
|
10
10
|
categories: "categories";
|
|
11
11
|
}>;
|
|
@@ -16,7 +16,7 @@ declare const OmnisendGetBatchesOutput: z.ZodObject<{
|
|
|
16
16
|
limit: z.ZodNullable<z.ZodNumber>;
|
|
17
17
|
offset: z.ZodNullable<z.ZodNumber>;
|
|
18
18
|
previous: z.ZodNullable<z.ZodString>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
20
|
batches: z.ZodArray<z.ZodObject<{
|
|
21
21
|
method: z.ZodNullable<z.ZodString>;
|
|
22
22
|
origin: z.ZodNullable<z.ZodString>;
|
|
@@ -29,11 +29,23 @@ declare const OmnisendGetBatchesOutput: z.ZodObject<{
|
|
|
29
29
|
totalCount: z.ZodNullable<z.ZodNumber>;
|
|
30
30
|
errorsCount: z.ZodNullable<z.ZodNumber>;
|
|
31
31
|
finishedCount: z.ZodNullable<z.ZodNumber>;
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const omnisendGetBatches: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
|
-
endpoint: "
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
35
|
+
endpoint: "contacts" | "orders" | "products" | "events" | "categories";
|
|
36
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
37
|
+
connectionId: z.ZodString;
|
|
38
|
+
entityId: z.ZodString;
|
|
39
|
+
instanceId: z.ZodString;
|
|
40
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
+
accessToken: z.ZodString;
|
|
42
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"omnisend", z.ZodObject<{
|
|
43
|
+
connectionId: z.ZodString;
|
|
44
|
+
entityId: z.ZodString;
|
|
45
|
+
instanceId: z.ZodString;
|
|
46
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
+
accessToken: z.ZodString;
|
|
48
|
+
}, z.core.$strip>>]>;
|
|
37
49
|
//#endregion
|
|
38
50
|
export { omnisendGetBatches };
|
|
39
51
|
//# sourceMappingURL=get-batches.d.mts.map
|