dodopayments-mcp 1.42.0 → 1.43.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/package.json +2 -2
- package/server.d.mts.map +1 -1
- package/server.d.ts.map +1 -1
- package/server.js +2 -6
- package/server.js.map +1 -1
- package/server.mjs +2 -6
- package/server.mjs.map +1 -1
- package/src/server.ts +2 -6
- package/src/tools/addons/create-addons.ts +1 -0
- package/src/tools/addons/list-addons.ts +1 -0
- package/src/tools/addons/retrieve-addons.ts +1 -0
- package/src/tools/addons/update-addons.ts +1 -0
- package/src/tools/addons/update-images-addons.ts +1 -0
- package/src/tools/brands/create-brands.ts +2 -1
- package/src/tools/brands/list-brands.ts +2 -1
- package/src/tools/brands/retrieve-brands.ts +2 -1
- package/src/tools/brands/update-brands.ts +2 -1
- package/src/tools/brands/update-images-brands.ts +1 -0
- package/src/tools/customers/create-customers.ts +1 -0
- package/src/tools/customers/customer-portal/create-customers-customer-portal.ts +1 -0
- package/src/tools/customers/list-customers.ts +1 -0
- package/src/tools/customers/retrieve-customers.ts +1 -0
- package/src/tools/customers/update-customers.ts +1 -0
- package/src/tools/discounts/create-discounts.ts +1 -0
- package/src/tools/discounts/delete-discounts.ts +1 -0
- package/src/tools/discounts/list-discounts.ts +1 -0
- package/src/tools/discounts/retrieve-discounts.ts +1 -0
- package/src/tools/discounts/update-discounts.ts +1 -0
- package/src/tools/disputes/list-disputes.ts +1 -0
- package/src/tools/disputes/retrieve-disputes.ts +2 -1
- package/src/tools/invoices/payments/retrieve-invoices-payments.ts +1 -0
- package/src/tools/license-key-instances/list-license-key-instances.ts +1 -0
- package/src/tools/license-key-instances/retrieve-license-key-instances.ts +1 -0
- package/src/tools/license-key-instances/update-license-key-instances.ts +1 -0
- package/src/tools/license-keys/list-license-keys.ts +1 -0
- package/src/tools/license-keys/retrieve-license-keys.ts +1 -0
- package/src/tools/license-keys/update-license-keys.ts +1 -0
- package/src/tools/licenses/activate-licenses.ts +1 -0
- package/src/tools/licenses/deactivate-licenses.ts +1 -0
- package/src/tools/licenses/validate-licenses.ts +1 -0
- package/src/tools/misc/list-supported-countries-misc.ts +1 -0
- package/src/tools/payments/create-payments.ts +25 -21
- package/src/tools/payments/list-payments.ts +1 -0
- package/src/tools/payments/retrieve-line-items-payments.ts +1 -0
- package/src/tools/payments/retrieve-payments.ts +1 -0
- package/src/tools/payouts/list-payouts.ts +1 -0
- package/src/tools/products/create-products.ts +1 -1
- package/src/tools/products/delete-products.ts +1 -0
- package/src/tools/products/images/update-products-images.ts +1 -0
- package/src/tools/products/list-products.ts +1 -0
- package/src/tools/products/retrieve-products.ts +1 -0
- package/src/tools/products/unarchive-products.ts +1 -0
- package/src/tools/products/update-files-products.ts +1 -0
- package/src/tools/products/update-products.ts +1 -1
- package/src/tools/refunds/create-refunds.ts +1 -0
- package/src/tools/refunds/list-refunds.ts +1 -0
- package/src/tools/refunds/retrieve-refunds.ts +1 -0
- package/src/tools/subscriptions/change-plan-subscriptions.ts +16 -10
- package/src/tools/subscriptions/charge-subscriptions.ts +1 -0
- package/src/tools/subscriptions/create-subscriptions.ts +38 -31
- package/src/tools/subscriptions/list-subscriptions.ts +1 -0
- package/src/tools/subscriptions/retrieve-subscriptions.ts +1 -0
- package/src/tools/subscriptions/update-subscriptions.ts +1 -0
- package/src/tools/webhook-events/list-webhook-events.ts +1 -0
- package/src/tools/webhook-events/retrieve-webhook-events.ts +1 -0
- package/tools/addons/create-addons.d.mts.map +1 -1
- package/tools/addons/create-addons.d.ts.map +1 -1
- package/tools/addons/create-addons.js +1 -0
- package/tools/addons/create-addons.js.map +1 -1
- package/tools/addons/create-addons.mjs +1 -0
- package/tools/addons/create-addons.mjs.map +1 -1
- package/tools/addons/list-addons.d.mts.map +1 -1
- package/tools/addons/list-addons.d.ts.map +1 -1
- package/tools/addons/list-addons.js +1 -0
- package/tools/addons/list-addons.js.map +1 -1
- package/tools/addons/list-addons.mjs +1 -0
- package/tools/addons/list-addons.mjs.map +1 -1
- package/tools/addons/retrieve-addons.d.mts.map +1 -1
- package/tools/addons/retrieve-addons.d.ts.map +1 -1
- package/tools/addons/retrieve-addons.js +1 -0
- package/tools/addons/retrieve-addons.js.map +1 -1
- package/tools/addons/retrieve-addons.mjs +1 -0
- package/tools/addons/retrieve-addons.mjs.map +1 -1
- package/tools/addons/update-addons.d.mts.map +1 -1
- package/tools/addons/update-addons.d.ts.map +1 -1
- package/tools/addons/update-addons.js +1 -0
- package/tools/addons/update-addons.js.map +1 -1
- package/tools/addons/update-addons.mjs +1 -0
- package/tools/addons/update-addons.mjs.map +1 -1
- package/tools/addons/update-images-addons.d.mts.map +1 -1
- package/tools/addons/update-images-addons.d.ts.map +1 -1
- package/tools/addons/update-images-addons.js +1 -0
- package/tools/addons/update-images-addons.js.map +1 -1
- package/tools/addons/update-images-addons.mjs +1 -0
- package/tools/addons/update-images-addons.mjs.map +1 -1
- package/tools/brands/create-brands.d.mts.map +1 -1
- package/tools/brands/create-brands.d.ts.map +1 -1
- package/tools/brands/create-brands.js +2 -1
- package/tools/brands/create-brands.js.map +1 -1
- package/tools/brands/create-brands.mjs +2 -1
- package/tools/brands/create-brands.mjs.map +1 -1
- package/tools/brands/list-brands.d.mts.map +1 -1
- package/tools/brands/list-brands.d.ts.map +1 -1
- package/tools/brands/list-brands.js +2 -1
- package/tools/brands/list-brands.js.map +1 -1
- package/tools/brands/list-brands.mjs +2 -1
- package/tools/brands/list-brands.mjs.map +1 -1
- package/tools/brands/retrieve-brands.d.mts.map +1 -1
- package/tools/brands/retrieve-brands.d.ts.map +1 -1
- package/tools/brands/retrieve-brands.js +2 -1
- package/tools/brands/retrieve-brands.js.map +1 -1
- package/tools/brands/retrieve-brands.mjs +2 -1
- package/tools/brands/retrieve-brands.mjs.map +1 -1
- package/tools/brands/update-brands.d.mts.map +1 -1
- package/tools/brands/update-brands.d.ts.map +1 -1
- package/tools/brands/update-brands.js +2 -1
- package/tools/brands/update-brands.js.map +1 -1
- package/tools/brands/update-brands.mjs +2 -1
- package/tools/brands/update-brands.mjs.map +1 -1
- package/tools/brands/update-images-brands.d.mts.map +1 -1
- package/tools/brands/update-images-brands.d.ts.map +1 -1
- package/tools/brands/update-images-brands.js +1 -0
- package/tools/brands/update-images-brands.js.map +1 -1
- package/tools/brands/update-images-brands.mjs +1 -0
- package/tools/brands/update-images-brands.mjs.map +1 -1
- package/tools/customers/create-customers.d.mts.map +1 -1
- package/tools/customers/create-customers.d.ts.map +1 -1
- package/tools/customers/create-customers.js +1 -0
- package/tools/customers/create-customers.js.map +1 -1
- package/tools/customers/create-customers.mjs +1 -0
- package/tools/customers/create-customers.mjs.map +1 -1
- package/tools/customers/customer-portal/create-customers-customer-portal.d.mts.map +1 -1
- package/tools/customers/customer-portal/create-customers-customer-portal.d.ts.map +1 -1
- package/tools/customers/customer-portal/create-customers-customer-portal.js +1 -0
- package/tools/customers/customer-portal/create-customers-customer-portal.js.map +1 -1
- package/tools/customers/customer-portal/create-customers-customer-portal.mjs +1 -0
- package/tools/customers/customer-portal/create-customers-customer-portal.mjs.map +1 -1
- package/tools/customers/list-customers.d.mts.map +1 -1
- package/tools/customers/list-customers.d.ts.map +1 -1
- package/tools/customers/list-customers.js +1 -0
- package/tools/customers/list-customers.js.map +1 -1
- package/tools/customers/list-customers.mjs +1 -0
- package/tools/customers/list-customers.mjs.map +1 -1
- package/tools/customers/retrieve-customers.d.mts.map +1 -1
- package/tools/customers/retrieve-customers.d.ts.map +1 -1
- package/tools/customers/retrieve-customers.js +1 -0
- package/tools/customers/retrieve-customers.js.map +1 -1
- package/tools/customers/retrieve-customers.mjs +1 -0
- package/tools/customers/retrieve-customers.mjs.map +1 -1
- package/tools/customers/update-customers.d.mts.map +1 -1
- package/tools/customers/update-customers.d.ts.map +1 -1
- package/tools/customers/update-customers.js +1 -0
- package/tools/customers/update-customers.js.map +1 -1
- package/tools/customers/update-customers.mjs +1 -0
- package/tools/customers/update-customers.mjs.map +1 -1
- package/tools/discounts/create-discounts.d.mts.map +1 -1
- package/tools/discounts/create-discounts.d.ts.map +1 -1
- package/tools/discounts/create-discounts.js +1 -0
- package/tools/discounts/create-discounts.js.map +1 -1
- package/tools/discounts/create-discounts.mjs +1 -0
- package/tools/discounts/create-discounts.mjs.map +1 -1
- package/tools/discounts/delete-discounts.d.mts.map +1 -1
- package/tools/discounts/delete-discounts.d.ts.map +1 -1
- package/tools/discounts/delete-discounts.js +1 -0
- package/tools/discounts/delete-discounts.js.map +1 -1
- package/tools/discounts/delete-discounts.mjs +1 -0
- package/tools/discounts/delete-discounts.mjs.map +1 -1
- package/tools/discounts/list-discounts.d.mts.map +1 -1
- package/tools/discounts/list-discounts.d.ts.map +1 -1
- package/tools/discounts/list-discounts.js +1 -0
- package/tools/discounts/list-discounts.js.map +1 -1
- package/tools/discounts/list-discounts.mjs +1 -0
- package/tools/discounts/list-discounts.mjs.map +1 -1
- package/tools/discounts/retrieve-discounts.d.mts.map +1 -1
- package/tools/discounts/retrieve-discounts.d.ts.map +1 -1
- package/tools/discounts/retrieve-discounts.js +1 -0
- package/tools/discounts/retrieve-discounts.js.map +1 -1
- package/tools/discounts/retrieve-discounts.mjs +1 -0
- package/tools/discounts/retrieve-discounts.mjs.map +1 -1
- package/tools/discounts/update-discounts.d.mts.map +1 -1
- package/tools/discounts/update-discounts.d.ts.map +1 -1
- package/tools/discounts/update-discounts.js +1 -0
- package/tools/discounts/update-discounts.js.map +1 -1
- package/tools/discounts/update-discounts.mjs +1 -0
- package/tools/discounts/update-discounts.mjs.map +1 -1
- package/tools/disputes/list-disputes.d.mts.map +1 -1
- package/tools/disputes/list-disputes.d.ts.map +1 -1
- package/tools/disputes/list-disputes.js +1 -0
- package/tools/disputes/list-disputes.js.map +1 -1
- package/tools/disputes/list-disputes.mjs +1 -0
- package/tools/disputes/list-disputes.mjs.map +1 -1
- package/tools/disputes/retrieve-disputes.d.mts.map +1 -1
- package/tools/disputes/retrieve-disputes.d.ts.map +1 -1
- package/tools/disputes/retrieve-disputes.js +2 -1
- package/tools/disputes/retrieve-disputes.js.map +1 -1
- package/tools/disputes/retrieve-disputes.mjs +2 -1
- package/tools/disputes/retrieve-disputes.mjs.map +1 -1
- package/tools/invoices/payments/retrieve-invoices-payments.d.mts.map +1 -1
- package/tools/invoices/payments/retrieve-invoices-payments.d.ts.map +1 -1
- package/tools/invoices/payments/retrieve-invoices-payments.js +1 -0
- package/tools/invoices/payments/retrieve-invoices-payments.js.map +1 -1
- package/tools/invoices/payments/retrieve-invoices-payments.mjs +1 -0
- package/tools/invoices/payments/retrieve-invoices-payments.mjs.map +1 -1
- package/tools/license-key-instances/list-license-key-instances.d.mts.map +1 -1
- package/tools/license-key-instances/list-license-key-instances.d.ts.map +1 -1
- package/tools/license-key-instances/list-license-key-instances.js +1 -0
- package/tools/license-key-instances/list-license-key-instances.js.map +1 -1
- package/tools/license-key-instances/list-license-key-instances.mjs +1 -0
- package/tools/license-key-instances/list-license-key-instances.mjs.map +1 -1
- package/tools/license-key-instances/retrieve-license-key-instances.d.mts.map +1 -1
- package/tools/license-key-instances/retrieve-license-key-instances.d.ts.map +1 -1
- package/tools/license-key-instances/retrieve-license-key-instances.js +1 -0
- package/tools/license-key-instances/retrieve-license-key-instances.js.map +1 -1
- package/tools/license-key-instances/retrieve-license-key-instances.mjs +1 -0
- package/tools/license-key-instances/retrieve-license-key-instances.mjs.map +1 -1
- package/tools/license-key-instances/update-license-key-instances.d.mts.map +1 -1
- package/tools/license-key-instances/update-license-key-instances.d.ts.map +1 -1
- package/tools/license-key-instances/update-license-key-instances.js +1 -0
- package/tools/license-key-instances/update-license-key-instances.js.map +1 -1
- package/tools/license-key-instances/update-license-key-instances.mjs +1 -0
- package/tools/license-key-instances/update-license-key-instances.mjs.map +1 -1
- package/tools/license-keys/list-license-keys.d.mts.map +1 -1
- package/tools/license-keys/list-license-keys.d.ts.map +1 -1
- package/tools/license-keys/list-license-keys.js +1 -0
- package/tools/license-keys/list-license-keys.js.map +1 -1
- package/tools/license-keys/list-license-keys.mjs +1 -0
- package/tools/license-keys/list-license-keys.mjs.map +1 -1
- package/tools/license-keys/retrieve-license-keys.d.mts.map +1 -1
- package/tools/license-keys/retrieve-license-keys.d.ts.map +1 -1
- package/tools/license-keys/retrieve-license-keys.js +1 -0
- package/tools/license-keys/retrieve-license-keys.js.map +1 -1
- package/tools/license-keys/retrieve-license-keys.mjs +1 -0
- package/tools/license-keys/retrieve-license-keys.mjs.map +1 -1
- package/tools/license-keys/update-license-keys.d.mts.map +1 -1
- package/tools/license-keys/update-license-keys.d.ts.map +1 -1
- package/tools/license-keys/update-license-keys.js +1 -0
- package/tools/license-keys/update-license-keys.js.map +1 -1
- package/tools/license-keys/update-license-keys.mjs +1 -0
- package/tools/license-keys/update-license-keys.mjs.map +1 -1
- package/tools/licenses/activate-licenses.d.mts.map +1 -1
- package/tools/licenses/activate-licenses.d.ts.map +1 -1
- package/tools/licenses/activate-licenses.js +1 -0
- package/tools/licenses/activate-licenses.js.map +1 -1
- package/tools/licenses/activate-licenses.mjs +1 -0
- package/tools/licenses/activate-licenses.mjs.map +1 -1
- package/tools/licenses/deactivate-licenses.d.mts.map +1 -1
- package/tools/licenses/deactivate-licenses.d.ts.map +1 -1
- package/tools/licenses/deactivate-licenses.js +1 -0
- package/tools/licenses/deactivate-licenses.js.map +1 -1
- package/tools/licenses/deactivate-licenses.mjs +1 -0
- package/tools/licenses/deactivate-licenses.mjs.map +1 -1
- package/tools/licenses/validate-licenses.d.mts.map +1 -1
- package/tools/licenses/validate-licenses.d.ts.map +1 -1
- package/tools/licenses/validate-licenses.js +1 -0
- package/tools/licenses/validate-licenses.js.map +1 -1
- package/tools/licenses/validate-licenses.mjs +1 -0
- package/tools/licenses/validate-licenses.mjs.map +1 -1
- package/tools/misc/list-supported-countries-misc.d.mts.map +1 -1
- package/tools/misc/list-supported-countries-misc.d.ts.map +1 -1
- package/tools/misc/list-supported-countries-misc.js +1 -0
- package/tools/misc/list-supported-countries-misc.js.map +1 -1
- package/tools/misc/list-supported-countries-misc.mjs +1 -0
- package/tools/misc/list-supported-countries-misc.mjs.map +1 -1
- package/tools/payments/create-payments.d.mts.map +1 -1
- package/tools/payments/create-payments.d.ts.map +1 -1
- package/tools/payments/create-payments.js +25 -21
- package/tools/payments/create-payments.js.map +1 -1
- package/tools/payments/create-payments.mjs +25 -21
- package/tools/payments/create-payments.mjs.map +1 -1
- package/tools/payments/list-payments.d.mts.map +1 -1
- package/tools/payments/list-payments.d.ts.map +1 -1
- package/tools/payments/list-payments.js +1 -0
- package/tools/payments/list-payments.js.map +1 -1
- package/tools/payments/list-payments.mjs +1 -0
- package/tools/payments/list-payments.mjs.map +1 -1
- package/tools/payments/retrieve-line-items-payments.d.mts.map +1 -1
- package/tools/payments/retrieve-line-items-payments.d.ts.map +1 -1
- package/tools/payments/retrieve-line-items-payments.js +1 -0
- package/tools/payments/retrieve-line-items-payments.js.map +1 -1
- package/tools/payments/retrieve-line-items-payments.mjs +1 -0
- package/tools/payments/retrieve-line-items-payments.mjs.map +1 -1
- package/tools/payments/retrieve-payments.d.mts.map +1 -1
- package/tools/payments/retrieve-payments.d.ts.map +1 -1
- package/tools/payments/retrieve-payments.js +1 -0
- package/tools/payments/retrieve-payments.js.map +1 -1
- package/tools/payments/retrieve-payments.mjs +1 -0
- package/tools/payments/retrieve-payments.mjs.map +1 -1
- package/tools/payouts/list-payouts.d.mts.map +1 -1
- package/tools/payouts/list-payouts.d.ts.map +1 -1
- package/tools/payouts/list-payouts.js +1 -0
- package/tools/payouts/list-payouts.js.map +1 -1
- package/tools/payouts/list-payouts.mjs +1 -0
- package/tools/payouts/list-payouts.mjs.map +1 -1
- package/tools/products/create-products.js +1 -1
- package/tools/products/create-products.js.map +1 -1
- package/tools/products/create-products.mjs +1 -1
- package/tools/products/create-products.mjs.map +1 -1
- package/tools/products/delete-products.d.mts.map +1 -1
- package/tools/products/delete-products.d.ts.map +1 -1
- package/tools/products/delete-products.js +1 -0
- package/tools/products/delete-products.js.map +1 -1
- package/tools/products/delete-products.mjs +1 -0
- package/tools/products/delete-products.mjs.map +1 -1
- package/tools/products/images/update-products-images.d.mts.map +1 -1
- package/tools/products/images/update-products-images.d.ts.map +1 -1
- package/tools/products/images/update-products-images.js +1 -0
- package/tools/products/images/update-products-images.js.map +1 -1
- package/tools/products/images/update-products-images.mjs +1 -0
- package/tools/products/images/update-products-images.mjs.map +1 -1
- package/tools/products/list-products.d.mts.map +1 -1
- package/tools/products/list-products.d.ts.map +1 -1
- package/tools/products/list-products.js +1 -0
- package/tools/products/list-products.js.map +1 -1
- package/tools/products/list-products.mjs +1 -0
- package/tools/products/list-products.mjs.map +1 -1
- package/tools/products/retrieve-products.d.mts.map +1 -1
- package/tools/products/retrieve-products.d.ts.map +1 -1
- package/tools/products/retrieve-products.js +1 -0
- package/tools/products/retrieve-products.js.map +1 -1
- package/tools/products/retrieve-products.mjs +1 -0
- package/tools/products/retrieve-products.mjs.map +1 -1
- package/tools/products/unarchive-products.d.mts.map +1 -1
- package/tools/products/unarchive-products.d.ts.map +1 -1
- package/tools/products/unarchive-products.js +1 -0
- package/tools/products/unarchive-products.js.map +1 -1
- package/tools/products/unarchive-products.mjs +1 -0
- package/tools/products/unarchive-products.mjs.map +1 -1
- package/tools/products/update-files-products.d.mts.map +1 -1
- package/tools/products/update-files-products.d.ts.map +1 -1
- package/tools/products/update-files-products.js +1 -0
- package/tools/products/update-files-products.js.map +1 -1
- package/tools/products/update-files-products.mjs +1 -0
- package/tools/products/update-files-products.mjs.map +1 -1
- package/tools/products/update-products.js +1 -1
- package/tools/products/update-products.js.map +1 -1
- package/tools/products/update-products.mjs +1 -1
- package/tools/products/update-products.mjs.map +1 -1
- package/tools/refunds/create-refunds.d.mts.map +1 -1
- package/tools/refunds/create-refunds.d.ts.map +1 -1
- package/tools/refunds/create-refunds.js +1 -0
- package/tools/refunds/create-refunds.js.map +1 -1
- package/tools/refunds/create-refunds.mjs +1 -0
- package/tools/refunds/create-refunds.mjs.map +1 -1
- package/tools/refunds/list-refunds.d.mts.map +1 -1
- package/tools/refunds/list-refunds.d.ts.map +1 -1
- package/tools/refunds/list-refunds.js +1 -0
- package/tools/refunds/list-refunds.js.map +1 -1
- package/tools/refunds/list-refunds.mjs +1 -0
- package/tools/refunds/list-refunds.mjs.map +1 -1
- package/tools/refunds/retrieve-refunds.d.mts.map +1 -1
- package/tools/refunds/retrieve-refunds.d.ts.map +1 -1
- package/tools/refunds/retrieve-refunds.js +1 -0
- package/tools/refunds/retrieve-refunds.js.map +1 -1
- package/tools/refunds/retrieve-refunds.mjs +1 -0
- package/tools/refunds/retrieve-refunds.mjs.map +1 -1
- package/tools/subscriptions/change-plan-subscriptions.d.mts.map +1 -1
- package/tools/subscriptions/change-plan-subscriptions.d.ts.map +1 -1
- package/tools/subscriptions/change-plan-subscriptions.js +16 -10
- package/tools/subscriptions/change-plan-subscriptions.js.map +1 -1
- package/tools/subscriptions/change-plan-subscriptions.mjs +16 -10
- package/tools/subscriptions/change-plan-subscriptions.mjs.map +1 -1
- package/tools/subscriptions/charge-subscriptions.d.mts.map +1 -1
- package/tools/subscriptions/charge-subscriptions.d.ts.map +1 -1
- package/tools/subscriptions/charge-subscriptions.js +1 -0
- package/tools/subscriptions/charge-subscriptions.js.map +1 -1
- package/tools/subscriptions/charge-subscriptions.mjs +1 -0
- package/tools/subscriptions/charge-subscriptions.mjs.map +1 -1
- package/tools/subscriptions/create-subscriptions.d.mts.map +1 -1
- package/tools/subscriptions/create-subscriptions.d.ts.map +1 -1
- package/tools/subscriptions/create-subscriptions.js +38 -31
- package/tools/subscriptions/create-subscriptions.js.map +1 -1
- package/tools/subscriptions/create-subscriptions.mjs +38 -31
- package/tools/subscriptions/create-subscriptions.mjs.map +1 -1
- package/tools/subscriptions/list-subscriptions.d.mts.map +1 -1
- package/tools/subscriptions/list-subscriptions.d.ts.map +1 -1
- package/tools/subscriptions/list-subscriptions.js +1 -0
- package/tools/subscriptions/list-subscriptions.js.map +1 -1
- package/tools/subscriptions/list-subscriptions.mjs +1 -0
- package/tools/subscriptions/list-subscriptions.mjs.map +1 -1
- package/tools/subscriptions/retrieve-subscriptions.d.mts.map +1 -1
- package/tools/subscriptions/retrieve-subscriptions.d.ts.map +1 -1
- package/tools/subscriptions/retrieve-subscriptions.js +1 -0
- package/tools/subscriptions/retrieve-subscriptions.js.map +1 -1
- package/tools/subscriptions/retrieve-subscriptions.mjs +1 -0
- package/tools/subscriptions/retrieve-subscriptions.mjs.map +1 -1
- package/tools/subscriptions/update-subscriptions.d.mts.map +1 -1
- package/tools/subscriptions/update-subscriptions.d.ts.map +1 -1
- package/tools/subscriptions/update-subscriptions.js +1 -0
- package/tools/subscriptions/update-subscriptions.js.map +1 -1
- package/tools/subscriptions/update-subscriptions.mjs +1 -0
- package/tools/subscriptions/update-subscriptions.mjs.map +1 -1
- package/tools/webhook-events/list-webhook-events.d.mts.map +1 -1
- package/tools/webhook-events/list-webhook-events.d.ts.map +1 -1
- package/tools/webhook-events/list-webhook-events.js +1 -0
- package/tools/webhook-events/list-webhook-events.js.map +1 -1
- package/tools/webhook-events/list-webhook-events.mjs +1 -0
- package/tools/webhook-events/list-webhook-events.mjs.map +1 -1
- package/tools/webhook-events/retrieve-webhook-events.d.mts.map +1 -1
- package/tools/webhook-events/retrieve-webhook-events.d.ts.map +1 -1
- package/tools/webhook-events/retrieve-webhook-events.js +1 -0
- package/tools/webhook-events/retrieve-webhook-events.js.map +1 -1
- package/tools/webhook-events/retrieve-webhook-events.mjs +1 -0
- package/tools/webhook-events/retrieve-webhook-events.mjs.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dodopayments-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.43.0",
|
|
4
4
|
"description": "The official MCP Server for the Dodo Payments API",
|
|
5
5
|
"author": "Dodo Payments <founders@dodopayments.com>",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"fix": "eslint --fix --ext ts,js ."
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"dodopayments": "^1.
|
|
27
|
+
"dodopayments": "^1.43.0",
|
|
28
28
|
"@modelcontextprotocol/sdk": "^1.11.5",
|
|
29
29
|
"jq-web": "https://github.com/stainless-api/jq-web/releases/download/v0.8.2/jq-web.tar.gz",
|
|
30
30
|
"yargs": "^17.7.2",
|
package/server.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.mts","sourceRoot":"","sources":["src/server.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE,MAAM,2CAA2C;OAC3D,EAAE,SAAS,EAAE,MAAM,yCAAyC;OAC5D,EAAE,QAAQ,EAAa,eAAe,EAAS;OAC/C,EAAiD,IAAI,EAAE,MAAM,oCAAoC;OACjG,EAAE,aAAa,EAAE,MAAM,cAAc;OACrC,YAAY,MAAM,cAAc;OAChC,EAEL,kBAAkB,EAInB;OAEM,EAAE,UAAU,EAAE;OAEd,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE;OACV,EAAE,aAAa,EAAE,MAAM,cAAc;OACrC,EAAE,SAAS,EAAE;AAGpB,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"server.d.mts","sourceRoot":"","sources":["src/server.ts"],"names":[],"mappings":"OAEO,EAAE,MAAM,EAAE,MAAM,2CAA2C;OAC3D,EAAE,SAAS,EAAE,MAAM,yCAAyC;OAC5D,EAAE,QAAQ,EAAa,eAAe,EAAS;OAC/C,EAAiD,IAAI,EAAE,MAAM,oCAAoC;OACjG,EAAE,aAAa,EAAE,MAAM,cAAc;OACrC,YAAY,MAAM,cAAc;OAChC,EAEL,kBAAkB,EAInB;OAEM,EAAE,UAAU,EAAE;OAEd,EAAE,UAAU,EAAE;OACd,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE;OACV,EAAE,aAAa,EAAE,MAA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MAAM,GAAG,SAAS,CAAC;IAC3B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,SAAS,CAAC,EAAE;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,OAAO,EAAE,eAAe,CAAA;KAAE,EAAE,CAAC;IACvD,YAAY,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,CAAC;CAC5C,QA4BA;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,SAAS,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,UAAU,cAqBrE;AAED;;GAEG;AACH,wBAAsB,cAAc,CAClC,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,eAAe,EACxB,MAAM,EAAE,YAAY,EACpB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EACzC,oBAAoB,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC,mDAOnD;AAED,eAAO,MAAM,OAAO,GAAI,KAAK,MAAM,KAAG,MAAM,GAAG,SAO9C,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,KAAK,MAAM,KAAG,MAM5C,CAAC"}
|
package/server.js
CHANGED
|
@@ -20,12 +20,8 @@ Object.defineProperty(exports, "endpoints", { enumerable: true, get: function ()
|
|
|
20
20
|
// Create server instance
|
|
21
21
|
exports.server = new mcp_js_1.McpServer({
|
|
22
22
|
name: 'dodopayments_api',
|
|
23
|
-
version: '1.
|
|
24
|
-
}, {
|
|
25
|
-
capabilities: {
|
|
26
|
-
tools: {},
|
|
27
|
-
},
|
|
28
|
-
});
|
|
23
|
+
version: '1.43.0',
|
|
24
|
+
}, { capabilities: { tools: {} } });
|
|
29
25
|
/**
|
|
30
26
|
* Initializes the provided MCP Server with the given tools and handlers.
|
|
31
27
|
* If not provided, the default client, tools and handlers will be used.
|
package/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["src/server.ts"],"names":[],"mappings":";AAAA,sFAAs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,OAAQ,UAAkB,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,CAAC;IACxD,CAAC;SAAM,IAAI,OAAQ,UAAkB,CAAC,IAAI,KAAK,WAAW,EAAE,CAAC;QAC3D,OAAQ,UAAkB,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,CAAC;IAC1D,CAAC;IACD,OAAO;AACT,CAAC,CAAC;AAPW,QAAA,OAAO,WAOlB;AAEK,MAAM,cAAc,GAAG,CAAC,GAAW,EAAU,EAAE;IACpD,IAAI,QAAQ,GAAG,IAAA,eAAO,EAAC,GAAG,CAAC,CAAC;IAC5B,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QAC3B,MAAM,IAAI,KAAK,CAAC,wBAAwB,GAAG,aAAa,CAAC,CAAC;IAC5D,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC;AANW,QAAA,cAAc,kBAMzB"}
|
package/server.mjs
CHANGED
|
@@ -9,12 +9,8 @@ export { endpoints } from "./tools.mjs";
|
|
|
9
9
|
// Create server instance
|
|
10
10
|
export const server = new McpServer({
|
|
11
11
|
name: 'dodopayments_api',
|
|
12
|
-
version: '1.
|
|
13
|
-
}, {
|
|
14
|
-
capabilities: {
|
|
15
|
-
tools: {},
|
|
16
|
-
},
|
|
17
|
-
});
|
|
12
|
+
version: '1.43.0',
|
|
13
|
+
}, { capabilities: { tools: {} } });
|
|
18
14
|
/**
|
|
19
15
|
* Initializes the provided MCP Server with the given tools and handlers.
|
|
20
16
|
* If not provided, the default client, tools and handlers will be used.
|
package/server.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.mjs","sourceRoot":"","sources":["src/server.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAG/E,EAAE,SAAS,EAAE,MAAM,yCAAyC;OAC5D,EAAY,SAAS,EAAmB,KAAK,EAAE;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,EAAE,GAAG,yBAAyB,EAAE,GAAG,oBAAoB,EAAE,CAAC;IAC1E,IAAI,OAAO,CAAC,SAAS,IAAI,IAAI,EAAE,CAAC;QAC9B,IAAI,GAAG,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IACnD,CAAC;IACD,OAAO,MAAM,OAAO,CAAC,MAAM,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;AAC3C,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,GAAW,EAAsB,EAAE;IACzD,IAAI,OAAQ,UAAkB,CAAC,OAAO,KAAK,WAAW,EAAE,CAAC;QACvD,OAAQ,UAAkB,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,CAAC;IACxD,CAAC;SAAM,IAAI,OAAQ,UAAkB,CAAC,IAAI,KAAK,WAAW,EAAE,CAAC;QAC3D,OAAQ,UAAkB,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,CAAC;IAC1D,CAAC;IACD,OAAO;AACT,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,GAAW,EAAU,EAAE;IACpD,IAAI,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAC5B,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QAC3B,MAAM,IAAI,KAAK,CAAC,wBAAwB,GAAG,aAAa,CAAC,CAAC;IAC5D,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC"}
|
package/src/server.ts
CHANGED
|
@@ -26,13 +26,9 @@ export { endpoints } from './tools';
|
|
|
26
26
|
export const server = new McpServer(
|
|
27
27
|
{
|
|
28
28
|
name: 'dodopayments_api',
|
|
29
|
-
version: '1.
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
capabilities: {
|
|
33
|
-
tools: {},
|
|
34
|
-
},
|
|
29
|
+
version: '1.43.0',
|
|
35
30
|
},
|
|
31
|
+
{ capabilities: { tools: {} } },
|
|
36
32
|
);
|
|
37
33
|
|
|
38
34
|
/**
|
|
@@ -47,6 +47,7 @@ export const tool: Tool = {
|
|
|
47
47
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
48
48
|
},
|
|
49
49
|
},
|
|
50
|
+
required: ['currency', 'name', 'price', 'tax_category'],
|
|
50
51
|
$defs: {
|
|
51
52
|
currency: {
|
|
52
53
|
type: 'string',
|
|
@@ -37,6 +37,7 @@ export const tool: Tool = {
|
|
|
37
37
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
38
38
|
},
|
|
39
39
|
},
|
|
40
|
+
required: [],
|
|
40
41
|
},
|
|
41
42
|
};
|
|
42
43
|
|
|
@@ -32,6 +32,7 @@ export const tool: Tool = {
|
|
|
32
32
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
|
+
required: ['id'],
|
|
35
36
|
},
|
|
36
37
|
};
|
|
37
38
|
|
|
@@ -54,6 +54,7 @@ export const tool: Tool = {
|
|
|
54
54
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
55
55
|
},
|
|
56
56
|
},
|
|
57
|
+
required: ['id'],
|
|
57
58
|
$defs: {
|
|
58
59
|
currency: {
|
|
59
60
|
type: 'string',
|
|
@@ -32,6 +32,7 @@ export const tool: Tool = {
|
|
|
32
32
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
|
+
required: ['id'],
|
|
35
36
|
},
|
|
36
37
|
};
|
|
37
38
|
|
|
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
18
18
|
export const tool: Tool = {
|
|
19
19
|
name: 'create_brands',
|
|
20
20
|
description:
|
|
21
|
-
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\n\n\n# Response Schema\n```json\n{\n type: 'object',\n
|
|
21
|
+
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/brand',\n $defs: {\n brand: {\n type: 'object',\n properties: {\n brand_id: {\n type: 'string'\n },\n business_id: {\n type: 'string'\n },\n enabled: {\n type: 'boolean'\n },\n statement_descriptor: {\n type: 'string'\n },\n verification_enabled: {\n type: 'boolean'\n },\n verification_status: {\n type: 'string',\n enum: [ 'Success',\n 'Fail',\n 'Review',\n 'Hold'\n ]\n },\n description: {\n type: 'string'\n },\n image: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n reason_for_hold: {\n type: 'string',\n description: 'Incase the brand verification fails or is put on hold'\n },\n support_email: {\n type: 'string'\n },\n url: {\n type: 'string'\n }\n },\n required: [ 'brand_id',\n 'business_id',\n 'enabled',\n 'statement_descriptor',\n 'verification_enabled',\n 'verification_status'\n ]\n }\n }\n}\n```",
|
|
22
22
|
inputSchema: {
|
|
23
23
|
type: 'object',
|
|
24
24
|
properties: {
|
|
@@ -44,6 +44,7 @@ export const tool: Tool = {
|
|
|
44
44
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
45
45
|
},
|
|
46
46
|
},
|
|
47
|
+
required: [],
|
|
47
48
|
},
|
|
48
49
|
};
|
|
49
50
|
|
|
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
18
18
|
export const tool: Tool = {
|
|
19
19
|
name: 'list_brands',
|
|
20
20
|
description:
|
|
21
|
-
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n items: {\n type: 'array',\n description: 'List of brands for this business',\n items: {\n type: 'object',\n
|
|
21
|
+
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\n\n\n# Response Schema\n```json\n{\n type: 'object',\n properties: {\n items: {\n type: 'array',\n description: 'List of brands for this business',\n items: {\n $ref: '#/$defs/brand'\n }\n }\n },\n required: [ 'items'\n ],\n $defs: {\n brand: {\n type: 'object',\n properties: {\n brand_id: {\n type: 'string'\n },\n business_id: {\n type: 'string'\n },\n enabled: {\n type: 'boolean'\n },\n statement_descriptor: {\n type: 'string'\n },\n verification_enabled: {\n type: 'boolean'\n },\n verification_status: {\n type: 'string',\n enum: [ 'Success',\n 'Fail',\n 'Review',\n 'Hold'\n ]\n },\n description: {\n type: 'string'\n },\n image: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n reason_for_hold: {\n type: 'string',\n description: 'Incase the brand verification fails or is put on hold'\n },\n support_email: {\n type: 'string'\n },\n url: {\n type: 'string'\n }\n },\n required: [ 'brand_id',\n 'business_id',\n 'enabled',\n 'statement_descriptor',\n 'verification_enabled',\n 'verification_status'\n ]\n }\n }\n}\n```",
|
|
22
22
|
inputSchema: {
|
|
23
23
|
type: 'object',
|
|
24
24
|
properties: {
|
|
@@ -29,6 +29,7 @@ export const tool: Tool = {
|
|
|
29
29
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
30
30
|
},
|
|
31
31
|
},
|
|
32
|
+
required: [],
|
|
32
33
|
},
|
|
33
34
|
};
|
|
34
35
|
|
|
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
18
18
|
export const tool: Tool = {
|
|
19
19
|
name: 'retrieve_brands',
|
|
20
20
|
description:
|
|
21
|
-
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nThin handler just calls `get_brand` and wraps in `Json(...)`\n\n# Response Schema\n```json\n{\n type: 'object',\n
|
|
21
|
+
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\nThin handler just calls `get_brand` and wraps in `Json(...)`\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/brand',\n $defs: {\n brand: {\n type: 'object',\n properties: {\n brand_id: {\n type: 'string'\n },\n business_id: {\n type: 'string'\n },\n enabled: {\n type: 'boolean'\n },\n statement_descriptor: {\n type: 'string'\n },\n verification_enabled: {\n type: 'boolean'\n },\n verification_status: {\n type: 'string',\n enum: [ 'Success',\n 'Fail',\n 'Review',\n 'Hold'\n ]\n },\n description: {\n type: 'string'\n },\n image: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n reason_for_hold: {\n type: 'string',\n description: 'Incase the brand verification fails or is put on hold'\n },\n support_email: {\n type: 'string'\n },\n url: {\n type: 'string'\n }\n },\n required: [ 'brand_id',\n 'business_id',\n 'enabled',\n 'statement_descriptor',\n 'verification_enabled',\n 'verification_status'\n ]\n }\n }\n}\n```",
|
|
22
22
|
inputSchema: {
|
|
23
23
|
type: 'object',
|
|
24
24
|
properties: {
|
|
@@ -32,6 +32,7 @@ export const tool: Tool = {
|
|
|
32
32
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
|
+
required: ['id'],
|
|
35
36
|
},
|
|
36
37
|
};
|
|
37
38
|
|
|
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
18
18
|
export const tool: Tool = {
|
|
19
19
|
name: 'update_brands',
|
|
20
20
|
description:
|
|
21
|
-
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\n\n\n# Response Schema\n```json\n{\n type: 'object',\n
|
|
21
|
+
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/brand',\n $defs: {\n brand: {\n type: 'object',\n properties: {\n brand_id: {\n type: 'string'\n },\n business_id: {\n type: 'string'\n },\n enabled: {\n type: 'boolean'\n },\n statement_descriptor: {\n type: 'string'\n },\n verification_enabled: {\n type: 'boolean'\n },\n verification_status: {\n type: 'string',\n enum: [ 'Success',\n 'Fail',\n 'Review',\n 'Hold'\n ]\n },\n description: {\n type: 'string'\n },\n image: {\n type: 'string'\n },\n name: {\n type: 'string'\n },\n reason_for_hold: {\n type: 'string',\n description: 'Incase the brand verification fails or is put on hold'\n },\n support_email: {\n type: 'string'\n },\n url: {\n type: 'string'\n }\n },\n required: [ 'brand_id',\n 'business_id',\n 'enabled',\n 'statement_descriptor',\n 'verification_enabled',\n 'verification_status'\n ]\n }\n }\n}\n```",
|
|
22
22
|
inputSchema: {
|
|
23
23
|
type: 'object',
|
|
24
24
|
properties: {
|
|
@@ -45,6 +45,7 @@ export const tool: Tool = {
|
|
|
45
45
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
46
46
|
},
|
|
47
47
|
},
|
|
48
|
+
required: ['id'],
|
|
48
49
|
},
|
|
49
50
|
};
|
|
50
51
|
|
|
@@ -32,6 +32,7 @@ export const tool: Tool = {
|
|
|
32
32
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
|
+
required: ['id'],
|
|
35
36
|
},
|
|
36
37
|
};
|
|
37
38
|
|
|
@@ -38,6 +38,7 @@ export const tool: Tool = {
|
|
|
38
38
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
39
39
|
},
|
|
40
40
|
},
|
|
41
|
+
required: ['email', 'name'],
|
|
41
42
|
},
|
|
42
43
|
};
|
|
43
44
|
|
|
@@ -36,6 +36,7 @@ export const tool: Tool = {
|
|
|
36
36
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
37
37
|
},
|
|
38
38
|
},
|
|
39
|
+
required: ['customer_id'],
|
|
39
40
|
},
|
|
40
41
|
};
|
|
41
42
|
|
|
@@ -41,6 +41,7 @@ export const tool: Tool = {
|
|
|
41
41
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
42
42
|
},
|
|
43
43
|
},
|
|
44
|
+
required: [],
|
|
44
45
|
},
|
|
45
46
|
};
|
|
46
47
|
|
|
@@ -32,6 +32,7 @@ export const tool: Tool = {
|
|
|
32
32
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
|
+
required: ['customer_id'],
|
|
35
36
|
},
|
|
36
37
|
};
|
|
37
38
|
|
|
@@ -38,6 +38,7 @@ export const tool: Tool = {
|
|
|
38
38
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
39
39
|
},
|
|
40
40
|
},
|
|
41
|
+
required: ['customer_id'],
|
|
41
42
|
},
|
|
42
43
|
};
|
|
43
44
|
|
|
@@ -61,6 +61,7 @@ export const tool: Tool = {
|
|
|
61
61
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
62
62
|
},
|
|
63
63
|
},
|
|
64
|
+
required: ['amount', 'type'],
|
|
64
65
|
$defs: {
|
|
65
66
|
discount_type: {
|
|
66
67
|
type: 'string',
|
|
@@ -31,6 +31,7 @@ export const tool: Tool = {
|
|
|
31
31
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
32
32
|
},
|
|
33
33
|
},
|
|
34
|
+
required: ['discount_id'],
|
|
34
35
|
},
|
|
35
36
|
};
|
|
36
37
|
|
|
@@ -37,6 +37,7 @@ export const tool: Tool = {
|
|
|
37
37
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
38
38
|
},
|
|
39
39
|
},
|
|
40
|
+
required: [],
|
|
40
41
|
},
|
|
41
42
|
};
|
|
42
43
|
|
|
@@ -32,6 +32,7 @@ export const tool: Tool = {
|
|
|
32
32
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
|
+
required: ['discount_id'],
|
|
35
36
|
},
|
|
36
37
|
};
|
|
37
38
|
|
|
@@ -62,6 +62,7 @@ export const tool: Tool = {
|
|
|
62
62
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
63
63
|
},
|
|
64
64
|
},
|
|
65
|
+
required: ['discount_id'],
|
|
65
66
|
$defs: {
|
|
66
67
|
discount_type: {
|
|
67
68
|
type: 'string',
|
|
@@ -69,6 +69,7 @@ export const tool: Tool = {
|
|
|
69
69
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
70
70
|
},
|
|
71
71
|
},
|
|
72
|
+
required: [],
|
|
72
73
|
},
|
|
73
74
|
};
|
|
74
75
|
|
|
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
|
|
|
18
18
|
export const tool: Tool = {
|
|
19
19
|
name: 'retrieve_disputes',
|
|
20
20
|
description:
|
|
21
|
-
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\n\n\n# Response Schema\n```json\n{\n type: 'object',\n
|
|
21
|
+
"When using this tool, always use the `jq_filter` parameter to reduce the response size and improve performance.\n\nOnly omit if you're sure you don't need the data.\n\n\n\n# Response Schema\n```json\n{\n $ref: '#/$defs/get_dispute',\n $defs: {\n get_dispute: {\n type: 'object',\n properties: {\n amount: {\n type: 'string',\n description: 'The amount involved in the dispute, represented as a string to accommodate precision.'\n },\n business_id: {\n type: 'string',\n description: 'The unique identifier of the business involved in the dispute.'\n },\n created_at: {\n type: 'string',\n description: 'The timestamp of when the dispute was created, in UTC.',\n format: 'date-time'\n },\n currency: {\n type: 'string',\n description: 'The currency of the disputed amount, represented as an ISO 4217 currency code.'\n },\n customer: {\n $ref: '#/$defs/customer_limited_details'\n },\n dispute_id: {\n type: 'string',\n description: 'The unique identifier of the dispute.'\n },\n dispute_stage: {\n $ref: '#/$defs/dispute_stage'\n },\n dispute_status: {\n $ref: '#/$defs/dispute_status'\n },\n payment_id: {\n type: 'string',\n description: 'The unique identifier of the payment associated with the dispute.'\n },\n reason: {\n type: 'string',\n description: 'Reason for the dispute'\n },\n remarks: {\n type: 'string',\n description: 'Remarks'\n }\n },\n required: [ 'amount',\n 'business_id',\n 'created_at',\n 'currency',\n 'customer',\n 'dispute_id',\n 'dispute_stage',\n 'dispute_status',\n 'payment_id'\n ]\n },\n customer_limited_details: {\n type: 'object',\n properties: {\n customer_id: {\n type: 'string',\n description: 'Unique identifier for the customer'\n },\n email: {\n type: 'string',\n description: 'Email address of the customer'\n },\n name: {\n type: 'string',\n description: 'Full name of the customer'\n }\n },\n required: [ 'customer_id',\n 'email',\n 'name'\n ]\n },\n dispute_stage: {\n type: 'string',\n enum: [ 'pre_dispute',\n 'dispute',\n 'pre_arbitration'\n ]\n },\n dispute_status: {\n type: 'string',\n enum: [ 'dispute_opened',\n 'dispute_expired',\n 'dispute_accepted',\n 'dispute_cancelled',\n 'dispute_challenged',\n 'dispute_won',\n 'dispute_lost'\n ]\n }\n }\n}\n```",
|
|
22
22
|
inputSchema: {
|
|
23
23
|
type: 'object',
|
|
24
24
|
properties: {
|
|
@@ -32,6 +32,7 @@ export const tool: Tool = {
|
|
|
32
32
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
|
+
required: ['dispute_id'],
|
|
35
36
|
},
|
|
36
37
|
};
|
|
37
38
|
|
|
@@ -31,6 +31,7 @@ export const tool: Tool = {
|
|
|
31
31
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
32
32
|
},
|
|
33
33
|
},
|
|
34
|
+
required: ['payment_id'],
|
|
34
35
|
},
|
|
35
36
|
};
|
|
36
37
|
|
|
@@ -41,6 +41,7 @@ export const tool: Tool = {
|
|
|
41
41
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
42
42
|
},
|
|
43
43
|
},
|
|
44
|
+
required: [],
|
|
44
45
|
},
|
|
45
46
|
};
|
|
46
47
|
|
|
@@ -32,6 +32,7 @@ export const tool: Tool = {
|
|
|
32
32
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
|
+
required: ['id'],
|
|
35
36
|
},
|
|
36
37
|
};
|
|
37
38
|
|
|
@@ -35,6 +35,7 @@ export const tool: Tool = {
|
|
|
35
35
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
36
36
|
},
|
|
37
37
|
},
|
|
38
|
+
required: ['id', 'name'],
|
|
38
39
|
},
|
|
39
40
|
};
|
|
40
41
|
|
|
@@ -50,6 +50,7 @@ export const tool: Tool = {
|
|
|
50
50
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
51
51
|
},
|
|
52
52
|
},
|
|
53
|
+
required: [],
|
|
53
54
|
},
|
|
54
55
|
};
|
|
55
56
|
|
|
@@ -32,6 +32,7 @@ export const tool: Tool = {
|
|
|
32
32
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
|
+
required: ['id'],
|
|
35
36
|
},
|
|
36
37
|
};
|
|
37
38
|
|
|
@@ -48,6 +48,7 @@ export const tool: Tool = {
|
|
|
48
48
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
49
49
|
},
|
|
50
50
|
},
|
|
51
|
+
required: ['id'],
|
|
51
52
|
},
|
|
52
53
|
};
|
|
53
54
|
|
|
@@ -35,6 +35,7 @@ export const tool: Tool = {
|
|
|
35
35
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
36
36
|
},
|
|
37
37
|
},
|
|
38
|
+
required: ['license_key', 'name'],
|
|
38
39
|
},
|
|
39
40
|
};
|
|
40
41
|
|
|
@@ -34,6 +34,7 @@ export const tool: Tool = {
|
|
|
34
34
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
35
35
|
},
|
|
36
36
|
},
|
|
37
|
+
required: ['license_key', 'license_key_instance_id'],
|
|
37
38
|
},
|
|
38
39
|
};
|
|
39
40
|
|
|
@@ -35,6 +35,7 @@ export const tool: Tool = {
|
|
|
35
35
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
36
36
|
},
|
|
37
37
|
},
|
|
38
|
+
required: ['license_key'],
|
|
38
39
|
},
|
|
39
40
|
};
|
|
40
41
|
|
|
@@ -29,6 +29,7 @@ export const tool: Tool = {
|
|
|
29
29
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
30
30
|
},
|
|
31
31
|
},
|
|
32
|
+
required: [],
|
|
32
33
|
},
|
|
33
34
|
};
|
|
34
35
|
|
|
@@ -39,27 +39,7 @@ export const tool: Tool = {
|
|
|
39
39
|
description:
|
|
40
40
|
'List of payment methods allowed during checkout.\n\nCustomers will **never** see payment methods that are **not** in this list.\nHowever, adding a method here **does not guarantee** customers will see it.\nAvailability still depends on other factors (e.g., customer location, merchant settings).',
|
|
41
41
|
items: {
|
|
42
|
-
|
|
43
|
-
enum: [
|
|
44
|
-
'credit',
|
|
45
|
-
'debit',
|
|
46
|
-
'upi_collect',
|
|
47
|
-
'upi_intent',
|
|
48
|
-
'apple_pay',
|
|
49
|
-
'cashapp',
|
|
50
|
-
'google_pay',
|
|
51
|
-
'multibanco',
|
|
52
|
-
'bancontact_card',
|
|
53
|
-
'eps',
|
|
54
|
-
'ideal',
|
|
55
|
-
'przelewy24',
|
|
56
|
-
'affirm',
|
|
57
|
-
'klarna',
|
|
58
|
-
'sepa',
|
|
59
|
-
'ach',
|
|
60
|
-
'amazon_pay',
|
|
61
|
-
'afterpay_clearpay',
|
|
62
|
-
],
|
|
42
|
+
$ref: '#/$defs/payment_method_types',
|
|
63
43
|
},
|
|
64
44
|
},
|
|
65
45
|
billing_currency: {
|
|
@@ -91,6 +71,7 @@ export const tool: Tool = {
|
|
|
91
71
|
'Tax ID in case the payment is B2B. If tax id validation fails the payment creation will fail',
|
|
92
72
|
},
|
|
93
73
|
},
|
|
74
|
+
required: ['billing', 'customer', 'product_cart'],
|
|
94
75
|
$defs: {
|
|
95
76
|
billing_address: {
|
|
96
77
|
type: 'object',
|
|
@@ -430,6 +411,29 @@ export const tool: Tool = {
|
|
|
430
411
|
},
|
|
431
412
|
required: ['product_id', 'quantity'],
|
|
432
413
|
},
|
|
414
|
+
payment_method_types: {
|
|
415
|
+
type: 'string',
|
|
416
|
+
enum: [
|
|
417
|
+
'credit',
|
|
418
|
+
'debit',
|
|
419
|
+
'upi_collect',
|
|
420
|
+
'upi_intent',
|
|
421
|
+
'apple_pay',
|
|
422
|
+
'cashapp',
|
|
423
|
+
'google_pay',
|
|
424
|
+
'multibanco',
|
|
425
|
+
'bancontact_card',
|
|
426
|
+
'eps',
|
|
427
|
+
'ideal',
|
|
428
|
+
'przelewy24',
|
|
429
|
+
'affirm',
|
|
430
|
+
'klarna',
|
|
431
|
+
'sepa',
|
|
432
|
+
'ach',
|
|
433
|
+
'amazon_pay',
|
|
434
|
+
'afterpay_clearpay',
|
|
435
|
+
],
|
|
436
|
+
},
|
|
433
437
|
currency: {
|
|
434
438
|
type: 'string',
|
|
435
439
|
enum: [
|
|
@@ -76,6 +76,7 @@ export const tool: Tool = {
|
|
|
76
76
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
77
77
|
},
|
|
78
78
|
},
|
|
79
|
+
required: [],
|
|
79
80
|
},
|
|
80
81
|
};
|
|
81
82
|
|