@keystrokehq/ramp 0.1.0 → 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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-department.cjs +3 -3
- package/dist/actions/create-department.cjs.map +1 -1
- package/dist/actions/create-department.d.cts +10 -3
- package/dist/actions/create-department.d.cts.map +1 -1
- package/dist/actions/create-department.d.mts +10 -3
- package/dist/actions/create-department.d.mts.map +1 -1
- package/dist/actions/create-department.mjs +3 -3
- package/dist/actions/create-department.mjs.map +1 -1
- package/dist/actions/create-inventory-item-accounting-field.cjs +5 -5
- package/dist/actions/create-inventory-item-accounting-field.cjs.map +1 -1
- package/dist/actions/create-inventory-item-accounting-field.d.cts +15 -3
- package/dist/actions/create-inventory-item-accounting-field.d.cts.map +1 -1
- package/dist/actions/create-inventory-item-accounting-field.d.mts +15 -3
- package/dist/actions/create-inventory-item-accounting-field.d.mts.map +1 -1
- package/dist/actions/create-inventory-item-accounting-field.mjs +5 -5
- package/dist/actions/create-inventory-item-accounting-field.mjs.map +1 -1
- package/dist/actions/create-memo.cjs +3 -3
- package/dist/actions/create-memo.cjs.map +1 -1
- package/dist/actions/create-memo.d.cts +14 -3
- package/dist/actions/create-memo.d.cts.map +1 -1
- package/dist/actions/create-memo.d.mts +14 -3
- package/dist/actions/create-memo.d.mts.map +1 -1
- package/dist/actions/create-memo.mjs +3 -3
- package/dist/actions/create-memo.mjs.map +1 -1
- package/dist/actions/create-mileage-reimbursement.cjs +22 -22
- package/dist/actions/create-mileage-reimbursement.cjs.map +1 -1
- package/dist/actions/create-mileage-reimbursement.d.cts +149 -3
- package/dist/actions/create-mileage-reimbursement.d.cts.map +1 -1
- package/dist/actions/create-mileage-reimbursement.d.mts +149 -3
- package/dist/actions/create-mileage-reimbursement.d.mts.map +1 -1
- package/dist/actions/create-mileage-reimbursement.mjs +22 -22
- package/dist/actions/create-mileage-reimbursement.mjs.map +1 -1
- package/dist/actions/create-new-custom-accounting-field.cjs +9 -9
- package/dist/actions/create-new-custom-accounting-field.cjs.map +1 -1
- package/dist/actions/create-new-custom-accounting-field.d.cts +38 -3
- package/dist/actions/create-new-custom-accounting-field.d.cts.map +1 -1
- package/dist/actions/create-new-custom-accounting-field.d.mts +38 -3
- package/dist/actions/create-new-custom-accounting-field.d.mts.map +1 -1
- package/dist/actions/create-new-custom-accounting-field.mjs +9 -9
- package/dist/actions/create-new-custom-accounting-field.mjs.map +1 -1
- package/dist/actions/create-tax-code-accounting-field.cjs +5 -5
- package/dist/actions/create-tax-code-accounting-field.cjs.map +1 -1
- package/dist/actions/create-tax-code-accounting-field.d.cts +15 -3
- package/dist/actions/create-tax-code-accounting-field.d.cts.map +1 -1
- package/dist/actions/create-tax-code-accounting-field.d.mts +15 -3
- package/dist/actions/create-tax-code-accounting-field.d.mts.map +1 -1
- package/dist/actions/create-tax-code-accounting-field.mjs +5 -5
- 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 +33 -3
- package/dist/actions/create-user-invite.d.cts.map +1 -1
- package/dist/actions/create-user-invite.d.mts +33 -3
- package/dist/actions/create-user-invite.d.mts.map +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 +8 -8
- package/dist/actions/create-webhook-subscription.cjs.map +1 -1
- package/dist/actions/create-webhook-subscription.d.cts +48 -3
- package/dist/actions/create-webhook-subscription.d.cts.map +1 -1
- package/dist/actions/create-webhook-subscription.d.mts +48 -3
- package/dist/actions/create-webhook-subscription.d.mts.map +1 -1
- package/dist/actions/create-webhook-subscription.mjs +8 -8
- 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 +7 -3
- package/dist/actions/deactivate-user.d.cts.map +1 -1
- package/dist/actions/deactivate-user.d.mts +7 -3
- 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 +9 -3
- package/dist/actions/delete-accounting-account.d.cts.map +1 -1
- package/dist/actions/delete-accounting-account.d.mts +9 -3
- package/dist/actions/delete-accounting-account.d.mts.map +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 +5 -3
- package/dist/actions/delete-accounting-connection.d.cts.map +1 -1
- package/dist/actions/delete-accounting-connection.d.mts +5 -3
- package/dist/actions/delete-accounting-connection.d.mts.map +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 +9 -3
- package/dist/actions/delete-accounting-fields.d.cts.map +1 -1
- package/dist/actions/delete-accounting-fields.d.mts +9 -3
- package/dist/actions/delete-accounting-fields.d.mts.map +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 +9 -3
- package/dist/actions/delete-accounting-inventory-item-options.d.cts.map +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.d.mts +9 -3
- package/dist/actions/delete-accounting-inventory-item-options.d.mts.map +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 +9 -3
- package/dist/actions/delete-accounting-tax-code-options.d.cts.map +1 -1
- package/dist/actions/delete-accounting-tax-code-options.d.mts +9 -3
- package/dist/actions/delete-accounting-tax-code-options.d.mts.map +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 +5 -3
- package/dist/actions/delete-accounting-tax-code.d.cts.map +1 -1
- package/dist/actions/delete-accounting-tax-code.d.mts +5 -3
- package/dist/actions/delete-accounting-tax-code.d.mts.map +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 +11 -3
- package/dist/actions/delete-accounting-tax-rates.d.cts.map +1 -1
- package/dist/actions/delete-accounting-tax-rates.d.mts +11 -3
- package/dist/actions/delete-accounting-tax-rates.d.mts.map +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 +9 -3
- package/dist/actions/delete-accounting-vendors.d.cts.map +1 -1
- package/dist/actions/delete-accounting-vendors.d.mts +9 -3
- package/dist/actions/delete-accounting-vendors.d.mts.map +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 +9 -3
- package/dist/actions/delete-custom-field-option.d.cts.map +1 -1
- package/dist/actions/delete-custom-field-option.d.mts +9 -3
- package/dist/actions/delete-custom-field-option.d.mts.map +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 +5 -3
- package/dist/actions/delete-inventory-item-field.d.cts.map +1 -1
- package/dist/actions/delete-inventory-item-field.d.mts +5 -3
- package/dist/actions/delete-inventory-item-field.d.mts.map +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 +17 -17
- package/dist/actions/delete-spend-allocation-delete-users.cjs.map +1 -1
- package/dist/actions/delete-spend-allocation-delete-users.d.cts +76 -3
- package/dist/actions/delete-spend-allocation-delete-users.d.cts.map +1 -1
- package/dist/actions/delete-spend-allocation-delete-users.d.mts +76 -3
- package/dist/actions/delete-spend-allocation-delete-users.d.mts.map +1 -1
- package/dist/actions/delete-spend-allocation-delete-users.mjs +17 -17
- 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 +9 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +9 -3
- package/dist/actions/delete-webhook.d.mts.map +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 +7 -7
- package/dist/actions/fetch-accounting-account.cjs.map +1 -1
- package/dist/actions/fetch-accounting-account.d.cts +25 -3
- package/dist/actions/fetch-accounting-account.d.cts.map +1 -1
- package/dist/actions/fetch-accounting-account.d.mts +25 -3
- package/dist/actions/fetch-accounting-account.d.mts.map +1 -1
- package/dist/actions/fetch-accounting-account.mjs +7 -7
- package/dist/actions/fetch-accounting-account.mjs.map +1 -1
- package/dist/actions/fetch-accounting-vendor.cjs +9 -9
- package/dist/actions/fetch-accounting-vendor.cjs.map +1 -1
- package/dist/actions/fetch-accounting-vendor.d.cts +25 -3
- package/dist/actions/fetch-accounting-vendor.d.cts.map +1 -1
- package/dist/actions/fetch-accounting-vendor.d.mts +25 -3
- package/dist/actions/fetch-accounting-vendor.d.mts.map +1 -1
- package/dist/actions/fetch-accounting-vendor.mjs +9 -9
- package/dist/actions/fetch-accounting-vendor.mjs.map +1 -1
- package/dist/actions/fetch-custom-accounting-field.cjs +10 -10
- package/dist/actions/fetch-custom-accounting-field.cjs.map +1 -1
- package/dist/actions/fetch-custom-accounting-field.d.cts +18 -3
- package/dist/actions/fetch-custom-accounting-field.d.cts.map +1 -1
- package/dist/actions/fetch-custom-accounting-field.d.mts +18 -3
- package/dist/actions/fetch-custom-accounting-field.d.mts.map +1 -1
- package/dist/actions/fetch-custom-accounting-field.mjs +10 -10
- 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 +38 -3
- package/dist/actions/get-accounting-accounts.d.cts.map +1 -1
- package/dist/actions/get-accounting-accounts.d.mts +38 -3
- package/dist/actions/get-accounting-accounts.d.mts.map +1 -1
- 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 +11 -3
- package/dist/actions/get-accounting-all-connections.d.cts.map +1 -1
- package/dist/actions/get-accounting-all-connections.d.mts +11 -3
- package/dist/actions/get-accounting-all-connections.d.mts.map +1 -1
- 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 +8 -8
- package/dist/actions/get-accounting-connection-by-id.cjs.map +1 -1
- package/dist/actions/get-accounting-connection-by-id.d.cts +29 -3
- package/dist/actions/get-accounting-connection-by-id.d.cts.map +1 -1
- package/dist/actions/get-accounting-connection-by-id.d.mts +29 -3
- package/dist/actions/get-accounting-connection-by-id.d.mts.map +1 -1
- package/dist/actions/get-accounting-connection-by-id.mjs +8 -8
- 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 +15 -3
- package/dist/actions/get-accounting-connection.d.cts.map +1 -1
- package/dist/actions/get-accounting-connection.d.mts +15 -3
- package/dist/actions/get-accounting-connection.d.mts.map +1 -1
- 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 +19 -3
- package/dist/actions/get-accounting-fields.d.cts.map +1 -1
- package/dist/actions/get-accounting-fields.d.mts +19 -3
- package/dist/actions/get-accounting-fields.d.mts.map +1 -1
- 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 +19 -3
- package/dist/actions/get-accounting-vendors.d.cts.map +1 -1
- package/dist/actions/get-accounting-vendors.d.mts +19 -3
- package/dist/actions/get-accounting-vendors.d.mts.map +1 -1
- 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 +6 -6
- package/dist/actions/get-all-transactions.cjs.map +1 -1
- package/dist/actions/get-all-transactions.d.cts +91 -3
- package/dist/actions/get-all-transactions.d.cts.map +1 -1
- package/dist/actions/get-all-transactions.d.mts +91 -3
- package/dist/actions/get-all-transactions.d.mts.map +1 -1
- package/dist/actions/get-all-transactions.mjs +6 -6
- package/dist/actions/get-all-transactions.mjs.map +1 -1
- package/dist/actions/get-card-vault-resource.cjs +4 -4
- package/dist/actions/get-card-vault-resource.cjs.map +1 -1
- package/dist/actions/get-card-vault-resource.d.cts +11 -3
- package/dist/actions/get-card-vault-resource.d.cts.map +1 -1
- package/dist/actions/get-card-vault-resource.d.mts +11 -3
- package/dist/actions/get-card-vault-resource.d.mts.map +1 -1
- package/dist/actions/get-card-vault-resource.mjs +4 -4
- package/dist/actions/get-card-vault-resource.mjs.map +1 -1
- package/dist/actions/get-card.cjs +14 -14
- package/dist/actions/get-card.cjs.map +1 -1
- package/dist/actions/get-card.d.cts +48 -3
- package/dist/actions/get-card.d.cts.map +1 -1
- package/dist/actions/get-card.d.mts +48 -3
- package/dist/actions/get-card.d.mts.map +1 -1
- package/dist/actions/get-card.mjs +14 -14
- 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 +19 -3
- package/dist/actions/get-custom-field-option.d.cts.map +1 -1
- package/dist/actions/get-custom-field-option.d.mts +19 -3
- package/dist/actions/get-custom-field-option.d.mts.map +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 +3 -3
- package/dist/actions/get-department.cjs.map +1 -1
- package/dist/actions/get-department.d.cts +10 -3
- package/dist/actions/get-department.d.cts.map +1 -1
- package/dist/actions/get-department.d.mts +10 -3
- package/dist/actions/get-department.d.mts.map +1 -1
- package/dist/actions/get-department.mjs +3 -3
- package/dist/actions/get-department.mjs.map +1 -1
- package/dist/actions/get-inventory-item-field.cjs +5 -5
- package/dist/actions/get-inventory-item-field.cjs.map +1 -1
- package/dist/actions/get-inventory-item-field.d.cts +9 -3
- package/dist/actions/get-inventory-item-field.d.cts.map +1 -1
- package/dist/actions/get-inventory-item-field.d.mts +9 -3
- package/dist/actions/get-inventory-item-field.d.mts.map +1 -1
- package/dist/actions/get-inventory-item-field.mjs +5 -5
- 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 +10 -3
- package/dist/actions/get-memo.d.cts.map +1 -1
- package/dist/actions/get-memo.d.mts +10 -3
- package/dist/actions/get-memo.d.mts.map +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 +9 -9
- package/dist/actions/get-reimbursement.cjs.map +1 -1
- package/dist/actions/get-reimbursement.d.cts +50 -3
- package/dist/actions/get-reimbursement.d.cts.map +1 -1
- package/dist/actions/get-reimbursement.d.mts +50 -3
- package/dist/actions/get-reimbursement.d.mts.map +1 -1
- package/dist/actions/get-reimbursement.mjs +9 -9
- package/dist/actions/get-reimbursement.mjs.map +1 -1
- package/dist/actions/get-spend-limit.cjs +26 -26
- package/dist/actions/get-spend-limit.cjs.map +1 -1
- package/dist/actions/get-spend-limit.d.cts +107 -3
- package/dist/actions/get-spend-limit.d.cts.map +1 -1
- package/dist/actions/get-spend-limit.d.mts +107 -3
- package/dist/actions/get-spend-limit.d.mts.map +1 -1
- package/dist/actions/get-spend-limit.mjs +26 -26
- package/dist/actions/get-spend-limit.mjs.map +1 -1
- package/dist/actions/get-statement.cjs +8 -8
- package/dist/actions/get-statement.cjs.map +1 -1
- package/dist/actions/get-statement.d.cts +49 -3
- package/dist/actions/get-statement.d.cts.map +1 -1
- package/dist/actions/get-statement.d.mts +49 -3
- package/dist/actions/get-statement.d.mts.map +1 -1
- package/dist/actions/get-statement.mjs +8 -8
- package/dist/actions/get-statement.mjs.map +1 -1
- package/dist/actions/get-transaction.cjs +4 -4
- package/dist/actions/get-transaction.cjs.map +1 -1
- package/dist/actions/get-transaction.d.cts +46 -3
- package/dist/actions/get-transaction.d.cts.map +1 -1
- package/dist/actions/get-transaction.d.mts +46 -3
- package/dist/actions/get-transaction.d.mts.map +1 -1
- package/dist/actions/get-transaction.mjs +4 -4
- package/dist/actions/get-transaction.mjs.map +1 -1
- package/dist/actions/get-user.cjs +11 -11
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +27 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +27 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +11 -11
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-users-deferred-status.cjs +4 -4
- package/dist/actions/get-users-deferred-status.cjs.map +1 -1
- package/dist/actions/get-users-deferred-status.d.cts +22 -3
- package/dist/actions/get-users-deferred-status.d.cts.map +1 -1
- package/dist/actions/get-users-deferred-status.d.mts +22 -3
- package/dist/actions/get-users-deferred-status.d.mts.map +1 -1
- package/dist/actions/get-users-deferred-status.mjs +4 -4
- package/dist/actions/get-users-deferred-status.mjs.map +1 -1
- package/dist/actions/get-vendor.cjs +5 -5
- package/dist/actions/get-vendor.cjs.map +1 -1
- package/dist/actions/get-vendor.d.cts +56 -3
- package/dist/actions/get-vendor.d.cts.map +1 -1
- package/dist/actions/get-vendor.d.mts +56 -3
- package/dist/actions/get-vendor.d.mts.map +1 -1
- package/dist/actions/get-vendor.mjs +5 -5
- package/dist/actions/get-vendor.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +5 -5
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +42 -3
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +42 -3
- package/dist/actions/get-webhook.d.mts.map +1 -1
- package/dist/actions/get-webhook.mjs +5 -5
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/issue-virtual-card.cjs +4 -4
- package/dist/actions/issue-virtual-card.cjs.map +1 -1
- package/dist/actions/issue-virtual-card.d.cts +38 -3
- package/dist/actions/issue-virtual-card.d.cts.map +1 -1
- package/dist/actions/issue-virtual-card.d.mts +38 -3
- package/dist/actions/issue-virtual-card.d.mts.map +1 -1
- package/dist/actions/issue-virtual-card.mjs +4 -4
- package/dist/actions/issue-virtual-card.mjs.map +1 -1
- package/dist/actions/list-accounting-inventory-item-options.cjs +8 -8
- package/dist/actions/list-accounting-inventory-item-options.cjs.map +1 -1
- package/dist/actions/list-accounting-inventory-item-options.d.cts +28 -3
- package/dist/actions/list-accounting-inventory-item-options.d.cts.map +1 -1
- package/dist/actions/list-accounting-inventory-item-options.d.mts +28 -3
- package/dist/actions/list-accounting-inventory-item-options.d.mts.map +1 -1
- package/dist/actions/list-accounting-inventory-item-options.mjs +8 -8
- package/dist/actions/list-accounting-inventory-item-options.mjs.map +1 -1
- package/dist/actions/list-accounting-tax-rates.cjs +9 -9
- package/dist/actions/list-accounting-tax-rates.cjs.map +1 -1
- package/dist/actions/list-accounting-tax-rates.d.cts +21 -3
- package/dist/actions/list-accounting-tax-rates.d.cts.map +1 -1
- package/dist/actions/list-accounting-tax-rates.d.mts +21 -3
- package/dist/actions/list-accounting-tax-rates.d.mts.map +1 -1
- package/dist/actions/list-accounting-tax-rates.mjs +9 -9
- package/dist/actions/list-accounting-tax-rates.mjs.map +1 -1
- package/dist/actions/list-cards.cjs +18 -18
- package/dist/actions/list-cards.cjs.map +1 -1
- package/dist/actions/list-cards.d.cts +65 -3
- package/dist/actions/list-cards.d.cts.map +1 -1
- package/dist/actions/list-cards.d.mts +65 -3
- package/dist/actions/list-cards.d.mts.map +1 -1
- package/dist/actions/list-cards.mjs +18 -18
- package/dist/actions/list-cards.mjs.map +1 -1
- package/dist/actions/list-departments.cjs +5 -5
- package/dist/actions/list-departments.cjs.map +1 -1
- package/dist/actions/list-departments.d.cts +17 -3
- package/dist/actions/list-departments.d.cts.map +1 -1
- package/dist/actions/list-departments.d.mts +17 -3
- package/dist/actions/list-departments.d.mts.map +1 -1
- package/dist/actions/list-departments.mjs +5 -5
- package/dist/actions/list-departments.mjs.map +1 -1
- package/dist/actions/list-memos.cjs +4 -4
- package/dist/actions/list-memos.cjs.map +1 -1
- package/dist/actions/list-memos.d.cts +33 -3
- package/dist/actions/list-memos.d.cts.map +1 -1
- package/dist/actions/list-memos.d.mts +33 -3
- package/dist/actions/list-memos.d.mts.map +1 -1
- package/dist/actions/list-memos.mjs +4 -4
- package/dist/actions/list-memos.mjs.map +1 -1
- package/dist/actions/list-reimbursements.cjs +11 -11
- package/dist/actions/list-reimbursements.cjs.map +1 -1
- package/dist/actions/list-reimbursements.d.cts +91 -3
- package/dist/actions/list-reimbursements.d.cts.map +1 -1
- package/dist/actions/list-reimbursements.d.mts +91 -3
- package/dist/actions/list-reimbursements.d.mts.map +1 -1
- package/dist/actions/list-reimbursements.mjs +11 -11
- package/dist/actions/list-reimbursements.mjs.map +1 -1
- package/dist/actions/list-statements.cjs +18 -18
- package/dist/actions/list-statements.cjs.map +1 -1
- package/dist/actions/list-statements.d.cts +85 -3
- package/dist/actions/list-statements.d.cts.map +1 -1
- package/dist/actions/list-statements.d.mts +85 -3
- package/dist/actions/list-statements.d.mts.map +1 -1
- package/dist/actions/list-statements.mjs +18 -18
- package/dist/actions/list-statements.mjs.map +1 -1
- package/dist/actions/list-users.cjs +13 -13
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +45 -3
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +45 -3
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +13 -13
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/list-vendors-accounts.cjs +6 -6
- package/dist/actions/list-vendors-accounts.cjs.map +1 -1
- package/dist/actions/list-vendors-accounts.d.cts +22 -3
- package/dist/actions/list-vendors-accounts.d.cts.map +1 -1
- package/dist/actions/list-vendors-accounts.d.mts +22 -3
- package/dist/actions/list-vendors-accounts.d.mts.map +1 -1
- package/dist/actions/list-vendors-accounts.mjs +6 -6
- package/dist/actions/list-vendors-accounts.mjs.map +1 -1
- package/dist/actions/list-vendors-contacts.cjs +9 -9
- package/dist/actions/list-vendors-contacts.cjs.map +1 -1
- package/dist/actions/list-vendors-contacts.d.cts +23 -3
- package/dist/actions/list-vendors-contacts.d.cts.map +1 -1
- package/dist/actions/list-vendors-contacts.d.mts +23 -3
- package/dist/actions/list-vendors-contacts.d.mts.map +1 -1
- package/dist/actions/list-vendors-contacts.mjs +9 -9
- package/dist/actions/list-vendors-contacts.mjs.map +1 -1
- package/dist/actions/list-vendors-credits.cjs +11 -11
- package/dist/actions/list-vendors-credits.cjs.map +1 -1
- package/dist/actions/list-vendors-credits.d.cts +116 -3
- package/dist/actions/list-vendors-credits.d.cts.map +1 -1
- package/dist/actions/list-vendors-credits.d.mts +116 -3
- package/dist/actions/list-vendors-credits.d.mts.map +1 -1
- package/dist/actions/list-vendors-credits.mjs +11 -11
- package/dist/actions/list-vendors-credits.mjs.map +1 -1
- package/dist/actions/list-vendors.cjs +7 -7
- package/dist/actions/list-vendors.cjs.map +1 -1
- package/dist/actions/list-vendors.d.cts +60 -3
- package/dist/actions/list-vendors.d.cts.map +1 -1
- package/dist/actions/list-vendors.d.mts +60 -3
- package/dist/actions/list-vendors.d.mts.map +1 -1
- package/dist/actions/list-vendors.mjs +7 -7
- package/dist/actions/list-vendors.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +7 -7
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +13 -3
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +13 -3
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +7 -7
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/options-for-custom-accounting-field.cjs +6 -6
- package/dist/actions/options-for-custom-accounting-field.cjs.map +1 -1
- package/dist/actions/options-for-custom-accounting-field.d.cts +24 -3
- package/dist/actions/options-for-custom-accounting-field.d.cts.map +1 -1
- package/dist/actions/options-for-custom-accounting-field.d.mts +24 -3
- package/dist/actions/options-for-custom-accounting-field.d.mts.map +1 -1
- package/dist/actions/options-for-custom-accounting-field.mjs +6 -6
- package/dist/actions/options-for-custom-accounting-field.mjs.map +1 -1
- package/dist/actions/patch-accounting-connection.cjs +10 -10
- package/dist/actions/patch-accounting-connection.cjs.map +1 -1
- package/dist/actions/patch-accounting-connection.d.cts +28 -3
- package/dist/actions/patch-accounting-connection.d.cts.map +1 -1
- package/dist/actions/patch-accounting-connection.d.mts +28 -3
- package/dist/actions/patch-accounting-connection.d.mts.map +1 -1
- package/dist/actions/patch-accounting-connection.mjs +10 -10
- package/dist/actions/patch-accounting-connection.mjs.map +1 -1
- package/dist/actions/patch-card-resource.cjs +2 -2
- package/dist/actions/patch-card-resource.cjs.map +1 -1
- package/dist/actions/patch-card-resource.d.cts +53 -3
- package/dist/actions/patch-card-resource.d.cts.map +1 -1
- package/dist/actions/patch-card-resource.d.mts +53 -3
- package/dist/actions/patch-card-resource.d.mts.map +1 -1
- package/dist/actions/patch-card-resource.mjs +2 -2
- package/dist/actions/patch-card-resource.mjs.map +1 -1
- package/dist/actions/patch-custom-field-option.cjs +2 -2
- package/dist/actions/patch-custom-field-option.cjs.map +1 -1
- package/dist/actions/patch-custom-field-option.d.cts +32 -3
- package/dist/actions/patch-custom-field-option.d.cts.map +1 -1
- package/dist/actions/patch-custom-field-option.d.mts +32 -3
- package/dist/actions/patch-custom-field-option.d.mts.map +1 -1
- package/dist/actions/patch-custom-field-option.mjs +2 -2
- package/dist/actions/patch-custom-field-option.mjs.map +1 -1
- package/dist/actions/patch-gl-account-resource.cjs +7 -7
- package/dist/actions/patch-gl-account-resource.cjs.map +1 -1
- package/dist/actions/patch-gl-account-resource.d.cts +29 -3
- package/dist/actions/patch-gl-account-resource.d.cts.map +1 -1
- package/dist/actions/patch-gl-account-resource.d.mts +29 -3
- package/dist/actions/patch-gl-account-resource.d.mts.map +1 -1
- package/dist/actions/patch-gl-account-resource.mjs +7 -7
- package/dist/actions/patch-gl-account-resource.mjs.map +1 -1
- package/dist/actions/patch-inventory-item-field.cjs +5 -5
- package/dist/actions/patch-inventory-item-field.cjs.map +1 -1
- package/dist/actions/patch-inventory-item-field.d.cts +15 -3
- package/dist/actions/patch-inventory-item-field.d.cts.map +1 -1
- package/dist/actions/patch-inventory-item-field.d.mts +15 -3
- package/dist/actions/patch-inventory-item-field.d.mts.map +1 -1
- package/dist/actions/patch-inventory-item-field.mjs +5 -5
- package/dist/actions/patch-inventory-item-field.mjs.map +1 -1
- package/dist/actions/post-accounting-accounts.cjs +11 -11
- package/dist/actions/post-accounting-accounts.cjs.map +1 -1
- package/dist/actions/post-accounting-accounts.d.cts +42 -3
- package/dist/actions/post-accounting-accounts.d.cts.map +1 -1
- package/dist/actions/post-accounting-accounts.d.mts +42 -3
- package/dist/actions/post-accounting-accounts.d.mts.map +1 -1
- package/dist/actions/post-accounting-accounts.mjs +11 -11
- package/dist/actions/post-accounting-accounts.mjs.map +1 -1
- package/dist/actions/post-accounting-connection.cjs +7 -7
- package/dist/actions/post-accounting-connection.cjs.map +1 -1
- package/dist/actions/post-accounting-connection.d.cts +26 -3
- package/dist/actions/post-accounting-connection.d.cts.map +1 -1
- package/dist/actions/post-accounting-connection.d.mts +26 -3
- package/dist/actions/post-accounting-connection.d.mts.map +1 -1
- package/dist/actions/post-accounting-connection.mjs +7 -7
- package/dist/actions/post-accounting-connection.mjs.map +1 -1
- package/dist/actions/post-accounting-vendors.cjs +10 -10
- package/dist/actions/post-accounting-vendors.cjs.map +1 -1
- package/dist/actions/post-accounting-vendors.d.cts +31 -3
- package/dist/actions/post-accounting-vendors.d.cts.map +1 -1
- package/dist/actions/post-accounting-vendors.d.mts +31 -3
- package/dist/actions/post-accounting-vendors.d.mts.map +1 -1
- package/dist/actions/post-accounting-vendors.mjs +10 -10
- package/dist/actions/post-accounting-vendors.mjs.map +1 -1
- package/dist/actions/post-inventory-item-options.cjs +8 -8
- package/dist/actions/post-inventory-item-options.cjs.map +1 -1
- package/dist/actions/post-inventory-item-options.d.cts +22 -3
- package/dist/actions/post-inventory-item-options.d.cts.map +1 -1
- package/dist/actions/post-inventory-item-options.d.mts +22 -3
- package/dist/actions/post-inventory-item-options.d.mts.map +1 -1
- package/dist/actions/post-inventory-item-options.mjs +8 -8
- 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 +92 -3
- package/dist/actions/post-physical-card.d.cts.map +1 -1
- package/dist/actions/post-physical-card.d.mts +92 -3
- package/dist/actions/post-physical-card.d.mts.map +1 -1
- 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 +7 -7
- package/dist/actions/reactivate-accounting-connection.cjs.map +1 -1
- package/dist/actions/reactivate-accounting-connection.d.cts +18 -3
- package/dist/actions/reactivate-accounting-connection.d.cts.map +1 -1
- package/dist/actions/reactivate-accounting-connection.d.mts +18 -3
- package/dist/actions/reactivate-accounting-connection.d.mts.map +1 -1
- package/dist/actions/reactivate-accounting-connection.mjs +7 -7
- 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 +7 -3
- package/dist/actions/reactivate-user.d.cts.map +1 -1
- package/dist/actions/reactivate-user.d.mts +7 -3
- 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 +16 -16
- package/dist/actions/submit-reimbursement-receipt.cjs.map +1 -1
- package/dist/actions/submit-reimbursement-receipt.d.cts +152 -3
- package/dist/actions/submit-reimbursement-receipt.d.cts.map +1 -1
- package/dist/actions/submit-reimbursement-receipt.d.mts +152 -3
- package/dist/actions/submit-reimbursement-receipt.d.mts.map +1 -1
- package/dist/actions/submit-reimbursement-receipt.mjs +16 -16
- 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 +11 -3
- package/dist/actions/suspend-card.d.cts.map +1 -1
- package/dist/actions/suspend-card.d.mts +11 -3
- package/dist/actions/suspend-card.d.mts.map +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 +11 -3
- package/dist/actions/terminate-card.d.cts.map +1 -1
- package/dist/actions/terminate-card.d.mts +11 -3
- package/dist/actions/terminate-card.d.mts.map +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 +38 -3
- package/dist/actions/update-accounting-field.d.cts.map +1 -1
- package/dist/actions/update-accounting-field.d.mts +38 -3
- package/dist/actions/update-accounting-field.d.mts.map +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 +6 -6
- package/dist/actions/update-accounting-inventory-item-options.cjs.map +1 -1
- package/dist/actions/update-accounting-inventory-item-options.d.cts +15 -3
- package/dist/actions/update-accounting-inventory-item-options.d.cts.map +1 -1
- package/dist/actions/update-accounting-inventory-item-options.d.mts +15 -3
- package/dist/actions/update-accounting-inventory-item-options.d.mts.map +1 -1
- package/dist/actions/update-accounting-inventory-item-options.mjs +6 -6
- package/dist/actions/update-accounting-inventory-item-options.mjs.map +1 -1
- package/dist/actions/update-accounting-tax-code-options.cjs +6 -6
- package/dist/actions/update-accounting-tax-code-options.cjs.map +1 -1
- package/dist/actions/update-accounting-tax-code-options.d.cts +18 -3
- package/dist/actions/update-accounting-tax-code-options.d.cts.map +1 -1
- package/dist/actions/update-accounting-tax-code-options.d.mts +18 -3
- package/dist/actions/update-accounting-tax-code-options.d.mts.map +1 -1
- package/dist/actions/update-accounting-tax-code-options.mjs +6 -6
- package/dist/actions/update-accounting-tax-code-options.mjs.map +1 -1
- package/dist/actions/update-accounting-tax-code.cjs +5 -5
- package/dist/actions/update-accounting-tax-code.cjs.map +1 -1
- package/dist/actions/update-accounting-tax-code.d.cts +15 -3
- package/dist/actions/update-accounting-tax-code.d.cts.map +1 -1
- package/dist/actions/update-accounting-tax-code.d.mts +15 -3
- package/dist/actions/update-accounting-tax-code.d.mts.map +1 -1
- package/dist/actions/update-accounting-tax-code.mjs +5 -5
- package/dist/actions/update-accounting-tax-code.mjs.map +1 -1
- package/dist/actions/update-accounting-tax-rate.cjs +6 -6
- package/dist/actions/update-accounting-tax-rate.cjs.map +1 -1
- package/dist/actions/update-accounting-tax-rate.d.cts +20 -3
- package/dist/actions/update-accounting-tax-rate.d.cts.map +1 -1
- package/dist/actions/update-accounting-tax-rate.d.mts +20 -3
- package/dist/actions/update-accounting-tax-rate.d.mts.map +1 -1
- package/dist/actions/update-accounting-tax-rate.mjs +6 -6
- package/dist/actions/update-accounting-tax-rate.mjs.map +1 -1
- package/dist/actions/update-accounting-vendor.cjs +9 -9
- package/dist/actions/update-accounting-vendor.cjs.map +1 -1
- package/dist/actions/update-accounting-vendor.d.cts +29 -3
- package/dist/actions/update-accounting-vendor.d.cts.map +1 -1
- package/dist/actions/update-accounting-vendor.d.mts +29 -3
- package/dist/actions/update-accounting-vendor.d.mts.map +1 -1
- package/dist/actions/update-accounting-vendor.mjs +9 -9
- package/dist/actions/update-accounting-vendor.mjs.map +1 -1
- package/dist/actions/update-card-limit.cjs +10 -10
- package/dist/actions/update-card-limit.cjs.map +1 -1
- package/dist/actions/update-card-limit.d.cts +32 -3
- package/dist/actions/update-card-limit.d.cts.map +1 -1
- package/dist/actions/update-card-limit.d.mts +32 -3
- package/dist/actions/update-card-limit.d.mts.map +1 -1
- package/dist/actions/update-card-limit.mjs +10 -10
- package/dist/actions/update-card-limit.mjs.map +1 -1
- package/dist/actions/update-department.cjs +3 -3
- package/dist/actions/update-department.cjs.map +1 -1
- package/dist/actions/update-department.d.cts +16 -3
- package/dist/actions/update-department.d.cts.map +1 -1
- package/dist/actions/update-department.d.mts +16 -3
- package/dist/actions/update-department.d.mts.map +1 -1
- package/dist/actions/update-department.mjs +3 -3
- package/dist/actions/update-department.mjs.map +1 -1
- package/dist/actions/update-limits.cjs +26 -26
- package/dist/actions/update-limits.cjs.map +1 -1
- package/dist/actions/update-limits.d.cts +137 -3
- package/dist/actions/update-limits.d.cts.map +1 -1
- package/dist/actions/update-limits.d.mts +137 -3
- package/dist/actions/update-limits.d.mts.map +1 -1
- package/dist/actions/update-limits.mjs +26 -26
- 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 +33 -3
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +33 -3
- 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 +7 -7
- package/dist/actions/upload-new-options.cjs.map +1 -1
- package/dist/actions/upload-new-options.d.cts +34 -3
- package/dist/actions/upload-new-options.d.cts.map +1 -1
- package/dist/actions/upload-new-options.d.mts +34 -3
- package/dist/actions/upload-new-options.d.mts.map +1 -1
- package/dist/actions/upload-new-options.mjs +7 -7
- package/dist/actions/upload-new-options.mjs.map +1 -1
- package/dist/actions/upload-tax-code-options.cjs +8 -8
- package/dist/actions/upload-tax-code-options.cjs.map +1 -1
- package/dist/actions/upload-tax-code-options.d.cts +25 -3
- package/dist/actions/upload-tax-code-options.d.cts.map +1 -1
- package/dist/actions/upload-tax-code-options.d.mts +25 -3
- package/dist/actions/upload-tax-code-options.d.mts.map +1 -1
- package/dist/actions/upload-tax-code-options.mjs +8 -8
- package/dist/actions/upload-tax-code-options.mjs.map +1 -1
- package/dist/actions/upload-tax-rates.cjs +8 -8
- package/dist/actions/upload-tax-rates.cjs.map +1 -1
- package/dist/actions/upload-tax-rates.d.cts +28 -3
- package/dist/actions/upload-tax-rates.d.cts.map +1 -1
- package/dist/actions/upload-tax-rates.d.mts +28 -3
- package/dist/actions/upload-tax-rates.d.mts.map +1 -1
- package/dist/actions/upload-tax-rates.mjs +8 -8
- 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 +2 -2
|
@@ -1,9 +1,155 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-mileage-reimbursement.d.ts
|
|
4
|
-
declare const RampCreateMileageReimbursementInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RampCreateMileageReimbursementInput: z.ZodObject<{
|
|
5
|
+
memo: z.ZodString;
|
|
6
|
+
distance: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
7
|
+
trip_date: z.ZodString;
|
|
8
|
+
waypoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
end_location: z.ZodOptional<z.ZodString>;
|
|
10
|
+
reimbursee_id: z.ZodString;
|
|
11
|
+
distance_units: z.ZodOptional<z.ZodEnum<{
|
|
12
|
+
KILOMETERS: "KILOMETERS";
|
|
13
|
+
MILES: "MILES";
|
|
14
|
+
}>>;
|
|
15
|
+
start_location: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const RampCreateMileageReimbursementOutput: z.ZodObject<{
|
|
18
|
+
id: z.ZodNullable<z.ZodString>;
|
|
19
|
+
memo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
type: z.ZodNullable<z.ZodEnum<{
|
|
21
|
+
MILEAGE: "MILEAGE";
|
|
22
|
+
OUT_OF_POCKET: "OUT_OF_POCKET";
|
|
23
|
+
PAYBACK_FULL: "PAYBACK_FULL";
|
|
24
|
+
PAYBACK_PARTIAL: "PAYBACK_PARTIAL";
|
|
25
|
+
PER_DIEM: "PER_DIEM";
|
|
26
|
+
}>>;
|
|
27
|
+
state: z.ZodNullable<z.ZodEnum<{
|
|
28
|
+
APPROVED: "APPROVED";
|
|
29
|
+
AWAITING_EXPORT: "AWAITING_EXPORT";
|
|
30
|
+
AWAITING_PAYMENT: "AWAITING_PAYMENT";
|
|
31
|
+
AWAITING_PUSH_PAYMENT: "AWAITING_PUSH_PAYMENT";
|
|
32
|
+
CANCELED: "CANCELED";
|
|
33
|
+
DELETED: "DELETED";
|
|
34
|
+
DRAFT: "DRAFT";
|
|
35
|
+
EXPORTED: "EXPORTED";
|
|
36
|
+
EXPORT_FAILED: "EXPORT_FAILED";
|
|
37
|
+
EXPORT_INITIATED: "EXPORT_INITIATED";
|
|
38
|
+
EXPORT_MARKED_AS_FAILED: "EXPORT_MARKED_AS_FAILED";
|
|
39
|
+
EXPORT_SUCCESSFUL: "EXPORT_SUCCESSFUL";
|
|
40
|
+
FAILED_REIMBURSEMENT: "FAILED_REIMBURSEMENT";
|
|
41
|
+
INIT: "INIT";
|
|
42
|
+
MANUALLY_REIMBURSED: "MANUALLY_REIMBURSED";
|
|
43
|
+
MISSING_ACH: "MISSING_ACH";
|
|
44
|
+
PENDING: "PENDING";
|
|
45
|
+
PROCESSING: "PROCESSING";
|
|
46
|
+
PUSH_PAYMENT_FAILED: "PUSH_PAYMENT_FAILED";
|
|
47
|
+
PUSH_PAYMENT_INITIATED: "PUSH_PAYMENT_INITIATED";
|
|
48
|
+
REIMBURSED: "REIMBURSED";
|
|
49
|
+
REIMBURSED_VIA_PUSH: "REIMBURSED_VIA_PUSH";
|
|
50
|
+
REJECTED: "REJECTED";
|
|
51
|
+
}>>;
|
|
52
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
53
|
+
trip_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
user_id: z.ZodNullable<z.ZodString>;
|
|
55
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
56
|
+
distance: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
57
|
+
merchant: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
+
receipts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
59
|
+
attendees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
60
|
+
name: z.ZodNullable<z.ZodString>;
|
|
61
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
+
}, z.core.$loose>>>>;
|
|
63
|
+
direction: z.ZodNullable<z.ZodEnum<{
|
|
64
|
+
BUSINESS_TO_USER: "BUSINESS_TO_USER";
|
|
65
|
+
USER_TO_BUSINESS: "USER_TO_BUSINESS";
|
|
66
|
+
}>>;
|
|
67
|
+
entity_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
synced_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
waypoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
70
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
71
|
+
line_items: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
72
|
+
memo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
+
amount: z.ZodNullable<z.ZodObject<{
|
|
74
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
|
75
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
76
|
+
}, z.core.$loose>>;
|
|
77
|
+
accounting_field_selections: z.ZodArray<z.ZodObject<{
|
|
78
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
81
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
82
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
|
+
category_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
84
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
85
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
86
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
88
|
+
}, z.core.$loose>>>;
|
|
89
|
+
external_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90
|
+
provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
91
|
+
}, z.core.$loose>>;
|
|
92
|
+
}, z.core.$loose>>>>;
|
|
93
|
+
payment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
|
+
user_email: z.ZodNullable<z.ZodString>;
|
|
96
|
+
approved_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
97
|
+
employee_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
98
|
+
merchant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
|
+
sync_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
100
|
+
NOT_SYNC_READY: "NOT_SYNC_READY";
|
|
101
|
+
SYNCED: "SYNCED";
|
|
102
|
+
SYNC_READY: "SYNC_READY";
|
|
103
|
+
}>>>;
|
|
104
|
+
end_location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
105
|
+
payee_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
106
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
|
107
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
108
|
+
minor_unit_conversion_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
109
|
+
}, z.core.$loose>>>;
|
|
110
|
+
submitted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
111
|
+
expense_group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
112
|
+
id: z.ZodNullable<z.ZodString>;
|
|
113
|
+
name: z.ZodNullable<z.ZodString>;
|
|
114
|
+
}, z.core.$loose>>>;
|
|
115
|
+
spend_limit_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
116
|
+
start_location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
117
|
+
user_full_name: z.ZodNullable<z.ZodString>;
|
|
118
|
+
accounting_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
|
+
payment_batch_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
|
+
transaction_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
121
|
+
payment_processed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
122
|
+
accounting_field_selections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
123
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
124
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
125
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
126
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
127
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
128
|
+
category_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
129
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
130
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
131
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
132
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
133
|
+
}, z.core.$loose>>>;
|
|
134
|
+
external_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
135
|
+
provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
136
|
+
}, z.core.$loose>>>>;
|
|
137
|
+
original_reimbursement_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
138
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
|
139
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
140
|
+
minor_unit_conversion_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
141
|
+
}, z.core.$loose>>>;
|
|
142
|
+
}, z.core.$loose>;
|
|
143
|
+
declare const rampCreateMileageReimbursement: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
144
|
+
memo: string;
|
|
145
|
+
distance: string | number;
|
|
146
|
+
trip_date: string;
|
|
147
|
+
reimbursee_id: string;
|
|
148
|
+
waypoints?: string[] | undefined;
|
|
149
|
+
end_location?: string | undefined;
|
|
150
|
+
distance_units?: "KILOMETERS" | "MILES" | undefined;
|
|
151
|
+
start_location?: string | undefined;
|
|
152
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
153
|
//#endregion
|
|
8
154
|
export { rampCreateMileageReimbursement };
|
|
9
155
|
//# sourceMappingURL=create-mileage-reimbursement.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-mileage-reimbursement.d.cts","names":[],"sources":["../../src/actions/create-mileage-reimbursement.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"create-mileage-reimbursement.d.cts","names":[],"sources":["../../src/actions/create-mileage-reimbursement.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAoDnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyCpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1,9 +1,155 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-mileage-reimbursement.d.ts
|
|
4
|
-
declare const RampCreateMileageReimbursementInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RampCreateMileageReimbursementInput: z.ZodObject<{
|
|
5
|
+
memo: z.ZodString;
|
|
6
|
+
distance: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
7
|
+
trip_date: z.ZodString;
|
|
8
|
+
waypoints: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
end_location: z.ZodOptional<z.ZodString>;
|
|
10
|
+
reimbursee_id: z.ZodString;
|
|
11
|
+
distance_units: z.ZodOptional<z.ZodEnum<{
|
|
12
|
+
KILOMETERS: "KILOMETERS";
|
|
13
|
+
MILES: "MILES";
|
|
14
|
+
}>>;
|
|
15
|
+
start_location: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const RampCreateMileageReimbursementOutput: z.ZodObject<{
|
|
18
|
+
id: z.ZodNullable<z.ZodString>;
|
|
19
|
+
memo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
type: z.ZodNullable<z.ZodEnum<{
|
|
21
|
+
MILEAGE: "MILEAGE";
|
|
22
|
+
OUT_OF_POCKET: "OUT_OF_POCKET";
|
|
23
|
+
PAYBACK_FULL: "PAYBACK_FULL";
|
|
24
|
+
PAYBACK_PARTIAL: "PAYBACK_PARTIAL";
|
|
25
|
+
PER_DIEM: "PER_DIEM";
|
|
26
|
+
}>>;
|
|
27
|
+
state: z.ZodNullable<z.ZodEnum<{
|
|
28
|
+
APPROVED: "APPROVED";
|
|
29
|
+
AWAITING_EXPORT: "AWAITING_EXPORT";
|
|
30
|
+
AWAITING_PAYMENT: "AWAITING_PAYMENT";
|
|
31
|
+
AWAITING_PUSH_PAYMENT: "AWAITING_PUSH_PAYMENT";
|
|
32
|
+
CANCELED: "CANCELED";
|
|
33
|
+
DELETED: "DELETED";
|
|
34
|
+
DRAFT: "DRAFT";
|
|
35
|
+
EXPORTED: "EXPORTED";
|
|
36
|
+
EXPORT_FAILED: "EXPORT_FAILED";
|
|
37
|
+
EXPORT_INITIATED: "EXPORT_INITIATED";
|
|
38
|
+
EXPORT_MARKED_AS_FAILED: "EXPORT_MARKED_AS_FAILED";
|
|
39
|
+
EXPORT_SUCCESSFUL: "EXPORT_SUCCESSFUL";
|
|
40
|
+
FAILED_REIMBURSEMENT: "FAILED_REIMBURSEMENT";
|
|
41
|
+
INIT: "INIT";
|
|
42
|
+
MANUALLY_REIMBURSED: "MANUALLY_REIMBURSED";
|
|
43
|
+
MISSING_ACH: "MISSING_ACH";
|
|
44
|
+
PENDING: "PENDING";
|
|
45
|
+
PROCESSING: "PROCESSING";
|
|
46
|
+
PUSH_PAYMENT_FAILED: "PUSH_PAYMENT_FAILED";
|
|
47
|
+
PUSH_PAYMENT_INITIATED: "PUSH_PAYMENT_INITIATED";
|
|
48
|
+
REIMBURSED: "REIMBURSED";
|
|
49
|
+
REIMBURSED_VIA_PUSH: "REIMBURSED_VIA_PUSH";
|
|
50
|
+
REJECTED: "REJECTED";
|
|
51
|
+
}>>;
|
|
52
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
53
|
+
trip_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
user_id: z.ZodNullable<z.ZodString>;
|
|
55
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
56
|
+
distance: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
57
|
+
merchant: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
+
receipts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
59
|
+
attendees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
60
|
+
name: z.ZodNullable<z.ZodString>;
|
|
61
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
+
}, z.core.$loose>>>>;
|
|
63
|
+
direction: z.ZodNullable<z.ZodEnum<{
|
|
64
|
+
BUSINESS_TO_USER: "BUSINESS_TO_USER";
|
|
65
|
+
USER_TO_BUSINESS: "USER_TO_BUSINESS";
|
|
66
|
+
}>>;
|
|
67
|
+
entity_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
synced_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
waypoints: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
70
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
71
|
+
line_items: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
72
|
+
memo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
|
+
amount: z.ZodNullable<z.ZodObject<{
|
|
74
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
|
75
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
76
|
+
}, z.core.$loose>>;
|
|
77
|
+
accounting_field_selections: z.ZodArray<z.ZodObject<{
|
|
78
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
81
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
82
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
|
+
category_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
84
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
85
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
86
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
88
|
+
}, z.core.$loose>>>;
|
|
89
|
+
external_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90
|
+
provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
91
|
+
}, z.core.$loose>>;
|
|
92
|
+
}, z.core.$loose>>>>;
|
|
93
|
+
payment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
|
+
user_email: z.ZodNullable<z.ZodString>;
|
|
96
|
+
approved_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
97
|
+
employee_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
98
|
+
merchant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
|
+
sync_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
100
|
+
NOT_SYNC_READY: "NOT_SYNC_READY";
|
|
101
|
+
SYNCED: "SYNCED";
|
|
102
|
+
SYNC_READY: "SYNC_READY";
|
|
103
|
+
}>>>;
|
|
104
|
+
end_location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
105
|
+
payee_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
106
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
|
107
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
108
|
+
minor_unit_conversion_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
109
|
+
}, z.core.$loose>>>;
|
|
110
|
+
submitted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
111
|
+
expense_group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
112
|
+
id: z.ZodNullable<z.ZodString>;
|
|
113
|
+
name: z.ZodNullable<z.ZodString>;
|
|
114
|
+
}, z.core.$loose>>>;
|
|
115
|
+
spend_limit_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
116
|
+
start_location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
117
|
+
user_full_name: z.ZodNullable<z.ZodString>;
|
|
118
|
+
accounting_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
|
+
payment_batch_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
|
+
transaction_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
121
|
+
payment_processed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
122
|
+
accounting_field_selections: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
123
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
124
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
125
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
126
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
127
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
128
|
+
category_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
129
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
130
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
131
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
132
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
133
|
+
}, z.core.$loose>>>;
|
|
134
|
+
external_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
135
|
+
provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
136
|
+
}, z.core.$loose>>>>;
|
|
137
|
+
original_reimbursement_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
138
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
|
139
|
+
currency_code: z.ZodNullable<z.ZodString>;
|
|
140
|
+
minor_unit_conversion_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
141
|
+
}, z.core.$loose>>>;
|
|
142
|
+
}, z.core.$loose>;
|
|
143
|
+
declare const rampCreateMileageReimbursement: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
144
|
+
memo: string;
|
|
145
|
+
distance: string | number;
|
|
146
|
+
trip_date: string;
|
|
147
|
+
reimbursee_id: string;
|
|
148
|
+
waypoints?: string[] | undefined;
|
|
149
|
+
end_location?: string | undefined;
|
|
150
|
+
distance_units?: "KILOMETERS" | "MILES" | undefined;
|
|
151
|
+
start_location?: string | undefined;
|
|
152
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
153
|
//#endregion
|
|
8
154
|
export { rampCreateMileageReimbursement };
|
|
9
155
|
//# sourceMappingURL=create-mileage-reimbursement.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-mileage-reimbursement.d.mts","names":[],"sources":["../../src/actions/create-mileage-reimbursement.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"create-mileage-reimbursement.d.mts","names":[],"sources":["../../src/actions/create-mileage-reimbursement.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAoDnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyCpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -44,63 +44,63 @@ const RampCreateMileageReimbursement_ReimbursementStateSchema = z.enum([
|
|
|
44
44
|
"REJECTED"
|
|
45
45
|
]).describe("Current state of the reimbursement.");
|
|
46
46
|
const RampCreateMileageReimbursement_AttendeeSchema = z.object({
|
|
47
|
-
name: z.string().describe("Name of the attendee"),
|
|
47
|
+
name: z.string().describe("Name of the attendee").nullable(),
|
|
48
48
|
user_id: 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 RampCreateMileageReimbursement_ReimbursementDirectionSchema = z.enum(["BUSINESS_TO_USER", "USER_TO_BUSINESS"]).describe("Direction of the reimbursement.");
|
|
51
51
|
const RampCreateMileageReimbursement_LineItemAmountSchema = z.object({
|
|
52
|
-
amount: z.number().int().describe("Numeric value of the line item amount in minor currency units"),
|
|
53
|
-
currency_code: z.string().describe("Currency code for the line item")
|
|
54
|
-
}).describe("Amount object for a line item.");
|
|
52
|
+
amount: z.number().int().describe("Numeric value of the line item amount in minor currency units").nullable(),
|
|
53
|
+
currency_code: z.string().describe("Currency code for the line item").nullable()
|
|
54
|
+
}).passthrough().describe("Amount object for a line item.");
|
|
55
55
|
const RampCreateMileageReimbursement_CategoryInfoSchema = z.object({
|
|
56
56
|
id: z.string().describe("Internal identifier for the category").nullable().optional(),
|
|
57
57
|
name: z.string().describe("Name of the category").nullable().optional(),
|
|
58
58
|
type: z.string().describe("Type of accounting field (e.g., GL_ACCOUNT, Subsidiary)").nullable().optional(),
|
|
59
59
|
external_id: z.string().describe("External identifier for the category").nullable().optional()
|
|
60
|
-
}).describe("Category information for an accounting field.");
|
|
60
|
+
}).passthrough().describe("Category information for an accounting field.");
|
|
61
61
|
const RampCreateMileageReimbursement_AccountingFieldSelectionSchema = z.object({
|
|
62
62
|
id: z.string().describe("Internal identifier for the accounting field selection").nullable().optional(),
|
|
63
63
|
name: z.string().describe("Name of the accounting field selection").nullable().optional(),
|
|
64
64
|
type: z.string().describe("Type of the accounting field selection").nullable().optional(),
|
|
65
|
-
source: z.
|
|
65
|
+
source: z.record(z.string(), z.unknown()).describe("Source information for the accounting field selection").nullable().optional(),
|
|
66
66
|
external_id: z.string().describe("External identifier for the accounting field selection").nullable().optional(),
|
|
67
67
|
category_info: RampCreateMileageReimbursement_CategoryInfoSchema.nullable().optional(),
|
|
68
68
|
external_code: z.string().describe("External code for the accounting field selection").nullable().optional(),
|
|
69
69
|
provider_name: z.string().describe("Provider name for the accounting field selection").nullable().optional()
|
|
70
|
-
}).describe("Accounting field selection with category information.");
|
|
70
|
+
}).passthrough().describe("Accounting field selection with category information.");
|
|
71
71
|
const RampCreateMileageReimbursement_LineItemSchema = z.object({
|
|
72
72
|
memo: z.string().describe("Memo for this line item").nullable().optional(),
|
|
73
73
|
amount: RampCreateMileageReimbursement_LineItemAmountSchema.nullable(),
|
|
74
74
|
accounting_field_selections: z.array(RampCreateMileageReimbursement_AccountingFieldSelectionSchema).describe("Accounting field selections for this line item")
|
|
75
|
-
}).describe("Individual line item within a reimbursement.");
|
|
75
|
+
}).passthrough().describe("Individual line item within a reimbursement.");
|
|
76
76
|
const RampCreateMileageReimbursement_SyncStatusSchema = z.enum([
|
|
77
77
|
"NOT_SYNC_READY",
|
|
78
78
|
"SYNCED",
|
|
79
79
|
"SYNC_READY"
|
|
80
80
|
]).describe("Current sync status of the reimbursement.");
|
|
81
81
|
const RampCreateMileageReimbursement_MoneyAmountSchema = z.object({
|
|
82
|
-
amount: z.number().int().describe("Numeric value of the amount in minor currency units (e.g., cents)"),
|
|
83
|
-
currency_code: z.string().describe("Currency code (e.g., USD, EUR)"),
|
|
82
|
+
amount: z.number().int().describe("Numeric value of the amount in minor currency units (e.g., cents)").nullable(),
|
|
83
|
+
currency_code: z.string().describe("Currency code (e.g., USD, EUR)").nullable(),
|
|
84
84
|
minor_unit_conversion_rate: z.number().int().describe("Conversion rate for minor units").nullable().optional()
|
|
85
|
-
}).describe("Amount object with currency information.");
|
|
85
|
+
}).passthrough().describe("Amount object with currency information.");
|
|
86
86
|
const RampCreateMileageReimbursement_ExpenseGroupSchema = z.object({
|
|
87
|
-
id: z.string().describe("Unique identifier of the expense group"),
|
|
88
|
-
name: z.string().describe("Name of the expense group")
|
|
89
|
-
}).describe("Expense group information.");
|
|
87
|
+
id: z.string().describe("Unique identifier of the expense group").nullable(),
|
|
88
|
+
name: z.string().describe("Name of the expense group").nullable()
|
|
89
|
+
}).passthrough().describe("Expense group information.");
|
|
90
90
|
const rampCreateMileageReimbursement = action("RAMP_CREATE_MILEAGE_REIMBURSEMENT", {
|
|
91
91
|
slug: "ramp-create-mileage-reimbursement",
|
|
92
92
|
name: "Create Mileage Reimbursement",
|
|
93
93
|
description: "Tool to create a mileage reimbursement in Ramp. Use when a user needs to submit a reimbursement for business-related travel distance. Requires distance, reimbursee_id, and trip_date as mandatory fields.",
|
|
94
94
|
input: RampCreateMileageReimbursementInput,
|
|
95
95
|
output: z.object({
|
|
96
|
-
id: z.string().describe("Unique identifier of the reimbursement"),
|
|
96
|
+
id: z.string().describe("Unique identifier of the reimbursement").nullable(),
|
|
97
97
|
memo: z.string().describe("Reimbursement memo").nullable().optional(),
|
|
98
98
|
type: RampCreateMileageReimbursement_ReimbursementTypeSchema.nullable(),
|
|
99
99
|
state: RampCreateMileageReimbursement_ReimbursementStateSchema.nullable(),
|
|
100
100
|
amount: z.number().describe("The amount that the payor pays.").nullable().optional(),
|
|
101
101
|
trip_id: z.string().describe("Trip ID associated with the reimbursement if a Trip ID is available.").nullable().optional(),
|
|
102
|
-
user_id: z.string().describe("Unique identifier of the person who made the reimbursement."),
|
|
103
|
-
currency: z.string().describe("The currency that the payor pays with."),
|
|
102
|
+
user_id: z.string().describe("Unique identifier of the person who made the reimbursement.").nullable(),
|
|
103
|
+
currency: z.string().describe("The currency that the payor pays with.").nullable(),
|
|
104
104
|
distance: z.number().describe("The distance of the reimbursement in miles, for mileage reimbursements.").nullable().optional(),
|
|
105
105
|
merchant: z.string().describe("The name of the merchant that the reimbursement is associated with.").nullable().optional(),
|
|
106
106
|
receipts: z.array(z.string()).describe("List of receipt IDs associated with the reimbursement.").nullable().optional(),
|
|
@@ -109,11 +109,11 @@ const rampCreateMileageReimbursement = action("RAMP_CREATE_MILEAGE_REIMBURSEMENT
|
|
|
109
109
|
entity_id: z.string().describe("Unique identifier of the associated business entity.").nullable().optional(),
|
|
110
110
|
synced_at: z.string().describe("Time when reimbursement has been synced. Will be None if the reimbursement is not synced.").nullable().optional(),
|
|
111
111
|
waypoints: z.array(z.string()).describe("List of intermediate stops during the trip, for mileage reimbursements.").nullable().optional(),
|
|
112
|
-
created_at: z.string().describe("Time at which the reimbursement is created. Presented in ISO8601 format."),
|
|
112
|
+
created_at: z.string().describe("Time at which the reimbursement is created. Presented in ISO8601 format.").nullable(),
|
|
113
113
|
line_items: z.array(RampCreateMileageReimbursement_LineItemSchema).describe("List of line items related to the reimbursement.").nullable().optional(),
|
|
114
114
|
payment_id: z.string().describe("The unique identifier of the payment batch that the reimbursement is associated with, once paid.").nullable().optional(),
|
|
115
115
|
updated_at: z.string().describe("Time at which the reimbursement was last updated. Presented in ISO8601 format.").nullable().optional(),
|
|
116
|
-
user_email: z.string().describe("Email of the person who made the reimbursement."),
|
|
116
|
+
user_email: z.string().describe("Email of the person who made the reimbursement.").nullable(),
|
|
117
117
|
approved_at: z.string().describe("Time at which the reimbursement is approved. Presented in ISO8601 format.").nullable().optional(),
|
|
118
118
|
employee_id: z.string().describe("Employee ID of the person who made the reimbursement.").nullable().optional(),
|
|
119
119
|
merchant_id: z.string().describe("The unique identifier of the merchant. Note that this field may be empty when merchant is populated if Ramp does not recognize the merchant.").nullable().optional(),
|
|
@@ -124,14 +124,14 @@ const rampCreateMileageReimbursement = action("RAMP_CREATE_MILEAGE_REIMBURSEMENT
|
|
|
124
124
|
expense_group: RampCreateMileageReimbursement_ExpenseGroupSchema.nullable().optional(),
|
|
125
125
|
spend_limit_id: z.string().describe("Spend limit to which the reimbursement is attributed, if it exists.").nullable().optional(),
|
|
126
126
|
start_location: z.string().describe("Starting location of the trip, for mileage reimbursements.").nullable().optional(),
|
|
127
|
-
user_full_name: z.string().describe("Full name of the person who made the reimbursement."),
|
|
127
|
+
user_full_name: z.string().describe("Full name of the person who made the reimbursement.").nullable(),
|
|
128
128
|
accounting_date: z.string().describe("The date for the reimbursement for accounting purposes. If not specified, falls back to the transaction date.").nullable().optional(),
|
|
129
129
|
payment_batch_id: z.string().describe("The unique identifier of the reimbursement payment batch that the reimbursement is associated with.").nullable().optional(),
|
|
130
130
|
transaction_date: z.string().describe("Date of the transaction in ISO 8601 date format.").nullable().optional(),
|
|
131
131
|
payment_processed_at: z.string().describe("Time of reimbursement payment. Presented in ISO8601 format.").nullable().optional(),
|
|
132
132
|
accounting_field_selections: z.array(RampCreateMileageReimbursement_AccountingFieldSelectionSchema).describe("List of accounting fields selected to code the reimbursement.").nullable().optional(),
|
|
133
133
|
original_reimbursement_amount: RampCreateMileageReimbursement_MoneyAmountSchema.nullable().optional()
|
|
134
|
-
}).describe("Complete mileage reimbursement details returned by the API.")
|
|
134
|
+
}).passthrough().describe("Complete mileage reimbursement details returned by the API.")
|
|
135
135
|
});
|
|
136
136
|
//#endregion
|
|
137
137
|
export { rampCreateMileageReimbursement };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-mileage-reimbursement.mjs","names":[],"sources":["../../src/actions/create-mileage-reimbursement.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateMileageReimbursementInput: z.ZodTypeAny = z.object({\n memo: z.string().describe(\"Memo or note describing the purpose of the mileage reimbursement. This field is required.\"),\n distance: z.union([z.string(), z.number()]),\n trip_date: z.string().describe(\"Date of the trip in ISO 8601 date format (YYYY-MM-DD).\"),\n waypoints: z.array(z.string()).describe(\"List of intermediate stops during the trip.\").optional(),\n end_location: z.string().describe(\"Ending location of the trip.\").optional(),\n reimbursee_id: z.string().describe(\"Unique identifier (UUID) of the user to be reimbursed.\"),\n distance_units: z.enum([\"KILOMETERS\", \"MILES\"]).describe(\"Distance units for mileage reimbursement.\").optional(),\n start_location: z.string().describe(\"Starting location of the trip.\").optional(),\n});\nconst RampCreateMileageReimbursement_ReimbursementTypeSchema: z.ZodTypeAny = z.enum([\"MILEAGE\", \"OUT_OF_POCKET\", \"PAYBACK_FULL\", \"PAYBACK_PARTIAL\", \"PER_DIEM\"]).describe(\"Type of the reimbursement.\");\nconst RampCreateMileageReimbursement_ReimbursementStateSchema: z.ZodTypeAny = z.enum([\"APPROVED\", \"AWAITING_EXPORT\", \"AWAITING_PAYMENT\", \"AWAITING_PUSH_PAYMENT\", \"CANCELED\", \"DELETED\", \"DRAFT\", \"EXPORTED\", \"EXPORT_FAILED\", \"EXPORT_INITIATED\", \"EXPORT_MARKED_AS_FAILED\", \"EXPORT_SUCCESSFUL\", \"FAILED_REIMBURSEMENT\", \"INIT\", \"MANUALLY_REIMBURSED\", \"MISSING_ACH\", \"PENDING\", \"PROCESSING\", \"PUSH_PAYMENT_FAILED\", \"PUSH_PAYMENT_INITIATED\", \"REIMBURSED\", \"REIMBURSED_VIA_PUSH\", \"REJECTED\"]).describe(\"Current state of the reimbursement.\");\nconst RampCreateMileageReimbursement_AttendeeSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the attendee\"),\n user_id: z.string().describe(\"User ID of the attendee if they are a Ramp user\").nullable().optional(),\n}).describe(\"Attendee information for a reimbursement.\");\nconst RampCreateMileageReimbursement_ReimbursementDirectionSchema: z.ZodTypeAny = z.enum([\"BUSINESS_TO_USER\", \"USER_TO_BUSINESS\"]).describe(\"Direction of the reimbursement.\");\nconst RampCreateMileageReimbursement_LineItemAmountSchema: z.ZodTypeAny = z.object({\n amount: z.number().int().describe(\"Numeric value of the line item amount in minor currency units\"),\n currency_code: z.string().describe(\"Currency code for the line item\"),\n}).describe(\"Amount object for a line item.\");\nconst RampCreateMileageReimbursement_CategoryInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Internal identifier for the category\").nullable().optional(),\n name: z.string().describe(\"Name of the category\").nullable().optional(),\n type: z.string().describe(\"Type of accounting field (e.g., GL_ACCOUNT, Subsidiary)\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the category\").nullable().optional(),\n}).describe(\"Category information for an accounting field.\");\nconst RampCreateMileageReimbursement_AccountingFieldSelectionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Internal identifier for the accounting field selection\").nullable().optional(),\n name: z.string().describe(\"Name of the accounting field selection\").nullable().optional(),\n type: z.string().describe(\"Type of the accounting field selection\").nullable().optional(),\n source: z.object({}).describe(\"Source information for the accounting field selection\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the accounting field selection\").nullable().optional(),\n category_info: RampCreateMileageReimbursement_CategoryInfoSchema.nullable().optional(),\n external_code: z.string().describe(\"External code for the accounting field selection\").nullable().optional(),\n provider_name: z.string().describe(\"Provider name for the accounting field selection\").nullable().optional(),\n}).describe(\"Accounting field selection with category information.\");\nconst RampCreateMileageReimbursement_LineItemSchema: z.ZodTypeAny = z.object({\n memo: z.string().describe(\"Memo for this line item\").nullable().optional(),\n amount: RampCreateMileageReimbursement_LineItemAmountSchema.nullable(),\n accounting_field_selections: z.array(RampCreateMileageReimbursement_AccountingFieldSelectionSchema).describe(\"Accounting field selections for this line item\"),\n}).describe(\"Individual line item within a reimbursement.\");\nconst RampCreateMileageReimbursement_SyncStatusSchema: z.ZodTypeAny = z.enum([\"NOT_SYNC_READY\", \"SYNCED\", \"SYNC_READY\"]).describe(\"Current sync status of the reimbursement.\");\nconst RampCreateMileageReimbursement_MoneyAmountSchema: z.ZodTypeAny = z.object({\n amount: z.number().int().describe(\"Numeric value of the amount in minor currency units (e.g., cents)\"),\n currency_code: z.string().describe(\"Currency code (e.g., USD, EUR)\"),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate for minor units\").nullable().optional(),\n}).describe(\"Amount object with currency information.\");\nconst RampCreateMileageReimbursement_ExpenseGroupSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the expense group\"),\n name: z.string().describe(\"Name of the expense group\"),\n}).describe(\"Expense group information.\");\nexport const RampCreateMileageReimbursementOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the reimbursement\"),\n memo: z.string().describe(\"Reimbursement memo\").nullable().optional(),\n type: RampCreateMileageReimbursement_ReimbursementTypeSchema.nullable(),\n state: RampCreateMileageReimbursement_ReimbursementStateSchema.nullable(),\n amount: z.number().describe(\"The amount that the payor pays.\").nullable().optional(),\n trip_id: z.string().describe(\"Trip ID associated with the reimbursement if a Trip ID is available.\").nullable().optional(),\n user_id: z.string().describe(\"Unique identifier of the person who made the reimbursement.\"),\n currency: z.string().describe(\"The currency that the payor pays with.\"),\n distance: z.number().describe(\"The distance of the reimbursement in miles, for mileage reimbursements.\").nullable().optional(),\n merchant: z.string().describe(\"The name of the merchant that the reimbursement is associated with.\").nullable().optional(),\n receipts: z.array(z.string()).describe(\"List of receipt IDs associated with the reimbursement.\").nullable().optional(),\n attendees: z.array(RampCreateMileageReimbursement_AttendeeSchema).describe(\"List of attendees for the reimbursement.\").nullable().optional(),\n direction: RampCreateMileageReimbursement_ReimbursementDirectionSchema.nullable(),\n entity_id: z.string().describe(\"Unique identifier of the associated business entity.\").nullable().optional(),\n synced_at: z.string().describe(\"Time when reimbursement has been synced. Will be None if the reimbursement is not synced.\").nullable().optional(),\n waypoints: z.array(z.string()).describe(\"List of intermediate stops during the trip, for mileage reimbursements.\").nullable().optional(),\n created_at: z.string().describe(\"Time at which the reimbursement is created. Presented in ISO8601 format.\"),\n line_items: z.array(RampCreateMileageReimbursement_LineItemSchema).describe(\"List of line items related to the reimbursement.\").nullable().optional(),\n payment_id: z.string().describe(\"The unique identifier of the payment batch that the reimbursement is associated with, once paid.\").nullable().optional(),\n updated_at: z.string().describe(\"Time at which the reimbursement was last updated. Presented in ISO8601 format.\").nullable().optional(),\n user_email: z.string().describe(\"Email of the person who made the reimbursement.\"),\n approved_at: z.string().describe(\"Time at which the reimbursement is approved. Presented in ISO8601 format.\").nullable().optional(),\n employee_id: z.string().describe(\"Employee ID of the person who made the reimbursement.\").nullable().optional(),\n merchant_id: z.string().describe(\"The unique identifier of the merchant. Note that this field may be empty when merchant is populated if Ramp does not recognize the merchant.\").nullable().optional(),\n sync_status: RampCreateMileageReimbursement_SyncStatusSchema.nullable().optional(),\n end_location: z.string().describe(\"Ending location of the trip, for mileage reimbursements.\").nullable().optional(),\n payee_amount: RampCreateMileageReimbursement_MoneyAmountSchema.nullable().optional(),\n submitted_at: z.string().describe(\"Time when reimbursement was most recently submitted\").nullable().optional(),\n expense_group: RampCreateMileageReimbursement_ExpenseGroupSchema.nullable().optional(),\n spend_limit_id: z.string().describe(\"Spend limit to which the reimbursement is attributed, if it exists.\").nullable().optional(),\n start_location: z.string().describe(\"Starting location of the trip, for mileage reimbursements.\").nullable().optional(),\n user_full_name: z.string().describe(\"Full name of the person who made the reimbursement.\"),\n accounting_date: z.string().describe(\"The date for the reimbursement for accounting purposes. If not specified, falls back to the transaction date.\").nullable().optional(),\n payment_batch_id: z.string().describe(\"The unique identifier of the reimbursement payment batch that the reimbursement is associated with.\").nullable().optional(),\n transaction_date: z.string().describe(\"Date of the transaction in ISO 8601 date format.\").nullable().optional(),\n payment_processed_at: z.string().describe(\"Time of reimbursement payment. Presented in ISO8601 format.\").nullable().optional(),\n accounting_field_selections: z.array(RampCreateMileageReimbursement_AccountingFieldSelectionSchema).describe(\"List of accounting fields selected to code the reimbursement.\").nullable().optional(),\n original_reimbursement_amount: RampCreateMileageReimbursement_MoneyAmountSchema.nullable().optional(),\n}).describe(\"Complete mileage reimbursement details returned by the API.\");\n\nexport const rampCreateMileageReimbursement = action(\"RAMP_CREATE_MILEAGE_REIMBURSEMENT\", {\n slug: \"ramp-create-mileage-reimbursement\",\n name: \"Create Mileage Reimbursement\",\n description: \"Tool to create a mileage reimbursement in Ramp. Use when a user needs to submit a reimbursement for business-related travel distance. Requires distance, reimbursee_id, and trip_date as mandatory fields.\",\n input: RampCreateMileageReimbursementInput,\n output: RampCreateMileageReimbursementOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoD,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACrH,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC;CAC1C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACvF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS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,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,cAAc,iDAAiD,SAAS,CAAC,CAAC,SAAS;EACnF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,kDAAkD,SAAS,CAAC,CAAC,SAAS;EACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1K,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjK,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,6BAA6B,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClM,+BAA+B,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"create-mileage-reimbursement.mjs","names":[],"sources":["../../src/actions/create-mileage-reimbursement.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateMileageReimbursementInput = z.object({\n memo: z.string().describe(\"Memo or note describing the purpose of the mileage reimbursement. This field is required.\"),\n distance: z.union([z.string(), z.number()]),\n trip_date: z.string().describe(\"Date of the trip in ISO 8601 date format (YYYY-MM-DD).\"),\n waypoints: z.array(z.string()).describe(\"List of intermediate stops during the trip.\").optional(),\n end_location: z.string().describe(\"Ending location of the trip.\").optional(),\n reimbursee_id: z.string().describe(\"Unique identifier (UUID) of the user to be reimbursed.\"),\n distance_units: z.enum([\"KILOMETERS\", \"MILES\"]).describe(\"Distance units for mileage reimbursement.\").optional(),\n start_location: z.string().describe(\"Starting location of the trip.\").optional(),\n});\nconst RampCreateMileageReimbursement_ReimbursementTypeSchema = z.enum([\"MILEAGE\", \"OUT_OF_POCKET\", \"PAYBACK_FULL\", \"PAYBACK_PARTIAL\", \"PER_DIEM\"]).describe(\"Type of the reimbursement.\");\nconst RampCreateMileageReimbursement_ReimbursementStateSchema = z.enum([\"APPROVED\", \"AWAITING_EXPORT\", \"AWAITING_PAYMENT\", \"AWAITING_PUSH_PAYMENT\", \"CANCELED\", \"DELETED\", \"DRAFT\", \"EXPORTED\", \"EXPORT_FAILED\", \"EXPORT_INITIATED\", \"EXPORT_MARKED_AS_FAILED\", \"EXPORT_SUCCESSFUL\", \"FAILED_REIMBURSEMENT\", \"INIT\", \"MANUALLY_REIMBURSED\", \"MISSING_ACH\", \"PENDING\", \"PROCESSING\", \"PUSH_PAYMENT_FAILED\", \"PUSH_PAYMENT_INITIATED\", \"REIMBURSED\", \"REIMBURSED_VIA_PUSH\", \"REJECTED\"]).describe(\"Current state of the reimbursement.\");\nconst RampCreateMileageReimbursement_AttendeeSchema = z.object({\n name: z.string().describe(\"Name of the attendee\").nullable(),\n user_id: z.string().describe(\"User ID of the attendee if they are a Ramp user\").nullable().optional(),\n}).passthrough().describe(\"Attendee information for a reimbursement.\");\nconst RampCreateMileageReimbursement_ReimbursementDirectionSchema = z.enum([\"BUSINESS_TO_USER\", \"USER_TO_BUSINESS\"]).describe(\"Direction of the reimbursement.\");\nconst RampCreateMileageReimbursement_LineItemAmountSchema = z.object({\n amount: z.number().int().describe(\"Numeric value of the line item amount in minor currency units\").nullable(),\n currency_code: z.string().describe(\"Currency code for the line item\").nullable(),\n}).passthrough().describe(\"Amount object for a line item.\");\nconst RampCreateMileageReimbursement_CategoryInfoSchema = z.object({\n id: z.string().describe(\"Internal identifier for the category\").nullable().optional(),\n name: z.string().describe(\"Name of the category\").nullable().optional(),\n type: z.string().describe(\"Type of accounting field (e.g., GL_ACCOUNT, Subsidiary)\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the category\").nullable().optional(),\n}).passthrough().describe(\"Category information for an accounting field.\");\nconst RampCreateMileageReimbursement_AccountingFieldSelectionSchema = z.object({\n id: z.string().describe(\"Internal identifier for the accounting field selection\").nullable().optional(),\n name: z.string().describe(\"Name of the accounting field selection\").nullable().optional(),\n type: z.string().describe(\"Type of the accounting field selection\").nullable().optional(),\n source: z.record(z.string(), z.unknown()).describe(\"Source information for the accounting field selection\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the accounting field selection\").nullable().optional(),\n category_info: RampCreateMileageReimbursement_CategoryInfoSchema.nullable().optional(),\n external_code: z.string().describe(\"External code for the accounting field selection\").nullable().optional(),\n provider_name: z.string().describe(\"Provider name for the accounting field selection\").nullable().optional(),\n}).passthrough().describe(\"Accounting field selection with category information.\");\nconst RampCreateMileageReimbursement_LineItemSchema = z.object({\n memo: z.string().describe(\"Memo for this line item\").nullable().optional(),\n amount: RampCreateMileageReimbursement_LineItemAmountSchema.nullable(),\n accounting_field_selections: z.array(RampCreateMileageReimbursement_AccountingFieldSelectionSchema).describe(\"Accounting field selections for this line item\"),\n}).passthrough().describe(\"Individual line item within a reimbursement.\");\nconst RampCreateMileageReimbursement_SyncStatusSchema = z.enum([\"NOT_SYNC_READY\", \"SYNCED\", \"SYNC_READY\"]).describe(\"Current sync status of the reimbursement.\");\nconst RampCreateMileageReimbursement_MoneyAmountSchema = z.object({\n amount: z.number().int().describe(\"Numeric value of the amount in minor currency units (e.g., cents)\").nullable(),\n currency_code: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate for minor units\").nullable().optional(),\n}).passthrough().describe(\"Amount object with currency information.\");\nconst RampCreateMileageReimbursement_ExpenseGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier of the expense group\").nullable(),\n name: z.string().describe(\"Name of the expense group\").nullable(),\n}).passthrough().describe(\"Expense group information.\");\nexport const RampCreateMileageReimbursementOutput = z.object({\n id: z.string().describe(\"Unique identifier of the reimbursement\").nullable(),\n memo: z.string().describe(\"Reimbursement memo\").nullable().optional(),\n type: RampCreateMileageReimbursement_ReimbursementTypeSchema.nullable(),\n state: RampCreateMileageReimbursement_ReimbursementStateSchema.nullable(),\n amount: z.number().describe(\"The amount that the payor pays.\").nullable().optional(),\n trip_id: z.string().describe(\"Trip ID associated with the reimbursement if a Trip ID is available.\").nullable().optional(),\n user_id: z.string().describe(\"Unique identifier of the person who made the reimbursement.\").nullable(),\n currency: z.string().describe(\"The currency that the payor pays with.\").nullable(),\n distance: z.number().describe(\"The distance of the reimbursement in miles, for mileage reimbursements.\").nullable().optional(),\n merchant: z.string().describe(\"The name of the merchant that the reimbursement is associated with.\").nullable().optional(),\n receipts: z.array(z.string()).describe(\"List of receipt IDs associated with the reimbursement.\").nullable().optional(),\n attendees: z.array(RampCreateMileageReimbursement_AttendeeSchema).describe(\"List of attendees for the reimbursement.\").nullable().optional(),\n direction: RampCreateMileageReimbursement_ReimbursementDirectionSchema.nullable(),\n entity_id: z.string().describe(\"Unique identifier of the associated business entity.\").nullable().optional(),\n synced_at: z.string().describe(\"Time when reimbursement has been synced. Will be None if the reimbursement is not synced.\").nullable().optional(),\n waypoints: z.array(z.string()).describe(\"List of intermediate stops during the trip, for mileage reimbursements.\").nullable().optional(),\n created_at: z.string().describe(\"Time at which the reimbursement is created. Presented in ISO8601 format.\").nullable(),\n line_items: z.array(RampCreateMileageReimbursement_LineItemSchema).describe(\"List of line items related to the reimbursement.\").nullable().optional(),\n payment_id: z.string().describe(\"The unique identifier of the payment batch that the reimbursement is associated with, once paid.\").nullable().optional(),\n updated_at: z.string().describe(\"Time at which the reimbursement was last updated. Presented in ISO8601 format.\").nullable().optional(),\n user_email: z.string().describe(\"Email of the person who made the reimbursement.\").nullable(),\n approved_at: z.string().describe(\"Time at which the reimbursement is approved. Presented in ISO8601 format.\").nullable().optional(),\n employee_id: z.string().describe(\"Employee ID of the person who made the reimbursement.\").nullable().optional(),\n merchant_id: z.string().describe(\"The unique identifier of the merchant. Note that this field may be empty when merchant is populated if Ramp does not recognize the merchant.\").nullable().optional(),\n sync_status: RampCreateMileageReimbursement_SyncStatusSchema.nullable().optional(),\n end_location: z.string().describe(\"Ending location of the trip, for mileage reimbursements.\").nullable().optional(),\n payee_amount: RampCreateMileageReimbursement_MoneyAmountSchema.nullable().optional(),\n submitted_at: z.string().describe(\"Time when reimbursement was most recently submitted\").nullable().optional(),\n expense_group: RampCreateMileageReimbursement_ExpenseGroupSchema.nullable().optional(),\n spend_limit_id: z.string().describe(\"Spend limit to which the reimbursement is attributed, if it exists.\").nullable().optional(),\n start_location: z.string().describe(\"Starting location of the trip, for mileage reimbursements.\").nullable().optional(),\n user_full_name: z.string().describe(\"Full name of the person who made the reimbursement.\").nullable(),\n accounting_date: z.string().describe(\"The date for the reimbursement for accounting purposes. If not specified, falls back to the transaction date.\").nullable().optional(),\n payment_batch_id: z.string().describe(\"The unique identifier of the reimbursement payment batch that the reimbursement is associated with.\").nullable().optional(),\n transaction_date: z.string().describe(\"Date of the transaction in ISO 8601 date format.\").nullable().optional(),\n payment_processed_at: z.string().describe(\"Time of reimbursement payment. Presented in ISO8601 format.\").nullable().optional(),\n accounting_field_selections: z.array(RampCreateMileageReimbursement_AccountingFieldSelectionSchema).describe(\"List of accounting fields selected to code the reimbursement.\").nullable().optional(),\n original_reimbursement_amount: RampCreateMileageReimbursement_MoneyAmountSchema.nullable().optional(),\n}).passthrough().describe(\"Complete mileage reimbursement details returned by the API.\");\n\nexport const rampCreateMileageReimbursement = action(\"RAMP_CREATE_MILEAGE_REIMBURSEMENT\", {\n slug: \"ramp-create-mileage-reimbursement\",\n name: \"Create Mileage Reimbursement\",\n description: \"Tool to create a mileage reimbursement in Ramp. Use when a user needs to submit a reimbursement for business-related travel distance. Requires distance, reimbursee_id, and trip_date as mandatory fields.\",\n input: RampCreateMileageReimbursementInput,\n output: RampCreateMileageReimbursementOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACrH,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC;CAC1C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACvF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC3F,gBAAgB,EAAE,KAAK,CAAC,cAAc,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC/G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACjF,CAAC;AACD,MAAM,yDAAyD,EAAE,KAAK;CAAC;CAAW;CAAiB;CAAgB;CAAmB;AAAU,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxL,MAAM,0DAA0D,EAAE,KAAK;CAAC;CAAY;CAAmB;CAAoB;CAAyB;CAAY;CAAW;CAAS;CAAY;CAAiB;CAAoB;CAA2B;CAAqB;CAAwB;CAAQ;CAAuB;CAAe;CAAW;CAAc;CAAuB;CAA0B;CAAc;CAAuB;AAAU,CAAC,CAAC,CAAC,SAAS,qCAAqC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CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,kDAAkD,SAAS,CAAC,CAAC,SAAS;EACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1K,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjK,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,6BAA6B,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClM,+BAA+B,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
@@ -19,19 +19,19 @@ const RampCreateNewCustomAccountingFieldInput = zod.z.object({
|
|
|
19
19
|
])).describe("Types of objects that require this accounting field to be used for coding before they can be marked as ready to sync.").optional()
|
|
20
20
|
});
|
|
21
21
|
const RampCreateNewCustomAccountingFieldOutput = zod.z.object({
|
|
22
|
-
id: zod.z.string().describe("External ID of the custom accounting field"),
|
|
23
|
-
name: zod.z.string().describe("Display name of the custom accounting field"),
|
|
24
|
-
ramp_id: zod.z.string().describe("Ramp's internal UUID identifier for the custom accounting field"),
|
|
25
|
-
is_active: zod.z.boolean().describe("Indicates whether the accounting field is currently active"),
|
|
26
|
-
created_at: zod.z.string().describe("ISO 8601 timestamp of when the accounting field was created"),
|
|
27
|
-
input_type: zod.z.string().describe("The type of input field (SINGLE_CHOICE, BOOLEAN, or FREE_FORM_TEXT)"),
|
|
28
|
-
updated_at: zod.z.string().describe("ISO 8601 timestamp of when the accounting field was last updated"),
|
|
22
|
+
id: zod.z.string().describe("External ID of the custom accounting field").nullable(),
|
|
23
|
+
name: zod.z.string().describe("Display name of the custom accounting field").nullable(),
|
|
24
|
+
ramp_id: zod.z.string().describe("Ramp's internal UUID identifier for the custom accounting field").nullable(),
|
|
25
|
+
is_active: zod.z.boolean().describe("Indicates whether the accounting field is currently active").nullable(),
|
|
26
|
+
created_at: zod.z.string().describe("ISO 8601 timestamp of when the accounting field was created").nullable(),
|
|
27
|
+
input_type: zod.z.string().describe("The type of input field (SINGLE_CHOICE, BOOLEAN, or FREE_FORM_TEXT)").nullable(),
|
|
28
|
+
updated_at: zod.z.string().describe("ISO 8601 timestamp of when the accounting field was last updated").nullable(),
|
|
29
29
|
display_name: zod.z.string().describe("Optional display name for the accounting field").nullable().optional(),
|
|
30
|
-
is_splittable: zod.z.boolean().describe("Whether the field can be split across multiple line items in transactions"),
|
|
30
|
+
is_splittable: zod.z.boolean().describe("Whether the field can be split across multiple line items in transactions").nullable(),
|
|
31
31
|
provider_name: zod.z.string().describe("The name of the accounting provider (e.g., NETSUITE, QUICKBOOKS)").nullable().optional(),
|
|
32
32
|
is_required_for: zod.z.array(zod.z.string()).describe("Types of objects that require this accounting field").nullable().optional(),
|
|
33
33
|
accounting_connection_id: zod.z.string().describe("The accounting connection ID associated with this field").nullable().optional()
|
|
34
|
-
}).describe("Response from creating a new custom accounting field.");
|
|
34
|
+
}).passthrough().describe("Response from creating a new custom accounting field.");
|
|
35
35
|
const rampCreateNewCustomAccountingField = require_action.action("RAMP_CREATE_NEW_CUSTOM_ACCOUNTING_FIELD", {
|
|
36
36
|
slug: "ramp-create-new-custom-accounting-field",
|
|
37
37
|
name: "Create New Custom Accounting Field",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-new-custom-accounting-field.cjs","names":["z","action"],"sources":["../../src/actions/create-new-custom-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateNewCustomAccountingFieldInput
|
|
1
|
+
{"version":3,"file":"create-new-custom-accounting-field.cjs","names":["z","action"],"sources":["../../src/actions/create-new-custom-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateNewCustomAccountingFieldInput = z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field from ERP system.\"),\n name: z.string().describe(\"Name of the custom accounting field.\"),\n input_type: z.enum([\"SINGLE_CHOICE\", \"BOOLEAN\", \"FREE_FORM_TEXT\"]).describe(\"The input type could be SINGLE_CHOICE, BOOLEAN or FREE_FORM_TEXT.\"),\n is_splittable: z.boolean().describe(\"If set to True, the accounting field can be used to annotate split line items.\").optional(),\n is_required_for: z.array(z.enum([\"BILL\", \"BILL_PAYMENT\", \"PURCHASE_ORDER\", \"REIMBURSEMENT\", \"TRANSACTION\"])).describe(\"Types of objects that require this accounting field to be used for coding before they can be marked as ready to sync.\").optional(),\n});\nexport const RampCreateNewCustomAccountingFieldOutput = z.object({\n id: z.string().describe(\"External ID of the custom accounting field\").nullable(),\n name: z.string().describe(\"Display name of the custom accounting field\").nullable(),\n ramp_id: z.string().describe(\"Ramp's internal UUID identifier for the custom accounting field\").nullable(),\n is_active: z.boolean().describe(\"Indicates whether the accounting field is currently active\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was created\").nullable(),\n input_type: z.string().describe(\"The type of input field (SINGLE_CHOICE, BOOLEAN, or FREE_FORM_TEXT)\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was last updated\").nullable(),\n display_name: z.string().describe(\"Optional display name for the accounting field\").nullable().optional(),\n is_splittable: z.boolean().describe(\"Whether the field can be split across multiple line items in transactions\").nullable(),\n provider_name: z.string().describe(\"The name of the accounting provider (e.g., NETSUITE, QUICKBOOKS)\").nullable().optional(),\n is_required_for: z.array(z.string()).describe(\"Types of objects that require this accounting field\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"The accounting connection ID associated with this field\").nullable().optional(),\n}).passthrough().describe(\"Response from creating a new custom accounting field.\");\n\nexport const rampCreateNewCustomAccountingField = action(\"RAMP_CREATE_NEW_CUSTOM_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-new-custom-accounting-field\",\n name: \"Create New Custom Accounting Field\",\n description: \"Tool for creating a new custom accounting field. Note: This operation requires elevated permissions not available in the demo API.\",\n input: RampCreateNewCustomAccountingFieldInput,\n output: RampCreateNewCustomAccountingFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAiB;EAAW;CAAgB,CAAC,CAAC,CAAC,SAAS,mEAAmE;CAC/I,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC/H,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAgB;EAAkB;EAAiB;CAAa,CAAC,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AAC1P,CAAC;AACD,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,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