@keystrokehq/razorpay 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/cancel-invoice.cjs +1 -0
- package/dist/actions/cancel-invoice.cjs.map +1 -1
- package/dist/actions/cancel-invoice.d.cts +3 -17
- package/dist/actions/cancel-invoice.d.cts.map +1 -1
- package/dist/actions/cancel-invoice.d.mts +3 -17
- package/dist/actions/cancel-invoice.d.mts.map +1 -1
- package/dist/actions/cancel-invoice.mjs +1 -0
- package/dist/actions/cancel-invoice.mjs.map +1 -1
- package/dist/actions/cancel-payment-link.cjs +1 -0
- package/dist/actions/cancel-payment-link.cjs.map +1 -1
- package/dist/actions/cancel-payment-link.d.cts +3 -17
- package/dist/actions/cancel-payment-link.d.cts.map +1 -1
- package/dist/actions/cancel-payment-link.d.mts +3 -17
- package/dist/actions/cancel-payment-link.d.mts.map +1 -1
- package/dist/actions/cancel-payment-link.mjs +1 -0
- package/dist/actions/cancel-payment-link.mjs.map +1 -1
- package/dist/actions/create-an-order.cjs +1 -0
- package/dist/actions/create-an-order.cjs.map +1 -1
- package/dist/actions/create-an-order.d.cts +3 -21
- package/dist/actions/create-an-order.d.cts.map +1 -1
- package/dist/actions/create-an-order.d.mts +3 -21
- package/dist/actions/create-an-order.d.mts.map +1 -1
- package/dist/actions/create-an-order.mjs +1 -0
- package/dist/actions/create-an-order.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -0
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +3 -22
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +3 -22
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +1 -0
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +1 -0
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +3 -21
- package/dist/actions/create-customer.d.cts.map +1 -1
- package/dist/actions/create-customer.d.mts +3 -21
- package/dist/actions/create-customer.d.mts.map +1 -1
- package/dist/actions/create-customer.mjs +1 -0
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +1 -0
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +3 -80
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +3 -80
- package/dist/actions/create-invoice.d.mts.map +1 -1
- package/dist/actions/create-invoice.mjs +1 -0
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-item.cjs +1 -0
- package/dist/actions/create-item.cjs.map +1 -1
- package/dist/actions/create-item.d.cts +3 -20
- package/dist/actions/create-item.d.cts.map +1 -1
- package/dist/actions/create-item.d.mts +3 -20
- package/dist/actions/create-item.d.mts.map +1 -1
- package/dist/actions/create-item.mjs +1 -0
- package/dist/actions/create-item.mjs.map +1 -1
- package/dist/actions/create-payment-link.cjs +1 -0
- package/dist/actions/create-payment-link.cjs.map +1 -1
- package/dist/actions/create-payment-link.d.cts +3 -34
- package/dist/actions/create-payment-link.d.cts.map +1 -1
- package/dist/actions/create-payment-link.d.mts +3 -34
- package/dist/actions/create-payment-link.d.mts.map +1 -1
- package/dist/actions/create-payment-link.mjs +1 -0
- package/dist/actions/create-payment-link.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +1 -0
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +3 -17
- package/dist/actions/delete-invoice.d.cts.map +1 -1
- package/dist/actions/delete-invoice.d.mts +3 -17
- package/dist/actions/delete-invoice.d.mts.map +1 -1
- package/dist/actions/delete-invoice.mjs +1 -0
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-item.cjs +1 -0
- package/dist/actions/delete-item.cjs.map +1 -1
- package/dist/actions/delete-item.d.cts +3 -17
- package/dist/actions/delete-item.d.cts.map +1 -1
- package/dist/actions/delete-item.d.mts +3 -17
- package/dist/actions/delete-item.d.mts.map +1 -1
- package/dist/actions/delete-item.mjs +1 -0
- package/dist/actions/delete-item.mjs.map +1 -1
- package/dist/actions/fetch-a-payment-link.cjs +1 -0
- package/dist/actions/fetch-a-payment-link.cjs.map +1 -1
- package/dist/actions/fetch-a-payment-link.d.cts +3 -17
- package/dist/actions/fetch-a-payment-link.d.cts.map +1 -1
- package/dist/actions/fetch-a-payment-link.d.mts +3 -17
- package/dist/actions/fetch-a-payment-link.d.mts.map +1 -1
- package/dist/actions/fetch-a-payment-link.mjs +1 -0
- package/dist/actions/fetch-a-payment-link.mjs.map +1 -1
- package/dist/actions/fetch-all-customers.cjs +1 -0
- package/dist/actions/fetch-all-customers.cjs.map +1 -1
- package/dist/actions/fetch-all-customers.d.cts +3 -18
- package/dist/actions/fetch-all-customers.d.cts.map +1 -1
- package/dist/actions/fetch-all-customers.d.mts +3 -18
- package/dist/actions/fetch-all-customers.d.mts.map +1 -1
- package/dist/actions/fetch-all-customers.mjs +1 -0
- package/dist/actions/fetch-all-customers.mjs.map +1 -1
- package/dist/actions/fetch-all-invoices.cjs +1 -0
- package/dist/actions/fetch-all-invoices.cjs.map +1 -1
- package/dist/actions/fetch-all-invoices.d.cts +3 -24
- package/dist/actions/fetch-all-invoices.d.cts.map +1 -1
- package/dist/actions/fetch-all-invoices.d.mts +3 -24
- package/dist/actions/fetch-all-invoices.d.mts.map +1 -1
- package/dist/actions/fetch-all-invoices.mjs +1 -0
- package/dist/actions/fetch-all-invoices.mjs.map +1 -1
- package/dist/actions/fetch-all-payment-links.cjs +1 -0
- package/dist/actions/fetch-all-payment-links.cjs.map +1 -1
- package/dist/actions/fetch-all-payment-links.d.cts +3 -22
- package/dist/actions/fetch-all-payment-links.d.cts.map +1 -1
- package/dist/actions/fetch-all-payment-links.d.mts +3 -22
- package/dist/actions/fetch-all-payment-links.d.mts.map +1 -1
- package/dist/actions/fetch-all-payment-links.mjs +1 -0
- package/dist/actions/fetch-all-payment-links.mjs.map +1 -1
- package/dist/actions/fetch-all-payments.cjs +1 -0
- package/dist/actions/fetch-all-payments.cjs.map +1 -1
- package/dist/actions/fetch-all-payments.d.cts +3 -20
- package/dist/actions/fetch-all-payments.d.cts.map +1 -1
- package/dist/actions/fetch-all-payments.d.mts +3 -20
- package/dist/actions/fetch-all-payments.d.mts.map +1 -1
- package/dist/actions/fetch-all-payments.mjs +1 -0
- package/dist/actions/fetch-all-payments.mjs.map +1 -1
- package/dist/actions/fetch-all-refunds-for-a-payment.cjs +1 -0
- package/dist/actions/fetch-all-refunds-for-a-payment.cjs.map +1 -1
- package/dist/actions/fetch-all-refunds-for-a-payment.d.cts +3 -21
- package/dist/actions/fetch-all-refunds-for-a-payment.d.cts.map +1 -1
- package/dist/actions/fetch-all-refunds-for-a-payment.d.mts +3 -21
- package/dist/actions/fetch-all-refunds-for-a-payment.d.mts.map +1 -1
- package/dist/actions/fetch-all-refunds-for-a-payment.mjs +1 -0
- package/dist/actions/fetch-all-refunds-for-a-payment.mjs.map +1 -1
- package/dist/actions/fetch-invoice-by-id.cjs +1 -0
- package/dist/actions/fetch-invoice-by-id.cjs.map +1 -1
- package/dist/actions/fetch-invoice-by-id.d.cts +3 -17
- package/dist/actions/fetch-invoice-by-id.d.cts.map +1 -1
- package/dist/actions/fetch-invoice-by-id.d.mts +3 -17
- package/dist/actions/fetch-invoice-by-id.d.mts.map +1 -1
- package/dist/actions/fetch-invoice-by-id.mjs +1 -0
- package/dist/actions/fetch-invoice-by-id.mjs.map +1 -1
- package/dist/actions/fetch-orders-by-id.cjs +1 -0
- package/dist/actions/fetch-orders-by-id.cjs.map +1 -1
- package/dist/actions/fetch-orders-by-id.d.cts +3 -17
- package/dist/actions/fetch-orders-by-id.d.cts.map +1 -1
- package/dist/actions/fetch-orders-by-id.d.mts +3 -17
- package/dist/actions/fetch-orders-by-id.d.mts.map +1 -1
- package/dist/actions/fetch-orders-by-id.mjs +1 -0
- package/dist/actions/fetch-orders-by-id.mjs.map +1 -1
- package/dist/actions/fetch-orders.cjs +1 -0
- package/dist/actions/fetch-orders.cjs.map +1 -1
- package/dist/actions/fetch-orders.d.cts +3 -22
- package/dist/actions/fetch-orders.d.cts.map +1 -1
- package/dist/actions/fetch-orders.d.mts +3 -22
- package/dist/actions/fetch-orders.d.mts.map +1 -1
- package/dist/actions/fetch-orders.mjs +1 -0
- package/dist/actions/fetch-orders.mjs.map +1 -1
- package/dist/actions/fetch-payments-by-order.cjs +1 -0
- package/dist/actions/fetch-payments-by-order.cjs.map +1 -1
- package/dist/actions/fetch-payments-by-order.d.cts +3 -17
- package/dist/actions/fetch-payments-by-order.d.cts.map +1 -1
- package/dist/actions/fetch-payments-by-order.d.mts +3 -17
- package/dist/actions/fetch-payments-by-order.d.mts.map +1 -1
- package/dist/actions/fetch-payments-by-order.mjs +1 -0
- package/dist/actions/fetch-payments-by-order.mjs.map +1 -1
- package/dist/actions/fetch-refunds.cjs +1 -0
- package/dist/actions/fetch-refunds.cjs.map +1 -1
- package/dist/actions/fetch-refunds.d.cts +3 -20
- package/dist/actions/fetch-refunds.d.cts.map +1 -1
- package/dist/actions/fetch-refunds.d.mts +3 -20
- package/dist/actions/fetch-refunds.d.mts.map +1 -1
- package/dist/actions/fetch-refunds.mjs +1 -0
- package/dist/actions/fetch-refunds.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +1 -0
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +3 -17
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +3 -17
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +1 -0
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-customer.cjs +1 -0
- package/dist/actions/get-customer.cjs.map +1 -1
- package/dist/actions/get-customer.d.cts +3 -17
- package/dist/actions/get-customer.d.cts.map +1 -1
- package/dist/actions/get-customer.d.mts +3 -17
- package/dist/actions/get-customer.d.mts.map +1 -1
- package/dist/actions/get-customer.mjs +1 -0
- package/dist/actions/get-customer.mjs.map +1 -1
- package/dist/actions/get-fund-account.cjs +1 -0
- package/dist/actions/get-fund-account.cjs.map +1 -1
- package/dist/actions/get-fund-account.d.cts +3 -17
- package/dist/actions/get-fund-account.d.cts.map +1 -1
- package/dist/actions/get-fund-account.d.mts +3 -17
- package/dist/actions/get-fund-account.d.mts.map +1 -1
- package/dist/actions/get-fund-account.mjs +1 -0
- package/dist/actions/get-fund-account.mjs.map +1 -1
- package/dist/actions/get-item.cjs +1 -0
- package/dist/actions/get-item.cjs.map +1 -1
- package/dist/actions/get-item.d.cts +3 -17
- package/dist/actions/get-item.d.cts.map +1 -1
- package/dist/actions/get-item.d.mts +3 -17
- package/dist/actions/get-item.d.mts.map +1 -1
- package/dist/actions/get-item.mjs +1 -0
- package/dist/actions/get-item.mjs.map +1 -1
- package/dist/actions/get-settlement-recon.cjs +1 -0
- package/dist/actions/get-settlement-recon.cjs.map +1 -1
- package/dist/actions/get-settlement-recon.d.cts +3 -21
- package/dist/actions/get-settlement-recon.d.cts.map +1 -1
- package/dist/actions/get-settlement-recon.d.mts +3 -21
- package/dist/actions/get-settlement-recon.d.mts.map +1 -1
- package/dist/actions/get-settlement-recon.mjs +1 -0
- package/dist/actions/get-settlement-recon.mjs.map +1 -1
- package/dist/actions/get-transfer-reversals.cjs +1 -0
- package/dist/actions/get-transfer-reversals.cjs.map +1 -1
- package/dist/actions/get-transfer-reversals.d.cts +3 -21
- package/dist/actions/get-transfer-reversals.d.cts.map +1 -1
- package/dist/actions/get-transfer-reversals.d.mts +3 -21
- package/dist/actions/get-transfer-reversals.d.mts.map +1 -1
- package/dist/actions/get-transfer-reversals.mjs +1 -0
- package/dist/actions/get-transfer-reversals.mjs.map +1 -1
- package/dist/actions/issue-an-invoice.cjs +1 -0
- package/dist/actions/issue-an-invoice.cjs.map +1 -1
- package/dist/actions/issue-an-invoice.d.cts +3 -17
- package/dist/actions/issue-an-invoice.d.cts.map +1 -1
- package/dist/actions/issue-an-invoice.d.mts +3 -17
- package/dist/actions/issue-an-invoice.d.mts.map +1 -1
- package/dist/actions/issue-an-invoice.mjs +1 -0
- package/dist/actions/issue-an-invoice.mjs.map +1 -1
- package/dist/actions/list-customer-tokens.cjs +1 -0
- package/dist/actions/list-customer-tokens.cjs.map +1 -1
- package/dist/actions/list-customer-tokens.d.cts +3 -17
- package/dist/actions/list-customer-tokens.d.cts.map +1 -1
- package/dist/actions/list-customer-tokens.d.mts +3 -17
- package/dist/actions/list-customer-tokens.d.mts.map +1 -1
- package/dist/actions/list-customer-tokens.mjs +1 -0
- package/dist/actions/list-customer-tokens.mjs.map +1 -1
- package/dist/actions/list-disputes.cjs +1 -0
- package/dist/actions/list-disputes.cjs.map +1 -1
- package/dist/actions/list-disputes.d.cts +3 -20
- package/dist/actions/list-disputes.d.cts.map +1 -1
- package/dist/actions/list-disputes.d.mts +3 -20
- package/dist/actions/list-disputes.d.mts.map +1 -1
- package/dist/actions/list-disputes.mjs +1 -0
- package/dist/actions/list-disputes.mjs.map +1 -1
- package/dist/actions/list-fund-accounts.cjs +1 -0
- package/dist/actions/list-fund-accounts.cjs.map +1 -1
- package/dist/actions/list-fund-accounts.d.cts +3 -20
- package/dist/actions/list-fund-accounts.d.cts.map +1 -1
- package/dist/actions/list-fund-accounts.d.mts +3 -20
- package/dist/actions/list-fund-accounts.d.mts.map +1 -1
- package/dist/actions/list-fund-accounts.mjs +1 -0
- package/dist/actions/list-fund-accounts.mjs.map +1 -1
- package/dist/actions/list-fund-validations.cjs +1 -0
- package/dist/actions/list-fund-validations.cjs.map +1 -1
- package/dist/actions/list-fund-validations.d.cts +3 -20
- package/dist/actions/list-fund-validations.d.cts.map +1 -1
- package/dist/actions/list-fund-validations.d.mts +3 -20
- package/dist/actions/list-fund-validations.d.mts.map +1 -1
- package/dist/actions/list-fund-validations.mjs +1 -0
- package/dist/actions/list-fund-validations.mjs.map +1 -1
- package/dist/actions/list-items.cjs +1 -0
- package/dist/actions/list-items.cjs.map +1 -1
- package/dist/actions/list-items.d.cts +3 -21
- package/dist/actions/list-items.d.cts.map +1 -1
- package/dist/actions/list-items.d.mts +3 -21
- package/dist/actions/list-items.d.mts.map +1 -1
- package/dist/actions/list-items.mjs +1 -0
- package/dist/actions/list-items.mjs.map +1 -1
- package/dist/actions/list-payment-downtimes.cjs +1 -0
- package/dist/actions/list-payment-downtimes.cjs.map +1 -1
- package/dist/actions/list-payment-downtimes.d.cts +3 -15
- package/dist/actions/list-payment-downtimes.d.cts.map +1 -1
- package/dist/actions/list-payment-downtimes.d.mts +3 -15
- package/dist/actions/list-payment-downtimes.d.mts.map +1 -1
- package/dist/actions/list-payment-downtimes.mjs +1 -0
- package/dist/actions/list-payment-downtimes.mjs.map +1 -1
- package/dist/actions/notify-payment-link.cjs +1 -0
- package/dist/actions/notify-payment-link.cjs.map +1 -1
- package/dist/actions/notify-payment-link.d.cts +3 -18
- package/dist/actions/notify-payment-link.d.cts.map +1 -1
- package/dist/actions/notify-payment-link.d.mts +3 -18
- package/dist/actions/notify-payment-link.d.mts.map +1 -1
- package/dist/actions/notify-payment-link.mjs +1 -0
- package/dist/actions/notify-payment-link.mjs.map +1 -1
- package/dist/actions/send-or-resend-notification.cjs +1 -0
- package/dist/actions/send-or-resend-notification.cjs.map +1 -1
- package/dist/actions/send-or-resend-notification.d.cts +3 -18
- package/dist/actions/send-or-resend-notification.d.cts.map +1 -1
- package/dist/actions/send-or-resend-notification.d.mts +3 -18
- package/dist/actions/send-or-resend-notification.d.mts.map +1 -1
- package/dist/actions/send-or-resend-notification.mjs +1 -0
- package/dist/actions/send-or-resend-notification.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -0
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +3 -23
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -23
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -0
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +1 -0
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +3 -20
- package/dist/actions/update-customer.d.cts.map +1 -1
- package/dist/actions/update-customer.d.mts +3 -20
- package/dist/actions/update-customer.d.mts.map +1 -1
- package/dist/actions/update-customer.mjs +1 -0
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +1 -0
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +3 -83
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +3 -83
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +1 -0
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-item.cjs +1 -0
- package/dist/actions/update-item.cjs.map +1 -1
- package/dist/actions/update-item.d.cts +3 -20
- package/dist/actions/update-item.d.cts.map +1 -1
- package/dist/actions/update-item.d.mts +3 -20
- package/dist/actions/update-item.d.mts.map +1 -1
- package/dist/actions/update-item.mjs +1 -0
- package/dist/actions/update-item.mjs.map +1 -1
- package/dist/actions/update-order.cjs +1 -0
- package/dist/actions/update-order.cjs.map +1 -1
- package/dist/actions/update-order.d.cts +3 -18
- package/dist/actions/update-order.d.cts.map +1 -1
- package/dist/actions/update-order.d.mts +3 -18
- package/dist/actions/update-order.d.mts.map +1 -1
- package/dist/actions/update-order.mjs +1 -0
- package/dist/actions/update-order.mjs.map +1 -1
- package/dist/actions/update-payment-link.cjs +1 -0
- package/dist/actions/update-payment-link.cjs.map +1 -1
- package/dist/actions/update-payment-link.d.cts +3 -22
- package/dist/actions/update-payment-link.d.cts.map +1 -1
- package/dist/actions/update-payment-link.d.mts +3 -22
- package/dist/actions/update-payment-link.d.mts.map +1 -1
- package/dist/actions/update-payment-link.mjs +1 -0
- package/dist/actions/update-payment-link.mjs.map +1 -1
- package/dist/app.cjs +5 -4
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-fund-account.cjs","names":["z","action"],"sources":["../../src/actions/get-fund-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetFundAccountInput = z.object({\n fund_account_id: z.string().describe(\"The unique identifier of the fund account to retrieve. Must start with 'fa_' followed by alphanumeric characters.\"),\n}).describe(\"Request model for retrieving a fund account.\");\nconst RazorpayGetFundAccount_VpaDetailsSchema = z.object({\n handle: z.string().describe(\"Handle part of the VPA (e.g., @paytm, @upi).\").nullable().optional(),\n address: z.string().describe(\"The VPA address (UPI ID).\").nullable().optional(),\n username: z.string().describe(\"Username part of the VPA.\").nullable().optional(),\n}).passthrough().describe(\"VPA (Virtual Payment Address) details within a fund account.\");\nconst RazorpayGetFundAccount_CardDetailsSchema = z.object({\n name: z.string().describe(\"Name of the cardholder.\").nullable().optional(),\n last4: z.string().describe(\"Last 4 digits of the card number.\").nullable().optional(),\n network: z.string().describe(\"Card network (e.g., Visa, Mastercard).\").nullable().optional(),\n}).passthrough().describe(\"Card details within a fund account.\");\nconst RazorpayGetFundAccount_BankAccountDetailsSchema = z.object({\n ifsc: z.string().describe(\"IFSC code of the bank branch.\").nullable().optional(),\n name: z.string().describe(\"Name of the account holder.\").nullable().optional(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n bank_name: z.string().describe(\"Name of the bank.\").nullable().optional(),\n account_number: z.string().describe(\"Bank account number.\").nullable().optional(),\n}).passthrough().describe(\"Bank account details within a fund account.\");\nexport const RazorpayGetFundAccountOutput = z.object({\n id: z.string().describe(\"Unique identifier for the fund account object.\").nullable(),\n vpa: RazorpayGetFundAccount_VpaDetailsSchema.nullable().optional(),\n card: RazorpayGetFundAccount_CardDetailsSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the fund account is active.\").nullable(),\n entity: z.string().describe(\"String representing the object's type. Always 'fund_account' for this endpoint.\").nullable(),\n batch_id: z.string().describe(\"Batch identifier if the fund account was created in a batch.\").nullable().optional(),\n contact_id: z.string().describe(\"The unique identifier of the contact associated with this fund account.\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when the fund account was created.\").nullable(),\n account_type: z.string().describe(\"The type of account (e.g., 'bank_account', 'vpa', 'card').\").nullable(),\n bank_account: RazorpayGetFundAccount_BankAccountDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing fund account details.\");\n\nexport const razorpayGetFundAccount = action(\"RAZORPAY_GET_FUND_ACCOUNT\", {\n slug: \"razorpay-get-fund-account\",\n name: \"Get Fund Account\",\n description: \"Tool to retrieve details of a specific fund account by its ID. Use when you need to fetch fund account information including associated contact, account type, and payment details.\",\n input: RazorpayGetFundAccountInput,\n output: RazorpayGetFundAccountOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-fund-account.cjs","names":["z","action"],"sources":["../../src/actions/get-fund-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { razorpay } from \"../app\";\n\nexport const RazorpayGetFundAccountInput = z.object({\n fund_account_id: z.string().describe(\"The unique identifier of the fund account to retrieve. Must start with 'fa_' followed by alphanumeric characters.\"),\n}).describe(\"Request model for retrieving a fund account.\");\nconst RazorpayGetFundAccount_VpaDetailsSchema = z.object({\n handle: z.string().describe(\"Handle part of the VPA (e.g., @paytm, @upi).\").nullable().optional(),\n address: z.string().describe(\"The VPA address (UPI ID).\").nullable().optional(),\n username: z.string().describe(\"Username part of the VPA.\").nullable().optional(),\n}).passthrough().describe(\"VPA (Virtual Payment Address) details within a fund account.\");\nconst RazorpayGetFundAccount_CardDetailsSchema = z.object({\n name: z.string().describe(\"Name of the cardholder.\").nullable().optional(),\n last4: z.string().describe(\"Last 4 digits of the card number.\").nullable().optional(),\n network: z.string().describe(\"Card network (e.g., Visa, Mastercard).\").nullable().optional(),\n}).passthrough().describe(\"Card details within a fund account.\");\nconst RazorpayGetFundAccount_BankAccountDetailsSchema = z.object({\n ifsc: z.string().describe(\"IFSC code of the bank branch.\").nullable().optional(),\n name: z.string().describe(\"Name of the account holder.\").nullable().optional(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n bank_name: z.string().describe(\"Name of the bank.\").nullable().optional(),\n account_number: z.string().describe(\"Bank account number.\").nullable().optional(),\n}).passthrough().describe(\"Bank account details within a fund account.\");\nexport const RazorpayGetFundAccountOutput = z.object({\n id: z.string().describe(\"Unique identifier for the fund account object.\").nullable(),\n vpa: RazorpayGetFundAccount_VpaDetailsSchema.nullable().optional(),\n card: RazorpayGetFundAccount_CardDetailsSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the fund account is active.\").nullable(),\n entity: z.string().describe(\"String representing the object's type. Always 'fund_account' for this endpoint.\").nullable(),\n batch_id: z.string().describe(\"Batch identifier if the fund account was created in a batch.\").nullable().optional(),\n contact_id: z.string().describe(\"The unique identifier of the contact associated with this fund account.\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when the fund account was created.\").nullable(),\n account_type: z.string().describe(\"The type of account (e.g., 'bank_account', 'vpa', 'card').\").nullable(),\n bank_account: RazorpayGetFundAccount_BankAccountDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing fund account details.\");\n\nexport const razorpayGetFundAccount: AppAction<\n typeof RazorpayGetFundAccountInput,\n typeof RazorpayGetFundAccountOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_GET_FUND_ACCOUNT\", {\n slug: \"razorpay-get-fund-account\",\n name: \"Get Fund Account\",\n description: \"Tool to retrieve details of a specific fund account by its ID. Use when you need to fetch fund account information including associated contact, account type, and payment details.\",\n input: RazorpayGetFundAccountInput,\n output: RazorpayGetFundAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,EAC1J,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC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OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACzG,cAAc,gDAAgD,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { razorpay } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-fund-account.d.ts
|
|
@@ -30,23 +32,7 @@ declare const RazorpayGetFundAccountOutput: z.ZodObject<{
|
|
|
30
32
|
account_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
33
|
}, z.core.$loose>>>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const razorpayGetFundAccount:
|
|
34
|
-
fund_account_id: string;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
generic_id: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
generic_id: z.ZodString;
|
|
49
|
-
}, z.core.$strip>>]>;
|
|
35
|
+
declare const razorpayGetFundAccount: AppAction<typeof RazorpayGetFundAccountInput, typeof RazorpayGetFundAccountOutput, typeof razorpay.credential>;
|
|
50
36
|
//#endregion
|
|
51
37
|
export { razorpayGetFundAccount };
|
|
52
38
|
//# sourceMappingURL=get-fund-account.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-fund-account.d.cts","names":[],"sources":["../../src/actions/get-fund-account.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-fund-account.d.cts","names":[],"sources":["../../src/actions/get-fund-account.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAoB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAa5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { razorpay } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-fund-account.d.ts
|
|
@@ -30,23 +32,7 @@ declare const RazorpayGetFundAccountOutput: z.ZodObject<{
|
|
|
30
32
|
account_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
33
|
}, z.core.$loose>>>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const razorpayGetFundAccount:
|
|
34
|
-
fund_account_id: string;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
generic_id: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
generic_id: z.ZodString;
|
|
49
|
-
}, z.core.$strip>>]>;
|
|
35
|
+
declare const razorpayGetFundAccount: AppAction<typeof RazorpayGetFundAccountInput, typeof RazorpayGetFundAccountOutput, typeof razorpay.credential>;
|
|
50
36
|
//#endregion
|
|
51
37
|
export { razorpayGetFundAccount };
|
|
52
38
|
//# sourceMappingURL=get-fund-account.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-fund-account.d.mts","names":[],"sources":["../../src/actions/get-fund-account.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-fund-account.d.mts","names":[],"sources":["../../src/actions/get-fund-account.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAoB3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAa5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-fund-account.mjs","names":[],"sources":["../../src/actions/get-fund-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetFundAccountInput = z.object({\n fund_account_id: z.string().describe(\"The unique identifier of the fund account to retrieve. Must start with 'fa_' followed by alphanumeric characters.\"),\n}).describe(\"Request model for retrieving a fund account.\");\nconst RazorpayGetFundAccount_VpaDetailsSchema = z.object({\n handle: z.string().describe(\"Handle part of the VPA (e.g., @paytm, @upi).\").nullable().optional(),\n address: z.string().describe(\"The VPA address (UPI ID).\").nullable().optional(),\n username: z.string().describe(\"Username part of the VPA.\").nullable().optional(),\n}).passthrough().describe(\"VPA (Virtual Payment Address) details within a fund account.\");\nconst RazorpayGetFundAccount_CardDetailsSchema = z.object({\n name: z.string().describe(\"Name of the cardholder.\").nullable().optional(),\n last4: z.string().describe(\"Last 4 digits of the card number.\").nullable().optional(),\n network: z.string().describe(\"Card network (e.g., Visa, Mastercard).\").nullable().optional(),\n}).passthrough().describe(\"Card details within a fund account.\");\nconst RazorpayGetFundAccount_BankAccountDetailsSchema = z.object({\n ifsc: z.string().describe(\"IFSC code of the bank branch.\").nullable().optional(),\n name: z.string().describe(\"Name of the account holder.\").nullable().optional(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n bank_name: z.string().describe(\"Name of the bank.\").nullable().optional(),\n account_number: z.string().describe(\"Bank account number.\").nullable().optional(),\n}).passthrough().describe(\"Bank account details within a fund account.\");\nexport const RazorpayGetFundAccountOutput = z.object({\n id: z.string().describe(\"Unique identifier for the fund account object.\").nullable(),\n vpa: RazorpayGetFundAccount_VpaDetailsSchema.nullable().optional(),\n card: RazorpayGetFundAccount_CardDetailsSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the fund account is active.\").nullable(),\n entity: z.string().describe(\"String representing the object's type. Always 'fund_account' for this endpoint.\").nullable(),\n batch_id: z.string().describe(\"Batch identifier if the fund account was created in a batch.\").nullable().optional(),\n contact_id: z.string().describe(\"The unique identifier of the contact associated with this fund account.\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when the fund account was created.\").nullable(),\n account_type: z.string().describe(\"The type of account (e.g., 'bank_account', 'vpa', 'card').\").nullable(),\n bank_account: RazorpayGetFundAccount_BankAccountDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing fund account details.\");\n\nexport const razorpayGetFundAccount = action(\"RAZORPAY_GET_FUND_ACCOUNT\", {\n slug: \"razorpay-get-fund-account\",\n name: \"Get Fund Account\",\n description: \"Tool to retrieve details of a specific fund account by its ID. Use when you need to fetch fund account information including associated contact, account type, and payment details.\",\n input: RazorpayGetFundAccountInput,\n output: RazorpayGetFundAccountOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-fund-account.mjs","names":[],"sources":["../../src/actions/get-fund-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { razorpay } from \"../app\";\n\nexport const RazorpayGetFundAccountInput = z.object({\n fund_account_id: z.string().describe(\"The unique identifier of the fund account to retrieve. Must start with 'fa_' followed by alphanumeric characters.\"),\n}).describe(\"Request model for retrieving a fund account.\");\nconst RazorpayGetFundAccount_VpaDetailsSchema = z.object({\n handle: z.string().describe(\"Handle part of the VPA (e.g., @paytm, @upi).\").nullable().optional(),\n address: z.string().describe(\"The VPA address (UPI ID).\").nullable().optional(),\n username: z.string().describe(\"Username part of the VPA.\").nullable().optional(),\n}).passthrough().describe(\"VPA (Virtual Payment Address) details within a fund account.\");\nconst RazorpayGetFundAccount_CardDetailsSchema = z.object({\n name: z.string().describe(\"Name of the cardholder.\").nullable().optional(),\n last4: z.string().describe(\"Last 4 digits of the card number.\").nullable().optional(),\n network: z.string().describe(\"Card network (e.g., Visa, Mastercard).\").nullable().optional(),\n}).passthrough().describe(\"Card details within a fund account.\");\nconst RazorpayGetFundAccount_BankAccountDetailsSchema = z.object({\n ifsc: z.string().describe(\"IFSC code of the bank branch.\").nullable().optional(),\n name: z.string().describe(\"Name of the account holder.\").nullable().optional(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n bank_name: z.string().describe(\"Name of the bank.\").nullable().optional(),\n account_number: z.string().describe(\"Bank account number.\").nullable().optional(),\n}).passthrough().describe(\"Bank account details within a fund account.\");\nexport const RazorpayGetFundAccountOutput = z.object({\n id: z.string().describe(\"Unique identifier for the fund account object.\").nullable(),\n vpa: RazorpayGetFundAccount_VpaDetailsSchema.nullable().optional(),\n card: RazorpayGetFundAccount_CardDetailsSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the fund account is active.\").nullable(),\n entity: z.string().describe(\"String representing the object's type. Always 'fund_account' for this endpoint.\").nullable(),\n batch_id: z.string().describe(\"Batch identifier if the fund account was created in a batch.\").nullable().optional(),\n contact_id: z.string().describe(\"The unique identifier of the contact associated with this fund account.\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when the fund account was created.\").nullable(),\n account_type: z.string().describe(\"The type of account (e.g., 'bank_account', 'vpa', 'card').\").nullable(),\n bank_account: RazorpayGetFundAccount_BankAccountDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing fund account details.\");\n\nexport const razorpayGetFundAccount: AppAction<\n typeof RazorpayGetFundAccountInput,\n typeof RazorpayGetFundAccountOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_GET_FUND_ACCOUNT\", {\n slug: \"razorpay-get-fund-account\",\n name: \"Get Fund Account\",\n description: \"Tool to retrieve details of a specific fund account by its ID. Use when you need to fetch fund account information including associated contact, account type, and payment details.\",\n input: RazorpayGetFundAccountInput,\n output: RazorpayGetFundAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,EAClD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,EAC1J,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,0CAA0C,EAAE,OAAO;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AACxF,MAAM,2CAA2C,EAAE,OAAO;CACxD,M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C,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACxH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACpH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACpG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACzG,cAAc,gDAAgD,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-item.cjs","names":["z","action"],"sources":["../../src/actions/get-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetItemInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the item to retrieve\"),\n});\nexport const RazorpayGetItemOutput = z.object({\n id: z.string().describe(\"Unique identifier of the item\").nullable(),\n name: z.string().describe(\"Name of the item\").nullable(),\n type: z.string().describe(\"Type of the item (e.g., 'invoice', 'plan')\").nullable(),\n unit: z.string().describe(\"Unit of measurement for the item if applicable\").nullable().optional(),\n active: z.boolean().describe(\"Whether the item is currently active\").nullable(),\n amount: z.number().int().describe(\"Amount in currency subunits (e.g., paise for INR)\").nullable(),\n tax_id: z.string().describe(\"ID of the associated tax entity\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD)\").nullable(),\n hsn_code: z.string().describe(\"HSN (Harmonized System of Nomenclature) code for taxation\").nullable().optional(),\n sac_code: z.string().describe(\"SAC (Service Accounting Code) for taxation\").nullable().optional(),\n tax_rate: z.number().describe(\"Tax rate percentage if applicable\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the item was created\").nullable(),\n description: z.string().describe(\"Description of the item\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit amount in currency subunits, same as amount for simple items\").nullable(),\n tax_group_id: z.string().describe(\"ID of the tax group this item belongs to\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax\").nullable(),\n}).passthrough();\n\nexport const razorpayGetItem = action(\"RAZORPAY_GET_ITEM\", {\n slug: \"razorpay-get-item\",\n name: \"Get Item\",\n description: \"Tool to retrieve complete details of a specific Razorpay item by its ID. Use when you need to fetch information about an item including its name, description, amount, tax details, and other metadata.\",\n input: RazorpayGetItemInput,\n output: RazorpayGetItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-item.cjs","names":["z","action"],"sources":["../../src/actions/get-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { razorpay } from \"../app\";\n\nexport const RazorpayGetItemInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the item to retrieve\"),\n});\nexport const RazorpayGetItemOutput = z.object({\n id: z.string().describe(\"Unique identifier of the item\").nullable(),\n name: z.string().describe(\"Name of the item\").nullable(),\n type: z.string().describe(\"Type of the item (e.g., 'invoice', 'plan')\").nullable(),\n unit: z.string().describe(\"Unit of measurement for the item if applicable\").nullable().optional(),\n active: z.boolean().describe(\"Whether the item is currently active\").nullable(),\n amount: z.number().int().describe(\"Amount in currency subunits (e.g., paise for INR)\").nullable(),\n tax_id: z.string().describe(\"ID of the associated tax entity\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD)\").nullable(),\n hsn_code: z.string().describe(\"HSN (Harmonized System of Nomenclature) code for taxation\").nullable().optional(),\n sac_code: z.string().describe(\"SAC (Service Accounting Code) for taxation\").nullable().optional(),\n tax_rate: z.number().describe(\"Tax rate percentage if applicable\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the item was created\").nullable(),\n description: z.string().describe(\"Description of the item\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit amount in currency subunits, same as amount for simple items\").nullable(),\n tax_group_id: z.string().describe(\"ID of the tax group this item belongs to\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax\").nullable(),\n}).passthrough();\n\nexport const razorpayGetItem: AppAction<\n typeof RazorpayGetItemInput,\n typeof RazorpayGetItemOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_GET_ITEM\", {\n slug: \"razorpay-get-item\",\n name: \"Get Item\",\n description: \"Tool to retrieve complete details of a specific Razorpay item by its ID. Use when you need to fetch information about an item including its name, description, amount, tax details, and other metadata.\",\n input: RazorpayGetItemInput,\n output: RazorpayGetItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAC9E,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACrH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { razorpay } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-item.d.ts
|
|
@@ -22,23 +24,7 @@ declare const RazorpayGetItemOutput: z.ZodObject<{
|
|
|
22
24
|
tax_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
tax_inclusive: z.ZodNullable<z.ZodBoolean>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const razorpayGetItem:
|
|
26
|
-
item_id: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
generic_id: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
35
|
-
connectionId: z.ZodString;
|
|
36
|
-
entityId: z.ZodString;
|
|
37
|
-
instanceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
generic_api_key: z.ZodString;
|
|
40
|
-
generic_id: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const razorpayGetItem: AppAction<typeof RazorpayGetItemInput, typeof RazorpayGetItemOutput, typeof razorpay.credential>;
|
|
42
28
|
//#endregion
|
|
43
29
|
export { razorpayGetItem };
|
|
44
30
|
//# sourceMappingURL=get-item.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-item.d.cts","names":[],"sources":["../../src/actions/get-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-item.d.cts","names":[],"sources":["../../src/actions/get-item.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAmBrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { razorpay } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-item.d.ts
|
|
@@ -22,23 +24,7 @@ declare const RazorpayGetItemOutput: z.ZodObject<{
|
|
|
22
24
|
tax_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
tax_inclusive: z.ZodNullable<z.ZodBoolean>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const razorpayGetItem:
|
|
26
|
-
item_id: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
generic_id: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
35
|
-
connectionId: z.ZodString;
|
|
36
|
-
entityId: z.ZodString;
|
|
37
|
-
instanceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
generic_api_key: z.ZodString;
|
|
40
|
-
generic_id: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const razorpayGetItem: AppAction<typeof RazorpayGetItemInput, typeof RazorpayGetItemOutput, typeof razorpay.credential>;
|
|
42
28
|
//#endregion
|
|
43
29
|
export { razorpayGetItem };
|
|
44
30
|
//# sourceMappingURL=get-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-item.d.mts","names":[],"sources":["../../src/actions/get-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-item.d.mts","names":[],"sources":["../../src/actions/get-item.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAmBrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-item.mjs","names":[],"sources":["../../src/actions/get-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetItemInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the item to retrieve\"),\n});\nexport const RazorpayGetItemOutput = z.object({\n id: z.string().describe(\"Unique identifier of the item\").nullable(),\n name: z.string().describe(\"Name of the item\").nullable(),\n type: z.string().describe(\"Type of the item (e.g., 'invoice', 'plan')\").nullable(),\n unit: z.string().describe(\"Unit of measurement for the item if applicable\").nullable().optional(),\n active: z.boolean().describe(\"Whether the item is currently active\").nullable(),\n amount: z.number().int().describe(\"Amount in currency subunits (e.g., paise for INR)\").nullable(),\n tax_id: z.string().describe(\"ID of the associated tax entity\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD)\").nullable(),\n hsn_code: z.string().describe(\"HSN (Harmonized System of Nomenclature) code for taxation\").nullable().optional(),\n sac_code: z.string().describe(\"SAC (Service Accounting Code) for taxation\").nullable().optional(),\n tax_rate: z.number().describe(\"Tax rate percentage if applicable\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the item was created\").nullable(),\n description: z.string().describe(\"Description of the item\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit amount in currency subunits, same as amount for simple items\").nullable(),\n tax_group_id: z.string().describe(\"ID of the tax group this item belongs to\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax\").nullable(),\n}).passthrough();\n\nexport const razorpayGetItem = action(\"RAZORPAY_GET_ITEM\", {\n slug: \"razorpay-get-item\",\n name: \"Get Item\",\n description: \"Tool to retrieve complete details of a specific Razorpay item by its ID. Use when you need to fetch information about an item including its name, description, amount, tax details, and other metadata.\",\n input: RazorpayGetItemInput,\n output: RazorpayGetItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-item.mjs","names":[],"sources":["../../src/actions/get-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { razorpay } from \"../app\";\n\nexport const RazorpayGetItemInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the item to retrieve\"),\n});\nexport const RazorpayGetItemOutput = z.object({\n id: z.string().describe(\"Unique identifier of the item\").nullable(),\n name: z.string().describe(\"Name of the item\").nullable(),\n type: z.string().describe(\"Type of the item (e.g., 'invoice', 'plan')\").nullable(),\n unit: z.string().describe(\"Unit of measurement for the item if applicable\").nullable().optional(),\n active: z.boolean().describe(\"Whether the item is currently active\").nullable(),\n amount: z.number().int().describe(\"Amount in currency subunits (e.g., paise for INR)\").nullable(),\n tax_id: z.string().describe(\"ID of the associated tax entity\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD)\").nullable(),\n hsn_code: z.string().describe(\"HSN (Harmonized System of Nomenclature) code for taxation\").nullable().optional(),\n sac_code: z.string().describe(\"SAC (Service Accounting Code) for taxation\").nullable().optional(),\n tax_rate: z.number().describe(\"Tax rate percentage if applicable\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the item was created\").nullable(),\n description: z.string().describe(\"Description of the item\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit amount in currency subunits, same as amount for simple items\").nullable(),\n tax_group_id: z.string().describe(\"ID of the tax group this item belongs to\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax\").nullable(),\n}).passthrough();\n\nexport const razorpayGetItem: AppAction<\n typeof RazorpayGetItemInput,\n typeof RazorpayGetItemOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_GET_ITEM\", {\n slug: \"razorpay-get-item\",\n name: \"Get Item\",\n description: \"Tool to retrieve complete details of a specific Razorpay item by its ID. Use when you need to fetch information about an item including its name, description, amount, tax details, and other metadata.\",\n input: RazorpayGetItemInput,\n output: RazorpayGetItemOutput,\n});\n"],"mappings":";;;AA4BA,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9BkC,EAAE,OAAO,EAC3C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAC9E,CA4BS;CACP,QA5BmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EACrH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAClF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-settlement-recon.cjs","names":["z","action"],"sources":["../../src/actions/get-settlement-recon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetSettlementReconInput = z.object({\n day: z.number().int().describe(\"Optional day for the reconciliation report (1-31). If not provided, fetches data for the entire month.\").optional(),\n skip: z.number().int().default(0).describe(\"Number of settlement records to skip for pagination (default: 0)\").optional(),\n year: z.number().int().describe(\"Year for the reconciliation report (e.g., 2024)\"),\n count: z.number().int().default(10).describe(\"Number of settlement records to fetch (default: 10, max: 100)\").optional(),\n month: z.number().int().describe(\"Month for the reconciliation report (1-12)\"),\n}).describe(\"Request model for fetching settlement reconciliation report.\");\nconst RazorpayGetSettlementRecon_SettlementReconItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the settlement transaction\").nullable().optional(),\n tax: z.number().int().describe(\"Tax amount charged\").nullable().optional(),\n utr: z.string().describe(\"Unique Transaction Reference number\").nullable().optional(),\n fees: z.number().int().describe(\"Fees charged for the settlement\").nullable().optional(),\n amount: z.number().int().describe(\"Settlement amount in the smallest currency unit (e.g., paise for INR)\").nullable().optional(),\n entity: z.string().describe(\"Entity type (e.g., 'settlement')\").nullable().optional(),\n status: z.string().describe(\"Status of the settlement (e.g., 'processed', 'failed')\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp when the settlement was created (Unix timestamp)\").nullable().optional(),\n}).passthrough().describe(\"Represents a single settlement reconciliation record.\");\nexport const RazorpayGetSettlementReconOutput = z.object({\n count: z.number().int().describe(\"Number of items in the response\").nullable().optional(),\n items: z.array(RazorpayGetSettlementRecon_SettlementReconItemSchema).describe(\"List of settlement reconciliation records with detailed transaction information\").nullable().optional(),\n entity: z.string().describe(\"Entity type of the response (e.g., 'collection')\").nullable().optional(),\n}).passthrough().describe(\"Response model for settlement reconciliation report.\\nContains the reconciliation data for settlements in the specified time period.\");\n\nexport const razorpayGetSettlementRecon = action(\"RAZORPAY_GET_SETTLEMENT_RECON\", {\n slug: \"razorpay-get-settlement-recon\",\n name: \"Get Settlement Reconciliation Report\",\n description: \"Tool to fetch settlement reconciliation report for a specific date or month from Razorpay. Use when you need to retrieve detailed settlement transaction data for accounting and reconciliation purposes.\",\n input: RazorpayGetSettlementReconInput,\n output: RazorpayGetSettlementReconOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-settlement-recon.cjs","names":["z","action"],"sources":["../../src/actions/get-settlement-recon.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { razorpay } from \"../app\";\n\nexport const RazorpayGetSettlementReconInput = z.object({\n day: z.number().int().describe(\"Optional day for the reconciliation report (1-31). If not provided, fetches data for the entire month.\").optional(),\n skip: z.number().int().default(0).describe(\"Number of settlement records to skip for pagination (default: 0)\").optional(),\n year: z.number().int().describe(\"Year for the reconciliation report (e.g., 2024)\"),\n count: z.number().int().default(10).describe(\"Number of settlement records to fetch (default: 10, max: 100)\").optional(),\n month: z.number().int().describe(\"Month for the reconciliation report (1-12)\"),\n}).describe(\"Request model for fetching settlement reconciliation report.\");\nconst RazorpayGetSettlementRecon_SettlementReconItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the settlement transaction\").nullable().optional(),\n tax: z.number().int().describe(\"Tax amount charged\").nullable().optional(),\n utr: z.string().describe(\"Unique Transaction Reference number\").nullable().optional(),\n fees: z.number().int().describe(\"Fees charged for the settlement\").nullable().optional(),\n amount: z.number().int().describe(\"Settlement amount in the smallest currency unit (e.g., paise for INR)\").nullable().optional(),\n entity: z.string().describe(\"Entity type (e.g., 'settlement')\").nullable().optional(),\n status: z.string().describe(\"Status of the settlement (e.g., 'processed', 'failed')\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp when the settlement was created (Unix timestamp)\").nullable().optional(),\n}).passthrough().describe(\"Represents a single settlement reconciliation record.\");\nexport const RazorpayGetSettlementReconOutput = z.object({\n count: z.number().int().describe(\"Number of items in the response\").nullable().optional(),\n items: z.array(RazorpayGetSettlementRecon_SettlementReconItemSchema).describe(\"List of settlement reconciliation records with detailed transaction information\").nullable().optional(),\n entity: z.string().describe(\"Entity type of the response (e.g., 'collection')\").nullable().optional(),\n}).passthrough().describe(\"Response model for settlement reconciliation report.\\nContains the reconciliation data for settlements in the specified time period.\");\n\nexport const razorpayGetSettlementRecon: AppAction<\n typeof RazorpayGetSettlementReconInput,\n typeof RazorpayGetSettlementReconOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_GET_SETTLEMENT_RECON\", {\n slug: \"razorpay-get-settlement-recon\",\n name: \"Get Settlement Reconciliation Report\",\n description: \"Tool to fetch settlement reconciliation report for a specific date or month from Razorpay. Use when you need to retrieve detailed settlement transaction data for accounting and reconciliation purposes.\",\n input: RazorpayGetSettlementReconInput,\n output: RazorpayGetSettlementReconOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,I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AC,CAAC,SAAS;CAC1G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrL,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sIAAsI;AAEhK,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { razorpay } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-settlement-recon.d.ts
|
|
@@ -22,27 +24,7 @@ declare const RazorpayGetSettlementReconOutput: z.ZodObject<{
|
|
|
22
24
|
}, z.core.$loose>>>>;
|
|
23
25
|
entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const razorpayGetSettlementRecon:
|
|
26
|
-
year: number;
|
|
27
|
-
month: number;
|
|
28
|
-
day?: number | undefined;
|
|
29
|
-
skip?: number | undefined;
|
|
30
|
-
count?: number | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
generic_id: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
generic_api_key: z.ZodString;
|
|
44
|
-
generic_id: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const razorpayGetSettlementRecon: AppAction<typeof RazorpayGetSettlementReconInput, typeof RazorpayGetSettlementReconOutput, typeof razorpay.credential>;
|
|
46
28
|
//#endregion
|
|
47
29
|
export { razorpayGetSettlementRecon };
|
|
48
30
|
//# sourceMappingURL=get-settlement-recon.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-settlement-recon.d.cts","names":[],"sources":["../../src/actions/get-settlement-recon.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-settlement-recon.d.cts","names":[],"sources":["../../src/actions/get-settlement-recon.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAiB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { razorpay } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-settlement-recon.d.ts
|
|
@@ -22,27 +24,7 @@ declare const RazorpayGetSettlementReconOutput: z.ZodObject<{
|
|
|
22
24
|
}, z.core.$loose>>>>;
|
|
23
25
|
entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const razorpayGetSettlementRecon:
|
|
26
|
-
year: number;
|
|
27
|
-
month: number;
|
|
28
|
-
day?: number | undefined;
|
|
29
|
-
skip?: number | undefined;
|
|
30
|
-
count?: number | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
generic_id: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
generic_api_key: z.ZodString;
|
|
44
|
-
generic_id: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const razorpayGetSettlementRecon: AppAction<typeof RazorpayGetSettlementReconInput, typeof RazorpayGetSettlementReconOutput, typeof razorpay.credential>;
|
|
46
28
|
//#endregion
|
|
47
29
|
export { razorpayGetSettlementRecon };
|
|
48
30
|
//# sourceMappingURL=get-settlement-recon.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-settlement-recon.d.mts","names":[],"sources":["../../src/actions/get-settlement-recon.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-settlement-recon.d.mts","names":[],"sources":["../../src/actions/get-settlement-recon.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAiB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-settlement-recon.mjs","names":[],"sources":["../../src/actions/get-settlement-recon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetSettlementReconInput = z.object({\n day: z.number().int().describe(\"Optional day for the reconciliation report (1-31). If not provided, fetches data for the entire month.\").optional(),\n skip: z.number().int().default(0).describe(\"Number of settlement records to skip for pagination (default: 0)\").optional(),\n year: z.number().int().describe(\"Year for the reconciliation report (e.g., 2024)\"),\n count: z.number().int().default(10).describe(\"Number of settlement records to fetch (default: 10, max: 100)\").optional(),\n month: z.number().int().describe(\"Month for the reconciliation report (1-12)\"),\n}).describe(\"Request model for fetching settlement reconciliation report.\");\nconst RazorpayGetSettlementRecon_SettlementReconItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the settlement transaction\").nullable().optional(),\n tax: z.number().int().describe(\"Tax amount charged\").nullable().optional(),\n utr: z.string().describe(\"Unique Transaction Reference number\").nullable().optional(),\n fees: z.number().int().describe(\"Fees charged for the settlement\").nullable().optional(),\n amount: z.number().int().describe(\"Settlement amount in the smallest currency unit (e.g., paise for INR)\").nullable().optional(),\n entity: z.string().describe(\"Entity type (e.g., 'settlement')\").nullable().optional(),\n status: z.string().describe(\"Status of the settlement (e.g., 'processed', 'failed')\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp when the settlement was created (Unix timestamp)\").nullable().optional(),\n}).passthrough().describe(\"Represents a single settlement reconciliation record.\");\nexport const RazorpayGetSettlementReconOutput = z.object({\n count: z.number().int().describe(\"Number of items in the response\").nullable().optional(),\n items: z.array(RazorpayGetSettlementRecon_SettlementReconItemSchema).describe(\"List of settlement reconciliation records with detailed transaction information\").nullable().optional(),\n entity: z.string().describe(\"Entity type of the response (e.g., 'collection')\").nullable().optional(),\n}).passthrough().describe(\"Response model for settlement reconciliation report.\\nContains the reconciliation data for settlements in the specified time period.\");\n\nexport const razorpayGetSettlementRecon = action(\"RAZORPAY_GET_SETTLEMENT_RECON\", {\n slug: \"razorpay-get-settlement-recon\",\n name: \"Get Settlement Reconciliation Report\",\n description: \"Tool to fetch settlement reconciliation report for a specific date or month from Razorpay. Use when you need to retrieve detailed settlement transaction data for accounting and reconciliation purposes.\",\n input: RazorpayGetSettlementReconInput,\n output: RazorpayGetSettlementReconOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-settlement-recon.mjs","names":[],"sources":["../../src/actions/get-settlement-recon.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { razorpay } from \"../app\";\n\nexport const RazorpayGetSettlementReconInput = z.object({\n day: z.number().int().describe(\"Optional day for the reconciliation report (1-31). If not provided, fetches data for the entire month.\").optional(),\n skip: z.number().int().default(0).describe(\"Number of settlement records to skip for pagination (default: 0)\").optional(),\n year: z.number().int().describe(\"Year for the reconciliation report (e.g., 2024)\"),\n count: z.number().int().default(10).describe(\"Number of settlement records to fetch (default: 10, max: 100)\").optional(),\n month: z.number().int().describe(\"Month for the reconciliation report (1-12)\"),\n}).describe(\"Request model for fetching settlement reconciliation report.\");\nconst RazorpayGetSettlementRecon_SettlementReconItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the settlement transaction\").nullable().optional(),\n tax: z.number().int().describe(\"Tax amount charged\").nullable().optional(),\n utr: z.string().describe(\"Unique Transaction Reference number\").nullable().optional(),\n fees: z.number().int().describe(\"Fees charged for the settlement\").nullable().optional(),\n amount: z.number().int().describe(\"Settlement amount in the smallest currency unit (e.g., paise for INR)\").nullable().optional(),\n entity: z.string().describe(\"Entity type (e.g., 'settlement')\").nullable().optional(),\n status: z.string().describe(\"Status of the settlement (e.g., 'processed', 'failed')\").nullable().optional(),\n created_at: z.number().int().describe(\"Timestamp when the settlement was created (Unix timestamp)\").nullable().optional(),\n}).passthrough().describe(\"Represents a single settlement reconciliation record.\");\nexport const RazorpayGetSettlementReconOutput = z.object({\n count: z.number().int().describe(\"Number of items in the response\").nullable().optional(),\n items: z.array(RazorpayGetSettlementRecon_SettlementReconItemSchema).describe(\"List of settlement reconciliation records with detailed transaction information\").nullable().optional(),\n entity: z.string().describe(\"Entity type of the response (e.g., 'collection')\").nullable().optional(),\n}).passthrough().describe(\"Response model for settlement reconciliation report.\\nContains the reconciliation data for settlements in the specified time period.\");\n\nexport const razorpayGetSettlementRecon: AppAction<\n typeof RazorpayGetSettlementReconInput,\n typeof RazorpayGetSettlementReconOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_GET_SETTLEMENT_RECON\", {\n slug: \"razorpay-get-settlement-recon\",\n name: \"Get Settlement Reconciliation Report\",\n description: \"Tool to fetch settlement reconciliation report for a specific date or month from Razorpay. Use when you need to retrieve detailed settlement transaction data for accounting and reconciliation purposes.\",\n input: RazorpayGetSettlementReconInput,\n output: RazorpayGetSettlementReconOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAClJ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACxH,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC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AiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrL,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sIAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-transfer-reversals.cjs","names":["z","action"],"sources":["../../src/actions/get-transfer-reversals.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetTransferReversalsInput = z.object({\n skip: z.number().int().describe(\"Number of reversals to skip for pagination. Use with count to navigate through pages.\").optional(),\n count: z.number().int().describe(\"Number of reversals to fetch. Default is 10, maximum is 100.\").optional(),\n transfer_id: z.string().describe(\"The unique identifier of the transfer for which to fetch reversals.\"),\n to_timestamp: z.number().int().describe(\"Unix timestamp before which the reversals were created. Filter reversals created on or before this time.\").optional(),\n from_timestamp: z.number().int().describe(\"Unix timestamp after which the reversals were created. Filter reversals created on or after this time.\").optional(),\n}).describe(\"Request parameters for fetching all reversals for a specific transfer.\");\nconst RazorpayGetTransferReversals_ReversalSchema = z.object({\n id: z.string().describe(\"Unique identifier for the reversal.\").nullable().optional(),\n fee: z.number().int().describe(\"Fee charged for the reversal in currency subunits.\").nullable().optional(),\n tax: z.number().int().describe(\"Tax charged on the reversal fee in currency subunits.\").nullable().optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs for custom data associated with the reversal.\").nullable().optional(),\n amount: z.number().int().describe(\"Reversal amount in currency subunits (e.g., paise for INR). For example, 10000 means ₹100.00.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'reversal' for reversal objects.\").nullable().optional(),\n on_hold: z.boolean().describe(\"Indicates whether the reversal is on hold.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD).\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the reversal was created.\").nullable().optional(),\n transfer_id: z.string().describe(\"Unique identifier of the transfer that was reversed.\").nullable().optional(),\n on_hold_until: z.number().int().describe(\"Unix timestamp until which the reversal is on hold. Null if not on hold.\").nullable().optional(),\n linked_account_notes: z.array(z.unknown()).describe(\"Notes from the linked account associated with the reversal.\").nullable().optional(),\n}).passthrough().describe(\"Represents an individual reversal in the Razorpay system.\");\nexport const RazorpayGetTransferReversalsOutput = z.object({\n count: z.number().int().describe(\"Number of reversals returned in this response.\").nullable().optional(),\n items: z.array(RazorpayGetTransferReversals_ReversalSchema).describe(\"Array of reversal objects for the specified transfer.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, typically 'collection' for list responses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for fetching all reversals for a specific transfer.\");\n\nexport const razorpayGetTransferReversals = action(\"RAZORPAY_GET_TRANSFER_REVERSALS\", {\n slug: \"razorpay-get-transfer-reversals\",\n name: \"Get Transfer Reversals\",\n description: \"Tool to fetch all reversals for a specific transfer using the Razorpay Route API. Use when you need to check reversal status, track reversal history, or list all reversals associated with a particular transfer.\",\n input: RazorpayGetTransferReversalsInput,\n output: RazorpayGetTransferReversalsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-transfer-reversals.cjs","names":["z","action"],"sources":["../../src/actions/get-transfer-reversals.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { razorpay } from \"../app\";\n\nexport const RazorpayGetTransferReversalsInput = z.object({\n skip: z.number().int().describe(\"Number of reversals to skip for pagination. Use with count to navigate through pages.\").optional(),\n count: z.number().int().describe(\"Number of reversals to fetch. Default is 10, maximum is 100.\").optional(),\n transfer_id: z.string().describe(\"The unique identifier of the transfer for which to fetch reversals.\"),\n to_timestamp: z.number().int().describe(\"Unix timestamp before which the reversals were created. Filter reversals created on or before this time.\").optional(),\n from_timestamp: z.number().int().describe(\"Unix timestamp after which the reversals were created. Filter reversals created on or after this time.\").optional(),\n}).describe(\"Request parameters for fetching all reversals for a specific transfer.\");\nconst RazorpayGetTransferReversals_ReversalSchema = z.object({\n id: z.string().describe(\"Unique identifier for the reversal.\").nullable().optional(),\n fee: z.number().int().describe(\"Fee charged for the reversal in currency subunits.\").nullable().optional(),\n tax: z.number().int().describe(\"Tax charged on the reversal fee in currency subunits.\").nullable().optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs for custom data associated with the reversal.\").nullable().optional(),\n amount: z.number().int().describe(\"Reversal amount in currency subunits (e.g., paise for INR). For example, 10000 means ₹100.00.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'reversal' for reversal objects.\").nullable().optional(),\n on_hold: z.boolean().describe(\"Indicates whether the reversal is on hold.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD).\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the reversal was created.\").nullable().optional(),\n transfer_id: z.string().describe(\"Unique identifier of the transfer that was reversed.\").nullable().optional(),\n on_hold_until: z.number().int().describe(\"Unix timestamp until which the reversal is on hold. Null if not on hold.\").nullable().optional(),\n linked_account_notes: z.array(z.unknown()).describe(\"Notes from the linked account associated with the reversal.\").nullable().optional(),\n}).passthrough().describe(\"Represents an individual reversal in the Razorpay system.\");\nexport const RazorpayGetTransferReversalsOutput = z.object({\n count: z.number().int().describe(\"Number of reversals returned in this response.\").nullable().optional(),\n items: z.array(RazorpayGetTransferReversals_ReversalSchema).describe(\"Array of reversal objects for the specified transfer.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, typically 'collection' for list responses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for fetching all reversals for a specific transfer.\");\n\nexport const razorpayGetTransferReversals: AppAction<\n typeof RazorpayGetTransferReversalsInput,\n typeof RazorpayGetTransferReversalsOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_GET_TRANSFER_REVERSALS\", {\n slug: \"razorpay-get-transfer-reversals\",\n name: \"Get Transfer Reversals\",\n description: \"Tool to fetch all reversals for a specific transfer using the Razorpay Route API. Use when you need to check reversal status, track reversal history, or list all reversals associated with a particular transfer.\",\n input: RazorpayGetTransferReversalsInput,\n output: RazorpayGetTransferReversalsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAClI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAC7J,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;AAC/J,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,QAAQA,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,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { razorpay } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-transfer-reversals.d.ts
|
|
@@ -26,27 +28,7 @@ declare const RazorpayGetTransferReversalsOutput: z.ZodObject<{
|
|
|
26
28
|
}, z.core.$loose>>>>;
|
|
27
29
|
entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const razorpayGetTransferReversals:
|
|
30
|
-
transfer_id: string;
|
|
31
|
-
skip?: number | undefined;
|
|
32
|
-
count?: number | undefined;
|
|
33
|
-
to_timestamp?: number | undefined;
|
|
34
|
-
from_timestamp?: number | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
generic_id: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
generic_id: z.ZodString;
|
|
49
|
-
}, z.core.$strip>>]>;
|
|
31
|
+
declare const razorpayGetTransferReversals: AppAction<typeof RazorpayGetTransferReversalsInput, typeof RazorpayGetTransferReversalsOutput, typeof razorpay.credential>;
|
|
50
32
|
//#endregion
|
|
51
33
|
export { razorpayGetTransferReversals };
|
|
52
34
|
//# sourceMappingURL=get-transfer-reversals.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-transfer-reversals.d.cts","names":[],"sources":["../../src/actions/get-transfer-reversals.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-transfer-reversals.d.cts","names":[],"sources":["../../src/actions/get-transfer-reversals.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAqBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { razorpay } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-transfer-reversals.d.ts
|
|
@@ -26,27 +28,7 @@ declare const RazorpayGetTransferReversalsOutput: z.ZodObject<{
|
|
|
26
28
|
}, z.core.$loose>>>>;
|
|
27
29
|
entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
30
|
}, z.core.$loose>;
|
|
29
|
-
declare const razorpayGetTransferReversals:
|
|
30
|
-
transfer_id: string;
|
|
31
|
-
skip?: number | undefined;
|
|
32
|
-
count?: number | undefined;
|
|
33
|
-
to_timestamp?: number | undefined;
|
|
34
|
-
from_timestamp?: number | undefined;
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
generic_id: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
generic_id: z.ZodString;
|
|
49
|
-
}, z.core.$strip>>]>;
|
|
31
|
+
declare const razorpayGetTransferReversals: AppAction<typeof RazorpayGetTransferReversalsInput, typeof RazorpayGetTransferReversalsOutput, typeof razorpay.credential>;
|
|
50
32
|
//#endregion
|
|
51
33
|
export { razorpayGetTransferReversals };
|
|
52
34
|
//# sourceMappingURL=get-transfer-reversals.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-transfer-reversals.d.mts","names":[],"sources":["../../src/actions/get-transfer-reversals.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-transfer-reversals.d.mts","names":[],"sources":["../../src/actions/get-transfer-reversals.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAqBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-transfer-reversals.mjs","names":[],"sources":["../../src/actions/get-transfer-reversals.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayGetTransferReversalsInput = z.object({\n skip: z.number().int().describe(\"Number of reversals to skip for pagination. Use with count to navigate through pages.\").optional(),\n count: z.number().int().describe(\"Number of reversals to fetch. Default is 10, maximum is 100.\").optional(),\n transfer_id: z.string().describe(\"The unique identifier of the transfer for which to fetch reversals.\"),\n to_timestamp: z.number().int().describe(\"Unix timestamp before which the reversals were created. Filter reversals created on or before this time.\").optional(),\n from_timestamp: z.number().int().describe(\"Unix timestamp after which the reversals were created. Filter reversals created on or after this time.\").optional(),\n}).describe(\"Request parameters for fetching all reversals for a specific transfer.\");\nconst RazorpayGetTransferReversals_ReversalSchema = z.object({\n id: z.string().describe(\"Unique identifier for the reversal.\").nullable().optional(),\n fee: z.number().int().describe(\"Fee charged for the reversal in currency subunits.\").nullable().optional(),\n tax: z.number().int().describe(\"Tax charged on the reversal fee in currency subunits.\").nullable().optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs for custom data associated with the reversal.\").nullable().optional(),\n amount: z.number().int().describe(\"Reversal amount in currency subunits (e.g., paise for INR). For example, 10000 means ₹100.00.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'reversal' for reversal objects.\").nullable().optional(),\n on_hold: z.boolean().describe(\"Indicates whether the reversal is on hold.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD).\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the reversal was created.\").nullable().optional(),\n transfer_id: z.string().describe(\"Unique identifier of the transfer that was reversed.\").nullable().optional(),\n on_hold_until: z.number().int().describe(\"Unix timestamp until which the reversal is on hold. Null if not on hold.\").nullable().optional(),\n linked_account_notes: z.array(z.unknown()).describe(\"Notes from the linked account associated with the reversal.\").nullable().optional(),\n}).passthrough().describe(\"Represents an individual reversal in the Razorpay system.\");\nexport const RazorpayGetTransferReversalsOutput = z.object({\n count: z.number().int().describe(\"Number of reversals returned in this response.\").nullable().optional(),\n items: z.array(RazorpayGetTransferReversals_ReversalSchema).describe(\"Array of reversal objects for the specified transfer.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, typically 'collection' for list responses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for fetching all reversals for a specific transfer.\");\n\nexport const razorpayGetTransferReversals = action(\"RAZORPAY_GET_TRANSFER_REVERSALS\", {\n slug: \"razorpay-get-transfer-reversals\",\n name: \"Get Transfer Reversals\",\n description: \"Tool to fetch all reversals for a specific transfer using the Razorpay Route API. Use when you need to check reversal status, track reversal history, or list all reversals associated with a particular transfer.\",\n input: RazorpayGetTransferReversalsInput,\n output: RazorpayGetTransferReversalsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-transfer-reversals.mjs","names":[],"sources":["../../src/actions/get-transfer-reversals.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { razorpay } from \"../app\";\n\nexport const RazorpayGetTransferReversalsInput = z.object({\n skip: z.number().int().describe(\"Number of reversals to skip for pagination. Use with count to navigate through pages.\").optional(),\n count: z.number().int().describe(\"Number of reversals to fetch. Default is 10, maximum is 100.\").optional(),\n transfer_id: z.string().describe(\"The unique identifier of the transfer for which to fetch reversals.\"),\n to_timestamp: z.number().int().describe(\"Unix timestamp before which the reversals were created. Filter reversals created on or before this time.\").optional(),\n from_timestamp: z.number().int().describe(\"Unix timestamp after which the reversals were created. Filter reversals created on or after this time.\").optional(),\n}).describe(\"Request parameters for fetching all reversals for a specific transfer.\");\nconst RazorpayGetTransferReversals_ReversalSchema = z.object({\n id: z.string().describe(\"Unique identifier for the reversal.\").nullable().optional(),\n fee: z.number().int().describe(\"Fee charged for the reversal in currency subunits.\").nullable().optional(),\n tax: z.number().int().describe(\"Tax charged on the reversal fee in currency subunits.\").nullable().optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs for custom data associated with the reversal.\").nullable().optional(),\n amount: z.number().int().describe(\"Reversal amount in currency subunits (e.g., paise for INR). For example, 10000 means ₹100.00.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'reversal' for reversal objects.\").nullable().optional(),\n on_hold: z.boolean().describe(\"Indicates whether the reversal is on hold.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD).\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the reversal was created.\").nullable().optional(),\n transfer_id: z.string().describe(\"Unique identifier of the transfer that was reversed.\").nullable().optional(),\n on_hold_until: z.number().int().describe(\"Unix timestamp until which the reversal is on hold. Null if not on hold.\").nullable().optional(),\n linked_account_notes: z.array(z.unknown()).describe(\"Notes from the linked account associated with the reversal.\").nullable().optional(),\n}).passthrough().describe(\"Represents an individual reversal in the Razorpay system.\");\nexport const RazorpayGetTransferReversalsOutput = z.object({\n count: z.number().int().describe(\"Number of reversals returned in this response.\").nullable().optional(),\n items: z.array(RazorpayGetTransferReversals_ReversalSchema).describe(\"Array of reversal objects for the specified transfer.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, typically 'collection' for list responses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for fetching all reversals for a specific transfer.\");\n\nexport const razorpayGetTransferReversals: AppAction<\n typeof RazorpayGetTransferReversalsInput,\n typeof RazorpayGetTransferReversalsOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_GET_TRANSFER_REVERSALS\", {\n slug: \"razorpay-get-transfer-reversals\",\n name: \"Get Transfer Reversals\",\n description: \"Tool to fetch all reversals for a specific transfer using the Razorpay Route API. Use when you need to check reversal status, track reversal history, or list all reversals associated with a particular transfer.\",\n input: RazorpayGetTransferReversalsInput,\n output: RazorpayGetTransferReversalsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAClI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAq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