@keystrokehq/omnisend 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-cart-product.cjs +36 -0
- package/dist/actions/add-cart-product.cjs.map +1 -0
- package/dist/actions/add-cart-product.d.cts +9 -0
- package/dist/actions/add-cart-product.d.cts.map +1 -0
- package/dist/actions/add-cart-product.d.mts +9 -0
- package/dist/actions/add-cart-product.d.mts.map +1 -0
- package/dist/actions/add-cart-product.mjs +33 -0
- package/dist/actions/add-cart-product.mjs.map +1 -0
- package/dist/actions/create-batch.cjs +53 -0
- package/dist/actions/create-batch.cjs.map +1 -0
- package/dist/actions/create-batch.d.cts +9 -0
- package/dist/actions/create-batch.d.cts.map +1 -0
- package/dist/actions/create-batch.d.mts +9 -0
- package/dist/actions/create-batch.d.mts.map +1 -0
- package/dist/actions/create-batch.mjs +52 -0
- package/dist/actions/create-batch.mjs.map +1 -0
- package/dist/actions/create-cart.cjs +38 -0
- package/dist/actions/create-cart.cjs.map +1 -0
- package/dist/actions/create-cart.d.cts +9 -0
- package/dist/actions/create-cart.d.cts.map +1 -0
- package/dist/actions/create-cart.d.mts +9 -0
- package/dist/actions/create-cart.d.mts.map +1 -0
- package/dist/actions/create-cart.mjs +35 -0
- package/dist/actions/create-cart.mjs.map +1 -0
- package/dist/actions/create-category.cjs +19 -0
- package/dist/actions/create-category.cjs.map +1 -0
- package/dist/actions/create-category.d.cts +9 -0
- package/dist/actions/create-category.d.cts.map +1 -0
- package/dist/actions/create-category.d.mts +9 -0
- package/dist/actions/create-category.d.mts.map +1 -0
- package/dist/actions/create-category.mjs +16 -0
- package/dist/actions/create-category.mjs.map +1 -0
- package/dist/actions/create-or-update-contact.cjs +45 -0
- package/dist/actions/create-or-update-contact.cjs.map +1 -0
- package/dist/actions/create-or-update-contact.d.cts +9 -0
- package/dist/actions/create-or-update-contact.d.cts.map +1 -0
- package/dist/actions/create-or-update-contact.d.mts +9 -0
- package/dist/actions/create-or-update-contact.d.mts.map +1 -0
- package/dist/actions/create-or-update-contact.mjs +42 -0
- package/dist/actions/create-or-update-contact.mjs.map +1 -0
- package/dist/actions/create-order.cjs +105 -0
- package/dist/actions/create-order.cjs.map +1 -0
- package/dist/actions/create-order.d.cts +9 -0
- package/dist/actions/create-order.d.cts.map +1 -0
- package/dist/actions/create-order.d.mts +9 -0
- package/dist/actions/create-order.d.mts.map +1 -0
- package/dist/actions/create-order.mjs +102 -0
- package/dist/actions/create-order.mjs.map +1 -0
- package/dist/actions/create-product-category.cjs +19 -0
- package/dist/actions/create-product-category.cjs.map +1 -0
- package/dist/actions/create-product-category.d.cts +9 -0
- package/dist/actions/create-product-category.d.cts.map +1 -0
- package/dist/actions/create-product-category.d.mts +9 -0
- package/dist/actions/create-product-category.d.mts.map +1 -0
- package/dist/actions/create-product-category.mjs +16 -0
- package/dist/actions/create-product-category.mjs.map +1 -0
- package/dist/actions/create-product.cjs +51 -0
- package/dist/actions/create-product.cjs.map +1 -0
- package/dist/actions/create-product.d.cts +9 -0
- package/dist/actions/create-product.d.cts.map +1 -0
- package/dist/actions/create-product.d.mts +9 -0
- package/dist/actions/create-product.d.mts.map +1 -0
- package/dist/actions/create-product.mjs +48 -0
- package/dist/actions/create-product.mjs.map +1 -0
- package/dist/actions/delete-cart.cjs +16 -0
- package/dist/actions/delete-cart.cjs.map +1 -0
- package/dist/actions/delete-cart.d.cts +9 -0
- package/dist/actions/delete-cart.d.cts.map +1 -0
- package/dist/actions/delete-cart.d.mts +9 -0
- package/dist/actions/delete-cart.d.mts.map +1 -0
- package/dist/actions/delete-cart.mjs +13 -0
- package/dist/actions/delete-cart.mjs.map +1 -0
- package/dist/actions/delete-category.cjs +16 -0
- package/dist/actions/delete-category.cjs.map +1 -0
- package/dist/actions/delete-category.d.cts +9 -0
- package/dist/actions/delete-category.d.cts.map +1 -0
- package/dist/actions/delete-category.d.mts +9 -0
- package/dist/actions/delete-category.d.mts.map +1 -0
- package/dist/actions/delete-category.mjs +13 -0
- package/dist/actions/delete-category.mjs.map +1 -0
- package/dist/actions/delete-order.cjs +16 -0
- package/dist/actions/delete-order.cjs.map +1 -0
- package/dist/actions/delete-order.d.cts +9 -0
- package/dist/actions/delete-order.d.cts.map +1 -0
- package/dist/actions/delete-order.d.mts +9 -0
- package/dist/actions/delete-order.d.mts.map +1 -0
- package/dist/actions/delete-order.mjs +13 -0
- package/dist/actions/delete-order.mjs.map +1 -0
- package/dist/actions/delete-product-category.cjs +16 -0
- package/dist/actions/delete-product-category.cjs.map +1 -0
- package/dist/actions/delete-product-category.d.cts +9 -0
- package/dist/actions/delete-product-category.d.cts.map +1 -0
- package/dist/actions/delete-product-category.d.mts +9 -0
- package/dist/actions/delete-product-category.d.mts.map +1 -0
- package/dist/actions/delete-product-category.mjs +13 -0
- package/dist/actions/delete-product-category.mjs.map +1 -0
- package/dist/actions/delete-product.cjs +16 -0
- package/dist/actions/delete-product.cjs.map +1 -0
- package/dist/actions/delete-product.d.cts +9 -0
- package/dist/actions/delete-product.d.cts.map +1 -0
- package/dist/actions/delete-product.d.mts +9 -0
- package/dist/actions/delete-product.d.mts.map +1 -0
- package/dist/actions/delete-product.mjs +13 -0
- package/dist/actions/delete-product.mjs.map +1 -0
- package/dist/actions/get-batch-information.cjs +25 -0
- package/dist/actions/get-batch-information.cjs.map +1 -0
- package/dist/actions/get-batch-information.d.cts +9 -0
- package/dist/actions/get-batch-information.d.cts.map +1 -0
- package/dist/actions/get-batch-information.d.mts +9 -0
- package/dist/actions/get-batch-information.d.mts.map +1 -0
- package/dist/actions/get-batch-information.mjs +22 -0
- package/dist/actions/get-batch-information.mjs.map +1 -0
- package/dist/actions/get-batch-item.cjs +29 -0
- package/dist/actions/get-batch-item.cjs.map +1 -0
- package/dist/actions/get-batch-item.d.cts +9 -0
- package/dist/actions/get-batch-item.d.cts.map +1 -0
- package/dist/actions/get-batch-item.d.mts +9 -0
- package/dist/actions/get-batch-item.d.mts.map +1 -0
- package/dist/actions/get-batch-item.mjs +26 -0
- package/dist/actions/get-batch-item.mjs.map +1 -0
- package/dist/actions/get-batch-items.cjs +23 -0
- package/dist/actions/get-batch-items.cjs.map +1 -0
- package/dist/actions/get-batch-items.d.cts +9 -0
- package/dist/actions/get-batch-items.d.cts.map +1 -0
- package/dist/actions/get-batch-items.d.mts +9 -0
- package/dist/actions/get-batch-items.d.mts.map +1 -0
- package/dist/actions/get-batch-items.mjs +22 -0
- package/dist/actions/get-batch-items.mjs.map +1 -0
- package/dist/actions/get-batches.cjs +44 -0
- package/dist/actions/get-batches.cjs.map +1 -0
- package/dist/actions/get-batches.d.cts +9 -0
- package/dist/actions/get-batches.d.cts.map +1 -0
- package/dist/actions/get-batches.d.mts +9 -0
- package/dist/actions/get-batches.d.mts.map +1 -0
- package/dist/actions/get-batches.mjs +43 -0
- package/dist/actions/get-batches.mjs.map +1 -0
- package/dist/actions/get-brand.cjs +24 -0
- package/dist/actions/get-brand.cjs.map +1 -0
- package/dist/actions/get-brand.d.cts +9 -0
- package/dist/actions/get-brand.d.cts.map +1 -0
- package/dist/actions/get-brand.d.mts +9 -0
- package/dist/actions/get-brand.d.mts.map +1 -0
- package/dist/actions/get-brand.mjs +21 -0
- package/dist/actions/get-brand.mjs.map +1 -0
- package/dist/actions/get-cart.cjs +41 -0
- package/dist/actions/get-cart.cjs.map +1 -0
- package/dist/actions/get-cart.d.cts +9 -0
- package/dist/actions/get-cart.d.cts.map +1 -0
- package/dist/actions/get-cart.d.mts +9 -0
- package/dist/actions/get-cart.d.mts.map +1 -0
- package/dist/actions/get-cart.mjs +40 -0
- package/dist/actions/get-cart.mjs.map +1 -0
- package/dist/actions/get-category.cjs +21 -0
- package/dist/actions/get-category.cjs.map +1 -0
- package/dist/actions/get-category.d.cts +9 -0
- package/dist/actions/get-category.d.cts.map +1 -0
- package/dist/actions/get-category.d.mts +9 -0
- package/dist/actions/get-category.d.mts.map +1 -0
- package/dist/actions/get-category.mjs +18 -0
- package/dist/actions/get-category.mjs.map +1 -0
- package/dist/actions/get-contact.cjs +60 -0
- package/dist/actions/get-contact.cjs.map +1 -0
- package/dist/actions/get-contact.d.cts +9 -0
- package/dist/actions/get-contact.d.cts.map +1 -0
- package/dist/actions/get-contact.d.mts +9 -0
- package/dist/actions/get-contact.d.mts.map +1 -0
- package/dist/actions/get-contact.mjs +59 -0
- package/dist/actions/get-contact.mjs.map +1 -0
- package/dist/actions/get-order.cjs +86 -0
- package/dist/actions/get-order.cjs.map +1 -0
- package/dist/actions/get-order.d.cts +9 -0
- package/dist/actions/get-order.d.cts.map +1 -0
- package/dist/actions/get-order.d.mts +9 -0
- package/dist/actions/get-order.d.mts.map +1 -0
- package/dist/actions/get-order.mjs +85 -0
- package/dist/actions/get-order.mjs.map +1 -0
- package/dist/actions/get-product-category.cjs +21 -0
- package/dist/actions/get-product-category.cjs.map +1 -0
- package/dist/actions/get-product-category.d.cts +9 -0
- package/dist/actions/get-product-category.d.cts.map +1 -0
- package/dist/actions/get-product-category.d.mts +9 -0
- package/dist/actions/get-product-category.d.mts.map +1 -0
- package/dist/actions/get-product-category.mjs +18 -0
- package/dist/actions/get-product-category.mjs.map +1 -0
- package/dist/actions/get-product.cjs +52 -0
- package/dist/actions/get-product.cjs.map +1 -0
- package/dist/actions/get-product.d.cts +9 -0
- package/dist/actions/get-product.d.cts.map +1 -0
- package/dist/actions/get-product.d.mts +9 -0
- package/dist/actions/get-product.d.mts.map +1 -0
- package/dist/actions/get-product.mjs +51 -0
- package/dist/actions/get-product.mjs.map +1 -0
- package/dist/actions/index.cjs +87 -0
- package/dist/actions/index.d.cts +44 -0
- package/dist/actions/index.d.mts +44 -0
- package/dist/actions/index.mjs +44 -0
- package/dist/actions/list-campaigns.cjs +69 -0
- package/dist/actions/list-campaigns.cjs.map +1 -0
- package/dist/actions/list-campaigns.d.cts +9 -0
- package/dist/actions/list-campaigns.d.cts.map +1 -0
- package/dist/actions/list-campaigns.d.mts +9 -0
- package/dist/actions/list-campaigns.d.mts.map +1 -0
- package/dist/actions/list-campaigns.mjs +68 -0
- package/dist/actions/list-campaigns.mjs.map +1 -0
- package/dist/actions/list-carts.cjs +49 -0
- package/dist/actions/list-carts.cjs.map +1 -0
- package/dist/actions/list-carts.d.cts +9 -0
- package/dist/actions/list-carts.d.cts.map +1 -0
- package/dist/actions/list-carts.d.mts +9 -0
- package/dist/actions/list-carts.d.mts.map +1 -0
- package/dist/actions/list-carts.mjs +48 -0
- package/dist/actions/list-carts.mjs.map +1 -0
- package/dist/actions/list-categories.cjs +35 -0
- package/dist/actions/list-categories.cjs.map +1 -0
- package/dist/actions/list-categories.d.cts +9 -0
- package/dist/actions/list-categories.d.cts.map +1 -0
- package/dist/actions/list-categories.d.mts +9 -0
- package/dist/actions/list-categories.d.mts.map +1 -0
- package/dist/actions/list-categories.mjs +34 -0
- package/dist/actions/list-categories.mjs.map +1 -0
- package/dist/actions/list-contacts.cjs +82 -0
- package/dist/actions/list-contacts.cjs.map +1 -0
- package/dist/actions/list-contacts.d.cts +9 -0
- package/dist/actions/list-contacts.d.cts.map +1 -0
- package/dist/actions/list-contacts.d.mts +9 -0
- package/dist/actions/list-contacts.d.mts.map +1 -0
- package/dist/actions/list-contacts.mjs +81 -0
- package/dist/actions/list-contacts.mjs.map +1 -0
- package/dist/actions/list-events.cjs +31 -0
- package/dist/actions/list-events.cjs.map +1 -0
- package/dist/actions/list-events.d.cts +9 -0
- package/dist/actions/list-events.d.cts.map +1 -0
- package/dist/actions/list-events.d.mts +9 -0
- package/dist/actions/list-events.d.mts.map +1 -0
- package/dist/actions/list-events.mjs +30 -0
- package/dist/actions/list-events.mjs.map +1 -0
- package/dist/actions/list-product-categories.cjs +39 -0
- package/dist/actions/list-product-categories.cjs.map +1 -0
- package/dist/actions/list-product-categories.d.cts +9 -0
- package/dist/actions/list-product-categories.d.cts.map +1 -0
- package/dist/actions/list-product-categories.d.mts +9 -0
- package/dist/actions/list-product-categories.d.mts.map +1 -0
- package/dist/actions/list-product-categories.mjs +38 -0
- package/dist/actions/list-product-categories.mjs.map +1 -0
- package/dist/actions/list-products.cjs +70 -0
- package/dist/actions/list-products.cjs.map +1 -0
- package/dist/actions/list-products.d.cts +9 -0
- package/dist/actions/list-products.d.cts.map +1 -0
- package/dist/actions/list-products.d.mts +9 -0
- package/dist/actions/list-products.d.mts.map +1 -0
- package/dist/actions/list-products.mjs +69 -0
- package/dist/actions/list-products.mjs.map +1 -0
- package/dist/actions/remove-cart-product.cjs +19 -0
- package/dist/actions/remove-cart-product.cjs.map +1 -0
- package/dist/actions/remove-cart-product.d.cts +9 -0
- package/dist/actions/remove-cart-product.d.cts.map +1 -0
- package/dist/actions/remove-cart-product.d.mts +9 -0
- package/dist/actions/remove-cart-product.d.mts.map +1 -0
- package/dist/actions/remove-cart-product.mjs +16 -0
- package/dist/actions/remove-cart-product.mjs.map +1 -0
- package/dist/actions/replace-cart-product.cjs +36 -0
- package/dist/actions/replace-cart-product.cjs.map +1 -0
- package/dist/actions/replace-cart-product.d.cts +9 -0
- package/dist/actions/replace-cart-product.d.cts.map +1 -0
- package/dist/actions/replace-cart-product.d.mts +9 -0
- package/dist/actions/replace-cart-product.d.mts.map +1 -0
- package/dist/actions/replace-cart-product.mjs +33 -0
- package/dist/actions/replace-cart-product.mjs.map +1 -0
- package/dist/actions/replace-cart.cjs +36 -0
- package/dist/actions/replace-cart.cjs.map +1 -0
- package/dist/actions/replace-cart.d.cts +9 -0
- package/dist/actions/replace-cart.d.cts.map +1 -0
- package/dist/actions/replace-cart.d.mts +9 -0
- package/dist/actions/replace-cart.d.mts.map +1 -0
- package/dist/actions/replace-cart.mjs +33 -0
- package/dist/actions/replace-cart.mjs.map +1 -0
- package/dist/actions/replace-category.cjs +19 -0
- package/dist/actions/replace-category.cjs.map +1 -0
- package/dist/actions/replace-category.d.cts +9 -0
- package/dist/actions/replace-category.d.cts.map +1 -0
- package/dist/actions/replace-category.d.mts +9 -0
- package/dist/actions/replace-category.d.mts.map +1 -0
- package/dist/actions/replace-category.mjs +16 -0
- package/dist/actions/replace-category.mjs.map +1 -0
- package/dist/actions/replace-order.cjs +84 -0
- package/dist/actions/replace-order.cjs.map +1 -0
- package/dist/actions/replace-order.d.cts +9 -0
- package/dist/actions/replace-order.d.cts.map +1 -0
- package/dist/actions/replace-order.d.mts +9 -0
- package/dist/actions/replace-order.d.mts.map +1 -0
- package/dist/actions/replace-order.mjs +81 -0
- package/dist/actions/replace-order.mjs.map +1 -0
- package/dist/actions/replace-product.cjs +52 -0
- package/dist/actions/replace-product.cjs.map +1 -0
- package/dist/actions/replace-product.d.cts +9 -0
- package/dist/actions/replace-product.d.cts.map +1 -0
- package/dist/actions/replace-product.d.mts +9 -0
- package/dist/actions/replace-product.d.mts.map +1 -0
- package/dist/actions/replace-product.mjs +49 -0
- package/dist/actions/replace-product.mjs.map +1 -0
- package/dist/actions/send-event.cjs +43 -0
- package/dist/actions/send-event.cjs.map +1 -0
- package/dist/actions/send-event.d.cts +9 -0
- package/dist/actions/send-event.d.cts.map +1 -0
- package/dist/actions/send-event.d.mts +9 -0
- package/dist/actions/send-event.d.mts.map +1 -0
- package/dist/actions/send-event.mjs +40 -0
- package/dist/actions/send-event.mjs.map +1 -0
- package/dist/actions/update-cart-product.cjs +36 -0
- package/dist/actions/update-cart-product.cjs.map +1 -0
- package/dist/actions/update-cart-product.d.cts +9 -0
- package/dist/actions/update-cart-product.d.cts.map +1 -0
- package/dist/actions/update-cart-product.d.mts +9 -0
- package/dist/actions/update-cart-product.d.mts.map +1 -0
- package/dist/actions/update-cart-product.mjs +33 -0
- package/dist/actions/update-cart-product.mjs.map +1 -0
- package/dist/actions/update-cart.cjs +35 -0
- package/dist/actions/update-cart.cjs.map +1 -0
- package/dist/actions/update-cart.d.cts +9 -0
- package/dist/actions/update-cart.d.cts.map +1 -0
- package/dist/actions/update-cart.d.mts +9 -0
- package/dist/actions/update-cart.d.mts.map +1 -0
- package/dist/actions/update-cart.mjs +32 -0
- package/dist/actions/update-cart.mjs.map +1 -0
- package/dist/actions/update-contact.cjs +60 -0
- package/dist/actions/update-contact.cjs.map +1 -0
- package/dist/actions/update-contact.d.cts +9 -0
- package/dist/actions/update-contact.d.cts.map +1 -0
- package/dist/actions/update-contact.d.mts +9 -0
- package/dist/actions/update-contact.d.mts.map +1 -0
- package/dist/actions/update-contact.mjs +57 -0
- package/dist/actions/update-contact.mjs.map +1 -0
- package/dist/actions/update-order-status.cjs +30 -0
- package/dist/actions/update-order-status.cjs.map +1 -0
- package/dist/actions/update-order-status.d.cts +9 -0
- package/dist/actions/update-order-status.d.cts.map +1 -0
- package/dist/actions/update-order-status.d.mts +9 -0
- package/dist/actions/update-order-status.d.mts.map +1 -0
- package/dist/actions/update-order-status.mjs +27 -0
- package/dist/actions/update-order-status.mjs.map +1 -0
- package/dist/actions/update-product-category.cjs +19 -0
- package/dist/actions/update-product-category.cjs.map +1 -0
- package/dist/actions/update-product-category.d.cts +9 -0
- package/dist/actions/update-product-category.d.cts.map +1 -0
- package/dist/actions/update-product-category.d.mts +9 -0
- package/dist/actions/update-product-category.d.mts.map +1 -0
- package/dist/actions/update-product-category.mjs +16 -0
- package/dist/actions/update-product-category.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +92 -0
- package/dist/index.d.cts +46 -0
- package/dist/index.d.mts +46 -0
- package/dist/index.mjs +47 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replace-product.mjs","names":[],"sources":["../../src/actions/replace-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendReplaceProductInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Product ID - must match the product_id path parameter\"),\n url: z.string().describe(\"URL pointing to the product page on your website\"),\n tags: z.array(z.string()).describe(\"Tags for product categorization (max 100 items)\").optional(),\n type: z.string().describe(\"Product type for categorization purposes\").optional(),\n title: z.string().describe(\"Product title\"),\n images: z.array(z.string()).describe(\"Additional product image URLs (max 300 items)\").optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).describe(\"Product stock status. Keep in sync with your shop to avoid sending out-of-stock products\"),\n vendor: z.string().describe(\"Manufacturer or brand of the product\").optional(),\n currency: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR, GBP)\"),\n variants: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the variant\"),\n sku: z.string().describe(\"Stock keeping unit identifier\").optional(),\n url: z.string().describe(\"URL pointing to the variant's product page\"),\n price: z.number().describe(\"Price of the variant\"),\n title: z.string().describe(\"Title of the variant\"),\n images: z.array(z.string()).describe(\"Additional image URLs for the variant (max 300 items)\").optional(),\n status: z.enum([\"inStock\", \"outOfStock\", \"notAvailable\"]).default(\"inStock\").describe(\"Stock status of the variant. Options: inStock, outOfStock, notAvailable\").optional(),\n description: z.string().describe(\"Description of the variant\").optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL for this variant\").optional(),\n strikeThroughPrice: z.number().describe(\"Original price before discount\").optional(),\n})).describe(\"Product variants (different versions like sizes/colors). At least one variant required\"),\n createdAt: z.string().describe(\"Creation timestamp in ISO 8601 format\").optional(),\n updatedAt: z.string().describe(\"Last update timestamp in ISO 8601 format\").optional(),\n product_id: z.string().describe(\"Unique identifier of the product to replace. Must match the product ID in the request body\"),\n categoryIDs: z.array(z.string()).describe(\"List of category IDs the product belongs to (max 100 items)\").optional(),\n description: z.string().describe(\"Short description of the product for email body usage\").optional(),\n defaultImageUrl: z.string().describe(\"Primary image URL. Recommended if you need more than one image - additional images go in the images array\").optional(),\n});\nexport const OmnisendReplaceProductOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Product identifier that was replaced\"),\n});\n\nexport const omnisendReplaceProduct = action(\"OMNISEND_REPLACE_PRODUCT\", {\n slug: \"omnisend-replace-product\",\n name: \"Replace Product\",\n description: \"Tool to replace an existing product in the Omnisend catalog. Use when you need to completely replace all product data with new information.\",\n input: OmnisendReplaceProductInput,\n output: OmnisendReplaceProductOutput,\n});\n"],"mappings":";;AAqCA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArCuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC3E,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;EAC1C,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,KAAK;GAAC;GAAW;GAAc;EAAc,CAAC,CAAC,CAAC,SAAS,0FAA0F;EAC7J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC7E,UAAU,EAAE,OAA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ASS;CACP,QATwD,EAAE,OAAO,EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/send-event.ts
|
|
4
|
+
const OmnisendSendEventInput = zod.z.object({
|
|
5
|
+
origin: zod.z.string().describe("Source of the event. Use 'api' for general API integrations. Platform or app integrations should have dedicated origin values."),
|
|
6
|
+
contact: zod.z.object({
|
|
7
|
+
id: zod.z.string().describe("Contact ID from Omnisend").optional(),
|
|
8
|
+
city: zod.z.string().describe("City name").optional(),
|
|
9
|
+
tags: zod.z.array(zod.z.string()).describe("Tags associated with the contact").optional(),
|
|
10
|
+
email: zod.z.string().describe("Contact email address").optional(),
|
|
11
|
+
phone: zod.z.string().describe("Contact phone number in E.164 format").optional(),
|
|
12
|
+
state: zod.z.string().describe("State or province").optional(),
|
|
13
|
+
gender: zod.z.string().describe("Contact's gender").optional(),
|
|
14
|
+
address: zod.z.string().describe("Street address").optional(),
|
|
15
|
+
country: zod.z.string().describe("Full country name").optional(),
|
|
16
|
+
lastName: zod.z.string().describe("Contact's last name").optional(),
|
|
17
|
+
birthdate: zod.z.string().describe("Birthdate in YYYY-MM-DD format").optional(),
|
|
18
|
+
firstName: zod.z.string().describe("Contact's first name").optional(),
|
|
19
|
+
postalCode: zod.z.string().describe("Postal or ZIP code").optional(),
|
|
20
|
+
countryCode: zod.z.string().describe("ISO 3166-1 alpha-2 country code").optional(),
|
|
21
|
+
customProperties: zod.z.object({}).describe("Custom properties for the contact").optional()
|
|
22
|
+
}).describe("Contact information. Contact will be created or updated based on the data provided. At least one identifier (email, phone, or id) is required."),
|
|
23
|
+
eventID: zod.z.string().describe("UUID of the event (v4, v5, v6, v7). Used for event deduplication along with eventTime. If not provided, it will be generated automatically.").optional(),
|
|
24
|
+
eventName: zod.z.string().describe("Name of the event (e.g., 'order placed', 'product viewed', 'test_event'). Check event documentation for standard event names."),
|
|
25
|
+
eventTime: zod.z.string().describe("Event timestamp in RFC3339 format (e.g., '2021-07-01T00:00:00Z'). If not provided, current time will be used.").optional(),
|
|
26
|
+
properties: zod.z.object({}).describe("Event-specific properties such as order details, product info, etc. Check events guide for recommended properties for each event type.").optional(),
|
|
27
|
+
eventVersion: zod.z.string().describe("Event version string. Check event documentation for required version for each event. Leave empty for custom events.").optional()
|
|
28
|
+
}).describe("Request schema for sending a customer event to Omnisend.");
|
|
29
|
+
const OmnisendSendEventOutput = zod.z.object({
|
|
30
|
+
status: zod.z.string().describe("Status of the event submission").nullable().optional(),
|
|
31
|
+
eventID: zod.z.string().describe("UUID of the event that was created or processed").nullable().optional()
|
|
32
|
+
}).describe("Response schema for send event action.");
|
|
33
|
+
const omnisendSendEvent = require_action.action("OMNISEND_SEND_EVENT", {
|
|
34
|
+
slug: "omnisend-send-event",
|
|
35
|
+
name: "Send Event",
|
|
36
|
+
description: "Tool to send a customer event to Omnisend. Events can trigger automations and track customer behavior. Use when you need to record customer interactions such as product views, cart actions, or custom events.",
|
|
37
|
+
input: OmnisendSendEventInput,
|
|
38
|
+
output: OmnisendSendEventOutput
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
exports.omnisendSendEvent = omnisendSendEvent;
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=send-event.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-event.cjs","names":["z","action"],"sources":["../../src/actions/send-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendSendEventInput: z.ZodTypeAny = z.object({\n origin: z.string().describe(\"Source of the event. Use 'api' for general API integrations. Platform or app integrations should have dedicated origin values.\"),\n contact: z.object({\n id: z.string().describe(\"Contact ID from Omnisend\").optional(),\n city: z.string().describe(\"City name\").optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the contact\").optional(),\n email: z.string().describe(\"Contact email address\").optional(),\n phone: z.string().describe(\"Contact phone number in E.164 format\").optional(),\n state: z.string().describe(\"State or province\").optional(),\n gender: z.string().describe(\"Contact's gender\").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 customProperties: z.object({}).describe(\"Custom properties for the contact\").optional(),\n}).describe(\"Contact information. Contact will be created or updated based on the data provided. At least one identifier (email, phone, or id) is required.\"),\n eventID: z.string().describe(\"UUID of the event (v4, v5, v6, v7). Used for event deduplication along with eventTime. If not provided, it will be generated automatically.\").optional(),\n eventName: z.string().describe(\"Name of the event (e.g., 'order placed', 'product viewed', 'test_event'). Check event documentation for standard event names.\"),\n eventTime: z.string().describe(\"Event timestamp in RFC3339 format (e.g., '2021-07-01T00:00:00Z'). If not provided, current time will be used.\").optional(),\n properties: z.object({}).describe(\"Event-specific properties such as order details, product info, etc. Check events guide for recommended properties for each event type.\").optional(),\n eventVersion: z.string().describe(\"Event version string. Check event documentation for required version for each event. Leave empty for custom events.\").optional(),\n}).describe(\"Request schema for sending a customer event to Omnisend.\");\nexport const OmnisendSendEventOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the event submission\").nullable().optional(),\n eventID: z.string().describe(\"UUID of the event that was created or processed\").nullable().optional(),\n}).describe(\"Response schema for send event action.\");\n\nexport const omnisendSendEvent = action(\"OMNISEND_SEND_EVENT\", {\n slug: \"omnisend-send-event\",\n name: \"Send Event\",\n description: \"Tool to send a customer event to Omnisend. Events can trigger automations and track customer behavior. Use when you need to record customer interactions such as product views, cart actions, or custom events.\",\n input: OmnisendSendEventInput,\n output: OmnisendSendEventOutput,\n});\n"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C,CAAC,CAAC,SAAS;EAC7E,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,SAAS,gJAAgJ;CAC1J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CACrL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;CAC9J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACzJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACrL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/send-event.d.ts
|
|
4
|
+
declare const OmnisendSendEventInput: z.ZodTypeAny;
|
|
5
|
+
declare const OmnisendSendEventOutput: z.ZodTypeAny;
|
|
6
|
+
declare const omnisendSendEvent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { omnisendSendEvent };
|
|
9
|
+
//# sourceMappingURL=send-event.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-event.d.cts","names":[],"sources":["../../src/actions/send-event.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAwBgC;AAAA,cAC1D,uBAAA,EAAyB,CAAA,CAAE,UAGa;AAAA,cAExC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/send-event.d.ts
|
|
4
|
+
declare const OmnisendSendEventInput: z.ZodTypeAny;
|
|
5
|
+
declare const OmnisendSendEventOutput: z.ZodTypeAny;
|
|
6
|
+
declare const omnisendSendEvent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { omnisendSendEvent };
|
|
9
|
+
//# sourceMappingURL=send-event.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-event.d.mts","names":[],"sources":["../../src/actions/send-event.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAwBgC;AAAA,cAC1D,uBAAA,EAAyB,CAAA,CAAE,UAGa;AAAA,cAExC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const omnisendSendEvent = action("OMNISEND_SEND_EVENT", {
|
|
4
|
+
slug: "omnisend-send-event",
|
|
5
|
+
name: "Send Event",
|
|
6
|
+
description: "Tool to send a customer event to Omnisend. Events can trigger automations and track customer behavior. Use when you need to record customer interactions such as product views, cart actions, or custom events.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
origin: z.string().describe("Source of the event. Use 'api' for general API integrations. Platform or app integrations should have dedicated origin values."),
|
|
9
|
+
contact: z.object({
|
|
10
|
+
id: z.string().describe("Contact ID from Omnisend").optional(),
|
|
11
|
+
city: z.string().describe("City name").optional(),
|
|
12
|
+
tags: z.array(z.string()).describe("Tags associated with the contact").optional(),
|
|
13
|
+
email: z.string().describe("Contact email address").optional(),
|
|
14
|
+
phone: z.string().describe("Contact phone number in E.164 format").optional(),
|
|
15
|
+
state: z.string().describe("State or province").optional(),
|
|
16
|
+
gender: z.string().describe("Contact's gender").optional(),
|
|
17
|
+
address: z.string().describe("Street address").optional(),
|
|
18
|
+
country: z.string().describe("Full country name").optional(),
|
|
19
|
+
lastName: z.string().describe("Contact's last name").optional(),
|
|
20
|
+
birthdate: z.string().describe("Birthdate in YYYY-MM-DD format").optional(),
|
|
21
|
+
firstName: z.string().describe("Contact's first name").optional(),
|
|
22
|
+
postalCode: z.string().describe("Postal or ZIP code").optional(),
|
|
23
|
+
countryCode: z.string().describe("ISO 3166-1 alpha-2 country code").optional(),
|
|
24
|
+
customProperties: z.object({}).describe("Custom properties for the contact").optional()
|
|
25
|
+
}).describe("Contact information. Contact will be created or updated based on the data provided. At least one identifier (email, phone, or id) is required."),
|
|
26
|
+
eventID: z.string().describe("UUID of the event (v4, v5, v6, v7). Used for event deduplication along with eventTime. If not provided, it will be generated automatically.").optional(),
|
|
27
|
+
eventName: z.string().describe("Name of the event (e.g., 'order placed', 'product viewed', 'test_event'). Check event documentation for standard event names."),
|
|
28
|
+
eventTime: z.string().describe("Event timestamp in RFC3339 format (e.g., '2021-07-01T00:00:00Z'). If not provided, current time will be used.").optional(),
|
|
29
|
+
properties: z.object({}).describe("Event-specific properties such as order details, product info, etc. Check events guide for recommended properties for each event type.").optional(),
|
|
30
|
+
eventVersion: z.string().describe("Event version string. Check event documentation for required version for each event. Leave empty for custom events.").optional()
|
|
31
|
+
}).describe("Request schema for sending a customer event to Omnisend."),
|
|
32
|
+
output: z.object({
|
|
33
|
+
status: z.string().describe("Status of the event submission").nullable().optional(),
|
|
34
|
+
eventID: z.string().describe("UUID of the event that was created or processed").nullable().optional()
|
|
35
|
+
}).describe("Response schema for send event action.")
|
|
36
|
+
});
|
|
37
|
+
//#endregion
|
|
38
|
+
export { omnisendSendEvent };
|
|
39
|
+
|
|
40
|
+
//# sourceMappingURL=send-event.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"send-event.mjs","names":[],"sources":["../../src/actions/send-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendSendEventInput: z.ZodTypeAny = z.object({\n origin: z.string().describe(\"Source of the event. Use 'api' for general API integrations. Platform or app integrations should have dedicated origin values.\"),\n contact: z.object({\n id: z.string().describe(\"Contact ID from Omnisend\").optional(),\n city: z.string().describe(\"City name\").optional(),\n tags: z.array(z.string()).describe(\"Tags associated with the contact\").optional(),\n email: z.string().describe(\"Contact email address\").optional(),\n phone: z.string().describe(\"Contact phone number in E.164 format\").optional(),\n state: z.string().describe(\"State or province\").optional(),\n gender: z.string().describe(\"Contact's gender\").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 customProperties: z.object({}).describe(\"Custom properties for the contact\").optional(),\n}).describe(\"Contact information. Contact will be created or updated based on the data provided. At least one identifier (email, phone, or id) is required.\"),\n eventID: z.string().describe(\"UUID of the event (v4, v5, v6, v7). Used for event deduplication along with eventTime. If not provided, it will be generated automatically.\").optional(),\n eventName: z.string().describe(\"Name of the event (e.g., 'order placed', 'product viewed', 'test_event'). Check event documentation for standard event names.\"),\n eventTime: z.string().describe(\"Event timestamp in RFC3339 format (e.g., '2021-07-01T00:00:00Z'). If not provided, current time will be used.\").optional(),\n properties: z.object({}).describe(\"Event-specific properties such as order details, product info, etc. Check events guide for recommended properties for each event type.\").optional(),\n eventVersion: z.string().describe(\"Event version string. Check event documentation for required version for each event. Leave empty for custom events.\").optional(),\n}).describe(\"Request schema for sending a customer event to Omnisend.\");\nexport const OmnisendSendEventOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the event submission\").nullable().optional(),\n eventID: z.string().describe(\"UUID of the event that was created or processed\").nullable().optional(),\n}).describe(\"Response schema for send event action.\");\n\nexport const omnisendSendEvent = action(\"OMNISEND_SEND_EVENT\", {\n slug: \"omnisend-send-event\",\n name: \"Send Event\",\n description: \"Tool to send a customer event to Omnisend. Events can trigger automations and track customer behavior. Use when you need to record customer interactions such as product views, cart actions, or custom events.\",\n input: OmnisendSendEventInput,\n output: OmnisendSendEventOutput,\n});\n"],"mappings":";;AAkCA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlCkD,EAAE,OAAO;EAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;EAC5J,SAAS,EAAE,OAAO;GAClB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;GAChD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;GAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;GAC7D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E,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-cart-product.ts
|
|
4
|
+
const OmnisendUpdateCartProductInput = zod.z.object({
|
|
5
|
+
sku: zod.z.string().describe("Stock keeping unit (SKU).").optional(),
|
|
6
|
+
price: zod.z.number().int().describe("Current price in cents (e.g., 125 for $1.25).").optional(),
|
|
7
|
+
title: zod.z.string().describe("Product title.").optional(),
|
|
8
|
+
cart_id: zod.z.string().describe("Unique identifier of the cart."),
|
|
9
|
+
currency: zod.z.string().describe("ISO currency code (3 characters). Must match the cart's currency."),
|
|
10
|
+
discount: zod.z.number().int().describe("Discount sum in cents.").optional(),
|
|
11
|
+
quantity: zod.z.number().int().describe("Product quantity (must be a whole number, minimum 1).").optional(),
|
|
12
|
+
image_url: zod.z.string().describe("Link to product image.").optional(),
|
|
13
|
+
old_price: zod.z.number().int().describe("Original price in cents (e.g., 125 for $1.25).").optional(),
|
|
14
|
+
product_id: zod.z.string().describe("Product identifier.").optional(),
|
|
15
|
+
variant_id: zod.z.string().describe("Product variant identifier.").optional(),
|
|
16
|
+
description: zod.z.string().describe("Product description.").optional(),
|
|
17
|
+
product_url: zod.z.string().describe("Link to product page.").optional(),
|
|
18
|
+
cart_product_id: zod.z.string().describe("Unique identifier of the product in the cart to update.")
|
|
19
|
+
});
|
|
20
|
+
const OmnisendUpdateCartProductOutput = zod.z.object({
|
|
21
|
+
cartID: zod.z.string().describe("Unique identifier of the cart."),
|
|
22
|
+
productID: zod.z.string().describe("Product identifier."),
|
|
23
|
+
variantID: zod.z.string().describe("Product variant identifier."),
|
|
24
|
+
cartProductID: zod.z.string().describe("Unique identifier of the product in the cart.")
|
|
25
|
+
});
|
|
26
|
+
const omnisendUpdateCartProduct = require_action.action("OMNISEND_UPDATE_CART_PRODUCT", {
|
|
27
|
+
slug: "omnisend-update-cart-product",
|
|
28
|
+
name: "Update Cart Product",
|
|
29
|
+
description: "Tool to update a product in a cart (v3 API). Use when you need to modify product details such as quantity, price, or other attributes for an existing cart item.",
|
|
30
|
+
input: OmnisendUpdateCartProductInput,
|
|
31
|
+
output: OmnisendUpdateCartProductOutput
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
exports.omnisendUpdateCartProduct = omnisendUpdateCartProduct;
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=update-cart-product.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-cart-product.cjs","names":["z","action"],"sources":["../../src/actions/update-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendUpdateCartProductInput: z.ZodTypeAny = z.object({\n sku: z.string().describe(\"Stock keeping unit (SKU).\").optional(),\n price: z.number().int().describe(\"Current price in cents (e.g., 125 for $1.25).\").optional(),\n title: z.string().describe(\"Product title.\").optional(),\n cart_id: z.string().describe(\"Unique identifier of the cart.\"),\n currency: z.string().describe(\"ISO currency code (3 characters). Must match the cart's currency.\"),\n discount: z.number().int().describe(\"Discount sum in cents.\").optional(),\n quantity: z.number().int().describe(\"Product quantity (must be a whole number, minimum 1).\").optional(),\n image_url: z.string().describe(\"Link to product image.\").optional(),\n old_price: z.number().int().describe(\"Original price in cents (e.g., 125 for $1.25).\").optional(),\n product_id: z.string().describe(\"Product identifier.\").optional(),\n variant_id: z.string().describe(\"Product variant identifier.\").optional(),\n description: z.string().describe(\"Product description.\").optional(),\n product_url: z.string().describe(\"Link to product page.\").optional(),\n cart_product_id: z.string().describe(\"Unique identifier of the product in the cart to update.\"),\n});\nexport const OmnisendUpdateCartProductOutput: z.ZodTypeAny = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart.\"),\n productID: z.string().describe(\"Product identifier.\"),\n variantID: z.string().describe(\"Product variant identifier.\"),\n cartProductID: z.string().describe(\"Unique identifier of the product in the cart.\"),\n});\n\nexport const omnisendUpdateCartProduct = action(\"OMNISEND_UPDATE_CART_PRODUCT\", {\n slug: \"omnisend-update-cart-product\",\n name: \"Update Cart Product\",\n description: \"Tool to update a product in a cart (v3 API). Use when you need to modify product details such as quantity, price, or other attributes for an existing cart item.\",\n input: OmnisendUpdateCartProductInput,\n output: OmnisendUpdateCartProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACnE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AAChG,CAAC;AACD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC5D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AACpF,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-cart-product.d.ts
|
|
4
|
+
declare const OmnisendUpdateCartProductInput: z.ZodTypeAny;
|
|
5
|
+
declare const OmnisendUpdateCartProductOutput: z.ZodTypeAny;
|
|
6
|
+
declare const omnisendUpdateCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { omnisendUpdateCartProduct };
|
|
9
|
+
//# sourceMappingURL=update-cart-product.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-cart-product.d.cts","names":[],"sources":["../../src/actions/update-cart-product.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAe7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAK9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-cart-product.d.ts
|
|
4
|
+
declare const OmnisendUpdateCartProductInput: z.ZodTypeAny;
|
|
5
|
+
declare const OmnisendUpdateCartProductOutput: z.ZodTypeAny;
|
|
6
|
+
declare const omnisendUpdateCartProduct: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { omnisendUpdateCartProduct };
|
|
9
|
+
//# sourceMappingURL=update-cart-product.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-cart-product.d.mts","names":[],"sources":["../../src/actions/update-cart-product.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAe7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAK9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const omnisendUpdateCartProduct = action("OMNISEND_UPDATE_CART_PRODUCT", {
|
|
4
|
+
slug: "omnisend-update-cart-product",
|
|
5
|
+
name: "Update Cart Product",
|
|
6
|
+
description: "Tool to update a product in a cart (v3 API). Use when you need to modify product details such as quantity, price, or other attributes for an existing cart item.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
sku: z.string().describe("Stock keeping unit (SKU).").optional(),
|
|
9
|
+
price: z.number().int().describe("Current price in cents (e.g., 125 for $1.25).").optional(),
|
|
10
|
+
title: z.string().describe("Product title.").optional(),
|
|
11
|
+
cart_id: z.string().describe("Unique identifier of the cart."),
|
|
12
|
+
currency: z.string().describe("ISO currency code (3 characters). Must match the cart's currency."),
|
|
13
|
+
discount: z.number().int().describe("Discount sum in cents.").optional(),
|
|
14
|
+
quantity: z.number().int().describe("Product quantity (must be a whole number, minimum 1).").optional(),
|
|
15
|
+
image_url: z.string().describe("Link to product image.").optional(),
|
|
16
|
+
old_price: z.number().int().describe("Original price in cents (e.g., 125 for $1.25).").optional(),
|
|
17
|
+
product_id: z.string().describe("Product identifier.").optional(),
|
|
18
|
+
variant_id: z.string().describe("Product variant identifier.").optional(),
|
|
19
|
+
description: z.string().describe("Product description.").optional(),
|
|
20
|
+
product_url: z.string().describe("Link to product page.").optional(),
|
|
21
|
+
cart_product_id: z.string().describe("Unique identifier of the product in the cart to update.")
|
|
22
|
+
}),
|
|
23
|
+
output: z.object({
|
|
24
|
+
cartID: z.string().describe("Unique identifier of the cart."),
|
|
25
|
+
productID: z.string().describe("Product identifier."),
|
|
26
|
+
variantID: z.string().describe("Product variant identifier."),
|
|
27
|
+
cartProductID: z.string().describe("Unique identifier of the product in the cart.")
|
|
28
|
+
})
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { omnisendUpdateCartProduct };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=update-cart-product.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-cart-product.mjs","names":[],"sources":["../../src/actions/update-cart-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendUpdateCartProductInput: z.ZodTypeAny = z.object({\n sku: z.string().describe(\"Stock keeping unit (SKU).\").optional(),\n price: z.number().int().describe(\"Current price in cents (e.g., 125 for $1.25).\").optional(),\n title: z.string().describe(\"Product title.\").optional(),\n cart_id: z.string().describe(\"Unique identifier of the cart.\"),\n currency: z.string().describe(\"ISO currency code (3 characters). Must match the cart's currency.\"),\n discount: z.number().int().describe(\"Discount sum in cents.\").optional(),\n quantity: z.number().int().describe(\"Product quantity (must be a whole number, minimum 1).\").optional(),\n image_url: z.string().describe(\"Link to product image.\").optional(),\n old_price: z.number().int().describe(\"Original price in cents (e.g., 125 for $1.25).\").optional(),\n product_id: z.string().describe(\"Product identifier.\").optional(),\n variant_id: z.string().describe(\"Product variant identifier.\").optional(),\n description: z.string().describe(\"Product description.\").optional(),\n product_url: z.string().describe(\"Link to product page.\").optional(),\n cart_product_id: z.string().describe(\"Unique identifier of the product in the cart to update.\"),\n});\nexport const OmnisendUpdateCartProductOutput: z.ZodTypeAny = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart.\"),\n productID: z.string().describe(\"Product identifier.\"),\n variantID: z.string().describe(\"Product variant identifier.\"),\n cartProductID: z.string().describe(\"Unique identifier of the product in the cart.\"),\n});\n\nexport const omnisendUpdateCartProduct = action(\"OMNISEND_UPDATE_CART_PRODUCT\", {\n slug: \"omnisend-update-cart-product\",\n name: \"Update Cart Product\",\n description: \"Tool to update a product in a cart (v3 API). Use when you need to modify product details such as quantity, price, or other attributes for an existing cart item.\",\n input: OmnisendUpdateCartProductInput,\n output: OmnisendUpdateCartProductOutput,\n});\n"],"mappings":";;AA2BA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3B0D,EAAE,OAAO;EACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;EACjG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAClE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACnE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAChG,CAYS;CACP,QAZ2D,EAAE,OAAO;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EAC5D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACpF,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-cart.ts
|
|
4
|
+
const OmnisendUpdateCartInput = zod.z.object({
|
|
5
|
+
cartID: zod.z.string().describe("Unique identifier of the cart to update"),
|
|
6
|
+
cartSum: zod.z.number().int().describe("Total cart value in cents, without commas. For example, for $1.25 USD use 125"),
|
|
7
|
+
currency: zod.z.string().describe("ISO currency code (3 characters)"),
|
|
8
|
+
products: zod.z.array(zod.z.object({
|
|
9
|
+
sku: zod.z.string().describe("Stock keeping unit identifier").optional(),
|
|
10
|
+
price: zod.z.number().int().describe("Product price in cents (e.g., 100 for $1.00)").optional(),
|
|
11
|
+
title: zod.z.string().describe("Product title").optional(),
|
|
12
|
+
discount: zod.z.number().int().describe("Discount amount in cents").optional(),
|
|
13
|
+
imageUrl: zod.z.string().describe("URL to the product image").optional(),
|
|
14
|
+
oldPrice: zod.z.number().int().describe("Original price before discount in cents").optional(),
|
|
15
|
+
quantity: zod.z.number().int().describe("Quantity of the product in the cart").optional(),
|
|
16
|
+
productID: zod.z.string().describe("Product ID from your catalog").optional(),
|
|
17
|
+
variantID: zod.z.string().describe("Product variant ID").optional(),
|
|
18
|
+
productUrl: zod.z.string().describe("URL to the product page").optional(),
|
|
19
|
+
description: zod.z.string().describe("Product description").optional(),
|
|
20
|
+
cartProductID: zod.z.string().describe("Unique identifier for the product in the cart")
|
|
21
|
+
})).describe("List of products in the cart").optional(),
|
|
22
|
+
cartRecoveryUrl: zod.z.string().describe("URL to recover the cart").optional()
|
|
23
|
+
});
|
|
24
|
+
const OmnisendUpdateCartOutput = zod.z.object({ cartID: zod.z.string().describe("Unique identifier of the updated cart") });
|
|
25
|
+
const omnisendUpdateCart = require_action.action("OMNISEND_UPDATE_CART", {
|
|
26
|
+
slug: "omnisend-update-cart",
|
|
27
|
+
name: "Update Cart",
|
|
28
|
+
description: "Tool to partially update a cart in Omnisend (v3 API). Use when you need to modify cart details such as currency, total amount, recovery URL, or products.",
|
|
29
|
+
input: OmnisendUpdateCartInput,
|
|
30
|
+
output: OmnisendUpdateCartOutput
|
|
31
|
+
});
|
|
32
|
+
//#endregion
|
|
33
|
+
exports.omnisendUpdateCart = omnisendUpdateCart;
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=update-cart.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-cart.cjs","names":["z","action"],"sources":["../../src/actions/update-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendUpdateCartInput: z.ZodTypeAny = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to update\"),\n cartSum: z.number().int().describe(\"Total cart value in cents, without commas. For example, for $1.25 USD use 125\"),\n currency: z.string().describe(\"ISO currency code (3 characters)\"),\n products: z.array(z.object({\n sku: z.string().describe(\"Stock keeping unit identifier\").optional(),\n price: z.number().int().describe(\"Product price in cents (e.g., 100 for $1.00)\").optional(),\n title: z.string().describe(\"Product title\").optional(),\n discount: z.number().int().describe(\"Discount amount in cents\").optional(),\n imageUrl: z.string().describe(\"URL to the product image\").optional(),\n oldPrice: z.number().int().describe(\"Original price before discount in cents\").optional(),\n quantity: z.number().int().describe(\"Quantity of the product in the cart\").optional(),\n productID: z.string().describe(\"Product ID from your catalog\").optional(),\n variantID: z.string().describe(\"Product variant ID\").optional(),\n productUrl: z.string().describe(\"URL to the product page\").optional(),\n description: z.string().describe(\"Product description\").optional(),\n cartProductID: z.string().describe(\"Unique identifier for the product in the cart\"),\n})).describe(\"List of products in the cart\").optional(),\n cartRecoveryUrl: z.string().describe(\"URL to recover the cart\").optional(),\n});\nexport const OmnisendUpdateCartOutput: z.ZodTypeAny = z.object({\n cartID: z.string().describe(\"Unique identifier of the updated cart\"),\n});\n\nexport const omnisendUpdateCart = action(\"OMNISEND_UPDATE_CART\", {\n slug: \"omnisend-update-cart\",\n name: \"Update Cart\",\n description: \"Tool to partially update a cart in Omnisend (v3 API). Use when you need to modify cart details such as currency, total amount, recovery URL, or products.\",\n input: OmnisendUpdateCartInput,\n output: OmnisendUpdateCartOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;C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D,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACrE,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-cart.d.ts
|
|
4
|
+
declare const OmnisendUpdateCartInput: z.ZodTypeAny;
|
|
5
|
+
declare const OmnisendUpdateCartOutput: z.ZodTypeAny;
|
|
6
|
+
declare const omnisendUpdateCart: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { omnisendUpdateCart };
|
|
9
|
+
//# sourceMappingURL=update-cart.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-cart.d.cts","names":[],"sources":["../../src/actions/update-cart.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAmBtC;AAAA,cACW,wBAAA,EAA0B,CAAA,CAAE,UAEvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-cart.d.ts
|
|
4
|
+
declare const OmnisendUpdateCartInput: z.ZodTypeAny;
|
|
5
|
+
declare const OmnisendUpdateCartOutput: z.ZodTypeAny;
|
|
6
|
+
declare const omnisendUpdateCart: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { omnisendUpdateCart };
|
|
9
|
+
//# sourceMappingURL=update-cart.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-cart.d.mts","names":[],"sources":["../../src/actions/update-cart.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAmBtC;AAAA,cACW,wBAAA,EAA0B,CAAA,CAAE,UAEvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const omnisendUpdateCart = action("OMNISEND_UPDATE_CART", {
|
|
4
|
+
slug: "omnisend-update-cart",
|
|
5
|
+
name: "Update Cart",
|
|
6
|
+
description: "Tool to partially update a cart in Omnisend (v3 API). Use when you need to modify cart details such as currency, total amount, recovery URL, or products.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
cartID: z.string().describe("Unique identifier of the cart to update"),
|
|
9
|
+
cartSum: z.number().int().describe("Total cart value in cents, without commas. For example, for $1.25 USD use 125"),
|
|
10
|
+
currency: z.string().describe("ISO currency code (3 characters)"),
|
|
11
|
+
products: z.array(z.object({
|
|
12
|
+
sku: z.string().describe("Stock keeping unit identifier").optional(),
|
|
13
|
+
price: z.number().int().describe("Product price in cents (e.g., 100 for $1.00)").optional(),
|
|
14
|
+
title: z.string().describe("Product title").optional(),
|
|
15
|
+
discount: z.number().int().describe("Discount amount in cents").optional(),
|
|
16
|
+
imageUrl: z.string().describe("URL to the product image").optional(),
|
|
17
|
+
oldPrice: z.number().int().describe("Original price before discount in cents").optional(),
|
|
18
|
+
quantity: z.number().int().describe("Quantity of the product in the cart").optional(),
|
|
19
|
+
productID: z.string().describe("Product ID from your catalog").optional(),
|
|
20
|
+
variantID: z.string().describe("Product variant ID").optional(),
|
|
21
|
+
productUrl: z.string().describe("URL to the product page").optional(),
|
|
22
|
+
description: z.string().describe("Product description").optional(),
|
|
23
|
+
cartProductID: z.string().describe("Unique identifier for the product in the cart")
|
|
24
|
+
})).describe("List of products in the cart").optional(),
|
|
25
|
+
cartRecoveryUrl: z.string().describe("URL to recover the cart").optional()
|
|
26
|
+
}),
|
|
27
|
+
output: z.object({ cartID: z.string().describe("Unique identifier of the updated cart") })
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
export { omnisendUpdateCart };
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=update-cart.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-cart.mjs","names":[],"sources":["../../src/actions/update-cart.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendUpdateCartInput: z.ZodTypeAny = z.object({\n cartID: z.string().describe(\"Unique identifier of the cart to update\"),\n cartSum: z.number().int().describe(\"Total cart value in cents, without commas. For example, for $1.25 USD use 125\"),\n currency: z.string().describe(\"ISO currency code (3 characters)\"),\n products: z.array(z.object({\n sku: z.string().describe(\"Stock keeping unit identifier\").optional(),\n price: z.number().int().describe(\"Product price in cents (e.g., 100 for $1.00)\").optional(),\n title: z.string().describe(\"Product title\").optional(),\n discount: z.number().int().describe(\"Discount amount in cents\").optional(),\n imageUrl: z.string().describe(\"URL to the product image\").optional(),\n oldPrice: z.number().int().describe(\"Original price before discount in cents\").optional(),\n quantity: z.number().int().describe(\"Quantity of the product in the cart\").optional(),\n productID: z.string().describe(\"Product ID from your catalog\").optional(),\n variantID: z.string().describe(\"Product variant ID\").optional(),\n productUrl: z.string().describe(\"URL to the product page\").optional(),\n description: z.string().describe(\"Product description\").optional(),\n cartProductID: z.string().describe(\"Unique identifier for the product in the cart\"),\n})).describe(\"List of products in the cart\").optional(),\n cartRecoveryUrl: z.string().describe(\"URL to recover the cart\").optional(),\n});\nexport const OmnisendUpdateCartOutput: z.ZodTypeAny = z.object({\n cartID: z.string().describe(\"Unique identifier of the updated cart\"),\n});\n\nexport const omnisendUpdateCart = action(\"OMNISEND_UPDATE_CART\", {\n slug: \"omnisend-update-cart\",\n name: \"Update Cart\",\n description: \"Tool to partially update a cart in Omnisend (v3 API). Use when you need to modify cart details such as currency, total amount, recovery URL, or products.\",\n input: OmnisendUpdateCartInput,\n output: OmnisendUpdateCartOutput,\n});\n"],"mappings":";;AA4BA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5BmD,EAAE,OAAO;EAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACrE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E;EAClH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAChE,UAAU,EAAE,MAAM,EAAE,OAAO;GAC3B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;GACnE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;GAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;GACrD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GACnE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;GACxF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;GACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;GAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;GACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;GACjE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EACpF,CAAC,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACpD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC3E,CASS;CACP,QAToD,EAAE,OAAO,EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACrE,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-contact.ts
|
|
4
|
+
const OmnisendUpdateContactInput = zod.z.object({
|
|
5
|
+
body: zod.z.object({
|
|
6
|
+
city: zod.z.string().describe("City of the contact").optional(),
|
|
7
|
+
tags: zod.z.array(zod.z.string()).describe("Tags to associate with the contact").optional(),
|
|
8
|
+
state: zod.z.string().describe("State of the contact").optional(),
|
|
9
|
+
gender: zod.z.enum(["m", "f"]).describe("Gender of the contact ('m' for male, 'f' for female)").optional(),
|
|
10
|
+
source: zod.z.string().describe("Source of the contact").optional(),
|
|
11
|
+
address: zod.z.string().describe("Street address of the contact").optional(),
|
|
12
|
+
country: zod.z.string().describe("Country of the contact").optional(),
|
|
13
|
+
lastName: zod.z.string().describe("Last name of the contact").optional(),
|
|
14
|
+
birthdate: zod.z.string().describe("Birthdate in YYYY-MM-DD format").optional(),
|
|
15
|
+
createdAt: zod.z.string().describe("ISO 8601 creation date of the contact").optional(),
|
|
16
|
+
firstName: zod.z.string().describe("First name of the contact").optional(),
|
|
17
|
+
postalCode: zod.z.string().describe("Postal code of the contact").optional(),
|
|
18
|
+
countryCode: zod.z.string().describe("ISO 3166-1 alpha-2 country code").optional(),
|
|
19
|
+
identifiers: zod.z.array(zod.z.object({
|
|
20
|
+
id: zod.z.string().describe("Identifier value (e.g., email address, phone number)"),
|
|
21
|
+
type: zod.z.string().describe("Type of identifier (e.g., 'email', 'phone')"),
|
|
22
|
+
consent: zod.z.object({
|
|
23
|
+
ip: zod.z.string().describe("IP address from which consent was given").optional(),
|
|
24
|
+
source: zod.z.string().describe("Source of consent").optional(),
|
|
25
|
+
createdAt: zod.z.string().describe("ISO 8601 date when consent was given").optional(),
|
|
26
|
+
userAgent: zod.z.string().describe("User agent string when consent was given").optional()
|
|
27
|
+
}).describe("Contact consent information").optional(),
|
|
28
|
+
channels: zod.z.object({
|
|
29
|
+
sms: zod.z.object({
|
|
30
|
+
status: zod.z.string().describe("SMS subscription status (e.g., 'subscribed')").optional(),
|
|
31
|
+
statusDate: zod.z.string().describe("ISO 8601 date of SMS status change").optional()
|
|
32
|
+
}).describe("SMS channel subscription settings").optional(),
|
|
33
|
+
email: zod.z.object({
|
|
34
|
+
status: zod.z.string().describe("Subscription status (e.g., 'subscribed')").optional(),
|
|
35
|
+
statusDate: zod.z.string().describe("ISO 8601 date of status change").optional()
|
|
36
|
+
}).describe("Email channel subscription settings").optional()
|
|
37
|
+
}).describe("Channel-specific subscription settings").optional()
|
|
38
|
+
})).describe("List of identifiers to associate with the contact").optional(),
|
|
39
|
+
customProperties: zod.z.object({}).describe("Custom properties as key-value pairs").optional()
|
|
40
|
+
}).describe("Fields to update on the contact"),
|
|
41
|
+
contactId: zod.z.string().describe("Unique identifier of the contact to update")
|
|
42
|
+
});
|
|
43
|
+
const OmnisendUpdateContactOutput = zod.z.object({
|
|
44
|
+
email: zod.z.string().describe("Email address of the updated contact").nullable().optional(),
|
|
45
|
+
phone: zod.z.string().describe("Phone number of the updated contact").nullable().optional(),
|
|
46
|
+
lastName: zod.z.string().describe("Last name of the updated contact").nullable().optional(),
|
|
47
|
+
contactID: zod.z.string().describe("Unique identifier of the updated contact"),
|
|
48
|
+
firstName: zod.z.string().describe("First name of the updated contact").nullable().optional()
|
|
49
|
+
});
|
|
50
|
+
const omnisendUpdateContact = require_action.action("OMNISEND_UPDATE_CONTACT", {
|
|
51
|
+
slug: "omnisend-update-contact",
|
|
52
|
+
name: "Update Contact",
|
|
53
|
+
description: "Tool to update fields of an existing contact by ID. Use after retrieving contact ID. PATCH https://api.omnisend.com/v3/contacts/{contactId} Example: UpdateContact(contactId=\"..., body={firstName: 'John'})",
|
|
54
|
+
input: OmnisendUpdateContactInput,
|
|
55
|
+
output: OmnisendUpdateContactOutput
|
|
56
|
+
});
|
|
57
|
+
//#endregion
|
|
58
|
+
exports.omnisendUpdateContact = omnisendUpdateContact;
|
|
59
|
+
|
|
60
|
+
//# sourceMappingURL=update-contact.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendUpdateContactInput: z.ZodTypeAny = z.object({\n body: z.object({\n city: z.string().describe(\"City of the contact\").optional(),\n tags: z.array(z.string()).describe(\"Tags to associate with the contact\").optional(),\n state: z.string().describe(\"State of the contact\").optional(),\n gender: z.enum([\"m\", \"f\"]).describe(\"Gender of the contact ('m' for male, 'f' for female)\").optional(),\n source: z.string().describe(\"Source of the contact\").optional(),\n address: z.string().describe(\"Street address of the contact\").optional(),\n country: z.string().describe(\"Country of the contact\").optional(),\n lastName: z.string().describe(\"Last name of the contact\").optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format\").optional(),\n createdAt: z.string().describe(\"ISO 8601 creation date of the contact\").optional(),\n firstName: z.string().describe(\"First name of the contact\").optional(),\n postalCode: z.string().describe(\"Postal code of the contact\").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, phone number)\"),\n type: z.string().describe(\"Type of identifier (e.g., 'email', 'phone')\"),\n consent: z.object({\n ip: z.string().describe(\"IP address from which consent was given\").optional(),\n source: z.string().describe(\"Source of consent\").optional(),\n createdAt: z.string().describe(\"ISO 8601 date when consent was given\").optional(),\n userAgent: z.string().describe(\"User agent string when consent was given\").optional(),\n}).describe(\"Contact consent information\").optional(),\n channels: z.object({\n sms: z.object({\n status: z.string().describe(\"SMS subscription status (e.g., 'subscribed')\").optional(),\n statusDate: z.string().describe(\"ISO 8601 date of SMS status change\").optional(),\n}).describe(\"SMS channel subscription settings\").optional(),\n email: z.object({\n status: z.string().describe(\"Subscription status (e.g., 'subscribed')\").optional(),\n statusDate: z.string().describe(\"ISO 8601 date of status change\").optional(),\n}).describe(\"Email channel subscription settings\").optional(),\n}).describe(\"Channel-specific subscription settings\").optional(),\n})).describe(\"List of identifiers to associate with the contact\").optional(),\n customProperties: z.object({}).describe(\"Custom properties as key-value pairs\").optional(),\n}).describe(\"Fields to update on the contact\"),\n contactId: z.string().describe(\"Unique identifier of the contact to update\"),\n});\nexport const OmnisendUpdateContactOutput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the updated contact\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the updated contact\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the updated contact\").nullable().optional(),\n contactID: z.string().describe(\"Unique identifier of the updated contact\"),\n firstName: z.string().describe(\"First name of the updated contact\").nullable().optional(),\n});\n\nexport const omnisendUpdateContact = action(\"OMNISEND_UPDATE_CONTACT\", {\n slug: \"omnisend-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update fields of an existing contact by ID. Use after retrieving contact ID. PATCH https://api.omnisend.com/v3/contacts/{contactId} Example: UpdateContact(contactId=\\\"..., body={firstName: 'John'})\",\n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,sCAAsC,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,SAAS,iCAAiC;CAC3C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC7E,CAAC;AACD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-contact.d.ts
|
|
4
|
+
declare const OmnisendUpdateContactInput: z.ZodTypeAny;
|
|
5
|
+
declare const OmnisendUpdateContactOutput: z.ZodTypeAny;
|
|
6
|
+
declare const omnisendUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { omnisendUpdateContact };
|
|
9
|
+
//# sourceMappingURL=update-contact.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-contact.d.cts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAsCzC;AAAA,cACW,2BAAA,EAA6B,CAAA,CAAE,UAM1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-contact.d.ts
|
|
4
|
+
declare const OmnisendUpdateContactInput: z.ZodTypeAny;
|
|
5
|
+
declare const OmnisendUpdateContactOutput: z.ZodTypeAny;
|
|
6
|
+
declare const omnisendUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { omnisendUpdateContact };
|
|
9
|
+
//# sourceMappingURL=update-contact.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-contact.d.mts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAsCzC;AAAA,cACW,2BAAA,EAA6B,CAAA,CAAE,UAM1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const omnisendUpdateContact = action("OMNISEND_UPDATE_CONTACT", {
|
|
4
|
+
slug: "omnisend-update-contact",
|
|
5
|
+
name: "Update Contact",
|
|
6
|
+
description: "Tool to update fields of an existing contact by ID. Use after retrieving contact ID. PATCH https://api.omnisend.com/v3/contacts/{contactId} Example: UpdateContact(contactId=\"..., body={firstName: 'John'})",
|
|
7
|
+
input: z.object({
|
|
8
|
+
body: z.object({
|
|
9
|
+
city: z.string().describe("City of the contact").optional(),
|
|
10
|
+
tags: z.array(z.string()).describe("Tags to associate with the contact").optional(),
|
|
11
|
+
state: z.string().describe("State of the contact").optional(),
|
|
12
|
+
gender: z.enum(["m", "f"]).describe("Gender of the contact ('m' for male, 'f' for female)").optional(),
|
|
13
|
+
source: z.string().describe("Source of the contact").optional(),
|
|
14
|
+
address: z.string().describe("Street address of the contact").optional(),
|
|
15
|
+
country: z.string().describe("Country of the contact").optional(),
|
|
16
|
+
lastName: z.string().describe("Last name of the contact").optional(),
|
|
17
|
+
birthdate: z.string().describe("Birthdate in YYYY-MM-DD format").optional(),
|
|
18
|
+
createdAt: z.string().describe("ISO 8601 creation date of the contact").optional(),
|
|
19
|
+
firstName: z.string().describe("First name of the contact").optional(),
|
|
20
|
+
postalCode: z.string().describe("Postal code of the contact").optional(),
|
|
21
|
+
countryCode: z.string().describe("ISO 3166-1 alpha-2 country code").optional(),
|
|
22
|
+
identifiers: z.array(z.object({
|
|
23
|
+
id: z.string().describe("Identifier value (e.g., email address, phone number)"),
|
|
24
|
+
type: z.string().describe("Type of identifier (e.g., 'email', 'phone')"),
|
|
25
|
+
consent: z.object({
|
|
26
|
+
ip: z.string().describe("IP address from which consent was given").optional(),
|
|
27
|
+
source: z.string().describe("Source of consent").optional(),
|
|
28
|
+
createdAt: z.string().describe("ISO 8601 date when consent was given").optional(),
|
|
29
|
+
userAgent: z.string().describe("User agent string when consent was given").optional()
|
|
30
|
+
}).describe("Contact consent information").optional(),
|
|
31
|
+
channels: z.object({
|
|
32
|
+
sms: z.object({
|
|
33
|
+
status: z.string().describe("SMS subscription status (e.g., 'subscribed')").optional(),
|
|
34
|
+
statusDate: z.string().describe("ISO 8601 date of SMS status change").optional()
|
|
35
|
+
}).describe("SMS channel subscription settings").optional(),
|
|
36
|
+
email: z.object({
|
|
37
|
+
status: z.string().describe("Subscription status (e.g., 'subscribed')").optional(),
|
|
38
|
+
statusDate: z.string().describe("ISO 8601 date of status change").optional()
|
|
39
|
+
}).describe("Email channel subscription settings").optional()
|
|
40
|
+
}).describe("Channel-specific subscription settings").optional()
|
|
41
|
+
})).describe("List of identifiers to associate with the contact").optional(),
|
|
42
|
+
customProperties: z.object({}).describe("Custom properties as key-value pairs").optional()
|
|
43
|
+
}).describe("Fields to update on the contact"),
|
|
44
|
+
contactId: z.string().describe("Unique identifier of the contact to update")
|
|
45
|
+
}),
|
|
46
|
+
output: z.object({
|
|
47
|
+
email: z.string().describe("Email address of the updated contact").nullable().optional(),
|
|
48
|
+
phone: z.string().describe("Phone number of the updated contact").nullable().optional(),
|
|
49
|
+
lastName: z.string().describe("Last name of the updated contact").nullable().optional(),
|
|
50
|
+
contactID: z.string().describe("Unique identifier of the updated contact"),
|
|
51
|
+
firstName: z.string().describe("First name of the updated contact").nullable().optional()
|
|
52
|
+
})
|
|
53
|
+
});
|
|
54
|
+
//#endregion
|
|
55
|
+
export { omnisendUpdateContact };
|
|
56
|
+
|
|
57
|
+
//# sourceMappingURL=update-contact.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OmnisendUpdateContactInput: z.ZodTypeAny = z.object({\n body: z.object({\n city: z.string().describe(\"City of the contact\").optional(),\n tags: z.array(z.string()).describe(\"Tags to associate with the contact\").optional(),\n state: z.string().describe(\"State of the contact\").optional(),\n gender: z.enum([\"m\", \"f\"]).describe(\"Gender of the contact ('m' for male, 'f' for female)\").optional(),\n source: z.string().describe(\"Source of the contact\").optional(),\n address: z.string().describe(\"Street address of the contact\").optional(),\n country: z.string().describe(\"Country of the contact\").optional(),\n lastName: z.string().describe(\"Last name of the contact\").optional(),\n birthdate: z.string().describe(\"Birthdate in YYYY-MM-DD format\").optional(),\n createdAt: z.string().describe(\"ISO 8601 creation date of the contact\").optional(),\n firstName: z.string().describe(\"First name of the contact\").optional(),\n postalCode: z.string().describe(\"Postal code of the contact\").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, phone number)\"),\n type: z.string().describe(\"Type of identifier (e.g., 'email', 'phone')\"),\n consent: z.object({\n ip: z.string().describe(\"IP address from which consent was given\").optional(),\n source: z.string().describe(\"Source of consent\").optional(),\n createdAt: z.string().describe(\"ISO 8601 date when consent was given\").optional(),\n userAgent: z.string().describe(\"User agent string when consent was given\").optional(),\n}).describe(\"Contact consent information\").optional(),\n channels: z.object({\n sms: z.object({\n status: z.string().describe(\"SMS subscription status (e.g., 'subscribed')\").optional(),\n statusDate: z.string().describe(\"ISO 8601 date of SMS status change\").optional(),\n}).describe(\"SMS channel subscription settings\").optional(),\n email: z.object({\n status: z.string().describe(\"Subscription status (e.g., 'subscribed')\").optional(),\n statusDate: z.string().describe(\"ISO 8601 date of status change\").optional(),\n}).describe(\"Email channel subscription settings\").optional(),\n}).describe(\"Channel-specific subscription settings\").optional(),\n})).describe(\"List of identifiers to associate with the contact\").optional(),\n customProperties: z.object({}).describe(\"Custom properties as key-value pairs\").optional(),\n}).describe(\"Fields to update on the contact\"),\n contactId: z.string().describe(\"Unique identifier of the contact to update\"),\n});\nexport const OmnisendUpdateContactOutput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the updated contact\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the updated contact\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the updated contact\").nullable().optional(),\n contactID: z.string().describe(\"Unique identifier of the updated contact\"),\n firstName: z.string().describe(\"First name of the updated contact\").nullable().optional(),\n});\n\nexport const omnisendUpdateContact = action(\"OMNISEND_UPDATE_CONTACT\", {\n slug: \"omnisend-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update fields of an existing contact by ID. Use after retrieving contact ID. PATCH https://api.omnisend.com/v3/contacts/{contactId} Example: Update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