@keystrokehq/omnisend 0.1.3 → 0.1.5
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-cart-product.cjs +1 -0
- package/dist/actions/add-cart-product.cjs.map +1 -1
- package/dist/actions/add-cart-product.d.cts +3 -16
- package/dist/actions/add-cart-product.d.cts.map +1 -1
- package/dist/actions/add-cart-product.d.mts +3 -16
- package/dist/actions/add-cart-product.d.mts.map +1 -1
- package/dist/actions/add-cart-product.mjs +1 -0
- package/dist/actions/add-cart-product.mjs.map +1 -1
- package/dist/actions/create-batch.cjs +1 -0
- package/dist/actions/create-batch.cjs.map +1 -1
- package/dist/actions/create-batch.d.cts +5 -8
- package/dist/actions/create-batch.d.cts.map +1 -1
- package/dist/actions/create-batch.d.mts +5 -8
- package/dist/actions/create-batch.d.mts.map +1 -1
- package/dist/actions/create-batch.mjs +1 -0
- package/dist/actions/create-batch.mjs.map +1 -1
- package/dist/actions/create-cart.cjs +1 -0
- package/dist/actions/create-cart.cjs.map +1 -1
- package/dist/actions/create-cart.d.cts +3 -21
- package/dist/actions/create-cart.d.cts.map +1 -1
- package/dist/actions/create-cart.d.mts +3 -21
- package/dist/actions/create-cart.d.mts.map +1 -1
- package/dist/actions/create-cart.mjs +1 -0
- package/dist/actions/create-cart.mjs.map +1 -1
- package/dist/actions/create-category.cjs +1 -0
- package/dist/actions/create-category.cjs.map +1 -1
- package/dist/actions/create-category.d.cts +3 -4
- package/dist/actions/create-category.d.cts.map +1 -1
- package/dist/actions/create-category.d.mts +3 -4
- package/dist/actions/create-category.d.mts.map +1 -1
- package/dist/actions/create-category.mjs +1 -0
- package/dist/actions/create-category.mjs.map +1 -1
- package/dist/actions/create-or-update-contact.cjs +1 -0
- package/dist/actions/create-or-update-contact.cjs.map +1 -1
- package/dist/actions/create-or-update-contact.d.cts +4 -24
- package/dist/actions/create-or-update-contact.d.cts.map +1 -1
- package/dist/actions/create-or-update-contact.d.mts +4 -24
- package/dist/actions/create-or-update-contact.d.mts.map +1 -1
- package/dist/actions/create-or-update-contact.mjs +1 -0
- package/dist/actions/create-or-update-contact.mjs.map +1 -1
- package/dist/actions/create-order.cjs +1 -0
- package/dist/actions/create-order.cjs.map +1 -1
- package/dist/actions/create-order.d.cts +4 -75
- package/dist/actions/create-order.d.cts.map +1 -1
- package/dist/actions/create-order.d.mts +4 -75
- package/dist/actions/create-order.d.mts.map +1 -1
- package/dist/actions/create-order.mjs +1 -0
- package/dist/actions/create-order.mjs.map +1 -1
- package/dist/actions/create-product-category.cjs +1 -0
- package/dist/actions/create-product-category.cjs.map +1 -1
- package/dist/actions/create-product-category.d.cts +3 -4
- package/dist/actions/create-product-category.d.cts.map +1 -1
- package/dist/actions/create-product-category.d.mts +3 -4
- package/dist/actions/create-product-category.d.mts.map +1 -1
- package/dist/actions/create-product-category.mjs +1 -0
- package/dist/actions/create-product-category.mjs.map +1 -1
- package/dist/actions/create-product.cjs +1 -0
- package/dist/actions/create-product.cjs.map +1 -1
- package/dist/actions/create-product.d.cts +3 -29
- package/dist/actions/create-product.d.cts.map +1 -1
- package/dist/actions/create-product.d.mts +3 -29
- package/dist/actions/create-product.d.mts.map +1 -1
- package/dist/actions/create-product.mjs +1 -0
- package/dist/actions/create-product.mjs.map +1 -1
- package/dist/actions/delete-cart.cjs +1 -0
- package/dist/actions/delete-cart.cjs.map +1 -1
- package/dist/actions/delete-cart.d.cts +3 -3
- package/dist/actions/delete-cart.d.cts.map +1 -1
- package/dist/actions/delete-cart.d.mts +3 -3
- package/dist/actions/delete-cart.d.mts.map +1 -1
- package/dist/actions/delete-cart.mjs +1 -0
- package/dist/actions/delete-cart.mjs.map +1 -1
- package/dist/actions/delete-category.cjs +1 -0
- package/dist/actions/delete-category.cjs.map +1 -1
- package/dist/actions/delete-category.d.cts +3 -3
- package/dist/actions/delete-category.d.cts.map +1 -1
- package/dist/actions/delete-category.d.mts +3 -3
- package/dist/actions/delete-category.d.mts.map +1 -1
- package/dist/actions/delete-category.mjs +1 -0
- package/dist/actions/delete-category.mjs.map +1 -1
- package/dist/actions/delete-order.cjs +1 -0
- package/dist/actions/delete-order.cjs.map +1 -1
- package/dist/actions/delete-order.d.cts +3 -3
- package/dist/actions/delete-order.d.cts.map +1 -1
- package/dist/actions/delete-order.d.mts +3 -3
- package/dist/actions/delete-order.d.mts.map +1 -1
- package/dist/actions/delete-order.mjs +1 -0
- package/dist/actions/delete-order.mjs.map +1 -1
- package/dist/actions/delete-product-category.cjs +1 -0
- package/dist/actions/delete-product-category.cjs.map +1 -1
- package/dist/actions/delete-product-category.d.cts +3 -3
- package/dist/actions/delete-product-category.d.cts.map +1 -1
- package/dist/actions/delete-product-category.d.mts +3 -3
- package/dist/actions/delete-product-category.d.mts.map +1 -1
- package/dist/actions/delete-product-category.mjs +1 -0
- package/dist/actions/delete-product-category.mjs.map +1 -1
- package/dist/actions/delete-product.cjs +1 -0
- package/dist/actions/delete-product.cjs.map +1 -1
- package/dist/actions/delete-product.d.cts +3 -3
- package/dist/actions/delete-product.d.cts.map +1 -1
- package/dist/actions/delete-product.d.mts +3 -3
- package/dist/actions/delete-product.d.mts.map +1 -1
- package/dist/actions/delete-product.mjs +1 -0
- package/dist/actions/delete-product.mjs.map +1 -1
- package/dist/actions/get-batch-information.cjs +1 -0
- package/dist/actions/get-batch-information.cjs.map +1 -1
- package/dist/actions/get-batch-information.d.cts +3 -3
- package/dist/actions/get-batch-information.d.cts.map +1 -1
- package/dist/actions/get-batch-information.d.mts +3 -3
- package/dist/actions/get-batch-information.d.mts.map +1 -1
- package/dist/actions/get-batch-information.mjs +1 -0
- package/dist/actions/get-batch-information.mjs.map +1 -1
- package/dist/actions/get-batch-item.cjs +1 -0
- package/dist/actions/get-batch-item.cjs.map +1 -1
- package/dist/actions/get-batch-item.d.cts +3 -4
- package/dist/actions/get-batch-item.d.cts.map +1 -1
- package/dist/actions/get-batch-item.d.mts +3 -4
- package/dist/actions/get-batch-item.d.mts.map +1 -1
- package/dist/actions/get-batch-item.mjs +1 -0
- package/dist/actions/get-batch-item.mjs.map +1 -1
- package/dist/actions/get-batch-items.cjs +1 -0
- package/dist/actions/get-batch-items.cjs.map +1 -1
- package/dist/actions/get-batch-items.d.cts +3 -3
- package/dist/actions/get-batch-items.d.cts.map +1 -1
- package/dist/actions/get-batch-items.d.mts +3 -3
- package/dist/actions/get-batch-items.d.mts.map +1 -1
- package/dist/actions/get-batch-items.mjs +1 -0
- package/dist/actions/get-batch-items.mjs.map +1 -1
- package/dist/actions/get-batches.cjs +1 -0
- package/dist/actions/get-batches.cjs.map +1 -1
- package/dist/actions/get-batches.d.cts +5 -5
- package/dist/actions/get-batches.d.cts.map +1 -1
- package/dist/actions/get-batches.d.mts +5 -5
- package/dist/actions/get-batches.d.mts.map +1 -1
- package/dist/actions/get-batches.mjs +1 -0
- package/dist/actions/get-batches.mjs.map +1 -1
- package/dist/actions/get-brand.cjs +1 -0
- package/dist/actions/get-brand.cjs.map +1 -1
- package/dist/actions/get-brand.d.cts +3 -1
- package/dist/actions/get-brand.d.cts.map +1 -1
- package/dist/actions/get-brand.d.mts +3 -1
- package/dist/actions/get-brand.d.mts.map +1 -1
- package/dist/actions/get-brand.mjs +1 -0
- package/dist/actions/get-brand.mjs.map +1 -1
- package/dist/actions/get-cart.cjs +1 -0
- package/dist/actions/get-cart.cjs.map +1 -1
- package/dist/actions/get-cart.d.cts +3 -3
- package/dist/actions/get-cart.d.cts.map +1 -1
- package/dist/actions/get-cart.d.mts +3 -3
- package/dist/actions/get-cart.d.mts.map +1 -1
- package/dist/actions/get-cart.mjs +1 -0
- package/dist/actions/get-cart.mjs.map +1 -1
- package/dist/actions/get-category.cjs +1 -0
- package/dist/actions/get-category.cjs.map +1 -1
- package/dist/actions/get-category.d.cts +3 -3
- package/dist/actions/get-category.d.cts.map +1 -1
- package/dist/actions/get-category.d.mts +3 -3
- package/dist/actions/get-category.d.mts.map +1 -1
- package/dist/actions/get-category.mjs +1 -0
- package/dist/actions/get-category.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +1 -0
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +3 -3
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +3 -3
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +1 -0
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-order.cjs +1 -0
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +3 -3
- package/dist/actions/get-order.d.cts.map +1 -1
- package/dist/actions/get-order.d.mts +3 -3
- package/dist/actions/get-order.d.mts.map +1 -1
- package/dist/actions/get-order.mjs +1 -0
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-product-category.cjs +1 -0
- package/dist/actions/get-product-category.cjs.map +1 -1
- package/dist/actions/get-product-category.d.cts +3 -3
- package/dist/actions/get-product-category.d.cts.map +1 -1
- package/dist/actions/get-product-category.d.mts +3 -3
- package/dist/actions/get-product-category.d.mts.map +1 -1
- package/dist/actions/get-product-category.mjs +1 -0
- package/dist/actions/get-product-category.mjs.map +1 -1
- package/dist/actions/get-product.cjs +1 -0
- package/dist/actions/get-product.cjs.map +1 -1
- package/dist/actions/get-product.d.cts +3 -3
- package/dist/actions/get-product.d.cts.map +1 -1
- package/dist/actions/get-product.d.mts +3 -3
- package/dist/actions/get-product.d.mts.map +1 -1
- package/dist/actions/get-product.mjs +1 -0
- package/dist/actions/get-product.mjs.map +1 -1
- package/dist/actions/list-campaigns.cjs +1 -0
- package/dist/actions/list-campaigns.cjs.map +1 -1
- package/dist/actions/list-campaigns.d.cts +4 -7
- package/dist/actions/list-campaigns.d.cts.map +1 -1
- package/dist/actions/list-campaigns.d.mts +4 -7
- package/dist/actions/list-campaigns.d.mts.map +1 -1
- package/dist/actions/list-campaigns.mjs +1 -0
- package/dist/actions/list-campaigns.mjs.map +1 -1
- package/dist/actions/list-carts.cjs +1 -0
- package/dist/actions/list-carts.cjs.map +1 -1
- package/dist/actions/list-carts.d.cts +3 -13
- package/dist/actions/list-carts.d.cts.map +1 -1
- package/dist/actions/list-carts.d.mts +3 -13
- package/dist/actions/list-carts.d.mts.map +1 -1
- package/dist/actions/list-carts.mjs +1 -0
- package/dist/actions/list-carts.mjs.map +1 -1
- package/dist/actions/list-categories.cjs +1 -0
- package/dist/actions/list-categories.cjs.map +1 -1
- package/dist/actions/list-categories.d.cts +3 -5
- package/dist/actions/list-categories.d.cts.map +1 -1
- package/dist/actions/list-categories.d.mts +3 -5
- package/dist/actions/list-categories.d.mts.map +1 -1
- package/dist/actions/list-categories.mjs +1 -0
- package/dist/actions/list-categories.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +1 -0
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +4 -11
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +4 -11
- package/dist/actions/list-contacts.d.mts.map +1 -1
- package/dist/actions/list-contacts.mjs +1 -0
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-events.cjs +1 -0
- package/dist/actions/list-events.cjs.map +1 -1
- package/dist/actions/list-events.d.cts +3 -1
- package/dist/actions/list-events.d.cts.map +1 -1
- package/dist/actions/list-events.d.mts +3 -1
- package/dist/actions/list-events.d.mts.map +1 -1
- package/dist/actions/list-events.mjs +1 -0
- package/dist/actions/list-events.mjs.map +1 -1
- package/dist/actions/list-product-categories.cjs +1 -0
- package/dist/actions/list-product-categories.cjs.map +1 -1
- package/dist/actions/list-product-categories.d.cts +3 -5
- package/dist/actions/list-product-categories.d.cts.map +1 -1
- package/dist/actions/list-product-categories.d.mts +3 -5
- package/dist/actions/list-product-categories.d.mts.map +1 -1
- package/dist/actions/list-product-categories.mjs +1 -0
- package/dist/actions/list-product-categories.mjs.map +1 -1
- package/dist/actions/list-products.cjs +1 -0
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +3 -5
- package/dist/actions/list-products.d.cts.map +1 -1
- package/dist/actions/list-products.d.mts +3 -5
- package/dist/actions/list-products.d.mts.map +1 -1
- package/dist/actions/list-products.mjs +1 -0
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/remove-cart-product.cjs +1 -0
- package/dist/actions/remove-cart-product.cjs.map +1 -1
- package/dist/actions/remove-cart-product.d.cts +3 -4
- package/dist/actions/remove-cart-product.d.cts.map +1 -1
- package/dist/actions/remove-cart-product.d.mts +3 -4
- package/dist/actions/remove-cart-product.d.mts.map +1 -1
- package/dist/actions/remove-cart-product.mjs +1 -0
- package/dist/actions/remove-cart-product.mjs.map +1 -1
- package/dist/actions/replace-cart-product.cjs +1 -0
- package/dist/actions/replace-cart-product.cjs.map +1 -1
- package/dist/actions/replace-cart-product.d.cts +3 -16
- package/dist/actions/replace-cart-product.d.cts.map +1 -1
- package/dist/actions/replace-cart-product.d.mts +3 -16
- package/dist/actions/replace-cart-product.d.mts.map +1 -1
- package/dist/actions/replace-cart-product.mjs +1 -0
- package/dist/actions/replace-cart-product.mjs.map +1 -1
- package/dist/actions/replace-cart.cjs +1 -0
- package/dist/actions/replace-cart.cjs.map +1 -1
- package/dist/actions/replace-cart.d.cts +3 -22
- package/dist/actions/replace-cart.d.cts.map +1 -1
- package/dist/actions/replace-cart.d.mts +3 -22
- package/dist/actions/replace-cart.d.mts.map +1 -1
- package/dist/actions/replace-cart.mjs +1 -0
- package/dist/actions/replace-cart.mjs.map +1 -1
- package/dist/actions/replace-category.cjs +1 -0
- package/dist/actions/replace-category.cjs.map +1 -1
- package/dist/actions/replace-category.d.cts +3 -4
- package/dist/actions/replace-category.d.cts.map +1 -1
- package/dist/actions/replace-category.d.mts +3 -4
- package/dist/actions/replace-category.d.mts.map +1 -1
- package/dist/actions/replace-category.mjs +1 -0
- package/dist/actions/replace-category.mjs.map +1 -1
- package/dist/actions/replace-order.cjs +1 -0
- package/dist/actions/replace-order.cjs.map +1 -1
- package/dist/actions/replace-order.d.cts +3 -66
- package/dist/actions/replace-order.d.cts.map +1 -1
- package/dist/actions/replace-order.d.mts +3 -66
- package/dist/actions/replace-order.d.mts.map +1 -1
- package/dist/actions/replace-order.mjs +1 -0
- package/dist/actions/replace-order.mjs.map +1 -1
- package/dist/actions/replace-product.cjs +1 -0
- package/dist/actions/replace-product.cjs.map +1 -1
- package/dist/actions/replace-product.d.cts +3 -30
- package/dist/actions/replace-product.d.cts.map +1 -1
- package/dist/actions/replace-product.d.mts +3 -30
- package/dist/actions/replace-product.d.mts.map +1 -1
- package/dist/actions/replace-product.mjs +1 -0
- package/dist/actions/replace-product.mjs.map +1 -1
- package/dist/actions/send-event.cjs +1 -0
- package/dist/actions/send-event.cjs.map +1 -1
- package/dist/actions/send-event.d.cts +3 -25
- package/dist/actions/send-event.d.cts.map +1 -1
- package/dist/actions/send-event.d.mts +3 -25
- package/dist/actions/send-event.d.mts.map +1 -1
- package/dist/actions/send-event.mjs +1 -0
- package/dist/actions/send-event.mjs.map +1 -1
- package/dist/actions/update-cart-product.cjs +1 -0
- package/dist/actions/update-cart-product.cjs.map +1 -1
- package/dist/actions/update-cart-product.d.cts +3 -16
- package/dist/actions/update-cart-product.d.cts.map +1 -1
- package/dist/actions/update-cart-product.d.mts +3 -16
- package/dist/actions/update-cart-product.d.mts.map +1 -1
- package/dist/actions/update-cart-product.mjs +1 -0
- package/dist/actions/update-cart-product.mjs.map +1 -1
- package/dist/actions/update-cart.cjs +1 -0
- package/dist/actions/update-cart.cjs.map +1 -1
- package/dist/actions/update-cart.d.cts +3 -21
- package/dist/actions/update-cart.d.cts.map +1 -1
- package/dist/actions/update-cart.d.mts +3 -21
- package/dist/actions/update-cart.d.mts.map +1 -1
- package/dist/actions/update-cart.mjs +1 -0
- package/dist/actions/update-cart.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -0
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +3 -40
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -40
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -0
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-order-status.cjs +1 -0
- package/dist/actions/update-order-status.cjs.map +1 -1
- package/dist/actions/update-order-status.d.cts +3 -11
- package/dist/actions/update-order-status.d.cts.map +1 -1
- package/dist/actions/update-order-status.d.mts +3 -11
- package/dist/actions/update-order-status.d.mts.map +1 -1
- package/dist/actions/update-order-status.mjs +1 -0
- package/dist/actions/update-order-status.mjs.map +1 -1
- package/dist/actions/update-product-category.cjs +1 -0
- package/dist/actions/update-product-category.cjs.map +1 -1
- package/dist/actions/update-product-category.d.cts +3 -4
- package/dist/actions/update-product-category.d.cts.map +1 -1
- package/dist/actions/update-product-category.d.mts +3 -4
- package/dist/actions/update-product-category.d.mts.map +1 -1
- package/dist/actions/update-product-category.mjs +1 -0
- 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 +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["omnisend","executeOmnisendTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { omnisend } from \"./app\";\nimport { executeOmnisendTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["omnisend","executeOmnisendTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { omnisend } from \"./app\";\nimport { executeOmnisendTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof omnisend.credential> {\n return omnisend.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeOmnisendTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { omnisend } from \"./app\";\nimport { executeOmnisendTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { omnisend } from \"./app\";\nimport { executeOmnisendTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof omnisend.credential> {\n return omnisend.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeOmnisendTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"add-cart-product.cjs","names":["z","action"],"sources":["../../src/actions/add-cart-product.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\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: AppAction<\n typeof OmnisendAddCartProductInput,\n typeof OmnisendAddCartProductOutput,\n typeof omnisend.credential\n> = 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":";;;;AAMA,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,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { omnisend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-cart-product.d.ts
|
|
@@ -23,22 +25,7 @@ declare const OmnisendAddCartProductOutput: z.ZodObject<{
|
|
|
23
25
|
variant_id: z.ZodNullable<z.ZodString>;
|
|
24
26
|
cart_product_id: z.ZodNullable<z.ZodString>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const omnisendAddCartProduct:
|
|
27
|
-
price: number;
|
|
28
|
-
title: string;
|
|
29
|
-
cart_id: string;
|
|
30
|
-
currency: string;
|
|
31
|
-
quantity: number;
|
|
32
|
-
product_id: string;
|
|
33
|
-
variant_id: string;
|
|
34
|
-
cart_product_id: string;
|
|
35
|
-
sku?: string | undefined;
|
|
36
|
-
discount?: number | undefined;
|
|
37
|
-
image_url?: string | undefined;
|
|
38
|
-
old_price?: number | undefined;
|
|
39
|
-
description?: string | undefined;
|
|
40
|
-
product_url?: string | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const omnisendAddCartProduct: AppAction<typeof OmnisendAddCartProductInput, typeof OmnisendAddCartProductOutput, typeof omnisend.credential>;
|
|
42
29
|
//#endregion
|
|
43
30
|
export { omnisendAddCartProduct };
|
|
44
31
|
//# sourceMappingURL=add-cart-product.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-cart-product.d.cts","names":[],"sources":["../../src/actions/add-cart-product.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-cart-product.d.cts","names":[],"sources":["../../src/actions/add-cart-product.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAO5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { omnisend } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-cart-product.d.ts
|
|
@@ -23,22 +25,7 @@ declare const OmnisendAddCartProductOutput: z.ZodObject<{
|
|
|
23
25
|
variant_id: z.ZodNullable<z.ZodString>;
|
|
24
26
|
cart_product_id: z.ZodNullable<z.ZodString>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const omnisendAddCartProduct:
|
|
27
|
-
price: number;
|
|
28
|
-
title: string;
|
|
29
|
-
cart_id: string;
|
|
30
|
-
currency: string;
|
|
31
|
-
quantity: number;
|
|
32
|
-
product_id: string;
|
|
33
|
-
variant_id: string;
|
|
34
|
-
cart_product_id: string;
|
|
35
|
-
sku?: string | undefined;
|
|
36
|
-
discount?: number | undefined;
|
|
37
|
-
image_url?: string | undefined;
|
|
38
|
-
old_price?: number | undefined;
|
|
39
|
-
description?: string | undefined;
|
|
40
|
-
product_url?: string | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
28
|
+
declare const omnisendAddCartProduct: AppAction<typeof OmnisendAddCartProductInput, typeof OmnisendAddCartProductOutput, typeof omnisend.credential>;
|
|
42
29
|
//#endregion
|
|
43
30
|
export { omnisendAddCartProduct };
|
|
44
31
|
//# sourceMappingURL=add-cart-product.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-cart-product.d.mts","names":[],"sources":["../../src/actions/add-cart-product.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-cart-product.d.mts","names":[],"sources":["../../src/actions/add-cart-product.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAO5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"add-cart-product.mjs","names":[],"sources":["../../src/actions/add-cart-product.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\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: AppAction<\n typeof OmnisendAddCartProductInput,\n typeof OmnisendAddCartProductOutput,\n typeof omnisend.credential\n> = 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":";;;AA6BA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA/ByC,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,CAgBS;CACP,QAhB0C,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,YAWO;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-batch.cjs","names":["z","action"],"sources":["../../src/actions/create-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\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: AppAction<\n typeof OmnisendCreateBatchInput,\n typeof OmnisendCreateBatchOutput,\n typeof omnisend.credential\n> = 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":";;;;AAMA,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,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { omnisend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-batch.d.ts
|
|
@@ -10,10 +12,10 @@ declare const OmnisendCreateBatchInput: z.ZodObject<{
|
|
|
10
12
|
eventID: z.ZodOptional<z.ZodString>;
|
|
11
13
|
endpoint: z.ZodEnum<{
|
|
12
14
|
products: "products";
|
|
15
|
+
categories: "categories";
|
|
13
16
|
contacts: "contacts";
|
|
14
|
-
orders: "orders";
|
|
15
17
|
events: "events";
|
|
16
|
-
|
|
18
|
+
orders: "orders";
|
|
17
19
|
}>;
|
|
18
20
|
}, z.core.$strip>;
|
|
19
21
|
declare const OmnisendCreateBatchOutput: z.ZodObject<{
|
|
@@ -41,12 +43,7 @@ declare const OmnisendCreateBatchOutput: z.ZodObject<{
|
|
|
41
43
|
errorsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
44
|
finishedCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
45
|
}, z.core.$loose>;
|
|
44
|
-
declare const omnisendCreateBatch:
|
|
45
|
-
items: Record<string, unknown>[];
|
|
46
|
-
method: "POST" | "PUT";
|
|
47
|
-
endpoint: "products" | "contacts" | "orders" | "events" | "categories";
|
|
48
|
-
eventID?: string | undefined;
|
|
49
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
46
|
+
declare const omnisendCreateBatch: AppAction<typeof OmnisendCreateBatchInput, typeof OmnisendCreateBatchOutput, typeof omnisend.credential>;
|
|
50
47
|
//#endregion
|
|
51
48
|
export { omnisendCreateBatch };
|
|
52
49
|
//# sourceMappingURL=create-batch.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-batch.d.cts","names":[],"sources":["../../src/actions/create-batch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-batch.d.cts","names":[],"sources":["../../src/actions/create-batch.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAazB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { omnisend } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-batch.d.ts
|
|
@@ -10,10 +12,10 @@ declare const OmnisendCreateBatchInput: z.ZodObject<{
|
|
|
10
12
|
eventID: z.ZodOptional<z.ZodString>;
|
|
11
13
|
endpoint: z.ZodEnum<{
|
|
12
14
|
products: "products";
|
|
15
|
+
categories: "categories";
|
|
13
16
|
contacts: "contacts";
|
|
14
|
-
orders: "orders";
|
|
15
17
|
events: "events";
|
|
16
|
-
|
|
18
|
+
orders: "orders";
|
|
17
19
|
}>;
|
|
18
20
|
}, z.core.$strip>;
|
|
19
21
|
declare const OmnisendCreateBatchOutput: z.ZodObject<{
|
|
@@ -41,12 +43,7 @@ declare const OmnisendCreateBatchOutput: z.ZodObject<{
|
|
|
41
43
|
errorsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
44
|
finishedCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43
45
|
}, z.core.$loose>;
|
|
44
|
-
declare const omnisendCreateBatch:
|
|
45
|
-
items: Record<string, unknown>[];
|
|
46
|
-
method: "POST" | "PUT";
|
|
47
|
-
endpoint: "products" | "contacts" | "orders" | "events" | "categories";
|
|
48
|
-
eventID?: string | undefined;
|
|
49
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
46
|
+
declare const omnisendCreateBatch: AppAction<typeof OmnisendCreateBatchInput, typeof OmnisendCreateBatchOutput, typeof omnisend.credential>;
|
|
50
47
|
//#endregion
|
|
51
48
|
export { omnisendCreateBatch };
|
|
52
49
|
//# sourceMappingURL=create-batch.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-batch.d.mts","names":[],"sources":["../../src/actions/create-batch.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-batch.d.mts","names":[],"sources":["../../src/actions/create-batch.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAazB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-batch.mjs","names":[],"sources":["../../src/actions/create-batch.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\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: AppAction<\n typeof OmnisendCreateBatchInput,\n typeof OmnisendCreateBatchOutput,\n typeof omnisend.credential\n> = 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":";;;;AAMA,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,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAtBuC,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,kDAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-cart.cjs","names":["z","action"],"sources":["../../src/actions/create-cart.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\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: AppAction<\n typeof OmnisendCreateCartInput,\n typeof OmnisendCreateCartOutput,\n typeof omnisend.credential\n> = 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":";;;;AAMA,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,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { omnisend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-cart.d.ts
|
|
@@ -25,27 +27,7 @@ declare const OmnisendCreateCartOutput: z.ZodObject<{
|
|
|
25
27
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
cartID: z.ZodNullable<z.ZodString>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const omnisendCreateCart:
|
|
29
|
-
cartID: string;
|
|
30
|
-
email?: string | undefined;
|
|
31
|
-
phone?: string | undefined;
|
|
32
|
-
cartSum?: number | undefined;
|
|
33
|
-
currency?: string | undefined;
|
|
34
|
-
products?: {
|
|
35
|
-
[x: string]: unknown;
|
|
36
|
-
title: string;
|
|
37
|
-
quantity: number;
|
|
38
|
-
productID: string;
|
|
39
|
-
variantID: string;
|
|
40
|
-
cartProductID: string;
|
|
41
|
-
price?: number | undefined;
|
|
42
|
-
imageUrl?: string | undefined;
|
|
43
|
-
}[] | undefined;
|
|
44
|
-
contactID?: string | undefined;
|
|
45
|
-
createdAt?: string | undefined;
|
|
46
|
-
updatedAt?: string | undefined;
|
|
47
|
-
cartRecoveryUrl?: string | undefined;
|
|
48
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
30
|
+
declare const omnisendCreateCart: AppAction<typeof OmnisendCreateCartInput, typeof OmnisendCreateCartOutput, typeof omnisend.credential>;
|
|
49
31
|
//#endregion
|
|
50
32
|
export { omnisendCreateCart };
|
|
51
33
|
//# sourceMappingURL=create-cart.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-cart.d.cts","names":[],"sources":["../../src/actions/create-cart.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-cart.d.cts","names":[],"sources":["../../src/actions/create-cart.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAoBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { omnisend } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-cart.d.ts
|
|
@@ -25,27 +27,7 @@ declare const OmnisendCreateCartOutput: z.ZodObject<{
|
|
|
25
27
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
cartID: z.ZodNullable<z.ZodString>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const omnisendCreateCart:
|
|
29
|
-
cartID: string;
|
|
30
|
-
email?: string | undefined;
|
|
31
|
-
phone?: string | undefined;
|
|
32
|
-
cartSum?: number | undefined;
|
|
33
|
-
currency?: string | undefined;
|
|
34
|
-
products?: {
|
|
35
|
-
[x: string]: unknown;
|
|
36
|
-
title: string;
|
|
37
|
-
quantity: number;
|
|
38
|
-
productID: string;
|
|
39
|
-
variantID: string;
|
|
40
|
-
cartProductID: string;
|
|
41
|
-
price?: number | undefined;
|
|
42
|
-
imageUrl?: string | undefined;
|
|
43
|
-
}[] | undefined;
|
|
44
|
-
contactID?: string | undefined;
|
|
45
|
-
createdAt?: string | undefined;
|
|
46
|
-
updatedAt?: string | undefined;
|
|
47
|
-
cartRecoveryUrl?: string | undefined;
|
|
48
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
30
|
+
declare const omnisendCreateCart: AppAction<typeof OmnisendCreateCartInput, typeof OmnisendCreateCartOutput, typeof omnisend.credential>;
|
|
49
31
|
//#endregion
|
|
50
32
|
export { omnisendCreateCart };
|
|
51
33
|
//# sourceMappingURL=create-cart.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-cart.d.mts","names":[],"sources":["../../src/actions/create-cart.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-cart.d.mts","names":[],"sources":["../../src/actions/create-cart.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAoBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-cart.mjs","names":[],"sources":["../../src/actions/create-cart.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\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: AppAction<\n typeof OmnisendCreateCartInput,\n typeof OmnisendCreateCartOutput,\n typeof omnisend.credential\n> = 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":";;;AA+BA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjCqC,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,qDAcH;CACP,QAdsC,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,qDAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"create-category.cjs","names":["z","action"],"sources":["../../src/actions/create-category.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\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: AppAction<\n typeof OmnisendCreateCategoryInput,\n typeof OmnisendCreateCategoryOutput,\n typeof omnisend.credential\n> = 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":";;;;AAMA,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,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { omnisend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-category.d.ts
|
|
@@ -8,10 +10,7 @@ declare const OmnisendCreateCategoryInput: z.ZodObject<{
|
|
|
8
10
|
declare const OmnisendCreateCategoryOutput: z.ZodObject<{
|
|
9
11
|
categoryID: z.ZodNullable<z.ZodString>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const omnisendCreateCategory:
|
|
12
|
-
title: string;
|
|
13
|
-
categoryID: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const omnisendCreateCategory: AppAction<typeof OmnisendCreateCategoryInput, typeof OmnisendCreateCategoryOutput, typeof omnisend.credential>;
|
|
15
14
|
//#endregion
|
|
16
15
|
export { omnisendCreateCategory };
|
|
17
16
|
//# sourceMappingURL=create-category.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-category.d.cts","names":[],"sources":["../../src/actions/create-category.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-category.d.cts","names":[],"sources":["../../src/actions/create-category.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { omnisend } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-category.d.ts
|
|
@@ -8,10 +10,7 @@ declare const OmnisendCreateCategoryInput: z.ZodObject<{
|
|
|
8
10
|
declare const OmnisendCreateCategoryOutput: z.ZodObject<{
|
|
9
11
|
categoryID: z.ZodNullable<z.ZodString>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const omnisendCreateCategory:
|
|
12
|
-
title: string;
|
|
13
|
-
categoryID: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const omnisendCreateCategory: AppAction<typeof OmnisendCreateCategoryInput, typeof OmnisendCreateCategoryOutput, typeof omnisend.credential>;
|
|
15
14
|
//#endregion
|
|
16
15
|
export { omnisendCreateCategory };
|
|
17
16
|
//# sourceMappingURL=create-category.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-category.d.mts","names":[],"sources":["../../src/actions/create-category.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-category.d.mts","names":[],"sources":["../../src/actions/create-category.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAI3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-category.mjs","names":[],"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":"
|
|
1
|
+
{"version":3,"file":"create-category.mjs","names":[],"sources":["../../src/actions/create-category.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\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: AppAction<\n typeof OmnisendCreateCategoryInput,\n typeof OmnisendCreateCategoryOutput,\n typeof omnisend.credential\n> = 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":";;;AAcA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CACpH,CAaS;CACP,QAb0C,EAAE,OAAO,EACnD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-or-update-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-or-update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendCreateOrUpdateContactInput = z.object({\n city: z.string().describe(\"City name\").optional(),\n gender: z.enum([\"m\", \"f\"]).describe(\"Contact's gender ('m' or 'f')\").optional(),\n address: z.string().describe(\"Street address\").optional(),\n country: z.string().describe(\"Full country name\").optional(),\n lastName: z.string().describe(\"Contact's last name\").optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format\").optional(),\n firstName: z.string().describe(\"Contact's first name\").optional(),\n postalCode: z.string().describe(\"Postal or ZIP code\").optional(),\n countryCode: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n identifiers: z.array(z.object({\n id: z.string().describe(\"Identifier value (e.g. email address)\"),\n type: z.string().describe(\"Type of identifier; only 'email' supported\"),\n channels: z.object({\n email: z.object({\n status: z.enum([\"subscribed\", \"nonSubscribed\", \"unsubscribed\"]).describe(\"Subscription status for email channel\"),\n statusDate: z.string().describe(\"ISO 8601 timestamp when the status last changed\").optional(),\n}).describe(\"Email channel subscription details\").optional(),\n}).describe(\"Channel-specific subscription settings\").optional(),\n sendWelcomeMessage: z.boolean().describe(\"If true, Omnisend will send its default welcome email upon creation\").optional(),\n}).passthrough()).describe(\"One or more ways to identify the contact; at least one required\"),\n});\nexport const OmnisendCreateOrUpdateContactOutput = z.object({\n email: z.string().describe(\"Primary email address on record\").nullable(),\n phone: z.string().describe(\"Phone number, if provided\").nullable().optional(),\n lastName: z.string().describe(\"Last name\").nullable().optional(),\n contactID: z.string().describe(\"Omnisend-assigned unique contact ID\").nullable(),\n firstName: z.string().describe(\"First name\").nullable().optional(),\n}).passthrough();\n\nexport const omnisendCreateOrUpdateContact = action(\"OMNISEND_CREATE_OR_UPDATE_CONTACT\", {\n slug: \"omnisend-create-or-update-contact\",\n name: \"Create or Update Contact\",\n description: \"Tool to create or update a contact in Omnisend. Use after collecting subscriber details.\",\n input: OmnisendCreateOrUpdateContactInput,\n output: OmnisendCreateOrUpdateContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-or-update-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-or-update-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { omnisend } from \"../app\";\n\nexport const OmnisendCreateOrUpdateContactInput = z.object({\n city: z.string().describe(\"City name\").optional(),\n gender: z.enum([\"m\", \"f\"]).describe(\"Contact's gender ('m' or 'f')\").optional(),\n address: z.string().describe(\"Street address\").optional(),\n country: z.string().describe(\"Full country name\").optional(),\n lastName: z.string().describe(\"Contact's last name\").optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format\").optional(),\n firstName: z.string().describe(\"Contact's first name\").optional(),\n postalCode: z.string().describe(\"Postal or ZIP code\").optional(),\n countryCode: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n identifiers: z.array(z.object({\n id: z.string().describe(\"Identifier value (e.g. email address)\"),\n type: z.string().describe(\"Type of identifier; only 'email' supported\"),\n channels: z.object({\n email: z.object({\n status: z.enum([\"subscribed\", \"nonSubscribed\", \"unsubscribed\"]).describe(\"Subscription status for email channel\"),\n statusDate: z.string().describe(\"ISO 8601 timestamp when the status last changed\").optional(),\n}).describe(\"Email channel subscription details\").optional(),\n}).describe(\"Channel-specific subscription settings\").optional(),\n sendWelcomeMessage: z.boolean().describe(\"If true, Omnisend will send its default welcome email upon creation\").optional(),\n}).passthrough()).describe(\"One or more ways to identify the contact; at least one required\"),\n});\nexport const OmnisendCreateOrUpdateContactOutput = z.object({\n email: z.string().describe(\"Primary email address on record\").nullable(),\n phone: z.string().describe(\"Phone number, if provided\").nullable().optional(),\n lastName: z.string().describe(\"Last name\").nullable().optional(),\n contactID: z.string().describe(\"Omnisend-assigned unique contact ID\").nullable(),\n firstName: z.string().describe(\"First name\").nullable().optional(),\n}).passthrough();\n\nexport const omnisendCreateOrUpdateContact: AppAction<\n typeof OmnisendCreateOrUpdateContactInput,\n typeof OmnisendCreateOrUpdateContactOutput,\n typeof omnisend.credential\n> = action(\"OMNISEND_CREATE_OR_UPDATE_CONTACT\", {\n slug: \"omnisend-create-or-update-contact\",\n name: \"Create or Update Contact\",\n description: \"Tool to create or update a contact in Omnisend. Use after collecting subscriber details.\",\n input: OmnisendCreateOrUpdateContactInput,\n output: OmnisendCreateOrUpdateContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,QAAQA,IAAAA,EAAE,KAAK,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC9B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,UAAUA,IAAAA,EAAE,OAAO,EACnB,OAAOA,IAAAA,EAAE,OAAO;GAChB,QAAQA,IAAAA,EAAE,KAAK;IAAC;IAAc;IAAiB;GAAc,CAAC,CAAC,CAAC,SAAS,uCAAuC;GAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC9F,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,EAC3D,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7D,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC5F,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,gCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { omnisend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-or-update-contact.d.ts
|
|
@@ -20,9 +22,9 @@ declare const OmnisendCreateOrUpdateContactInput: z.ZodObject<{
|
|
|
20
22
|
channels: z.ZodOptional<z.ZodObject<{
|
|
21
23
|
email: z.ZodOptional<z.ZodObject<{
|
|
22
24
|
status: z.ZodEnum<{
|
|
25
|
+
unsubscribed: "unsubscribed";
|
|
23
26
|
subscribed: "subscribed";
|
|
24
27
|
nonSubscribed: "nonSubscribed";
|
|
25
|
-
unsubscribed: "unsubscribed";
|
|
26
28
|
}>;
|
|
27
29
|
statusDate: z.ZodOptional<z.ZodString>;
|
|
28
30
|
}, z.core.$strip>>;
|
|
@@ -37,29 +39,7 @@ declare const OmnisendCreateOrUpdateContactOutput: z.ZodObject<{
|
|
|
37
39
|
contactID: z.ZodNullable<z.ZodString>;
|
|
38
40
|
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const omnisendCreateOrUpdateContact:
|
|
41
|
-
identifiers: {
|
|
42
|
-
[x: string]: unknown;
|
|
43
|
-
id: string;
|
|
44
|
-
type: string;
|
|
45
|
-
channels?: {
|
|
46
|
-
email?: {
|
|
47
|
-
status: "subscribed" | "nonSubscribed" | "unsubscribed";
|
|
48
|
-
statusDate?: string | undefined;
|
|
49
|
-
} | undefined;
|
|
50
|
-
} | undefined;
|
|
51
|
-
sendWelcomeMessage?: boolean | undefined;
|
|
52
|
-
}[];
|
|
53
|
-
city?: string | undefined;
|
|
54
|
-
gender?: "m" | "f" | undefined;
|
|
55
|
-
address?: string | undefined;
|
|
56
|
-
country?: string | undefined;
|
|
57
|
-
lastName?: string | undefined;
|
|
58
|
-
birthdate?: string | undefined;
|
|
59
|
-
firstName?: string | undefined;
|
|
60
|
-
postalCode?: string | undefined;
|
|
61
|
-
countryCode?: string | undefined;
|
|
62
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
42
|
+
declare const omnisendCreateOrUpdateContact: AppAction<typeof OmnisendCreateOrUpdateContactInput, typeof OmnisendCreateOrUpdateContactOutput, typeof omnisend.credential>;
|
|
63
43
|
//#endregion
|
|
64
44
|
export { omnisendCreateOrUpdateContact };
|
|
65
45
|
//# sourceMappingURL=create-or-update-contact.d.cts.map
|