@keystrokehq/razorpay 0.1.0 → 0.1.2
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.map +1 -1
- package/dist/actions/cancel-invoice.d.cts +99 -3
- package/dist/actions/cancel-invoice.d.cts.map +1 -1
- package/dist/actions/cancel-invoice.d.mts +99 -3
- package/dist/actions/cancel-invoice.d.mts.map +1 -1
- package/dist/actions/cancel-invoice.mjs.map +1 -1
- package/dist/actions/cancel-payment-link.cjs +9 -9
- package/dist/actions/cancel-payment-link.cjs.map +1 -1
- package/dist/actions/cancel-payment-link.d.cts +33 -3
- package/dist/actions/cancel-payment-link.d.cts.map +1 -1
- package/dist/actions/cancel-payment-link.d.mts +33 -3
- package/dist/actions/cancel-payment-link.d.mts.map +1 -1
- package/dist/actions/cancel-payment-link.mjs +9 -9
- package/dist/actions/cancel-payment-link.mjs.map +1 -1
- package/dist/actions/create-an-order.cjs +9 -9
- package/dist/actions/create-an-order.cjs.map +1 -1
- package/dist/actions/create-an-order.d.cts +27 -3
- package/dist/actions/create-an-order.d.cts.map +1 -1
- package/dist/actions/create-an-order.d.mts +27 -3
- package/dist/actions/create-an-order.d.mts.map +1 -1
- package/dist/actions/create-an-order.mjs +9 -9
- package/dist/actions/create-an-order.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +6 -6
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +33 -3
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +33 -3
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +6 -6
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +2 -2
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +24 -3
- package/dist/actions/create-customer.d.cts.map +1 -1
- package/dist/actions/create-customer.d.mts +24 -3
- package/dist/actions/create-customer.d.mts.map +1 -1
- package/dist/actions/create-customer.mjs +2 -2
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +6 -6
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +221 -3
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +221 -3
- package/dist/actions/create-invoice.d.mts.map +1 -1
- package/dist/actions/create-invoice.mjs +6 -6
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-item.cjs +6 -6
- package/dist/actions/create-item.cjs.map +1 -1
- package/dist/actions/create-item.d.cts +29 -3
- package/dist/actions/create-item.d.cts.map +1 -1
- package/dist/actions/create-item.d.mts +29 -3
- package/dist/actions/create-item.d.mts.map +1 -1
- package/dist/actions/create-item.mjs +6 -6
- package/dist/actions/create-item.mjs.map +1 -1
- package/dist/actions/create-payment-link.cjs +6 -6
- package/dist/actions/create-payment-link.cjs.map +1 -1
- package/dist/actions/create-payment-link.d.cts +76 -3
- package/dist/actions/create-payment-link.d.cts.map +1 -1
- package/dist/actions/create-payment-link.d.mts +76 -3
- package/dist/actions/create-payment-link.d.mts.map +1 -1
- package/dist/actions/create-payment-link.mjs +6 -6
- package/dist/actions/create-payment-link.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +9 -3
- package/dist/actions/delete-invoice.d.cts.map +1 -1
- package/dist/actions/delete-invoice.d.mts +9 -3
- package/dist/actions/delete-invoice.d.mts.map +1 -1
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-item.cjs.map +1 -1
- package/dist/actions/delete-item.d.cts +9 -3
- package/dist/actions/delete-item.d.cts.map +1 -1
- package/dist/actions/delete-item.d.mts +9 -3
- package/dist/actions/delete-item.d.mts.map +1 -1
- package/dist/actions/delete-item.mjs.map +1 -1
- package/dist/actions/fetch-a-payment-link.cjs.map +1 -1
- package/dist/actions/fetch-a-payment-link.d.cts +43 -3
- package/dist/actions/fetch-a-payment-link.d.cts.map +1 -1
- package/dist/actions/fetch-a-payment-link.d.mts +43 -3
- package/dist/actions/fetch-a-payment-link.d.mts.map +1 -1
- package/dist/actions/fetch-a-payment-link.mjs.map +1 -1
- package/dist/actions/fetch-all-customers.cjs +6 -6
- package/dist/actions/fetch-all-customers.cjs.map +1 -1
- package/dist/actions/fetch-all-customers.d.cts +22 -3
- package/dist/actions/fetch-all-customers.d.cts.map +1 -1
- package/dist/actions/fetch-all-customers.d.mts +22 -3
- package/dist/actions/fetch-all-customers.d.mts.map +1 -1
- package/dist/actions/fetch-all-customers.mjs +6 -6
- package/dist/actions/fetch-all-customers.mjs.map +1 -1
- package/dist/actions/fetch-all-invoices.cjs +7 -7
- package/dist/actions/fetch-all-invoices.cjs.map +1 -1
- package/dist/actions/fetch-all-invoices.d.cts +115 -3
- package/dist/actions/fetch-all-invoices.d.cts.map +1 -1
- package/dist/actions/fetch-all-invoices.d.mts +115 -3
- package/dist/actions/fetch-all-invoices.d.mts.map +1 -1
- package/dist/actions/fetch-all-invoices.mjs +7 -7
- package/dist/actions/fetch-all-invoices.mjs.map +1 -1
- package/dist/actions/fetch-all-payment-links.cjs +5 -5
- package/dist/actions/fetch-all-payment-links.cjs.map +1 -1
- package/dist/actions/fetch-all-payment-links.d.cts +45 -3
- package/dist/actions/fetch-all-payment-links.d.cts.map +1 -1
- package/dist/actions/fetch-all-payment-links.d.mts +45 -3
- package/dist/actions/fetch-all-payment-links.d.mts.map +1 -1
- package/dist/actions/fetch-all-payment-links.mjs +5 -5
- package/dist/actions/fetch-all-payment-links.mjs.map +1 -1
- package/dist/actions/fetch-all-payments.cjs +12 -12
- package/dist/actions/fetch-all-payments.cjs.map +1 -1
- package/dist/actions/fetch-all-payments.d.cts +50 -3
- package/dist/actions/fetch-all-payments.d.cts.map +1 -1
- package/dist/actions/fetch-all-payments.d.mts +50 -3
- package/dist/actions/fetch-all-payments.d.mts.map +1 -1
- package/dist/actions/fetch-all-payments.mjs +12 -12
- package/dist/actions/fetch-all-payments.mjs.map +1 -1
- package/dist/actions/fetch-all-refunds-for-a-payment.cjs.map +1 -1
- package/dist/actions/fetch-all-refunds-for-a-payment.d.cts +35 -3
- 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 +35 -3
- package/dist/actions/fetch-all-refunds-for-a-payment.d.mts.map +1 -1
- package/dist/actions/fetch-all-refunds-for-a-payment.mjs.map +1 -1
- package/dist/actions/fetch-invoice-by-id.cjs +6 -6
- package/dist/actions/fetch-invoice-by-id.cjs.map +1 -1
- package/dist/actions/fetch-invoice-by-id.d.cts +97 -3
- package/dist/actions/fetch-invoice-by-id.d.cts.map +1 -1
- package/dist/actions/fetch-invoice-by-id.d.mts +97 -3
- package/dist/actions/fetch-invoice-by-id.d.mts.map +1 -1
- package/dist/actions/fetch-invoice-by-id.mjs +6 -6
- package/dist/actions/fetch-invoice-by-id.mjs.map +1 -1
- package/dist/actions/fetch-orders-by-id.cjs +8 -8
- package/dist/actions/fetch-orders-by-id.cjs.map +1 -1
- package/dist/actions/fetch-orders-by-id.d.cts +20 -3
- package/dist/actions/fetch-orders-by-id.d.cts.map +1 -1
- package/dist/actions/fetch-orders-by-id.d.mts +20 -3
- package/dist/actions/fetch-orders-by-id.d.mts.map +1 -1
- package/dist/actions/fetch-orders-by-id.mjs +8 -8
- package/dist/actions/fetch-orders-by-id.mjs.map +1 -1
- package/dist/actions/fetch-orders.cjs +10 -10
- package/dist/actions/fetch-orders.cjs.map +1 -1
- package/dist/actions/fetch-orders.d.cts +34 -3
- package/dist/actions/fetch-orders.d.cts.map +1 -1
- package/dist/actions/fetch-orders.d.mts +34 -3
- package/dist/actions/fetch-orders.d.mts.map +1 -1
- package/dist/actions/fetch-orders.mjs +10 -10
- package/dist/actions/fetch-orders.mjs.map +1 -1
- package/dist/actions/fetch-payments-by-order.cjs +7 -7
- package/dist/actions/fetch-payments-by-order.cjs.map +1 -1
- package/dist/actions/fetch-payments-by-order.d.cts +43 -3
- package/dist/actions/fetch-payments-by-order.d.cts.map +1 -1
- package/dist/actions/fetch-payments-by-order.d.mts +43 -3
- package/dist/actions/fetch-payments-by-order.d.mts.map +1 -1
- package/dist/actions/fetch-payments-by-order.mjs +7 -7
- package/dist/actions/fetch-payments-by-order.mjs.map +1 -1
- package/dist/actions/fetch-refunds.cjs.map +1 -1
- package/dist/actions/fetch-refunds.d.cts +33 -3
- package/dist/actions/fetch-refunds.d.cts.map +1 -1
- package/dist/actions/fetch-refunds.d.mts +33 -3
- package/dist/actions/fetch-refunds.d.mts.map +1 -1
- package/dist/actions/fetch-refunds.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +6 -6
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +19 -3
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +19 -3
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +6 -6
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-customer.cjs +2 -2
- package/dist/actions/get-customer.cjs.map +1 -1
- package/dist/actions/get-customer.d.cts +16 -3
- package/dist/actions/get-customer.d.cts.map +1 -1
- package/dist/actions/get-customer.d.mts +16 -3
- package/dist/actions/get-customer.d.mts.map +1 -1
- package/dist/actions/get-customer.mjs +2 -2
- package/dist/actions/get-customer.mjs.map +1 -1
- package/dist/actions/get-fund-account.cjs +6 -6
- package/dist/actions/get-fund-account.cjs.map +1 -1
- package/dist/actions/get-fund-account.d.cts +32 -3
- package/dist/actions/get-fund-account.d.cts.map +1 -1
- package/dist/actions/get-fund-account.d.mts +32 -3
- package/dist/actions/get-fund-account.d.mts.map +1 -1
- package/dist/actions/get-fund-account.mjs +6 -6
- package/dist/actions/get-fund-account.mjs.map +1 -1
- package/dist/actions/get-item.cjs +9 -9
- package/dist/actions/get-item.cjs.map +1 -1
- package/dist/actions/get-item.d.cts +24 -3
- package/dist/actions/get-item.d.cts.map +1 -1
- package/dist/actions/get-item.d.mts +24 -3
- package/dist/actions/get-item.d.mts.map +1 -1
- package/dist/actions/get-item.mjs +9 -9
- package/dist/actions/get-item.mjs.map +1 -1
- package/dist/actions/get-settlement-recon.cjs.map +1 -1
- package/dist/actions/get-settlement-recon.d.cts +28 -3
- package/dist/actions/get-settlement-recon.d.cts.map +1 -1
- package/dist/actions/get-settlement-recon.d.mts +28 -3
- package/dist/actions/get-settlement-recon.d.mts.map +1 -1
- package/dist/actions/get-settlement-recon.mjs.map +1 -1
- package/dist/actions/get-transfer-reversals.cjs.map +1 -1
- package/dist/actions/get-transfer-reversals.d.cts +32 -3
- package/dist/actions/get-transfer-reversals.d.cts.map +1 -1
- package/dist/actions/get-transfer-reversals.d.mts +32 -3
- package/dist/actions/get-transfer-reversals.d.mts.map +1 -1
- package/dist/actions/get-transfer-reversals.mjs.map +1 -1
- package/dist/actions/issue-an-invoice.cjs +6 -6
- package/dist/actions/issue-an-invoice.cjs.map +1 -1
- package/dist/actions/issue-an-invoice.d.cts +97 -3
- package/dist/actions/issue-an-invoice.d.cts.map +1 -1
- package/dist/actions/issue-an-invoice.d.mts +97 -3
- package/dist/actions/issue-an-invoice.d.mts.map +1 -1
- package/dist/actions/issue-an-invoice.mjs +6 -6
- package/dist/actions/issue-an-invoice.mjs.map +1 -1
- package/dist/actions/list-customer-tokens.cjs +6 -6
- package/dist/actions/list-customer-tokens.cjs.map +1 -1
- package/dist/actions/list-customer-tokens.d.cts +40 -3
- package/dist/actions/list-customer-tokens.d.cts.map +1 -1
- package/dist/actions/list-customer-tokens.d.mts +40 -3
- package/dist/actions/list-customer-tokens.d.mts.map +1 -1
- package/dist/actions/list-customer-tokens.mjs +6 -6
- package/dist/actions/list-customer-tokens.mjs.map +1 -1
- package/dist/actions/list-disputes.cjs.map +1 -1
- package/dist/actions/list-disputes.d.cts +46 -3
- package/dist/actions/list-disputes.d.cts.map +1 -1
- package/dist/actions/list-disputes.d.mts +46 -3
- package/dist/actions/list-disputes.d.mts.map +1 -1
- package/dist/actions/list-disputes.mjs.map +1 -1
- package/dist/actions/list-fund-accounts.cjs.map +1 -1
- package/dist/actions/list-fund-accounts.d.cts +40 -3
- package/dist/actions/list-fund-accounts.d.cts.map +1 -1
- package/dist/actions/list-fund-accounts.d.mts +40 -3
- package/dist/actions/list-fund-accounts.d.mts.map +1 -1
- package/dist/actions/list-fund-accounts.mjs.map +1 -1
- package/dist/actions/list-fund-validations.cjs.map +1 -1
- package/dist/actions/list-fund-validations.d.cts +45 -3
- package/dist/actions/list-fund-validations.d.cts.map +1 -1
- package/dist/actions/list-fund-validations.d.mts +45 -3
- package/dist/actions/list-fund-validations.d.mts.map +1 -1
- package/dist/actions/list-fund-validations.mjs.map +1 -1
- package/dist/actions/list-items.cjs.map +1 -1
- package/dist/actions/list-items.d.cts +36 -3
- package/dist/actions/list-items.d.cts.map +1 -1
- package/dist/actions/list-items.d.mts +36 -3
- package/dist/actions/list-items.d.mts.map +1 -1
- package/dist/actions/list-items.mjs.map +1 -1
- package/dist/actions/list-payment-downtimes.cjs.map +1 -1
- package/dist/actions/list-payment-downtimes.d.cts +3 -3
- package/dist/actions/list-payment-downtimes.d.cts.map +1 -1
- package/dist/actions/list-payment-downtimes.d.mts +3 -3
- package/dist/actions/list-payment-downtimes.d.mts.map +1 -1
- package/dist/actions/list-payment-downtimes.mjs.map +1 -1
- package/dist/actions/notify-payment-link.cjs +1 -1
- package/dist/actions/notify-payment-link.cjs.map +1 -1
- package/dist/actions/notify-payment-link.d.cts +14 -3
- package/dist/actions/notify-payment-link.d.cts.map +1 -1
- package/dist/actions/notify-payment-link.d.mts +14 -3
- package/dist/actions/notify-payment-link.d.mts.map +1 -1
- package/dist/actions/notify-payment-link.mjs +1 -1
- package/dist/actions/notify-payment-link.mjs.map +1 -1
- package/dist/actions/send-or-resend-notification.cjs +1 -1
- package/dist/actions/send-or-resend-notification.cjs.map +1 -1
- package/dist/actions/send-or-resend-notification.d.cts +14 -3
- package/dist/actions/send-or-resend-notification.d.cts.map +1 -1
- package/dist/actions/send-or-resend-notification.d.mts +14 -3
- package/dist/actions/send-or-resend-notification.d.mts.map +1 -1
- package/dist/actions/send-or-resend-notification.mjs +1 -1
- package/dist/actions/send-or-resend-notification.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +6 -6
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +35 -3
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +35 -3
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +6 -6
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +6 -6
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +22 -3
- package/dist/actions/update-customer.d.cts.map +1 -1
- package/dist/actions/update-customer.d.mts +22 -3
- package/dist/actions/update-customer.d.mts.map +1 -1
- package/dist/actions/update-customer.mjs +6 -6
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +5 -5
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +227 -3
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +227 -3
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +5 -5
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-item.cjs +9 -9
- package/dist/actions/update-item.cjs.map +1 -1
- package/dist/actions/update-item.d.cts +30 -3
- package/dist/actions/update-item.d.cts.map +1 -1
- package/dist/actions/update-item.d.mts +30 -3
- package/dist/actions/update-item.d.mts.map +1 -1
- package/dist/actions/update-item.mjs +9 -9
- package/dist/actions/update-item.mjs.map +1 -1
- package/dist/actions/update-order.cjs +9 -9
- package/dist/actions/update-order.cjs.map +1 -1
- package/dist/actions/update-order.d.cts +22 -3
- package/dist/actions/update-order.d.cts.map +1 -1
- package/dist/actions/update-order.d.mts +22 -3
- package/dist/actions/update-order.d.mts.map +1 -1
- package/dist/actions/update-order.mjs +9 -9
- package/dist/actions/update-order.mjs.map +1 -1
- package/dist/actions/update-payment-link.cjs +5 -5
- package/dist/actions/update-payment-link.cjs.map +1 -1
- package/dist/actions/update-payment-link.d.cts +52 -3
- package/dist/actions/update-payment-link.d.cts.map +1 -1
- package/dist/actions/update-payment-link.d.mts +52 -3
- package/dist/actions/update-payment-link.d.mts.map +1 -1
- package/dist/actions/update-payment-link.mjs +5 -5
- package/dist/actions/update-payment-link.mjs.map +1 -1
- package/dist/catalog.cjs +13 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +12 -0
- package/dist/catalog.d.mts +12 -0
- package/dist/catalog.mjs +13 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -8,22 +8,22 @@ const RazorpayUpdateItemInput = zod.z.object({
|
|
|
8
8
|
description: zod.z.string().describe("Brief description of the item. Use this to provide additional context about what the item represents.").optional()
|
|
9
9
|
}).describe("Request model for updating an item.");
|
|
10
10
|
const RazorpayUpdateItemOutput = zod.z.object({
|
|
11
|
-
id: zod.z.string().describe("Unique identifier of the item."),
|
|
12
|
-
name: zod.z.string().describe("Name of the item."),
|
|
13
|
-
type: zod.z.string().describe("Type of the item (e.g., 'invoice', 'plan')."),
|
|
11
|
+
id: zod.z.string().describe("Unique identifier of the item.").nullable(),
|
|
12
|
+
name: zod.z.string().describe("Name of the item.").nullable(),
|
|
13
|
+
type: zod.z.string().describe("Type of the item (e.g., 'invoice', 'plan').").nullable(),
|
|
14
14
|
unit: zod.z.string().describe("Unit of measurement for the item if applicable.").nullable().optional(),
|
|
15
|
-
active: zod.z.boolean().describe("Whether the item is currently active."),
|
|
16
|
-
amount: zod.z.number().int().describe("Amount in currency subunits (e.g., paise for INR)."),
|
|
15
|
+
active: zod.z.boolean().describe("Whether the item is currently active.").nullable(),
|
|
16
|
+
amount: zod.z.number().int().describe("Amount in currency subunits (e.g., paise for INR).").nullable(),
|
|
17
17
|
tax_id: zod.z.string().describe("ID of the associated tax entity.").nullable().optional(),
|
|
18
|
-
currency: zod.z.string().describe("Three-letter ISO currency code (e.g., INR, USD)."),
|
|
18
|
+
currency: zod.z.string().describe("Three-letter ISO currency code (e.g., INR, USD).").nullable(),
|
|
19
19
|
hsn_code: zod.z.string().describe("HSN (Harmonized System of Nomenclature) code for taxation.").nullable().optional(),
|
|
20
20
|
sac_code: zod.z.string().describe("SAC (Service Accounting Code) for taxation.").nullable().optional(),
|
|
21
21
|
tax_rate: zod.z.number().describe("Tax rate percentage if applicable.").nullable().optional(),
|
|
22
|
-
created_at: zod.z.number().int().describe("Unix timestamp when the item was created."),
|
|
22
|
+
created_at: zod.z.number().int().describe("Unix timestamp when the item was created.").nullable(),
|
|
23
23
|
description: zod.z.string().describe("Description of the item.").nullable().optional(),
|
|
24
|
-
unit_amount: zod.z.number().int().describe("Unit amount in currency subunits, same as amount for simple items."),
|
|
24
|
+
unit_amount: zod.z.number().int().describe("Unit amount in currency subunits, same as amount for simple items.").nullable(),
|
|
25
25
|
tax_group_id: zod.z.string().describe("ID of the tax group this item belongs to.").nullable().optional(),
|
|
26
|
-
tax_inclusive: zod.z.boolean().describe("Whether the amount includes tax.")
|
|
26
|
+
tax_inclusive: zod.z.boolean().describe("Whether the amount includes tax.").nullable()
|
|
27
27
|
}).describe("Response model for an updated item.");
|
|
28
28
|
const razorpayUpdateItem = require_action.action("RAZORPAY_UPDATE_ITEM", {
|
|
29
29
|
slug: "razorpay-update-item",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item.cjs","names":["z","action"],"sources":["../../src/actions/update-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateItemInput
|
|
1
|
+
{"version":3,"file":"update-item.cjs","names":["z","action"],"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}).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":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC9J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F;CAC1H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACtH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-item.d.ts
|
|
4
|
-
declare const RazorpayUpdateItemInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RazorpayUpdateItemInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
item_id: z.ZodString;
|
|
8
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const RazorpayUpdateItemOutput: z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
name: z.ZodNullable<z.ZodString>;
|
|
13
|
+
type: z.ZodNullable<z.ZodString>;
|
|
14
|
+
unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
tax_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
19
|
+
hsn_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
sac_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
tax_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
created_at: z.ZodNullable<z.ZodNumber>;
|
|
23
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
unit_amount: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
tax_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
tax_inclusive: z.ZodNullable<z.ZodBoolean>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const razorpayUpdateItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { razorpayUpdateItem };
|
|
9
36
|
//# sourceMappingURL=update-item.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item.d.cts","names":[],"sources":["../../src/actions/update-item.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"update-item.d.cts","names":[],"sources":["../../src/actions/update-item.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAMvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAmBxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-item.d.ts
|
|
4
|
-
declare const RazorpayUpdateItemInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RazorpayUpdateItemInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
item_id: z.ZodString;
|
|
8
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const RazorpayUpdateItemOutput: z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
name: z.ZodNullable<z.ZodString>;
|
|
13
|
+
type: z.ZodNullable<z.ZodString>;
|
|
14
|
+
unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
16
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
tax_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
19
|
+
hsn_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
sac_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
tax_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
+
created_at: z.ZodNullable<z.ZodNumber>;
|
|
23
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
unit_amount: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
tax_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
tax_inclusive: z.ZodNullable<z.ZodBoolean>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const razorpayUpdateItem: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { razorpayUpdateItem };
|
|
9
36
|
//# sourceMappingURL=update-item.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-item.d.mts","names":[],"sources":["../../src/actions/update-item.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"update-item.d.mts","names":[],"sources":["../../src/actions/update-item.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAMvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAmBxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -11,22 +11,22 @@ const razorpayUpdateItem = action("RAZORPAY_UPDATE_ITEM", {
|
|
|
11
11
|
description: z.string().describe("Brief description of the item. Use this to provide additional context about what the item represents.").optional()
|
|
12
12
|
}).describe("Request model for updating an item."),
|
|
13
13
|
output: z.object({
|
|
14
|
-
id: z.string().describe("Unique identifier of the item."),
|
|
15
|
-
name: z.string().describe("Name of the item."),
|
|
16
|
-
type: z.string().describe("Type of the item (e.g., 'invoice', 'plan')."),
|
|
14
|
+
id: z.string().describe("Unique identifier of the item.").nullable(),
|
|
15
|
+
name: z.string().describe("Name of the item.").nullable(),
|
|
16
|
+
type: z.string().describe("Type of the item (e.g., 'invoice', 'plan').").nullable(),
|
|
17
17
|
unit: z.string().describe("Unit of measurement for the item if applicable.").nullable().optional(),
|
|
18
|
-
active: z.boolean().describe("Whether the item is currently active."),
|
|
19
|
-
amount: z.number().int().describe("Amount in currency subunits (e.g., paise for INR)."),
|
|
18
|
+
active: z.boolean().describe("Whether the item is currently active.").nullable(),
|
|
19
|
+
amount: z.number().int().describe("Amount in currency subunits (e.g., paise for INR).").nullable(),
|
|
20
20
|
tax_id: z.string().describe("ID of the associated tax entity.").nullable().optional(),
|
|
21
|
-
currency: z.string().describe("Three-letter ISO currency code (e.g., INR, USD)."),
|
|
21
|
+
currency: z.string().describe("Three-letter ISO currency code (e.g., INR, USD).").nullable(),
|
|
22
22
|
hsn_code: z.string().describe("HSN (Harmonized System of Nomenclature) code for taxation.").nullable().optional(),
|
|
23
23
|
sac_code: z.string().describe("SAC (Service Accounting Code) for taxation.").nullable().optional(),
|
|
24
24
|
tax_rate: z.number().describe("Tax rate percentage if applicable.").nullable().optional(),
|
|
25
|
-
created_at: z.number().int().describe("Unix timestamp when the item was created."),
|
|
25
|
+
created_at: z.number().int().describe("Unix timestamp when the item was created.").nullable(),
|
|
26
26
|
description: z.string().describe("Description of the item.").nullable().optional(),
|
|
27
|
-
unit_amount: z.number().int().describe("Unit amount in currency subunits, same as amount for simple items."),
|
|
27
|
+
unit_amount: z.number().int().describe("Unit amount in currency subunits, same as amount for simple items.").nullable(),
|
|
28
28
|
tax_group_id: z.string().describe("ID of the tax group this item belongs to.").nullable().optional(),
|
|
29
|
-
tax_inclusive: z.boolean().describe("Whether the amount includes tax.")
|
|
29
|
+
tax_inclusive: z.boolean().describe("Whether the amount includes tax.").nullable()
|
|
30
30
|
}).describe("Response model for an updated item.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
@@ -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
|
|
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}).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":";;AA6BA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7BqC,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,qCAwBH;CACP,QAxBsC,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,CAAC,SAAS;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACtH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
|
|
@@ -6,18 +6,18 @@ const RazorpayUpdateOrderInput = zod.z.object({
|
|
|
6
6
|
order_id: zod.z.string().describe("The unique identifier of the order to update.")
|
|
7
7
|
}).describe("Request parameters to update an order in Razorpay.");
|
|
8
8
|
const RazorpayUpdateOrderOutput = zod.z.object({
|
|
9
|
-
id: zod.z.string().describe("The unique identifier of the order"),
|
|
9
|
+
id: zod.z.string().describe("The unique identifier of the order").nullable(),
|
|
10
10
|
notes: zod.z.union([zod.z.object({}), zod.z.array(zod.z.unknown())]),
|
|
11
|
-
amount: zod.z.number().int().describe("The order amount in the smallest currency unit (e.g., paise for INR)"),
|
|
12
|
-
entity: zod.z.string().describe("Entity type, always 'order'"),
|
|
13
|
-
status: zod.z.string().describe("The status of the order (e.g., 'created', 'attempted', 'paid')"),
|
|
11
|
+
amount: zod.z.number().int().describe("The order amount in the smallest currency unit (e.g., paise for INR)").nullable(),
|
|
12
|
+
entity: zod.z.string().describe("Entity type, always 'order'").nullable(),
|
|
13
|
+
status: zod.z.string().describe("The status of the order (e.g., 'created', 'attempted', 'paid')").nullable(),
|
|
14
14
|
receipt: zod.z.string().describe("Receipt identifier for the order").nullable().optional(),
|
|
15
|
-
attempts: zod.z.number().int().describe("Number of payment attempts made for this order"),
|
|
16
|
-
currency: zod.z.string().describe("The currency of the order (ISO 4217 format)"),
|
|
15
|
+
attempts: zod.z.number().int().describe("Number of payment attempts made for this order").nullable(),
|
|
16
|
+
currency: zod.z.string().describe("The currency of the order (ISO 4217 format)").nullable(),
|
|
17
17
|
offer_id: zod.z.string().describe("The offer ID associated with the order").nullable().optional(),
|
|
18
|
-
amount_due: zod.z.number().int().describe("The amount due (pending payment) in the smallest currency unit"),
|
|
19
|
-
created_at: zod.z.number().int().describe("Unix timestamp when the order was created"),
|
|
20
|
-
amount_paid: zod.z.number().int().describe("The amount paid against the order in the smallest currency unit")
|
|
18
|
+
amount_due: zod.z.number().int().describe("The amount due (pending payment) in the smallest currency unit").nullable(),
|
|
19
|
+
created_at: zod.z.number().int().describe("Unix timestamp when the order was created").nullable(),
|
|
20
|
+
amount_paid: zod.z.number().int().describe("The amount paid against the order in the smallest currency unit").nullable()
|
|
21
21
|
}).describe("Response containing the updated order details.");
|
|
22
22
|
const razorpayUpdateOrder = require_action.action("RAZORPAY_UPDATE_ORDER", {
|
|
23
23
|
slug: "razorpay-update-order",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-order.cjs","names":["z","action"],"sources":["../../src/actions/update-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateOrderInput
|
|
1
|
+
{"version":3,"file":"update-order.cjs","names":["z","action"],"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.object({}).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.object({}), 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}).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":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACrJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AAC/E,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACnH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACvG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-order.d.ts
|
|
4
|
-
declare const RazorpayUpdateOrderInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RazorpayUpdateOrderInput: z.ZodObject<{
|
|
5
|
+
notes: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
6
|
+
order_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const RazorpayUpdateOrderOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
notes: z.ZodUnion<readonly [z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodUnknown>]>;
|
|
11
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
entity: z.ZodNullable<z.ZodString>;
|
|
13
|
+
status: z.ZodNullable<z.ZodString>;
|
|
14
|
+
receipt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
attempts: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
17
|
+
offer_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
amount_due: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
created_at: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
amount_paid: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const razorpayUpdateOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
order_id: string;
|
|
24
|
+
notes?: Record<string, never> | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { razorpayUpdateOrder };
|
|
9
28
|
//# sourceMappingURL=update-order.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-order.d.cts","names":[],"sources":["../../src/actions/update-order.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"update-order.d.cts","names":[],"sources":["../../src/actions/update-order.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAezB,mBAAA,gCAAmB,wBAAA;;UAM9B,MAAA;AAAA"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-order.d.ts
|
|
4
|
-
declare const RazorpayUpdateOrderInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RazorpayUpdateOrderInput: z.ZodObject<{
|
|
5
|
+
notes: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
6
|
+
order_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const RazorpayUpdateOrderOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
notes: z.ZodUnion<readonly [z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodUnknown>]>;
|
|
11
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
|
12
|
+
entity: z.ZodNullable<z.ZodString>;
|
|
13
|
+
status: z.ZodNullable<z.ZodString>;
|
|
14
|
+
receipt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
attempts: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
17
|
+
offer_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
amount_due: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
created_at: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
amount_paid: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const razorpayUpdateOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
order_id: string;
|
|
24
|
+
notes?: Record<string, never> | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { razorpayUpdateOrder };
|
|
9
28
|
//# sourceMappingURL=update-order.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-order.d.mts","names":[],"sources":["../../src/actions/update-order.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"update-order.d.mts","names":[],"sources":["../../src/actions/update-order.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAezB,mBAAA,gCAAmB,wBAAA;;UAM9B,MAAA;AAAA"}
|
|
@@ -9,18 +9,18 @@ const razorpayUpdateOrder = action("RAZORPAY_UPDATE_ORDER", {
|
|
|
9
9
|
order_id: z.string().describe("The unique identifier of the order to update.")
|
|
10
10
|
}).describe("Request parameters to update an order in Razorpay."),
|
|
11
11
|
output: z.object({
|
|
12
|
-
id: z.string().describe("The unique identifier of the order"),
|
|
12
|
+
id: z.string().describe("The unique identifier of the order").nullable(),
|
|
13
13
|
notes: z.union([z.object({}), z.array(z.unknown())]),
|
|
14
|
-
amount: z.number().int().describe("The order amount in the smallest currency unit (e.g., paise for INR)"),
|
|
15
|
-
entity: z.string().describe("Entity type, always 'order'"),
|
|
16
|
-
status: z.string().describe("The status of the order (e.g., 'created', 'attempted', 'paid')"),
|
|
14
|
+
amount: z.number().int().describe("The order amount in the smallest currency unit (e.g., paise for INR)").nullable(),
|
|
15
|
+
entity: z.string().describe("Entity type, always 'order'").nullable(),
|
|
16
|
+
status: z.string().describe("The status of the order (e.g., 'created', 'attempted', 'paid')").nullable(),
|
|
17
17
|
receipt: z.string().describe("Receipt identifier for the order").nullable().optional(),
|
|
18
|
-
attempts: z.number().int().describe("Number of payment attempts made for this order"),
|
|
19
|
-
currency: z.string().describe("The currency of the order (ISO 4217 format)"),
|
|
18
|
+
attempts: z.number().int().describe("Number of payment attempts made for this order").nullable(),
|
|
19
|
+
currency: z.string().describe("The currency of the order (ISO 4217 format)").nullable(),
|
|
20
20
|
offer_id: z.string().describe("The offer ID associated with the order").nullable().optional(),
|
|
21
|
-
amount_due: z.number().int().describe("The amount due (pending payment) in the smallest currency unit"),
|
|
22
|
-
created_at: z.number().int().describe("Unix timestamp when the order was created"),
|
|
23
|
-
amount_paid: z.number().int().describe("The amount paid against the order in the smallest currency unit")
|
|
21
|
+
amount_due: z.number().int().describe("The amount due (pending payment) in the smallest currency unit").nullable(),
|
|
22
|
+
created_at: z.number().int().describe("Unix timestamp when the order was created").nullable(),
|
|
23
|
+
amount_paid: z.number().int().describe("The amount paid against the order in the smallest currency unit").nullable()
|
|
24
24
|
}).describe("Response containing the updated order details.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
@@ -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
|
|
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.object({}).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.object({}), 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}).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":";;AAuBA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EACrJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC/E,CAAC,CAAC,CAAC,SAAS,oDAoBH;CACP,QApBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACvE,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACnH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACvG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACjH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
|
|
@@ -19,21 +19,21 @@ const RazorpayUpdatePaymentLink_CustomerDetailsSchema = zod.z.object({
|
|
|
19
19
|
contact: zod.z.string().describe("Customer's contact number.").nullable().optional()
|
|
20
20
|
}).describe("Customer details associated with the payment link.");
|
|
21
21
|
const RazorpayUpdatePaymentLinkOutput = zod.z.object({
|
|
22
|
-
id: zod.z.string().describe("Unique identifier for the payment link."),
|
|
22
|
+
id: zod.z.string().describe("Unique identifier for the payment link.").nullable(),
|
|
23
23
|
notes: zod.z.union([zod.z.object({}), zod.z.array(zod.z.unknown())]).nullable().optional(),
|
|
24
|
-
amount: zod.z.number().int().describe("Amount to be paid in currency subunits (paise for INR)."),
|
|
24
|
+
amount: zod.z.number().int().describe("Amount to be paid in currency subunits (paise for INR).").nullable(),
|
|
25
25
|
notify: RazorpayUpdatePaymentLink_NotifySettingsSchema.nullable().optional(),
|
|
26
26
|
source: zod.z.string().describe("Source from which the payment link was created.").nullable().optional(),
|
|
27
|
-
status: zod.z.string().describe("Status of the payment link (e.g., 'created', 'issued', 'paid', 'cancelled', 'expired')."),
|
|
27
|
+
status: zod.z.string().describe("Status of the payment link (e.g., 'created', 'issued', 'paid', 'cancelled', 'expired').").nullable(),
|
|
28
28
|
user_id: zod.z.string().describe("Identifier of the user who created the payment link.").nullable().optional(),
|
|
29
|
-
currency: zod.z.string().describe("Three-letter ISO currency code (e.g., INR)."),
|
|
29
|
+
currency: zod.z.string().describe("Three-letter ISO currency code (e.g., INR).").nullable(),
|
|
30
30
|
customer: zod.z.union([RazorpayUpdatePaymentLink_CustomerDetailsSchema, zod.z.array(zod.z.unknown())]).nullable().optional(),
|
|
31
31
|
payments: zod.z.union([zod.z.object({}), zod.z.array(zod.z.unknown())]).nullable().optional(),
|
|
32
32
|
expire_by: zod.z.number().int().describe("Unix timestamp when the payment link will expire.").nullable().optional(),
|
|
33
33
|
reminders: zod.z.union([zod.z.array(zod.z.object({})), zod.z.object({})]).nullable().optional(),
|
|
34
34
|
short_url: zod.z.string().describe("Shortened URL for the payment link.").nullable().optional(),
|
|
35
35
|
source_id: zod.z.string().describe("Identifier of the source entity.").nullable().optional(),
|
|
36
|
-
created_at: zod.z.number().int().describe("Unix timestamp when the payment link was created."),
|
|
36
|
+
created_at: zod.z.number().int().describe("Unix timestamp when the payment link was created.").nullable(),
|
|
37
37
|
deleted_at: zod.z.number().int().describe("Unix timestamp when the payment link was deleted.").nullable().optional(),
|
|
38
38
|
expired_at: zod.z.number().int().describe("Unix timestamp when the payment link expired.").nullable().optional(),
|
|
39
39
|
updated_at: zod.z.number().int().describe("Unix timestamp when the payment link was last updated.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-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
|
|
1
|
+
{"version":3,"file":"update-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.object({}).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}).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}).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.object({}), 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.object({}), 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.object({})), z.object({})]).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}).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":"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"}
|
|
@@ -1,9 +1,58 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-payment-link.d.ts
|
|
4
|
-
declare const RazorpayUpdatePaymentLinkInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RazorpayUpdatePaymentLinkInput: z.ZodObject<{
|
|
5
|
+
notes: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
6
|
+
plink_id: z.ZodString;
|
|
7
|
+
expire_by: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
reference_id: z.ZodOptional<z.ZodString>;
|
|
9
|
+
accept_partial: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
reminder_enable: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const RazorpayUpdatePaymentLinkOutput: z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodString>;
|
|
14
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodUnknown>]>>>;
|
|
15
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
notify: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
|
+
sms: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
+
}, z.core.$strip>>>;
|
|
20
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
status: z.ZodNullable<z.ZodString>;
|
|
22
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
24
|
+
customer: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
25
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
contact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
}, z.core.$strip>, z.ZodArray<z.ZodUnknown>]>>>;
|
|
29
|
+
payments: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodUnknown>]>>>;
|
|
30
|
+
expire_by: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
|
+
reminders: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{}, z.core.$strip>]>>>;
|
|
32
|
+
short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
source_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
created_at: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
|
+
expired_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
+
amount_paid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
|
+
reference_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
accept_partial: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
44
|
+
callback_method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
reminder_enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
46
|
+
first_min_partial_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
declare const razorpayUpdatePaymentLink: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
49
|
+
plink_id: string;
|
|
50
|
+
notes?: Record<string, never> | 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]>;
|
|
7
56
|
//#endregion
|
|
8
57
|
export { razorpayUpdatePaymentLink };
|
|
9
58
|
//# 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":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"update-payment-link.d.cts","names":[],"sources":["../../src/actions/update-payment-link.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAiB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8B/B,yBAAA,gCAAyB,wBAAA;;UAMpC,MAAA"}
|
|
@@ -1,9 +1,58 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-payment-link.d.ts
|
|
4
|
-
declare const RazorpayUpdatePaymentLinkInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RazorpayUpdatePaymentLinkInput: z.ZodObject<{
|
|
5
|
+
notes: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
6
|
+
plink_id: z.ZodString;
|
|
7
|
+
expire_by: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
reference_id: z.ZodOptional<z.ZodString>;
|
|
9
|
+
accept_partial: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
reminder_enable: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const RazorpayUpdatePaymentLinkOutput: z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodString>;
|
|
14
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodUnknown>]>>>;
|
|
15
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
notify: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
|
+
sms: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
+
}, z.core.$strip>>>;
|
|
20
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
status: z.ZodNullable<z.ZodString>;
|
|
22
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
24
|
+
customer: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
25
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
contact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
}, z.core.$strip>, z.ZodArray<z.ZodUnknown>]>>>;
|
|
29
|
+
payments: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodUnknown>]>>>;
|
|
30
|
+
expire_by: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
|
+
reminders: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{}, z.core.$strip>]>>>;
|
|
32
|
+
short_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
source_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
created_at: z.ZodNullable<z.ZodNumber>;
|
|
35
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
|
+
expired_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
37
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
+
amount_paid: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
callback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
|
+
reference_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
accept_partial: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
44
|
+
callback_method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
reminder_enable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
46
|
+
first_min_partial_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
declare const razorpayUpdatePaymentLink: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
49
|
+
plink_id: string;
|
|
50
|
+
notes?: Record<string, never> | 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]>;
|
|
7
56
|
//#endregion
|
|
8
57
|
export { razorpayUpdatePaymentLink };
|
|
9
58
|
//# sourceMappingURL=update-payment-link.d.mts.map
|