@keystrokehq/ramp 0.1.2 → 0.1.3
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/README.md +1 -1
- package/dist/actions/create-department.cjs +1 -1
- package/dist/actions/create-department.cjs.map +1 -1
- package/dist/actions/create-department.d.cts +1 -1
- package/dist/actions/create-department.d.mts +1 -1
- package/dist/actions/create-department.mjs +1 -1
- package/dist/actions/create-department.mjs.map +1 -1
- package/dist/actions/create-inventory-item-accounting-field.cjs +1 -1
- package/dist/actions/create-inventory-item-accounting-field.cjs.map +1 -1
- package/dist/actions/create-inventory-item-accounting-field.d.cts +1 -1
- package/dist/actions/create-inventory-item-accounting-field.d.mts +1 -1
- package/dist/actions/create-inventory-item-accounting-field.mjs +1 -1
- package/dist/actions/create-inventory-item-accounting-field.mjs.map +1 -1
- package/dist/actions/create-memo.cjs +1 -1
- package/dist/actions/create-memo.cjs.map +1 -1
- package/dist/actions/create-memo.d.cts +1 -1
- package/dist/actions/create-memo.d.mts +1 -1
- package/dist/actions/create-memo.mjs +1 -1
- package/dist/actions/create-memo.mjs.map +1 -1
- package/dist/actions/create-mileage-reimbursement.cjs +9 -9
- package/dist/actions/create-mileage-reimbursement.cjs.map +1 -1
- package/dist/actions/create-mileage-reimbursement.d.cts +13 -13
- package/dist/actions/create-mileage-reimbursement.d.mts +13 -13
- package/dist/actions/create-mileage-reimbursement.mjs +9 -9
- package/dist/actions/create-mileage-reimbursement.mjs.map +1 -1
- package/dist/actions/create-new-custom-accounting-field.cjs +1 -1
- package/dist/actions/create-new-custom-accounting-field.cjs.map +1 -1
- package/dist/actions/create-new-custom-accounting-field.d.cts +1 -1
- package/dist/actions/create-new-custom-accounting-field.d.mts +1 -1
- package/dist/actions/create-new-custom-accounting-field.mjs +1 -1
- package/dist/actions/create-new-custom-accounting-field.mjs.map +1 -1
- package/dist/actions/create-tax-code-accounting-field.cjs +1 -1
- package/dist/actions/create-tax-code-accounting-field.cjs.map +1 -1
- package/dist/actions/create-tax-code-accounting-field.d.cts +1 -1
- package/dist/actions/create-tax-code-accounting-field.d.mts +1 -1
- package/dist/actions/create-tax-code-accounting-field.mjs +1 -1
- package/dist/actions/create-tax-code-accounting-field.mjs.map +1 -1
- package/dist/actions/create-user-invite.cjs +1 -1
- package/dist/actions/create-user-invite.cjs.map +1 -1
- package/dist/actions/create-user-invite.d.cts +1 -1
- package/dist/actions/create-user-invite.d.mts +1 -1
- package/dist/actions/create-user-invite.mjs +1 -1
- package/dist/actions/create-user-invite.mjs.map +1 -1
- package/dist/actions/create-webhook-subscription.cjs +3 -3
- package/dist/actions/create-webhook-subscription.cjs.map +1 -1
- package/dist/actions/create-webhook-subscription.d.cts +4 -4
- package/dist/actions/create-webhook-subscription.d.mts +4 -4
- package/dist/actions/create-webhook-subscription.mjs +3 -3
- package/dist/actions/create-webhook-subscription.mjs.map +1 -1
- package/dist/actions/deactivate-user.cjs +1 -1
- package/dist/actions/deactivate-user.cjs.map +1 -1
- package/dist/actions/deactivate-user.d.cts +1 -1
- package/dist/actions/deactivate-user.d.cts.map +1 -1
- package/dist/actions/deactivate-user.d.mts +1 -1
- package/dist/actions/deactivate-user.d.mts.map +1 -1
- package/dist/actions/deactivate-user.mjs +1 -1
- package/dist/actions/deactivate-user.mjs.map +1 -1
- package/dist/actions/delete-accounting-account.cjs +1 -1
- package/dist/actions/delete-accounting-account.cjs.map +1 -1
- package/dist/actions/delete-accounting-account.d.cts +1 -1
- package/dist/actions/delete-accounting-account.d.mts +1 -1
- package/dist/actions/delete-accounting-account.mjs +1 -1
- package/dist/actions/delete-accounting-account.mjs.map +1 -1
- package/dist/actions/delete-accounting-connection.cjs +1 -1
- package/dist/actions/delete-accounting-connection.cjs.map +1 -1
- package/dist/actions/delete-accounting-connection.d.cts +1 -1
- package/dist/actions/delete-accounting-connection.d.mts +1 -1
- package/dist/actions/delete-accounting-connection.mjs +1 -1
- package/dist/actions/delete-accounting-connection.mjs.map +1 -1
- package/dist/actions/delete-accounting-fields.cjs +1 -1
- package/dist/actions/delete-accounting-fields.cjs.map +1 -1
- package/dist/actions/delete-accounting-fields.d.cts +1 -1
- package/dist/actions/delete-accounting-fields.d.mts +1 -1
- package/dist/actions/delete-accounting-fields.mjs +1 -1
- package/dist/actions/delete-accounting-fields.mjs.map +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.cjs +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.cjs.map +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.d.cts +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.d.mts +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.mjs +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.mjs.map +1 -1
- package/dist/actions/delete-accounting-tax-code-options.cjs +1 -1
- package/dist/actions/delete-accounting-tax-code-options.cjs.map +1 -1
- package/dist/actions/delete-accounting-tax-code-options.d.cts +1 -1
- package/dist/actions/delete-accounting-tax-code-options.d.mts +1 -1
- package/dist/actions/delete-accounting-tax-code-options.mjs +1 -1
- package/dist/actions/delete-accounting-tax-code-options.mjs.map +1 -1
- package/dist/actions/delete-accounting-tax-code.cjs +1 -1
- package/dist/actions/delete-accounting-tax-code.cjs.map +1 -1
- package/dist/actions/delete-accounting-tax-code.d.cts +1 -1
- package/dist/actions/delete-accounting-tax-code.d.mts +1 -1
- package/dist/actions/delete-accounting-tax-code.mjs +1 -1
- package/dist/actions/delete-accounting-tax-code.mjs.map +1 -1
- package/dist/actions/delete-accounting-tax-rates.cjs +1 -1
- package/dist/actions/delete-accounting-tax-rates.cjs.map +1 -1
- package/dist/actions/delete-accounting-tax-rates.d.cts +1 -1
- package/dist/actions/delete-accounting-tax-rates.d.mts +1 -1
- package/dist/actions/delete-accounting-tax-rates.mjs +1 -1
- package/dist/actions/delete-accounting-tax-rates.mjs.map +1 -1
- package/dist/actions/delete-accounting-vendors.cjs +1 -1
- package/dist/actions/delete-accounting-vendors.cjs.map +1 -1
- package/dist/actions/delete-accounting-vendors.d.cts +1 -1
- package/dist/actions/delete-accounting-vendors.d.mts +1 -1
- package/dist/actions/delete-accounting-vendors.mjs +1 -1
- package/dist/actions/delete-accounting-vendors.mjs.map +1 -1
- package/dist/actions/delete-custom-field-option.cjs +1 -1
- package/dist/actions/delete-custom-field-option.cjs.map +1 -1
- package/dist/actions/delete-custom-field-option.d.cts +1 -1
- package/dist/actions/delete-custom-field-option.d.mts +1 -1
- package/dist/actions/delete-custom-field-option.mjs +1 -1
- package/dist/actions/delete-custom-field-option.mjs.map +1 -1
- package/dist/actions/delete-inventory-item-field.cjs +1 -1
- package/dist/actions/delete-inventory-item-field.cjs.map +1 -1
- package/dist/actions/delete-inventory-item-field.d.cts +1 -1
- package/dist/actions/delete-inventory-item-field.d.mts +1 -1
- package/dist/actions/delete-inventory-item-field.mjs +1 -1
- package/dist/actions/delete-inventory-item-field.mjs.map +1 -1
- package/dist/actions/delete-spend-allocation-delete-users.cjs +8 -8
- package/dist/actions/delete-spend-allocation-delete-users.cjs.map +1 -1
- package/dist/actions/delete-spend-allocation-delete-users.d.cts +13 -13
- package/dist/actions/delete-spend-allocation-delete-users.d.mts +13 -13
- package/dist/actions/delete-spend-allocation-delete-users.mjs +8 -8
- package/dist/actions/delete-spend-allocation-delete-users.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -1
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +1 -1
- package/dist/actions/delete-webhook.d.mts +1 -1
- package/dist/actions/delete-webhook.mjs +1 -1
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/fetch-accounting-account.cjs +2 -2
- package/dist/actions/fetch-accounting-account.cjs.map +1 -1
- package/dist/actions/fetch-accounting-account.d.cts +2 -2
- package/dist/actions/fetch-accounting-account.d.mts +2 -2
- package/dist/actions/fetch-accounting-account.mjs +2 -2
- package/dist/actions/fetch-accounting-account.mjs.map +1 -1
- package/dist/actions/fetch-accounting-vendor.cjs +2 -2
- package/dist/actions/fetch-accounting-vendor.cjs.map +1 -1
- package/dist/actions/fetch-accounting-vendor.d.cts +2 -2
- package/dist/actions/fetch-accounting-vendor.d.mts +2 -2
- package/dist/actions/fetch-accounting-vendor.mjs +2 -2
- package/dist/actions/fetch-accounting-vendor.mjs.map +1 -1
- package/dist/actions/fetch-custom-accounting-field.cjs +2 -2
- package/dist/actions/fetch-custom-accounting-field.cjs.map +1 -1
- package/dist/actions/fetch-custom-accounting-field.d.cts +2 -2
- package/dist/actions/fetch-custom-accounting-field.d.mts +2 -2
- package/dist/actions/fetch-custom-accounting-field.mjs +2 -2
- package/dist/actions/fetch-custom-accounting-field.mjs.map +1 -1
- package/dist/actions/get-accounting-accounts.cjs +4 -4
- package/dist/actions/get-accounting-accounts.cjs.map +1 -1
- package/dist/actions/get-accounting-accounts.d.cts +4 -4
- package/dist/actions/get-accounting-accounts.d.mts +4 -4
- package/dist/actions/get-accounting-accounts.mjs +4 -4
- package/dist/actions/get-accounting-accounts.mjs.map +1 -1
- package/dist/actions/get-accounting-all-connections.cjs +2 -2
- package/dist/actions/get-accounting-all-connections.cjs.map +1 -1
- package/dist/actions/get-accounting-all-connections.d.cts +2 -2
- package/dist/actions/get-accounting-all-connections.d.mts +2 -2
- package/dist/actions/get-accounting-all-connections.mjs +2 -2
- package/dist/actions/get-accounting-all-connections.mjs.map +1 -1
- package/dist/actions/get-accounting-connection-by-id.cjs +2 -2
- package/dist/actions/get-accounting-connection-by-id.cjs.map +1 -1
- package/dist/actions/get-accounting-connection-by-id.d.cts +2 -2
- package/dist/actions/get-accounting-connection-by-id.d.mts +2 -2
- package/dist/actions/get-accounting-connection-by-id.mjs +2 -2
- package/dist/actions/get-accounting-connection-by-id.mjs.map +1 -1
- package/dist/actions/get-accounting-connection.cjs +2 -2
- package/dist/actions/get-accounting-connection.cjs.map +1 -1
- package/dist/actions/get-accounting-connection.d.cts +2 -2
- package/dist/actions/get-accounting-connection.d.mts +2 -2
- package/dist/actions/get-accounting-connection.mjs +2 -2
- package/dist/actions/get-accounting-connection.mjs.map +1 -1
- package/dist/actions/get-accounting-fields.cjs +3 -3
- package/dist/actions/get-accounting-fields.cjs.map +1 -1
- package/dist/actions/get-accounting-fields.d.cts +3 -3
- package/dist/actions/get-accounting-fields.d.mts +3 -3
- package/dist/actions/get-accounting-fields.mjs +3 -3
- package/dist/actions/get-accounting-fields.mjs.map +1 -1
- package/dist/actions/get-accounting-vendors.cjs +3 -3
- package/dist/actions/get-accounting-vendors.cjs.map +1 -1
- package/dist/actions/get-accounting-vendors.d.cts +3 -3
- package/dist/actions/get-accounting-vendors.d.mts +3 -3
- package/dist/actions/get-accounting-vendors.mjs +3 -3
- package/dist/actions/get-accounting-vendors.mjs.map +1 -1
- package/dist/actions/get-all-transactions.cjs +3 -3
- package/dist/actions/get-all-transactions.cjs.map +1 -1
- package/dist/actions/get-all-transactions.d.cts +3 -3
- package/dist/actions/get-all-transactions.d.mts +3 -3
- package/dist/actions/get-all-transactions.mjs +3 -3
- package/dist/actions/get-all-transactions.mjs.map +1 -1
- package/dist/actions/get-card-vault-resource.cjs +1 -1
- package/dist/actions/get-card-vault-resource.cjs.map +1 -1
- package/dist/actions/get-card-vault-resource.d.cts +1 -1
- package/dist/actions/get-card-vault-resource.d.mts +1 -1
- package/dist/actions/get-card-vault-resource.mjs +1 -1
- package/dist/actions/get-card-vault-resource.mjs.map +1 -1
- package/dist/actions/get-card.cjs +5 -5
- package/dist/actions/get-card.cjs.map +1 -1
- package/dist/actions/get-card.d.cts +5 -5
- package/dist/actions/get-card.d.mts +5 -5
- package/dist/actions/get-card.mjs +5 -5
- package/dist/actions/get-card.mjs.map +1 -1
- package/dist/actions/get-custom-field-option.cjs +1 -1
- package/dist/actions/get-custom-field-option.cjs.map +1 -1
- package/dist/actions/get-custom-field-option.d.cts +1 -1
- package/dist/actions/get-custom-field-option.d.mts +1 -1
- package/dist/actions/get-custom-field-option.mjs +1 -1
- package/dist/actions/get-custom-field-option.mjs.map +1 -1
- package/dist/actions/get-department.cjs +1 -1
- package/dist/actions/get-department.cjs.map +1 -1
- package/dist/actions/get-department.d.cts +1 -1
- package/dist/actions/get-department.d.mts +1 -1
- package/dist/actions/get-department.mjs +1 -1
- package/dist/actions/get-department.mjs.map +1 -1
- package/dist/actions/get-inventory-item-field.cjs +1 -1
- package/dist/actions/get-inventory-item-field.cjs.map +1 -1
- package/dist/actions/get-inventory-item-field.d.cts +1 -1
- package/dist/actions/get-inventory-item-field.d.mts +1 -1
- package/dist/actions/get-inventory-item-field.mjs +1 -1
- package/dist/actions/get-inventory-item-field.mjs.map +1 -1
- package/dist/actions/get-memo.cjs +1 -1
- package/dist/actions/get-memo.cjs.map +1 -1
- package/dist/actions/get-memo.d.cts +1 -1
- package/dist/actions/get-memo.d.mts +1 -1
- package/dist/actions/get-memo.mjs +1 -1
- package/dist/actions/get-memo.mjs.map +1 -1
- package/dist/actions/get-reimbursement.cjs +5 -5
- package/dist/actions/get-reimbursement.cjs.map +1 -1
- package/dist/actions/get-reimbursement.d.cts +7 -7
- package/dist/actions/get-reimbursement.d.mts +7 -7
- package/dist/actions/get-reimbursement.mjs +5 -5
- package/dist/actions/get-reimbursement.mjs.map +1 -1
- package/dist/actions/get-spend-limit.cjs +14 -14
- package/dist/actions/get-spend-limit.cjs.map +1 -1
- package/dist/actions/get-spend-limit.d.cts +19 -19
- package/dist/actions/get-spend-limit.d.mts +19 -19
- package/dist/actions/get-spend-limit.mjs +14 -14
- package/dist/actions/get-spend-limit.mjs.map +1 -1
- package/dist/actions/get-statement.cjs +1 -1
- package/dist/actions/get-statement.cjs.map +1 -1
- package/dist/actions/get-statement.d.cts +1 -1
- package/dist/actions/get-statement.d.mts +1 -1
- package/dist/actions/get-statement.mjs +1 -1
- package/dist/actions/get-statement.mjs.map +1 -1
- package/dist/actions/get-transaction.cjs +1 -1
- package/dist/actions/get-transaction.cjs.map +1 -1
- package/dist/actions/get-transaction.d.cts +1 -1
- package/dist/actions/get-transaction.d.mts +1 -1
- package/dist/actions/get-transaction.mjs +1 -1
- package/dist/actions/get-transaction.mjs.map +1 -1
- package/dist/actions/get-user.cjs +2 -2
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +2 -2
- package/dist/actions/get-user.d.mts +2 -2
- package/dist/actions/get-user.mjs +2 -2
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-users-deferred-status.cjs +3 -3
- package/dist/actions/get-users-deferred-status.cjs.map +1 -1
- package/dist/actions/get-users-deferred-status.d.cts +3 -3
- package/dist/actions/get-users-deferred-status.d.mts +3 -3
- package/dist/actions/get-users-deferred-status.mjs +3 -3
- package/dist/actions/get-users-deferred-status.mjs.map +1 -1
- package/dist/actions/get-vendor.cjs +3 -3
- package/dist/actions/get-vendor.cjs.map +1 -1
- package/dist/actions/get-vendor.d.cts +6 -6
- package/dist/actions/get-vendor.d.mts +6 -6
- package/dist/actions/get-vendor.mjs +3 -3
- package/dist/actions/get-vendor.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -1
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +1 -1
- package/dist/actions/get-webhook.d.mts +1 -1
- package/dist/actions/get-webhook.mjs +1 -1
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/issue-virtual-card.cjs +3 -3
- package/dist/actions/issue-virtual-card.cjs.map +1 -1
- package/dist/actions/issue-virtual-card.d.cts +3 -3
- package/dist/actions/issue-virtual-card.d.mts +3 -3
- package/dist/actions/issue-virtual-card.mjs +3 -3
- package/dist/actions/issue-virtual-card.mjs.map +1 -1
- package/dist/actions/list-accounting-inventory-item-options.cjs +3 -3
- package/dist/actions/list-accounting-inventory-item-options.cjs.map +1 -1
- package/dist/actions/list-accounting-inventory-item-options.d.cts +3 -3
- package/dist/actions/list-accounting-inventory-item-options.d.mts +3 -3
- package/dist/actions/list-accounting-inventory-item-options.mjs +3 -3
- package/dist/actions/list-accounting-inventory-item-options.mjs.map +1 -1
- package/dist/actions/list-accounting-tax-rates.cjs +3 -3
- package/dist/actions/list-accounting-tax-rates.cjs.map +1 -1
- package/dist/actions/list-accounting-tax-rates.d.cts +3 -3
- package/dist/actions/list-accounting-tax-rates.d.mts +3 -3
- package/dist/actions/list-accounting-tax-rates.mjs +3 -3
- package/dist/actions/list-accounting-tax-rates.mjs.map +1 -1
- package/dist/actions/list-cards.cjs +7 -7
- package/dist/actions/list-cards.cjs.map +1 -1
- package/dist/actions/list-cards.d.cts +7 -7
- package/dist/actions/list-cards.d.mts +7 -7
- package/dist/actions/list-cards.mjs +7 -7
- package/dist/actions/list-cards.mjs.map +1 -1
- package/dist/actions/list-departments.cjs +3 -3
- package/dist/actions/list-departments.cjs.map +1 -1
- package/dist/actions/list-departments.d.cts +3 -3
- package/dist/actions/list-departments.d.mts +3 -3
- package/dist/actions/list-departments.mjs +3 -3
- package/dist/actions/list-departments.mjs.map +1 -1
- package/dist/actions/list-memos.cjs +3 -3
- package/dist/actions/list-memos.cjs.map +1 -1
- package/dist/actions/list-memos.d.cts +3 -3
- package/dist/actions/list-memos.d.mts +3 -3
- package/dist/actions/list-memos.mjs +3 -3
- package/dist/actions/list-memos.mjs.map +1 -1
- package/dist/actions/list-reimbursements.cjs +7 -7
- package/dist/actions/list-reimbursements.cjs.map +1 -1
- package/dist/actions/list-reimbursements.d.cts +9 -9
- package/dist/actions/list-reimbursements.d.mts +9 -9
- package/dist/actions/list-reimbursements.mjs +7 -7
- package/dist/actions/list-reimbursements.mjs.map +1 -1
- package/dist/actions/list-statements.cjs +6 -6
- package/dist/actions/list-statements.cjs.map +1 -1
- package/dist/actions/list-statements.d.cts +15 -15
- package/dist/actions/list-statements.d.mts +15 -15
- package/dist/actions/list-statements.mjs +6 -6
- package/dist/actions/list-statements.mjs.map +1 -1
- package/dist/actions/list-users.cjs +4 -4
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +4 -4
- package/dist/actions/list-users.d.mts +4 -4
- package/dist/actions/list-users.mjs +4 -4
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/list-vendors-accounts.cjs +3 -3
- package/dist/actions/list-vendors-accounts.cjs.map +1 -1
- package/dist/actions/list-vendors-accounts.d.cts +3 -3
- package/dist/actions/list-vendors-accounts.d.mts +3 -3
- package/dist/actions/list-vendors-accounts.mjs +3 -3
- package/dist/actions/list-vendors-accounts.mjs.map +1 -1
- package/dist/actions/list-vendors-contacts.cjs +3 -3
- package/dist/actions/list-vendors-contacts.cjs.map +1 -1
- package/dist/actions/list-vendors-contacts.d.cts +3 -3
- package/dist/actions/list-vendors-contacts.d.mts +3 -3
- package/dist/actions/list-vendors-contacts.mjs +3 -3
- package/dist/actions/list-vendors-contacts.mjs.map +1 -1
- package/dist/actions/list-vendors-credits.cjs +9 -9
- package/dist/actions/list-vendors-credits.cjs.map +1 -1
- package/dist/actions/list-vendors-credits.d.cts +21 -21
- package/dist/actions/list-vendors-credits.d.mts +21 -21
- package/dist/actions/list-vendors-credits.mjs +9 -9
- package/dist/actions/list-vendors-credits.mjs.map +1 -1
- package/dist/actions/list-vendors.cjs +5 -5
- package/dist/actions/list-vendors.cjs.map +1 -1
- package/dist/actions/list-vendors.d.cts +6 -6
- package/dist/actions/list-vendors.d.mts +6 -6
- package/dist/actions/list-vendors.mjs +5 -5
- package/dist/actions/list-vendors.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +2 -2
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +2 -2
- package/dist/actions/list-webhooks.d.mts +2 -2
- package/dist/actions/list-webhooks.mjs +2 -2
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/options-for-custom-accounting-field.cjs +3 -3
- package/dist/actions/options-for-custom-accounting-field.cjs.map +1 -1
- package/dist/actions/options-for-custom-accounting-field.d.cts +3 -3
- package/dist/actions/options-for-custom-accounting-field.d.mts +3 -3
- package/dist/actions/options-for-custom-accounting-field.mjs +3 -3
- package/dist/actions/options-for-custom-accounting-field.mjs.map +1 -1
- package/dist/actions/patch-accounting-connection.cjs +2 -2
- package/dist/actions/patch-accounting-connection.cjs.map +1 -1
- package/dist/actions/patch-accounting-connection.d.cts +2 -2
- package/dist/actions/patch-accounting-connection.d.mts +2 -2
- package/dist/actions/patch-accounting-connection.mjs +2 -2
- package/dist/actions/patch-accounting-connection.mjs.map +1 -1
- package/dist/actions/patch-card-resource.cjs +1 -1
- package/dist/actions/patch-card-resource.cjs.map +1 -1
- package/dist/actions/patch-card-resource.d.cts +1 -1
- package/dist/actions/patch-card-resource.d.mts +1 -1
- package/dist/actions/patch-card-resource.mjs +1 -1
- package/dist/actions/patch-card-resource.mjs.map +1 -1
- package/dist/actions/patch-custom-field-option.cjs +1 -1
- package/dist/actions/patch-custom-field-option.cjs.map +1 -1
- package/dist/actions/patch-custom-field-option.d.cts +1 -1
- package/dist/actions/patch-custom-field-option.d.mts +1 -1
- package/dist/actions/patch-custom-field-option.mjs +1 -1
- package/dist/actions/patch-custom-field-option.mjs.map +1 -1
- package/dist/actions/patch-gl-account-resource.cjs +2 -2
- package/dist/actions/patch-gl-account-resource.cjs.map +1 -1
- package/dist/actions/patch-gl-account-resource.d.cts +2 -2
- package/dist/actions/patch-gl-account-resource.d.mts +2 -2
- package/dist/actions/patch-gl-account-resource.mjs +2 -2
- package/dist/actions/patch-gl-account-resource.mjs.map +1 -1
- package/dist/actions/patch-inventory-item-field.cjs +1 -1
- package/dist/actions/patch-inventory-item-field.cjs.map +1 -1
- package/dist/actions/patch-inventory-item-field.d.cts +1 -1
- package/dist/actions/patch-inventory-item-field.d.mts +1 -1
- package/dist/actions/patch-inventory-item-field.mjs +1 -1
- package/dist/actions/patch-inventory-item-field.mjs.map +1 -1
- package/dist/actions/post-accounting-accounts.cjs +4 -4
- package/dist/actions/post-accounting-accounts.cjs.map +1 -1
- package/dist/actions/post-accounting-accounts.d.cts +5 -4
- package/dist/actions/post-accounting-accounts.d.mts +5 -4
- package/dist/actions/post-accounting-accounts.mjs +4 -4
- package/dist/actions/post-accounting-accounts.mjs.map +1 -1
- package/dist/actions/post-accounting-connection.cjs +2 -2
- package/dist/actions/post-accounting-connection.cjs.map +1 -1
- package/dist/actions/post-accounting-connection.d.cts +2 -2
- package/dist/actions/post-accounting-connection.d.mts +2 -2
- package/dist/actions/post-accounting-connection.mjs +2 -2
- package/dist/actions/post-accounting-connection.mjs.map +1 -1
- package/dist/actions/post-accounting-vendors.cjs +4 -4
- package/dist/actions/post-accounting-vendors.cjs.map +1 -1
- package/dist/actions/post-accounting-vendors.d.cts +5 -4
- package/dist/actions/post-accounting-vendors.d.mts +5 -4
- package/dist/actions/post-accounting-vendors.mjs +4 -4
- package/dist/actions/post-accounting-vendors.mjs.map +1 -1
- package/dist/actions/post-inventory-item-options.cjs +3 -3
- package/dist/actions/post-inventory-item-options.cjs.map +1 -1
- package/dist/actions/post-inventory-item-options.d.cts +4 -3
- package/dist/actions/post-inventory-item-options.d.mts +4 -3
- package/dist/actions/post-inventory-item-options.mjs +3 -3
- package/dist/actions/post-inventory-item-options.mjs.map +1 -1
- package/dist/actions/post-physical-card.cjs +2 -2
- package/dist/actions/post-physical-card.cjs.map +1 -1
- package/dist/actions/post-physical-card.d.cts +3 -3
- package/dist/actions/post-physical-card.d.mts +3 -3
- package/dist/actions/post-physical-card.mjs +2 -2
- package/dist/actions/post-physical-card.mjs.map +1 -1
- package/dist/actions/reactivate-accounting-connection.cjs +2 -2
- package/dist/actions/reactivate-accounting-connection.cjs.map +1 -1
- package/dist/actions/reactivate-accounting-connection.d.cts +2 -2
- package/dist/actions/reactivate-accounting-connection.d.mts +2 -2
- package/dist/actions/reactivate-accounting-connection.mjs +2 -2
- package/dist/actions/reactivate-accounting-connection.mjs.map +1 -1
- package/dist/actions/reactivate-user.cjs +1 -1
- package/dist/actions/reactivate-user.cjs.map +1 -1
- package/dist/actions/reactivate-user.d.cts +1 -1
- package/dist/actions/reactivate-user.d.cts.map +1 -1
- package/dist/actions/reactivate-user.d.mts +1 -1
- package/dist/actions/reactivate-user.d.mts.map +1 -1
- package/dist/actions/reactivate-user.mjs +1 -1
- package/dist/actions/reactivate-user.mjs.map +1 -1
- package/dist/actions/submit-reimbursement-receipt.cjs +9 -9
- package/dist/actions/submit-reimbursement-receipt.cjs.map +1 -1
- package/dist/actions/submit-reimbursement-receipt.d.cts +13 -13
- package/dist/actions/submit-reimbursement-receipt.d.mts +13 -13
- package/dist/actions/submit-reimbursement-receipt.mjs +9 -9
- package/dist/actions/submit-reimbursement-receipt.mjs.map +1 -1
- package/dist/actions/suspend-card.cjs +1 -1
- package/dist/actions/suspend-card.cjs.map +1 -1
- package/dist/actions/suspend-card.d.cts +1 -1
- package/dist/actions/suspend-card.d.mts +1 -1
- package/dist/actions/suspend-card.mjs +1 -1
- package/dist/actions/suspend-card.mjs.map +1 -1
- package/dist/actions/terminate-card.cjs +1 -1
- package/dist/actions/terminate-card.cjs.map +1 -1
- package/dist/actions/terminate-card.d.cts +1 -1
- package/dist/actions/terminate-card.d.mts +1 -1
- package/dist/actions/terminate-card.mjs +1 -1
- package/dist/actions/terminate-card.mjs.map +1 -1
- package/dist/actions/update-accounting-field.cjs +1 -1
- package/dist/actions/update-accounting-field.cjs.map +1 -1
- package/dist/actions/update-accounting-field.d.cts +1 -1
- package/dist/actions/update-accounting-field.d.mts +1 -1
- package/dist/actions/update-accounting-field.mjs +1 -1
- package/dist/actions/update-accounting-field.mjs.map +1 -1
- package/dist/actions/update-accounting-inventory-item-options.cjs +1 -1
- package/dist/actions/update-accounting-inventory-item-options.cjs.map +1 -1
- package/dist/actions/update-accounting-inventory-item-options.d.cts +1 -1
- package/dist/actions/update-accounting-inventory-item-options.d.mts +1 -1
- package/dist/actions/update-accounting-inventory-item-options.mjs +1 -1
- package/dist/actions/update-accounting-inventory-item-options.mjs.map +1 -1
- package/dist/actions/update-accounting-tax-code-options.cjs +1 -1
- package/dist/actions/update-accounting-tax-code-options.cjs.map +1 -1
- package/dist/actions/update-accounting-tax-code-options.d.cts +1 -1
- package/dist/actions/update-accounting-tax-code-options.d.mts +1 -1
- package/dist/actions/update-accounting-tax-code-options.mjs +1 -1
- package/dist/actions/update-accounting-tax-code-options.mjs.map +1 -1
- package/dist/actions/update-accounting-tax-code.cjs +1 -1
- package/dist/actions/update-accounting-tax-code.cjs.map +1 -1
- package/dist/actions/update-accounting-tax-code.d.cts +1 -1
- package/dist/actions/update-accounting-tax-code.d.mts +1 -1
- package/dist/actions/update-accounting-tax-code.mjs +1 -1
- package/dist/actions/update-accounting-tax-code.mjs.map +1 -1
- package/dist/actions/update-accounting-tax-rate.cjs +1 -1
- package/dist/actions/update-accounting-tax-rate.cjs.map +1 -1
- package/dist/actions/update-accounting-tax-rate.d.cts +1 -1
- package/dist/actions/update-accounting-tax-rate.d.mts +1 -1
- package/dist/actions/update-accounting-tax-rate.mjs +1 -1
- package/dist/actions/update-accounting-tax-rate.mjs.map +1 -1
- package/dist/actions/update-accounting-vendor.cjs +2 -2
- package/dist/actions/update-accounting-vendor.cjs.map +1 -1
- package/dist/actions/update-accounting-vendor.d.cts +2 -2
- package/dist/actions/update-accounting-vendor.d.mts +2 -2
- package/dist/actions/update-accounting-vendor.mjs +2 -2
- package/dist/actions/update-accounting-vendor.mjs.map +1 -1
- package/dist/actions/update-card-limit.cjs +4 -4
- package/dist/actions/update-card-limit.cjs.map +1 -1
- package/dist/actions/update-card-limit.d.cts +4 -4
- package/dist/actions/update-card-limit.d.mts +4 -4
- package/dist/actions/update-card-limit.mjs +4 -4
- package/dist/actions/update-card-limit.mjs.map +1 -1
- package/dist/actions/update-department.cjs +1 -1
- package/dist/actions/update-department.cjs.map +1 -1
- package/dist/actions/update-department.d.cts +1 -1
- package/dist/actions/update-department.d.mts +1 -1
- package/dist/actions/update-department.mjs +1 -1
- package/dist/actions/update-department.mjs.map +1 -1
- package/dist/actions/update-limits.cjs +9 -9
- package/dist/actions/update-limits.cjs.map +1 -1
- package/dist/actions/update-limits.d.cts +15 -14
- package/dist/actions/update-limits.d.mts +15 -14
- package/dist/actions/update-limits.mjs +9 -9
- package/dist/actions/update-limits.mjs.map +1 -1
- package/dist/actions/update-user.cjs +1 -1
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +1 -1
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +1 -1
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +1 -1
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/actions/upload-new-options.cjs +3 -3
- package/dist/actions/upload-new-options.cjs.map +1 -1
- package/dist/actions/upload-new-options.d.cts +4 -3
- package/dist/actions/upload-new-options.d.mts +4 -3
- package/dist/actions/upload-new-options.mjs +3 -3
- package/dist/actions/upload-new-options.mjs.map +1 -1
- package/dist/actions/upload-tax-code-options.cjs +3 -3
- package/dist/actions/upload-tax-code-options.cjs.map +1 -1
- package/dist/actions/upload-tax-code-options.d.cts +4 -3
- package/dist/actions/upload-tax-code-options.d.mts +4 -3
- package/dist/actions/upload-tax-code-options.mjs +3 -3
- package/dist/actions/upload-tax-code-options.mjs.map +1 -1
- package/dist/actions/upload-tax-rates.cjs +3 -3
- package/dist/actions/upload-tax-rates.cjs.map +1 -1
- package/dist/actions/upload-tax-rates.d.cts +4 -3
- package/dist/actions/upload-tax-rates.d.mts +4 -3
- package/dist/actions/upload-tax-rates.mjs +3 -3
- package/dist/actions/upload-tax-rates.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-inventory-item-options.cjs","names":["z","action"],"sources":["../../src/actions/post-inventory-item-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostInventoryItemOptionsInput = z.object({\n options: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the inventory item (from your ERP system)\"),\n name: z.string().describe(\"Display name of the inventory item\"),\n}).describe(\"An inventory item option to be uploaded.\")).describe(\"A list of inventory item options to upload. Maximum 500 items per API call. There must be an active inventory item accounting field for the accounting connection.\"),\n}).describe(\"Request to upload inventory item options to Ramp.\");\nconst RampPostInventoryItemOptions_InventoryItemOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of inventory item in ERP system\").nullable(),\n name: z.string().describe(\"Display name of the inventory item\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this inventory item\").nullable(),\n is_active: z.boolean().describe(\"Whether the inventory item is active\").nullable(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item is associated with\").nullable(),\n}).describe(\"A successfully uploaded inventory item option with full details.\");\nexport const RampPostInventoryItemOptionsOutput = z.object({\n options: z.array(RampPostInventoryItemOptions_InventoryItemOutputSchema).describe(\"A list of inventory item options that were successfully uploaded\"),\n}).describe(\"Response from uploading inventory item options.\");\n\nexport const rampPostInventoryItemOptions = action(\"RAMP_POST_INVENTORY_ITEM_OPTIONS\", {\n slug: \"ramp-post-inventory-item-options\",\n name: \"Upload Inventory Item Options\",\n description: \"Tool to upload inventory item options for an active inventory item accounting field. Use when you need to create inventory items in Ramp's accounting system.\",\n input: RampPostInventoryItemOptionsInput,\n output: RampPostInventoryItemOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC1B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AAChE,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,CAAC,SAAS,oKAAoK,
|
|
1
|
+
{"version":3,"file":"post-inventory-item-options.cjs","names":["z","action"],"sources":["../../src/actions/post-inventory-item-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostInventoryItemOptionsInput = z.object({\n options: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the inventory item (from your ERP system)\"),\n name: z.string().describe(\"Display name of the inventory item\"),\n}).passthrough().describe(\"An inventory item option to be uploaded.\")).describe(\"A list of inventory item options to upload. Maximum 500 items per API call. There must be an active inventory item accounting field for the accounting connection.\"),\n}).describe(\"Request to upload inventory item options to Ramp.\");\nconst RampPostInventoryItemOptions_InventoryItemOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of inventory item in ERP system\").nullable(),\n name: z.string().describe(\"Display name of the inventory item\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this inventory item\").nullable(),\n is_active: z.boolean().describe(\"Whether the inventory item is active\").nullable(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item is associated with\").nullable(),\n}).passthrough().describe(\"A successfully uploaded inventory item option with full details.\");\nexport const RampPostInventoryItemOptionsOutput = z.object({\n options: z.array(RampPostInventoryItemOptions_InventoryItemOutputSchema).describe(\"A list of inventory item options that were successfully uploaded\"),\n}).passthrough().describe(\"Response from uploading inventory item options.\");\n\nexport const rampPostInventoryItemOptions = action(\"RAMP_POST_INVENTORY_ITEM_OPTIONS\", {\n slug: \"ramp-post-inventory-item-options\",\n name: \"Upload Inventory Item Options\",\n description: \"Tool to upload inventory item options for an active inventory item accounting field. Use when you need to create inventory items in Ramp's accounting system.\",\n input: RampPostInventoryItemOptionsInput,\n output: RampPostInventoryItemOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC1B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,CAAC,SAAS,oKAAoK,EACpP,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAC5F,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,kEAAkE,EACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ declare const RampPostInventoryItemOptionsInput: z.ZodObject<{
|
|
|
5
5
|
options: z.ZodArray<z.ZodObject<{
|
|
6
6
|
id: z.ZodString;
|
|
7
7
|
name: z.ZodString;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>>;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const RampPostInventoryItemOptionsOutput: z.ZodObject<{
|
|
11
11
|
options: z.ZodArray<z.ZodObject<{
|
|
@@ -14,10 +14,11 @@ declare const RampPostInventoryItemOptionsOutput: z.ZodObject<{
|
|
|
14
14
|
ramp_id: z.ZodNullable<z.ZodString>;
|
|
15
15
|
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
16
16
|
accounting_connection_id: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const rampPostInventoryItemOptions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
options: {
|
|
21
|
+
[x: string]: unknown;
|
|
21
22
|
id: string;
|
|
22
23
|
name: string;
|
|
23
24
|
}[];
|
|
@@ -5,7 +5,7 @@ declare const RampPostInventoryItemOptionsInput: z.ZodObject<{
|
|
|
5
5
|
options: z.ZodArray<z.ZodObject<{
|
|
6
6
|
id: z.ZodString;
|
|
7
7
|
name: z.ZodString;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>>;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
10
|
declare const RampPostInventoryItemOptionsOutput: z.ZodObject<{
|
|
11
11
|
options: z.ZodArray<z.ZodObject<{
|
|
@@ -14,10 +14,11 @@ declare const RampPostInventoryItemOptionsOutput: z.ZodObject<{
|
|
|
14
14
|
ramp_id: z.ZodNullable<z.ZodString>;
|
|
15
15
|
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
16
16
|
accounting_connection_id: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const rampPostInventoryItemOptions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
options: {
|
|
21
|
+
[x: string]: unknown;
|
|
21
22
|
id: string;
|
|
22
23
|
name: string;
|
|
23
24
|
}[];
|
|
@@ -4,20 +4,20 @@ import { z } from "zod";
|
|
|
4
4
|
const RampPostInventoryItemOptionsInput = z.object({ options: z.array(z.object({
|
|
5
5
|
id: z.string().describe("Unique identifier for the inventory item (from your ERP system)"),
|
|
6
6
|
name: z.string().describe("Display name of the inventory item")
|
|
7
|
-
}).describe("An inventory item option to be uploaded.")).describe("A list of inventory item options to upload. Maximum 500 items per API call. There must be an active inventory item accounting field for the accounting connection.") }).describe("Request to upload inventory item options to Ramp.");
|
|
7
|
+
}).passthrough().describe("An inventory item option to be uploaded.")).describe("A list of inventory item options to upload. Maximum 500 items per API call. There must be an active inventory item accounting field for the accounting connection.") }).describe("Request to upload inventory item options to Ramp.");
|
|
8
8
|
const RampPostInventoryItemOptions_InventoryItemOutputSchema = z.object({
|
|
9
9
|
id: z.string().describe("Remote/external ID of inventory item in ERP system").nullable(),
|
|
10
10
|
name: z.string().describe("Display name of the inventory item").nullable(),
|
|
11
11
|
ramp_id: z.string().describe("Ramp's unique identifier for this inventory item").nullable(),
|
|
12
12
|
is_active: z.boolean().describe("Whether the inventory item is active").nullable(),
|
|
13
13
|
accounting_connection_id: z.string().describe("ID of the accounting connection that the inventory item is associated with").nullable()
|
|
14
|
-
}).describe("A successfully uploaded inventory item option with full details.");
|
|
14
|
+
}).passthrough().describe("A successfully uploaded inventory item option with full details.");
|
|
15
15
|
const rampPostInventoryItemOptions = action("RAMP_POST_INVENTORY_ITEM_OPTIONS", {
|
|
16
16
|
slug: "ramp-post-inventory-item-options",
|
|
17
17
|
name: "Upload Inventory Item Options",
|
|
18
18
|
description: "Tool to upload inventory item options for an active inventory item accounting field. Use when you need to create inventory items in Ramp's accounting system.",
|
|
19
19
|
input: RampPostInventoryItemOptionsInput,
|
|
20
|
-
output: z.object({ options: z.array(RampPostInventoryItemOptions_InventoryItemOutputSchema).describe("A list of inventory item options that were successfully uploaded") }).describe("Response from uploading inventory item options.")
|
|
20
|
+
output: z.object({ options: z.array(RampPostInventoryItemOptions_InventoryItemOutputSchema).describe("A list of inventory item options that were successfully uploaded") }).passthrough().describe("Response from uploading inventory item options.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { rampPostInventoryItemOptions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-inventory-item-options.mjs","names":[],"sources":["../../src/actions/post-inventory-item-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostInventoryItemOptionsInput = z.object({\n options: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the inventory item (from your ERP system)\"),\n name: z.string().describe(\"Display name of the inventory item\"),\n}).describe(\"An inventory item option to be uploaded.\")).describe(\"A list of inventory item options to upload. Maximum 500 items per API call. There must be an active inventory item accounting field for the accounting connection.\"),\n}).describe(\"Request to upload inventory item options to Ramp.\");\nconst RampPostInventoryItemOptions_InventoryItemOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of inventory item in ERP system\").nullable(),\n name: z.string().describe(\"Display name of the inventory item\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this inventory item\").nullable(),\n is_active: z.boolean().describe(\"Whether the inventory item is active\").nullable(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item is associated with\").nullable(),\n}).describe(\"A successfully uploaded inventory item option with full details.\");\nexport const RampPostInventoryItemOptionsOutput = z.object({\n options: z.array(RampPostInventoryItemOptions_InventoryItemOutputSchema).describe(\"A list of inventory item options that were successfully uploaded\"),\n}).describe(\"Response from uploading inventory item options.\");\n\nexport const rampPostInventoryItemOptions = action(\"RAMP_POST_INVENTORY_ITEM_OPTIONS\", {\n slug: \"ramp-post-inventory-item-options\",\n name: \"Upload Inventory Item Options\",\n description: \"Tool to upload inventory item options for an active inventory item accounting field. Use when you need to create inventory items in Ramp's accounting system.\",\n input: RampPostInventoryItemOptionsInput,\n output: RampPostInventoryItemOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO,EACxD,SAAS,EAAE,MAAM,EAAE,OAAO;CAC1B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AAChE,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,CAAC,SAAS,oKAAoK,
|
|
1
|
+
{"version":3,"file":"post-inventory-item-options.mjs","names":[],"sources":["../../src/actions/post-inventory-item-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostInventoryItemOptionsInput = z.object({\n options: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the inventory item (from your ERP system)\"),\n name: z.string().describe(\"Display name of the inventory item\"),\n}).passthrough().describe(\"An inventory item option to be uploaded.\")).describe(\"A list of inventory item options to upload. Maximum 500 items per API call. There must be an active inventory item accounting field for the accounting connection.\"),\n}).describe(\"Request to upload inventory item options to Ramp.\");\nconst RampPostInventoryItemOptions_InventoryItemOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of inventory item in ERP system\").nullable(),\n name: z.string().describe(\"Display name of the inventory item\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this inventory item\").nullable(),\n is_active: z.boolean().describe(\"Whether the inventory item is active\").nullable(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item is associated with\").nullable(),\n}).passthrough().describe(\"A successfully uploaded inventory item option with full details.\");\nexport const RampPostInventoryItemOptionsOutput = z.object({\n options: z.array(RampPostInventoryItemOptions_InventoryItemOutputSchema).describe(\"A list of inventory item options that were successfully uploaded\"),\n}).passthrough().describe(\"Response from uploading inventory item options.\");\n\nexport const rampPostInventoryItemOptions = action(\"RAMP_POST_INVENTORY_ITEM_OPTIONS\", {\n slug: \"ramp-post-inventory-item-options\",\n name: \"Upload Inventory Item Options\",\n description: \"Tool to upload inventory item options for an active inventory item accounting field. Use when you need to create inventory items in Ramp's accounting system.\",\n input: RampPostInventoryItemOptionsInput,\n output: RampPostInventoryItemOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO,EACxD,SAAS,EAAE,MAAM,EAAE,OAAO;CAC1B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,CAAC,SAAS,oKAAoK,EACpP,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAK5F,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,SAAS,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,kEAAkE,EACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -41,11 +41,11 @@ const RampPostPhysicalCardInput = zod.z.object({
|
|
|
41
41
|
blocked_mcc_codes: zod.z.array(zod.z.string()).describe("List of blocked merchant category codes.").optional(),
|
|
42
42
|
categories_blacklist: zod.z.array(zod.z.number().int()).describe("List of blocked merchant category codes (blacklist).").optional(),
|
|
43
43
|
categories_whitelist: zod.z.array(zod.z.number().int()).describe("List of allowed merchant category codes (whitelist).").optional(),
|
|
44
|
-
card_accounting_rules: zod.z.array(zod.z.
|
|
44
|
+
card_accounting_rules: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Card accounting rules for the spending restrictions.").optional(),
|
|
45
45
|
transaction_amount_limit: zod.z.union([zod.z.number().int(), zod.z.number()]).optional()
|
|
46
46
|
}).describe("Spending restrictions for the physical card.").optional()
|
|
47
47
|
}).describe("Request model for creating a physical card.");
|
|
48
|
-
const RampPostPhysicalCardOutput = zod.z.object({ id: zod.z.string().describe("Unique identifier (UUID) of the deferred task. Use this ID to check the status via GET /developer/v1/cards/deferred/status/{task_id}").nullable() }).describe("Response model containing the deferred task ID for physical card creation.");
|
|
48
|
+
const RampPostPhysicalCardOutput = zod.z.object({ id: zod.z.string().describe("Unique identifier (UUID) of the deferred task. Use this ID to check the status via GET /developer/v1/cards/deferred/status/{task_id}").nullable() }).passthrough().describe("Response model containing the deferred task ID for physical card creation.");
|
|
49
49
|
const rampPostPhysicalCard = require_action.action("RAMP_POST_PHYSICAL_CARD", {
|
|
50
50
|
slug: "ramp-post-physical-card",
|
|
51
51
|
name: "Create Physical Card",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-physical-card.cjs","names":["z","action"],"sources":["../../src/actions/post-physical-card.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostPhysicalCardInput = z.object({\n user_id: z.string().describe(\"Unique identifier (UUID) of the card owner. This user will be assigned as the cardholder.\"),\n entity_id: z.string().describe(\"Business entity UUID to associate with the card. If not provided, defaults to entity associated with user's location.\").optional(),\n fulfillment: z.object({\n shipping: z.object({\n recipient_address: z.object({\n city: z.string().describe(\"City of the shipping address.\"),\n state: z.string().describe(\"State or province code (e.g., 'NY', 'CA', 'TX').\"),\n country: z.string().describe(\"Country code (e.g., 'US'). Typically 'US' for Ramp cards.\"),\n address1: z.string().describe(\"Primary street address line.\"),\n address2: z.string().describe(\"Secondary address line (apartment, suite, etc.).\").optional(),\n last_name: z.string().describe(\"Last name of the card recipient.\"),\n first_name: z.string().describe(\"First name of the card recipient.\"),\n postal_code: z.string().describe(\"Postal or ZIP code.\"),\n}).describe(\"Address where the physical card will be shipped.\"),\n}).describe(\"Shipping information for the physical card.\"),\n cardholder_uuid: z.string().describe(\"UUID of the cardholder. If not provided, defaults to the user_id.\").optional(),\n card_personalization: z.object({\n text: z.string().describe(\"Custom text to be printed on the card (if supported by card program).\").optional(),\n}).describe(\"Card personalization details for the physical card.\").optional(),\n}).describe(\"Fulfillment details for the physical card.\").optional(),\n display_name: z.string().describe(\"Cosmetic display name for the card (e.g., 'Business Travel Card', 'T&E'). Required by the API.\"),\n is_temporary: z.boolean().default(false).describe(\"Set to true to create a temporary card. Defaults to false.\").optional(),\n card_program_id: z.string().describe(\"Card program ID to use for the card. One of spending_restrictions or card_program_id must be provided.\").optional(),\n idempotency_key: z.string().describe(\"Unique value to recognize subsequent retries of the same request. Use a random UUID to avoid collisions.\"),\n spending_restrictions: z.object({\n amount: z.union([z.number().int(), z.number()]),\n currency: z.string().describe(\"Currency code for the spending limit (e.g., 'USD'). Defaults to organization's currency if not specified.\").optional(),\n interval: z.enum([\"DAILY\", \"WEEKLY\", \"MONTHLY\", \"QUARTERLY\", \"YEARLY\", \"TOTAL\"]).describe(\"Spending limit interval for the card.\"),\n lock_date: z.string().describe(\"Date when the card will automatically lock (format: ISO 8601 or YYYY-MM-DD).\").optional(),\n policy_id: z.string().describe(\"Policy ID to apply to the card spending restrictions.\").optional(),\n categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes (MCC). Empty list means no category restrictions.\").optional(),\n vendor_blacklist: z.array(z.string()).describe(\"List of blocked vendor IDs (blacklist).\").optional(),\n vendor_whitelist: z.array(z.string()).describe(\"List of allowed vendor IDs (whitelist).\").optional(),\n blocked_mcc_codes: z.array(z.string()).describe(\"List of blocked merchant category codes.\").optional(),\n categories_blacklist: z.array(z.number().int()).describe(\"List of blocked merchant category codes (blacklist).\").optional(),\n categories_whitelist: z.array(z.number().int()).describe(\"List of allowed merchant category codes (whitelist).\").optional(),\n card_accounting_rules: z.array(z.
|
|
1
|
+
{"version":3,"file":"post-physical-card.cjs","names":["z","action"],"sources":["../../src/actions/post-physical-card.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostPhysicalCardInput = z.object({\n user_id: z.string().describe(\"Unique identifier (UUID) of the card owner. This user will be assigned as the cardholder.\"),\n entity_id: z.string().describe(\"Business entity UUID to associate with the card. If not provided, defaults to entity associated with user's location.\").optional(),\n fulfillment: z.object({\n shipping: z.object({\n recipient_address: z.object({\n city: z.string().describe(\"City of the shipping address.\"),\n state: z.string().describe(\"State or province code (e.g., 'NY', 'CA', 'TX').\"),\n country: z.string().describe(\"Country code (e.g., 'US'). Typically 'US' for Ramp cards.\"),\n address1: z.string().describe(\"Primary street address line.\"),\n address2: z.string().describe(\"Secondary address line (apartment, suite, etc.).\").optional(),\n last_name: z.string().describe(\"Last name of the card recipient.\"),\n first_name: z.string().describe(\"First name of the card recipient.\"),\n postal_code: z.string().describe(\"Postal or ZIP code.\"),\n}).describe(\"Address where the physical card will be shipped.\"),\n}).describe(\"Shipping information for the physical card.\"),\n cardholder_uuid: z.string().describe(\"UUID of the cardholder. If not provided, defaults to the user_id.\").optional(),\n card_personalization: z.object({\n text: z.string().describe(\"Custom text to be printed on the card (if supported by card program).\").optional(),\n}).describe(\"Card personalization details for the physical card.\").optional(),\n}).describe(\"Fulfillment details for the physical card.\").optional(),\n display_name: z.string().describe(\"Cosmetic display name for the card (e.g., 'Business Travel Card', 'T&E'). Required by the API.\"),\n is_temporary: z.boolean().default(false).describe(\"Set to true to create a temporary card. Defaults to false.\").optional(),\n card_program_id: z.string().describe(\"Card program ID to use for the card. One of spending_restrictions or card_program_id must be provided.\").optional(),\n idempotency_key: z.string().describe(\"Unique value to recognize subsequent retries of the same request. Use a random UUID to avoid collisions.\"),\n spending_restrictions: z.object({\n amount: z.union([z.number().int(), z.number()]),\n currency: z.string().describe(\"Currency code for the spending limit (e.g., 'USD'). Defaults to organization's currency if not specified.\").optional(),\n interval: z.enum([\"DAILY\", \"WEEKLY\", \"MONTHLY\", \"QUARTERLY\", \"YEARLY\", \"TOTAL\"]).describe(\"Spending limit interval for the card.\"),\n lock_date: z.string().describe(\"Date when the card will automatically lock (format: ISO 8601 or YYYY-MM-DD).\").optional(),\n policy_id: z.string().describe(\"Policy ID to apply to the card spending restrictions.\").optional(),\n categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes (MCC). Empty list means no category restrictions.\").optional(),\n vendor_blacklist: z.array(z.string()).describe(\"List of blocked vendor IDs (blacklist).\").optional(),\n vendor_whitelist: z.array(z.string()).describe(\"List of allowed vendor IDs (whitelist).\").optional(),\n blocked_mcc_codes: z.array(z.string()).describe(\"List of blocked merchant category codes.\").optional(),\n categories_blacklist: z.array(z.number().int()).describe(\"List of blocked merchant category codes (blacklist).\").optional(),\n categories_whitelist: z.array(z.number().int()).describe(\"List of allowed merchant category codes (whitelist).\").optional(),\n card_accounting_rules: z.array(z.record(z.string(), z.unknown())).describe(\"Card accounting rules for the spending restrictions.\").optional(),\n transaction_amount_limit: z.union([z.number().int(), z.number()]).optional(),\n}).describe(\"Spending restrictions for the physical card.\").optional(),\n}).describe(\"Request model for creating a physical card.\");\nexport const RampPostPhysicalCardOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the deferred task. Use this ID to check the status via GET /developer/v1/cards/deferred/status/{task_id}\").nullable(),\n}).passthrough().describe(\"Response model containing the deferred task ID for physical card creation.\");\n\nexport const rampPostPhysicalCard = action(\"RAMP_POST_PHYSICAL_CARD\", {\n slug: \"ramp-post-physical-card\",\n name: \"Create Physical Card\",\n description: \"Tool to create a physical card asynchronously. Returns a task ID which can be used to track the card creation status. Physical cards require fulfillment details with a shipping address. Use when a user needs a physical card for in-person transactions.\",\n input: RampPostPhysicalCardInput,\n output: RampPostPhysicalCardOutput,\n});\n"],"mappings":"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"}
|
|
@@ -45,13 +45,13 @@ declare const RampPostPhysicalCardInput: z.ZodObject<{
|
|
|
45
45
|
blocked_mcc_codes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
46
46
|
categories_blacklist: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
47
47
|
categories_whitelist: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
48
|
-
card_accounting_rules: z.ZodOptional<z.ZodArray<z.
|
|
48
|
+
card_accounting_rules: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
49
49
|
transaction_amount_limit: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNumber]>>;
|
|
50
50
|
}, z.core.$strip>>;
|
|
51
51
|
}, z.core.$strip>;
|
|
52
52
|
declare const RampPostPhysicalCardOutput: z.ZodObject<{
|
|
53
53
|
id: z.ZodNullable<z.ZodString>;
|
|
54
|
-
}, z.core.$
|
|
54
|
+
}, z.core.$loose>;
|
|
55
55
|
declare const rampPostPhysicalCard: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
56
56
|
user_id: string;
|
|
57
57
|
display_name: string;
|
|
@@ -89,7 +89,7 @@ declare const rampPostPhysicalCard: import("@keystrokehq/action").WorkflowAction
|
|
|
89
89
|
blocked_mcc_codes?: string[] | undefined;
|
|
90
90
|
categories_blacklist?: number[] | undefined;
|
|
91
91
|
categories_whitelist?: number[] | undefined;
|
|
92
|
-
card_accounting_rules?: Record<string,
|
|
92
|
+
card_accounting_rules?: Record<string, unknown>[] | undefined;
|
|
93
93
|
transaction_amount_limit?: number | undefined;
|
|
94
94
|
} | undefined;
|
|
95
95
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -45,13 +45,13 @@ declare const RampPostPhysicalCardInput: z.ZodObject<{
|
|
|
45
45
|
blocked_mcc_codes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
46
46
|
categories_blacklist: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
47
47
|
categories_whitelist: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
48
|
-
card_accounting_rules: z.ZodOptional<z.ZodArray<z.
|
|
48
|
+
card_accounting_rules: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
49
49
|
transaction_amount_limit: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNumber]>>;
|
|
50
50
|
}, z.core.$strip>>;
|
|
51
51
|
}, z.core.$strip>;
|
|
52
52
|
declare const RampPostPhysicalCardOutput: z.ZodObject<{
|
|
53
53
|
id: z.ZodNullable<z.ZodString>;
|
|
54
|
-
}, z.core.$
|
|
54
|
+
}, z.core.$loose>;
|
|
55
55
|
declare const rampPostPhysicalCard: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
56
56
|
user_id: string;
|
|
57
57
|
display_name: string;
|
|
@@ -89,7 +89,7 @@ declare const rampPostPhysicalCard: import("@keystrokehq/action").WorkflowAction
|
|
|
89
89
|
blocked_mcc_codes?: string[] | undefined;
|
|
90
90
|
categories_blacklist?: number[] | undefined;
|
|
91
91
|
categories_whitelist?: number[] | undefined;
|
|
92
|
-
card_accounting_rules?: Record<string,
|
|
92
|
+
card_accounting_rules?: Record<string, unknown>[] | undefined;
|
|
93
93
|
transaction_amount_limit?: number | undefined;
|
|
94
94
|
} | undefined;
|
|
95
95
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -44,11 +44,11 @@ const rampPostPhysicalCard = action("RAMP_POST_PHYSICAL_CARD", {
|
|
|
44
44
|
blocked_mcc_codes: z.array(z.string()).describe("List of blocked merchant category codes.").optional(),
|
|
45
45
|
categories_blacklist: z.array(z.number().int()).describe("List of blocked merchant category codes (blacklist).").optional(),
|
|
46
46
|
categories_whitelist: z.array(z.number().int()).describe("List of allowed merchant category codes (whitelist).").optional(),
|
|
47
|
-
card_accounting_rules: z.array(z.
|
|
47
|
+
card_accounting_rules: z.array(z.record(z.string(), z.unknown())).describe("Card accounting rules for the spending restrictions.").optional(),
|
|
48
48
|
transaction_amount_limit: z.union([z.number().int(), z.number()]).optional()
|
|
49
49
|
}).describe("Spending restrictions for the physical card.").optional()
|
|
50
50
|
}).describe("Request model for creating a physical card."),
|
|
51
|
-
output: z.object({ id: z.string().describe("Unique identifier (UUID) of the deferred task. Use this ID to check the status via GET /developer/v1/cards/deferred/status/{task_id}").nullable() }).describe("Response model containing the deferred task ID for physical card creation.")
|
|
51
|
+
output: z.object({ id: z.string().describe("Unique identifier (UUID) of the deferred task. Use this ID to check the status via GET /developer/v1/cards/deferred/status/{task_id}").nullable() }).passthrough().describe("Response model containing the deferred task ID for physical card creation.")
|
|
52
52
|
});
|
|
53
53
|
//#endregion
|
|
54
54
|
export { rampPostPhysicalCard };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-physical-card.mjs","names":[],"sources":["../../src/actions/post-physical-card.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostPhysicalCardInput = z.object({\n user_id: z.string().describe(\"Unique identifier (UUID) of the card owner. This user will be assigned as the cardholder.\"),\n entity_id: z.string().describe(\"Business entity UUID to associate with the card. If not provided, defaults to entity associated with user's location.\").optional(),\n fulfillment: z.object({\n shipping: z.object({\n recipient_address: z.object({\n city: z.string().describe(\"City of the shipping address.\"),\n state: z.string().describe(\"State or province code (e.g., 'NY', 'CA', 'TX').\"),\n country: z.string().describe(\"Country code (e.g., 'US'). Typically 'US' for Ramp cards.\"),\n address1: z.string().describe(\"Primary street address line.\"),\n address2: z.string().describe(\"Secondary address line (apartment, suite, etc.).\").optional(),\n last_name: z.string().describe(\"Last name of the card recipient.\"),\n first_name: z.string().describe(\"First name of the card recipient.\"),\n postal_code: z.string().describe(\"Postal or ZIP code.\"),\n}).describe(\"Address where the physical card will be shipped.\"),\n}).describe(\"Shipping information for the physical card.\"),\n cardholder_uuid: z.string().describe(\"UUID of the cardholder. If not provided, defaults to the user_id.\").optional(),\n card_personalization: z.object({\n text: z.string().describe(\"Custom text to be printed on the card (if supported by card program).\").optional(),\n}).describe(\"Card personalization details for the physical card.\").optional(),\n}).describe(\"Fulfillment details for the physical card.\").optional(),\n display_name: z.string().describe(\"Cosmetic display name for the card (e.g., 'Business Travel Card', 'T&E'). Required by the API.\"),\n is_temporary: z.boolean().default(false).describe(\"Set to true to create a temporary card. Defaults to false.\").optional(),\n card_program_id: z.string().describe(\"Card program ID to use for the card. One of spending_restrictions or card_program_id must be provided.\").optional(),\n idempotency_key: z.string().describe(\"Unique value to recognize subsequent retries of the same request. Use a random UUID to avoid collisions.\"),\n spending_restrictions: z.object({\n amount: z.union([z.number().int(), z.number()]),\n currency: z.string().describe(\"Currency code for the spending limit (e.g., 'USD'). Defaults to organization's currency if not specified.\").optional(),\n interval: z.enum([\"DAILY\", \"WEEKLY\", \"MONTHLY\", \"QUARTERLY\", \"YEARLY\", \"TOTAL\"]).describe(\"Spending limit interval for the card.\"),\n lock_date: z.string().describe(\"Date when the card will automatically lock (format: ISO 8601 or YYYY-MM-DD).\").optional(),\n policy_id: z.string().describe(\"Policy ID to apply to the card spending restrictions.\").optional(),\n categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes (MCC). Empty list means no category restrictions.\").optional(),\n vendor_blacklist: z.array(z.string()).describe(\"List of blocked vendor IDs (blacklist).\").optional(),\n vendor_whitelist: z.array(z.string()).describe(\"List of allowed vendor IDs (whitelist).\").optional(),\n blocked_mcc_codes: z.array(z.string()).describe(\"List of blocked merchant category codes.\").optional(),\n categories_blacklist: z.array(z.number().int()).describe(\"List of blocked merchant category codes (blacklist).\").optional(),\n categories_whitelist: z.array(z.number().int()).describe(\"List of allowed merchant category codes (whitelist).\").optional(),\n card_accounting_rules: z.array(z.
|
|
1
|
+
{"version":3,"file":"post-physical-card.mjs","names":[],"sources":["../../src/actions/post-physical-card.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostPhysicalCardInput = z.object({\n user_id: z.string().describe(\"Unique identifier (UUID) of the card owner. This user will be assigned as the cardholder.\"),\n entity_id: z.string().describe(\"Business entity UUID to associate with the card. If not provided, defaults to entity associated with user's location.\").optional(),\n fulfillment: z.object({\n shipping: z.object({\n recipient_address: z.object({\n city: z.string().describe(\"City of the shipping address.\"),\n state: z.string().describe(\"State or province code (e.g., 'NY', 'CA', 'TX').\"),\n country: z.string().describe(\"Country code (e.g., 'US'). Typically 'US' for Ramp cards.\"),\n address1: z.string().describe(\"Primary street address line.\"),\n address2: z.string().describe(\"Secondary address line (apartment, suite, etc.).\").optional(),\n last_name: z.string().describe(\"Last name of the card recipient.\"),\n first_name: z.string().describe(\"First name of the card recipient.\"),\n postal_code: z.string().describe(\"Postal or ZIP code.\"),\n}).describe(\"Address where the physical card will be shipped.\"),\n}).describe(\"Shipping information for the physical card.\"),\n cardholder_uuid: z.string().describe(\"UUID of the cardholder. If not provided, defaults to the user_id.\").optional(),\n card_personalization: z.object({\n text: z.string().describe(\"Custom text to be printed on the card (if supported by card program).\").optional(),\n}).describe(\"Card personalization details for the physical card.\").optional(),\n}).describe(\"Fulfillment details for the physical card.\").optional(),\n display_name: z.string().describe(\"Cosmetic display name for the card (e.g., 'Business Travel Card', 'T&E'). Required by the API.\"),\n is_temporary: z.boolean().default(false).describe(\"Set to true to create a temporary card. Defaults to false.\").optional(),\n card_program_id: z.string().describe(\"Card program ID to use for the card. One of spending_restrictions or card_program_id must be provided.\").optional(),\n idempotency_key: z.string().describe(\"Unique value to recognize subsequent retries of the same request. Use a random UUID to avoid collisions.\"),\n spending_restrictions: z.object({\n amount: z.union([z.number().int(), z.number()]),\n currency: z.string().describe(\"Currency code for the spending limit (e.g., 'USD'). Defaults to organization's currency if not specified.\").optional(),\n interval: z.enum([\"DAILY\", \"WEEKLY\", \"MONTHLY\", \"QUARTERLY\", \"YEARLY\", \"TOTAL\"]).describe(\"Spending limit interval for the card.\"),\n lock_date: z.string().describe(\"Date when the card will automatically lock (format: ISO 8601 or YYYY-MM-DD).\").optional(),\n policy_id: z.string().describe(\"Policy ID to apply to the card spending restrictions.\").optional(),\n categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes (MCC). Empty list means no category restrictions.\").optional(),\n vendor_blacklist: z.array(z.string()).describe(\"List of blocked vendor IDs (blacklist).\").optional(),\n vendor_whitelist: z.array(z.string()).describe(\"List of allowed vendor IDs (whitelist).\").optional(),\n blocked_mcc_codes: z.array(z.string()).describe(\"List of blocked merchant category codes.\").optional(),\n categories_blacklist: z.array(z.number().int()).describe(\"List of blocked merchant category codes (blacklist).\").optional(),\n categories_whitelist: z.array(z.number().int()).describe(\"List of allowed merchant category codes (whitelist).\").optional(),\n card_accounting_rules: z.array(z.record(z.string(), z.unknown())).describe(\"Card accounting rules for the spending restrictions.\").optional(),\n transaction_amount_limit: z.union([z.number().int(), z.number()]).optional(),\n}).describe(\"Spending restrictions for the physical card.\").optional(),\n}).describe(\"Request model for creating a physical card.\");\nexport const RampPostPhysicalCardOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the deferred task. Use this ID to check the status via GET /developer/v1/cards/deferred/status/{task_id}\").nullable(),\n}).passthrough().describe(\"Response model containing the deferred task ID for physical card creation.\");\n\nexport const rampPostPhysicalCard = action(\"RAMP_POST_PHYSICAL_CARD\", {\n slug: \"ramp-post-physical-card\",\n name: \"Create Physical Card\",\n description: \"Tool to create a physical card asynchronously. Returns a task ID which can be used to track the card creation status. Physical cards require fulfillment details with a shipping address. Use when a user needs a physical card for in-person transactions.\",\n input: RampPostPhysicalCardInput,\n output: RampPostPhysicalCardOutput,\n});\n"],"mappings":";;AAiDA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjDuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;EACxH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;EACjK,aAAa,EAAE,OAAO;GACtB,UAAU,EAAE,OAAO,EACnB,mBAAmB,EAAE,OAAO;IAC5B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;IACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;IAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;IACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;IAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;IAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;IACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;IACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;GACxD,CAAC,CAAC,CAAC,SAAS,kDAAkD,EAC9D,CAAC,CAAC,CAAC,SAAS,6CAA6C;GACvD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;GACnH,sBAAsB,EAAE,OAAO,EAC/B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC5E,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACjE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;EAClI,cAAc,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACzH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACxJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;EAC/I,uBAAuB,EAAE,OAAO;GAChC,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;GAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;GACpJ,UAAU,EAAE,KAAK;IAAC;IAAS;IAAU;IAAW;IAAa;IAAU;GAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;GACjI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;GACxH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;GACjG,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;GACrJ,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;GACnG,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;GACnG,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;GACrG,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;GAC1H,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;GAC1H,uBAAuB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;GAC5I,0BAA0B,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;EAC7E,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACrE,CAAC,CAAC,CAAC,SAAS,6CASH;CACP,QATwC,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,EAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/reactivate-accounting-connection.ts
|
|
4
4
|
const RampReactivateAccountingConnectionInput = zod.z.object({ connection_id: zod.z.string().describe("The UUID of the accounting connection to reactivate") });
|
|
5
|
-
const RampReactivateAccountingConnection_AccountingConnectionSettingsSchema = zod.z.object({ vendor_credits_enabled: zod.z.boolean().describe("Whether vendor credits are enabled for this connection").nullable().optional() });
|
|
5
|
+
const RampReactivateAccountingConnection_AccountingConnectionSettingsSchema = zod.z.object({ vendor_credits_enabled: zod.z.boolean().describe("Whether vendor credits are enabled for this connection").nullable().optional() }).passthrough();
|
|
6
6
|
const RampReactivateAccountingConnectionOutput = zod.z.object({
|
|
7
7
|
id: zod.z.string().describe("Unique identifier for the accounting connection in UUID format").nullable(),
|
|
8
8
|
status: zod.z.string().describe("The current status of the accounting connection (e.g., LINKED, UNLINKED)").nullable(),
|
|
@@ -12,7 +12,7 @@ const RampReactivateAccountingConnectionOutput = zod.z.object({
|
|
|
12
12
|
last_linked_at: zod.z.string().describe("The date and time the accounting connection was last connected in ISO 8601 format").nullable().optional(),
|
|
13
13
|
connection_type: zod.z.string().describe("The type of the accounting connection (e.g., API, CSV)").nullable(),
|
|
14
14
|
remote_provider_name: zod.z.string().describe("The name of the remote accounting provider (e.g., QuickBooks, NetSuite)").nullable().optional()
|
|
15
|
-
});
|
|
15
|
+
}).passthrough();
|
|
16
16
|
const rampReactivateAccountingConnection = require_action.action("RAMP_REACTIVATE_ACCOUNTING_CONNECTION", {
|
|
17
17
|
slug: "ramp-reactivate-accounting-connection",
|
|
18
18
|
name: "Reactivate Accounting Connection",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reactivate-accounting-connection.cjs","names":["z","action"],"sources":["../../src/actions/reactivate-accounting-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampReactivateAccountingConnectionInput = z.object({\n connection_id: z.string().describe(\"The UUID of the accounting connection to reactivate\"),\n});\nconst RampReactivateAccountingConnection_AccountingConnectionSettingsSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable().optional(),\n});\nexport const RampReactivateAccountingConnectionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable(),\n status: z.string().describe(\"The current status of the accounting connection (e.g., LINKED, UNLINKED)\").nullable(),\n settings: RampReactivateAccountingConnection_AccountingConnectionSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently active\").nullable(),\n created_at: z.string().describe(\"The date and time the accounting connection was created in ISO 8601 format\").nullable(),\n last_linked_at: z.string().describe(\"The date and time the accounting connection was last connected in ISO 8601 format\").nullable().optional(),\n connection_type: z.string().describe(\"The type of the accounting connection (e.g., API, CSV)\").nullable(),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n});\n\nexport const rampReactivateAccountingConnection = action(\"RAMP_REACTIVATE_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-reactivate-accounting-connection\",\n name: \"Reactivate Accounting Connection\",\n description: \"Tool to reactivate a previously unlinked accounting connection by changing its status back to linked. This preserves all previous accounting field configurations and settings. Use when you need to restore a disconnected accounting integration. The business must not have any other active accounting connections.\",\n input: RampReactivateAccountingConnectionInput,\n output: RampReactivateAccountingConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAC1F,CAAC;AACD,MAAM,wEAAwEA,IAAAA,EAAE,OAAO,EACrF,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC;
|
|
1
|
+
{"version":3,"file":"reactivate-accounting-connection.cjs","names":["z","action"],"sources":["../../src/actions/reactivate-accounting-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampReactivateAccountingConnectionInput = z.object({\n connection_id: z.string().describe(\"The UUID of the accounting connection to reactivate\"),\n});\nconst RampReactivateAccountingConnection_AccountingConnectionSettingsSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable().optional(),\n}).passthrough();\nexport const RampReactivateAccountingConnectionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable(),\n status: z.string().describe(\"The current status of the accounting connection (e.g., LINKED, UNLINKED)\").nullable(),\n settings: RampReactivateAccountingConnection_AccountingConnectionSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently active\").nullable(),\n created_at: z.string().describe(\"The date and time the accounting connection was created in ISO 8601 format\").nullable(),\n last_linked_at: z.string().describe(\"The date and time the accounting connection was last connected in ISO 8601 format\").nullable().optional(),\n connection_type: z.string().describe(\"The type of the accounting connection (e.g., API, CSV)\").nullable(),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n}).passthrough();\n\nexport const rampReactivateAccountingConnection = action(\"RAMP_REACTIVATE_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-reactivate-accounting-connection\",\n name: \"Reactivate Accounting Connection\",\n description: \"Tool to reactivate a previously unlinked accounting connection by changing its status back to linked. This preserves all previous accounting field configurations and settings. Use when you need to restore a disconnected accounting integration. The business must not have any other active accounting connections.\",\n input: RampReactivateAccountingConnectionInput,\n output: RampReactivateAccountingConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAC1F,CAAC;AACD,MAAM,wEAAwEA,IAAAA,EAAE,OAAO,EACrF,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACjH,UAAU,sEAAsE,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACxG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qCAAqCC,eAAAA,OAAO,yCAAyC;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,13 +9,13 @@ declare const RampReactivateAccountingConnectionOutput: z.ZodObject<{
|
|
|
9
9
|
status: z.ZodNullable<z.ZodString>;
|
|
10
10
|
settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
11
|
vendor_credits_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
13
|
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
14
14
|
created_at: z.ZodNullable<z.ZodString>;
|
|
15
15
|
last_linked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
connection_type: z.ZodNullable<z.ZodString>;
|
|
17
17
|
remote_provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const rampReactivateAccountingConnection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
connection_id: string;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,13 +9,13 @@ declare const RampReactivateAccountingConnectionOutput: z.ZodObject<{
|
|
|
9
9
|
status: z.ZodNullable<z.ZodString>;
|
|
10
10
|
settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
11
11
|
vendor_credits_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
13
|
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
14
14
|
created_at: z.ZodNullable<z.ZodString>;
|
|
15
15
|
last_linked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
connection_type: z.ZodNullable<z.ZodString>;
|
|
17
17
|
remote_provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const rampReactivateAccountingConnection: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
connection_id: string;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/reactivate-accounting-connection.ts
|
|
4
4
|
const RampReactivateAccountingConnectionInput = z.object({ connection_id: z.string().describe("The UUID of the accounting connection to reactivate") });
|
|
5
|
-
const RampReactivateAccountingConnection_AccountingConnectionSettingsSchema = z.object({ vendor_credits_enabled: z.boolean().describe("Whether vendor credits are enabled for this connection").nullable().optional() });
|
|
5
|
+
const RampReactivateAccountingConnection_AccountingConnectionSettingsSchema = z.object({ vendor_credits_enabled: z.boolean().describe("Whether vendor credits are enabled for this connection").nullable().optional() }).passthrough();
|
|
6
6
|
const rampReactivateAccountingConnection = action("RAMP_REACTIVATE_ACCOUNTING_CONNECTION", {
|
|
7
7
|
slug: "ramp-reactivate-accounting-connection",
|
|
8
8
|
name: "Reactivate Accounting Connection",
|
|
@@ -17,7 +17,7 @@ const rampReactivateAccountingConnection = action("RAMP_REACTIVATE_ACCOUNTING_CO
|
|
|
17
17
|
last_linked_at: z.string().describe("The date and time the accounting connection was last connected in ISO 8601 format").nullable().optional(),
|
|
18
18
|
connection_type: z.string().describe("The type of the accounting connection (e.g., API, CSV)").nullable(),
|
|
19
19
|
remote_provider_name: z.string().describe("The name of the remote accounting provider (e.g., QuickBooks, NetSuite)").nullable().optional()
|
|
20
|
-
})
|
|
20
|
+
}).passthrough()
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { rampReactivateAccountingConnection };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reactivate-accounting-connection.mjs","names":[],"sources":["../../src/actions/reactivate-accounting-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampReactivateAccountingConnectionInput = z.object({\n connection_id: z.string().describe(\"The UUID of the accounting connection to reactivate\"),\n});\nconst RampReactivateAccountingConnection_AccountingConnectionSettingsSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable().optional(),\n});\nexport const RampReactivateAccountingConnectionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable(),\n status: z.string().describe(\"The current status of the accounting connection (e.g., LINKED, UNLINKED)\").nullable(),\n settings: RampReactivateAccountingConnection_AccountingConnectionSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently active\").nullable(),\n created_at: z.string().describe(\"The date and time the accounting connection was created in ISO 8601 format\").nullable(),\n last_linked_at: z.string().describe(\"The date and time the accounting connection was last connected in ISO 8601 format\").nullable().optional(),\n connection_type: z.string().describe(\"The type of the accounting connection (e.g., API, CSV)\").nullable(),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n});\n\nexport const rampReactivateAccountingConnection = action(\"RAMP_REACTIVATE_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-reactivate-accounting-connection\",\n name: \"Reactivate Accounting Connection\",\n description: \"Tool to reactivate a previously unlinked accounting connection by changing its status back to linked. This preserves all previous accounting field configurations and settings. Use when you need to restore a disconnected accounting integration. The business must not have any other active accounting connections.\",\n input: RampReactivateAccountingConnectionInput,\n output: RampReactivateAccountingConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO,EAC9D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAC1F,CAAC;AACD,MAAM,wEAAwE,EAAE,OAAO,EACrF,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC;
|
|
1
|
+
{"version":3,"file":"reactivate-accounting-connection.mjs","names":[],"sources":["../../src/actions/reactivate-accounting-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampReactivateAccountingConnectionInput = z.object({\n connection_id: z.string().describe(\"The UUID of the accounting connection to reactivate\"),\n});\nconst RampReactivateAccountingConnection_AccountingConnectionSettingsSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable().optional(),\n}).passthrough();\nexport const RampReactivateAccountingConnectionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable(),\n status: z.string().describe(\"The current status of the accounting connection (e.g., LINKED, UNLINKED)\").nullable(),\n settings: RampReactivateAccountingConnection_AccountingConnectionSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently active\").nullable(),\n created_at: z.string().describe(\"The date and time the accounting connection was created in ISO 8601 format\").nullable(),\n last_linked_at: z.string().describe(\"The date and time the accounting connection was last connected in ISO 8601 format\").nullable().optional(),\n connection_type: z.string().describe(\"The type of the accounting connection (e.g., API, CSV)\").nullable(),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n}).passthrough();\n\nexport const rampReactivateAccountingConnection = action(\"RAMP_REACTIVATE_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-reactivate-accounting-connection\",\n name: \"Reactivate Accounting Connection\",\n description: \"Tool to reactivate a previously unlinked accounting connection by changing its status back to linked. This preserves all previous accounting field configurations and settings. Use when you need to restore a disconnected accounting integration. The business must not have any other active accounting connections.\",\n input: RampReactivateAccountingConnectionInput,\n output: RampReactivateAccountingConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO,EAC9D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAC1F,CAAC;AACD,MAAM,wEAAwE,EAAE,OAAO,EACrF,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY;AAYf,MAAa,qCAAqC,OAAO,yCAAyC;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACjH,UAAU,sEAAsE,SAAS,CAAC,CAAC,SAAS;EACpG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACxG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/reactivate-user.ts
|
|
4
4
|
const RampReactivateUserInput = zod.z.object({ user_id: zod.z.string().describe("The unique identifier (UUID) of the user to reactivate") });
|
|
5
|
-
const RampReactivateUserOutput = zod.z.
|
|
5
|
+
const RampReactivateUserOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response from reactivating a user. Returns empty object on success.");
|
|
6
6
|
const rampReactivateUser = require_action.action("RAMP_REACTIVATE_USER", {
|
|
7
7
|
slug: "ramp-reactivate-user",
|
|
8
8
|
name: "Reactivate User",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reactivate-user.cjs","names":["z","action"],"sources":["../../src/actions/reactivate-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampReactivateUserInput = z.object({\n user_id: z.string().describe(\"The unique identifier (UUID) of the user to reactivate\"),\n});\nexport const RampReactivateUserOutput = z.
|
|
1
|
+
{"version":3,"file":"reactivate-user.cjs","names":["z","action"],"sources":["../../src/actions/reactivate-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampReactivateUserInput = z.object({\n user_id: z.string().describe(\"The unique identifier (UUID) of the user to reactivate\"),\n});\nexport const RampReactivateUserOutput = z.record(z.string(), z.unknown()).describe(\"Response from reactivating a user. Returns empty object on success.\");\n\nexport const rampReactivateUser = action(\"RAMP_REACTIVATE_USER\", {\n slug: \"ramp-reactivate-user\",\n name: \"Reactivate User\",\n description: \"Tool to reactivate a suspended user in your Ramp organization. Use when you need to restore a user's access. Upon reactivation, users can log in to Ramp again, spend on their previously issued cards, and resume receiving Ramp notifications.\",\n input: RampReactivateUserInput,\n output: RampReactivateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EACvF,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAExJ,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const RampReactivateUserInput: z.ZodObject<{
|
|
5
5
|
user_id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const RampReactivateUserOutput: z.
|
|
7
|
+
declare const RampReactivateUserOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const rampReactivateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
user_id: string;
|
|
10
10
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reactivate-user.d.cts","names":[],"sources":["../../src/actions/reactivate-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"reactivate-user.d.cts","names":[],"sources":["../../src/actions/reactivate-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const RampReactivateUserInput: z.ZodObject<{
|
|
5
5
|
user_id: z.ZodString;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
|
-
declare const RampReactivateUserOutput: z.
|
|
7
|
+
declare const RampReactivateUserOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8
8
|
declare const rampReactivateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
user_id: string;
|
|
10
10
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reactivate-user.d.mts","names":[],"sources":["../../src/actions/reactivate-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"reactivate-user.d.mts","names":[],"sources":["../../src/actions/reactivate-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -5,7 +5,7 @@ const rampReactivateUser = action("RAMP_REACTIVATE_USER", {
|
|
|
5
5
|
name: "Reactivate User",
|
|
6
6
|
description: "Tool to reactivate a suspended user in your Ramp organization. Use when you need to restore a user's access. Upon reactivation, users can log in to Ramp again, spend on their previously issued cards, and resume receiving Ramp notifications.",
|
|
7
7
|
input: z.object({ user_id: z.string().describe("The unique identifier (UUID) of the user to reactivate") }),
|
|
8
|
-
output: z.
|
|
8
|
+
output: z.record(z.string(), z.unknown()).describe("Response from reactivating a user. Returns empty object on success.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { rampReactivateUser };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reactivate-user.mjs","names":[],"sources":["../../src/actions/reactivate-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampReactivateUserInput = z.object({\n user_id: z.string().describe(\"The unique identifier (UUID) of the user to reactivate\"),\n});\nexport const RampReactivateUserOutput = z.
|
|
1
|
+
{"version":3,"file":"reactivate-user.mjs","names":[],"sources":["../../src/actions/reactivate-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampReactivateUserInput = z.object({\n user_id: z.string().describe(\"The unique identifier (UUID) of the user to reactivate\"),\n});\nexport const RampReactivateUserOutput = z.record(z.string(), z.unknown()).describe(\"Response from reactivating a user. Returns empty object on success.\");\n\nexport const rampReactivateUser = action(\"RAMP_REACTIVATE_USER\", {\n slug: \"ramp-reactivate-user\",\n name: \"Reactivate User\",\n description: \"Tool to reactivate a suspended user in your Ramp organization. Use when you need to restore a user's access. Upon reactivation, users can log in to Ramp again, spend on their previously issued cards, and resume receiving Ramp notifications.\",\n input: RampReactivateUserInput,\n output: RampReactivateUserOutput,\n});\n"],"mappings":";;AASA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATqC,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EACvF,CAOS;CACP,QAPsC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAOzE;AACV,CAAC"}
|
|
@@ -46,22 +46,22 @@ const RampSubmitReimbursementReceipt_ReimbursementStateSchema = zod.z.enum([
|
|
|
46
46
|
const RampSubmitReimbursementReceipt_AttendeeSchema = zod.z.object({
|
|
47
47
|
name: zod.z.string().describe("Name of the attendee").nullable().optional(),
|
|
48
48
|
user_id: zod.z.string().describe("User ID of the attendee, if they are a Ramp user").nullable().optional()
|
|
49
|
-
}).describe("Attendee information for a reimbursement.");
|
|
49
|
+
}).passthrough().describe("Attendee information for a reimbursement.");
|
|
50
50
|
const RampSubmitReimbursementReceipt_ReimbursementDirectionSchema = zod.z.enum(["BUSINESS_TO_USER", "USER_TO_BUSINESS"]).describe("Direction of reimbursement payment.");
|
|
51
51
|
const RampSubmitReimbursementReceipt_LineItemAmountSchema = zod.z.object({
|
|
52
52
|
amount: zod.z.number().int().describe("Amount in minor units (e.g., cents for USD)").nullable().optional(),
|
|
53
53
|
currency_code: zod.z.string().describe("ISO 4217 currency code").nullable().optional()
|
|
54
|
-
}).describe("Amount object for a line item.");
|
|
54
|
+
}).passthrough().describe("Amount object for a line item.");
|
|
55
55
|
const RampSubmitReimbursementReceipt_AccountingFieldSourceSchema = zod.z.object({
|
|
56
56
|
id: zod.z.string().describe("Source identifier").nullable().optional(),
|
|
57
57
|
name: zod.z.string().describe("Source name").nullable().optional()
|
|
58
|
-
}).describe("Source information for an accounting field.");
|
|
58
|
+
}).passthrough().describe("Source information for an accounting field.");
|
|
59
59
|
const RampSubmitReimbursementReceipt_CategoryInfoSchema = zod.z.object({
|
|
60
60
|
id: zod.z.string().describe("Internal identifier for the category").nullable().optional(),
|
|
61
61
|
name: zod.z.string().describe("Name of the category").nullable().optional(),
|
|
62
62
|
type: zod.z.string().describe("Type of accounting field (e.g., GL_ACCOUNT, Subsidiary)").nullable().optional(),
|
|
63
63
|
external_id: zod.z.string().describe("External identifier for the category").nullable().optional()
|
|
64
|
-
}).describe("Category information for an accounting field.");
|
|
64
|
+
}).passthrough().describe("Category information for an accounting field.");
|
|
65
65
|
const RampSubmitReimbursementReceipt_AccountingFieldSelectionSchema = zod.z.object({
|
|
66
66
|
id: zod.z.string().describe("Internal identifier for the accounting field selection").nullable().optional(),
|
|
67
67
|
name: zod.z.string().describe("Name of the accounting field selection").nullable().optional(),
|
|
@@ -71,12 +71,12 @@ const RampSubmitReimbursementReceipt_AccountingFieldSelectionSchema = zod.z.obje
|
|
|
71
71
|
category_info: RampSubmitReimbursementReceipt_CategoryInfoSchema.nullable().optional(),
|
|
72
72
|
external_code: zod.z.string().describe("External code for the accounting field").nullable().optional(),
|
|
73
73
|
provider_name: zod.z.string().describe("Name of the accounting provider").nullable().optional()
|
|
74
|
-
}).describe("Accounting field selection with category information.");
|
|
74
|
+
}).passthrough().describe("Accounting field selection with category information.");
|
|
75
75
|
const RampSubmitReimbursementReceipt_LineItemSchema = zod.z.object({
|
|
76
76
|
memo: zod.z.string().describe("Memo for this line item").nullable().optional(),
|
|
77
77
|
amount: RampSubmitReimbursementReceipt_LineItemAmountSchema.nullable().optional(),
|
|
78
78
|
accounting_field_selections: zod.z.array(RampSubmitReimbursementReceipt_AccountingFieldSelectionSchema).describe("Accounting field selections for this line item").nullable().optional()
|
|
79
|
-
}).describe("Individual line item within a reimbursement.");
|
|
79
|
+
}).passthrough().describe("Individual line item within a reimbursement.");
|
|
80
80
|
const RampSubmitReimbursementReceipt_ReimbursementSyncStatusSchema = zod.z.enum([
|
|
81
81
|
"NOT_SYNC_READY",
|
|
82
82
|
"SYNCED",
|
|
@@ -86,11 +86,11 @@ const RampSubmitReimbursementReceipt_MoneyAmountSchema = zod.z.object({
|
|
|
86
86
|
amount: zod.z.number().int().describe("Amount in minor units (e.g., cents for USD). Divide by minor_unit_conversion_rate to get decimal amount").nullable().optional(),
|
|
87
87
|
currency_code: zod.z.string().describe("ISO 4217 currency code (e.g., USD, EUR)").nullable().optional(),
|
|
88
88
|
minor_unit_conversion_rate: zod.z.number().int().describe("Conversion rate from minor units to major units (e.g., 100 for USD cents to dollars)").nullable().optional()
|
|
89
|
-
}).describe("Money amount with currency information.");
|
|
89
|
+
}).passthrough().describe("Money amount with currency information.");
|
|
90
90
|
const RampSubmitReimbursementReceipt_ExpenseGroupSchema = zod.z.object({
|
|
91
91
|
id: zod.z.string().describe("Unique identifier for the expense group").nullable().optional(),
|
|
92
92
|
name: zod.z.string().describe("Name of the expense group").nullable().optional()
|
|
93
|
-
}).describe("Expense group information.");
|
|
93
|
+
}).passthrough().describe("Expense group information.");
|
|
94
94
|
const RampSubmitReimbursementReceiptOutput = zod.z.object({
|
|
95
95
|
id: zod.z.string().describe("Unique identifier of the reimbursement").nullable(),
|
|
96
96
|
memo: zod.z.string().describe("Reimbursement memo").nullable().optional(),
|
|
@@ -130,7 +130,7 @@ const RampSubmitReimbursementReceiptOutput = zod.z.object({
|
|
|
130
130
|
payment_processed_at: zod.z.string().describe("Time of reimbursement payment (ISO8601 format)").nullable().optional(),
|
|
131
131
|
accounting_field_selections: zod.z.array(RampSubmitReimbursementReceipt_AccountingFieldSelectionSchema).describe("List of accounting fields selected to code the reimbursement").nullable().optional(),
|
|
132
132
|
original_reimbursement_amount: RampSubmitReimbursementReceipt_MoneyAmountSchema.nullable().optional()
|
|
133
|
-
}).describe("Complete reimbursement details returned after submitting a receipt.");
|
|
133
|
+
}).passthrough().describe("Complete reimbursement details returned after submitting a receipt.");
|
|
134
134
|
const rampSubmitReimbursementReceipt = require_action.action("RAMP_SUBMIT_REIMBURSEMENT_RECEIPT", {
|
|
135
135
|
slug: "ramp-submit-reimbursement-receipt",
|
|
136
136
|
name: "Submit Reimbursement Receipt",
|