@keystrokehq/razorpay 0.1.4 → 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 -3
- package/dist/actions/cancel-invoice.d.cts.map +1 -1
- package/dist/actions/cancel-invoice.d.mts +3 -3
- 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 -3
- package/dist/actions/cancel-payment-link.d.cts.map +1 -1
- package/dist/actions/cancel-payment-link.d.mts +3 -3
- 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 -7
- package/dist/actions/create-an-order.d.cts.map +1 -1
- package/dist/actions/create-an-order.d.mts +3 -7
- 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 -8
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +3 -8
- 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 -7
- package/dist/actions/create-customer.d.cts.map +1 -1
- package/dist/actions/create-customer.d.mts +3 -7
- 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 -66
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +3 -66
- 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 -6
- package/dist/actions/create-item.d.cts.map +1 -1
- package/dist/actions/create-item.d.mts +3 -6
- 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 -20
- package/dist/actions/create-payment-link.d.cts.map +1 -1
- package/dist/actions/create-payment-link.d.mts +3 -20
- 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 -3
- package/dist/actions/delete-invoice.d.cts.map +1 -1
- package/dist/actions/delete-invoice.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-item.d.cts.map +1 -1
- package/dist/actions/delete-item.d.mts +3 -3
- 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 -3
- package/dist/actions/fetch-a-payment-link.d.cts.map +1 -1
- package/dist/actions/fetch-a-payment-link.d.mts +3 -3
- 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 -4
- package/dist/actions/fetch-all-customers.d.cts.map +1 -1
- package/dist/actions/fetch-all-customers.d.mts +3 -4
- 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 -10
- package/dist/actions/fetch-all-invoices.d.cts.map +1 -1
- package/dist/actions/fetch-all-invoices.d.mts +3 -10
- 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 -8
- package/dist/actions/fetch-all-payment-links.d.cts.map +1 -1
- package/dist/actions/fetch-all-payment-links.d.mts +3 -8
- 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 -6
- package/dist/actions/fetch-all-payments.d.cts.map +1 -1
- package/dist/actions/fetch-all-payments.d.mts +3 -6
- 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 -7
- 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 -7
- 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 -3
- package/dist/actions/fetch-invoice-by-id.d.cts.map +1 -1
- package/dist/actions/fetch-invoice-by-id.d.mts +3 -3
- 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 -3
- package/dist/actions/fetch-orders-by-id.d.cts.map +1 -1
- package/dist/actions/fetch-orders-by-id.d.mts +3 -3
- 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 -8
- package/dist/actions/fetch-orders.d.cts.map +1 -1
- package/dist/actions/fetch-orders.d.mts +3 -8
- 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 -3
- package/dist/actions/fetch-payments-by-order.d.cts.map +1 -1
- package/dist/actions/fetch-payments-by-order.d.mts +3 -3
- 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 -6
- package/dist/actions/fetch-refunds.d.cts.map +1 -1
- package/dist/actions/fetch-refunds.d.mts +3 -6
- 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 -3
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +3 -3
- 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 -3
- package/dist/actions/get-customer.d.cts.map +1 -1
- package/dist/actions/get-customer.d.mts +3 -3
- 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 -3
- package/dist/actions/get-fund-account.d.cts.map +1 -1
- package/dist/actions/get-fund-account.d.mts +3 -3
- 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 -3
- package/dist/actions/get-item.d.cts.map +1 -1
- package/dist/actions/get-item.d.mts +3 -3
- 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 -7
- package/dist/actions/get-settlement-recon.d.cts.map +1 -1
- package/dist/actions/get-settlement-recon.d.mts +3 -7
- 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 -7
- package/dist/actions/get-transfer-reversals.d.cts.map +1 -1
- package/dist/actions/get-transfer-reversals.d.mts +3 -7
- 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 -3
- package/dist/actions/issue-an-invoice.d.cts.map +1 -1
- package/dist/actions/issue-an-invoice.d.mts +3 -3
- 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 -3
- package/dist/actions/list-customer-tokens.d.cts.map +1 -1
- package/dist/actions/list-customer-tokens.d.mts +3 -3
- 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 -6
- package/dist/actions/list-disputes.d.cts.map +1 -1
- package/dist/actions/list-disputes.d.mts +3 -6
- 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 -6
- package/dist/actions/list-fund-accounts.d.cts.map +1 -1
- package/dist/actions/list-fund-accounts.d.mts +3 -6
- 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 -6
- package/dist/actions/list-fund-validations.d.cts.map +1 -1
- package/dist/actions/list-fund-validations.d.mts +3 -6
- 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 -7
- package/dist/actions/list-items.d.cts.map +1 -1
- package/dist/actions/list-items.d.mts +3 -7
- 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 -1
- package/dist/actions/list-payment-downtimes.d.cts.map +1 -1
- package/dist/actions/list-payment-downtimes.d.mts +3 -1
- 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 -4
- package/dist/actions/notify-payment-link.d.cts.map +1 -1
- package/dist/actions/notify-payment-link.d.mts +3 -4
- 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 -4
- package/dist/actions/send-or-resend-notification.d.cts.map +1 -1
- package/dist/actions/send-or-resend-notification.d.mts +3 -4
- 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 -9
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -9
- 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 -6
- package/dist/actions/update-customer.d.cts.map +1 -1
- package/dist/actions/update-customer.d.mts +3 -6
- 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 -69
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +3 -69
- 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 -6
- package/dist/actions/update-item.d.cts.map +1 -1
- package/dist/actions/update-item.d.mts +3 -6
- 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 -4
- package/dist/actions/update-order.d.cts.map +1 -1
- package/dist/actions/update-order.d.mts +3 -4
- 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 -8
- package/dist/actions/update-payment-link.d.cts.map +1 -1
- package/dist/actions/update-payment-link.d.mts +3 -8
- 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 +9 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +8 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +8 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +6 -2
- 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,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/update-item.d.ts
|
|
@@ -25,12 +27,7 @@ declare const RazorpayUpdateItemOutput: z.ZodObject<{
|
|
|
25
27
|
tax_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
tax_inclusive: z.ZodNullable<z.ZodBoolean>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const razorpayUpdateItem:
|
|
29
|
-
item_id: string;
|
|
30
|
-
name?: string | undefined;
|
|
31
|
-
amount?: number | undefined;
|
|
32
|
-
description?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
30
|
+
declare const razorpayUpdateItem: AppAction<typeof RazorpayUpdateItemInput, typeof RazorpayUpdateItemOutput, typeof razorpay.credential>;
|
|
34
31
|
//#endregion
|
|
35
32
|
export { razorpayUpdateItem };
|
|
36
33
|
//# sourceMappingURL=update-item.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item.d.cts","names":[],"sources":["../../src/actions/update-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-item.d.cts","names":[],"sources":["../../src/actions/update-item.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAMvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAmBxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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/update-item.d.ts
|
|
@@ -25,12 +27,7 @@ declare const RazorpayUpdateItemOutput: z.ZodObject<{
|
|
|
25
27
|
tax_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
28
|
tax_inclusive: z.ZodNullable<z.ZodBoolean>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const razorpayUpdateItem:
|
|
29
|
-
item_id: string;
|
|
30
|
-
name?: string | undefined;
|
|
31
|
-
amount?: number | undefined;
|
|
32
|
-
description?: string | undefined;
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
30
|
+
declare const razorpayUpdateItem: AppAction<typeof RazorpayUpdateItemInput, typeof RazorpayUpdateItemOutput, typeof razorpay.credential>;
|
|
34
31
|
//#endregion
|
|
35
32
|
export { razorpayUpdateItem };
|
|
36
33
|
//# sourceMappingURL=update-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item.d.mts","names":[],"sources":["../../src/actions/update-item.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-item.d.mts","names":[],"sources":["../../src/actions/update-item.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAMvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAmBxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item.mjs","names":[],"sources":["../../src/actions/update-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateItemInput = z.object({\n name: z.string().describe(\"Name of the item. This will appear on invoices and receipts.\").optional(),\n amount: z.number().int().describe(\"Amount in the smallest currency unit (paise for INR). For example, 15000 paise = 150 INR. Must be non-negative.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the item to update. This is the ID returned when creating an item.\"),\n description: z.string().describe(\"Brief description of the item. Use this to provide additional context about what the item represents.\").optional(),\n}).describe(\"Request model for updating an item.\");\nexport const RazorpayUpdateItemOutput = z.object({\n id: z.string().describe(\"Unique identifier of the item.\").nullable(),\n name: z.string().describe(\"Name of the item.\").nullable(),\n type: z.string().describe(\"Type of the item (e.g., 'invoice', 'plan').\").nullable(),\n unit: z.string().describe(\"Unit of measurement for the item if applicable.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the item is currently active.\").nullable(),\n amount: z.number().int().describe(\"Amount in currency subunits (e.g., paise for INR).\").nullable(),\n tax_id: z.string().describe(\"ID of the associated tax entity.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD).\").nullable(),\n hsn_code: z.string().describe(\"HSN (Harmonized System of Nomenclature) code for taxation.\").nullable().optional(),\n sac_code: z.string().describe(\"SAC (Service Accounting Code) for taxation.\").nullable().optional(),\n tax_rate: z.number().describe(\"Tax rate percentage if applicable.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the item was created.\").nullable(),\n description: z.string().describe(\"Description of the item.\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit amount in currency subunits, same as amount for simple items.\").nullable(),\n tax_group_id: z.string().describe(\"ID of the tax group this item belongs to.\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax.\").nullable(),\n}).passthrough().describe(\"Response model for an updated item.\");\n\nexport const razorpayUpdateItem = action(\"RAZORPAY_UPDATE_ITEM\", {\n slug: \"razorpay-update-item\",\n name: \"Update Item\",\n description: \"Tool to update an existing item's details in Razorpay. Use when you need to modify the name, description, or amount of an item. Only the fields provided in the request will be updated; other fields remain unchanged.\",\n input: RazorpayUpdateItemInput,\n output: RazorpayUpdateItemOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-item.mjs","names":[],"sources":["../../src/actions/update-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { razorpay } from \"../app\";\n\nexport const RazorpayUpdateItemInput = z.object({\n name: z.string().describe(\"Name of the item. This will appear on invoices and receipts.\").optional(),\n amount: z.number().int().describe(\"Amount in the smallest currency unit (paise for INR). For example, 15000 paise = 150 INR. Must be non-negative.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the item to update. This is the ID returned when creating an item.\"),\n description: z.string().describe(\"Brief description of the item. Use this to provide additional context about what the item represents.\").optional(),\n}).describe(\"Request model for updating an item.\");\nexport const RazorpayUpdateItemOutput = z.object({\n id: z.string().describe(\"Unique identifier of the item.\").nullable(),\n name: z.string().describe(\"Name of the item.\").nullable(),\n type: z.string().describe(\"Type of the item (e.g., 'invoice', 'plan').\").nullable(),\n unit: z.string().describe(\"Unit of measurement for the item if applicable.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the item is currently active.\").nullable(),\n amount: z.number().int().describe(\"Amount in currency subunits (e.g., paise for INR).\").nullable(),\n tax_id: z.string().describe(\"ID of the associated tax entity.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD).\").nullable(),\n hsn_code: z.string().describe(\"HSN (Harmonized System of Nomenclature) code for taxation.\").nullable().optional(),\n sac_code: z.string().describe(\"SAC (Service Accounting Code) for taxation.\").nullable().optional(),\n tax_rate: z.number().describe(\"Tax rate percentage if applicable.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the item was created.\").nullable(),\n description: z.string().describe(\"Description of the item.\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit amount in currency subunits, same as amount for simple items.\").nullable(),\n tax_group_id: z.string().describe(\"ID of the tax group this item belongs to.\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax.\").nullable(),\n}).passthrough().describe(\"Response model for an updated item.\");\n\nexport const razorpayUpdateItem: AppAction<\n typeof RazorpayUpdateItemInput,\n typeof RazorpayUpdateItemOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_UPDATE_ITEM\", {\n slug: \"razorpay-update-item\",\n name: \"Update Item\",\n description: \"Tool to update an existing item's details in Razorpay. Use when you need to modify the name, description, or amount of an item. Only the fields provided in the request will be updated; other fields remain unchanged.\",\n input: RazorpayUpdateItemInput,\n output: RazorpayUpdateItemOutput,\n});\n"],"mappings":";;;AA+BA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjCqC,EAAE,OAAO;EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;EAC9J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;EAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,qCA4BH;CACP,QA5BsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,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":["../../src/actions/update-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateOrderInput = z.object({\n notes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs to store additional information about the order. Use this to update custom metadata fields.\").optional(),\n order_id: z.string().describe(\"The unique identifier of the order to update.\"),\n}).describe(\"Request parameters to update an order in Razorpay.\");\nexport const RazorpayUpdateOrderOutput = z.object({\n id: z.string().describe(\"The unique identifier of the order\").nullable(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]),\n amount: z.number().int().describe(\"The order amount in the smallest currency unit (e.g., paise for INR)\").nullable(),\n entity: z.string().describe(\"Entity type, always 'order'\").nullable(),\n status: z.string().describe(\"The status of the order (e.g., 'created', 'attempted', 'paid')\").nullable(),\n receipt: z.string().describe(\"Receipt identifier for the order\").nullable().optional(),\n attempts: z.number().int().describe(\"Number of payment attempts made for this order\").nullable(),\n currency: z.string().describe(\"The currency of the order (ISO 4217 format)\").nullable(),\n offer_id: z.string().describe(\"The offer ID associated with the order\").nullable().optional(),\n amount_due: z.number().int().describe(\"The amount due (pending payment) in the smallest currency unit\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when the order was created\").nullable(),\n amount_paid: z.number().int().describe(\"The amount paid against the order in the smallest currency unit\").nullable(),\n}).passthrough().describe(\"Response containing the updated order details.\");\n\nexport const razorpayUpdateOrder = action(\"RAZORPAY_UPDATE_ORDER\", {\n slug: \"razorpay-update-order\",\n name: \"Update Order\",\n description: \"Tool to update an existing order in Razorpay. Use when you need to modify the notes field of an order to store or update additional metadata.\",\n input: RazorpayUpdateOrderInput,\n output: RazorpayUpdateOrderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-order.cjs","names":["z","action"],"sources":["../../src/actions/update-order.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 RazorpayUpdateOrderInput = z.object({\n notes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs to store additional information about the order. Use this to update custom metadata fields.\").optional(),\n order_id: z.string().describe(\"The unique identifier of the order to update.\"),\n}).describe(\"Request parameters to update an order in Razorpay.\");\nexport const RazorpayUpdateOrderOutput = z.object({\n id: z.string().describe(\"The unique identifier of the order\").nullable(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]),\n amount: z.number().int().describe(\"The order amount in the smallest currency unit (e.g., paise for INR)\").nullable(),\n entity: z.string().describe(\"Entity type, always 'order'\").nullable(),\n status: z.string().describe(\"The status of the order (e.g., 'created', 'attempted', 'paid')\").nullable(),\n receipt: z.string().describe(\"Receipt identifier for the order\").nullable().optional(),\n attempts: z.number().int().describe(\"Number of payment attempts made for this order\").nullable(),\n currency: z.string().describe(\"The currency of the order (ISO 4217 format)\").nullable(),\n offer_id: z.string().describe(\"The offer ID associated with the order\").nullable().optional(),\n amount_due: z.number().int().describe(\"The amount due (pending payment) in the smallest currency unit\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when the order was created\").nullable(),\n amount_paid: z.number().int().describe(\"The amount paid against the order in the smallest currency unit\").nullable(),\n}).passthrough().describe(\"Response containing the updated order details.\");\n\nexport const razorpayUpdateOrder: AppAction<\n typeof RazorpayUpdateOrderInput,\n typeof RazorpayUpdateOrderOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_UPDATE_ORDER\", {\n slug: \"razorpay-update-order\",\n name: \"Update Order\",\n description: \"Tool to update an existing order in Razorpay. Use when you need to modify the notes field of an order to store or update additional metadata.\",\n input: RazorpayUpdateOrderInput,\n output: RazorpayUpdateOrderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,S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AAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,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/update-order.d.ts
|
|
@@ -19,10 +21,7 @@ declare const RazorpayUpdateOrderOutput: z.ZodObject<{
|
|
|
19
21
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
20
22
|
amount_paid: z.ZodNullable<z.ZodNumber>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const razorpayUpdateOrder:
|
|
23
|
-
order_id: string;
|
|
24
|
-
notes?: Record<string, unknown> | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const razorpayUpdateOrder: AppAction<typeof RazorpayUpdateOrderInput, typeof RazorpayUpdateOrderOutput, typeof razorpay.credential>;
|
|
26
25
|
//#endregion
|
|
27
26
|
export { razorpayUpdateOrder };
|
|
28
27
|
//# sourceMappingURL=update-order.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-order.d.cts","names":[],"sources":["../../src/actions/update-order.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-order.d.cts","names":[],"sources":["../../src/actions/update-order.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAezB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,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/update-order.d.ts
|
|
@@ -19,10 +21,7 @@ declare const RazorpayUpdateOrderOutput: z.ZodObject<{
|
|
|
19
21
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
20
22
|
amount_paid: z.ZodNullable<z.ZodNumber>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const razorpayUpdateOrder:
|
|
23
|
-
order_id: string;
|
|
24
|
-
notes?: Record<string, unknown> | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const razorpayUpdateOrder: AppAction<typeof RazorpayUpdateOrderInput, typeof RazorpayUpdateOrderOutput, typeof razorpay.credential>;
|
|
26
25
|
//#endregion
|
|
27
26
|
export { razorpayUpdateOrder };
|
|
28
27
|
//# sourceMappingURL=update-order.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-order.d.mts","names":[],"sources":["../../src/actions/update-order.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-order.d.mts","names":[],"sources":["../../src/actions/update-order.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAezB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-order.mjs","names":[],"sources":["../../src/actions/update-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateOrderInput = z.object({\n notes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs to store additional information about the order. Use this to update custom metadata fields.\").optional(),\n order_id: z.string().describe(\"The unique identifier of the order to update.\"),\n}).describe(\"Request parameters to update an order in Razorpay.\");\nexport const RazorpayUpdateOrderOutput = z.object({\n id: z.string().describe(\"The unique identifier of the order\").nullable(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]),\n amount: z.number().int().describe(\"The order amount in the smallest currency unit (e.g., paise for INR)\").nullable(),\n entity: z.string().describe(\"Entity type, always 'order'\").nullable(),\n status: z.string().describe(\"The status of the order (e.g., 'created', 'attempted', 'paid')\").nullable(),\n receipt: z.string().describe(\"Receipt identifier for the order\").nullable().optional(),\n attempts: z.number().int().describe(\"Number of payment attempts made for this order\").nullable(),\n currency: z.string().describe(\"The currency of the order (ISO 4217 format)\").nullable(),\n offer_id: z.string().describe(\"The offer ID associated with the order\").nullable().optional(),\n amount_due: z.number().int().describe(\"The amount due (pending payment) in the smallest currency unit\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when the order was created\").nullable(),\n amount_paid: z.number().int().describe(\"The amount paid against the order in the smallest currency unit\").nullable(),\n}).passthrough().describe(\"Response containing the updated order details.\");\n\nexport const razorpayUpdateOrder = action(\"RAZORPAY_UPDATE_ORDER\", {\n slug: \"razorpay-update-order\",\n name: \"Update Order\",\n description: \"Tool to update an existing order in Razorpay. Use when you need to modify the notes field of an order to store or update additional metadata.\",\n input: RazorpayUpdateOrderInput,\n output: RazorpayUpdateOrderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-order.mjs","names":[],"sources":["../../src/actions/update-order.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 RazorpayUpdateOrderInput = z.object({\n notes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs to store additional information about the order. Use this to update custom metadata fields.\").optional(),\n order_id: z.string().describe(\"The unique identifier of the order to update.\"),\n}).describe(\"Request parameters to update an order in Razorpay.\");\nexport const RazorpayUpdateOrderOutput = z.object({\n id: z.string().describe(\"The unique identifier of the order\").nullable(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]),\n amount: z.number().int().describe(\"The order amount in the smallest currency unit (e.g., paise for INR)\").nullable(),\n entity: z.string().describe(\"Entity type, always 'order'\").nullable(),\n status: z.string().describe(\"The status of the order (e.g., 'created', 'attempted', 'paid')\").nullable(),\n receipt: z.string().describe(\"Receipt identifier for the order\").nullable().optional(),\n attempts: z.number().int().describe(\"Number of payment attempts made for this order\").nullable(),\n currency: z.string().describe(\"The currency of the order (ISO 4217 format)\").nullable(),\n offer_id: z.string().describe(\"The offer ID associated with the order\").nullable().optional(),\n amount_due: z.number().int().describe(\"The amount due (pending payment) in the smallest currency unit\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when the order was created\").nullable(),\n amount_paid: z.number().int().describe(\"The amount paid against the order in the smallest currency unit\").nullable(),\n}).passthrough().describe(\"Response containing the updated order details.\");\n\nexport const razorpayUpdateOrder: AppAction<\n typeof RazorpayUpdateOrderInput,\n typeof RazorpayUpdateOrderOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_UPDATE_ORDER\", {\n slug: \"razorpay-update-order\",\n name: \"Update Order\",\n description: \"Tool to update an existing order in Razorpay. Use when you need to modify the notes field of an order to store or update additional metadata.\",\n input: RazorpayUpdateOrderInput,\n output: RazorpayUpdateOrderOutput,\n});\n"],"mappings":";;;AAyBA,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EAC1K,UAAU,EAAE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-payment-link.cjs","names":["z","action"],"sources":["../../src/actions/update-payment-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdatePaymentLinkInput = z.object({\n notes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs for storing additional information. Maximum 15 pairs, each key and value limited to 256 characters.\").optional(),\n plink_id: z.string().describe(\"The unique identifier of the payment link to update. Must start with 'plink_'.\"),\n expire_by: z.number().int().describe(\"Timestamp in Unix format when the payment link should expire. Must be a future timestamp.\").optional(),\n reference_id: z.string().describe(\"Adds a unique reference number to an existing link for your internal records.\").optional(),\n accept_partial: z.boolean().describe(\"Indicates whether customers can make partial payments using the Payment Link.\").optional(),\n reminder_enable: z.boolean().describe(\"Controls whether automatic payment reminders are enabled for this payment link.\").optional(),\n}).describe(\"Request parameters for updating a payment link.\");\nconst RazorpayUpdatePaymentLink_NotifySettingsSchema = z.object({\n sms: z.boolean().describe(\"Whether SMS notifications are enabled.\").nullable().optional(),\n email: z.boolean().describe(\"Whether email notifications are enabled.\").nullable().optional(),\n}).passthrough().describe(\"Notification settings for the payment link.\");\nconst RazorpayUpdatePaymentLink_CustomerDetailsSchema = z.object({\n name: z.string().describe(\"Customer's name.\").nullable().optional(),\n email: z.string().describe(\"Customer's email address.\").nullable().optional(),\n contact: z.string().describe(\"Customer's contact number.\").nullable().optional(),\n}).passthrough().describe(\"Customer details associated with the payment link.\");\nexport const RazorpayUpdatePaymentLinkOutput = z.object({\n id: z.string().describe(\"Unique identifier for the payment link.\").nullable(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n amount: z.number().int().describe(\"Amount to be paid in currency subunits (paise for INR).\").nullable(),\n notify: RazorpayUpdatePaymentLink_NotifySettingsSchema.nullable().optional(),\n source: z.string().describe(\"Source from which the payment link was created.\").nullable().optional(),\n status: z.string().describe(\"Status of the payment link (e.g., 'created', 'issued', 'paid', 'cancelled', 'expired').\").nullable(),\n user_id: z.string().describe(\"Identifier of the user who created the payment link.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR).\").nullable(),\n customer: z.union([RazorpayUpdatePaymentLink_CustomerDetailsSchema, z.array(z.unknown())]).nullable().optional(),\n payments: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n expire_by: z.number().int().describe(\"Unix timestamp when the payment link will expire.\").nullable().optional(),\n reminders: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown())]).nullable().optional(),\n short_url: z.string().describe(\"Shortened URL for the payment link.\").nullable().optional(),\n source_id: z.string().describe(\"Identifier of the source entity.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the payment link was created.\").nullable(),\n deleted_at: z.number().int().describe(\"Unix timestamp when the payment link was deleted.\").nullable().optional(),\n expired_at: z.number().int().describe(\"Unix timestamp when the payment link expired.\").nullable().optional(),\n updated_at: z.number().int().describe(\"Unix timestamp when the payment link was last updated.\").nullable().optional(),\n amount_paid: z.number().int().describe(\"Amount already paid in currency subunits.\").nullable().optional(),\n description: z.string().describe(\"Description of the payment link.\").nullable().optional(),\n callback_url: z.string().describe(\"URL to be called after payment completion.\").nullable().optional(),\n cancelled_at: z.number().int().describe(\"Unix timestamp when the payment link was cancelled.\").nullable().optional(),\n reference_id: z.string().describe(\"Unique reference number for internal tracking.\").nullable().optional(),\n accept_partial: z.boolean().describe(\"Indicates whether customers can make partial payments using the Payment Link.\").nullable().optional(),\n callback_method: z.string().describe(\"HTTP method for callback (e.g., 'get').\").nullable().optional(),\n reminder_enable: z.boolean().describe(\"Whether automatic payment reminders are enabled.\").nullable().optional(),\n first_min_partial_amount: z.number().int().describe(\"Minimum amount for the first partial payment in subunits.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the updated payment link details.\");\n\nexport const razorpayUpdatePaymentLink = action(\"RAZORPAY_UPDATE_PAYMENT_LINK\", {\n slug: \"razorpay-update-payment-link\",\n name: \"Update payment link\",\n description: \"Tool to update an existing payment link in Razorpay. Use when you need to modify payment link details such as reference ID, expiry time, partial payment settings, notes, or reminder preferences.\",\n input: RazorpayUpdatePaymentLinkInput,\n output: RazorpayUpdatePaymentLinkOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-payment-link.cjs","names":["z","action"],"sources":["../../src/actions/update-payment-link.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 RazorpayUpdatePaymentLinkInput = z.object({\n notes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs for storing additional information. Maximum 15 pairs, each key and value limited to 256 characters.\").optional(),\n plink_id: z.string().describe(\"The unique identifier of the payment link to update. Must start with 'plink_'.\"),\n expire_by: z.number().int().describe(\"Timestamp in Unix format when the payment link should expire. Must be a future timestamp.\").optional(),\n reference_id: z.string().describe(\"Adds a unique reference number to an existing link for your internal records.\").optional(),\n accept_partial: z.boolean().describe(\"Indicates whether customers can make partial payments using the Payment Link.\").optional(),\n reminder_enable: z.boolean().describe(\"Controls whether automatic payment reminders are enabled for this payment link.\").optional(),\n}).describe(\"Request parameters for updating a payment link.\");\nconst RazorpayUpdatePaymentLink_NotifySettingsSchema = z.object({\n sms: z.boolean().describe(\"Whether SMS notifications are enabled.\").nullable().optional(),\n email: z.boolean().describe(\"Whether email notifications are enabled.\").nullable().optional(),\n}).passthrough().describe(\"Notification settings for the payment link.\");\nconst RazorpayUpdatePaymentLink_CustomerDetailsSchema = z.object({\n name: z.string().describe(\"Customer's name.\").nullable().optional(),\n email: z.string().describe(\"Customer's email address.\").nullable().optional(),\n contact: z.string().describe(\"Customer's contact number.\").nullable().optional(),\n}).passthrough().describe(\"Customer details associated with the payment link.\");\nexport const RazorpayUpdatePaymentLinkOutput = z.object({\n id: z.string().describe(\"Unique identifier for the payment link.\").nullable(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n amount: z.number().int().describe(\"Amount to be paid in currency subunits (paise for INR).\").nullable(),\n notify: RazorpayUpdatePaymentLink_NotifySettingsSchema.nullable().optional(),\n source: z.string().describe(\"Source from which the payment link was created.\").nullable().optional(),\n status: z.string().describe(\"Status of the payment link (e.g., 'created', 'issued', 'paid', 'cancelled', 'expired').\").nullable(),\n user_id: z.string().describe(\"Identifier of the user who created the payment link.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR).\").nullable(),\n customer: z.union([RazorpayUpdatePaymentLink_CustomerDetailsSchema, z.array(z.unknown())]).nullable().optional(),\n payments: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n expire_by: z.number().int().describe(\"Unix timestamp when the payment link will expire.\").nullable().optional(),\n reminders: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown())]).nullable().optional(),\n short_url: z.string().describe(\"Shortened URL for the payment link.\").nullable().optional(),\n source_id: z.string().describe(\"Identifier of the source entity.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the payment link was created.\").nullable(),\n deleted_at: z.number().int().describe(\"Unix timestamp when the payment link was deleted.\").nullable().optional(),\n expired_at: z.number().int().describe(\"Unix timestamp when the payment link expired.\").nullable().optional(),\n updated_at: z.number().int().describe(\"Unix timestamp when the payment link was last updated.\").nullable().optional(),\n amount_paid: z.number().int().describe(\"Amount already paid in currency subunits.\").nullable().optional(),\n description: z.string().describe(\"Description of the payment link.\").nullable().optional(),\n callback_url: z.string().describe(\"URL to be called after payment completion.\").nullable().optional(),\n cancelled_at: z.number().int().describe(\"Unix timestamp when the payment link was cancelled.\").nullable().optional(),\n reference_id: z.string().describe(\"Unique reference number for internal tracking.\").nullable().optional(),\n accept_partial: z.boolean().describe(\"Indicates whether customers can make partial payments using the Payment Link.\").nullable().optional(),\n callback_method: z.string().describe(\"HTTP method for callback (e.g., 'get').\").nullable().optional(),\n reminder_enable: z.boolean().describe(\"Whether automatic payment reminders are enabled.\").nullable().optional(),\n first_min_partial_amount: z.number().int().describe(\"Minimum amount for the first partial payment in subunits.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the updated payment link details.\");\n\nexport const razorpayUpdatePaymentLink: AppAction<\n typeof RazorpayUpdatePaymentLinkInput,\n typeof RazorpayUpdatePaymentLinkOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_UPDATE_PAYMENT_LINK\", {\n slug: \"razorpay-update-payment-link\",\n name: \"Update payment link\",\n description: \"Tool to update an existing payment link in Razorpay. Use when you need to modify payment link details such as reference ID, expiry time, partial payment settings, notes, or reminder preferences.\",\n input: RazorpayUpdatePaymentLinkInput,\n output: RazorpayUpdatePaymentLinkOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAClL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC3I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC5H,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC/H,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,QAA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,eAAAA,OAAO,gCAAgC;CACzC,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/update-payment-link.d.ts
|
|
@@ -45,14 +47,7 @@ declare const RazorpayUpdatePaymentLinkOutput: z.ZodObject<{
|
|
|
45
47
|
reminder_enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
46
48
|
first_min_partial_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
49
|
}, z.core.$loose>;
|
|
48
|
-
declare const razorpayUpdatePaymentLink:
|
|
49
|
-
plink_id: string;
|
|
50
|
-
notes?: Record<string, unknown> | undefined;
|
|
51
|
-
expire_by?: number | undefined;
|
|
52
|
-
reference_id?: string | undefined;
|
|
53
|
-
accept_partial?: boolean | undefined;
|
|
54
|
-
reminder_enable?: boolean | undefined;
|
|
55
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
50
|
+
declare const razorpayUpdatePaymentLink: AppAction<typeof RazorpayUpdatePaymentLinkInput, typeof RazorpayUpdatePaymentLinkOutput, typeof razorpay.credential>;
|
|
56
51
|
//#endregion
|
|
57
52
|
export { razorpayUpdatePaymentLink };
|
|
58
53
|
//# sourceMappingURL=update-payment-link.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-payment-link.d.cts","names":[],"sources":["../../src/actions/update-payment-link.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-payment-link.d.cts","names":[],"sources":["../../src/actions/update-payment-link.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAiB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8B/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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/update-payment-link.d.ts
|
|
@@ -45,14 +47,7 @@ declare const RazorpayUpdatePaymentLinkOutput: z.ZodObject<{
|
|
|
45
47
|
reminder_enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
46
48
|
first_min_partial_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
49
|
}, z.core.$loose>;
|
|
48
|
-
declare const razorpayUpdatePaymentLink:
|
|
49
|
-
plink_id: string;
|
|
50
|
-
notes?: Record<string, unknown> | undefined;
|
|
51
|
-
expire_by?: number | undefined;
|
|
52
|
-
reference_id?: string | undefined;
|
|
53
|
-
accept_partial?: boolean | undefined;
|
|
54
|
-
reminder_enable?: boolean | undefined;
|
|
55
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
50
|
+
declare const razorpayUpdatePaymentLink: AppAction<typeof RazorpayUpdatePaymentLinkInput, typeof RazorpayUpdatePaymentLinkOutput, typeof razorpay.credential>;
|
|
56
51
|
//#endregion
|
|
57
52
|
export { razorpayUpdatePaymentLink };
|
|
58
53
|
//# sourceMappingURL=update-payment-link.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-payment-link.d.mts","names":[],"sources":["../../src/actions/update-payment-link.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-payment-link.d.mts","names":[],"sources":["../../src/actions/update-payment-link.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAiB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8B/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-payment-link.mjs","names":[],"sources":["../../src/actions/update-payment-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdatePaymentLinkInput = z.object({\n notes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs for storing additional information. Maximum 15 pairs, each key and value limited to 256 characters.\").optional(),\n plink_id: z.string().describe(\"The unique identifier of the payment link to update. Must start with 'plink_'.\"),\n expire_by: z.number().int().describe(\"Timestamp in Unix format when the payment link should expire. Must be a future timestamp.\").optional(),\n reference_id: z.string().describe(\"Adds a unique reference number to an existing link for your internal records.\").optional(),\n accept_partial: z.boolean().describe(\"Indicates whether customers can make partial payments using the Payment Link.\").optional(),\n reminder_enable: z.boolean().describe(\"Controls whether automatic payment reminders are enabled for this payment link.\").optional(),\n}).describe(\"Request parameters for updating a payment link.\");\nconst RazorpayUpdatePaymentLink_NotifySettingsSchema = z.object({\n sms: z.boolean().describe(\"Whether SMS notifications are enabled.\").nullable().optional(),\n email: z.boolean().describe(\"Whether email notifications are enabled.\").nullable().optional(),\n}).passthrough().describe(\"Notification settings for the payment link.\");\nconst RazorpayUpdatePaymentLink_CustomerDetailsSchema = z.object({\n name: z.string().describe(\"Customer's name.\").nullable().optional(),\n email: z.string().describe(\"Customer's email address.\").nullable().optional(),\n contact: z.string().describe(\"Customer's contact number.\").nullable().optional(),\n}).passthrough().describe(\"Customer details associated with the payment link.\");\nexport const RazorpayUpdatePaymentLinkOutput = z.object({\n id: z.string().describe(\"Unique identifier for the payment link.\").nullable(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n amount: z.number().int().describe(\"Amount to be paid in currency subunits (paise for INR).\").nullable(),\n notify: RazorpayUpdatePaymentLink_NotifySettingsSchema.nullable().optional(),\n source: z.string().describe(\"Source from which the payment link was created.\").nullable().optional(),\n status: z.string().describe(\"Status of the payment link (e.g., 'created', 'issued', 'paid', 'cancelled', 'expired').\").nullable(),\n user_id: z.string().describe(\"Identifier of the user who created the payment link.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR).\").nullable(),\n customer: z.union([RazorpayUpdatePaymentLink_CustomerDetailsSchema, z.array(z.unknown())]).nullable().optional(),\n payments: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n expire_by: z.number().int().describe(\"Unix timestamp when the payment link will expire.\").nullable().optional(),\n reminders: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown())]).nullable().optional(),\n short_url: z.string().describe(\"Shortened URL for the payment link.\").nullable().optional(),\n source_id: z.string().describe(\"Identifier of the source entity.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the payment link was created.\").nullable(),\n deleted_at: z.number().int().describe(\"Unix timestamp when the payment link was deleted.\").nullable().optional(),\n expired_at: z.number().int().describe(\"Unix timestamp when the payment link expired.\").nullable().optional(),\n updated_at: z.number().int().describe(\"Unix timestamp when the payment link was last updated.\").nullable().optional(),\n amount_paid: z.number().int().describe(\"Amount already paid in currency subunits.\").nullable().optional(),\n description: z.string().describe(\"Description of the payment link.\").nullable().optional(),\n callback_url: z.string().describe(\"URL to be called after payment completion.\").nullable().optional(),\n cancelled_at: z.number().int().describe(\"Unix timestamp when the payment link was cancelled.\").nullable().optional(),\n reference_id: z.string().describe(\"Unique reference number for internal tracking.\").nullable().optional(),\n accept_partial: z.boolean().describe(\"Indicates whether customers can make partial payments using the Payment Link.\").nullable().optional(),\n callback_method: z.string().describe(\"HTTP method for callback (e.g., 'get').\").nullable().optional(),\n reminder_enable: z.boolean().describe(\"Whether automatic payment reminders are enabled.\").nullable().optional(),\n first_min_partial_amount: z.number().int().describe(\"Minimum amount for the first partial payment in subunits.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the updated payment link details.\");\n\nexport const razorpayUpdatePaymentLink = action(\"RAZORPAY_UPDATE_PAYMENT_LINK\", {\n slug: \"razorpay-update-payment-link\",\n name: \"Update payment link\",\n description: \"Tool to update an existing payment link in Razorpay. Use when you need to modify payment link details such as reference ID, expiry time, partial payment settings, notes, or reminder preferences.\",\n input: RazorpayUpdatePaymentLinkInput,\n output: RazorpayUpdatePaymentLinkOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-payment-link.mjs","names":[],"sources":["../../src/actions/update-payment-link.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 RazorpayUpdatePaymentLinkInput = z.object({\n notes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs for storing additional information. Maximum 15 pairs, each key and value limited to 256 characters.\").optional(),\n plink_id: z.string().describe(\"The unique identifier of the payment link to update. Must start with 'plink_'.\"),\n expire_by: z.number().int().describe(\"Timestamp in Unix format when the payment link should expire. Must be a future timestamp.\").optional(),\n reference_id: z.string().describe(\"Adds a unique reference number to an existing link for your internal records.\").optional(),\n accept_partial: z.boolean().describe(\"Indicates whether customers can make partial payments using the Payment Link.\").optional(),\n reminder_enable: z.boolean().describe(\"Controls whether automatic payment reminders are enabled for this payment link.\").optional(),\n}).describe(\"Request parameters for updating a payment link.\");\nconst RazorpayUpdatePaymentLink_NotifySettingsSchema = z.object({\n sms: z.boolean().describe(\"Whether SMS notifications are enabled.\").nullable().optional(),\n email: z.boolean().describe(\"Whether email notifications are enabled.\").nullable().optional(),\n}).passthrough().describe(\"Notification settings for the payment link.\");\nconst RazorpayUpdatePaymentLink_CustomerDetailsSchema = z.object({\n name: z.string().describe(\"Customer's name.\").nullable().optional(),\n email: z.string().describe(\"Customer's email address.\").nullable().optional(),\n contact: z.string().describe(\"Customer's contact number.\").nullable().optional(),\n}).passthrough().describe(\"Customer details associated with the payment link.\");\nexport const RazorpayUpdatePaymentLinkOutput = z.object({\n id: z.string().describe(\"Unique identifier for the payment link.\").nullable(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n amount: z.number().int().describe(\"Amount to be paid in currency subunits (paise for INR).\").nullable(),\n notify: RazorpayUpdatePaymentLink_NotifySettingsSchema.nullable().optional(),\n source: z.string().describe(\"Source from which the payment link was created.\").nullable().optional(),\n status: z.string().describe(\"Status of the payment link (e.g., 'created', 'issued', 'paid', 'cancelled', 'expired').\").nullable(),\n user_id: z.string().describe(\"Identifier of the user who created the payment link.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR).\").nullable(),\n customer: z.union([RazorpayUpdatePaymentLink_CustomerDetailsSchema, z.array(z.unknown())]).nullable().optional(),\n payments: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n expire_by: z.number().int().describe(\"Unix timestamp when the payment link will expire.\").nullable().optional(),\n reminders: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown())]).nullable().optional(),\n short_url: z.string().describe(\"Shortened URL for the payment link.\").nullable().optional(),\n source_id: z.string().describe(\"Identifier of the source entity.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the payment link was created.\").nullable(),\n deleted_at: z.number().int().describe(\"Unix timestamp when the payment link was deleted.\").nullable().optional(),\n expired_at: z.number().int().describe(\"Unix timestamp when the payment link expired.\").nullable().optional(),\n updated_at: z.number().int().describe(\"Unix timestamp when the payment link was last updated.\").nullable().optional(),\n amount_paid: z.number().int().describe(\"Amount already paid in currency subunits.\").nullable().optional(),\n description: z.string().describe(\"Description of the payment link.\").nullable().optional(),\n callback_url: z.string().describe(\"URL to be called after payment completion.\").nullable().optional(),\n cancelled_at: z.number().int().describe(\"Unix timestamp when the payment link was cancelled.\").nullable().optional(),\n reference_id: z.string().describe(\"Unique reference number for internal tracking.\").nullable().optional(),\n accept_partial: z.boolean().describe(\"Indicates whether customers can make partial payments using the Payment Link.\").nullable().optional(),\n callback_method: z.string().describe(\"HTTP method for callback (e.g., 'get').\").nullable().optional(),\n reminder_enable: z.boolean().describe(\"Whether automatic payment reminders are enabled.\").nullable().optional(),\n first_min_partial_amount: z.number().int().describe(\"Minimum amount for the first partial payment in subunits.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the updated payment link details.\");\n\nexport const razorpayUpdatePaymentLink: AppAction<\n typeof RazorpayUpdatePaymentLinkInput,\n typeof RazorpayUpdatePaymentLinkOutput,\n typeof razorpay.credential\n> = action(\"RAZORPAY_UPDATE_PAYMENT_LINK\", {\n slug: \"razorpay-update-payment-link\",\n name: \"Update payment link\",\n description: \"Tool to update an existing payment link in Razorpay. Use when you need to modify payment link details such as reference ID, expiry time, partial payment settings, notes, or reminder preferences.\",\n input: RazorpayUpdatePaymentLinkInput,\n output: RazorpayUpdatePaymentLinkOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAClL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC3I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC5H,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC/H,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,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AS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
+
let zod = require("zod");
|
|
1
3
|
//#region src/app.ts
|
|
2
|
-
const
|
|
4
|
+
const credential = {
|
|
5
|
+
generic_api_key: zod.z.string(),
|
|
6
|
+
generic_id: zod.z.string()
|
|
7
|
+
};
|
|
8
|
+
const razorpay = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
9
|
slug: "razorpay",
|
|
4
|
-
auth: "keystroke"
|
|
10
|
+
auth: "keystroke",
|
|
11
|
+
credential
|
|
5
12
|
});
|
|
6
13
|
//#endregion
|
|
7
14
|
exports.razorpay = razorpay;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const razorpay = defineApp({\n slug: \"razorpay\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n generic_id: z.string(),\n};\n\nexport const razorpay: KeystrokeApp<\"razorpay\", typeof credential> = defineApp({\n slug: \"razorpay\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;;AAGA,MAAM,aAAa;CACjB,iBAAiBA,IAAAA,EAAE,OAAO;CAC1B,YAAYA,IAAAA,EAAE,OAAO;AACvB;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAkE;CAC7E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
generic_id: z.ZodString;
|
|
8
|
+
};
|
|
9
|
+
declare const razorpay: KeystrokeApp<"razorpay", typeof credential>;
|
|
3
10
|
//#endregion
|
|
4
11
|
export { razorpay };
|
|
5
12
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAGL,CAAA,CAAA,SAAA;cAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
generic_id: z.ZodString;
|
|
8
|
+
};
|
|
9
|
+
declare const razorpay: KeystrokeApp<"razorpay", typeof credential>;
|
|
3
10
|
//#endregion
|
|
4
11
|
export { razorpay };
|
|
5
12
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAGL,CAAA,CAAA,SAAA;cAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const razorpay = defineApp({
|
|
4
4
|
slug: "razorpay",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: {
|
|
7
|
+
generic_api_key: z.string(),
|
|
8
|
+
generic_id: z.string()
|
|
9
|
+
}
|
|
6
10
|
});
|
|
7
11
|
//#endregion
|
|
8
12
|
export { razorpay };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const razorpay = defineApp({\n slug: \"razorpay\",\n auth: \"keystroke\",\n});\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n generic_id: z.string(),\n};\n\nexport const razorpay: KeystrokeApp<\"razorpay\", typeof credential> = defineApp({\n slug: \"razorpay\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAQA,MAAa,WAAwD,UAAU;CAC7E,MAAM;CACN,MAAM;CACN;EAPA,iBAAiB,EAAE,OAAO;EAC1B,YAAY,EAAE,OAAO;CAMrB;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { razorpay } from "./app.cjs";
|
|
1
2
|
import { razorpayCancelInvoice } from "./actions/cancel-invoice.cjs";
|
|
2
3
|
import { razorpayCancelPaymentLink } from "./actions/cancel-payment-link.cjs";
|
|
3
4
|
import { razorpayCreateAnOrder } from "./actions/create-an-order.cjs";
|
|
@@ -40,6 +41,5 @@ import { razorpayUpdateInvoice } from "./actions/update-invoice.cjs";
|
|
|
40
41
|
import { razorpayUpdateItem } from "./actions/update-item.cjs";
|
|
41
42
|
import { razorpayUpdateOrder } from "./actions/update-order.cjs";
|
|
42
43
|
import { razorpayUpdatePaymentLink } from "./actions/update-payment-link.cjs";
|
|
43
|
-
import { razorpay } from "./app.cjs";
|
|
44
44
|
import { razorpayCatalog } from "./catalog.cjs";
|
|
45
45
|
export { razorpay, razorpayCancelInvoice, razorpayCancelPaymentLink, razorpayCatalog, razorpayCreateAnOrder, razorpayCreateContact, razorpayCreateCustomer, razorpayCreateInvoice, razorpayCreateItem, razorpayCreatePaymentLink, razorpayDeleteInvoice, razorpayDeleteItem, razorpayFetchAPaymentLink, razorpayFetchAllCustomers, razorpayFetchAllInvoices, razorpayFetchAllPaymentLinks, razorpayFetchAllPayments, razorpayFetchAllRefundsForAPayment, razorpayFetchInvoiceById, razorpayFetchOrders, razorpayFetchOrdersById, razorpayFetchPaymentsByOrder, razorpayFetchRefunds, razorpayGetContact, razorpayGetCustomer, razorpayGetFundAccount, razorpayGetItem, razorpayGetSettlementRecon, razorpayGetTransferReversals, razorpayIssueAnInvoice, razorpayListCustomerTokens, razorpayListDisputes, razorpayListFundAccounts, razorpayListFundValidations, razorpayListItems, razorpayListPaymentDowntimes, razorpayNotifyPaymentLink, razorpaySendOrResendNotification, razorpayUpdateContact, razorpayUpdateCustomer, razorpayUpdateInvoice, razorpayUpdateItem, razorpayUpdateOrder, razorpayUpdatePaymentLink };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { razorpay } from "./app.mjs";
|
|
1
2
|
import { razorpayCancelInvoice } from "./actions/cancel-invoice.mjs";
|
|
2
3
|
import { razorpayCancelPaymentLink } from "./actions/cancel-payment-link.mjs";
|
|
3
4
|
import { razorpayCreateAnOrder } from "./actions/create-an-order.mjs";
|
|
@@ -40,6 +41,5 @@ import { razorpayUpdateInvoice } from "./actions/update-invoice.mjs";
|
|
|
40
41
|
import { razorpayUpdateItem } from "./actions/update-item.mjs";
|
|
41
42
|
import { razorpayUpdateOrder } from "./actions/update-order.mjs";
|
|
42
43
|
import { razorpayUpdatePaymentLink } from "./actions/update-payment-link.mjs";
|
|
43
|
-
import { razorpay } from "./app.mjs";
|
|
44
44
|
import { razorpayCatalog } from "./catalog.mjs";
|
|
45
45
|
export { razorpay, razorpayCancelInvoice, razorpayCancelPaymentLink, razorpayCatalog, razorpayCreateAnOrder, razorpayCreateContact, razorpayCreateCustomer, razorpayCreateInvoice, razorpayCreateItem, razorpayCreatePaymentLink, razorpayDeleteInvoice, razorpayDeleteItem, razorpayFetchAPaymentLink, razorpayFetchAllCustomers, razorpayFetchAllInvoices, razorpayFetchAllPaymentLinks, razorpayFetchAllPayments, razorpayFetchAllRefundsForAPayment, razorpayFetchInvoiceById, razorpayFetchOrders, razorpayFetchOrdersById, razorpayFetchPaymentsByOrder, razorpayFetchRefunds, razorpayGetContact, razorpayGetCustomer, razorpayGetFundAccount, razorpayGetItem, razorpayGetSettlementRecon, razorpayGetTransferReversals, razorpayIssueAnInvoice, razorpayListCustomerTokens, razorpayListDisputes, razorpayListFundAccounts, razorpayListFundValidations, razorpayListItems, razorpayListPaymentDowntimes, razorpayNotifyPaymentLink, razorpaySendOrResendNotification, razorpayUpdateContact, razorpayUpdateCustomer, razorpayUpdateInvoice, razorpayUpdateItem, razorpayUpdateOrder, razorpayUpdatePaymentLink };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/razorpay",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|