@keystrokehq/razorpay 0.1.2 → 0.1.4
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/actions/cancel-invoice.cjs +6 -6
- package/dist/actions/cancel-invoice.cjs.map +1 -1
- package/dist/actions/cancel-invoice.d.cts +7 -7
- package/dist/actions/cancel-invoice.d.mts +7 -7
- package/dist/actions/cancel-invoice.mjs +6 -6
- package/dist/actions/cancel-invoice.mjs.map +1 -1
- package/dist/actions/cancel-payment-link.cjs +5 -5
- package/dist/actions/cancel-payment-link.cjs.map +1 -1
- package/dist/actions/cancel-payment-link.d.cts +5 -5
- package/dist/actions/cancel-payment-link.d.mts +5 -5
- package/dist/actions/cancel-payment-link.mjs +5 -5
- package/dist/actions/cancel-payment-link.mjs.map +1 -1
- package/dist/actions/create-an-order.cjs +3 -3
- package/dist/actions/create-an-order.cjs.map +1 -1
- package/dist/actions/create-an-order.d.cts +4 -4
- package/dist/actions/create-an-order.d.mts +4 -4
- package/dist/actions/create-an-order.mjs +3 -3
- package/dist/actions/create-an-order.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +3 -3
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +4 -4
- package/dist/actions/create-contact.d.mts +4 -4
- package/dist/actions/create-contact.mjs +3 -3
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-customer.cjs +3 -3
- package/dist/actions/create-customer.cjs.map +1 -1
- package/dist/actions/create-customer.d.cts +4 -4
- package/dist/actions/create-customer.d.mts +4 -4
- package/dist/actions/create-customer.mjs +3 -3
- package/dist/actions/create-customer.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +9 -9
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +13 -12
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +13 -12
- package/dist/actions/create-invoice.d.mts.map +1 -1
- package/dist/actions/create-invoice.mjs +9 -9
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-item.cjs +1 -1
- package/dist/actions/create-item.cjs.map +1 -1
- package/dist/actions/create-item.d.cts +1 -1
- package/dist/actions/create-item.d.mts +1 -1
- package/dist/actions/create-item.mjs +1 -1
- package/dist/actions/create-item.mjs.map +1 -1
- package/dist/actions/create-payment-link.cjs +4 -4
- package/dist/actions/create-payment-link.cjs.map +1 -1
- package/dist/actions/create-payment-link.d.cts +5 -5
- package/dist/actions/create-payment-link.d.mts +5 -5
- package/dist/actions/create-payment-link.mjs +4 -4
- package/dist/actions/create-payment-link.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +1 -1
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +1 -1
- package/dist/actions/delete-invoice.d.mts +1 -1
- package/dist/actions/delete-invoice.mjs +1 -1
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-item.cjs +1 -1
- package/dist/actions/delete-item.cjs.map +1 -1
- package/dist/actions/delete-item.d.cts +1 -1
- package/dist/actions/delete-item.d.mts +1 -1
- package/dist/actions/delete-item.mjs +1 -1
- package/dist/actions/delete-item.mjs.map +1 -1
- package/dist/actions/fetch-a-payment-link.cjs +6 -6
- package/dist/actions/fetch-a-payment-link.cjs.map +1 -1
- package/dist/actions/fetch-a-payment-link.d.cts +6 -6
- package/dist/actions/fetch-a-payment-link.d.mts +6 -6
- package/dist/actions/fetch-a-payment-link.mjs +6 -6
- package/dist/actions/fetch-a-payment-link.mjs.map +1 -1
- package/dist/actions/fetch-all-customers.cjs +3 -3
- package/dist/actions/fetch-all-customers.cjs.map +1 -1
- package/dist/actions/fetch-all-customers.d.cts +3 -3
- package/dist/actions/fetch-all-customers.d.mts +3 -3
- package/dist/actions/fetch-all-customers.mjs +3 -3
- 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 +8 -8
- package/dist/actions/fetch-all-invoices.d.mts +8 -8
- 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 +4 -4
- package/dist/actions/fetch-all-payment-links.cjs.map +1 -1
- package/dist/actions/fetch-all-payment-links.d.cts +4 -4
- package/dist/actions/fetch-all-payment-links.d.mts +4 -4
- package/dist/actions/fetch-all-payment-links.mjs +4 -4
- package/dist/actions/fetch-all-payment-links.mjs.map +1 -1
- package/dist/actions/fetch-all-payments.cjs +3 -3
- package/dist/actions/fetch-all-payments.cjs.map +1 -1
- package/dist/actions/fetch-all-payments.d.cts +3 -3
- package/dist/actions/fetch-all-payments.d.mts +3 -3
- package/dist/actions/fetch-all-payments.mjs +3 -3
- package/dist/actions/fetch-all-payments.mjs.map +1 -1
- package/dist/actions/fetch-all-refunds-for-a-payment.cjs +3 -3
- 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 -3
- package/dist/actions/fetch-all-refunds-for-a-payment.d.mts +3 -3
- package/dist/actions/fetch-all-refunds-for-a-payment.mjs +3 -3
- 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 +7 -7
- package/dist/actions/fetch-invoice-by-id.d.mts +7 -7
- 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 +2 -2
- package/dist/actions/fetch-orders-by-id.cjs.map +1 -1
- package/dist/actions/fetch-orders-by-id.d.cts +2 -2
- package/dist/actions/fetch-orders-by-id.d.mts +2 -2
- package/dist/actions/fetch-orders-by-id.mjs +2 -2
- package/dist/actions/fetch-orders-by-id.mjs.map +1 -1
- package/dist/actions/fetch-orders.cjs +3 -3
- package/dist/actions/fetch-orders.cjs.map +1 -1
- package/dist/actions/fetch-orders.d.cts +3 -3
- package/dist/actions/fetch-orders.d.mts +3 -3
- package/dist/actions/fetch-orders.mjs +3 -3
- package/dist/actions/fetch-orders.mjs.map +1 -1
- package/dist/actions/fetch-payments-by-order.cjs +4 -4
- package/dist/actions/fetch-payments-by-order.cjs.map +1 -1
- package/dist/actions/fetch-payments-by-order.d.cts +4 -4
- package/dist/actions/fetch-payments-by-order.d.mts +4 -4
- package/dist/actions/fetch-payments-by-order.mjs +4 -4
- package/dist/actions/fetch-payments-by-order.mjs.map +1 -1
- package/dist/actions/fetch-refunds.cjs +3 -3
- package/dist/actions/fetch-refunds.cjs.map +1 -1
- package/dist/actions/fetch-refunds.d.cts +3 -3
- package/dist/actions/fetch-refunds.d.mts +3 -3
- package/dist/actions/fetch-refunds.mjs +3 -3
- package/dist/actions/fetch-refunds.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +2 -2
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +2 -2
- package/dist/actions/get-contact.d.mts +2 -2
- package/dist/actions/get-contact.mjs +2 -2
- 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 +2 -2
- package/dist/actions/get-customer.d.mts +2 -2
- package/dist/actions/get-customer.mjs +2 -2
- package/dist/actions/get-customer.mjs.map +1 -1
- package/dist/actions/get-fund-account.cjs +5 -5
- package/dist/actions/get-fund-account.cjs.map +1 -1
- package/dist/actions/get-fund-account.d.cts +5 -5
- package/dist/actions/get-fund-account.d.mts +5 -5
- package/dist/actions/get-fund-account.mjs +5 -5
- package/dist/actions/get-fund-account.mjs.map +1 -1
- package/dist/actions/get-item.cjs +1 -1
- package/dist/actions/get-item.cjs.map +1 -1
- package/dist/actions/get-item.d.cts +1 -1
- package/dist/actions/get-item.d.mts +1 -1
- package/dist/actions/get-item.mjs +1 -1
- package/dist/actions/get-item.mjs.map +1 -1
- package/dist/actions/get-settlement-recon.cjs +2 -2
- package/dist/actions/get-settlement-recon.cjs.map +1 -1
- package/dist/actions/get-settlement-recon.d.cts +2 -2
- package/dist/actions/get-settlement-recon.d.mts +2 -2
- package/dist/actions/get-settlement-recon.mjs +2 -2
- package/dist/actions/get-settlement-recon.mjs.map +1 -1
- package/dist/actions/get-transfer-reversals.cjs +2 -2
- package/dist/actions/get-transfer-reversals.cjs.map +1 -1
- package/dist/actions/get-transfer-reversals.d.cts +2 -2
- package/dist/actions/get-transfer-reversals.d.mts +2 -2
- package/dist/actions/get-transfer-reversals.mjs +2 -2
- 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 +7 -7
- package/dist/actions/issue-an-invoice.d.mts +7 -7
- 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 +4 -4
- package/dist/actions/list-customer-tokens.cjs.map +1 -1
- package/dist/actions/list-customer-tokens.d.cts +4 -4
- package/dist/actions/list-customer-tokens.d.mts +4 -4
- package/dist/actions/list-customer-tokens.mjs +4 -4
- package/dist/actions/list-customer-tokens.mjs.map +1 -1
- package/dist/actions/list-disputes.cjs +3 -3
- package/dist/actions/list-disputes.cjs.map +1 -1
- package/dist/actions/list-disputes.d.cts +3 -3
- package/dist/actions/list-disputes.d.mts +3 -3
- package/dist/actions/list-disputes.mjs +3 -3
- package/dist/actions/list-disputes.mjs.map +1 -1
- package/dist/actions/list-fund-accounts.cjs +5 -5
- package/dist/actions/list-fund-accounts.cjs.map +1 -1
- package/dist/actions/list-fund-accounts.d.cts +5 -5
- package/dist/actions/list-fund-accounts.d.mts +5 -5
- package/dist/actions/list-fund-accounts.mjs +5 -5
- package/dist/actions/list-fund-accounts.mjs.map +1 -1
- package/dist/actions/list-fund-validations.cjs +6 -6
- package/dist/actions/list-fund-validations.cjs.map +1 -1
- package/dist/actions/list-fund-validations.d.cts +6 -6
- package/dist/actions/list-fund-validations.d.mts +6 -6
- package/dist/actions/list-fund-validations.mjs +6 -6
- package/dist/actions/list-fund-validations.mjs.map +1 -1
- package/dist/actions/list-items.cjs +2 -2
- package/dist/actions/list-items.cjs.map +1 -1
- package/dist/actions/list-items.d.cts +2 -2
- package/dist/actions/list-items.d.mts +2 -2
- package/dist/actions/list-items.mjs +2 -2
- package/dist/actions/list-items.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 +3 -3
- package/dist/actions/notify-payment-link.d.mts +3 -3
- 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 +3 -3
- package/dist/actions/send-or-resend-notification.d.mts +3 -3
- 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 +3 -3
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +4 -4
- package/dist/actions/update-contact.d.mts +4 -4
- package/dist/actions/update-contact.mjs +3 -3
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-customer.cjs +2 -2
- package/dist/actions/update-customer.cjs.map +1 -1
- package/dist/actions/update-customer.d.cts +2 -2
- package/dist/actions/update-customer.d.mts +2 -2
- package/dist/actions/update-customer.mjs +2 -2
- package/dist/actions/update-customer.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +9 -9
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +13 -12
- package/dist/actions/update-invoice.d.mts +13 -12
- package/dist/actions/update-invoice.mjs +9 -9
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-item.cjs +1 -1
- package/dist/actions/update-item.cjs.map +1 -1
- package/dist/actions/update-item.d.cts +1 -1
- package/dist/actions/update-item.d.mts +1 -1
- package/dist/actions/update-item.mjs +1 -1
- package/dist/actions/update-item.mjs.map +1 -1
- package/dist/actions/update-order.cjs +3 -3
- package/dist/actions/update-order.cjs.map +1 -1
- package/dist/actions/update-order.d.cts +4 -4
- package/dist/actions/update-order.d.mts +4 -4
- package/dist/actions/update-order.mjs +3 -3
- package/dist/actions/update-order.mjs.map +1 -1
- package/dist/actions/update-payment-link.cjs +7 -7
- package/dist/actions/update-payment-link.cjs.map +1 -1
- package/dist/actions/update-payment-link.d.cts +8 -8
- package/dist/actions/update-payment-link.d.mts +8 -8
- package/dist/actions/update-payment-link.mjs +7 -7
- package/dist/actions/update-payment-link.mjs.map +1 -1
- package/dist/catalog.cjs +2 -2
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +2 -2
- package/dist/catalog.d.mts +2 -2
- package/dist/catalog.mjs +2 -2
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-fund-validations.mjs","names":[],"sources":["../../src/actions/list-fund-validations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayListFundValidationsInput = z.object({\n to: z.number().int().describe(\"Unix timestamp (in seconds) to filter validations created before this time. Use for date range filtering.\").optional(),\n from: z.number().int().describe(\"Unix timestamp (in seconds) to filter validations created after this time. Use for date range filtering.\").optional(),\n skip: z.number().int().describe(\"Number of validation transactions to skip for pagination. Use with count to navigate through pages. Default is 0.\").optional(),\n count: z.number().int().describe(\"Number of validation transactions to retrieve per page. Default is 10. Maximum is 100.\").optional(),\n}).describe(\"Request parameters for listing fund account validation transactions with pagination and filtering support.\");\nconst RazorpayListFundValidations_ValidationResultsSchema = z.object({\n account_status: z.string().describe(\"Status of the account validation (e.g., active, invalid).\").nullable().optional(),\n registered_name: z.string().describe(\"Name registered with the bank for this account.\").nullable().optional(),\n}).describe(\"Results of the fund account validation process.\");\nconst RazorpayListFundValidations_BankAccountDetailsSchema = z.object({\n ifsc: z.string().describe(\"IFSC code of the bank branch.\").nullable().optional(),\n name: z.string().describe(\"Name of the account holder.\").nullable().optional(),\n bank_name: z.string().describe(\"Name of the bank.\").nullable().optional(),\n account_number: z.string().describe(\"Bank account number.\").nullable().optional(),\n}).describe(\"Bank account details in a fund account validation.\");\nconst RazorpayListFundValidations_FundAccountInValidationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the fund account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the fund account is currently active.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'fund_account' for fund account objects.\").nullable().optional(),\n batch_id: z.string().describe(\"Batch identifier if the fund account was created in a batch.\").nullable().optional(),\n contact_id: z.string().describe(\"Unique identifier of the contact associated with this fund account.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the fund account was created.\").nullable().optional(),\n account_type: z.string().describe(\"Type of account (bank_account, vpa, card, wallet).\").nullable().optional(),\n bank_account: RazorpayListFundValidations_BankAccountDetailsSchema.nullable().optional(),\n}).describe(\"Fund account details embedded in a validation transaction.\");\nconst RazorpayListFundValidations_FundValidationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the validation transaction.\").nullable().optional(),\n utr: z.string().describe(\"Unique Transaction Reference number for the validation transaction.\").nullable().optional(),\n notes: z.
|
|
1
|
+
{"version":3,"file":"list-fund-validations.mjs","names":[],"sources":["../../src/actions/list-fund-validations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayListFundValidationsInput = z.object({\n to: z.number().int().describe(\"Unix timestamp (in seconds) to filter validations created before this time. Use for date range filtering.\").optional(),\n from: z.number().int().describe(\"Unix timestamp (in seconds) to filter validations created after this time. Use for date range filtering.\").optional(),\n skip: z.number().int().describe(\"Number of validation transactions to skip for pagination. Use with count to navigate through pages. Default is 0.\").optional(),\n count: z.number().int().describe(\"Number of validation transactions to retrieve per page. Default is 10. Maximum is 100.\").optional(),\n}).describe(\"Request parameters for listing fund account validation transactions with pagination and filtering support.\");\nconst RazorpayListFundValidations_ValidationResultsSchema = z.object({\n account_status: z.string().describe(\"Status of the account validation (e.g., active, invalid).\").nullable().optional(),\n registered_name: z.string().describe(\"Name registered with the bank for this account.\").nullable().optional(),\n}).passthrough().describe(\"Results of the fund account validation process.\");\nconst RazorpayListFundValidations_BankAccountDetailsSchema = z.object({\n ifsc: z.string().describe(\"IFSC code of the bank branch.\").nullable().optional(),\n name: z.string().describe(\"Name of the account holder.\").nullable().optional(),\n bank_name: z.string().describe(\"Name of the bank.\").nullable().optional(),\n account_number: z.string().describe(\"Bank account number.\").nullable().optional(),\n}).passthrough().describe(\"Bank account details in a fund account validation.\");\nconst RazorpayListFundValidations_FundAccountInValidationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the fund account.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the fund account is currently active.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'fund_account' for fund account objects.\").nullable().optional(),\n batch_id: z.string().describe(\"Batch identifier if the fund account was created in a batch.\").nullable().optional(),\n contact_id: z.string().describe(\"Unique identifier of the contact associated with this fund account.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the fund account was created.\").nullable().optional(),\n account_type: z.string().describe(\"Type of account (bank_account, vpa, card, wallet).\").nullable().optional(),\n bank_account: RazorpayListFundValidations_BankAccountDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Fund account details embedded in a validation transaction.\");\nconst RazorpayListFundValidations_FundValidationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the validation transaction.\").nullable().optional(),\n utr: z.string().describe(\"Unique Transaction Reference number for the validation transaction.\").nullable().optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Key-value pairs for additional information about the validation.\").nullable().optional(),\n amount: z.number().int().describe(\"Amount used for validation in the smallest currency unit (e.g., paise for INR).\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'fund_account.validation' for validation objects.\").nullable().optional(),\n status: z.string().describe(\"Status of the validation (e.g., created, completed, failed).\").nullable().optional(),\n results: RazorpayListFundValidations_ValidationResultsSchema.nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR).\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the validation transaction was created.\").nullable().optional(),\n fund_account: RazorpayListFundValidations_FundAccountInValidationSchema.nullable().optional(),\n}).passthrough().describe(\"Represents a single fund account validation transaction.\");\nexport const RazorpayListFundValidationsOutput = z.object({\n count: z.number().int().describe(\"Number of validation transactions returned in this response.\").nullable().optional(),\n items: z.array(RazorpayListFundValidations_FundValidationSchema).describe(\"Array of fund account validation objects returned by the API.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, always 'collection' for list responses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing fund account validation transactions.\");\n\nexport const razorpayListFundValidations = action(\"RAZORPAY_LIST_FUND_VALIDATIONS\", {\n slug: \"razorpay-list-fund-validations\",\n name: \"List Fund Validations\",\n description: \"Tool to fetch all fund account validation transactions from RazorpayX with pagination support. Use when you need to retrieve validation records, check account verification status, or monitor validation transactions.\",\n input: RazorpayListFundValidationsInput,\n output: RazorpayListFundValidationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACpJ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACrJ,MAAM,EAAE,OAAO,C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AS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,cAAc,0DAA0D,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAOpF,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,OAAO,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAOhB;AACV,CAAC"}
|
|
@@ -25,12 +25,12 @@ const RazorpayListItems_ItemSchema = zod.z.object({
|
|
|
25
25
|
unit_amount: zod.z.number().int().describe("Unit amount in currency subunits.").nullable().optional(),
|
|
26
26
|
tax_group_id: zod.z.string().describe("Tax group identifier for the item.").nullable().optional(),
|
|
27
27
|
tax_inclusive: zod.z.boolean().describe("Whether the amount includes tax.").nullable().optional()
|
|
28
|
-
}).describe("Represents an individual item in the Razorpay system.");
|
|
28
|
+
}).passthrough().describe("Represents an individual item in the Razorpay system.");
|
|
29
29
|
const RazorpayListItemsOutput = zod.z.object({
|
|
30
30
|
count: zod.z.number().int().describe("Number of items returned in this response.").nullable().optional(),
|
|
31
31
|
items: zod.z.array(RazorpayListItems_ItemSchema).describe("Array of item objects returned by the API.").nullable().optional(),
|
|
32
32
|
entity: zod.z.string().describe("Entity type, typically 'collection' for list responses.").nullable().optional()
|
|
33
|
-
}).describe("Response schema for listing items.");
|
|
33
|
+
}).passthrough().describe("Response schema for listing items.");
|
|
34
34
|
const razorpayListItems = require_action.action("RAZORPAY_LIST_ITEMS", {
|
|
35
35
|
slug: "razorpay-list-items",
|
|
36
36
|
name: "List Items",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-items.cjs","names":["z","action"],"sources":["../../src/actions/list-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayListItemsInput = z.object({\n skip: z.number().int().describe(\"Number of items to skip for pagination. Use with count to navigate through pages.\").optional(),\n count: z.number().int().describe(\"Number of items to retrieve per page. Maximum 100 items per request.\").optional(),\n active: z.boolean().describe(\"Filter items by active status. True returns only active items, False returns only inactive items.\").optional(),\n to_timestamp: z.number().int().describe(\"Unix timestamp to filter items created on or before this time.\").optional(),\n from_timestamp: z.number().int().describe(\"Unix timestamp to filter items created on or after this time.\").optional(),\n}).describe(\"Request parameters for listing items with pagination support.\");\nconst RazorpayListItems_ItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the item.\").nullable().optional(),\n name: z.string().describe(\"Name of the item.\").nullable().optional(),\n type: z.string().describe(\"Type of the item (e.g., invoice, plan).\").nullable().optional(),\n unit: z.string().describe(\"Unit of measurement for the item.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the item is currently active.\").nullable().optional(),\n amount: z.number().int().describe(\"Amount in currency subunits (e.g., paise for INR). For example, 10000 means ₹100.00.\").nullable().optional(),\n tax_id: z.string().describe(\"Tax identifier associated with the item.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD).\").nullable().optional(),\n hsn_code: z.string().describe(\"HSN code for the item (for Indian tax purposes).\").nullable().optional(),\n sac_code: z.string().describe(\"SAC code for the item (for Indian service tax purposes).\").nullable().optional(),\n tax_rate: z.number().describe(\"Tax rate percentage applicable to the item.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the item was created.\").nullable().optional(),\n description: z.string().describe(\"Description of the item.\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit amount in currency subunits.\").nullable().optional(),\n tax_group_id: z.string().describe(\"Tax group identifier for the item.\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax.\").nullable().optional(),\n}).describe(\"Represents an individual item in the Razorpay system.\");\nexport const RazorpayListItemsOutput = z.object({\n count: z.number().int().describe(\"Number of items returned in this response.\").nullable().optional(),\n items: z.array(RazorpayListItems_ItemSchema).describe(\"Array of item objects returned by the API.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, typically 'collection' for list responses.\").nullable().optional(),\n}).describe(\"Response schema for listing items.\");\n\nexport const razorpayListItems = action(\"RAZORPAY_LIST_ITEMS\", {\n slug: \"razorpay-list-items\",\n name: \"List Items\",\n description: \"Tool to retrieve a list of all items from Razorpay with pagination support. Use when you need to fetch invoice items, view available products, or manage item catalog. Supports filtering by active status and date range for efficient retrieval.\",\n input: RazorpayListItemsInput,\n output: RazorpayListItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAClH,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC3I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACnH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS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jF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,uDAAuD;
|
|
1
|
+
{"version":3,"file":"list-items.cjs","names":["z","action"],"sources":["../../src/actions/list-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayListItemsInput = z.object({\n skip: z.number().int().describe(\"Number of items to skip for pagination. Use with count to navigate through pages.\").optional(),\n count: z.number().int().describe(\"Number of items to retrieve per page. Maximum 100 items per request.\").optional(),\n active: z.boolean().describe(\"Filter items by active status. True returns only active items, False returns only inactive items.\").optional(),\n to_timestamp: z.number().int().describe(\"Unix timestamp to filter items created on or before this time.\").optional(),\n from_timestamp: z.number().int().describe(\"Unix timestamp to filter items created on or after this time.\").optional(),\n}).describe(\"Request parameters for listing items with pagination support.\");\nconst RazorpayListItems_ItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the item.\").nullable().optional(),\n name: z.string().describe(\"Name of the item.\").nullable().optional(),\n type: z.string().describe(\"Type of the item (e.g., invoice, plan).\").nullable().optional(),\n unit: z.string().describe(\"Unit of measurement for the item.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the item is currently active.\").nullable().optional(),\n amount: z.number().int().describe(\"Amount in currency subunits (e.g., paise for INR). For example, 10000 means ₹100.00.\").nullable().optional(),\n tax_id: z.string().describe(\"Tax identifier associated with the item.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD).\").nullable().optional(),\n hsn_code: z.string().describe(\"HSN code for the item (for Indian tax purposes).\").nullable().optional(),\n sac_code: z.string().describe(\"SAC code for the item (for Indian service tax purposes).\").nullable().optional(),\n tax_rate: z.number().describe(\"Tax rate percentage applicable to the item.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the item was created.\").nullable().optional(),\n description: z.string().describe(\"Description of the item.\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit amount in currency subunits.\").nullable().optional(),\n tax_group_id: z.string().describe(\"Tax group identifier for the item.\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax.\").nullable().optional(),\n}).passthrough().describe(\"Represents an individual item in the Razorpay system.\");\nexport const RazorpayListItemsOutput = z.object({\n count: z.number().int().describe(\"Number of items returned in this response.\").nullable().optional(),\n items: z.array(RazorpayListItems_ItemSchema).describe(\"Array of item objects returned by the API.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, typically 'collection' for list responses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing items.\");\n\nexport const razorpayListItems = action(\"RAZORPAY_LIST_ITEMS\", {\n slug: \"razorpay-list-items\",\n name: \"List Items\",\n description: \"Tool to retrieve a list of all items from Razorpay with pagination support. Use when you need to fetch invoice items, view available products, or manage item catalog. Supports filtering by active status and date range for efficient retrieval.\",\n input: RazorpayListItemsInput,\n output: RazorpayListItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAClH,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC3I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC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>>;
|
|
28
28
|
tax_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
tax_inclusive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>>;
|
|
31
31
|
entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const razorpayListItems: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
skip?: number | undefined;
|
|
35
35
|
count?: number | undefined;
|
|
@@ -27,9 +27,9 @@ declare const RazorpayListItemsOutput: z.ZodObject<{
|
|
|
27
27
|
unit_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
28
|
tax_group_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
tax_inclusive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>>;
|
|
31
31
|
entity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>;
|
|
33
33
|
declare const razorpayListItems: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
skip?: number | undefined;
|
|
35
35
|
count?: number | undefined;
|
|
@@ -25,7 +25,7 @@ const RazorpayListItems_ItemSchema = z.object({
|
|
|
25
25
|
unit_amount: z.number().int().describe("Unit amount in currency subunits.").nullable().optional(),
|
|
26
26
|
tax_group_id: z.string().describe("Tax group identifier for the item.").nullable().optional(),
|
|
27
27
|
tax_inclusive: z.boolean().describe("Whether the amount includes tax.").nullable().optional()
|
|
28
|
-
}).describe("Represents an individual item in the Razorpay system.");
|
|
28
|
+
}).passthrough().describe("Represents an individual item in the Razorpay system.");
|
|
29
29
|
const razorpayListItems = action("RAZORPAY_LIST_ITEMS", {
|
|
30
30
|
slug: "razorpay-list-items",
|
|
31
31
|
name: "List Items",
|
|
@@ -35,7 +35,7 @@ const razorpayListItems = action("RAZORPAY_LIST_ITEMS", {
|
|
|
35
35
|
count: z.number().int().describe("Number of items returned in this response.").nullable().optional(),
|
|
36
36
|
items: z.array(RazorpayListItems_ItemSchema).describe("Array of item objects returned by the API.").nullable().optional(),
|
|
37
37
|
entity: z.string().describe("Entity type, typically 'collection' for list responses.").nullable().optional()
|
|
38
|
-
}).describe("Response schema for listing items.")
|
|
38
|
+
}).passthrough().describe("Response schema for listing items.")
|
|
39
39
|
});
|
|
40
40
|
//#endregion
|
|
41
41
|
export { razorpayListItems };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-items.mjs","names":[],"sources":["../../src/actions/list-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayListItemsInput = z.object({\n skip: z.number().int().describe(\"Number of items to skip for pagination. Use with count to navigate through pages.\").optional(),\n count: z.number().int().describe(\"Number of items to retrieve per page. Maximum 100 items per request.\").optional(),\n active: z.boolean().describe(\"Filter items by active status. True returns only active items, False returns only inactive items.\").optional(),\n to_timestamp: z.number().int().describe(\"Unix timestamp to filter items created on or before this time.\").optional(),\n from_timestamp: z.number().int().describe(\"Unix timestamp to filter items created on or after this time.\").optional(),\n}).describe(\"Request parameters for listing items with pagination support.\");\nconst RazorpayListItems_ItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the item.\").nullable().optional(),\n name: z.string().describe(\"Name of the item.\").nullable().optional(),\n type: z.string().describe(\"Type of the item (e.g., invoice, plan).\").nullable().optional(),\n unit: z.string().describe(\"Unit of measurement for the item.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the item is currently active.\").nullable().optional(),\n amount: z.number().int().describe(\"Amount in currency subunits (e.g., paise for INR). For example, 10000 means ₹100.00.\").nullable().optional(),\n tax_id: z.string().describe(\"Tax identifier associated with the item.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD).\").nullable().optional(),\n hsn_code: z.string().describe(\"HSN code for the item (for Indian tax purposes).\").nullable().optional(),\n sac_code: z.string().describe(\"SAC code for the item (for Indian service tax purposes).\").nullable().optional(),\n tax_rate: z.number().describe(\"Tax rate percentage applicable to the item.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the item was created.\").nullable().optional(),\n description: z.string().describe(\"Description of the item.\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit amount in currency subunits.\").nullable().optional(),\n tax_group_id: z.string().describe(\"Tax group identifier for the item.\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax.\").nullable().optional(),\n}).describe(\"Represents an individual item in the Razorpay system.\");\nexport const RazorpayListItemsOutput = z.object({\n count: z.number().int().describe(\"Number of items returned in this response.\").nullable().optional(),\n items: z.array(RazorpayListItems_ItemSchema).describe(\"Array of item objects returned by the API.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, typically 'collection' for list responses.\").nullable().optional(),\n}).describe(\"Response schema for listing items.\");\n\nexport const razorpayListItems = action(\"RAZORPAY_LIST_ITEMS\", {\n slug: \"razorpay-list-items\",\n name: \"List Items\",\n description: \"Tool to retrieve a list of all items from Razorpay with pagination support. Use when you need to fetch invoice items, view available products, or manage item catalog. Supports filtering by active status and date range for efficient retrieval.\",\n input: RazorpayListItemsInput,\n output: RazorpayListItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAClH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC3I,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,uDAAuD;
|
|
1
|
+
{"version":3,"file":"list-items.mjs","names":[],"sources":["../../src/actions/list-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayListItemsInput = z.object({\n skip: z.number().int().describe(\"Number of items to skip for pagination. Use with count to navigate through pages.\").optional(),\n count: z.number().int().describe(\"Number of items to retrieve per page. Maximum 100 items per request.\").optional(),\n active: z.boolean().describe(\"Filter items by active status. True returns only active items, False returns only inactive items.\").optional(),\n to_timestamp: z.number().int().describe(\"Unix timestamp to filter items created on or before this time.\").optional(),\n from_timestamp: z.number().int().describe(\"Unix timestamp to filter items created on or after this time.\").optional(),\n}).describe(\"Request parameters for listing items with pagination support.\");\nconst RazorpayListItems_ItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the item.\").nullable().optional(),\n name: z.string().describe(\"Name of the item.\").nullable().optional(),\n type: z.string().describe(\"Type of the item (e.g., invoice, plan).\").nullable().optional(),\n unit: z.string().describe(\"Unit of measurement for the item.\").nullable().optional(),\n active: z.boolean().describe(\"Whether the item is currently active.\").nullable().optional(),\n amount: z.number().int().describe(\"Amount in currency subunits (e.g., paise for INR). For example, 10000 means ₹100.00.\").nullable().optional(),\n tax_id: z.string().describe(\"Tax identifier associated with the item.\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., INR, USD).\").nullable().optional(),\n hsn_code: z.string().describe(\"HSN code for the item (for Indian tax purposes).\").nullable().optional(),\n sac_code: z.string().describe(\"SAC code for the item (for Indian service tax purposes).\").nullable().optional(),\n tax_rate: z.number().describe(\"Tax rate percentage applicable to the item.\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp when the item was created.\").nullable().optional(),\n description: z.string().describe(\"Description of the item.\").nullable().optional(),\n unit_amount: z.number().int().describe(\"Unit amount in currency subunits.\").nullable().optional(),\n tax_group_id: z.string().describe(\"Tax group identifier for the item.\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax.\").nullable().optional(),\n}).passthrough().describe(\"Represents an individual item in the Razorpay system.\");\nexport const RazorpayListItemsOutput = z.object({\n count: z.number().int().describe(\"Number of items returned in this response.\").nullable().optional(),\n items: z.array(RazorpayListItems_ItemSchema).describe(\"Array of item objects returned by the API.\").nullable().optional(),\n entity: z.string().describe(\"Entity type, typically 'collection' for list responses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing items.\");\n\nexport const razorpayListItems = action(\"RAZORPAY_LIST_ITEMS\", {\n slug: \"razorpay-list-items\",\n name: \"List Items\",\n description: \"Tool to retrieve a list of all items from Razorpay with pagination support. Use when you need to fetch invoice items, view available products, or manage item catalog. Supports filtering by active status and date range for efficient retrieval.\",\n input: RazorpayListItemsInput,\n output: RazorpayListItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAClH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC3I,cAAc,EAAE,OAAO,C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AC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAOjF,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXqC,EAAE,OAAO;EAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,OAAO,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const RazorpayNotifyPaymentLinkInput = zod.z.object({
|
|
|
5
5
|
medium: zod.z.enum(["sms", "email"]).describe("The notification medium to use for sending the payment link notification. Choose 'sms' to send via SMS or 'email' to send via email."),
|
|
6
6
|
plink_id: zod.z.string().describe("The unique identifier of the payment link to send notification for.")
|
|
7
7
|
}).describe("Request to send a notification for a payment link.");
|
|
8
|
-
const RazorpayNotifyPaymentLinkOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the notification was sent successfully.").nullable() }).describe("Response from sending a payment link notification.");
|
|
8
|
+
const RazorpayNotifyPaymentLinkOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the notification was sent successfully.").nullable() }).passthrough().describe("Response from sending a payment link notification.");
|
|
9
9
|
const razorpayNotifyPaymentLink = require_action.action("RAZORPAY_NOTIFY_PAYMENT_LINK", {
|
|
10
10
|
slug: "razorpay-notify-payment-link",
|
|
11
11
|
name: "Notify Payment Link",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notify-payment-link.cjs","names":["z","action"],"sources":["../../src/actions/notify-payment-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayNotifyPaymentLinkInput = z.object({\n medium: z.enum([\"sms\", \"email\"]).describe(\"The notification medium to use for sending the payment link notification. Choose 'sms' to send via SMS or 'email' to send via email.\"),\n plink_id: z.string().describe(\"The unique identifier of the payment link to send notification for.\"),\n}).describe(\"Request to send a notification for a payment link.\");\nexport const RazorpayNotifyPaymentLinkOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the notification was sent successfully.\").nullable(),\n}).describe(\"Response from sending a payment link notification.\");\n\nexport const razorpayNotifyPaymentLink = action(\"RAZORPAY_NOTIFY_PAYMENT_LINK\", {\n slug: \"razorpay-notify-payment-link\",\n name: \"Notify Payment Link\",\n description: \"Tool to send or resend notification for a payment link via SMS or email. Use when you need to notify a customer about a payment link.\",\n input: RazorpayNotifyPaymentLinkInput,\n output: RazorpayNotifyPaymentLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,SAAS,sIAAsI;CAChL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACrG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"notify-payment-link.cjs","names":["z","action"],"sources":["../../src/actions/notify-payment-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayNotifyPaymentLinkInput = z.object({\n medium: z.enum([\"sms\", \"email\"]).describe(\"The notification medium to use for sending the payment link notification. Choose 'sms' to send via SMS or 'email' to send via email.\"),\n plink_id: z.string().describe(\"The unique identifier of the payment link to send notification for.\"),\n}).describe(\"Request to send a notification for a payment link.\");\nexport const RazorpayNotifyPaymentLinkOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the notification was sent successfully.\").nullable(),\n}).passthrough().describe(\"Response from sending a payment link notification.\");\n\nexport const razorpayNotifyPaymentLink = action(\"RAZORPAY_NOTIFY_PAYMENT_LINK\", {\n slug: \"razorpay-notify-payment-link\",\n name: \"Notify Payment Link\",\n description: \"Tool to send or resend notification for a payment link via SMS or email. Use when you need to notify a customer about a payment link.\",\n input: RazorpayNotifyPaymentLinkInput,\n output: RazorpayNotifyPaymentLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,SAAS,sIAAsI;CAChL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACrG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -3,16 +3,16 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/notify-payment-link.d.ts
|
|
4
4
|
declare const RazorpayNotifyPaymentLinkInput: z.ZodObject<{
|
|
5
5
|
medium: z.ZodEnum<{
|
|
6
|
-
sms: "sms";
|
|
7
6
|
email: "email";
|
|
7
|
+
sms: "sms";
|
|
8
8
|
}>;
|
|
9
9
|
plink_id: z.ZodString;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const RazorpayNotifyPaymentLinkOutput: z.ZodObject<{
|
|
12
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const razorpayNotifyPaymentLink: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
-
medium: "
|
|
15
|
+
medium: "email" | "sms";
|
|
16
16
|
plink_id: string;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
18
|
//#endregion
|
|
@@ -3,16 +3,16 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/notify-payment-link.d.ts
|
|
4
4
|
declare const RazorpayNotifyPaymentLinkInput: z.ZodObject<{
|
|
5
5
|
medium: z.ZodEnum<{
|
|
6
|
-
sms: "sms";
|
|
7
6
|
email: "email";
|
|
7
|
+
sms: "sms";
|
|
8
8
|
}>;
|
|
9
9
|
plink_id: z.ZodString;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const RazorpayNotifyPaymentLinkOutput: z.ZodObject<{
|
|
12
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const razorpayNotifyPaymentLink: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
-
medium: "
|
|
15
|
+
medium: "email" | "sms";
|
|
16
16
|
plink_id: string;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
18
|
//#endregion
|
|
@@ -8,7 +8,7 @@ const razorpayNotifyPaymentLink = action("RAZORPAY_NOTIFY_PAYMENT_LINK", {
|
|
|
8
8
|
medium: z.enum(["sms", "email"]).describe("The notification medium to use for sending the payment link notification. Choose 'sms' to send via SMS or 'email' to send via email."),
|
|
9
9
|
plink_id: z.string().describe("The unique identifier of the payment link to send notification for.")
|
|
10
10
|
}).describe("Request to send a notification for a payment link."),
|
|
11
|
-
output: z.object({ success: z.boolean().describe("Indicates whether the notification was sent successfully.").nullable() }).describe("Response from sending a payment link notification.")
|
|
11
|
+
output: z.object({ success: z.boolean().describe("Indicates whether the notification was sent successfully.").nullable() }).passthrough().describe("Response from sending a payment link notification.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { razorpayNotifyPaymentLink };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notify-payment-link.mjs","names":[],"sources":["../../src/actions/notify-payment-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayNotifyPaymentLinkInput = z.object({\n medium: z.enum([\"sms\", \"email\"]).describe(\"The notification medium to use for sending the payment link notification. Choose 'sms' to send via SMS or 'email' to send via email.\"),\n plink_id: z.string().describe(\"The unique identifier of the payment link to send notification for.\"),\n}).describe(\"Request to send a notification for a payment link.\");\nexport const RazorpayNotifyPaymentLinkOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the notification was sent successfully.\").nullable(),\n}).describe(\"Response from sending a payment link notification.\");\n\nexport const razorpayNotifyPaymentLink = action(\"RAZORPAY_NOTIFY_PAYMENT_LINK\", {\n slug: \"razorpay-notify-payment-link\",\n name: \"Notify Payment Link\",\n description: \"Tool to send or resend notification for a payment link via SMS or email. Use when you need to notify a customer about a payment link.\",\n input: RazorpayNotifyPaymentLinkInput,\n output: RazorpayNotifyPaymentLinkOutput,\n});\n"],"mappings":";;AAYA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4C,EAAE,OAAO;EACrD,QAAQ,EAAE,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,SAAS,sIAAsI;EAChL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACrG,CAAC,CAAC,CAAC,SAAS,oDASH;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"notify-payment-link.mjs","names":[],"sources":["../../src/actions/notify-payment-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayNotifyPaymentLinkInput = z.object({\n medium: z.enum([\"sms\", \"email\"]).describe(\"The notification medium to use for sending the payment link notification. Choose 'sms' to send via SMS or 'email' to send via email.\"),\n plink_id: z.string().describe(\"The unique identifier of the payment link to send notification for.\"),\n}).describe(\"Request to send a notification for a payment link.\");\nexport const RazorpayNotifyPaymentLinkOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the notification was sent successfully.\").nullable(),\n}).passthrough().describe(\"Response from sending a payment link notification.\");\n\nexport const razorpayNotifyPaymentLink = action(\"RAZORPAY_NOTIFY_PAYMENT_LINK\", {\n slug: \"razorpay-notify-payment-link\",\n name: \"Notify Payment Link\",\n description: \"Tool to send or resend notification for a payment link via SMS or email. Use when you need to notify a customer about a payment link.\",\n input: RazorpayNotifyPaymentLinkInput,\n output: RazorpayNotifyPaymentLinkOutput,\n});\n"],"mappings":";;AAYA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4C,EAAE,OAAO;EACrD,QAAQ,EAAE,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,SAAS,sIAAsI;EAChL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACrG,CAAC,CAAC,CAAC,SAAS,oDASH;CACP,QAT6C,EAAE,OAAO,EACtD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const RazorpaySendOrResendNotificationInput = zod.z.object({
|
|
|
5
5
|
medium: zod.z.enum(["email", "sms"]).describe("The medium through which to send the notification (email or sms)"),
|
|
6
6
|
invoice_id: zod.z.string().describe("The unique identifier of the invoice for which to send notification")
|
|
7
7
|
}).describe("Request model for sending or resending invoice notifications");
|
|
8
|
-
const RazorpaySendOrResendNotificationOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the notification was sent successfully").nullable() }).describe("Response model for send/resend notification action");
|
|
8
|
+
const RazorpaySendOrResendNotificationOutput = zod.z.object({ success: zod.z.boolean().describe("Indicates whether the notification was sent successfully").nullable() }).passthrough().describe("Response model for send/resend notification action");
|
|
9
9
|
const razorpaySendOrResendNotification = require_action.action("RAZORPAY_SEND_OR_RESEND_NOTIFICATION", {
|
|
10
10
|
slug: "razorpay-send-or-resend-notification",
|
|
11
11
|
name: "Send/Resend Invoice Notification",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-or-resend-notification.cjs","names":["z","action"],"sources":["../../src/actions/send-or-resend-notification.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpaySendOrResendNotificationInput = z.object({\n medium: z.enum([\"email\", \"sms\"]).describe(\"The medium through which to send the notification (email or sms)\"),\n invoice_id: z.string().describe(\"The unique identifier of the invoice for which to send notification\"),\n}).describe(\"Request model for sending or resending invoice notifications\");\nexport const RazorpaySendOrResendNotificationOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the notification was sent successfully\").nullable(),\n}).describe(\"Response model for send/resend notification action\");\n\nexport const razorpaySendOrResendNotification = action(\"RAZORPAY_SEND_OR_RESEND_NOTIFICATION\", {\n slug: \"razorpay-send-or-resend-notification\",\n name: \"Send/Resend Invoice Notification\",\n description: \"Tool to send or resend an invoice notification via email or SMS. Use when you need to notify customers about an invoice through their preferred communication channel.\",\n input: RazorpaySendOrResendNotificationInput,\n output: RazorpaySendOrResendNotificationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,KAAK,CAAC,SAAS,KAAK,CAAC,CAAC,CAAC,SAAS,kEAAkE;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACvG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,EACrG,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"send-or-resend-notification.cjs","names":["z","action"],"sources":["../../src/actions/send-or-resend-notification.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpaySendOrResendNotificationInput = z.object({\n medium: z.enum([\"email\", \"sms\"]).describe(\"The medium through which to send the notification (email or sms)\"),\n invoice_id: z.string().describe(\"The unique identifier of the invoice for which to send notification\"),\n}).describe(\"Request model for sending or resending invoice notifications\");\nexport const RazorpaySendOrResendNotificationOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the notification was sent successfully\").nullable(),\n}).passthrough().describe(\"Response model for send/resend notification action\");\n\nexport const razorpaySendOrResendNotification = action(\"RAZORPAY_SEND_OR_RESEND_NOTIFICATION\", {\n slug: \"razorpay-send-or-resend-notification\",\n name: \"Send/Resend Invoice Notification\",\n description: \"Tool to send or resend an invoice notification via email or SMS. Use when you need to notify customers about an invoice through their preferred communication channel.\",\n input: RazorpaySendOrResendNotificationInput,\n output: RazorpaySendOrResendNotificationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,KAAK,CAAC,SAAS,KAAK,CAAC,CAAC,CAAC,SAAS,kEAAkE;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACvG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,EACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -3,16 +3,16 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/send-or-resend-notification.d.ts
|
|
4
4
|
declare const RazorpaySendOrResendNotificationInput: z.ZodObject<{
|
|
5
5
|
medium: z.ZodEnum<{
|
|
6
|
-
sms: "sms";
|
|
7
6
|
email: "email";
|
|
7
|
+
sms: "sms";
|
|
8
8
|
}>;
|
|
9
9
|
invoice_id: z.ZodString;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const RazorpaySendOrResendNotificationOutput: z.ZodObject<{
|
|
12
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const razorpaySendOrResendNotification: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
-
medium: "
|
|
15
|
+
medium: "email" | "sms";
|
|
16
16
|
invoice_id: string;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
18
|
//#endregion
|
|
@@ -3,16 +3,16 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/send-or-resend-notification.d.ts
|
|
4
4
|
declare const RazorpaySendOrResendNotificationInput: z.ZodObject<{
|
|
5
5
|
medium: z.ZodEnum<{
|
|
6
|
-
sms: "sms";
|
|
7
6
|
email: "email";
|
|
7
|
+
sms: "sms";
|
|
8
8
|
}>;
|
|
9
9
|
invoice_id: z.ZodString;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const RazorpaySendOrResendNotificationOutput: z.ZodObject<{
|
|
12
12
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const razorpaySendOrResendNotification: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
-
medium: "
|
|
15
|
+
medium: "email" | "sms";
|
|
16
16
|
invoice_id: string;
|
|
17
17
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
18
|
//#endregion
|
|
@@ -8,7 +8,7 @@ const razorpaySendOrResendNotification = action("RAZORPAY_SEND_OR_RESEND_NOTIFIC
|
|
|
8
8
|
medium: z.enum(["email", "sms"]).describe("The medium through which to send the notification (email or sms)"),
|
|
9
9
|
invoice_id: z.string().describe("The unique identifier of the invoice for which to send notification")
|
|
10
10
|
}).describe("Request model for sending or resending invoice notifications"),
|
|
11
|
-
output: z.object({ success: z.boolean().describe("Indicates whether the notification was sent successfully").nullable() }).describe("Response model for send/resend notification action")
|
|
11
|
+
output: z.object({ success: z.boolean().describe("Indicates whether the notification was sent successfully").nullable() }).passthrough().describe("Response model for send/resend notification action")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { razorpaySendOrResendNotification };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-or-resend-notification.mjs","names":[],"sources":["../../src/actions/send-or-resend-notification.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpaySendOrResendNotificationInput = z.object({\n medium: z.enum([\"email\", \"sms\"]).describe(\"The medium through which to send the notification (email or sms)\"),\n invoice_id: z.string().describe(\"The unique identifier of the invoice for which to send notification\"),\n}).describe(\"Request model for sending or resending invoice notifications\");\nexport const RazorpaySendOrResendNotificationOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the notification was sent successfully\").nullable(),\n}).describe(\"Response model for send/resend notification action\");\n\nexport const razorpaySendOrResendNotification = action(\"RAZORPAY_SEND_OR_RESEND_NOTIFICATION\", {\n slug: \"razorpay-send-or-resend-notification\",\n name: \"Send/Resend Invoice Notification\",\n description: \"Tool to send or resend an invoice notification via email or SMS. Use when you need to notify customers about an invoice through their preferred communication channel.\",\n input: RazorpaySendOrResendNotificationInput,\n output: RazorpaySendOrResendNotificationOutput,\n});\n"],"mappings":";;AAYA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZmD,EAAE,OAAO;EAC5D,QAAQ,EAAE,KAAK,CAAC,SAAS,KAAK,CAAC,CAAC,CAAC,SAAS,kEAAkE;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACvG,CAAC,CAAC,CAAC,SAAS,8DASH;CACP,QAToD,EAAE,OAAO,EAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,EACrG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"send-or-resend-notification.mjs","names":[],"sources":["../../src/actions/send-or-resend-notification.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpaySendOrResendNotificationInput = z.object({\n medium: z.enum([\"email\", \"sms\"]).describe(\"The medium through which to send the notification (email or sms)\"),\n invoice_id: z.string().describe(\"The unique identifier of the invoice for which to send notification\"),\n}).describe(\"Request model for sending or resending invoice notifications\");\nexport const RazorpaySendOrResendNotificationOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the notification was sent successfully\").nullable(),\n}).passthrough().describe(\"Response model for send/resend notification action\");\n\nexport const razorpaySendOrResendNotification = action(\"RAZORPAY_SEND_OR_RESEND_NOTIFICATION\", {\n slug: \"razorpay-send-or-resend-notification\",\n name: \"Send/Resend Invoice Notification\",\n description: \"Tool to send or resend an invoice notification via email or SMS. Use when you need to notify customers about an invoice through their preferred communication channel.\",\n input: RazorpaySendOrResendNotificationInput,\n output: RazorpaySendOrResendNotificationOutput,\n});\n"],"mappings":";;AAYA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZmD,EAAE,OAAO;EAC5D,QAAQ,EAAE,KAAK,CAAC,SAAS,KAAK,CAAC,CAAC,CAAC,SAAS,kEAAkE;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACvG,CAAC,CAAC,CAAC,SAAS,8DASH;CACP,QAToD,EAAE,OAAO,EAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,EACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const RazorpayUpdateContactInput = zod.z.object({
|
|
|
9
9
|
"customer"
|
|
10
10
|
]).describe("Type of contact in RazorpayX.").optional(),
|
|
11
11
|
email: zod.z.string().describe("Updated email address of the contact. Provide this to change the contact's email.").optional(),
|
|
12
|
-
notes: zod.z.
|
|
12
|
+
notes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Updated key-value pairs for storing additional information about the contact. Provide this to change or add notes.").optional(),
|
|
13
13
|
contact: zod.z.string().describe("Updated phone number of the contact. Provide this to change the contact's phone number.").optional(),
|
|
14
14
|
contact_id: zod.z.string().describe("The unique identifier of the contact to update. This is the contact ID returned from Razorpay (e.g., 'cont_SMoUIhAssfaDoy')."),
|
|
15
15
|
reference_id: zod.z.string().describe("Updated reference identifier for the contact in your system. Provide this to change the reference ID.").optional()
|
|
@@ -19,14 +19,14 @@ const RazorpayUpdateContactOutput = zod.z.object({
|
|
|
19
19
|
name: zod.z.string().describe("Name of the contact").nullable(),
|
|
20
20
|
type: zod.z.string().describe("Type of contact").nullable(),
|
|
21
21
|
email: zod.z.string().describe("Email address of the contact").nullable().optional(),
|
|
22
|
-
notes: zod.z.
|
|
22
|
+
notes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional information about the contact").nullable().optional(),
|
|
23
23
|
active: zod.z.boolean().describe("Whether the contact is active").nullable(),
|
|
24
24
|
entity: zod.z.string().describe("Entity type").nullable(),
|
|
25
25
|
contact: zod.z.string().describe("Phone number of the contact").nullable().optional(),
|
|
26
26
|
batch_id: zod.z.string().describe("Batch identifier if the contact was created in a batch").nullable().optional(),
|
|
27
27
|
created_at: zod.z.number().int().describe("Unix timestamp of contact creation").nullable(),
|
|
28
28
|
reference_id: zod.z.string().describe("Reference identifier for the contact").nullable().optional()
|
|
29
|
-
}).describe("Response model for an updated RazorpayX contact.");
|
|
29
|
+
}).passthrough().describe("Response model for an updated RazorpayX contact.");
|
|
30
30
|
const razorpayUpdateContact = require_action.action("RAZORPAY_UPDATE_CONTACT", {
|
|
31
31
|
slug: "razorpay-update-contact",
|
|
32
32
|
name: "Update Contact",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateContactInput = z.object({\n name: z.string().describe(\"Updated name of the contact. Provide this to change the contact's name.\").optional(),\n type: z.enum([\"employee\", \"vendor\", \"customer\"]).describe(\"Type of contact in RazorpayX.\").optional(),\n email: z.string().describe(\"Updated email address of the contact. Provide this to change the contact's email.\").optional(),\n notes: z.
|
|
1
|
+
{"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateContactInput = z.object({\n name: z.string().describe(\"Updated name of the contact. Provide this to change the contact's name.\").optional(),\n type: z.enum([\"employee\", \"vendor\", \"customer\"]).describe(\"Type of contact in RazorpayX.\").optional(),\n email: z.string().describe(\"Updated email address of the contact. Provide this to change the contact's email.\").optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Updated key-value pairs for storing additional information about the contact. Provide this to change or add notes.\").optional(),\n contact: z.string().describe(\"Updated phone number of the contact. Provide this to change the contact's phone number.\").optional(),\n contact_id: z.string().describe(\"The unique identifier of the contact to update. This is the contact ID returned from Razorpay (e.g., 'cont_SMoUIhAssfaDoy').\"),\n reference_id: z.string().describe(\"Updated reference identifier for the contact in your system. Provide this to change the reference ID.\").optional(),\n}).describe(\"Request model for updating a contact in RazorpayX.\");\nexport const RazorpayUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n name: z.string().describe(\"Name of the contact\").nullable(),\n type: z.string().describe(\"Type of contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Additional information about the contact\").nullable().optional(),\n active: z.boolean().describe(\"Whether the contact is active\").nullable(),\n entity: z.string().describe(\"Entity type\").nullable(),\n contact: z.string().describe(\"Phone number of the contact\").nullable().optional(),\n batch_id: z.string().describe(\"Batch identifier if the contact was created in a batch\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp of contact creation\").nullable(),\n reference_id: z.string().describe(\"Reference identifier for the contact\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated RazorpayX contact.\");\n\nexport const razorpayUpdateContact = action(\"RAZORPAY_UPDATE_CONTACT\", {\n slug: \"razorpay-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact's details in RazorpayX. Use when you need to modify contact information such as name, email, phone number, type, reference ID, or notes.\",\n input: RazorpayUpdateContactInput,\n output: RazorpayUpdateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC9G,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAY;EAAU;CAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CACzH,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACjL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACjI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;CAC9J,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,MAAMA,IAAAA,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;
|
|
13
13
|
contact: z.ZodOptional<z.ZodString>;
|
|
14
14
|
contact_id: z.ZodString;
|
|
15
15
|
reference_id: z.ZodOptional<z.ZodString>;
|
|
@@ -19,20 +19,20 @@ declare const RazorpayUpdateContactOutput: z.ZodObject<{
|
|
|
19
19
|
name: z.ZodNullable<z.ZodString>;
|
|
20
20
|
type: z.ZodNullable<z.ZodString>;
|
|
21
21
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
notes: z.ZodOptional<z.ZodNullable<z.
|
|
22
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
23
23
|
active: z.ZodNullable<z.ZodBoolean>;
|
|
24
24
|
entity: z.ZodNullable<z.ZodString>;
|
|
25
25
|
contact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
batch_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
28
28
|
reference_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>;
|
|
30
30
|
declare const razorpayUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
31
|
contact_id: string;
|
|
32
32
|
name?: string | undefined;
|
|
33
33
|
type?: "customer" | "employee" | "vendor" | undefined;
|
|
34
34
|
email?: string | undefined;
|
|
35
|
-
notes?: Record<string,
|
|
35
|
+
notes?: Record<string, unknown> | undefined;
|
|
36
36
|
contact?: string | undefined;
|
|
37
37
|
reference_id?: string | undefined;
|
|
38
38
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,7 +9,7 @@ declare const RazorpayUpdateContactInput: z.ZodObject<{
|
|
|
9
9
|
vendor: "vendor";
|
|
10
10
|
}>>;
|
|
11
11
|
email: z.ZodOptional<z.ZodString>;
|
|
12
|
-
notes: z.ZodOptional<z.
|
|
12
|
+
notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
13
13
|
contact: z.ZodOptional<z.ZodString>;
|
|
14
14
|
contact_id: z.ZodString;
|
|
15
15
|
reference_id: z.ZodOptional<z.ZodString>;
|
|
@@ -19,20 +19,20 @@ declare const RazorpayUpdateContactOutput: z.ZodObject<{
|
|
|
19
19
|
name: z.ZodNullable<z.ZodString>;
|
|
20
20
|
type: z.ZodNullable<z.ZodString>;
|
|
21
21
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
notes: z.ZodOptional<z.ZodNullable<z.
|
|
22
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
23
23
|
active: z.ZodNullable<z.ZodBoolean>;
|
|
24
24
|
entity: z.ZodNullable<z.ZodString>;
|
|
25
25
|
contact: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
batch_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
28
28
|
reference_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>;
|
|
30
30
|
declare const razorpayUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
31
|
contact_id: string;
|
|
32
32
|
name?: string | undefined;
|
|
33
33
|
type?: "customer" | "employee" | "vendor" | undefined;
|
|
34
34
|
email?: string | undefined;
|
|
35
|
-
notes?: Record<string,
|
|
35
|
+
notes?: Record<string, unknown> | undefined;
|
|
36
36
|
contact?: string | undefined;
|
|
37
37
|
reference_id?: string | undefined;
|
|
38
38
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -12,7 +12,7 @@ const razorpayUpdateContact = action("RAZORPAY_UPDATE_CONTACT", {
|
|
|
12
12
|
"customer"
|
|
13
13
|
]).describe("Type of contact in RazorpayX.").optional(),
|
|
14
14
|
email: z.string().describe("Updated email address of the contact. Provide this to change the contact's email.").optional(),
|
|
15
|
-
notes: z.
|
|
15
|
+
notes: z.record(z.string(), z.unknown()).describe("Updated key-value pairs for storing additional information about the contact. Provide this to change or add notes.").optional(),
|
|
16
16
|
contact: z.string().describe("Updated phone number of the contact. Provide this to change the contact's phone number.").optional(),
|
|
17
17
|
contact_id: z.string().describe("The unique identifier of the contact to update. This is the contact ID returned from Razorpay (e.g., 'cont_SMoUIhAssfaDoy')."),
|
|
18
18
|
reference_id: z.string().describe("Updated reference identifier for the contact in your system. Provide this to change the reference ID.").optional()
|
|
@@ -22,14 +22,14 @@ const razorpayUpdateContact = action("RAZORPAY_UPDATE_CONTACT", {
|
|
|
22
22
|
name: z.string().describe("Name of the contact").nullable(),
|
|
23
23
|
type: z.string().describe("Type of contact").nullable(),
|
|
24
24
|
email: z.string().describe("Email address of the contact").nullable().optional(),
|
|
25
|
-
notes: z.
|
|
25
|
+
notes: z.record(z.string(), z.unknown()).describe("Additional information about the contact").nullable().optional(),
|
|
26
26
|
active: z.boolean().describe("Whether the contact is active").nullable(),
|
|
27
27
|
entity: z.string().describe("Entity type").nullable(),
|
|
28
28
|
contact: z.string().describe("Phone number of the contact").nullable().optional(),
|
|
29
29
|
batch_id: z.string().describe("Batch identifier if the contact was created in a batch").nullable().optional(),
|
|
30
30
|
created_at: z.number().int().describe("Unix timestamp of contact creation").nullable(),
|
|
31
31
|
reference_id: z.string().describe("Reference identifier for the contact").nullable().optional()
|
|
32
|
-
}).describe("Response model for an updated RazorpayX contact.")
|
|
32
|
+
}).passthrough().describe("Response model for an updated RazorpayX contact.")
|
|
33
33
|
});
|
|
34
34
|
//#endregion
|
|
35
35
|
export { razorpayUpdateContact };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateContactInput = z.object({\n name: z.string().describe(\"Updated name of the contact. Provide this to change the contact's name.\").optional(),\n type: z.enum([\"employee\", \"vendor\", \"customer\"]).describe(\"Type of contact in RazorpayX.\").optional(),\n email: z.string().describe(\"Updated email address of the contact. Provide this to change the contact's email.\").optional(),\n notes: z.
|
|
1
|
+
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateContactInput = z.object({\n name: z.string().describe(\"Updated name of the contact. Provide this to change the contact's name.\").optional(),\n type: z.enum([\"employee\", \"vendor\", \"customer\"]).describe(\"Type of contact in RazorpayX.\").optional(),\n email: z.string().describe(\"Updated email address of the contact. Provide this to change the contact's email.\").optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Updated key-value pairs for storing additional information about the contact. Provide this to change or add notes.\").optional(),\n contact: z.string().describe(\"Updated phone number of the contact. Provide this to change the contact's phone number.\").optional(),\n contact_id: z.string().describe(\"The unique identifier of the contact to update. This is the contact ID returned from Razorpay (e.g., 'cont_SMoUIhAssfaDoy').\"),\n reference_id: z.string().describe(\"Updated reference identifier for the contact in your system. Provide this to change the reference ID.\").optional(),\n}).describe(\"Request model for updating a contact in RazorpayX.\");\nexport const RazorpayUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n name: z.string().describe(\"Name of the contact\").nullable(),\n type: z.string().describe(\"Type of contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable().optional(),\n notes: z.record(z.string(), z.unknown()).describe(\"Additional information about the contact\").nullable().optional(),\n active: z.boolean().describe(\"Whether the contact is active\").nullable(),\n entity: z.string().describe(\"Entity type\").nullable(),\n contact: z.string().describe(\"Phone number of the contact\").nullable().optional(),\n batch_id: z.string().describe(\"Batch identifier if the contact was created in a batch\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp of contact creation\").nullable(),\n reference_id: z.string().describe(\"Reference identifier for the contact\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated RazorpayX contact.\");\n\nexport const razorpayUpdateContact = action(\"RAZORPAY_UPDATE_CONTACT\", {\n slug: \"razorpay-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact's details in RazorpayX. Use when you need to modify contact information such as name, email, phone number, type, reference ID, or notes.\",\n input: RazorpayUpdateContactInput,\n output: RazorpayUpdateContactOutput,\n});\n"],"mappings":";;AA2BA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC9G,MAAM,EAAE,KAAK;GAAC;GAAY;GAAU;EAAU,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EACzH,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EACjL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACjI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;EAC9J,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,oDAmBH;CACP,QAnByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -12,11 +12,11 @@ const RazorpayUpdateCustomerOutput = zod.z.object({
|
|
|
12
12
|
name: zod.z.string().describe("The name of the customer").nullable(),
|
|
13
13
|
email: zod.z.string().describe("The email address of the customer").nullable(),
|
|
14
14
|
gstin: zod.z.string().describe("The GST identification number of the customer, if available").nullable().optional(),
|
|
15
|
-
notes: zod.z.union([zod.z.
|
|
15
|
+
notes: zod.z.union([zod.z.record(zod.z.string(), zod.z.unknown()), zod.z.array(zod.z.unknown())]).nullable().optional(),
|
|
16
16
|
entity: zod.z.string().describe("The entity type, always 'customer' for customer objects").nullable(),
|
|
17
17
|
contact: zod.z.string().describe("The contact number of the customer").nullable(),
|
|
18
18
|
created_at: zod.z.number().int().describe("Unix timestamp when the customer was created").nullable()
|
|
19
|
-
}).describe("Response containing the updated customer details from Razorpay.");
|
|
19
|
+
}).passthrough().describe("Response containing the updated customer details from Razorpay.");
|
|
20
20
|
const razorpayUpdateCustomer = require_action.action("RAZORPAY_UPDATE_CUSTOMER", {
|
|
21
21
|
slug: "razorpay-update-customer",
|
|
22
22
|
name: "Update Customer",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-customer.cjs","names":["z","action"],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateCustomerInput = z.object({\n name: z.string().describe(\"The updated name of the customer. Provide this to change the customer's name.\").optional(),\n email: z.string().describe(\"The updated email address of the customer. Provide this to change the customer's email.\").optional(),\n contact: z.string().describe(\"The updated contact number of the customer. Provide this to change the customer's phone number. Should be a valid phone number string.\").optional(),\n customer_id: z.string().describe(\"The unique identifier of the customer to update. This is the customer ID returned from Razorpay (e.g., 'cust_SMoQL8RbRrw4w5').\"),\n}).describe(\"Request parameters to update a customer in Razorpay.\");\nexport const RazorpayUpdateCustomerOutput = z.object({\n id: z.string().describe(\"The unique identifier of the customer in Razorpay\").nullable(),\n name: z.string().describe(\"The name of the customer\").nullable(),\n email: z.string().describe(\"The email address of the customer\").nullable(),\n gstin: z.string().describe(\"The GST identification number of the customer, if available\").nullable().optional(),\n notes: z.union([z.
|
|
1
|
+
{"version":3,"file":"update-customer.cjs","names":["z","action"],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RazorpayUpdateCustomerInput = z.object({\n name: z.string().describe(\"The updated name of the customer. Provide this to change the customer's name.\").optional(),\n email: z.string().describe(\"The updated email address of the customer. Provide this to change the customer's email.\").optional(),\n contact: z.string().describe(\"The updated contact number of the customer. Provide this to change the customer's phone number. Should be a valid phone number string.\").optional(),\n customer_id: z.string().describe(\"The unique identifier of the customer to update. This is the customer ID returned from Razorpay (e.g., 'cust_SMoQL8RbRrw4w5').\"),\n}).describe(\"Request parameters to update a customer in Razorpay.\");\nexport const RazorpayUpdateCustomerOutput = z.object({\n id: z.string().describe(\"The unique identifier of the customer in Razorpay\").nullable(),\n name: z.string().describe(\"The name of the customer\").nullable(),\n email: z.string().describe(\"The email address of the customer\").nullable(),\n gstin: z.string().describe(\"The GST identification number of the customer, if available\").nullable().optional(),\n notes: z.union([z.record(z.string(), z.unknown()), z.array(z.unknown())]).nullable().optional(),\n entity: z.string().describe(\"The entity type, always 'customer' for customer objects\").nullable(),\n contact: z.string().describe(\"The contact number of the customer\").nullable(),\n created_at: z.number().int().describe(\"Unix timestamp when the customer was created\").nullable(),\n}).passthrough().describe(\"Response containing the updated customer details from Razorpay.\");\n\nexport const razorpayUpdateCustomer = action(\"RAZORPAY_UPDATE_CUSTOMER\", {\n slug: \"razorpay-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer's details in Razorpay. Use when you need to modify customer information such as name, email, or contact number.\",\n input: RazorpayUpdateCustomerInput,\n output: RazorpayUpdateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC/H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAChL,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;AACnK,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,OAAOA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,11 +12,11 @@ declare const RazorpayUpdateCustomerOutput: z.ZodObject<{
|
|
|
12
12
|
name: z.ZodNullable<z.ZodString>;
|
|
13
13
|
email: z.ZodNullable<z.ZodString>;
|
|
14
14
|
gstin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
notes: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.
|
|
15
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>>>;
|
|
16
16
|
entity: z.ZodNullable<z.ZodString>;
|
|
17
17
|
contact: z.ZodNullable<z.ZodString>;
|
|
18
18
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const razorpayUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
customer_id: string;
|
|
22
22
|
name?: string | undefined;
|
|
@@ -12,11 +12,11 @@ declare const RazorpayUpdateCustomerOutput: z.ZodObject<{
|
|
|
12
12
|
name: z.ZodNullable<z.ZodString>;
|
|
13
13
|
email: z.ZodNullable<z.ZodString>;
|
|
14
14
|
gstin: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
notes: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.
|
|
15
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>]>>>;
|
|
16
16
|
entity: z.ZodNullable<z.ZodString>;
|
|
17
17
|
contact: z.ZodNullable<z.ZodString>;
|
|
18
18
|
created_at: z.ZodNullable<z.ZodNumber>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>;
|
|
20
20
|
declare const razorpayUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
21
|
customer_id: string;
|
|
22
22
|
name?: string | undefined;
|