@keystrokehq/postgrid 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/cancel-box.cjs +1 -0
- package/dist/actions/cancel-box.cjs.map +1 -1
- package/dist/actions/cancel-box.d.cts +3 -3
- package/dist/actions/cancel-box.d.cts.map +1 -1
- package/dist/actions/cancel-box.d.mts +3 -3
- package/dist/actions/cancel-box.d.mts.map +1 -1
- package/dist/actions/cancel-box.mjs +1 -0
- package/dist/actions/cancel-box.mjs.map +1 -1
- package/dist/actions/cancel-cheque-with-note.cjs +1 -0
- package/dist/actions/cancel-cheque-with-note.cjs.map +1 -1
- package/dist/actions/cancel-cheque-with-note.d.cts +3 -4
- package/dist/actions/cancel-cheque-with-note.d.cts.map +1 -1
- package/dist/actions/cancel-cheque-with-note.d.mts +3 -4
- package/dist/actions/cancel-cheque-with-note.d.mts.map +1 -1
- package/dist/actions/cancel-cheque-with-note.mjs +1 -0
- package/dist/actions/cancel-cheque-with-note.mjs.map +1 -1
- package/dist/actions/cancel-cheque.cjs +1 -0
- package/dist/actions/cancel-cheque.cjs.map +1 -1
- package/dist/actions/cancel-cheque.d.cts +3 -3
- package/dist/actions/cancel-cheque.d.cts.map +1 -1
- package/dist/actions/cancel-cheque.d.mts +3 -3
- package/dist/actions/cancel-cheque.d.mts.map +1 -1
- package/dist/actions/cancel-cheque.mjs +1 -0
- package/dist/actions/cancel-cheque.mjs.map +1 -1
- package/dist/actions/cancel-postcard-with-note.cjs +1 -0
- package/dist/actions/cancel-postcard-with-note.cjs.map +1 -1
- package/dist/actions/cancel-postcard-with-note.d.cts +3 -4
- package/dist/actions/cancel-postcard-with-note.d.cts.map +1 -1
- package/dist/actions/cancel-postcard-with-note.d.mts +3 -4
- package/dist/actions/cancel-postcard-with-note.d.mts.map +1 -1
- package/dist/actions/cancel-postcard-with-note.mjs +1 -0
- package/dist/actions/cancel-postcard-with-note.mjs.map +1 -1
- package/dist/actions/cancel-postcard.cjs +1 -0
- package/dist/actions/cancel-postcard.cjs.map +1 -1
- package/dist/actions/cancel-postcard.d.cts +3 -3
- package/dist/actions/cancel-postcard.d.cts.map +1 -1
- package/dist/actions/cancel-postcard.d.mts +3 -3
- package/dist/actions/cancel-postcard.d.mts.map +1 -1
- package/dist/actions/cancel-postcard.mjs +1 -0
- package/dist/actions/cancel-postcard.mjs.map +1 -1
- package/dist/actions/cancel-return-envelope-order.cjs +1 -0
- package/dist/actions/cancel-return-envelope-order.cjs.map +1 -1
- package/dist/actions/cancel-return-envelope-order.d.cts +3 -4
- package/dist/actions/cancel-return-envelope-order.d.cts.map +1 -1
- package/dist/actions/cancel-return-envelope-order.d.mts +3 -4
- package/dist/actions/cancel-return-envelope-order.d.mts.map +1 -1
- package/dist/actions/cancel-return-envelope-order.mjs +1 -0
- package/dist/actions/cancel-return-envelope-order.mjs.map +1 -1
- package/dist/actions/create-bank-account.cjs +1 -0
- package/dist/actions/create-bank-account.cjs.map +1 -1
- package/dist/actions/create-bank-account.d.cts +3 -12
- package/dist/actions/create-bank-account.d.cts.map +1 -1
- package/dist/actions/create-bank-account.d.mts +3 -12
- package/dist/actions/create-bank-account.d.mts.map +1 -1
- package/dist/actions/create-bank-account.mjs +1 -0
- package/dist/actions/create-bank-account.mjs.map +1 -1
- package/dist/actions/create-box.cjs +1 -0
- package/dist/actions/create-box.cjs.map +1 -1
- package/dist/actions/create-box.d.cts +3 -57
- package/dist/actions/create-box.d.cts.map +1 -1
- package/dist/actions/create-box.d.mts +3 -57
- package/dist/actions/create-box.d.mts.map +1 -1
- package/dist/actions/create-box.mjs +1 -0
- package/dist/actions/create-box.mjs.map +1 -1
- package/dist/actions/create-cheque.cjs +1 -0
- package/dist/actions/create-cheque.cjs.map +1 -1
- package/dist/actions/create-cheque.d.cts +3 -33
- package/dist/actions/create-cheque.d.cts.map +1 -1
- package/dist/actions/create-cheque.d.mts +3 -33
- package/dist/actions/create-cheque.d.mts.map +1 -1
- package/dist/actions/create-cheque.mjs +1 -0
- package/dist/actions/create-cheque.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -0
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +3 -14
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +3 -14
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +1 -0
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-letter.cjs +1 -0
- package/dist/actions/create-letter.cjs.map +1 -1
- package/dist/actions/create-letter.d.cts +3 -32
- package/dist/actions/create-letter.d.cts.map +1 -1
- package/dist/actions/create-letter.d.mts +3 -32
- package/dist/actions/create-letter.d.mts.map +1 -1
- package/dist/actions/create-letter.mjs +1 -0
- package/dist/actions/create-letter.mjs.map +1 -1
- package/dist/actions/create-postcard.cjs +1 -0
- package/dist/actions/create-postcard.cjs.map +1 -1
- package/dist/actions/create-postcard.d.cts +3 -34
- package/dist/actions/create-postcard.d.cts.map +1 -1
- package/dist/actions/create-postcard.d.mts +3 -34
- package/dist/actions/create-postcard.d.mts.map +1 -1
- package/dist/actions/create-postcard.mjs +1 -0
- package/dist/actions/create-postcard.mjs.map +1 -1
- package/dist/actions/create-return-envelope-order.cjs +1 -0
- package/dist/actions/create-return-envelope-order.cjs.map +1 -1
- package/dist/actions/create-return-envelope-order.d.cts +3 -4
- package/dist/actions/create-return-envelope-order.d.cts.map +1 -1
- package/dist/actions/create-return-envelope-order.d.mts +3 -4
- package/dist/actions/create-return-envelope-order.d.mts.map +1 -1
- package/dist/actions/create-return-envelope-order.mjs +1 -0
- package/dist/actions/create-return-envelope-order.mjs.map +1 -1
- package/dist/actions/create-return-envelope.cjs +1 -0
- package/dist/actions/create-return-envelope.cjs.map +1 -1
- package/dist/actions/create-return-envelope.d.cts +3 -13
- package/dist/actions/create-return-envelope.d.cts.map +1 -1
- package/dist/actions/create-return-envelope.d.mts +3 -13
- package/dist/actions/create-return-envelope.d.mts.map +1 -1
- package/dist/actions/create-return-envelope.mjs +1 -0
- package/dist/actions/create-return-envelope.mjs.map +1 -1
- package/dist/actions/create-template-editor-session.cjs +1 -0
- package/dist/actions/create-template-editor-session.cjs.map +1 -1
- package/dist/actions/create-template-editor-session.d.cts +3 -3
- package/dist/actions/create-template-editor-session.d.cts.map +1 -1
- package/dist/actions/create-template-editor-session.d.mts +3 -3
- package/dist/actions/create-template-editor-session.d.mts.map +1 -1
- package/dist/actions/create-template-editor-session.mjs +1 -0
- package/dist/actions/create-template-editor-session.mjs.map +1 -1
- package/dist/actions/create-template.cjs +1 -0
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +3 -6
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +3 -6
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +1 -0
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-tracker.cjs +1 -0
- package/dist/actions/create-tracker.cjs.map +1 -1
- package/dist/actions/create-tracker.d.cts +3 -6
- package/dist/actions/create-tracker.d.cts.map +1 -1
- package/dist/actions/create-tracker.d.mts +3 -6
- package/dist/actions/create-tracker.d.mts.map +1 -1
- package/dist/actions/create-tracker.mjs +1 -0
- package/dist/actions/create-tracker.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -5
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -5
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/delete-bank-account.cjs +1 -0
- package/dist/actions/delete-bank-account.cjs.map +1 -1
- package/dist/actions/delete-bank-account.d.cts +3 -3
- package/dist/actions/delete-bank-account.d.cts.map +1 -1
- package/dist/actions/delete-bank-account.d.mts +3 -3
- package/dist/actions/delete-bank-account.d.mts.map +1 -1
- package/dist/actions/delete-bank-account.mjs +1 -0
- package/dist/actions/delete-bank-account.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -0
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +3 -3
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +3 -3
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -0
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-template-editor-session.cjs +1 -0
- package/dist/actions/delete-template-editor-session.cjs.map +1 -1
- package/dist/actions/delete-template-editor-session.d.cts +3 -3
- package/dist/actions/delete-template-editor-session.d.cts.map +1 -1
- package/dist/actions/delete-template-editor-session.d.mts +3 -3
- package/dist/actions/delete-template-editor-session.d.mts.map +1 -1
- package/dist/actions/delete-template-editor-session.mjs +1 -0
- package/dist/actions/delete-template-editor-session.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -0
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +3 -3
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +3 -3
- package/dist/actions/delete-template.d.mts.map +1 -1
- package/dist/actions/delete-template.mjs +1 -0
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-tracker.cjs +1 -0
- package/dist/actions/delete-tracker.cjs.map +1 -1
- package/dist/actions/delete-tracker.d.cts +3 -3
- package/dist/actions/delete-tracker.d.cts.map +1 -1
- package/dist/actions/delete-tracker.d.mts +3 -3
- package/dist/actions/delete-tracker.d.mts.map +1 -1
- package/dist/actions/delete-tracker.mjs +1 -0
- package/dist/actions/delete-tracker.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -3
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/fill-test-return-envelope-order.cjs +1 -0
- package/dist/actions/fill-test-return-envelope-order.cjs.map +1 -1
- package/dist/actions/fill-test-return-envelope-order.d.cts +3 -4
- package/dist/actions/fill-test-return-envelope-order.d.cts.map +1 -1
- package/dist/actions/fill-test-return-envelope-order.d.mts +3 -4
- package/dist/actions/fill-test-return-envelope-order.d.mts.map +1 -1
- package/dist/actions/fill-test-return-envelope-order.mjs +1 -0
- package/dist/actions/fill-test-return-envelope-order.mjs.map +1 -1
- package/dist/actions/get-bank-account.cjs +1 -0
- package/dist/actions/get-bank-account.cjs.map +1 -1
- package/dist/actions/get-bank-account.d.cts +3 -3
- package/dist/actions/get-bank-account.d.cts.map +1 -1
- package/dist/actions/get-bank-account.d.mts +3 -3
- package/dist/actions/get-bank-account.d.mts.map +1 -1
- package/dist/actions/get-bank-account.mjs +1 -0
- package/dist/actions/get-bank-account.mjs.map +1 -1
- package/dist/actions/get-box.cjs +1 -0
- package/dist/actions/get-box.cjs.map +1 -1
- package/dist/actions/get-box.d.cts +3 -3
- package/dist/actions/get-box.d.cts.map +1 -1
- package/dist/actions/get-box.d.mts +3 -3
- package/dist/actions/get-box.d.mts.map +1 -1
- package/dist/actions/get-box.mjs +1 -0
- package/dist/actions/get-box.mjs.map +1 -1
- package/dist/actions/get-cheque.cjs +1 -0
- package/dist/actions/get-cheque.cjs.map +1 -1
- package/dist/actions/get-cheque.d.cts +3 -4
- package/dist/actions/get-cheque.d.cts.map +1 -1
- package/dist/actions/get-cheque.d.mts +3 -4
- package/dist/actions/get-cheque.d.mts.map +1 -1
- package/dist/actions/get-cheque.mjs +1 -0
- package/dist/actions/get-cheque.mjs.map +1 -1
- package/dist/actions/get-contact.cjs +1 -0
- package/dist/actions/get-contact.cjs.map +1 -1
- package/dist/actions/get-contact.d.cts +3 -3
- package/dist/actions/get-contact.d.cts.map +1 -1
- package/dist/actions/get-contact.d.mts +3 -3
- package/dist/actions/get-contact.d.mts.map +1 -1
- package/dist/actions/get-contact.mjs +1 -0
- package/dist/actions/get-contact.mjs.map +1 -1
- package/dist/actions/get-letter.cjs +1 -0
- package/dist/actions/get-letter.cjs.map +1 -1
- package/dist/actions/get-letter.d.cts +3 -3
- package/dist/actions/get-letter.d.cts.map +1 -1
- package/dist/actions/get-letter.d.mts +3 -3
- package/dist/actions/get-letter.d.mts.map +1 -1
- package/dist/actions/get-letter.mjs +1 -0
- package/dist/actions/get-letter.mjs.map +1 -1
- package/dist/actions/get-postcard.cjs +1 -0
- package/dist/actions/get-postcard.cjs.map +1 -1
- package/dist/actions/get-postcard.d.cts +3 -3
- package/dist/actions/get-postcard.d.cts.map +1 -1
- package/dist/actions/get-postcard.d.mts +3 -3
- package/dist/actions/get-postcard.d.mts.map +1 -1
- package/dist/actions/get-postcard.mjs +1 -0
- package/dist/actions/get-postcard.mjs.map +1 -1
- package/dist/actions/get-return-envelope-order.cjs +1 -0
- package/dist/actions/get-return-envelope-order.cjs.map +1 -1
- package/dist/actions/get-return-envelope-order.d.cts +3 -4
- package/dist/actions/get-return-envelope-order.d.cts.map +1 -1
- package/dist/actions/get-return-envelope-order.d.mts +3 -4
- package/dist/actions/get-return-envelope-order.d.mts.map +1 -1
- package/dist/actions/get-return-envelope-order.mjs +1 -0
- package/dist/actions/get-return-envelope-order.mjs.map +1 -1
- package/dist/actions/get-return-envelope.cjs +1 -0
- package/dist/actions/get-return-envelope.cjs.map +1 -1
- package/dist/actions/get-return-envelope.d.cts +3 -3
- package/dist/actions/get-return-envelope.d.cts.map +1 -1
- package/dist/actions/get-return-envelope.d.mts +3 -3
- package/dist/actions/get-return-envelope.d.mts.map +1 -1
- package/dist/actions/get-return-envelope.mjs +1 -0
- package/dist/actions/get-return-envelope.mjs.map +1 -1
- package/dist/actions/get-template.cjs +1 -0
- package/dist/actions/get-template.cjs.map +1 -1
- package/dist/actions/get-template.d.cts +3 -3
- package/dist/actions/get-template.d.cts.map +1 -1
- package/dist/actions/get-template.d.mts +3 -3
- package/dist/actions/get-template.d.mts.map +1 -1
- package/dist/actions/get-template.mjs +1 -0
- package/dist/actions/get-template.mjs.map +1 -1
- package/dist/actions/get-tracker.cjs +1 -0
- package/dist/actions/get-tracker.cjs.map +1 -1
- package/dist/actions/get-tracker.d.cts +3 -3
- package/dist/actions/get-tracker.d.cts.map +1 -1
- package/dist/actions/get-tracker.d.mts +3 -3
- package/dist/actions/get-tracker.d.mts.map +1 -1
- package/dist/actions/get-tracker.mjs +1 -0
- package/dist/actions/get-tracker.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -0
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +3 -3
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +3 -3
- package/dist/actions/get-webhook.d.mts.map +1 -1
- package/dist/actions/get-webhook.mjs +1 -0
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-bank-accounts.cjs +1 -0
- package/dist/actions/list-bank-accounts.cjs.map +1 -1
- package/dist/actions/list-bank-accounts.d.cts +3 -4
- package/dist/actions/list-bank-accounts.d.cts.map +1 -1
- package/dist/actions/list-bank-accounts.d.mts +3 -4
- package/dist/actions/list-bank-accounts.d.mts.map +1 -1
- package/dist/actions/list-bank-accounts.mjs +1 -0
- package/dist/actions/list-bank-accounts.mjs.map +1 -1
- package/dist/actions/list-boxes.cjs +1 -0
- package/dist/actions/list-boxes.cjs.map +1 -1
- package/dist/actions/list-boxes.d.cts +3 -4
- package/dist/actions/list-boxes.d.cts.map +1 -1
- package/dist/actions/list-boxes.d.mts +3 -4
- package/dist/actions/list-boxes.d.mts.map +1 -1
- package/dist/actions/list-boxes.mjs +1 -0
- package/dist/actions/list-boxes.mjs.map +1 -1
- package/dist/actions/list-cheques.cjs +1 -0
- package/dist/actions/list-cheques.cjs.map +1 -1
- package/dist/actions/list-cheques.d.cts +4 -8
- package/dist/actions/list-cheques.d.cts.map +1 -1
- package/dist/actions/list-cheques.d.mts +4 -8
- package/dist/actions/list-cheques.d.mts.map +1 -1
- package/dist/actions/list-cheques.mjs +1 -0
- package/dist/actions/list-cheques.mjs.map +1 -1
- package/dist/actions/list-contacts.cjs +1 -0
- package/dist/actions/list-contacts.cjs.map +1 -1
- package/dist/actions/list-contacts.d.cts +3 -5
- package/dist/actions/list-contacts.d.cts.map +1 -1
- package/dist/actions/list-contacts.d.mts +3 -5
- package/dist/actions/list-contacts.d.mts.map +1 -1
- package/dist/actions/list-contacts.mjs +1 -0
- package/dist/actions/list-contacts.mjs.map +1 -1
- package/dist/actions/list-events.cjs +1 -0
- package/dist/actions/list-events.cjs.map +1 -1
- package/dist/actions/list-events.d.cts +3 -4
- package/dist/actions/list-events.d.cts.map +1 -1
- package/dist/actions/list-events.d.mts +3 -4
- package/dist/actions/list-events.d.mts.map +1 -1
- package/dist/actions/list-events.mjs +1 -0
- package/dist/actions/list-events.mjs.map +1 -1
- package/dist/actions/list-letters.cjs +1 -0
- package/dist/actions/list-letters.cjs.map +1 -1
- package/dist/actions/list-letters.d.cts +4 -9
- package/dist/actions/list-letters.d.cts.map +1 -1
- package/dist/actions/list-letters.d.mts +4 -9
- package/dist/actions/list-letters.d.mts.map +1 -1
- package/dist/actions/list-letters.mjs +1 -0
- package/dist/actions/list-letters.mjs.map +1 -1
- package/dist/actions/list-postal-statements.cjs +1 -0
- package/dist/actions/list-postal-statements.cjs.map +1 -1
- package/dist/actions/list-postal-statements.d.cts +3 -5
- package/dist/actions/list-postal-statements.d.cts.map +1 -1
- package/dist/actions/list-postal-statements.d.mts +3 -5
- package/dist/actions/list-postal-statements.d.mts.map +1 -1
- package/dist/actions/list-postal-statements.mjs +1 -0
- package/dist/actions/list-postal-statements.mjs.map +1 -1
- package/dist/actions/list-postcards.cjs +1 -0
- package/dist/actions/list-postcards.cjs.map +1 -1
- package/dist/actions/list-postcards.d.cts +5 -11
- package/dist/actions/list-postcards.d.cts.map +1 -1
- package/dist/actions/list-postcards.d.mts +5 -11
- package/dist/actions/list-postcards.d.mts.map +1 -1
- package/dist/actions/list-postcards.mjs +1 -0
- package/dist/actions/list-postcards.mjs.map +1 -1
- package/dist/actions/list-return-envelope-orders.cjs +1 -0
- package/dist/actions/list-return-envelope-orders.cjs.map +1 -1
- package/dist/actions/list-return-envelope-orders.d.cts +3 -5
- package/dist/actions/list-return-envelope-orders.d.cts.map +1 -1
- package/dist/actions/list-return-envelope-orders.d.mts +3 -5
- package/dist/actions/list-return-envelope-orders.d.mts.map +1 -1
- package/dist/actions/list-return-envelope-orders.mjs +1 -0
- package/dist/actions/list-return-envelope-orders.mjs.map +1 -1
- package/dist/actions/list-return-envelopes.cjs +1 -0
- package/dist/actions/list-return-envelopes.cjs.map +1 -1
- package/dist/actions/list-return-envelopes.d.cts +3 -4
- package/dist/actions/list-return-envelopes.d.cts.map +1 -1
- package/dist/actions/list-return-envelopes.d.mts +3 -4
- package/dist/actions/list-return-envelopes.d.mts.map +1 -1
- package/dist/actions/list-return-envelopes.mjs +1 -0
- package/dist/actions/list-return-envelopes.mjs.map +1 -1
- package/dist/actions/list-self-mailers.cjs +1 -0
- package/dist/actions/list-self-mailers.cjs.map +1 -1
- package/dist/actions/list-self-mailers.d.cts +3 -8
- package/dist/actions/list-self-mailers.d.cts.map +1 -1
- package/dist/actions/list-self-mailers.d.mts +3 -8
- package/dist/actions/list-self-mailers.d.mts.map +1 -1
- package/dist/actions/list-self-mailers.mjs +1 -0
- package/dist/actions/list-self-mailers.mjs.map +1 -1
- package/dist/actions/list-sub-organizations.cjs +1 -0
- package/dist/actions/list-sub-organizations.cjs.map +1 -1
- package/dist/actions/list-sub-organizations.d.cts +3 -5
- package/dist/actions/list-sub-organizations.d.cts.map +1 -1
- package/dist/actions/list-sub-organizations.d.mts +3 -5
- package/dist/actions/list-sub-organizations.d.mts.map +1 -1
- package/dist/actions/list-sub-organizations.mjs +1 -0
- package/dist/actions/list-sub-organizations.mjs.map +1 -1
- package/dist/actions/list-template-editor-sessions.cjs +1 -0
- package/dist/actions/list-template-editor-sessions.cjs.map +1 -1
- package/dist/actions/list-template-editor-sessions.d.cts +3 -4
- package/dist/actions/list-template-editor-sessions.d.cts.map +1 -1
- package/dist/actions/list-template-editor-sessions.d.mts +3 -4
- package/dist/actions/list-template-editor-sessions.d.mts.map +1 -1
- package/dist/actions/list-template-editor-sessions.mjs +1 -0
- package/dist/actions/list-template-editor-sessions.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +1 -0
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +3 -4
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -4
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +1 -0
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-tracker-visits.cjs +1 -0
- package/dist/actions/list-tracker-visits.cjs.map +1 -1
- package/dist/actions/list-tracker-visits.d.cts +3 -5
- package/dist/actions/list-tracker-visits.d.cts.map +1 -1
- package/dist/actions/list-tracker-visits.d.mts +3 -5
- package/dist/actions/list-tracker-visits.d.mts.map +1 -1
- package/dist/actions/list-tracker-visits.mjs +1 -0
- package/dist/actions/list-tracker-visits.mjs.map +1 -1
- package/dist/actions/list-trackers.cjs +1 -0
- package/dist/actions/list-trackers.cjs.map +1 -1
- package/dist/actions/list-trackers.d.cts +3 -4
- package/dist/actions/list-trackers.d.cts.map +1 -1
- package/dist/actions/list-trackers.d.mts +3 -4
- package/dist/actions/list-trackers.d.mts.map +1 -1
- package/dist/actions/list-trackers.mjs +1 -0
- package/dist/actions/list-trackers.mjs.map +1 -1
- package/dist/actions/list-webhook-invocations.cjs +1 -0
- package/dist/actions/list-webhook-invocations.cjs.map +1 -1
- package/dist/actions/list-webhook-invocations.d.cts +3 -5
- package/dist/actions/list-webhook-invocations.d.cts.map +1 -1
- package/dist/actions/list-webhook-invocations.d.mts +3 -5
- package/dist/actions/list-webhook-invocations.d.mts.map +1 -1
- package/dist/actions/list-webhook-invocations.mjs +1 -0
- package/dist/actions/list-webhook-invocations.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -4
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -4
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/progress-test-box.cjs +1 -0
- package/dist/actions/progress-test-box.cjs.map +1 -1
- package/dist/actions/progress-test-box.d.cts +3 -3
- package/dist/actions/progress-test-box.d.cts.map +1 -1
- package/dist/actions/progress-test-box.d.mts +3 -3
- package/dist/actions/progress-test-box.d.mts.map +1 -1
- package/dist/actions/progress-test-box.mjs +1 -0
- package/dist/actions/progress-test-box.mjs.map +1 -1
- package/dist/actions/progress-test-cheque.cjs +1 -0
- package/dist/actions/progress-test-cheque.cjs.map +1 -1
- package/dist/actions/progress-test-cheque.d.cts +3 -3
- package/dist/actions/progress-test-cheque.d.cts.map +1 -1
- package/dist/actions/progress-test-cheque.d.mts +3 -3
- package/dist/actions/progress-test-cheque.d.mts.map +1 -1
- package/dist/actions/progress-test-cheque.mjs +1 -0
- package/dist/actions/progress-test-cheque.mjs.map +1 -1
- package/dist/actions/progress-test-postcard.cjs +1 -0
- package/dist/actions/progress-test-postcard.cjs.map +1 -1
- package/dist/actions/progress-test-postcard.d.cts +3 -3
- package/dist/actions/progress-test-postcard.d.cts.map +1 -1
- package/dist/actions/progress-test-postcard.d.mts +3 -3
- package/dist/actions/progress-test-postcard.d.mts.map +1 -1
- package/dist/actions/progress-test-postcard.mjs +1 -0
- package/dist/actions/progress-test-postcard.mjs.map +1 -1
- package/dist/actions/update-template.cjs +1 -0
- package/dist/actions/update-template.cjs.map +1 -1
- package/dist/actions/update-template.d.cts +3 -6
- package/dist/actions/update-template.d.cts.map +1 -1
- package/dist/actions/update-template.d.mts +3 -6
- package/dist/actions/update-template.d.mts.map +1 -1
- package/dist/actions/update-template.mjs +1 -0
- package/dist/actions/update-template.mjs.map +1 -1
- package/dist/actions/update-tracker.cjs +1 -0
- package/dist/actions/update-tracker.cjs.map +1 -1
- package/dist/actions/update-tracker.d.cts +3 -5
- package/dist/actions/update-tracker.d.cts.map +1 -1
- package/dist/actions/update-tracker.d.mts +3 -5
- package/dist/actions/update-tracker.d.mts.map +1 -1
- package/dist/actions/update-tracker.mjs +1 -0
- package/dist/actions/update-tracker.mjs.map +1 -1
- package/dist/actions/update-webhook.cjs +1 -0
- package/dist/actions/update-webhook.cjs.map +1 -1
- package/dist/actions/update-webhook.d.cts +3 -7
- package/dist/actions/update-webhook.d.cts.map +1 -1
- package/dist/actions/update-webhook.d.mts +3 -7
- package/dist/actions/update-webhook.d.mts.map +1 -1
- package/dist/actions/update-webhook.mjs +1 -0
- package/dist/actions/update-webhook.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postgrid } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-cheque.d.ts
|
|
@@ -68,10 +70,7 @@ declare const PostgridGetChequeOutput: z.ZodObject<{
|
|
|
68
70
|
mailingClass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
71
|
carrierTracking: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
70
72
|
}, z.core.$loose>;
|
|
71
|
-
declare const postgridGetCheque:
|
|
72
|
-
id: string;
|
|
73
|
-
expand?: string[] | undefined;
|
|
74
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
73
|
+
declare const postgridGetCheque: AppAction<typeof PostgridGetChequeInput, typeof PostgridGetChequeOutput, typeof postgrid.credential>;
|
|
75
74
|
//#endregion
|
|
76
75
|
export { postgridGetCheque };
|
|
77
76
|
//# sourceMappingURL=get-cheque.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-cheque.d.mts","names":[],"sources":["../../src/actions/get-cheque.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-cheque.d.mts","names":[],"sources":["../../src/actions/get-cheque.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAgCtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyBvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-cheque.mjs","names":[],"sources":["../../src/actions/get-cheque.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridGetChequeInput = z.object({\n id: z.string().describe(\"Unique identifier of the cheque to retrieve (starts with 'cheque_')\"),\n expand: z.array(z.string()).describe(\"Array of nested resources to expand (e.g., ['bankAccount', 'template']). When expanded, the response will include full objects instead of just IDs.\").optional(),\n}).describe(\"Request schema for retrieving a specific cheque by ID.\");\nconst PostgridGetCheque_ContactInfoSchema = z.object({\n id: z.string().describe(\"Contact ID if available\").nullable().optional(),\n city: z.string().describe(\"City\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n lastName: z.string().describe(\"Last name\").nullable().optional(),\n firstName: z.string().describe(\"First name\").nullable().optional(),\n companyName: z.string().describe(\"Company name\").nullable().optional(),\n countryCode: z.string().describe(\"ISO country code\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n addressLine1: z.string().describe(\"First line of the address\").nullable().optional(),\n addressLine2: z.string().describe(\"Second line of the address\").nullable().optional(),\n addressStatus: z.string().describe(\"Address verification status\").nullable().optional(),\n provinceOrState: z.string().describe(\"Province or state\").nullable().optional(),\n}).passthrough().describe(\"Contact information for sender or recipient.\");\nconst PostgridGetCheque_BankAccountExpandedSchema = z.object({\n id: z.string().describe(\"Bank account ID\").nullable(),\n live: z.boolean().describe(\"Whether this is a live or test account\").nullable().optional(),\n object: z.string().describe(\"Object type, should be 'bank_account'\").nullable(),\n bankName: z.string().describe(\"Name of the bank\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the account was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the account was last updated\").nullable().optional(),\n routingNumber: z.string().describe(\"Bank routing number\").nullable().optional(),\n signatureText: z.string().describe(\"Signature text on the account\").nullable().optional(),\n signatureImage: z.string().describe(\"URL of signature image\").nullable().optional(),\n bankCountryCode: z.string().describe(\"Bank country ISO code\").nullable().optional(),\n accountNumberLast4: z.string().describe(\"Last 4 digits of bank account number\").nullable().optional(),\n accountNumberAndIDSHA256: z.string().describe(\"SHA256 hash of account number and ID\").nullable().optional(),\n}).passthrough().describe(\"Full bank account object when expanded.\");\nexport const PostgridGetChequeOutput = z.object({\n id: z.string().describe(\"Cheque ID starting with 'cheque_'\").nullable(),\n to: PostgridGetCheque_ContactInfoSchema.nullable().optional(),\n url: z.string().describe(\"URL to PDF preview\").nullable().optional(),\n from: PostgridGetCheque_ContactInfoSchema.nullable().optional(),\n live: z.boolean().describe(\"Whether this is a live or test cheque\").nullable().optional(),\n memo: z.string().describe(\"Memo line on the cheque\").nullable().optional(),\n size: z.string().describe(\"Paper size (e.g., 'us_letter')\").nullable().optional(),\n amount: z.number().describe(\"Cheque amount in cents\").nullable().optional(),\n number: z.number().int().describe(\"Cheque number\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'cheque'\").nullable(),\n status: z.string().describe(\"Cheque status (e.g., 'ready')\").nullable().optional(),\n envelope: z.string().describe(\"Envelope type\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata\").nullable().optional(),\n sendDate: z.string().describe(\"ISO 8601 timestamp for send date\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp for creation\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages in the cheque document\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp for last update\").nullable().optional(),\n bankAccount: z.union([z.string(), PostgridGetCheque_BankAccountExpandedSchema]).nullable().optional(),\n description: z.string().describe(\"Cheque description\").nullable().optional(),\n currencyCode: z.string().describe(\"Currency code (e.g., 'USD')\").nullable().optional(),\n mailingClass: z.string().describe(\"Mailing class (e.g., 'first_class')\").nullable().optional(),\n carrierTracking: z.unknown().describe(\"Carrier tracking information\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving a cheque.\");\n\nexport const postgridGetCheque = action(\"POSTGRID_GET_CHEQUE\", {\n slug: \"postgrid-get-cheque\",\n name: \"Get Cheque\",\n description: \"Tool to retrieve a specific cheque by ID. Use when you need to fetch details of a specific cheque order.\",\n input: PostgridGetChequeInput,\n output: PostgridGetChequeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-cheque.mjs","names":[],"sources":["../../src/actions/get-cheque.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postgrid } from \"../app\";\n\nexport const PostgridGetChequeInput = z.object({\n id: z.string().describe(\"Unique identifier of the cheque to retrieve (starts with 'cheque_')\"),\n expand: z.array(z.string()).describe(\"Array of nested resources to expand (e.g., ['bankAccount', 'template']). When expanded, the response will include full objects instead of just IDs.\").optional(),\n}).describe(\"Request schema for retrieving a specific cheque by ID.\");\nconst PostgridGetCheque_ContactInfoSchema = z.object({\n id: z.string().describe(\"Contact ID if available\").nullable().optional(),\n city: z.string().describe(\"City\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n lastName: z.string().describe(\"Last name\").nullable().optional(),\n firstName: z.string().describe(\"First name\").nullable().optional(),\n companyName: z.string().describe(\"Company name\").nullable().optional(),\n countryCode: z.string().describe(\"ISO country code\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n addressLine1: z.string().describe(\"First line of the address\").nullable().optional(),\n addressLine2: z.string().describe(\"Second line of the address\").nullable().optional(),\n addressStatus: z.string().describe(\"Address verification status\").nullable().optional(),\n provinceOrState: z.string().describe(\"Province or state\").nullable().optional(),\n}).passthrough().describe(\"Contact information for sender or recipient.\");\nconst PostgridGetCheque_BankAccountExpandedSchema = z.object({\n id: z.string().describe(\"Bank account ID\").nullable(),\n live: z.boolean().describe(\"Whether this is a live or test account\").nullable().optional(),\n object: z.string().describe(\"Object type, should be 'bank_account'\").nullable(),\n bankName: z.string().describe(\"Name of the bank\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the account was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the account was last updated\").nullable().optional(),\n routingNumber: z.string().describe(\"Bank routing number\").nullable().optional(),\n signatureText: z.string().describe(\"Signature text on the account\").nullable().optional(),\n signatureImage: z.string().describe(\"URL of signature image\").nullable().optional(),\n bankCountryCode: z.string().describe(\"Bank country ISO code\").nullable().optional(),\n accountNumberLast4: z.string().describe(\"Last 4 digits of bank account number\").nullable().optional(),\n accountNumberAndIDSHA256: z.string().describe(\"SHA256 hash of account number and ID\").nullable().optional(),\n}).passthrough().describe(\"Full bank account object when expanded.\");\nexport const PostgridGetChequeOutput = z.object({\n id: z.string().describe(\"Cheque ID starting with 'cheque_'\").nullable(),\n to: PostgridGetCheque_ContactInfoSchema.nullable().optional(),\n url: z.string().describe(\"URL to PDF preview\").nullable().optional(),\n from: PostgridGetCheque_ContactInfoSchema.nullable().optional(),\n live: z.boolean().describe(\"Whether this is a live or test cheque\").nullable().optional(),\n memo: z.string().describe(\"Memo line on the cheque\").nullable().optional(),\n size: z.string().describe(\"Paper size (e.g., 'us_letter')\").nullable().optional(),\n amount: z.number().describe(\"Cheque amount in cents\").nullable().optional(),\n number: z.number().int().describe(\"Cheque number\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'cheque'\").nullable(),\n status: z.string().describe(\"Cheque status (e.g., 'ready')\").nullable().optional(),\n envelope: z.string().describe(\"Envelope type\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata\").nullable().optional(),\n sendDate: z.string().describe(\"ISO 8601 timestamp for send date\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp for creation\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages in the cheque document\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp for last update\").nullable().optional(),\n bankAccount: z.union([z.string(), PostgridGetCheque_BankAccountExpandedSchema]).nullable().optional(),\n description: z.string().describe(\"Cheque description\").nullable().optional(),\n currencyCode: z.string().describe(\"Currency code (e.g., 'USD')\").nullable().optional(),\n mailingClass: z.string().describe(\"Mailing class (e.g., 'first_class')\").nullable().optional(),\n carrierTracking: z.unknown().describe(\"Carrier tracking information\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving a cheque.\");\n\nexport const postgridGetCheque: AppAction<\n typeof PostgridGetChequeInput,\n typeof PostgridGetChequeOutput,\n typeof postgrid.credential\n> = action(\"POSTGRID_GET_CHEQUE\", {\n slug: \"postgrid-get-cheque\",\n name: \"Get Cheque\",\n description: \"Tool to retrieve a specific cheque by ID. Use when you need to fetch details of a specific cheque order.\",\n input: PostgridGetChequeInput,\n output: PostgridGetChequeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CAC7F,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;AACvM,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAc,E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;EACnE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,2CAA2C,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridGetContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to retrieve\"),\n}).describe(\"Request schema for retrieving a contact.\");\nexport const PostgridGetContactOutput = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n city: z.string().describe(\"City of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact, if provided\").nullable().optional(),\n country: z.string().describe(\"Country of the contact\").nullable(),\n lastName: z.string().describe(\"Last name of the contact\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata assigned to the contact\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp of the contact record\").nullable(),\n firstName: z.string().describe(\"First name of the contact\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp of the contact record\").nullable(),\n companyName: z.string().describe(\"Company name of the contact, if provided\").nullable().optional(),\n phoneNumber: z.string().describe(\"Phone number of the contact, if provided\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code of the contact\").nullable(),\n addressLine1: z.string().describe(\"Address line 1 of the contact\").nullable(),\n addressLine2: z.string().describe(\"Address line 2 of the contact, if provided\").nullable().optional(),\n provinceOrState: z.string().describe(\"Province or state of the contact\").nullable(),\n}).passthrough();\n\nexport const postgridGetContact = action(\"POSTGRID_GET_CONTACT\", {\n slug: \"postgrid-get-contact\",\n name: \"Get Contact\",\n description: \"Tool to retrieve a contact. Use after obtaining the contact ID to fetch its details.\",\n input: PostgridGetContactInput,\n output: PostgridGetContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postgrid } from \"../app\";\n\nexport const PostgridGetContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to retrieve\"),\n}).describe(\"Request schema for retrieving a contact.\");\nexport const PostgridGetContactOutput = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n city: z.string().describe(\"City of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact, if provided\").nullable().optional(),\n country: z.string().describe(\"Country of the contact\").nullable(),\n lastName: z.string().describe(\"Last name of the contact\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata assigned to the contact\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp of the contact record\").nullable(),\n firstName: z.string().describe(\"First name of the contact\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp of the contact record\").nullable(),\n companyName: z.string().describe(\"Company name of the contact, if provided\").nullable().optional(),\n phoneNumber: z.string().describe(\"Phone number of the contact, if provided\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code of the contact\").nullable(),\n addressLine1: z.string().describe(\"Address line 1 of the contact\").nullable(),\n addressLine2: z.string().describe(\"Address line 2 of the contact, if provided\").nullable().optional(),\n provinceOrState: z.string().describe(\"Province or state of the contact\").nullable(),\n}).passthrough();\n\nexport const postgridGetContact: AppAction<\n typeof PostgridGetContactInput,\n typeof PostgridGetContactOutput,\n typeof postgrid.credential\n> = action(\"POSTGRID_GET_CONTACT\", {\n slug: \"postgrid-get-contact\",\n name: \"Get Contact\",\n description: \"Tool to retrieve a contact. Use after obtaining the contact ID to fetch its details.\",\n input: PostgridGetContactInput,\n output: PostgridGetContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACxE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,SAASA,IAA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cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-contact.d.ts
|
|
@@ -21,9 +23,7 @@ declare const PostgridGetContactOutput: z.ZodObject<{
|
|
|
21
23
|
addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
provinceOrState: z.ZodNullable<z.ZodString>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const postgridGetContact:
|
|
25
|
-
id: string;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const postgridGetContact: AppAction<typeof PostgridGetContactInput, typeof PostgridGetContactOutput, typeof postgrid.credential>;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { postgridGetContact };
|
|
29
29
|
//# sourceMappingURL=get-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact.d.cts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-contact.d.cts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkBxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postgrid } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-contact.d.ts
|
|
@@ -21,9 +23,7 @@ declare const PostgridGetContactOutput: z.ZodObject<{
|
|
|
21
23
|
addressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
provinceOrState: z.ZodNullable<z.ZodString>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const postgridGetContact:
|
|
25
|
-
id: string;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const postgridGetContact: AppAction<typeof PostgridGetContactInput, typeof PostgridGetContactOutput, typeof postgrid.credential>;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { postgridGetContact };
|
|
29
29
|
//# sourceMappingURL=get-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact.d.mts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-contact.d.mts","names":[],"sources":["../../src/actions/get-contact.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkBxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact.mjs","names":[],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridGetContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to retrieve\"),\n}).describe(\"Request schema for retrieving a contact.\");\nexport const PostgridGetContactOutput = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n city: z.string().describe(\"City of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact, if provided\").nullable().optional(),\n country: z.string().describe(\"Country of the contact\").nullable(),\n lastName: z.string().describe(\"Last name of the contact\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata assigned to the contact\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp of the contact record\").nullable(),\n firstName: z.string().describe(\"First name of the contact\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp of the contact record\").nullable(),\n companyName: z.string().describe(\"Company name of the contact, if provided\").nullable().optional(),\n phoneNumber: z.string().describe(\"Phone number of the contact, if provided\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code of the contact\").nullable(),\n addressLine1: z.string().describe(\"Address line 1 of the contact\").nullable(),\n addressLine2: z.string().describe(\"Address line 2 of the contact, if provided\").nullable().optional(),\n provinceOrState: z.string().describe(\"Province or state of the contact\").nullable(),\n}).passthrough();\n\nexport const postgridGetContact = action(\"POSTGRID_GET_CONTACT\", {\n slug: \"postgrid-get-contact\",\n name: \"Get Contact\",\n description: \"Tool to retrieve a contact. Use after obtaining the contact ID to fetch its details.\",\n input: PostgridGetContactInput,\n output: PostgridGetContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-contact.mjs","names":[],"sources":["../../src/actions/get-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postgrid } from \"../app\";\n\nexport const PostgridGetContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to retrieve\"),\n}).describe(\"Request schema for retrieving a contact.\");\nexport const PostgridGetContactOutput = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n city: z.string().describe(\"City of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact, if provided\").nullable().optional(),\n country: z.string().describe(\"Country of the contact\").nullable(),\n lastName: z.string().describe(\"Last name of the contact\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata assigned to the contact\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp of the contact record\").nullable(),\n firstName: z.string().describe(\"First name of the contact\").nullable(),\n updatedAt: z.string().describe(\"Last update timestamp of the contact record\").nullable(),\n companyName: z.string().describe(\"Company name of the contact, if provided\").nullable().optional(),\n phoneNumber: z.string().describe(\"Phone number of the contact, if provided\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code of the contact\").nullable(),\n addressLine1: z.string().describe(\"Address line 1 of the contact\").nullable(),\n addressLine2: z.string().describe(\"Address line 2 of the contact, if provided\").nullable().optional(),\n provinceOrState: z.string().describe(\"Province or state of the contact\").nullable(),\n}).passthrough();\n\nexport const postgridGetContact: AppAction<\n typeof PostgridGetContactInput,\n typeof PostgridGetContactOutput,\n typeof postgrid.credential\n> = action(\"POSTGRID_GET_CONTACT\", {\n slug: \"postgrid-get-contact\",\n name: \"Get Contact\",\n description: \"Tool to retrieve a contact. Use after obtaining the contact ID to fetch its details.\",\n input: PostgridGetContactInput,\n output: PostgridGetContactOutput,\n});\n"],"mappings":";;;AA2BA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7BqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,EACxE,CAAC,CAAC,CAAC,SAAS,0CA2BH;CACP,QA3BsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACnE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-letter.cjs","names":["z","action"],"sources":["../../src/actions/get-letter.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridGetLetterInput = z.object({\n id: z.string().describe(\"Unique identifier of the letter to retrieve\"),\n}).describe(\"Request schema for retrieving a letter.\");\nconst PostgridGetLetter_AddressSchema = z.object({\n id: z.string().describe(\"Contact ID if referencing an existing contact\").nullable().optional(),\n city: z.string().describe(\"City of the address\").nullable().optional(),\n country: z.string().describe(\"Country of the address\").nullable().optional(),\n lastName: z.string().describe(\"Last name of recipient/sender\").nullable().optional(),\n firstName: z.string().describe(\"First name of recipient/sender\").nullable().optional(),\n companyName: z.string().describe(\"Company name\").nullable().optional(),\n countryCode: z.string().describe(\"Country code\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code of the address\").nullable().optional(),\n addressLine1: z.string().describe(\"First line of the address\").nullable().optional(),\n addressLine2: z.string().describe(\"Second line of the address\").nullable().optional(),\n addressStatus: z.string().describe(\"Address verification status\").nullable().optional(),\n provinceOrState: z.string().describe(\"State or province of the address\").nullable().optional(),\n}).passthrough();\nconst PostgridGetLetter_CancellationSchema = z.object({\n note: z.string().describe(\"Additional note for cancellation\").nullable().optional(),\n reason: z.string().describe(\"Reason for cancellation\").nullable().optional(),\n}).passthrough();\nexport const PostgridGetLetterOutput = z.object({\n id: z.string().describe(\"Unique identifier for the letter\").nullable(),\n to: PostgridGetLetter_AddressSchema.nullable(),\n url: z.string().describe(\"URL to access PDF of the letter\").nullable().optional(),\n html: z.string().describe(\"HTML content of the letter\").nullable().optional(),\n live: z.boolean().describe(\"Whether this is a live or test letter\").nullable().optional(),\n size: z.string().describe(\"Letter size\").nullable().optional(),\n color: z.boolean().describe(\"Whether the letter is in color\").nullable().optional(),\n object: z.string().describe(\"Type of object returned, should be 'letter'\").nullable(),\n status: z.string().describe(\"Current status of the letter\").nullable(),\n envelope: z.string().describe(\"Envelope type\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata set by user\").nullable().optional(),\n sendDate: z.string().describe(\"Scheduled send date\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the letter was created\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages in the letter\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the letter was last updated\").nullable().optional(),\n attachedPDF: z.string().describe(\"Attached PDF if any\").nullable().optional(),\n description: z.string().describe(\"Description of the letter\").nullable().optional(),\n doubleSided: z.boolean().describe(\"Whether the letter is double-sided\").nullable().optional(),\n cancellation: PostgridGetLetter_CancellationSchema.nullable().optional(),\n envelopeType: z.string().describe(\"Detailed envelope type\").nullable().optional(),\n from_address: PostgridGetLetter_AddressSchema.nullable(),\n mailingClass: z.string().describe(\"Mail class used (e.g., 'first_class')\").nullable().optional(),\n perforatedPage: z.number().int().describe(\"Page number to be perforated\").nullable().optional(),\n carrierTracking: z.record(z.string(), z.unknown()).describe(\"Carrier tracking information\").nullable().optional(),\n addressPlacement: z.string().describe(\"Address placement location\").nullable().optional(),\n}).passthrough();\n\nexport const postgridGetLetter = action(\"POSTGRID_GET_LETTER\", {\n slug: \"postgrid-get-letter\",\n name: \"Get Letter\",\n description: \"Tool to retrieve a letter. Use after you have the letter ID to fetch its details.\",\n input: PostgridGetLetterInput,\n output: PostgridGetLetterOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-letter.cjs","names":["z","action"],"sources":["../../src/actions/get-letter.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postgrid } from \"../app\";\n\nexport const PostgridGetLetterInput = z.object({\n id: z.string().describe(\"Unique identifier of the letter to retrieve\"),\n}).describe(\"Request schema for retrieving a letter.\");\nconst PostgridGetLetter_AddressSchema = z.object({\n id: z.string().describe(\"Contact ID if referencing an existing contact\").nullable().optional(),\n city: z.string().describe(\"City of the address\").nullable().optional(),\n country: z.string().describe(\"Country of the address\").nullable().optional(),\n lastName: z.string().describe(\"Last name of recipient/sender\").nullable().optional(),\n firstName: z.string().describe(\"First name of recipient/sender\").nullable().optional(),\n companyName: z.string().describe(\"Company name\").nullable().optional(),\n countryCode: z.string().describe(\"Country code\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code of the address\").nullable().optional(),\n addressLine1: z.string().describe(\"First line of the address\").nullable().optional(),\n addressLine2: z.string().describe(\"Second line of the address\").nullable().optional(),\n addressStatus: z.string().describe(\"Address verification status\").nullable().optional(),\n provinceOrState: z.string().describe(\"State or province of the address\").nullable().optional(),\n}).passthrough();\nconst PostgridGetLetter_CancellationSchema = z.object({\n note: z.string().describe(\"Additional note for cancellation\").nullable().optional(),\n reason: z.string().describe(\"Reason for cancellation\").nullable().optional(),\n}).passthrough();\nexport const PostgridGetLetterOutput = z.object({\n id: z.string().describe(\"Unique identifier for the letter\").nullable(),\n to: PostgridGetLetter_AddressSchema.nullable(),\n url: z.string().describe(\"URL to access PDF of the letter\").nullable().optional(),\n html: z.string().describe(\"HTML content of the letter\").nullable().optional(),\n live: z.boolean().describe(\"Whether this is a live or test letter\").nullable().optional(),\n size: z.string().describe(\"Letter size\").nullable().optional(),\n color: z.boolean().describe(\"Whether the letter is in color\").nullable().optional(),\n object: z.string().describe(\"Type of object returned, should be 'letter'\").nullable(),\n status: z.string().describe(\"Current status of the letter\").nullable(),\n envelope: z.string().describe(\"Envelope type\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata set by user\").nullable().optional(),\n sendDate: z.string().describe(\"Scheduled send date\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the letter was created\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages in the letter\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the letter was last updated\").nullable().optional(),\n attachedPDF: z.string().describe(\"Attached PDF if any\").nullable().optional(),\n description: z.string().describe(\"Description of the letter\").nullable().optional(),\n doubleSided: z.boolean().describe(\"Whether the letter is double-sided\").nullable().optional(),\n cancellation: PostgridGetLetter_CancellationSchema.nullable().optional(),\n envelopeType: z.string().describe(\"Detailed envelope type\").nullable().optional(),\n from_address: PostgridGetLetter_AddressSchema.nullable(),\n mailingClass: z.string().describe(\"Mail class used (e.g., 'first_class')\").nullable().optional(),\n perforatedPage: z.number().int().describe(\"Page number to be perforated\").nullable().optional(),\n carrierTracking: z.record(z.string(), z.unknown()).describe(\"Carrier tracking information\").nullable().optional(),\n addressPlacement: z.string().describe(\"Address placement location\").nullable().optional(),\n}).passthrough();\n\nexport const postgridGetLetter: AppAction<\n typeof PostgridGetLetterInput,\n typeof PostgridGetLetterOutput,\n typeof postgrid.credential\n> = action(\"POSTGRID_GET_LETTER\", {\n slug: \"postgrid-get-letter\",\n name: \"Get Letter\",\n description: \"Tool to retrieve a letter. Use after you have the letter ID to fetch its details.\",\n input: PostgridGetLetterInput,\n output: PostgridGetLetterOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EACvE,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAA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AC,CAAC,SAAS;CAC/F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postgrid } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-letter.d.ts
|
|
@@ -60,9 +62,7 @@ declare const PostgridGetLetterOutput: z.ZodObject<{
|
|
|
60
62
|
carrierTracking: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
61
63
|
addressPlacement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
64
|
}, z.core.$loose>;
|
|
63
|
-
declare const postgridGetLetter:
|
|
64
|
-
id: string;
|
|
65
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
65
|
+
declare const postgridGetLetter: AppAction<typeof PostgridGetLetterInput, typeof PostgridGetLetterOutput, typeof postgrid.credential>;
|
|
66
66
|
//#endregion
|
|
67
67
|
export { postgridGetLetter };
|
|
68
68
|
//# sourceMappingURL=get-letter.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-letter.d.cts","names":[],"sources":["../../src/actions/get-letter.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-letter.d.cts","names":[],"sources":["../../src/actions/get-letter.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAqBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postgrid } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-letter.d.ts
|
|
@@ -60,9 +62,7 @@ declare const PostgridGetLetterOutput: z.ZodObject<{
|
|
|
60
62
|
carrierTracking: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
61
63
|
addressPlacement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
64
|
}, z.core.$loose>;
|
|
63
|
-
declare const postgridGetLetter:
|
|
64
|
-
id: string;
|
|
65
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
65
|
+
declare const postgridGetLetter: AppAction<typeof PostgridGetLetterInput, typeof PostgridGetLetterOutput, typeof postgrid.credential>;
|
|
66
66
|
//#endregion
|
|
67
67
|
export { postgridGetLetter };
|
|
68
68
|
//# sourceMappingURL=get-letter.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-letter.d.mts","names":[],"sources":["../../src/actions/get-letter.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-letter.d.mts","names":[],"sources":["../../src/actions/get-letter.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAqBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-letter.mjs","names":[],"sources":["../../src/actions/get-letter.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridGetLetterInput = z.object({\n id: z.string().describe(\"Unique identifier of the letter to retrieve\"),\n}).describe(\"Request schema for retrieving a letter.\");\nconst PostgridGetLetter_AddressSchema = z.object({\n id: z.string().describe(\"Contact ID if referencing an existing contact\").nullable().optional(),\n city: z.string().describe(\"City of the address\").nullable().optional(),\n country: z.string().describe(\"Country of the address\").nullable().optional(),\n lastName: z.string().describe(\"Last name of recipient/sender\").nullable().optional(),\n firstName: z.string().describe(\"First name of recipient/sender\").nullable().optional(),\n companyName: z.string().describe(\"Company name\").nullable().optional(),\n countryCode: z.string().describe(\"Country code\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code of the address\").nullable().optional(),\n addressLine1: z.string().describe(\"First line of the address\").nullable().optional(),\n addressLine2: z.string().describe(\"Second line of the address\").nullable().optional(),\n addressStatus: z.string().describe(\"Address verification status\").nullable().optional(),\n provinceOrState: z.string().describe(\"State or province of the address\").nullable().optional(),\n}).passthrough();\nconst PostgridGetLetter_CancellationSchema = z.object({\n note: z.string().describe(\"Additional note for cancellation\").nullable().optional(),\n reason: z.string().describe(\"Reason for cancellation\").nullable().optional(),\n}).passthrough();\nexport const PostgridGetLetterOutput = z.object({\n id: z.string().describe(\"Unique identifier for the letter\").nullable(),\n to: PostgridGetLetter_AddressSchema.nullable(),\n url: z.string().describe(\"URL to access PDF of the letter\").nullable().optional(),\n html: z.string().describe(\"HTML content of the letter\").nullable().optional(),\n live: z.boolean().describe(\"Whether this is a live or test letter\").nullable().optional(),\n size: z.string().describe(\"Letter size\").nullable().optional(),\n color: z.boolean().describe(\"Whether the letter is in color\").nullable().optional(),\n object: z.string().describe(\"Type of object returned, should be 'letter'\").nullable(),\n status: z.string().describe(\"Current status of the letter\").nullable(),\n envelope: z.string().describe(\"Envelope type\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata set by user\").nullable().optional(),\n sendDate: z.string().describe(\"Scheduled send date\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the letter was created\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages in the letter\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the letter was last updated\").nullable().optional(),\n attachedPDF: z.string().describe(\"Attached PDF if any\").nullable().optional(),\n description: z.string().describe(\"Description of the letter\").nullable().optional(),\n doubleSided: z.boolean().describe(\"Whether the letter is double-sided\").nullable().optional(),\n cancellation: PostgridGetLetter_CancellationSchema.nullable().optional(),\n envelopeType: z.string().describe(\"Detailed envelope type\").nullable().optional(),\n from_address: PostgridGetLetter_AddressSchema.nullable(),\n mailingClass: z.string().describe(\"Mail class used (e.g., 'first_class')\").nullable().optional(),\n perforatedPage: z.number().int().describe(\"Page number to be perforated\").nullable().optional(),\n carrierTracking: z.record(z.string(), z.unknown()).describe(\"Carrier tracking information\").nullable().optional(),\n addressPlacement: z.string().describe(\"Address placement location\").nullable().optional(),\n}).passthrough();\n\nexport const postgridGetLetter = action(\"POSTGRID_GET_LETTER\", {\n slug: \"postgrid-get-letter\",\n name: \"Get Letter\",\n description: \"Tool to retrieve a letter. Use after you have the letter ID to fetch its details.\",\n input: PostgridGetLetterInput,\n output: PostgridGetLetterOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-letter.mjs","names":[],"sources":["../../src/actions/get-letter.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postgrid } from \"../app\";\n\nexport const PostgridGetLetterInput = z.object({\n id: z.string().describe(\"Unique identifier of the letter to retrieve\"),\n}).describe(\"Request schema for retrieving a letter.\");\nconst PostgridGetLetter_AddressSchema = z.object({\n id: z.string().describe(\"Contact ID if referencing an existing contact\").nullable().optional(),\n city: z.string().describe(\"City of the address\").nullable().optional(),\n country: z.string().describe(\"Country of the address\").nullable().optional(),\n lastName: z.string().describe(\"Last name of recipient/sender\").nullable().optional(),\n firstName: z.string().describe(\"First name of recipient/sender\").nullable().optional(),\n companyName: z.string().describe(\"Company name\").nullable().optional(),\n countryCode: z.string().describe(\"Country code\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code of the address\").nullable().optional(),\n addressLine1: z.string().describe(\"First line of the address\").nullable().optional(),\n addressLine2: z.string().describe(\"Second line of the address\").nullable().optional(),\n addressStatus: z.string().describe(\"Address verification status\").nullable().optional(),\n provinceOrState: z.string().describe(\"State or province of the address\").nullable().optional(),\n}).passthrough();\nconst PostgridGetLetter_CancellationSchema = z.object({\n note: z.string().describe(\"Additional note for cancellation\").nullable().optional(),\n reason: z.string().describe(\"Reason for cancellation\").nullable().optional(),\n}).passthrough();\nexport const PostgridGetLetterOutput = z.object({\n id: z.string().describe(\"Unique identifier for the letter\").nullable(),\n to: PostgridGetLetter_AddressSchema.nullable(),\n url: z.string().describe(\"URL to access PDF of the letter\").nullable().optional(),\n html: z.string().describe(\"HTML content of the letter\").nullable().optional(),\n live: z.boolean().describe(\"Whether this is a live or test letter\").nullable().optional(),\n size: z.string().describe(\"Letter size\").nullable().optional(),\n color: z.boolean().describe(\"Whether the letter is in color\").nullable().optional(),\n object: z.string().describe(\"Type of object returned, should be 'letter'\").nullable(),\n status: z.string().describe(\"Current status of the letter\").nullable(),\n envelope: z.string().describe(\"Envelope type\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata set by user\").nullable().optional(),\n sendDate: z.string().describe(\"Scheduled send date\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the letter was created\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages in the letter\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the letter was last updated\").nullable().optional(),\n attachedPDF: z.string().describe(\"Attached PDF if any\").nullable().optional(),\n description: z.string().describe(\"Description of the letter\").nullable().optional(),\n doubleSided: z.boolean().describe(\"Whether the letter is double-sided\").nullable().optional(),\n cancellation: PostgridGetLetter_CancellationSchema.nullable().optional(),\n envelopeType: z.string().describe(\"Detailed envelope type\").nullable().optional(),\n from_address: PostgridGetLetter_AddressSchema.nullable(),\n mailingClass: z.string().describe(\"Mail class used (e.g., 'first_class')\").nullable().optional(),\n perforatedPage: z.number().int().describe(\"Page number to be perforated\").nullable().optional(),\n carrierTracking: z.record(z.string(), z.unknown()).describe(\"Carrier tracking information\").nullable().optional(),\n addressPlacement: z.string().describe(\"Address placement location\").nullable().optional(),\n}).passthrough();\n\nexport const postgridGetLetter: AppAction<\n typeof PostgridGetLetterInput,\n typeof PostgridGetLetterOutput,\n typeof postgrid.credential\n> = action(\"POSTGRID_GET_LETTER\", {\n slug: \"postgrid-get-letter\",\n name: \"Get Letter\",\n description: \"Tool to retrieve a letter. Use after you have the letter ID to fetch its details.\",\n input: PostgridGetLetterInput,\n output: PostgridGetLetterOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,EACvE,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,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,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,cAAc,qCAAqC,SAAS,CAAC,CAAC,SAAS;EACvE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,cAAc,gCAAgC,SAAS;EACvD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-postcard.cjs","names":["z","action"],"sources":["../../src/actions/get-postcard.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridGetPostcardInput = z.object({\n id: z.string().describe(\"Unique identifier of the postcard to retrieve\"),\n}).describe(\"Request schema for retrieving a specific postcard.\");\nconst PostgridGetPostcard_PostcardAddressSchema = z.object({\n id: z.string().describe(\"Contact ID if referencing an existing contact\").nullable().optional(),\n city: z.string().describe(\"City of the address\").nullable().optional(),\n country: z.string().describe(\"Country of the address\").nullable().optional(),\n lastName: z.string().describe(\"Last name of recipient/sender\").nullable().optional(),\n firstName: z.string().describe(\"First name of recipient/sender\").nullable().optional(),\n companyName: z.string().describe(\"Company name\").nullable().optional(),\n countryCode: z.string().describe(\"Country code\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code of the address\").nullable().optional(),\n addressLine1: z.string().describe(\"First line of the address\").nullable().optional(),\n addressLine2: z.string().describe(\"Second line of the address\").nullable().optional(),\n addressStatus: z.string().describe(\"Address verification status\").nullable().optional(),\n provinceOrState: z.string().describe(\"State or province of the address\").nullable().optional(),\n}).passthrough();\nexport const PostgridGetPostcardOutput = z.object({\n id: z.string().describe(\"Unique identifier for the postcard\").nullable(),\n to: PostgridGetPostcard_PostcardAddressSchema.nullable().optional(),\n url: z.string().describe(\"URL to PDF preview\").nullable().optional(),\n live: z.boolean().describe(\"Whether this is a live or test postcard\").nullable().optional(),\n size: z.string().describe(\"Postcard size (e.g., 6x4)\").nullable().optional(),\n paper: z.string().describe(\"Paper type\").nullable().optional(),\n object: z.string().describe(\"Type of object returned, should be 'postcard'\").nullable(),\n status: z.string().describe(\"Order status\").nullable().optional(),\n backHTML: z.string().describe(\"HTML content for back of postcard\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata set by user\").nullable().optional(),\n sendDate: z.string().describe(\"Scheduled send date\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the postcard was created\").nullable().optional(),\n frontHTML: z.string().describe(\"HTML content for front of postcard\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the postcard was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the postcard\").nullable().optional(),\n from_address: PostgridGetPostcard_PostcardAddressSchema.nullable().optional(),\n mailingClass: z.string().describe(\"Mailing class (e.g., first_class)\").nullable().optional(),\n carrierTracking: z.string().describe(\"Tracking information from carrier\").nullable().optional(),\n}).passthrough();\n\nexport const postgridGetPostcard = action(\"POSTGRID_GET_POSTCARD\", {\n slug: \"postgrid-get-postcard\",\n name: \"Get Postcard\",\n description: \"Tool to retrieve a specific postcard by ID. Use when you have a postcard ID and need to fetch its details.\",\n input: PostgridGetPostcardInput,\n output: PostgridGetPostcardOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-postcard.cjs","names":["z","action"],"sources":["../../src/actions/get-postcard.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postgrid } from \"../app\";\n\nexport const PostgridGetPostcardInput = z.object({\n id: z.string().describe(\"Unique identifier of the postcard to retrieve\"),\n}).describe(\"Request schema for retrieving a specific postcard.\");\nconst PostgridGetPostcard_PostcardAddressSchema = z.object({\n id: z.string().describe(\"Contact ID if referencing an existing contact\").nullable().optional(),\n city: z.string().describe(\"City of the address\").nullable().optional(),\n country: z.string().describe(\"Country of the address\").nullable().optional(),\n lastName: z.string().describe(\"Last name of recipient/sender\").nullable().optional(),\n firstName: z.string().describe(\"First name of recipient/sender\").nullable().optional(),\n companyName: z.string().describe(\"Company name\").nullable().optional(),\n countryCode: z.string().describe(\"Country code\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code of the address\").nullable().optional(),\n addressLine1: z.string().describe(\"First line of the address\").nullable().optional(),\n addressLine2: z.string().describe(\"Second line of the address\").nullable().optional(),\n addressStatus: z.string().describe(\"Address verification status\").nullable().optional(),\n provinceOrState: z.string().describe(\"State or province of the address\").nullable().optional(),\n}).passthrough();\nexport const PostgridGetPostcardOutput = z.object({\n id: z.string().describe(\"Unique identifier for the postcard\").nullable(),\n to: PostgridGetPostcard_PostcardAddressSchema.nullable().optional(),\n url: z.string().describe(\"URL to PDF preview\").nullable().optional(),\n live: z.boolean().describe(\"Whether this is a live or test postcard\").nullable().optional(),\n size: z.string().describe(\"Postcard size (e.g., 6x4)\").nullable().optional(),\n paper: z.string().describe(\"Paper type\").nullable().optional(),\n object: z.string().describe(\"Type of object returned, should be 'postcard'\").nullable(),\n status: z.string().describe(\"Order status\").nullable().optional(),\n backHTML: z.string().describe(\"HTML content for back of postcard\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata set by user\").nullable().optional(),\n sendDate: z.string().describe(\"Scheduled send date\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the postcard was created\").nullable().optional(),\n frontHTML: z.string().describe(\"HTML content for front of postcard\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the postcard was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the postcard\").nullable().optional(),\n from_address: PostgridGetPostcard_PostcardAddressSchema.nullable().optional(),\n mailingClass: z.string().describe(\"Mailing class (e.g., first_class)\").nullable().optional(),\n carrierTracking: z.string().describe(\"Tracking information from carrier\").nullable().optional(),\n}).passthrough();\n\nexport const postgridGetPostcard: AppAction<\n typeof PostgridGetPostcardInput,\n typeof PostgridGetPostcardOutput,\n typeof postgrid.credential\n> = action(\"POSTGRID_GET_POSTCARD\", {\n slug: \"postgrid-get-postcard\",\n name: \"Get Postcard\",\n description: \"Tool to retrieve a specific postcard by ID. Use when you have a postcard ID and need to fetch its details.\",\n input: PostgridGetPostcardInput,\n output: PostgridGetPostcardOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACzE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,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E,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAc,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postgrid } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-postcard.d.ts
|
|
@@ -51,9 +53,7 @@ declare const PostgridGetPostcardOutput: z.ZodObject<{
|
|
|
51
53
|
mailingClass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
54
|
carrierTracking: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
55
|
}, z.core.$loose>;
|
|
54
|
-
declare const postgridGetPostcard:
|
|
55
|
-
id: string;
|
|
56
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
56
|
+
declare const postgridGetPostcard: AppAction<typeof PostgridGetPostcardInput, typeof PostgridGetPostcardOutput, typeof postgrid.credential>;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { postgridGetPostcard };
|
|
59
59
|
//# sourceMappingURL=get-postcard.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-postcard.d.cts","names":[],"sources":["../../src/actions/get-postcard.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-postcard.d.cts","names":[],"sources":["../../src/actions/get-postcard.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAiBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postgrid } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-postcard.d.ts
|
|
@@ -51,9 +53,7 @@ declare const PostgridGetPostcardOutput: z.ZodObject<{
|
|
|
51
53
|
mailingClass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
54
|
carrierTracking: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
55
|
}, z.core.$loose>;
|
|
54
|
-
declare const postgridGetPostcard:
|
|
55
|
-
id: string;
|
|
56
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
56
|
+
declare const postgridGetPostcard: AppAction<typeof PostgridGetPostcardInput, typeof PostgridGetPostcardOutput, typeof postgrid.credential>;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { postgridGetPostcard };
|
|
59
59
|
//# sourceMappingURL=get-postcard.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-postcard.d.mts","names":[],"sources":["../../src/actions/get-postcard.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-postcard.d.mts","names":[],"sources":["../../src/actions/get-postcard.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAiBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-postcard.mjs","names":[],"sources":["../../src/actions/get-postcard.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridGetPostcardInput = z.object({\n id: z.string().describe(\"Unique identifier of the postcard to retrieve\"),\n}).describe(\"Request schema for retrieving a specific postcard.\");\nconst PostgridGetPostcard_PostcardAddressSchema = z.object({\n id: z.string().describe(\"Contact ID if referencing an existing contact\").nullable().optional(),\n city: z.string().describe(\"City of the address\").nullable().optional(),\n country: z.string().describe(\"Country of the address\").nullable().optional(),\n lastName: z.string().describe(\"Last name of recipient/sender\").nullable().optional(),\n firstName: z.string().describe(\"First name of recipient/sender\").nullable().optional(),\n companyName: z.string().describe(\"Company name\").nullable().optional(),\n countryCode: z.string().describe(\"Country code\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code of the address\").nullable().optional(),\n addressLine1: z.string().describe(\"First line of the address\").nullable().optional(),\n addressLine2: z.string().describe(\"Second line of the address\").nullable().optional(),\n addressStatus: z.string().describe(\"Address verification status\").nullable().optional(),\n provinceOrState: z.string().describe(\"State or province of the address\").nullable().optional(),\n}).passthrough();\nexport const PostgridGetPostcardOutput = z.object({\n id: z.string().describe(\"Unique identifier for the postcard\").nullable(),\n to: PostgridGetPostcard_PostcardAddressSchema.nullable().optional(),\n url: z.string().describe(\"URL to PDF preview\").nullable().optional(),\n live: z.boolean().describe(\"Whether this is a live or test postcard\").nullable().optional(),\n size: z.string().describe(\"Postcard size (e.g., 6x4)\").nullable().optional(),\n paper: z.string().describe(\"Paper type\").nullable().optional(),\n object: z.string().describe(\"Type of object returned, should be 'postcard'\").nullable(),\n status: z.string().describe(\"Order status\").nullable().optional(),\n backHTML: z.string().describe(\"HTML content for back of postcard\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata set by user\").nullable().optional(),\n sendDate: z.string().describe(\"Scheduled send date\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the postcard was created\").nullable().optional(),\n frontHTML: z.string().describe(\"HTML content for front of postcard\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the postcard was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the postcard\").nullable().optional(),\n from_address: PostgridGetPostcard_PostcardAddressSchema.nullable().optional(),\n mailingClass: z.string().describe(\"Mailing class (e.g., first_class)\").nullable().optional(),\n carrierTracking: z.string().describe(\"Tracking information from carrier\").nullable().optional(),\n}).passthrough();\n\nexport const postgridGetPostcard = action(\"POSTGRID_GET_POSTCARD\", {\n slug: \"postgrid-get-postcard\",\n name: \"Get Postcard\",\n description: \"Tool to retrieve a specific postcard by ID. Use when you have a postcard ID and need to fetch its details.\",\n input: PostgridGetPostcardInput,\n output: PostgridGetPostcardOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-postcard.mjs","names":[],"sources":["../../src/actions/get-postcard.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postgrid } from \"../app\";\n\nexport const PostgridGetPostcardInput = z.object({\n id: z.string().describe(\"Unique identifier of the postcard to retrieve\"),\n}).describe(\"Request schema for retrieving a specific postcard.\");\nconst PostgridGetPostcard_PostcardAddressSchema = z.object({\n id: z.string().describe(\"Contact ID if referencing an existing contact\").nullable().optional(),\n city: z.string().describe(\"City of the address\").nullable().optional(),\n country: z.string().describe(\"Country of the address\").nullable().optional(),\n lastName: z.string().describe(\"Last name of recipient/sender\").nullable().optional(),\n firstName: z.string().describe(\"First name of recipient/sender\").nullable().optional(),\n companyName: z.string().describe(\"Company name\").nullable().optional(),\n countryCode: z.string().describe(\"Country code\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code of the address\").nullable().optional(),\n addressLine1: z.string().describe(\"First line of the address\").nullable().optional(),\n addressLine2: z.string().describe(\"Second line of the address\").nullable().optional(),\n addressStatus: z.string().describe(\"Address verification status\").nullable().optional(),\n provinceOrState: z.string().describe(\"State or province of the address\").nullable().optional(),\n}).passthrough();\nexport const PostgridGetPostcardOutput = z.object({\n id: z.string().describe(\"Unique identifier for the postcard\").nullable(),\n to: PostgridGetPostcard_PostcardAddressSchema.nullable().optional(),\n url: z.string().describe(\"URL to PDF preview\").nullable().optional(),\n live: z.boolean().describe(\"Whether this is a live or test postcard\").nullable().optional(),\n size: z.string().describe(\"Postcard size (e.g., 6x4)\").nullable().optional(),\n paper: z.string().describe(\"Paper type\").nullable().optional(),\n object: z.string().describe(\"Type of object returned, should be 'postcard'\").nullable(),\n status: z.string().describe(\"Order status\").nullable().optional(),\n backHTML: z.string().describe(\"HTML content for back of postcard\").nullable().optional(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata set by user\").nullable().optional(),\n sendDate: z.string().describe(\"Scheduled send date\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp when the postcard was created\").nullable().optional(),\n frontHTML: z.string().describe(\"HTML content for front of postcard\").nullable().optional(),\n pageCount: z.number().int().describe(\"Number of pages\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO8601 timestamp when the postcard was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the postcard\").nullable().optional(),\n from_address: PostgridGetPostcard_PostcardAddressSchema.nullable().optional(),\n mailingClass: z.string().describe(\"Mailing class (e.g., first_class)\").nullable().optional(),\n carrierTracking: z.string().describe(\"Tracking information from carrier\").nullable().optional(),\n}).passthrough();\n\nexport const postgridGetPostcard: AppAction<\n typeof PostgridGetPostcardInput,\n typeof PostgridGetPostcardOutput,\n typeof postgrid.credential\n> = action(\"POSTGRID_GET_POSTCARD\", {\n slug: \"postgrid-get-postcard\",\n name: \"Get Postcard\",\n description: \"Tool to retrieve a specific postcard by ID. Use when you have a postcard ID and need to fetch its details.\",\n input: PostgridGetPostcardInput,\n output: PostgridGetPostcardOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACzE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAc,EAAE,OAA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C,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,cAAc,0CAA0C,SAAS,CAAC,CAAC,SAAS;EAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-return-envelope-order.cjs","names":["z","action"],"sources":["../../src/actions/get-return-envelope-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridGetReturnEnvelopeOrderInput = z.object({\n id: z.string().describe(\"Unique identifier of the return envelope\"),\n orderId: z.string().describe(\"Unique identifier of the return envelope order\"),\n}).describe(\"Request schema for retrieving a return envelope order.\");\nexport const PostgridGetReturnEnvelopeOrderOutput = z.object({\n id: z.string().describe(\"The order ID\").nullable(),\n live: z.boolean().describe(\"Whether this is a live or test order\").nullable(),\n object: z.string().describe(\"Object type, always 'return_envelope_order'\").nullable(),\n status: z.string().describe(\"Order status (e.g., 'placed')\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of creation\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of last update\").nullable(),\n description: z.string().describe(\"Order description\").nullable().optional(),\n returnEnvelope: z.string().describe(\"The return envelope ID this order belongs to\").nullable(),\n quantityOrdered: z.number().int().describe(\"Number of envelopes ordered (minimum 5000)\").nullable(),\n}).passthrough();\n\nexport const postgridGetReturnEnvelopeOrder = action(\"POSTGRID_GET_RETURN_ENVELOPE_ORDER\", {\n slug: \"postgrid-get-return-envelope-order\",\n name: \"Get Return Envelope Order\",\n description: \"Tool to retrieve a specific return envelope order. Use when you need to get details about an order by its return envelope ID and order ID.\",\n input: PostgridGetReturnEnvelopeOrderInput,\n output: PostgridGetReturnEnvelopeOrderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-return-envelope-order.cjs","names":["z","action"],"sources":["../../src/actions/get-return-envelope-order.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postgrid } from \"../app\";\n\nexport const PostgridGetReturnEnvelopeOrderInput = z.object({\n id: z.string().describe(\"Unique identifier of the return envelope\"),\n orderId: z.string().describe(\"Unique identifier of the return envelope order\"),\n}).describe(\"Request schema for retrieving a return envelope order.\");\nexport const PostgridGetReturnEnvelopeOrderOutput = z.object({\n id: z.string().describe(\"The order ID\").nullable(),\n live: z.boolean().describe(\"Whether this is a live or test order\").nullable(),\n object: z.string().describe(\"Object type, always 'return_envelope_order'\").nullable(),\n status: z.string().describe(\"Order status (e.g., 'placed')\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of creation\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of last update\").nullable(),\n description: z.string().describe(\"Order description\").nullable().optional(),\n returnEnvelope: z.string().describe(\"The return envelope ID this order belongs to\").nullable(),\n quantityOrdered: z.number().int().describe(\"Number of envelopes ordered (minimum 5000)\").nullable(),\n}).passthrough();\n\nexport const postgridGetReturnEnvelopeOrder: AppAction<\n typeof PostgridGetReturnEnvelopeOrderInput,\n typeof PostgridGetReturnEnvelopeOrderOutput,\n typeof postgrid.credential\n> = action(\"POSTGRID_GET_RETURN_ENVELOPE_ORDER\", {\n slug: \"postgrid-get-return-envelope-order\",\n name: \"Get Return Envelope Order\",\n description: \"Tool to retrieve a specific return envelope order. Use when you need to get details about an order by its return envelope ID and order ID.\",\n input: PostgridGetReturnEnvelopeOrderInput,\n output: PostgridGetReturnEnvelopeOrderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AAC/E,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACjD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC7F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postgrid } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-return-envelope-order.d.ts
|
|
@@ -16,10 +18,7 @@ declare const PostgridGetReturnEnvelopeOrderOutput: z.ZodObject<{
|
|
|
16
18
|
returnEnvelope: z.ZodNullable<z.ZodString>;
|
|
17
19
|
quantityOrdered: z.ZodNullable<z.ZodNumber>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const postgridGetReturnEnvelopeOrder:
|
|
20
|
-
id: string;
|
|
21
|
-
orderId: string;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const postgridGetReturnEnvelopeOrder: AppAction<typeof PostgridGetReturnEnvelopeOrderInput, typeof PostgridGetReturnEnvelopeOrderOutput, typeof postgrid.credential>;
|
|
23
22
|
//#endregion
|
|
24
23
|
export { postgridGetReturnEnvelopeOrder };
|
|
25
24
|
//# sourceMappingURL=get-return-envelope-order.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-return-envelope-order.d.cts","names":[],"sources":["../../src/actions/get-return-envelope-order.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-return-envelope-order.d.cts","names":[],"sources":["../../src/actions/get-return-envelope-order.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAInC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { postgrid } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-return-envelope-order.d.ts
|
|
@@ -16,10 +18,7 @@ declare const PostgridGetReturnEnvelopeOrderOutput: z.ZodObject<{
|
|
|
16
18
|
returnEnvelope: z.ZodNullable<z.ZodString>;
|
|
17
19
|
quantityOrdered: z.ZodNullable<z.ZodNumber>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const postgridGetReturnEnvelopeOrder:
|
|
20
|
-
id: string;
|
|
21
|
-
orderId: string;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const postgridGetReturnEnvelopeOrder: AppAction<typeof PostgridGetReturnEnvelopeOrderInput, typeof PostgridGetReturnEnvelopeOrderOutput, typeof postgrid.credential>;
|
|
23
22
|
//#endregion
|
|
24
23
|
export { postgridGetReturnEnvelopeOrder };
|
|
25
24
|
//# sourceMappingURL=get-return-envelope-order.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-return-envelope-order.d.mts","names":[],"sources":["../../src/actions/get-return-envelope-order.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-return-envelope-order.d.mts","names":[],"sources":["../../src/actions/get-return-envelope-order.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAInC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-return-envelope-order.mjs","names":[],"sources":["../../src/actions/get-return-envelope-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridGetReturnEnvelopeOrderInput = z.object({\n id: z.string().describe(\"Unique identifier of the return envelope\"),\n orderId: z.string().describe(\"Unique identifier of the return envelope order\"),\n}).describe(\"Request schema for retrieving a return envelope order.\");\nexport const PostgridGetReturnEnvelopeOrderOutput = z.object({\n id: z.string().describe(\"The order ID\").nullable(),\n live: z.boolean().describe(\"Whether this is a live or test order\").nullable(),\n object: z.string().describe(\"Object type, always 'return_envelope_order'\").nullable(),\n status: z.string().describe(\"Order status (e.g., 'placed')\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of creation\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of last update\").nullable(),\n description: z.string().describe(\"Order description\").nullable().optional(),\n returnEnvelope: z.string().describe(\"The return envelope ID this order belongs to\").nullable(),\n quantityOrdered: z.number().int().describe(\"Number of envelopes ordered (minimum 5000)\").nullable(),\n}).passthrough();\n\nexport const postgridGetReturnEnvelopeOrder = action(\"POSTGRID_GET_RETURN_ENVELOPE_ORDER\", {\n slug: \"postgrid-get-return-envelope-order\",\n name: \"Get Return Envelope Order\",\n description: \"Tool to retrieve a specific return envelope order. Use when you need to get details about an order by its return envelope ID and order ID.\",\n input: PostgridGetReturnEnvelopeOrderInput,\n output: PostgridGetReturnEnvelopeOrderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-return-envelope-order.mjs","names":[],"sources":["../../src/actions/get-return-envelope-order.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postgrid } from \"../app\";\n\nexport const PostgridGetReturnEnvelopeOrderInput = z.object({\n id: z.string().describe(\"Unique identifier of the return envelope\"),\n orderId: z.string().describe(\"Unique identifier of the return envelope order\"),\n}).describe(\"Request schema for retrieving a return envelope order.\");\nexport const PostgridGetReturnEnvelopeOrderOutput = z.object({\n id: z.string().describe(\"The order ID\").nullable(),\n live: z.boolean().describe(\"Whether this is a live or test order\").nullable(),\n object: z.string().describe(\"Object type, always 'return_envelope_order'\").nullable(),\n status: z.string().describe(\"Order status (e.g., 'placed')\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of creation\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of last update\").nullable(),\n description: z.string().describe(\"Order description\").nullable().optional(),\n returnEnvelope: z.string().describe(\"The return envelope ID this order belongs to\").nullable(),\n quantityOrdered: z.number().int().describe(\"Number of envelopes ordered (minimum 5000)\").nullable(),\n}).passthrough();\n\nexport const postgridGetReturnEnvelopeOrder: AppAction<\n typeof PostgridGetReturnEnvelopeOrderInput,\n typeof PostgridGetReturnEnvelopeOrderOutput,\n typeof postgrid.credential\n> = action(\"POSTGRID_GET_RETURN_ENVELOPE_ORDER\", {\n slug: \"postgrid-get-return-envelope-order\",\n name: \"Get Return Envelope Order\",\n description: \"Tool to retrieve a specific return envelope order. Use when you need to get details about an order by its return envelope ID and order ID.\",\n input: PostgridGetReturnEnvelopeOrderInput,\n output: PostgridGetReturnEnvelopeOrderOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC/E,CAAC,CAAC,CAAC,SAAS,wDAqBH;CACP,QArBkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;EACjD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC7F,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-return-envelope.cjs","names":["z","action"],"sources":["../../src/actions/get-return-envelope.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostgridGetReturnEnvelopeInput = z.object({\n id: z.string().describe(\"Unique identifier of the return envelope to retrieve, prefixed with 'return_envelope_'\"),\n}).describe(\"Request schema for retrieving a return envelope.\");\nconst PostgridGetReturnEnvelope_ToAddressSchema = z.object({\n id: z.string().describe(\"Contact ID if referencing an existing contact\").nullable().optional(),\n city: z.string().describe(\"City\").nullable().optional(),\n object: z.string().describe(\"Object type\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the recipient\").nullable().optional(),\n firstName: z.string().describe(\"First name of the recipient\").nullable().optional(),\n countryCode: z.string().describe(\"Country code\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n addressLine1: z.string().describe(\"First line of the address\").nullable().optional(),\n addressStatus: z.string().describe(\"Address verification status\").nullable().optional(),\n provinceOrState: z.string().describe(\"Province or state\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the return envelope recipient.\");\nexport const PostgridGetReturnEnvelopeOutput = z.object({\n id: z.string().describe(\"Unique identifier prefixed with 'return_envelope_'\").nullable(),\n to: PostgridGetReturnEnvelope_ToAddressSchema.nullable().optional(),\n live: z.boolean().describe(\"Indicates if in live mode (false for test mode)\").nullable(),\n object: z.string().describe(\"Object type, always 'return_envelope'\").nullable(),\n available: z.number().int().describe(\"Number of return envelopes available for use\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the return envelope was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the return envelope was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the return envelope\").nullable().optional(),\n}).passthrough().describe(\"Response schema for return envelope retrieval.\");\n\nexport const postgridGetReturnEnvelope = action(\"POSTGRID_GET_RETURN_ENVELOPE\", {\n slug: \"postgrid-get-return-envelope\",\n name: \"Get Return Envelope\",\n description: \"Tool to retrieve a return envelope. Use after obtaining the return envelope ID to fetch its details.\",\n input: PostgridGetReturnEnvelopeInput,\n output: PostgridGetReturnEnvelopeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-return-envelope.cjs","names":["z","action"],"sources":["../../src/actions/get-return-envelope.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { postgrid } from \"../app\";\n\nexport const PostgridGetReturnEnvelopeInput = z.object({\n id: z.string().describe(\"Unique identifier of the return envelope to retrieve, prefixed with 'return_envelope_'\"),\n}).describe(\"Request schema for retrieving a return envelope.\");\nconst PostgridGetReturnEnvelope_ToAddressSchema = z.object({\n id: z.string().describe(\"Contact ID if referencing an existing contact\").nullable().optional(),\n city: z.string().describe(\"City\").nullable().optional(),\n object: z.string().describe(\"Object type\").nullable().optional(),\n country: z.string().describe(\"Country name\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the recipient\").nullable().optional(),\n firstName: z.string().describe(\"First name of the recipient\").nullable().optional(),\n countryCode: z.string().describe(\"Country code\").nullable().optional(),\n postalOrZip: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n addressLine1: z.string().describe(\"First line of the address\").nullable().optional(),\n addressStatus: z.string().describe(\"Address verification status\").nullable().optional(),\n provinceOrState: z.string().describe(\"Province or state\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the return envelope recipient.\");\nexport const PostgridGetReturnEnvelopeOutput = z.object({\n id: z.string().describe(\"Unique identifier prefixed with 'return_envelope_'\").nullable(),\n to: PostgridGetReturnEnvelope_ToAddressSchema.nullable().optional(),\n live: z.boolean().describe(\"Indicates if in live mode (false for test mode)\").nullable(),\n object: z.string().describe(\"Object type, always 'return_envelope'\").nullable(),\n available: z.number().int().describe(\"Number of return envelopes available for use\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the return envelope was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the return envelope was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the return envelope\").nullable().optional(),\n}).passthrough().describe(\"Response schema for return envelope retrieval.\");\n\nexport const postgridGetReturnEnvelope: AppAction<\n typeof PostgridGetReturnEnvelopeInput,\n typeof PostgridGetReturnEnvelopeOutput,\n typeof postgrid.credential\n> = action(\"POSTGRID_GET_RETURN_ENVELOPE\", {\n slug: \"postgrid-get-return-envelope\",\n name: \"Get Return Envelope\",\n description: \"Tool to retrieve a return envelope. Use after obtaining the return envelope ID to fetch its details.\",\n input: PostgridGetReturnEnvelopeInput,\n output: PostgridGetReturnEnvelopeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,EAClH,CAAC,CAAC,CAAC,S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