@keystrokehq/razorpay 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/cancel-invoice.cjs +105 -0
- package/dist/actions/cancel-invoice.cjs.map +1 -0
- package/dist/actions/cancel-invoice.d.cts +9 -0
- package/dist/actions/cancel-invoice.d.cts.map +1 -0
- package/dist/actions/cancel-invoice.d.mts +9 -0
- package/dist/actions/cancel-invoice.d.mts.map +1 -0
- package/dist/actions/cancel-invoice.mjs +104 -0
- package/dist/actions/cancel-invoice.mjs.map +1 -0
- package/dist/actions/cancel-payment-link.cjs +42 -0
- package/dist/actions/cancel-payment-link.cjs.map +1 -0
- package/dist/actions/cancel-payment-link.d.cts +9 -0
- package/dist/actions/cancel-payment-link.d.cts.map +1 -0
- package/dist/actions/cancel-payment-link.d.mts +9 -0
- package/dist/actions/cancel-payment-link.d.mts.map +1 -0
- package/dist/actions/cancel-payment-link.mjs +39 -0
- package/dist/actions/cancel-payment-link.mjs.map +1 -0
- package/dist/actions/create-an-order.cjs +34 -0
- package/dist/actions/create-an-order.cjs.map +1 -0
- package/dist/actions/create-an-order.d.cts +9 -0
- package/dist/actions/create-an-order.d.cts.map +1 -0
- package/dist/actions/create-an-order.d.mts +9 -0
- package/dist/actions/create-an-order.d.mts.map +1 -0
- package/dist/actions/create-an-order.mjs +31 -0
- package/dist/actions/create-an-order.mjs.map +1 -0
- package/dist/actions/create-contact.cjs +39 -0
- package/dist/actions/create-contact.cjs.map +1 -0
- package/dist/actions/create-contact.d.cts +9 -0
- package/dist/actions/create-contact.d.cts.map +1 -0
- package/dist/actions/create-contact.d.mts +9 -0
- package/dist/actions/create-contact.d.mts.map +1 -0
- package/dist/actions/create-contact.mjs +36 -0
- package/dist/actions/create-contact.mjs.map +1 -0
- package/dist/actions/create-customer.cjs +31 -0
- package/dist/actions/create-customer.cjs.map +1 -0
- package/dist/actions/create-customer.d.cts +9 -0
- package/dist/actions/create-customer.d.cts.map +1 -0
- package/dist/actions/create-customer.d.mts +9 -0
- package/dist/actions/create-customer.d.mts.map +1 -0
- package/dist/actions/create-customer.mjs +28 -0
- package/dist/actions/create-customer.mjs.map +1 -0
- package/dist/actions/create-invoice.cjs +167 -0
- package/dist/actions/create-invoice.cjs.map +1 -0
- package/dist/actions/create-invoice.d.cts +9 -0
- package/dist/actions/create-invoice.d.cts.map +1 -0
- package/dist/actions/create-invoice.d.mts +9 -0
- package/dist/actions/create-invoice.d.mts.map +1 -0
- package/dist/actions/create-invoice.mjs +166 -0
- package/dist/actions/create-invoice.mjs.map +1 -0
- package/dist/actions/create-item.cjs +37 -0
- package/dist/actions/create-item.cjs.map +1 -0
- package/dist/actions/create-item.d.cts +9 -0
- package/dist/actions/create-item.d.cts.map +1 -0
- package/dist/actions/create-item.d.mts +9 -0
- package/dist/actions/create-item.d.mts.map +1 -0
- package/dist/actions/create-item.mjs +34 -0
- package/dist/actions/create-item.mjs.map +1 -0
- package/dist/actions/create-payment-link.cjs +72 -0
- package/dist/actions/create-payment-link.cjs.map +1 -0
- package/dist/actions/create-payment-link.d.cts +9 -0
- package/dist/actions/create-payment-link.d.cts.map +1 -0
- package/dist/actions/create-payment-link.d.mts +9 -0
- package/dist/actions/create-payment-link.d.mts.map +1 -0
- package/dist/actions/create-payment-link.mjs +71 -0
- package/dist/actions/create-payment-link.mjs.map +1 -0
- package/dist/actions/delete-invoice.cjs +16 -0
- package/dist/actions/delete-invoice.cjs.map +1 -0
- package/dist/actions/delete-invoice.d.cts +9 -0
- package/dist/actions/delete-invoice.d.cts.map +1 -0
- package/dist/actions/delete-invoice.d.mts +9 -0
- package/dist/actions/delete-invoice.d.mts.map +1 -0
- package/dist/actions/delete-invoice.mjs +13 -0
- package/dist/actions/delete-invoice.mjs.map +1 -0
- package/dist/actions/delete-item.cjs +16 -0
- package/dist/actions/delete-item.cjs.map +1 -0
- package/dist/actions/delete-item.d.cts +9 -0
- package/dist/actions/delete-item.d.cts.map +1 -0
- package/dist/actions/delete-item.d.mts +9 -0
- package/dist/actions/delete-item.d.mts.map +1 -0
- package/dist/actions/delete-item.mjs +13 -0
- package/dist/actions/delete-item.mjs.map +1 -0
- package/dist/actions/fetch-a-payment-link.cjs +54 -0
- package/dist/actions/fetch-a-payment-link.cjs.map +1 -0
- package/dist/actions/fetch-a-payment-link.d.cts +9 -0
- package/dist/actions/fetch-a-payment-link.d.cts.map +1 -0
- package/dist/actions/fetch-a-payment-link.d.mts +9 -0
- package/dist/actions/fetch-a-payment-link.d.mts.map +1 -0
- package/dist/actions/fetch-a-payment-link.mjs +53 -0
- package/dist/actions/fetch-a-payment-link.mjs.map +1 -0
- package/dist/actions/fetch-all-customers.cjs +33 -0
- package/dist/actions/fetch-all-customers.cjs.map +1 -0
- package/dist/actions/fetch-all-customers.d.cts +9 -0
- package/dist/actions/fetch-all-customers.d.cts.map +1 -0
- package/dist/actions/fetch-all-customers.d.mts +9 -0
- package/dist/actions/fetch-all-customers.d.mts.map +1 -0
- package/dist/actions/fetch-all-customers.mjs +32 -0
- package/dist/actions/fetch-all-customers.mjs.map +1 -0
- package/dist/actions/fetch-all-invoices.cjs +117 -0
- package/dist/actions/fetch-all-invoices.cjs.map +1 -0
- package/dist/actions/fetch-all-invoices.d.cts +9 -0
- package/dist/actions/fetch-all-invoices.d.cts.map +1 -0
- package/dist/actions/fetch-all-invoices.d.mts +9 -0
- package/dist/actions/fetch-all-invoices.d.mts.map +1 -0
- package/dist/actions/fetch-all-invoices.mjs +116 -0
- package/dist/actions/fetch-all-invoices.mjs.map +1 -0
- package/dist/actions/fetch-all-payment-links.cjs +52 -0
- package/dist/actions/fetch-all-payment-links.cjs.map +1 -0
- package/dist/actions/fetch-all-payment-links.d.cts +9 -0
- package/dist/actions/fetch-all-payment-links.d.cts.map +1 -0
- package/dist/actions/fetch-all-payment-links.d.mts +9 -0
- package/dist/actions/fetch-all-payment-links.d.mts.map +1 -0
- package/dist/actions/fetch-all-payment-links.mjs +51 -0
- package/dist/actions/fetch-all-payment-links.mjs.map +1 -0
- package/dist/actions/fetch-all-payments.cjs +58 -0
- package/dist/actions/fetch-all-payments.cjs.map +1 -0
- package/dist/actions/fetch-all-payments.d.cts +9 -0
- package/dist/actions/fetch-all-payments.d.cts.map +1 -0
- package/dist/actions/fetch-all-payments.d.mts +9 -0
- package/dist/actions/fetch-all-payments.d.mts.map +1 -0
- package/dist/actions/fetch-all-payments.mjs +57 -0
- package/dist/actions/fetch-all-payments.mjs.map +1 -0
- package/dist/actions/fetch-all-refunds-for-a-payment.cjs +42 -0
- package/dist/actions/fetch-all-refunds-for-a-payment.cjs.map +1 -0
- package/dist/actions/fetch-all-refunds-for-a-payment.d.cts +9 -0
- package/dist/actions/fetch-all-refunds-for-a-payment.d.cts.map +1 -0
- package/dist/actions/fetch-all-refunds-for-a-payment.d.mts +9 -0
- package/dist/actions/fetch-all-refunds-for-a-payment.d.mts.map +1 -0
- package/dist/actions/fetch-all-refunds-for-a-payment.mjs +41 -0
- package/dist/actions/fetch-all-refunds-for-a-payment.mjs.map +1 -0
- package/dist/actions/fetch-invoice-by-id.cjs +103 -0
- package/dist/actions/fetch-invoice-by-id.cjs.map +1 -0
- package/dist/actions/fetch-invoice-by-id.d.cts +9 -0
- package/dist/actions/fetch-invoice-by-id.d.cts.map +1 -0
- package/dist/actions/fetch-invoice-by-id.d.mts +9 -0
- package/dist/actions/fetch-invoice-by-id.d.mts.map +1 -0
- package/dist/actions/fetch-invoice-by-id.mjs +102 -0
- package/dist/actions/fetch-invoice-by-id.mjs.map +1 -0
- package/dist/actions/fetch-orders-by-id.cjs +29 -0
- package/dist/actions/fetch-orders-by-id.cjs.map +1 -0
- package/dist/actions/fetch-orders-by-id.d.cts +9 -0
- package/dist/actions/fetch-orders-by-id.d.cts.map +1 -0
- package/dist/actions/fetch-orders-by-id.d.mts +9 -0
- package/dist/actions/fetch-orders-by-id.d.mts.map +1 -0
- package/dist/actions/fetch-orders-by-id.mjs +26 -0
- package/dist/actions/fetch-orders-by-id.mjs.map +1 -0
- package/dist/actions/fetch-orders.cjs +41 -0
- package/dist/actions/fetch-orders.cjs.map +1 -0
- package/dist/actions/fetch-orders.d.cts +9 -0
- package/dist/actions/fetch-orders.d.cts.map +1 -0
- package/dist/actions/fetch-orders.d.mts +9 -0
- package/dist/actions/fetch-orders.d.mts.map +1 -0
- package/dist/actions/fetch-orders.mjs +40 -0
- package/dist/actions/fetch-orders.mjs.map +1 -0
- package/dist/actions/fetch-payments-by-order.cjs +53 -0
- package/dist/actions/fetch-payments-by-order.cjs.map +1 -0
- package/dist/actions/fetch-payments-by-order.d.cts +9 -0
- package/dist/actions/fetch-payments-by-order.d.cts.map +1 -0
- package/dist/actions/fetch-payments-by-order.d.mts +9 -0
- package/dist/actions/fetch-payments-by-order.d.mts.map +1 -0
- package/dist/actions/fetch-payments-by-order.mjs +52 -0
- package/dist/actions/fetch-payments-by-order.mjs.map +1 -0
- package/dist/actions/fetch-refunds.cjs +41 -0
- package/dist/actions/fetch-refunds.cjs.map +1 -0
- package/dist/actions/fetch-refunds.d.cts +9 -0
- package/dist/actions/fetch-refunds.d.cts.map +1 -0
- package/dist/actions/fetch-refunds.d.mts +9 -0
- package/dist/actions/fetch-refunds.d.mts.map +1 -0
- package/dist/actions/fetch-refunds.mjs +40 -0
- package/dist/actions/fetch-refunds.mjs.map +1 -0
- package/dist/actions/get-contact.cjs +28 -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 +25 -0
- package/dist/actions/get-contact.mjs.map +1 -0
- package/dist/actions/get-customer.cjs +25 -0
- package/dist/actions/get-customer.cjs.map +1 -0
- package/dist/actions/get-customer.d.cts +9 -0
- package/dist/actions/get-customer.d.cts.map +1 -0
- package/dist/actions/get-customer.d.mts +9 -0
- package/dist/actions/get-customer.d.mts.map +1 -0
- package/dist/actions/get-customer.mjs +22 -0
- package/dist/actions/get-customer.mjs.map +1 -0
- package/dist/actions/get-fund-account.cjs +44 -0
- package/dist/actions/get-fund-account.cjs.map +1 -0
- package/dist/actions/get-fund-account.d.cts +9 -0
- package/dist/actions/get-fund-account.d.cts.map +1 -0
- package/dist/actions/get-fund-account.d.mts +9 -0
- package/dist/actions/get-fund-account.d.mts.map +1 -0
- package/dist/actions/get-fund-account.mjs +43 -0
- package/dist/actions/get-fund-account.mjs.map +1 -0
- package/dist/actions/get-item.cjs +33 -0
- package/dist/actions/get-item.cjs.map +1 -0
- package/dist/actions/get-item.d.cts +9 -0
- package/dist/actions/get-item.d.cts.map +1 -0
- package/dist/actions/get-item.d.mts +9 -0
- package/dist/actions/get-item.d.mts.map +1 -0
- package/dist/actions/get-item.mjs +30 -0
- package/dist/actions/get-item.mjs.map +1 -0
- package/dist/actions/get-settlement-recon.cjs +36 -0
- package/dist/actions/get-settlement-recon.cjs.map +1 -0
- package/dist/actions/get-settlement-recon.d.cts +9 -0
- package/dist/actions/get-settlement-recon.d.cts.map +1 -0
- package/dist/actions/get-settlement-recon.d.mts +9 -0
- package/dist/actions/get-settlement-recon.d.mts.map +1 -0
- package/dist/actions/get-settlement-recon.mjs +35 -0
- package/dist/actions/get-settlement-recon.mjs.map +1 -0
- package/dist/actions/get-transfer-reversals.cjs +40 -0
- package/dist/actions/get-transfer-reversals.cjs.map +1 -0
- package/dist/actions/get-transfer-reversals.d.cts +9 -0
- package/dist/actions/get-transfer-reversals.d.cts.map +1 -0
- package/dist/actions/get-transfer-reversals.d.mts +9 -0
- package/dist/actions/get-transfer-reversals.d.mts.map +1 -0
- package/dist/actions/get-transfer-reversals.mjs +39 -0
- package/dist/actions/get-transfer-reversals.mjs.map +1 -0
- package/dist/actions/index.cjs +85 -0
- package/dist/actions/index.d.cts +43 -0
- package/dist/actions/index.d.mts +43 -0
- package/dist/actions/index.mjs +43 -0
- package/dist/actions/issue-an-invoice.cjs +103 -0
- package/dist/actions/issue-an-invoice.cjs.map +1 -0
- package/dist/actions/issue-an-invoice.d.cts +9 -0
- package/dist/actions/issue-an-invoice.d.cts.map +1 -0
- package/dist/actions/issue-an-invoice.d.mts +9 -0
- package/dist/actions/issue-an-invoice.d.mts.map +1 -0
- package/dist/actions/issue-an-invoice.mjs +102 -0
- package/dist/actions/issue-an-invoice.mjs.map +1 -0
- package/dist/actions/list-customer-tokens.cjs +51 -0
- package/dist/actions/list-customer-tokens.cjs.map +1 -0
- package/dist/actions/list-customer-tokens.d.cts +9 -0
- package/dist/actions/list-customer-tokens.d.cts.map +1 -0
- package/dist/actions/list-customer-tokens.d.mts +9 -0
- package/dist/actions/list-customer-tokens.d.mts.map +1 -0
- package/dist/actions/list-customer-tokens.mjs +50 -0
- package/dist/actions/list-customer-tokens.mjs.map +1 -0
- package/dist/actions/list-disputes.cjs +56 -0
- package/dist/actions/list-disputes.cjs.map +1 -0
- package/dist/actions/list-disputes.d.cts +9 -0
- package/dist/actions/list-disputes.d.cts.map +1 -0
- package/dist/actions/list-disputes.d.mts +9 -0
- package/dist/actions/list-disputes.d.mts.map +1 -0
- package/dist/actions/list-disputes.mjs +55 -0
- package/dist/actions/list-disputes.mjs.map +1 -0
- package/dist/actions/list-fund-accounts.cjs +50 -0
- package/dist/actions/list-fund-accounts.cjs.map +1 -0
- package/dist/actions/list-fund-accounts.d.cts +9 -0
- package/dist/actions/list-fund-accounts.d.cts.map +1 -0
- package/dist/actions/list-fund-accounts.d.mts +9 -0
- package/dist/actions/list-fund-accounts.d.mts.map +1 -0
- package/dist/actions/list-fund-accounts.mjs +49 -0
- package/dist/actions/list-fund-accounts.mjs.map +1 -0
- package/dist/actions/list-fund-validations.cjs +57 -0
- package/dist/actions/list-fund-validations.cjs.map +1 -0
- package/dist/actions/list-fund-validations.d.cts +9 -0
- package/dist/actions/list-fund-validations.d.cts.map +1 -0
- package/dist/actions/list-fund-validations.d.mts +9 -0
- package/dist/actions/list-fund-validations.d.mts.map +1 -0
- package/dist/actions/list-fund-validations.mjs +56 -0
- package/dist/actions/list-fund-validations.mjs.map +1 -0
- package/dist/actions/list-items.cjs +44 -0
- package/dist/actions/list-items.cjs.map +1 -0
- package/dist/actions/list-items.d.cts +9 -0
- package/dist/actions/list-items.d.cts.map +1 -0
- package/dist/actions/list-items.d.mts +9 -0
- package/dist/actions/list-items.d.mts.map +1 -0
- package/dist/actions/list-items.mjs +43 -0
- package/dist/actions/list-items.mjs.map +1 -0
- package/dist/actions/list-payment-downtimes.cjs +16 -0
- package/dist/actions/list-payment-downtimes.cjs.map +1 -0
- package/dist/actions/list-payment-downtimes.d.cts +9 -0
- package/dist/actions/list-payment-downtimes.d.cts.map +1 -0
- package/dist/actions/list-payment-downtimes.d.mts +9 -0
- package/dist/actions/list-payment-downtimes.d.mts.map +1 -0
- package/dist/actions/list-payment-downtimes.mjs +13 -0
- package/dist/actions/list-payment-downtimes.mjs.map +1 -0
- package/dist/actions/notify-payment-link.cjs +19 -0
- package/dist/actions/notify-payment-link.cjs.map +1 -0
- package/dist/actions/notify-payment-link.d.cts +9 -0
- package/dist/actions/notify-payment-link.d.cts.map +1 -0
- package/dist/actions/notify-payment-link.d.mts +9 -0
- package/dist/actions/notify-payment-link.d.mts.map +1 -0
- package/dist/actions/notify-payment-link.mjs +16 -0
- package/dist/actions/notify-payment-link.mjs.map +1 -0
- package/dist/actions/send-or-resend-notification.cjs +19 -0
- package/dist/actions/send-or-resend-notification.cjs.map +1 -0
- package/dist/actions/send-or-resend-notification.d.cts +9 -0
- package/dist/actions/send-or-resend-notification.d.cts.map +1 -0
- package/dist/actions/send-or-resend-notification.d.mts +9 -0
- package/dist/actions/send-or-resend-notification.d.mts.map +1 -0
- package/dist/actions/send-or-resend-notification.mjs +16 -0
- package/dist/actions/send-or-resend-notification.mjs.map +1 -0
- package/dist/actions/update-contact.cjs +40 -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 +37 -0
- package/dist/actions/update-contact.mjs.map +1 -0
- package/dist/actions/update-customer.cjs +30 -0
- package/dist/actions/update-customer.cjs.map +1 -0
- package/dist/actions/update-customer.d.cts +9 -0
- package/dist/actions/update-customer.d.cts.map +1 -0
- package/dist/actions/update-customer.d.mts +9 -0
- package/dist/actions/update-customer.d.mts.map +1 -0
- package/dist/actions/update-customer.mjs +27 -0
- package/dist/actions/update-customer.mjs.map +1 -0
- package/dist/actions/update-invoice.cjs +170 -0
- package/dist/actions/update-invoice.cjs.map +1 -0
- package/dist/actions/update-invoice.d.cts +9 -0
- package/dist/actions/update-invoice.d.cts.map +1 -0
- package/dist/actions/update-invoice.d.mts +9 -0
- package/dist/actions/update-invoice.d.mts.map +1 -0
- package/dist/actions/update-invoice.mjs +169 -0
- package/dist/actions/update-invoice.mjs.map +1 -0
- package/dist/actions/update-item.cjs +38 -0
- package/dist/actions/update-item.cjs.map +1 -0
- package/dist/actions/update-item.d.cts +9 -0
- package/dist/actions/update-item.d.cts.map +1 -0
- package/dist/actions/update-item.d.mts +9 -0
- package/dist/actions/update-item.d.mts.map +1 -0
- package/dist/actions/update-item.mjs +35 -0
- package/dist/actions/update-item.mjs.map +1 -0
- package/dist/actions/update-order.cjs +32 -0
- package/dist/actions/update-order.cjs.map +1 -0
- package/dist/actions/update-order.d.cts +9 -0
- package/dist/actions/update-order.d.cts.map +1 -0
- package/dist/actions/update-order.d.mts +9 -0
- package/dist/actions/update-order.d.mts.map +1 -0
- package/dist/actions/update-order.mjs +29 -0
- package/dist/actions/update-order.mjs.map +1 -0
- package/dist/actions/update-payment-link.cjs +60 -0
- package/dist/actions/update-payment-link.cjs.map +1 -0
- package/dist/actions/update-payment-link.d.cts +9 -0
- package/dist/actions/update-payment-link.d.cts.map +1 -0
- package/dist/actions/update-payment-link.d.mts +9 -0
- package/dist/actions/update-payment-link.d.mts.map +1 -0
- package/dist/actions/update-payment-link.mjs +59 -0
- package/dist/actions/update-payment-link.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 +90 -0
- package/dist/index.d.cts +45 -0
- package/dist/index.d.mts +45 -0
- package/dist/index.mjs +46 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-contact.d.cts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAQsB;AAAA,cACpD,2BAAA,EAA6B,CAAA,CAAE,UAYmB;AAAA,cAElD,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 RazorpayUpdateContactInput: z.ZodTypeAny;
|
|
5
|
+
declare const RazorpayUpdateContactOutput: z.ZodTypeAny;
|
|
6
|
+
declare const razorpayUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { razorpayUpdateContact };
|
|
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,UAQsB;AAAA,cACpD,2BAAA,EAA6B,CAAA,CAAE,UAYmB;AAAA,cAElD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const razorpayUpdateContact = action("RAZORPAY_UPDATE_CONTACT", {
|
|
4
|
+
slug: "razorpay-update-contact",
|
|
5
|
+
name: "Update Contact",
|
|
6
|
+
description: "Tool to update an existing contact's details in RazorpayX. Use when you need to modify contact information such as name, email, phone number, type, reference ID, or notes.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
name: z.string().describe("Updated name of the contact. Provide this to change the contact's name.").optional(),
|
|
9
|
+
type: z.enum([
|
|
10
|
+
"employee",
|
|
11
|
+
"vendor",
|
|
12
|
+
"customer"
|
|
13
|
+
]).describe("Type of contact in RazorpayX.").optional(),
|
|
14
|
+
email: z.string().describe("Updated email address of the contact. Provide this to change the contact's email.").optional(),
|
|
15
|
+
notes: z.object({}).describe("Updated key-value pairs for storing additional information about the contact. Provide this to change or add notes.").optional(),
|
|
16
|
+
contact: z.string().describe("Updated phone number of the contact. Provide this to change the contact's phone number.").optional(),
|
|
17
|
+
contact_id: z.string().describe("The unique identifier of the contact to update. This is the contact ID returned from Razorpay (e.g., 'cont_SMoUIhAssfaDoy')."),
|
|
18
|
+
reference_id: z.string().describe("Updated reference identifier for the contact in your system. Provide this to change the reference ID.").optional()
|
|
19
|
+
}).describe("Request model for updating a contact in RazorpayX."),
|
|
20
|
+
output: z.object({
|
|
21
|
+
id: z.string().describe("Unique identifier for the contact"),
|
|
22
|
+
name: z.string().describe("Name of the contact"),
|
|
23
|
+
type: z.string().describe("Type of contact"),
|
|
24
|
+
email: z.string().describe("Email address of the contact").nullable().optional(),
|
|
25
|
+
notes: z.object({}).describe("Additional information about the contact").nullable().optional(),
|
|
26
|
+
active: z.boolean().describe("Whether the contact is active"),
|
|
27
|
+
entity: z.string().describe("Entity type"),
|
|
28
|
+
contact: z.string().describe("Phone number of the contact").nullable().optional(),
|
|
29
|
+
batch_id: z.string().describe("Batch identifier if the contact was created in a batch").nullable().optional(),
|
|
30
|
+
created_at: z.number().int().describe("Unix timestamp of contact creation"),
|
|
31
|
+
reference_id: z.string().describe("Reference identifier for the contact").nullable().optional()
|
|
32
|
+
}).describe("Response model for an updated RazorpayX contact.")
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { razorpayUpdateContact };
|
|
36
|
+
|
|
37
|
+
//# 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 RazorpayUpdateContactInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Updated name of the contact. Provide this to change the contact's name.\").optional(),\n type: z.enum([\"employee\", \"vendor\", \"customer\"]).describe(\"Type of contact in RazorpayX.\").optional(),\n email: z.string().describe(\"Updated email address of the contact. Provide this to change the contact's email.\").optional(),\n notes: z.object({}).describe(\"Updated key-value pairs for storing additional information about the contact. Provide this to change or add notes.\").optional(),\n contact: z.string().describe(\"Updated phone number of the contact. Provide this to change the contact's phone number.\").optional(),\n contact_id: z.string().describe(\"The unique identifier of the contact to update. This is the contact ID returned from Razorpay (e.g., 'cont_SMoUIhAssfaDoy').\"),\n reference_id: z.string().describe(\"Updated reference identifier for the contact in your system. Provide this to change the reference ID.\").optional(),\n}).describe(\"Request model for updating a contact in RazorpayX.\");\nexport const RazorpayUpdateContactOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the contact\"),\n name: z.string().describe(\"Name of the contact\"),\n type: z.string().describe(\"Type of contact\"),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n notes: z.object({}).describe(\"Additional information about the contact\").nullable().optional(),\n active: z.boolean().describe(\"Whether the contact is active\"),\n entity: z.string().describe(\"Entity type\"),\n contact: z.string().describe(\"Phone number of the contact\").nullable().optional(),\n batch_id: z.string().describe(\"Batch identifier if the contact was created in a batch\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp of contact creation\"),\n reference_id: z.string().describe(\"Reference identifier for the contact\").nullable().optional(),\n}).describe(\"Response model for an updated RazorpayX contact.\");\n\nexport const razorpayUpdateContact = action(\"RAZORPAY_UPDATE_CONTACT\", {\n slug: \"razorpay-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact's details in RazorpayX. Use when you need to modify contact information such as name, email, phone number, type, reference ID, or notes.\",\n input: RazorpayUpdateContactInput,\n output: RazorpayUpdateContactOutput,\n});\n"],"mappings":";;AA2BA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BsD,EAAE,OAAO;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC9G,MAAM,EAAE,KAAK;GAAC;GAAY;GAAU;EAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACzH,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oHAAoH,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UpdateCustomerInput = zod.z.object({
|
|
5
|
+
name: zod.z.string().describe("The updated name of the customer. Provide this to change the customer's name.").optional(),
|
|
6
|
+
email: zod.z.string().describe("The updated email address of the customer. Provide this to change the customer's email.").optional(),
|
|
7
|
+
contact: zod.z.string().describe("The updated contact number of the customer. Provide this to change the customer's phone number. Should be a valid phone number string.").optional(),
|
|
8
|
+
customer_id: zod.z.string().describe("The unique identifier of the customer to update. This is the customer ID returned from Razorpay (e.g., 'cust_SMoQL8RbRrw4w5').")
|
|
9
|
+
}).describe("Request parameters to update a customer in Razorpay.");
|
|
10
|
+
const RazorpayUpdateCustomerOutput = zod.z.object({
|
|
11
|
+
id: zod.z.string().describe("The unique identifier of the customer in Razorpay"),
|
|
12
|
+
name: zod.z.string().describe("The name of the customer"),
|
|
13
|
+
email: zod.z.string().describe("The email address of the customer"),
|
|
14
|
+
gstin: zod.z.string().describe("The GST identification number of the customer, if available").nullable().optional(),
|
|
15
|
+
notes: zod.z.union([zod.z.object({}), zod.z.array(zod.z.unknown())]).nullable().optional(),
|
|
16
|
+
entity: zod.z.string().describe("The entity type, always 'customer' for customer objects"),
|
|
17
|
+
contact: zod.z.string().describe("The contact number of the customer"),
|
|
18
|
+
created_at: zod.z.number().int().describe("Unix timestamp when the customer was created")
|
|
19
|
+
}).describe("Response containing the updated customer details from Razorpay.");
|
|
20
|
+
const razorpayUpdateCustomer = require_action.action("RAZORPAY_UPDATE_CUSTOMER", {
|
|
21
|
+
slug: "razorpay-update-customer",
|
|
22
|
+
name: "Update Customer",
|
|
23
|
+
description: "Tool to update an existing customer's details in Razorpay. Use when you need to modify customer information such as name, email, or contact number.",
|
|
24
|
+
input: RazorpayUpdateCustomerInput,
|
|
25
|
+
output: RazorpayUpdateCustomerOutput
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
exports.razorpayUpdateCustomer = razorpayUpdateCustomer;
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=update-customer.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-customer.cjs","names":["z","action"],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateCustomerInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The updated name of the customer. Provide this to change the customer's name.\").optional(),\n email: z.string().describe(\"The updated email address of the customer. Provide this to change the customer's email.\").optional(),\n contact: z.string().describe(\"The updated contact number of the customer. Provide this to change the customer's phone number. Should be a valid phone number string.\").optional(),\n customer_id: z.string().describe(\"The unique identifier of the customer to update. This is the customer ID returned from Razorpay (e.g., 'cust_SMoQL8RbRrw4w5').\"),\n}).describe(\"Request parameters to update a customer in Razorpay.\");\nexport const RazorpayUpdateCustomerOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the customer in Razorpay\"),\n name: z.string().describe(\"The name of the customer\"),\n email: z.string().describe(\"The email address of the customer\"),\n gstin: z.string().describe(\"The GST identification number of the customer, if available\").nullable().optional(),\n notes: z.union([z.object({}), z.array(z.unknown())]).nullable().optional(),\n entity: z.string().describe(\"The entity type, always 'customer' for customer objects\"),\n contact: z.string().describe(\"The contact number of the customer\"),\n created_at: z.number().int().describe(\"Unix timestamp when the customer was created\"),\n}).describe(\"Response containing the updated customer details from Razorpay.\");\n\nexport const razorpayUpdateCustomer = action(\"RAZORPAY_UPDATE_CUSTOMER\", {\n slug: \"razorpay-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer's details in Razorpay. Use when you need to modify customer information such as name, email, or contact number.\",\n input: RazorpayUpdateCustomerInput,\n output: RazorpayUpdateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC/H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAChL,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;AACnK,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;AACtF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAE7E,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,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-customer.d.ts
|
|
4
|
+
declare const RazorpayUpdateCustomerInput: z.ZodTypeAny;
|
|
5
|
+
declare const RazorpayUpdateCustomerOutput: z.ZodTypeAny;
|
|
6
|
+
declare const razorpayUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { razorpayUpdateCustomer };
|
|
9
|
+
//# sourceMappingURL=update-customer.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-customer.d.cts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAKuB;AAAA,cACtD,4BAAA,EAA8B,CAAA,CAAE,UASiC;AAAA,cAEjE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-customer.d.ts
|
|
4
|
+
declare const RazorpayUpdateCustomerInput: z.ZodTypeAny;
|
|
5
|
+
declare const RazorpayUpdateCustomerOutput: z.ZodTypeAny;
|
|
6
|
+
declare const razorpayUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { razorpayUpdateCustomer };
|
|
9
|
+
//# sourceMappingURL=update-customer.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-customer.d.mts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAKuB;AAAA,cACtD,4BAAA,EAA8B,CAAA,CAAE,UASiC;AAAA,cAEjE,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const razorpayUpdateCustomer = action("RAZORPAY_UPDATE_CUSTOMER", {
|
|
4
|
+
slug: "razorpay-update-customer",
|
|
5
|
+
name: "Update Customer",
|
|
6
|
+
description: "Tool to update an existing customer's details in Razorpay. Use when you need to modify customer information such as name, email, or contact number.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
name: z.string().describe("The updated name of the customer. Provide this to change the customer's name.").optional(),
|
|
9
|
+
email: z.string().describe("The updated email address of the customer. Provide this to change the customer's email.").optional(),
|
|
10
|
+
contact: z.string().describe("The updated contact number of the customer. Provide this to change the customer's phone number. Should be a valid phone number string.").optional(),
|
|
11
|
+
customer_id: z.string().describe("The unique identifier of the customer to update. This is the customer ID returned from Razorpay (e.g., 'cust_SMoQL8RbRrw4w5').")
|
|
12
|
+
}).describe("Request parameters to update a customer in Razorpay."),
|
|
13
|
+
output: z.object({
|
|
14
|
+
id: z.string().describe("The unique identifier of the customer in Razorpay"),
|
|
15
|
+
name: z.string().describe("The name of the customer"),
|
|
16
|
+
email: z.string().describe("The email address of the customer"),
|
|
17
|
+
gstin: z.string().describe("The GST identification number of the customer, if available").nullable().optional(),
|
|
18
|
+
notes: z.union([z.object({}), z.array(z.unknown())]).nullable().optional(),
|
|
19
|
+
entity: z.string().describe("The entity type, always 'customer' for customer objects"),
|
|
20
|
+
contact: z.string().describe("The contact number of the customer"),
|
|
21
|
+
created_at: z.number().int().describe("Unix timestamp when the customer was created")
|
|
22
|
+
}).describe("Response containing the updated customer details from Razorpay.")
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { razorpayUpdateCustomer };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=update-customer.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-customer.mjs","names":[],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateCustomerInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The updated name of the customer. Provide this to change the customer's name.\").optional(),\n email: z.string().describe(\"The updated email address of the customer. Provide this to change the customer's email.\").optional(),\n contact: z.string().describe(\"The updated contact number of the customer. Provide this to change the customer's phone number. Should be a valid phone number string.\").optional(),\n customer_id: z.string().describe(\"The unique identifier of the customer to update. This is the customer ID returned from Razorpay (e.g., 'cust_SMoQL8RbRrw4w5').\"),\n}).describe(\"Request parameters to update a customer in Razorpay.\");\nexport const RazorpayUpdateCustomerOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the customer in Razorpay\"),\n name: z.string().describe(\"The name of the customer\"),\n email: z.string().describe(\"The email address of the customer\"),\n gstin: z.string().describe(\"The GST identification number of the customer, if available\").nullable().optional(),\n notes: z.union([z.object({}), z.array(z.unknown())]).nullable().optional(),\n entity: z.string().describe(\"The entity type, always 'customer' for customer objects\"),\n contact: z.string().describe(\"The contact number of the customer\"),\n created_at: z.number().int().describe(\"Unix timestamp when the customer was created\"),\n}).describe(\"Response containing the updated customer details from Razorpay.\");\n\nexport const razorpayUpdateCustomer = action(\"RAZORPAY_UPDATE_CUSTOMER\", {\n slug: \"razorpay-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer's details in Razorpay. Use when you need to modify customer information such as name, email, or contact number.\",\n input: RazorpayUpdateCustomerInput,\n output: RazorpayUpdateCustomerOutput,\n});\n"],"mappings":";;AAqBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACpH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EAC/H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EAChL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;CACnK,CAAC,CAAC,CAAC,SAAS,sDAgBH;CACP,QAhBwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EACjE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CACtF,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-invoice.ts
|
|
4
|
+
const RazorpayUpdateInvoiceInput = zod.z.object({
|
|
5
|
+
date: zod.z.number().int().describe("Invoice date as Unix timestamp").optional(),
|
|
6
|
+
type: zod.z.string().describe("Type of invoice: 'invoice' or 'link'").optional(),
|
|
7
|
+
notes: zod.z.object({}).describe("Key-value pairs for additional information").optional(),
|
|
8
|
+
terms: zod.z.string().describe("Terms and conditions text").optional(),
|
|
9
|
+
amount: zod.z.number().int().describe("Total invoice amount in smallest currency unit. If not provided, calculated from line_items").optional(),
|
|
10
|
+
tax_id: zod.z.string().describe("Tax ID for the entire invoice").optional(),
|
|
11
|
+
comment: zod.z.string().describe("Comments on the invoice").optional(),
|
|
12
|
+
receipt: zod.z.string().describe("Receipt/reference number (max 40 characters)").optional(),
|
|
13
|
+
currency: zod.z.string().describe("Three-letter ISO currency code").optional(),
|
|
14
|
+
customer: zod.z.object({
|
|
15
|
+
name: zod.z.string().describe("Name of the customer").optional(),
|
|
16
|
+
email: zod.z.string().describe("Email address of the customer").optional(),
|
|
17
|
+
gstin: zod.z.string().describe("GST identification number").optional(),
|
|
18
|
+
notes: zod.z.object({}).describe("Key-value pairs for additional customer metadata").optional(),
|
|
19
|
+
contact: zod.z.string().describe("Phone number of the customer (10 digits for India)").optional(),
|
|
20
|
+
billing_address: zod.z.object({
|
|
21
|
+
city: zod.z.string().describe("City").optional(),
|
|
22
|
+
line1: zod.z.string().describe("Address line 1").optional(),
|
|
23
|
+
line2: zod.z.string().describe("Address line 2").optional(),
|
|
24
|
+
state: zod.z.string().describe("State or province").optional(),
|
|
25
|
+
country: zod.z.string().describe("Country name").optional(),
|
|
26
|
+
zipcode: zod.z.string().describe("Postal or ZIP code").optional()
|
|
27
|
+
}).describe("Address details for billing or shipping.").optional(),
|
|
28
|
+
shipping_address: zod.z.object({
|
|
29
|
+
city: zod.z.string().describe("City").optional(),
|
|
30
|
+
line1: zod.z.string().describe("Address line 1").optional(),
|
|
31
|
+
line2: zod.z.string().describe("Address line 2").optional(),
|
|
32
|
+
state: zod.z.string().describe("State or province").optional(),
|
|
33
|
+
country: zod.z.string().describe("Country name").optional(),
|
|
34
|
+
zipcode: zod.z.string().describe("Postal or ZIP code").optional()
|
|
35
|
+
}).describe("Address details for billing or shipping.").optional()
|
|
36
|
+
}).describe("Customer details for invoice recipient.").optional(),
|
|
37
|
+
order_id: zod.z.string().describe("Associated order ID").optional(),
|
|
38
|
+
tax_rate: zod.z.number().int().describe("Tax rate in basis points for the entire invoice (e.g., 1800 for 18%)").optional(),
|
|
39
|
+
expire_by: zod.z.number().int().describe("Unix timestamp when invoice should expire").optional(),
|
|
40
|
+
issued_at: zod.z.number().int().describe("Unix timestamp for custom invoice issue date").optional(),
|
|
41
|
+
short_url: zod.z.boolean().describe("Generate and return short URL").optional(),
|
|
42
|
+
view_less: zod.z.boolean().describe("Show compact view").optional(),
|
|
43
|
+
invoice_id: zod.z.string().describe("The unique identifier of the invoice to update. Only draft invoices can be updated."),
|
|
44
|
+
line_items: zod.z.array(zod.z.object({
|
|
45
|
+
id: zod.z.string().describe("Line item ID (required for updating existing line items)").optional(),
|
|
46
|
+
name: zod.z.string().describe("Name of the item").optional(),
|
|
47
|
+
unit: zod.z.string().describe("Unit of measurement").optional(),
|
|
48
|
+
amount: zod.z.number().int().describe("Amount in smallest currency unit (paise for INR). For example, 100000 paise = ₹1000").optional(),
|
|
49
|
+
tax_id: zod.z.string().describe("Tax identifier for the item").optional(),
|
|
50
|
+
item_id: zod.z.string().describe("Reference to existing item entity ID").optional(),
|
|
51
|
+
currency: zod.z.string().describe("Three-letter ISO currency code").optional(),
|
|
52
|
+
hsn_code: zod.z.string().describe("HSN (Harmonized System of Nomenclature) code").optional(),
|
|
53
|
+
quantity: zod.z.number().int().describe("Quantity of the item").optional(),
|
|
54
|
+
sac_code: zod.z.string().describe("SAC (Services Accounting Code)").optional(),
|
|
55
|
+
tax_rate: zod.z.number().int().describe("Tax rate in basis points (e.g., 1800 for 18%). 1 basis point = 0.01%").optional(),
|
|
56
|
+
description: zod.z.string().describe("Description of the item").optional(),
|
|
57
|
+
unit_amount: zod.z.number().int().describe("Unit price in smallest currency unit").optional(),
|
|
58
|
+
tax_inclusive: zod.z.boolean().describe("Whether amount includes tax").optional()
|
|
59
|
+
}).describe("Individual line item for invoice update.")).describe("Array of line items to update or add. Include 'id' field to update existing items").optional(),
|
|
60
|
+
payment_id: zod.z.string().describe("Pre-associate a payment ID").optional(),
|
|
61
|
+
sms_notify: zod.z.number().int().describe("Send SMS notification (1=yes, 0=no)").optional(),
|
|
62
|
+
billing_end: zod.z.number().int().describe("Billing period end as Unix timestamp").optional(),
|
|
63
|
+
customer_id: zod.z.string().describe("Reference to existing customer ID").optional(),
|
|
64
|
+
description: zod.z.string().describe("Brief description of the invoice").optional(),
|
|
65
|
+
email_notify: zod.z.number().int().describe("Send email notification (1=yes, 0=no)").optional(),
|
|
66
|
+
billing_start: zod.z.number().int().describe("Billing period start as Unix timestamp").optional(),
|
|
67
|
+
invoice_number: zod.z.string().describe("Custom invoice number").optional(),
|
|
68
|
+
idempotency_key: zod.z.string().describe("Unique key for idempotent requests to prevent duplicates").optional(),
|
|
69
|
+
partial_payment: zod.z.boolean().describe("Whether partial payments are allowed").optional(),
|
|
70
|
+
group_taxes_discounts: zod.z.boolean().describe("Group taxes and discounts together").optional()
|
|
71
|
+
}).describe("Request model for updating a draft invoice. All parameters except invoice_id are optional - only provide the fields you want to update. Note: Only invoices in draft state can be updated.");
|
|
72
|
+
const RazorpayUpdateInvoice_TaxDetailSchema = zod.z.object({
|
|
73
|
+
name: zod.z.string().describe("Tax name").nullable().optional(),
|
|
74
|
+
rate: zod.z.number().int().describe("Tax rate in basis points").nullable().optional(),
|
|
75
|
+
amount: zod.z.number().int().describe("Tax amount in currency subunit").nullable().optional(),
|
|
76
|
+
tax_id: zod.z.string().describe("Tax ID").nullable().optional()
|
|
77
|
+
}).describe("Tax detail for a line item.");
|
|
78
|
+
const RazorpayUpdateInvoice_LineItemSchema = zod.z.object({
|
|
79
|
+
id: zod.z.string().describe("Line item ID").nullable().optional(),
|
|
80
|
+
name: zod.z.string().describe("Item name").nullable().optional(),
|
|
81
|
+
type: zod.z.string().describe("Line item type").nullable().optional(),
|
|
82
|
+
unit: zod.z.string().describe("Unit of measurement").nullable().optional(),
|
|
83
|
+
taxes: zod.z.array(RazorpayUpdateInvoice_TaxDetailSchema).describe("List of tax details").nullable().optional(),
|
|
84
|
+
amount: zod.z.number().int().describe("Item amount in currency subunit").nullable().optional(),
|
|
85
|
+
ref_id: zod.z.string().describe("Reference ID for the item").nullable().optional(),
|
|
86
|
+
item_id: zod.z.string().describe("Reference to item entity").nullable().optional(),
|
|
87
|
+
currency: zod.z.string().describe("Currency code").nullable().optional(),
|
|
88
|
+
hsn_code: zod.z.string().describe("HSN code for the item").nullable().optional(),
|
|
89
|
+
quantity: zod.z.number().int().describe("Quantity of items").nullable().optional(),
|
|
90
|
+
ref_type: zod.z.string().describe("Reference type").nullable().optional(),
|
|
91
|
+
sac_code: zod.z.string().describe("SAC code for the item").nullable().optional(),
|
|
92
|
+
tax_rate: zod.z.number().int().describe("Tax rate in basis points").nullable().optional(),
|
|
93
|
+
net_amount: zod.z.number().int().describe("Net amount after tax").nullable().optional(),
|
|
94
|
+
tax_amount: zod.z.number().int().describe("Tax amount").nullable().optional(),
|
|
95
|
+
description: zod.z.string().describe("Item description").nullable().optional(),
|
|
96
|
+
unit_amount: zod.z.number().int().describe("Unit price in currency subunit").nullable().optional(),
|
|
97
|
+
gross_amount: zod.z.number().int().describe("Gross amount before tax").nullable().optional(),
|
|
98
|
+
tax_inclusive: zod.z.boolean().describe("Whether tax is included in the amount").nullable().optional(),
|
|
99
|
+
taxable_amount: zod.z.number().int().describe("Taxable amount").nullable().optional()
|
|
100
|
+
}).describe("Individual line item in an invoice.");
|
|
101
|
+
const RazorpayUpdateInvoice_AddressSchema = zod.z.object({
|
|
102
|
+
city: zod.z.string().describe("City").nullable().optional(),
|
|
103
|
+
line1: zod.z.string().describe("Address line 1").nullable().optional(),
|
|
104
|
+
line2: zod.z.string().describe("Address line 2").nullable().optional(),
|
|
105
|
+
state: zod.z.string().describe("State").nullable().optional(),
|
|
106
|
+
country: zod.z.string().describe("Country").nullable().optional(),
|
|
107
|
+
zipcode: zod.z.string().describe("Postal/ZIP code").nullable().optional()
|
|
108
|
+
}).describe("Address details for billing or shipping.");
|
|
109
|
+
const RazorpayUpdateInvoice_CustomerDetailsSchema = zod.z.object({
|
|
110
|
+
id: zod.z.string().describe("Customer ID").nullable().optional(),
|
|
111
|
+
name: zod.z.string().describe("Customer name").nullable().optional(),
|
|
112
|
+
email: zod.z.string().describe("Customer email address").nullable().optional(),
|
|
113
|
+
gstin: zod.z.string().describe("Customer GSTIN").nullable().optional(),
|
|
114
|
+
contact: zod.z.string().describe("Customer contact number").nullable().optional(),
|
|
115
|
+
billing_address: RazorpayUpdateInvoice_AddressSchema.nullable().optional(),
|
|
116
|
+
shipping_address: RazorpayUpdateInvoice_AddressSchema.nullable().optional()
|
|
117
|
+
}).describe("Customer details associated with the invoice.");
|
|
118
|
+
const RazorpayUpdateInvoiceOutput = zod.z.object({
|
|
119
|
+
id: zod.z.string().describe("Unique invoice identifier"),
|
|
120
|
+
date: zod.z.number().int().describe("Invoice date as Unix timestamp").nullable().optional(),
|
|
121
|
+
type: zod.z.string().describe("Invoice type").nullable().optional(),
|
|
122
|
+
notes: zod.z.union([zod.z.object({}), zod.z.array(zod.z.unknown())]).nullable().optional(),
|
|
123
|
+
terms: zod.z.string().describe("Terms and conditions").nullable().optional(),
|
|
124
|
+
amount: zod.z.number().int().describe("Total invoice amount in currency subunit").nullable().optional(),
|
|
125
|
+
entity: zod.z.string().describe("Entity type, always 'invoice'"),
|
|
126
|
+
status: zod.z.string().describe("Invoice status (draft, issued, paid, etc.)"),
|
|
127
|
+
comment: zod.z.string().describe("Comment on the invoice").nullable().optional(),
|
|
128
|
+
paid_at: zod.z.number().int().describe("Unix timestamp when the invoice was paid").nullable().optional(),
|
|
129
|
+
receipt: zod.z.string().describe("Internal reference number").nullable().optional(),
|
|
130
|
+
currency: zod.z.string().describe("Three-letter ISO currency code"),
|
|
131
|
+
order_id: zod.z.string().describe("Associated order ID").nullable().optional(),
|
|
132
|
+
expire_by: zod.z.number().int().describe("Unix timestamp when the invoice expires").nullable().optional(),
|
|
133
|
+
issued_at: zod.z.number().int().describe("Unix timestamp when the invoice was issued").nullable().optional(),
|
|
134
|
+
short_url: zod.z.string().describe("Short URL for the invoice payment page").nullable().optional(),
|
|
135
|
+
view_less: zod.z.boolean().describe("Whether to show a compact view").nullable().optional(),
|
|
136
|
+
amount_due: zod.z.number().int().describe("Amount due in currency subunit").nullable().optional(),
|
|
137
|
+
created_at: zod.z.number().int().describe("Unix timestamp when the invoice was created"),
|
|
138
|
+
expired_at: zod.z.number().int().describe("Unix timestamp when the invoice expired").nullable().optional(),
|
|
139
|
+
line_items: zod.z.array(RazorpayUpdateInvoice_LineItemSchema).describe("List of invoice line items").nullable().optional(),
|
|
140
|
+
payment_id: zod.z.string().describe("Associated payment ID").nullable().optional(),
|
|
141
|
+
sms_status: zod.z.string().describe("SMS notification status").nullable().optional(),
|
|
142
|
+
tax_amount: zod.z.number().int().describe("Total tax amount in currency subunit").nullable().optional(),
|
|
143
|
+
amount_paid: zod.z.number().int().describe("Amount paid so far in currency subunit").nullable().optional(),
|
|
144
|
+
billing_end: zod.z.number().int().describe("Billing period end as Unix timestamp").nullable().optional(),
|
|
145
|
+
customer_id: zod.z.string().describe("Associated customer ID").nullable().optional(),
|
|
146
|
+
description: zod.z.string().describe("Invoice description").nullable().optional(),
|
|
147
|
+
cancelled_at: zod.z.number().int().describe("Unix timestamp when the invoice was cancelled").nullable().optional(),
|
|
148
|
+
email_status: zod.z.string().describe("Email notification status").nullable().optional(),
|
|
149
|
+
gross_amount: zod.z.number().int().describe("Gross amount before tax in currency subunit").nullable().optional(),
|
|
150
|
+
billing_start: zod.z.number().int().describe("Billing period start as Unix timestamp").nullable().optional(),
|
|
151
|
+
invoice_number: zod.z.string().describe("Invoice number").nullable().optional(),
|
|
152
|
+
taxable_amount: zod.z.number().int().describe("Taxable amount in currency subunit").nullable().optional(),
|
|
153
|
+
currency_symbol: zod.z.string().describe("Currency symbol for display").nullable().optional(),
|
|
154
|
+
idempotency_key: zod.z.string().describe("Idempotency key").nullable().optional(),
|
|
155
|
+
partial_payment: zod.z.boolean().describe("Whether partial payments are allowed").nullable().optional(),
|
|
156
|
+
subscription_id: zod.z.string().describe("Associated subscription ID").nullable().optional(),
|
|
157
|
+
customer_details: RazorpayUpdateInvoice_CustomerDetailsSchema.nullable().optional(),
|
|
158
|
+
group_taxes_discounts: zod.z.boolean().describe("Whether taxes and discounts are grouped").nullable().optional()
|
|
159
|
+
}).describe("Response model for updating an invoice.\nReturns complete updated invoice details including customer information, line items, amounts, and payment status.");
|
|
160
|
+
const razorpayUpdateInvoice = require_action.action("RAZORPAY_UPDATE_INVOICE", {
|
|
161
|
+
slug: "razorpay-update-invoice",
|
|
162
|
+
name: "Update Invoice",
|
|
163
|
+
description: "Tool to update an existing draft invoice in Razorpay. Use when you need to modify invoice details such as customer information, line items, description, notes, or other fields. Only invoices in draft state can be updated.",
|
|
164
|
+
input: RazorpayUpdateInvoiceInput,
|
|
165
|
+
output: RazorpayUpdateInvoiceOutput
|
|
166
|
+
});
|
|
167
|
+
//#endregion
|
|
168
|
+
exports.razorpayUpdateInvoice = razorpayUpdateInvoice;
|
|
169
|
+
|
|
170
|
+
//# sourceMappingURL=update-invoice.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-invoice.cjs","names":["z","action"],"sources":["../../src/actions/update-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateInvoiceInput: z.ZodTypeAny = z.object({\n date: z.number().int().describe(\"Invoice date as Unix timestamp\").optional(),\n type: z.string().describe(\"Type of invoice: 'invoice' or 'link'\").optional(),\n notes: z.object({}).describe(\"Key-value pairs for additional information\").optional(),\n terms: z.string().describe(\"Terms and conditions text\").optional(),\n amount: z.number().int().describe(\"Total invoice amount in smallest currency unit. If not provided, calculated from line_items\").optional(),\n tax_id: z.string().describe(\"Tax ID for the entire invoice\").optional(),\n comment: z.string().describe(\"Comments on the invoice\").optional(),\n receipt: z.string().describe(\"Receipt/reference number (max 40 characters)\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code\").optional(),\n customer: z.object({\n name: z.string().describe(\"Name of the customer\").optional(),\n email: z.string().describe(\"Email address of the customer\").optional(),\n gstin: z.string().describe(\"GST identification number\").optional(),\n notes: z.object({}).describe(\"Key-value pairs for additional customer metadata\").optional(),\n contact: z.string().describe(\"Phone number of the customer (10 digits for India)\").optional(),\n billing_address: z.object({\n city: z.string().describe(\"City\").optional(),\n line1: z.string().describe(\"Address line 1\").optional(),\n line2: z.string().describe(\"Address line 2\").optional(),\n state: z.string().describe(\"State or province\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n zipcode: z.string().describe(\"Postal or ZIP code\").optional(),\n}).describe(\"Address details for billing or shipping.\").optional(),\n shipping_address: z.object({\n city: z.string().describe(\"City\").optional(),\n line1: z.string().describe(\"Address line 1\").optional(),\n line2: z.string().describe(\"Address line 2\").optional(),\n state: z.string().describe(\"State or province\").optional(),\n country: z.string().describe(\"Country name\").optional(),\n zipcode: z.string().describe(\"Postal or ZIP code\").optional(),\n}).describe(\"Address details for billing or shipping.\").optional(),\n}).describe(\"Customer details for invoice recipient.\").optional(),\n order_id: z.string().describe(\"Associated order ID\").optional(),\n tax_rate: z.number().int().describe(\"Tax rate in basis points for the entire invoice (e.g., 1800 for 18%)\").optional(),\n expire_by: z.number().int().describe(\"Unix timestamp when invoice should expire\").optional(),\n issued_at: z.number().int().describe(\"Unix timestamp for custom invoice issue date\").optional(),\n short_url: z.boolean().describe(\"Generate and return short URL\").optional(),\n view_less: z.boolean().describe(\"Show compact view\").optional(),\n invoice_id: z.string().describe(\"The unique identifier of the invoice to update. Only draft invoices can be updated.\"),\n line_items: z.array(z.object({\n id: z.string().describe(\"Line item ID (required for updating existing line items)\").optional(),\n name: z.string().describe(\"Name of the item\").optional(),\n unit: z.string().describe(\"Unit of measurement\").optional(),\n amount: z.number().int().describe(\"Amount in smallest currency unit (paise for INR). For example, 100000 paise = ₹1000\").optional(),\n tax_id: z.string().describe(\"Tax identifier for the item\").optional(),\n item_id: z.string().describe(\"Reference to existing item entity ID\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code\").optional(),\n hsn_code: z.string().describe(\"HSN (Harmonized System of Nomenclature) code\").optional(),\n quantity: z.number().int().describe(\"Quantity of the item\").optional(),\n sac_code: z.string().describe(\"SAC (Services Accounting Code)\").optional(),\n tax_rate: z.number().int().describe(\"Tax rate in basis points (e.g., 1800 for 18%). 1 basis point = 0.01%\").optional(),\n description: z.string().describe(\"Description of the item\").optional(),\n unit_amount: z.number().int().describe(\"Unit price in smallest currency unit\").optional(),\n tax_inclusive: z.boolean().describe(\"Whether amount includes tax\").optional(),\n}).describe(\"Individual line item for invoice update.\")).describe(\"Array of line items to update or add. Include 'id' field to update existing items\").optional(),\n payment_id: z.string().describe(\"Pre-associate a payment ID\").optional(),\n sms_notify: z.number().int().describe(\"Send SMS notification (1=yes, 0=no)\").optional(),\n billing_end: z.number().int().describe(\"Billing period end as Unix timestamp\").optional(),\n customer_id: z.string().describe(\"Reference to existing customer ID\").optional(),\n description: z.string().describe(\"Brief description of the invoice\").optional(),\n email_notify: z.number().int().describe(\"Send email notification (1=yes, 0=no)\").optional(),\n billing_start: z.number().int().describe(\"Billing period start as Unix timestamp\").optional(),\n invoice_number: z.string().describe(\"Custom invoice number\").optional(),\n idempotency_key: z.string().describe(\"Unique key for idempotent requests to prevent duplicates\").optional(),\n partial_payment: z.boolean().describe(\"Whether partial payments are allowed\").optional(),\n group_taxes_discounts: z.boolean().describe(\"Group taxes and discounts together\").optional(),\n}).describe(\"Request model for updating a draft invoice. All parameters except invoice_id are optional - only provide the fields you want to update. Note: Only invoices in draft state can be updated.\");\nconst RazorpayUpdateInvoice_TaxDetailSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Tax name\").nullable().optional(),\n rate: z.number().int().describe(\"Tax rate in basis points\").nullable().optional(),\n amount: z.number().int().describe(\"Tax amount in currency subunit\").nullable().optional(),\n tax_id: z.string().describe(\"Tax ID\").nullable().optional(),\n}).describe(\"Tax detail for a line item.\");\nconst RazorpayUpdateInvoice_LineItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Line item ID\").nullable().optional(),\n name: z.string().describe(\"Item name\").nullable().optional(),\n type: z.string().describe(\"Line item type\").nullable().optional(),\n unit: z.string().describe(\"Unit of measurement\").nullable().optional(),\n taxes: z.array(RazorpayUpdateInvoice_TaxDetailSchema).describe(\"List of tax details\").nullable().optional(),\n amount: z.number().int().describe(\"Item amount in currency subunit\").nullable().optional(),\n ref_id: z.string().describe(\"Reference ID for the item\").nullable().optional(),\n item_id: z.string().describe(\"Reference to item entity\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n hsn_code: z.string().describe(\"HSN code for the item\").nullable().optional(),\n quantity: z.number().int().describe(\"Quantity of items\").nullable().optional(),\n ref_type: z.string().describe(\"Reference type\").nullable().optional(),\n sac_code: z.string().describe(\"SAC code for the item\").nullable().optional(),\n tax_rate: z.number().int().describe(\"Tax rate in basis points\").nullable().optional(),\n net_amount: z.number().int().describe(\"Net amount after tax\").nullable().optional(),\n tax_amount: z.number().int().describe(\"Tax amount\").nullable().optional(),\n description: z.string().describe(\"Item description\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit price in currency subunit\").nullable().optional(),\n gross_amount: z.number().int().describe(\"Gross amount before tax\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether tax is included in the amount\").nullable().optional(),\n taxable_amount: z.number().int().describe(\"Taxable amount\").nullable().optional(),\n}).describe(\"Individual line item in an invoice.\");\nconst RazorpayUpdateInvoice_AddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City\").nullable().optional(),\n line1: z.string().describe(\"Address line 1\").nullable().optional(),\n line2: z.string().describe(\"Address line 2\").nullable().optional(),\n state: z.string().describe(\"State\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n zipcode: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n}).describe(\"Address details for billing or shipping.\");\nconst RazorpayUpdateInvoice_CustomerDetailsSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Customer ID\").nullable().optional(),\n name: z.string().describe(\"Customer name\").nullable().optional(),\n email: z.string().describe(\"Customer email address\").nullable().optional(),\n gstin: z.string().describe(\"Customer GSTIN\").nullable().optional(),\n contact: z.string().describe(\"Customer contact number\").nullable().optional(),\n billing_address: RazorpayUpdateInvoice_AddressSchema.nullable().optional(),\n shipping_address: RazorpayUpdateInvoice_AddressSchema.nullable().optional(),\n}).describe(\"Customer details associated with the invoice.\");\nexport const RazorpayUpdateInvoiceOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique invoice identifier\"),\n date: z.number().int().describe(\"Invoice date as Unix timestamp\").nullable().optional(),\n type: z.string().describe(\"Invoice type\").nullable().optional(),\n notes: z.union([z.object({}), z.array(z.unknown())]).nullable().optional(),\n terms: z.string().describe(\"Terms and conditions\").nullable().optional(),\n amount: z.number().int().describe(\"Total invoice amount in currency subunit\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'invoice'\"),\n status: z.string().describe(\"Invoice status (draft, issued, paid, etc.)\"),\n comment: z.string().describe(\"Comment on the invoice\").nullable().optional(),\n paid_at: z.number().int().describe(\"Unix timestamp when the invoice was paid\").nullable().optional(),\n receipt: z.string().describe(\"Internal reference number\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code\"),\n order_id: z.string().describe(\"Associated order ID\").nullable().optional(),\n expire_by: z.number().int().describe(\"Unix timestamp when the invoice expires\").nullable().optional(),\n issued_at: z.number().int().describe(\"Unix timestamp when the invoice was issued\").nullable().optional(),\n short_url: z.string().describe(\"Short URL for the invoice payment page\").nullable().optional(),\n view_less: z.boolean().describe(\"Whether to show a compact view\").nullable().optional(),\n amount_due: z.number().int().describe(\"Amount due in currency subunit\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the invoice was created\"),\n expired_at: z.number().int().describe(\"Unix timestamp when the invoice expired\").nullable().optional(),\n line_items: z.array(RazorpayUpdateInvoice_LineItemSchema).describe(\"List of invoice line items\").nullable().optional(),\n payment_id: z.string().describe(\"Associated payment ID\").nullable().optional(),\n sms_status: z.string().describe(\"SMS notification status\").nullable().optional(),\n tax_amount: z.number().int().describe(\"Total tax amount in currency subunit\").nullable().optional(),\n amount_paid: z.number().int().describe(\"Amount paid so far in currency subunit\").nullable().optional(),\n billing_end: z.number().int().describe(\"Billing period end as Unix timestamp\").nullable().optional(),\n customer_id: z.string().describe(\"Associated customer ID\").nullable().optional(),\n description: z.string().describe(\"Invoice description\").nullable().optional(),\n cancelled_at: z.number().int().describe(\"Unix timestamp when the invoice was cancelled\").nullable().optional(),\n email_status: z.string().describe(\"Email notification status\").nullable().optional(),\n gross_amount: z.number().int().describe(\"Gross amount before tax in currency subunit\").nullable().optional(),\n billing_start: z.number().int().describe(\"Billing period start as Unix timestamp\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number\").nullable().optional(),\n taxable_amount: z.number().int().describe(\"Taxable amount in currency subunit\").nullable().optional(),\n currency_symbol: z.string().describe(\"Currency symbol for display\").nullable().optional(),\n idempotency_key: z.string().describe(\"Idempotency key\").nullable().optional(),\n partial_payment: z.boolean().describe(\"Whether partial payments are allowed\").nullable().optional(),\n subscription_id: z.string().describe(\"Associated subscription ID\").nullable().optional(),\n customer_details: RazorpayUpdateInvoice_CustomerDetailsSchema.nullable().optional(),\n group_taxes_discounts: z.boolean().describe(\"Whether taxes and discounts are grouped\").nullable().optional(),\n}).describe(\"Response model for updating an invoice.\\nReturns complete updated invoice details including customer information, line items, amounts, and payment status.\");\n\nexport const razorpayUpdateInvoice = action(\"RAZORPAY_UPDATE_INVOICE\", {\n slug: \"razorpay-update-invoice\",\n name: \"Update Invoice\",\n description: \"Tool to update an existing draft invoice in Razorpay. Use when you need to modify invoice details such as customer information, line items, description, notes, or other fields. Only invoices in draft state can be updated.\",\n input: RazorpayUpdateInvoiceInput,\n output: RazorpayUpdateInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,C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AS;CACvG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,kBAAkB,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAClF,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,4JAA4J;AAExK,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-invoice.d.ts
|
|
4
|
+
declare const RazorpayUpdateInvoiceInput: z.ZodTypeAny;
|
|
5
|
+
declare const RazorpayUpdateInvoiceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const razorpayUpdateInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { razorpayUpdateInvoice };
|
|
9
|
+
//# sourceMappingURL=update-invoice.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-invoice.d.cts","names":[],"sources":["../../src/actions/update-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAmE8J;AAAA,cA+C5L,2BAAA,EAA6B,CAAA,CAAE,UAyC6H;AAAA,cAE5J,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-invoice.d.ts
|
|
4
|
+
declare const RazorpayUpdateInvoiceInput: z.ZodTypeAny;
|
|
5
|
+
declare const RazorpayUpdateInvoiceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const razorpayUpdateInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { razorpayUpdateInvoice };
|
|
9
|
+
//# sourceMappingURL=update-invoice.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-invoice.d.mts","names":[],"sources":["../../src/actions/update-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAmE8J;AAAA,cA+C5L,2BAAA,EAA6B,CAAA,CAAE,UAyC6H;AAAA,cAE5J,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|