@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":"list-fund-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-fund-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayListFundAccountsInput = z.object({\n skip: z.number().int().describe(\"Number of fund accounts to skip for pagination. Use with count to navigate through pages.\").optional(),\n count: z.number().int().describe(\"Number of fund accounts to retrieve per page. Maximum 100 accounts per request.\").optional(),\n contact_id: z.string().describe(\"Filter fund accounts by contact ID. Returns only fund accounts associated with the specified contact.\").optional(),\n account_type: z.string().describe(\"Filter fund accounts by account type (e.g., 'bank_account', 'vpa', 'card', 'wallet').\").optional(),\n}).describe(\"Request parameters for listing fund accounts with pagination support.\");\nconst RazorpayListFundAccounts_VPASchema = z.object({\n address: z.string().describe(\"UPI VPA address (e.g., user@okaxis).\").nullable().optional(),\n}).passthrough().describe(\"Virtual Payment Address details for a fund account.\");\nconst RazorpayListFundAccounts_CardSchema = 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 for a fund account.\");\nconst RazorpayListFundAccounts_BankAccountSchema = 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 for a fund account.\");\nconst RazorpayListFundAccounts_FundAccountSchema = z.object({\n id: z.string().describe(\"Unique identifier for the fund account.\").nullable().optional(),\n vpa: RazorpayListFundAccounts_VPASchema.nullable().optional(),\n card: RazorpayListFundAccounts_CardSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the fund account is currently active.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'fund_account' for fund account objects.\").nullable().optional(),\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(\"Unique identifier of the contact associated with this fund account.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the fund account was created.\").nullable().optional(),\n account_type: z.string().describe(\"Type of account (bank_account, vpa, card, wallet).\").nullable().optional(),\n bank_account: RazorpayListFundAccounts_BankAccountSchema.nullable().optional(),\n}).passthrough().describe(\"Represents an individual fund account in the Razorpay system.\");\nexport const RazorpayListFundAccountsOutput = z.object({\n count: z.number().int().describe(\"Number of fund accounts returned in this response.\").nullable().optional(),\n items: z.array(RazorpayListFundAccounts_FundAccountSchema).describe(\"Array of fund account objects returned by the API.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, typically 'collection' for list responses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing fund accounts.\");\n\nexport const razorpayListFundAccounts = action(\"RAZORPAY_LIST_FUND_ACCOUNTS\", {\n slug: \"razorpay-list-fund-accounts\",\n name: \"List Fund Accounts\",\n description: \"Tool to retrieve a list of all fund accounts from RazorpayX with pagination support. Use when you need to fetch payout destinations, view beneficiary accounts, or manage fund account records. Supports filtering by contact and account type for efficient retrieval.\",\n input: RazorpayListFundAccountsInput,\n output: RazorpayListFundAccountsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-fund-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-fund-accounts.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 RazorpayListFundAccountsInput = z.object({\n skip: z.number().int().describe(\"Number of fund accounts to skip for pagination. Use with count to navigate through pages.\").optional(),\n count: z.number().int().describe(\"Number of fund accounts to retrieve per page. Maximum 100 accounts per request.\").optional(),\n contact_id: z.string().describe(\"Filter fund accounts by contact ID. Returns only fund accounts associated with the specified contact.\").optional(),\n account_type: z.string().describe(\"Filter fund accounts by account type (e.g., 'bank_account', 'vpa', 'card', 'wallet').\").optional(),\n}).describe(\"Request parameters for listing fund accounts with pagination support.\");\nconst RazorpayListFundAccounts_VPASchema = z.object({\n address: z.string().describe(\"UPI VPA address (e.g., user@okaxis).\").nullable().optional(),\n}).passthrough().describe(\"Virtual Payment Address details for a fund account.\");\nconst RazorpayListFundAccounts_CardSchema = 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 for a fund account.\");\nconst RazorpayListFundAccounts_BankAccountSchema = 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 for a fund account.\");\nconst RazorpayListFundAccounts_FundAccountSchema = z.object({\n id: z.string().describe(\"Unique identifier for the fund account.\").nullable().optional(),\n vpa: RazorpayListFundAccounts_VPASchema.nullable().optional(),\n card: RazorpayListFundAccounts_CardSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the fund account is currently active.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'fund_account' for fund account objects.\").nullable().optional(),\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(\"Unique identifier of the contact associated with this fund account.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the fund account was created.\").nullable().optional(),\n account_type: z.string().describe(\"Type of account (bank_account, vpa, card, wallet).\").nullable().optional(),\n bank_account: RazorpayListFundAccounts_BankAccountSchema.nullable().optional(),\n}).passthrough().describe(\"Represents an individual fund account in the Razorpay system.\");\nexport const RazorpayListFundAccountsOutput = z.object({\n count: z.number().int().describe(\"Number of fund accounts returned in this response.\").nullable().optional(),\n items: z.array(RazorpayListFundAccounts_FundAccountSchema).describe(\"Array of fund account objects returned by the API.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, typically 'collection' for list responses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing fund accounts.\");\n\nexport const razorpayListFundAccounts: AppAction<\n typeof RazorpayListFundAccountsInput,\n typeof RazorpayListFundAccountsOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_LIST_FUND_ACCOUNTS\", {\n slug: \"razorpay-list-fund-accounts\",\n name: \"List Fund Accounts\",\n description: \"Tool to retrieve a list of all fund accounts from RazorpayX with pagination support. Use when you need to fetch payout destinations, view beneficiary accounts, or manage fund account records. Supports filtering by contact and account type for efficient retrieval.\",\n input: RazorpayListFundAccountsInput,\n output: RazorpayListFundAccountsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACtI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,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,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,OAAOA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,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/list-fund-accounts.d.ts
|
|
@@ -35,26 +37,7 @@ declare const RazorpayListFundAccountsOutput: z.ZodObject<{
|
|
|
35
37
|
}, z.core.$loose>>>>;
|
|
36
38
|
entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
39
|
}, z.core.$loose>;
|
|
38
|
-
declare const razorpayListFundAccounts:
|
|
39
|
-
skip?: number | undefined;
|
|
40
|
-
count?: number | undefined;
|
|
41
|
-
contact_id?: string | undefined;
|
|
42
|
-
account_type?: string | undefined;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
44
|
-
connectionId: z.ZodString;
|
|
45
|
-
entityId: z.ZodString;
|
|
46
|
-
instanceId: z.ZodString;
|
|
47
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
-
generic_api_key: z.ZodString;
|
|
49
|
-
generic_id: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
51
|
-
connectionId: z.ZodString;
|
|
52
|
-
entityId: z.ZodString;
|
|
53
|
-
instanceId: z.ZodString;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
generic_api_key: z.ZodString;
|
|
56
|
-
generic_id: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>;
|
|
40
|
+
declare const razorpayListFundAccounts: AppAction<typeof RazorpayListFundAccountsInput, typeof RazorpayListFundAccountsOutput, typeof razorpay.credential>;
|
|
58
41
|
//#endregion
|
|
59
42
|
export { razorpayListFundAccounts };
|
|
60
43
|
//# sourceMappingURL=list-fund-accounts.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-fund-accounts.d.cts","names":[],"sources":["../../src/actions/list-fund-accounts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-fund-accounts.d.cts","names":[],"sources":["../../src/actions/list-fund-accounts.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAiC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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/list-fund-accounts.d.ts
|
|
@@ -35,26 +37,7 @@ declare const RazorpayListFundAccountsOutput: z.ZodObject<{
|
|
|
35
37
|
}, z.core.$loose>>>>;
|
|
36
38
|
entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
39
|
}, z.core.$loose>;
|
|
38
|
-
declare const razorpayListFundAccounts:
|
|
39
|
-
skip?: number | undefined;
|
|
40
|
-
count?: number | undefined;
|
|
41
|
-
contact_id?: string | undefined;
|
|
42
|
-
account_type?: string | undefined;
|
|
43
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
44
|
-
connectionId: z.ZodString;
|
|
45
|
-
entityId: z.ZodString;
|
|
46
|
-
instanceId: z.ZodString;
|
|
47
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
-
generic_api_key: z.ZodString;
|
|
49
|
-
generic_id: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
51
|
-
connectionId: z.ZodString;
|
|
52
|
-
entityId: z.ZodString;
|
|
53
|
-
instanceId: z.ZodString;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
generic_api_key: z.ZodString;
|
|
56
|
-
generic_id: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>;
|
|
40
|
+
declare const razorpayListFundAccounts: AppAction<typeof RazorpayListFundAccountsInput, typeof RazorpayListFundAccountsOutput, typeof razorpay.credential>;
|
|
58
41
|
//#endregion
|
|
59
42
|
export { razorpayListFundAccounts };
|
|
60
43
|
//# sourceMappingURL=list-fund-accounts.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-fund-accounts.d.mts","names":[],"sources":["../../src/actions/list-fund-accounts.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-fund-accounts.d.mts","names":[],"sources":["../../src/actions/list-fund-accounts.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAiC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-fund-accounts.mjs","names":[],"sources":["../../src/actions/list-fund-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayListFundAccountsInput = z.object({\n skip: z.number().int().describe(\"Number of fund accounts to skip for pagination. Use with count to navigate through pages.\").optional(),\n count: z.number().int().describe(\"Number of fund accounts to retrieve per page. Maximum 100 accounts per request.\").optional(),\n contact_id: z.string().describe(\"Filter fund accounts by contact ID. Returns only fund accounts associated with the specified contact.\").optional(),\n account_type: z.string().describe(\"Filter fund accounts by account type (e.g., 'bank_account', 'vpa', 'card', 'wallet').\").optional(),\n}).describe(\"Request parameters for listing fund accounts with pagination support.\");\nconst RazorpayListFundAccounts_VPASchema = z.object({\n address: z.string().describe(\"UPI VPA address (e.g., user@okaxis).\").nullable().optional(),\n}).passthrough().describe(\"Virtual Payment Address details for a fund account.\");\nconst RazorpayListFundAccounts_CardSchema = 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 for a fund account.\");\nconst RazorpayListFundAccounts_BankAccountSchema = 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 for a fund account.\");\nconst RazorpayListFundAccounts_FundAccountSchema = z.object({\n id: z.string().describe(\"Unique identifier for the fund account.\").nullable().optional(),\n vpa: RazorpayListFundAccounts_VPASchema.nullable().optional(),\n card: RazorpayListFundAccounts_CardSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the fund account is currently active.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'fund_account' for fund account objects.\").nullable().optional(),\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(\"Unique identifier of the contact associated with this fund account.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the fund account was created.\").nullable().optional(),\n account_type: z.string().describe(\"Type of account (bank_account, vpa, card, wallet).\").nullable().optional(),\n bank_account: RazorpayListFundAccounts_BankAccountSchema.nullable().optional(),\n}).passthrough().describe(\"Represents an individual fund account in the Razorpay system.\");\nexport const RazorpayListFundAccountsOutput = z.object({\n count: z.number().int().describe(\"Number of fund accounts returned in this response.\").nullable().optional(),\n items: z.array(RazorpayListFundAccounts_FundAccountSchema).describe(\"Array of fund account objects returned by the API.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, typically 'collection' for list responses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing fund accounts.\");\n\nexport const razorpayListFundAccounts = action(\"RAZORPAY_LIST_FUND_ACCOUNTS\", {\n slug: \"razorpay-list-fund-accounts\",\n name: \"List Fund Accounts\",\n description: \"Tool to retrieve a list of all fund accounts from RazorpayX with pagination support. Use when you need to fetch payout destinations, view beneficiary accounts, or manage fund account records. Supports filtering by contact and account type for efficient retrieval.\",\n input: RazorpayListFundAccountsInput,\n output: RazorpayListFundAccountsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-fund-accounts.mjs","names":[],"sources":["../../src/actions/list-fund-accounts.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 RazorpayListFundAccountsInput = z.object({\n skip: z.number().int().describe(\"Number of fund accounts to skip for pagination. Use with count to navigate through pages.\").optional(),\n count: z.number().int().describe(\"Number of fund accounts to retrieve per page. Maximum 100 accounts per request.\").optional(),\n contact_id: z.string().describe(\"Filter fund accounts by contact ID. Returns only fund accounts associated with the specified contact.\").optional(),\n account_type: z.string().describe(\"Filter fund accounts by account type (e.g., 'bank_account', 'vpa', 'card', 'wallet').\").optional(),\n}).describe(\"Request parameters for listing fund accounts with pagination support.\");\nconst RazorpayListFundAccounts_VPASchema = z.object({\n address: z.string().describe(\"UPI VPA address (e.g., user@okaxis).\").nullable().optional(),\n}).passthrough().describe(\"Virtual Payment Address details for a fund account.\");\nconst RazorpayListFundAccounts_CardSchema = 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 for a fund account.\");\nconst RazorpayListFundAccounts_BankAccountSchema = 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 for a fund account.\");\nconst RazorpayListFundAccounts_FundAccountSchema = z.object({\n id: z.string().describe(\"Unique identifier for the fund account.\").nullable().optional(),\n vpa: RazorpayListFundAccounts_VPASchema.nullable().optional(),\n card: RazorpayListFundAccounts_CardSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the fund account is currently active.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'fund_account' for fund account objects.\").nullable().optional(),\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(\"Unique identifier of the contact associated with this fund account.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the fund account was created.\").nullable().optional(),\n account_type: z.string().describe(\"Type of account (bank_account, vpa, card, wallet).\").nullable().optional(),\n bank_account: RazorpayListFundAccounts_BankAccountSchema.nullable().optional(),\n}).passthrough().describe(\"Represents an individual fund account in the Razorpay system.\");\nexport const RazorpayListFundAccountsOutput = z.object({\n count: z.number().int().describe(\"Number of fund accounts returned in this response.\").nullable().optional(),\n items: z.array(RazorpayListFundAccounts_FundAccountSchema).describe(\"Array of fund account objects returned by the API.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, typically 'collection' for list responses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing fund accounts.\");\n\nexport const razorpayListFundAccounts: AppAction<\n typeof RazorpayListFundAccountsInput,\n typeof RazorpayListFundAccountsOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_LIST_FUND_ACCOUNTS\", {\n slug: \"razorpay-list-fund-accounts\",\n name: \"List Fund Accounts\",\n description: \"Tool to retrieve a list of all fund accounts from RazorpayX with pagination support. Use when you need to fetch payout destinations, view beneficiary accounts, or manage fund account records. Supports filtering by contact and account type for efficient retrieval.\",\n input: RazorpayListFundAccountsInput,\n output: RazorpayListFundAccountsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACtI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CAClJ,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,qCAAqC,EAAE,OAAO,EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAA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DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAc,2CAA2C,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAOzF,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf4C,EAAE,OAAO;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,OAAO,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-fund-validations.cjs","names":["z","action"],"sources":["../../src/actions/list-fund-validations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayListFundValidationsInput = z.object({\n to: z.number().int().describe(\"Unix timestamp (in seconds) to filter validations created before this time. Use for date range filtering.\").optional(),\n from: z.number().int().describe(\"Unix timestamp (in seconds) to filter validations created after this time. Use for date range filtering.\").optional(),\n skip: z.number().int().describe(\"Number of validation transactions to skip for pagination. Use with count to navigate through pages. Default is 0.\").optional(),\n count: z.number().int().describe(\"Number of validation transactions to retrieve per page. Default is 10. Maximum is 100.\").optional(),\n}).describe(\"Request parameters for listing fund account validation transactions with pagination and filtering support.\");\nconst RazorpayListFundValidations_ValidationResultsSchema = z.object({\n account_status: z.string().describe(\"Status of the account validation (e.g., active, invalid).\").nullable().optional(),\n registered_name: z.string().describe(\"Name registered with the bank for this account.\").nullable().optional(),\n}).passthrough().describe(\"Results of the fund account validation process.\");\nconst RazorpayListFundValidations_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 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 in a fund account validation.\");\nconst RazorpayListFundValidations_FundAccountInValidationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the fund account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the fund account is currently active.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'fund_account' for fund account objects.\").nullable().optional(),\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(\"Unique identifier of the contact associated with this fund account.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the fund account was created.\").nullable().optional(),\n account_type: z.string().describe(\"Type of account (bank_account, vpa, card, wallet).\").nullable().optional(),\n bank_account: RazorpayListFundValidations_BankAccountDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Fund account details embedded in a validation transaction.\");\nconst RazorpayListFundValidations_FundValidationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the validation transaction.\").nullable().optional(),\n utr: z.string().describe(\"Unique Transaction Reference number for the validation transaction.\").nullable().optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs for additional information about the validation.\").nullable().optional(),\n amount: z.number().int().describe(\"Amount used for validation in the smallest currency unit (e.g., paise for INR).\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'fund_account.validation' for validation objects.\").nullable().optional(),\n status: z.string().describe(\"Status of the validation (e.g., created, completed, failed).\").nullable().optional(),\n results: RazorpayListFundValidations_ValidationResultsSchema.nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR).\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the validation transaction was created.\").nullable().optional(),\n fund_account: RazorpayListFundValidations_FundAccountInValidationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a single fund account validation transaction.\");\nexport const RazorpayListFundValidationsOutput = z.object({\n count: z.number().int().describe(\"Number of validation transactions returned in this response.\").nullable().optional(),\n items: z.array(RazorpayListFundValidations_FundValidationSchema).describe(\"Array of fund account validation objects returned by the API.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'collection' for list responses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing fund account validation transactions.\");\n\nexport const razorpayListFundValidations = action(\"RAZORPAY_LIST_FUND_VALIDATIONS\", {\n slug: \"razorpay-list-fund-validations\",\n name: \"List Fund Validations\",\n description: \"Tool to fetch all fund account validation transactions from RazorpayX with pagination support. Use when you need to retrieve validation records, check account verification status, or monitor validation transactions.\",\n input: RazorpayListFundValidationsInput,\n output: RazorpayListFundValidationsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-fund-validations.cjs","names":["z","action"],"sources":["../../src/actions/list-fund-validations.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 RazorpayListFundValidationsInput = z.object({\n to: z.number().int().describe(\"Unix timestamp (in seconds) to filter validations created before this time. Use for date range filtering.\").optional(),\n from: z.number().int().describe(\"Unix timestamp (in seconds) to filter validations created after this time. Use for date range filtering.\").optional(),\n skip: z.number().int().describe(\"Number of validation transactions to skip for pagination. Use with count to navigate through pages. Default is 0.\").optional(),\n count: z.number().int().describe(\"Number of validation transactions to retrieve per page. Default is 10. Maximum is 100.\").optional(),\n}).describe(\"Request parameters for listing fund account validation transactions with pagination and filtering support.\");\nconst RazorpayListFundValidations_ValidationResultsSchema = z.object({\n account_status: z.string().describe(\"Status of the account validation (e.g., active, invalid).\").nullable().optional(),\n registered_name: z.string().describe(\"Name registered with the bank for this account.\").nullable().optional(),\n}).passthrough().describe(\"Results of the fund account validation process.\");\nconst RazorpayListFundValidations_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 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 in a fund account validation.\");\nconst RazorpayListFundValidations_FundAccountInValidationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the fund account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the fund account is currently active.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'fund_account' for fund account objects.\").nullable().optional(),\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(\"Unique identifier of the contact associated with this fund account.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the fund account was created.\").nullable().optional(),\n account_type: z.string().describe(\"Type of account (bank_account, vpa, card, wallet).\").nullable().optional(),\n bank_account: RazorpayListFundValidations_BankAccountDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Fund account details embedded in a validation transaction.\");\nconst RazorpayListFundValidations_FundValidationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the validation transaction.\").nullable().optional(),\n utr: z.string().describe(\"Unique Transaction Reference number for the validation transaction.\").nullable().optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs for additional information about the validation.\").nullable().optional(),\n amount: z.number().int().describe(\"Amount used for validation in the smallest currency unit (e.g., paise for INR).\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'fund_account.validation' for validation objects.\").nullable().optional(),\n status: z.string().describe(\"Status of the validation (e.g., created, completed, failed).\").nullable().optional(),\n results: RazorpayListFundValidations_ValidationResultsSchema.nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR).\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the validation transaction was created.\").nullable().optional(),\n fund_account: RazorpayListFundValidations_FundAccountInValidationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a single fund account validation transaction.\");\nexport const RazorpayListFundValidationsOutput = z.object({\n count: z.number().int().describe(\"Number of validation transactions returned in this response.\").nullable().optional(),\n items: z.array(RazorpayListFundValidations_FundValidationSchema).describe(\"Array of fund account validation objects returned by the API.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'collection' for list responses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing fund account validation transactions.\");\n\nexport const razorpayListFundValidations: AppAction<\n typeof RazorpayListFundValidationsInput,\n typeof RazorpayListFundValidationsOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_LIST_FUND_VALIDATIONS\", {\n slug: \"razorpay-list-fund-validations\",\n name: \"List Fund Validations\",\n description: \"Tool to fetch all fund account validation transactions from RazorpayX with pagination support. Use when you need to retrieve validation records, check account verification status, or monitor validation transactions.\",\n input: RazorpayListFundValidationsInput,\n output: RazorpayListFundValidationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACpJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0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AAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAAS,oDAAoD,SAAS,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,cAAc,0DAA0D,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,OAAOA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,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/list-fund-validations.d.ts
|
|
@@ -40,26 +42,7 @@ declare const RazorpayListFundValidationsOutput: z.ZodObject<{
|
|
|
40
42
|
}, z.core.$loose>>>>;
|
|
41
43
|
entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
44
|
}, z.core.$loose>;
|
|
43
|
-
declare const razorpayListFundValidations:
|
|
44
|
-
to?: number | undefined;
|
|
45
|
-
from?: number | undefined;
|
|
46
|
-
skip?: number | undefined;
|
|
47
|
-
count?: number | undefined;
|
|
48
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
generic_api_key: z.ZodString;
|
|
54
|
-
generic_id: z.ZodString;
|
|
55
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
56
|
-
connectionId: z.ZodString;
|
|
57
|
-
entityId: z.ZodString;
|
|
58
|
-
instanceId: z.ZodString;
|
|
59
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
-
generic_api_key: z.ZodString;
|
|
61
|
-
generic_id: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>;
|
|
45
|
+
declare const razorpayListFundValidations: AppAction<typeof RazorpayListFundValidationsInput, typeof RazorpayListFundValidationsOutput, typeof razorpay.credential>;
|
|
63
46
|
//#endregion
|
|
64
47
|
export { razorpayListFundValidations };
|
|
65
48
|
//# sourceMappingURL=list-fund-validations.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-fund-validations.d.cts","names":[],"sources":["../../src/actions/list-fund-validations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-fund-validations.d.cts","names":[],"sources":["../../src/actions/list-fund-validations.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAsChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,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/list-fund-validations.d.ts
|
|
@@ -40,26 +42,7 @@ declare const RazorpayListFundValidationsOutput: z.ZodObject<{
|
|
|
40
42
|
}, z.core.$loose>>>>;
|
|
41
43
|
entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
44
|
}, z.core.$loose>;
|
|
43
|
-
declare const razorpayListFundValidations:
|
|
44
|
-
to?: number | undefined;
|
|
45
|
-
from?: number | undefined;
|
|
46
|
-
skip?: number | undefined;
|
|
47
|
-
count?: number | undefined;
|
|
48
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
49
|
-
connectionId: z.ZodString;
|
|
50
|
-
entityId: z.ZodString;
|
|
51
|
-
instanceId: z.ZodString;
|
|
52
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
53
|
-
generic_api_key: z.ZodString;
|
|
54
|
-
generic_id: z.ZodString;
|
|
55
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
56
|
-
connectionId: z.ZodString;
|
|
57
|
-
entityId: z.ZodString;
|
|
58
|
-
instanceId: z.ZodString;
|
|
59
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
-
generic_api_key: z.ZodString;
|
|
61
|
-
generic_id: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>;
|
|
45
|
+
declare const razorpayListFundValidations: AppAction<typeof RazorpayListFundValidationsInput, typeof RazorpayListFundValidationsOutput, typeof razorpay.credential>;
|
|
63
46
|
//#endregion
|
|
64
47
|
export { razorpayListFundValidations };
|
|
65
48
|
//# sourceMappingURL=list-fund-validations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-fund-validations.d.mts","names":[],"sources":["../../src/actions/list-fund-validations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-fund-validations.d.mts","names":[],"sources":["../../src/actions/list-fund-validations.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAsChC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-fund-validations.mjs","names":[],"sources":["../../src/actions/list-fund-validations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayListFundValidationsInput = z.object({\n to: z.number().int().describe(\"Unix timestamp (in seconds) to filter validations created before this time. Use for date range filtering.\").optional(),\n from: z.number().int().describe(\"Unix timestamp (in seconds) to filter validations created after this time. Use for date range filtering.\").optional(),\n skip: z.number().int().describe(\"Number of validation transactions to skip for pagination. Use with count to navigate through pages. Default is 0.\").optional(),\n count: z.number().int().describe(\"Number of validation transactions to retrieve per page. Default is 10. Maximum is 100.\").optional(),\n}).describe(\"Request parameters for listing fund account validation transactions with pagination and filtering support.\");\nconst RazorpayListFundValidations_ValidationResultsSchema = z.object({\n account_status: z.string().describe(\"Status of the account validation (e.g., active, invalid).\").nullable().optional(),\n registered_name: z.string().describe(\"Name registered with the bank for this account.\").nullable().optional(),\n}).passthrough().describe(\"Results of the fund account validation process.\");\nconst RazorpayListFundValidations_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 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 in a fund account validation.\");\nconst RazorpayListFundValidations_FundAccountInValidationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the fund account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the fund account is currently active.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'fund_account' for fund account objects.\").nullable().optional(),\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(\"Unique identifier of the contact associated with this fund account.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the fund account was created.\").nullable().optional(),\n account_type: z.string().describe(\"Type of account (bank_account, vpa, card, wallet).\").nullable().optional(),\n bank_account: RazorpayListFundValidations_BankAccountDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Fund account details embedded in a validation transaction.\");\nconst RazorpayListFundValidations_FundValidationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the validation transaction.\").nullable().optional(),\n utr: z.string().describe(\"Unique Transaction Reference number for the validation transaction.\").nullable().optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs for additional information about the validation.\").nullable().optional(),\n amount: z.number().int().describe(\"Amount used for validation in the smallest currency unit (e.g., paise for INR).\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'fund_account.validation' for validation objects.\").nullable().optional(),\n status: z.string().describe(\"Status of the validation (e.g., created, completed, failed).\").nullable().optional(),\n results: RazorpayListFundValidations_ValidationResultsSchema.nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR).\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the validation transaction was created.\").nullable().optional(),\n fund_account: RazorpayListFundValidations_FundAccountInValidationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a single fund account validation transaction.\");\nexport const RazorpayListFundValidationsOutput = z.object({\n count: z.number().int().describe(\"Number of validation transactions returned in this response.\").nullable().optional(),\n items: z.array(RazorpayListFundValidations_FundValidationSchema).describe(\"Array of fund account validation objects returned by the API.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'collection' for list responses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing fund account validation transactions.\");\n\nexport const razorpayListFundValidations = action(\"RAZORPAY_LIST_FUND_VALIDATIONS\", {\n slug: \"razorpay-list-fund-validations\",\n name: \"List Fund Validations\",\n description: \"Tool to fetch all fund account validation transactions from RazorpayX with pagination support. Use when you need to retrieve validation records, check account verification status, or monitor validation transactions.\",\n input: RazorpayListFundValidationsInput,\n output: RazorpayListFundValidationsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-fund-validations.mjs","names":[],"sources":["../../src/actions/list-fund-validations.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 RazorpayListFundValidationsInput = z.object({\n to: z.number().int().describe(\"Unix timestamp (in seconds) to filter validations created before this time. Use for date range filtering.\").optional(),\n from: z.number().int().describe(\"Unix timestamp (in seconds) to filter validations created after this time. Use for date range filtering.\").optional(),\n skip: z.number().int().describe(\"Number of validation transactions to skip for pagination. Use with count to navigate through pages. Default is 0.\").optional(),\n count: z.number().int().describe(\"Number of validation transactions to retrieve per page. Default is 10. Maximum is 100.\").optional(),\n}).describe(\"Request parameters for listing fund account validation transactions with pagination and filtering support.\");\nconst RazorpayListFundValidations_ValidationResultsSchema = z.object({\n account_status: z.string().describe(\"Status of the account validation (e.g., active, invalid).\").nullable().optional(),\n registered_name: z.string().describe(\"Name registered with the bank for this account.\").nullable().optional(),\n}).passthrough().describe(\"Results of the fund account validation process.\");\nconst RazorpayListFundValidations_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 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 in a fund account validation.\");\nconst RazorpayListFundValidations_FundAccountInValidationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the fund account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the fund account is currently active.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'fund_account' for fund account objects.\").nullable().optional(),\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(\"Unique identifier of the contact associated with this fund account.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the fund account was created.\").nullable().optional(),\n account_type: z.string().describe(\"Type of account (bank_account, vpa, card, wallet).\").nullable().optional(),\n bank_account: RazorpayListFundValidations_BankAccountDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Fund account details embedded in a validation transaction.\");\nconst RazorpayListFundValidations_FundValidationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the validation transaction.\").nullable().optional(),\n utr: z.string().describe(\"Unique Transaction Reference number for the validation transaction.\").nullable().optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs for additional information about the validation.\").nullable().optional(),\n amount: z.number().int().describe(\"Amount used for validation in the smallest currency unit (e.g., paise for INR).\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'fund_account.validation' for validation objects.\").nullable().optional(),\n status: z.string().describe(\"Status of the validation (e.g., created, completed, failed).\").nullable().optional(),\n results: RazorpayListFundValidations_ValidationResultsSchema.nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR).\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the validation transaction was created.\").nullable().optional(),\n fund_account: RazorpayListFundValidations_FundAccountInValidationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a single fund account validation transaction.\");\nexport const RazorpayListFundValidationsOutput = z.object({\n count: z.number().int().describe(\"Number of validation transactions returned in this response.\").nullable().optional(),\n items: z.array(RazorpayListFundValidations_FundValidationSchema).describe(\"Array of fund account validation objects returned by the API.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'collection' for list responses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing fund account validation transactions.\");\n\nexport const razorpayListFundValidations: AppAction<\n typeof RazorpayListFundValidationsInput,\n typeof RazorpayListFundValidationsOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_LIST_FUND_VALIDATIONS\", {\n slug: \"razorpay-list-fund-validations\",\n name: \"List Fund Validations\",\n description: \"Tool to fetch all fund account validation transactions from RazorpayX with pagination support. Use when you need to retrieve validation records, check account verification status, or monitor validation transactions.\",\n input: RazorpayListFundValidationsInput,\n output: RazorpayListFundValidationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACpJ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACrJ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAC9J,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,4GAA4G;AACxH,MAAM,sDAAsD,EAAE,OAAO;CACnE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,uDAAuD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,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CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-items.cjs","names":["z","action"],"sources":["../../src/actions/list-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayListItemsInput = z.object({\n skip: z.number().int().describe(\"Number of items to skip for pagination. Use with count to navigate through pages.\").optional(),\n count: z.number().int().describe(\"Number of items to retrieve per page. Maximum 100 items per request.\").optional(),\n active: z.boolean().describe(\"Filter items by active status. True returns only active items, False returns only inactive items.\").optional(),\n to_timestamp: z.number().int().describe(\"Unix timestamp to filter items created on or before this time.\").optional(),\n from_timestamp: z.number().int().describe(\"Unix timestamp to filter items created on or after this time.\").optional(),\n}).describe(\"Request parameters for listing items with pagination support.\");\nconst RazorpayListItems_ItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the item.\").nullable().optional(),\n name: z.string().describe(\"Name of the item.\").nullable().optional(),\n type: z.string().describe(\"Type of the item (e.g., invoice, plan).\").nullable().optional(),\n unit: z.string().describe(\"Unit of measurement for the item.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the item is currently active.\").nullable().optional(),\n amount: z.number().int().describe(\"Amount in currency subunits (e.g., paise for INR). For example, 10000 means ₹100.00.\").nullable().optional(),\n tax_id: z.string().describe(\"Tax identifier associated with the item.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD).\").nullable().optional(),\n hsn_code: z.string().describe(\"HSN code for the item (for Indian tax purposes).\").nullable().optional(),\n sac_code: z.string().describe(\"SAC code for the item (for Indian service tax purposes).\").nullable().optional(),\n tax_rate: z.number().describe(\"Tax rate percentage applicable to the item.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the item was created.\").nullable().optional(),\n description: z.string().describe(\"Description of the item.\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit amount in currency subunits.\").nullable().optional(),\n tax_group_id: z.string().describe(\"Tax group identifier for the item.\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax.\").nullable().optional(),\n}).passthrough().describe(\"Represents an individual item in the Razorpay system.\");\nexport const RazorpayListItemsOutput = z.object({\n count: z.number().int().describe(\"Number of items returned in this response.\").nullable().optional(),\n items: z.array(RazorpayListItems_ItemSchema).describe(\"Array of item objects returned by the API.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, typically 'collection' for list responses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing items.\");\n\nexport const razorpayListItems = action(\"RAZORPAY_LIST_ITEMS\", {\n slug: \"razorpay-list-items\",\n name: \"List Items\",\n description: \"Tool to retrieve a list of all items from Razorpay with pagination support. Use when you need to fetch invoice items, view available products, or manage item catalog. Supports filtering by active status and date range for efficient retrieval.\",\n input: RazorpayListItemsInput,\n output: RazorpayListItemsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-items.cjs","names":["z","action"],"sources":["../../src/actions/list-items.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 RazorpayListItemsInput = z.object({\n skip: z.number().int().describe(\"Number of items to skip for pagination. Use with count to navigate through pages.\").optional(),\n count: z.number().int().describe(\"Number of items to retrieve per page. Maximum 100 items per request.\").optional(),\n active: z.boolean().describe(\"Filter items by active status. True returns only active items, False returns only inactive items.\").optional(),\n to_timestamp: z.number().int().describe(\"Unix timestamp to filter items created on or before this time.\").optional(),\n from_timestamp: z.number().int().describe(\"Unix timestamp to filter items created on or after this time.\").optional(),\n}).describe(\"Request parameters for listing items with pagination support.\");\nconst RazorpayListItems_ItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the item.\").nullable().optional(),\n name: z.string().describe(\"Name of the item.\").nullable().optional(),\n type: z.string().describe(\"Type of the item (e.g., invoice, plan).\").nullable().optional(),\n unit: z.string().describe(\"Unit of measurement for the item.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the item is currently active.\").nullable().optional(),\n amount: z.number().int().describe(\"Amount in currency subunits (e.g., paise for INR). For example, 10000 means ₹100.00.\").nullable().optional(),\n tax_id: z.string().describe(\"Tax identifier associated with the item.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD).\").nullable().optional(),\n hsn_code: z.string().describe(\"HSN code for the item (for Indian tax purposes).\").nullable().optional(),\n sac_code: z.string().describe(\"SAC code for the item (for Indian service tax purposes).\").nullable().optional(),\n tax_rate: z.number().describe(\"Tax rate percentage applicable to the item.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the item was created.\").nullable().optional(),\n description: z.string().describe(\"Description of the item.\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit amount in currency subunits.\").nullable().optional(),\n tax_group_id: z.string().describe(\"Tax group identifier for the item.\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax.\").nullable().optional(),\n}).passthrough().describe(\"Represents an individual item in the Razorpay system.\");\nexport const RazorpayListItemsOutput = z.object({\n count: z.number().int().describe(\"Number of items returned in this response.\").nullable().optional(),\n items: z.array(RazorpayListItems_ItemSchema).describe(\"Array of item objects returned by the API.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, typically 'collection' for list responses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing items.\");\n\nexport const razorpayListItems: AppAction<\n typeof RazorpayListItemsInput,\n typeof RazorpayListItemsOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_LIST_ITEMS\", {\n slug: \"razorpay-list-items\",\n name: \"List Items\",\n description: \"Tool to retrieve a list of all items from Razorpay with pagination support. Use when you need to fetch invoice items, view available products, or manage item catalog. Supports filtering by active status and date range for efficient retrieval.\",\n input: RazorpayListItemsInput,\n output: RazorpayListItemsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa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,CAAC,SAAS;CACxH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,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/list-items.d.ts
|
|
@@ -30,27 +32,7 @@ declare const RazorpayListItemsOutput: z.ZodObject<{
|
|
|
30
32
|
}, z.core.$loose>>>>;
|
|
31
33
|
entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const razorpayListItems:
|
|
34
|
-
skip?: number | undefined;
|
|
35
|
-
count?: number | undefined;
|
|
36
|
-
active?: boolean | undefined;
|
|
37
|
-
to_timestamp?: number | undefined;
|
|
38
|
-
from_timestamp?: number | undefined;
|
|
39
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
generic_id: z.ZodString;
|
|
46
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
47
|
-
connectionId: z.ZodString;
|
|
48
|
-
entityId: z.ZodString;
|
|
49
|
-
instanceId: z.ZodString;
|
|
50
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
-
generic_api_key: z.ZodString;
|
|
52
|
-
generic_id: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>;
|
|
35
|
+
declare const razorpayListItems: AppAction<typeof RazorpayListItemsInput, typeof RazorpayListItemsOutput, typeof razorpay.credential>;
|
|
54
36
|
//#endregion
|
|
55
37
|
export { razorpayListItems };
|
|
56
38
|
//# sourceMappingURL=list-items.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-items.d.cts","names":[],"sources":["../../src/actions/list-items.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-items.d.cts","names":[],"sources":["../../src/actions/list-items.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;cAyBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAMvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,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/list-items.d.ts
|
|
@@ -30,27 +32,7 @@ declare const RazorpayListItemsOutput: z.ZodObject<{
|
|
|
30
32
|
}, z.core.$loose>>>>;
|
|
31
33
|
entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const razorpayListItems:
|
|
34
|
-
skip?: number | undefined;
|
|
35
|
-
count?: number | undefined;
|
|
36
|
-
active?: boolean | undefined;
|
|
37
|
-
to_timestamp?: number | undefined;
|
|
38
|
-
from_timestamp?: number | undefined;
|
|
39
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
generic_api_key: z.ZodString;
|
|
45
|
-
generic_id: z.ZodString;
|
|
46
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
47
|
-
connectionId: z.ZodString;
|
|
48
|
-
entityId: z.ZodString;
|
|
49
|
-
instanceId: z.ZodString;
|
|
50
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
-
generic_api_key: z.ZodString;
|
|
52
|
-
generic_id: z.ZodString;
|
|
53
|
-
}, z.core.$strip>>]>;
|
|
35
|
+
declare const razorpayListItems: AppAction<typeof RazorpayListItemsInput, typeof RazorpayListItemsOutput, typeof razorpay.credential>;
|
|
54
36
|
//#endregion
|
|
55
37
|
export { razorpayListItems };
|
|
56
38
|
//# sourceMappingURL=list-items.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-items.d.mts","names":[],"sources":["../../src/actions/list-items.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-items.d.mts","names":[],"sources":["../../src/actions/list-items.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;cAyBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAMvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-items.mjs","names":[],"sources":["../../src/actions/list-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayListItemsInput = z.object({\n skip: z.number().int().describe(\"Number of items to skip for pagination. Use with count to navigate through pages.\").optional(),\n count: z.number().int().describe(\"Number of items to retrieve per page. Maximum 100 items per request.\").optional(),\n active: z.boolean().describe(\"Filter items by active status. True returns only active items, False returns only inactive items.\").optional(),\n to_timestamp: z.number().int().describe(\"Unix timestamp to filter items created on or before this time.\").optional(),\n from_timestamp: z.number().int().describe(\"Unix timestamp to filter items created on or after this time.\").optional(),\n}).describe(\"Request parameters for listing items with pagination support.\");\nconst RazorpayListItems_ItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the item.\").nullable().optional(),\n name: z.string().describe(\"Name of the item.\").nullable().optional(),\n type: z.string().describe(\"Type of the item (e.g., invoice, plan).\").nullable().optional(),\n unit: z.string().describe(\"Unit of measurement for the item.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the item is currently active.\").nullable().optional(),\n amount: z.number().int().describe(\"Amount in currency subunits (e.g., paise for INR). For example, 10000 means ₹100.00.\").nullable().optional(),\n tax_id: z.string().describe(\"Tax identifier associated with the item.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD).\").nullable().optional(),\n hsn_code: z.string().describe(\"HSN code for the item (for Indian tax purposes).\").nullable().optional(),\n sac_code: z.string().describe(\"SAC code for the item (for Indian service tax purposes).\").nullable().optional(),\n tax_rate: z.number().describe(\"Tax rate percentage applicable to the item.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the item was created.\").nullable().optional(),\n description: z.string().describe(\"Description of the item.\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit amount in currency subunits.\").nullable().optional(),\n tax_group_id: z.string().describe(\"Tax group identifier for the item.\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax.\").nullable().optional(),\n}).passthrough().describe(\"Represents an individual item in the Razorpay system.\");\nexport const RazorpayListItemsOutput = z.object({\n count: z.number().int().describe(\"Number of items returned in this response.\").nullable().optional(),\n items: z.array(RazorpayListItems_ItemSchema).describe(\"Array of item objects returned by the API.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, typically 'collection' for list responses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing items.\");\n\nexport const razorpayListItems = action(\"RAZORPAY_LIST_ITEMS\", {\n slug: \"razorpay-list-items\",\n name: \"List Items\",\n description: \"Tool to retrieve a list of all items from Razorpay with pagination support. Use when you need to fetch invoice items, view available products, or manage item catalog. Supports filtering by active status and date range for efficient retrieval.\",\n input: RazorpayListItemsInput,\n output: RazorpayListItemsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-items.mjs","names":[],"sources":["../../src/actions/list-items.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 RazorpayListItemsInput = z.object({\n skip: z.number().int().describe(\"Number of items to skip for pagination. Use with count to navigate through pages.\").optional(),\n count: z.number().int().describe(\"Number of items to retrieve per page. Maximum 100 items per request.\").optional(),\n active: z.boolean().describe(\"Filter items by active status. True returns only active items, False returns only inactive items.\").optional(),\n to_timestamp: z.number().int().describe(\"Unix timestamp to filter items created on or before this time.\").optional(),\n from_timestamp: z.number().int().describe(\"Unix timestamp to filter items created on or after this time.\").optional(),\n}).describe(\"Request parameters for listing items with pagination support.\");\nconst RazorpayListItems_ItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the item.\").nullable().optional(),\n name: z.string().describe(\"Name of the item.\").nullable().optional(),\n type: z.string().describe(\"Type of the item (e.g., invoice, plan).\").nullable().optional(),\n unit: z.string().describe(\"Unit of measurement for the item.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the item is currently active.\").nullable().optional(),\n amount: z.number().int().describe(\"Amount in currency subunits (e.g., paise for INR). For example, 10000 means ₹100.00.\").nullable().optional(),\n tax_id: z.string().describe(\"Tax identifier associated with the item.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD).\").nullable().optional(),\n hsn_code: z.string().describe(\"HSN code for the item (for Indian tax purposes).\").nullable().optional(),\n sac_code: z.string().describe(\"SAC code for the item (for Indian service tax purposes).\").nullable().optional(),\n tax_rate: z.number().describe(\"Tax rate percentage applicable to the item.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the item was created.\").nullable().optional(),\n description: z.string().describe(\"Description of the item.\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit amount in currency subunits.\").nullable().optional(),\n tax_group_id: z.string().describe(\"Tax group identifier for the item.\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax.\").nullable().optional(),\n}).passthrough().describe(\"Represents an individual item in the Razorpay system.\");\nexport const RazorpayListItemsOutput = z.object({\n count: z.number().int().describe(\"Number of items returned in this response.\").nullable().optional(),\n items: z.array(RazorpayListItems_ItemSchema).describe(\"Array of item objects returned by the API.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, typically 'collection' for list responses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing items.\");\n\nexport const razorpayListItems: AppAction<\n typeof RazorpayListItemsInput,\n typeof RazorpayListItemsOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_LIST_ITEMS\", {\n slug: \"razorpay-list-items\",\n name: \"List Items\",\n description: \"Tool to retrieve a list of all items from Razorpay with pagination support. Use when you need to fetch invoice items, view available products, or manage item catalog. Supports filtering by active status and date range for efficient retrieval.\",\n input: RazorpayListItemsInput,\n output: RazorpayListItemsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAClH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC3I,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACnH,gBAAgB,EAAE,OAAO,CAA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AAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAOjF,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfqC,EAAE,OAAO;EAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,OAAO,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-payment-downtimes.cjs","names":["z","action"],"sources":["../../src/actions/list-payment-downtimes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayListPaymentDowntimesInput = z.object({}).describe(\"Request model for fetching all active payment method downtimes.\");\nexport const RazorpayListPaymentDowntimesOutput = z.unknown();\n\nexport const razorpayListPaymentDowntimes = action(\"RAZORPAY_LIST_PAYMENT_DOWNTIMES\", {\n slug: \"razorpay-list-payment-downtimes\",\n name: \"List Payment Downtimes\",\n description: \"Tool to fetch all active payment method downtimes from Razorpay. Use when you need to check the current status of payment methods and identify any ongoing or scheduled downtimes.\",\n input: RazorpayListPaymentDowntimesInput,\n output: RazorpayListPaymentDowntimesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-payment-downtimes.cjs","names":["z","action"],"sources":["../../src/actions/list-payment-downtimes.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 RazorpayListPaymentDowntimesInput = z.object({}).describe(\"Request model for fetching all active payment method downtimes.\");\nexport const RazorpayListPaymentDowntimesOutput = z.unknown();\n\nexport const razorpayListPaymentDowntimes: AppAction<\n typeof RazorpayListPaymentDowntimesInput,\n typeof RazorpayListPaymentDowntimesOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_LIST_PAYMENT_DOWNTIMES\", {\n slug: \"razorpay-list-payment-downtimes\",\n name: \"List Payment Downtimes\",\n description: \"Tool to fetch all active payment method downtimes from Razorpay. Use when you need to check the current status of payment methods and identify any ongoing or scheduled downtimes.\",\n input: RazorpayListPaymentDowntimesInput,\n output: RazorpayListPaymentDowntimesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE;AACxI,MAAa,qCAAqCA,IAAAA,EAAE,QAAQ;AAE5D,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,23 +1,11 @@
|
|
|
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/list-payment-downtimes.d.ts
|
|
4
6
|
declare const RazorpayListPaymentDowntimesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
7
|
declare const RazorpayListPaymentDowntimesOutput: z.ZodUnknown;
|
|
6
|
-
declare const razorpayListPaymentDowntimes:
|
|
7
|
-
connectionId: z.ZodString;
|
|
8
|
-
entityId: z.ZodString;
|
|
9
|
-
instanceId: z.ZodString;
|
|
10
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11
|
-
generic_api_key: z.ZodString;
|
|
12
|
-
generic_id: z.ZodString;
|
|
13
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
generic_id: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>;
|
|
8
|
+
declare const razorpayListPaymentDowntimes: AppAction<typeof RazorpayListPaymentDowntimesInput, typeof RazorpayListPaymentDowntimesOutput, typeof razorpay.credential>;
|
|
21
9
|
//#endregion
|
|
22
10
|
export { razorpayListPaymentDowntimes };
|
|
23
11
|
//# sourceMappingURL=list-payment-downtimes.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-payment-downtimes.d.cts","names":[],"sources":["../../src/actions/list-payment-downtimes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-payment-downtimes.d.cts","names":[],"sources":["../../src/actions/list-payment-downtimes.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,UAAc;AAAA,cAEhD,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,23 +1,11 @@
|
|
|
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/list-payment-downtimes.d.ts
|
|
4
6
|
declare const RazorpayListPaymentDowntimesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
7
|
declare const RazorpayListPaymentDowntimesOutput: z.ZodUnknown;
|
|
6
|
-
declare const razorpayListPaymentDowntimes:
|
|
7
|
-
connectionId: z.ZodString;
|
|
8
|
-
entityId: z.ZodString;
|
|
9
|
-
instanceId: z.ZodString;
|
|
10
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11
|
-
generic_api_key: z.ZodString;
|
|
12
|
-
generic_id: z.ZodString;
|
|
13
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
generic_id: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>;
|
|
8
|
+
declare const razorpayListPaymentDowntimes: AppAction<typeof RazorpayListPaymentDowntimesInput, typeof RazorpayListPaymentDowntimesOutput, typeof razorpay.credential>;
|
|
21
9
|
//#endregion
|
|
22
10
|
export { razorpayListPaymentDowntimes };
|
|
23
11
|
//# sourceMappingURL=list-payment-downtimes.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-payment-downtimes.d.mts","names":[],"sources":["../../src/actions/list-payment-downtimes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-payment-downtimes.d.mts","names":[],"sources":["../../src/actions/list-payment-downtimes.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjC,kCAAA,EAAkC,CAAA,CAAA,UAAc;AAAA,cAEhD,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-payment-downtimes.mjs","names":[],"sources":["../../src/actions/list-payment-downtimes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayListPaymentDowntimesInput = z.object({}).describe(\"Request model for fetching all active payment method downtimes.\");\nexport const RazorpayListPaymentDowntimesOutput = z.unknown();\n\nexport const razorpayListPaymentDowntimes = action(\"RAZORPAY_LIST_PAYMENT_DOWNTIMES\", {\n slug: \"razorpay-list-payment-downtimes\",\n name: \"List Payment Downtimes\",\n description: \"Tool to fetch all active payment method downtimes from Razorpay. Use when you need to check the current status of payment methods and identify any ongoing or scheduled downtimes.\",\n input: RazorpayListPaymentDowntimesInput,\n output: RazorpayListPaymentDowntimesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-payment-downtimes.mjs","names":[],"sources":["../../src/actions/list-payment-downtimes.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 RazorpayListPaymentDowntimesInput = z.object({}).describe(\"Request model for fetching all active payment method downtimes.\");\nexport const RazorpayListPaymentDowntimesOutput = z.unknown();\n\nexport const razorpayListPaymentDowntimes: AppAction<\n typeof RazorpayListPaymentDowntimesInput,\n typeof RazorpayListPaymentDowntimesOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_LIST_PAYMENT_DOWNTIMES\", {\n slug: \"razorpay-list-payment-downtimes\",\n name: \"List Payment Downtimes\",\n description: \"Tool to fetch all active payment method downtimes from Razorpay. Use when you need to check the current status of payment methods and identify any ongoing or scheduled downtimes.\",\n input: RazorpayListPaymentDowntimesInput,\n output: RazorpayListPaymentDowntimesOutput,\n});\n"],"mappings":";;;AASA,MAAa,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iEAW9D;CACP,QAXgD,EAAE,QAW1C;AACV,CAAC"}
|