@keystrokehq/ramp 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-department.cjs +1 -0
- package/dist/actions/create-department.cjs.map +1 -1
- package/dist/actions/create-department.d.cts +3 -3
- package/dist/actions/create-department.d.cts.map +1 -1
- package/dist/actions/create-department.d.mts +3 -3
- package/dist/actions/create-department.d.mts.map +1 -1
- package/dist/actions/create-department.mjs +1 -0
- package/dist/actions/create-department.mjs.map +1 -1
- package/dist/actions/create-inventory-item-accounting-field.cjs +1 -0
- package/dist/actions/create-inventory-item-accounting-field.cjs.map +1 -1
- package/dist/actions/create-inventory-item-accounting-field.d.cts +3 -4
- package/dist/actions/create-inventory-item-accounting-field.d.cts.map +1 -1
- package/dist/actions/create-inventory-item-accounting-field.d.mts +3 -4
- package/dist/actions/create-inventory-item-accounting-field.d.mts.map +1 -1
- package/dist/actions/create-inventory-item-accounting-field.mjs +1 -0
- package/dist/actions/create-inventory-item-accounting-field.mjs.map +1 -1
- package/dist/actions/create-memo.cjs +1 -0
- package/dist/actions/create-memo.cjs.map +1 -1
- package/dist/actions/create-memo.d.cts +3 -5
- package/dist/actions/create-memo.d.cts.map +1 -1
- package/dist/actions/create-memo.d.mts +3 -5
- package/dist/actions/create-memo.d.mts.map +1 -1
- package/dist/actions/create-memo.mjs +1 -0
- package/dist/actions/create-memo.mjs.map +1 -1
- package/dist/actions/create-mileage-reimbursement.cjs +1 -0
- package/dist/actions/create-mileage-reimbursement.cjs.map +1 -1
- package/dist/actions/create-mileage-reimbursement.d.cts +3 -10
- package/dist/actions/create-mileage-reimbursement.d.cts.map +1 -1
- package/dist/actions/create-mileage-reimbursement.d.mts +3 -10
- package/dist/actions/create-mileage-reimbursement.d.mts.map +1 -1
- package/dist/actions/create-mileage-reimbursement.mjs +1 -0
- package/dist/actions/create-mileage-reimbursement.mjs.map +1 -1
- package/dist/actions/create-new-custom-accounting-field.cjs +1 -0
- package/dist/actions/create-new-custom-accounting-field.cjs.map +1 -1
- package/dist/actions/create-new-custom-accounting-field.d.cts +3 -7
- package/dist/actions/create-new-custom-accounting-field.d.cts.map +1 -1
- package/dist/actions/create-new-custom-accounting-field.d.mts +3 -7
- package/dist/actions/create-new-custom-accounting-field.d.mts.map +1 -1
- package/dist/actions/create-new-custom-accounting-field.mjs +1 -0
- package/dist/actions/create-new-custom-accounting-field.mjs.map +1 -1
- package/dist/actions/create-tax-code-accounting-field.cjs +1 -0
- package/dist/actions/create-tax-code-accounting-field.cjs.map +1 -1
- package/dist/actions/create-tax-code-accounting-field.d.cts +3 -4
- package/dist/actions/create-tax-code-accounting-field.d.cts.map +1 -1
- package/dist/actions/create-tax-code-accounting-field.d.mts +3 -4
- package/dist/actions/create-tax-code-accounting-field.d.mts.map +1 -1
- package/dist/actions/create-tax-code-accounting-field.mjs +1 -0
- package/dist/actions/create-tax-code-accounting-field.mjs.map +1 -1
- package/dist/actions/create-user-invite.cjs +1 -0
- package/dist/actions/create-user-invite.cjs.map +1 -1
- package/dist/actions/create-user-invite.d.cts +3 -11
- package/dist/actions/create-user-invite.d.cts.map +1 -1
- package/dist/actions/create-user-invite.d.mts +3 -11
- package/dist/actions/create-user-invite.d.mts.map +1 -1
- package/dist/actions/create-user-invite.mjs +1 -0
- package/dist/actions/create-user-invite.mjs.map +1 -1
- package/dist/actions/create-webhook-subscription.cjs +1 -0
- package/dist/actions/create-webhook-subscription.cjs.map +1 -1
- package/dist/actions/create-webhook-subscription.d.cts +3 -5
- package/dist/actions/create-webhook-subscription.d.cts.map +1 -1
- package/dist/actions/create-webhook-subscription.d.mts +3 -5
- package/dist/actions/create-webhook-subscription.d.mts.map +1 -1
- package/dist/actions/create-webhook-subscription.mjs +1 -0
- package/dist/actions/create-webhook-subscription.mjs.map +1 -1
- package/dist/actions/deactivate-user.cjs +1 -0
- package/dist/actions/deactivate-user.cjs.map +1 -1
- package/dist/actions/deactivate-user.d.cts +3 -3
- package/dist/actions/deactivate-user.d.cts.map +1 -1
- package/dist/actions/deactivate-user.d.mts +3 -3
- package/dist/actions/deactivate-user.d.mts.map +1 -1
- package/dist/actions/deactivate-user.mjs +1 -0
- package/dist/actions/deactivate-user.mjs.map +1 -1
- package/dist/actions/delete-accounting-account.cjs +1 -0
- package/dist/actions/delete-accounting-account.cjs.map +1 -1
- package/dist/actions/delete-accounting-account.d.cts +3 -3
- package/dist/actions/delete-accounting-account.d.cts.map +1 -1
- package/dist/actions/delete-accounting-account.d.mts +3 -3
- package/dist/actions/delete-accounting-account.d.mts.map +1 -1
- package/dist/actions/delete-accounting-account.mjs +1 -0
- package/dist/actions/delete-accounting-account.mjs.map +1 -1
- package/dist/actions/delete-accounting-connection.cjs +1 -0
- package/dist/actions/delete-accounting-connection.cjs.map +1 -1
- package/dist/actions/delete-accounting-connection.d.cts +3 -1
- package/dist/actions/delete-accounting-connection.d.cts.map +1 -1
- package/dist/actions/delete-accounting-connection.d.mts +3 -1
- package/dist/actions/delete-accounting-connection.d.mts.map +1 -1
- package/dist/actions/delete-accounting-connection.mjs +1 -0
- package/dist/actions/delete-accounting-connection.mjs.map +1 -1
- package/dist/actions/delete-accounting-fields.cjs +1 -0
- package/dist/actions/delete-accounting-fields.cjs.map +1 -1
- package/dist/actions/delete-accounting-fields.d.cts +3 -3
- package/dist/actions/delete-accounting-fields.d.cts.map +1 -1
- package/dist/actions/delete-accounting-fields.d.mts +3 -3
- package/dist/actions/delete-accounting-fields.d.mts.map +1 -1
- package/dist/actions/delete-accounting-fields.mjs +1 -0
- package/dist/actions/delete-accounting-fields.mjs.map +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.cjs +1 -0
- package/dist/actions/delete-accounting-inventory-item-options.cjs.map +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.d.cts +3 -3
- package/dist/actions/delete-accounting-inventory-item-options.d.cts.map +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.d.mts +3 -3
- package/dist/actions/delete-accounting-inventory-item-options.d.mts.map +1 -1
- package/dist/actions/delete-accounting-inventory-item-options.mjs +1 -0
- package/dist/actions/delete-accounting-inventory-item-options.mjs.map +1 -1
- package/dist/actions/delete-accounting-tax-code-options.cjs +1 -0
- package/dist/actions/delete-accounting-tax-code-options.cjs.map +1 -1
- package/dist/actions/delete-accounting-tax-code-options.d.cts +3 -3
- package/dist/actions/delete-accounting-tax-code-options.d.cts.map +1 -1
- package/dist/actions/delete-accounting-tax-code-options.d.mts +3 -3
- package/dist/actions/delete-accounting-tax-code-options.d.mts.map +1 -1
- package/dist/actions/delete-accounting-tax-code-options.mjs +1 -0
- package/dist/actions/delete-accounting-tax-code-options.mjs.map +1 -1
- package/dist/actions/delete-accounting-tax-code.cjs +1 -0
- package/dist/actions/delete-accounting-tax-code.cjs.map +1 -1
- package/dist/actions/delete-accounting-tax-code.d.cts +3 -1
- package/dist/actions/delete-accounting-tax-code.d.cts.map +1 -1
- package/dist/actions/delete-accounting-tax-code.d.mts +3 -1
- package/dist/actions/delete-accounting-tax-code.d.mts.map +1 -1
- package/dist/actions/delete-accounting-tax-code.mjs +1 -0
- package/dist/actions/delete-accounting-tax-code.mjs.map +1 -1
- package/dist/actions/delete-accounting-tax-rates.cjs +1 -0
- package/dist/actions/delete-accounting-tax-rates.cjs.map +1 -1
- package/dist/actions/delete-accounting-tax-rates.d.cts +3 -4
- package/dist/actions/delete-accounting-tax-rates.d.cts.map +1 -1
- package/dist/actions/delete-accounting-tax-rates.d.mts +3 -4
- package/dist/actions/delete-accounting-tax-rates.d.mts.map +1 -1
- package/dist/actions/delete-accounting-tax-rates.mjs +1 -0
- package/dist/actions/delete-accounting-tax-rates.mjs.map +1 -1
- package/dist/actions/delete-accounting-vendors.cjs +1 -0
- package/dist/actions/delete-accounting-vendors.cjs.map +1 -1
- package/dist/actions/delete-accounting-vendors.d.cts +3 -3
- package/dist/actions/delete-accounting-vendors.d.cts.map +1 -1
- package/dist/actions/delete-accounting-vendors.d.mts +3 -3
- package/dist/actions/delete-accounting-vendors.d.mts.map +1 -1
- package/dist/actions/delete-accounting-vendors.mjs +1 -0
- package/dist/actions/delete-accounting-vendors.mjs.map +1 -1
- package/dist/actions/delete-custom-field-option.cjs +1 -0
- package/dist/actions/delete-custom-field-option.cjs.map +1 -1
- package/dist/actions/delete-custom-field-option.d.cts +3 -3
- package/dist/actions/delete-custom-field-option.d.cts.map +1 -1
- package/dist/actions/delete-custom-field-option.d.mts +3 -3
- package/dist/actions/delete-custom-field-option.d.mts.map +1 -1
- package/dist/actions/delete-custom-field-option.mjs +1 -0
- package/dist/actions/delete-custom-field-option.mjs.map +1 -1
- package/dist/actions/delete-inventory-item-field.cjs +1 -0
- package/dist/actions/delete-inventory-item-field.cjs.map +1 -1
- package/dist/actions/delete-inventory-item-field.d.cts +3 -1
- package/dist/actions/delete-inventory-item-field.d.cts.map +1 -1
- package/dist/actions/delete-inventory-item-field.d.mts +3 -1
- package/dist/actions/delete-inventory-item-field.d.mts.map +1 -1
- package/dist/actions/delete-inventory-item-field.mjs +1 -0
- package/dist/actions/delete-inventory-item-field.mjs.map +1 -1
- package/dist/actions/delete-spend-allocation-delete-users.cjs +1 -0
- package/dist/actions/delete-spend-allocation-delete-users.cjs.map +1 -1
- package/dist/actions/delete-spend-allocation-delete-users.d.cts +3 -4
- package/dist/actions/delete-spend-allocation-delete-users.d.cts.map +1 -1
- package/dist/actions/delete-spend-allocation-delete-users.d.mts +3 -4
- package/dist/actions/delete-spend-allocation-delete-users.d.mts.map +1 -1
- package/dist/actions/delete-spend-allocation-delete-users.mjs +1 -0
- package/dist/actions/delete-spend-allocation-delete-users.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -3
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/fetch-accounting-account.cjs +1 -0
- package/dist/actions/fetch-accounting-account.cjs.map +1 -1
- package/dist/actions/fetch-accounting-account.d.cts +3 -4
- package/dist/actions/fetch-accounting-account.d.cts.map +1 -1
- package/dist/actions/fetch-accounting-account.d.mts +3 -4
- package/dist/actions/fetch-accounting-account.d.mts.map +1 -1
- package/dist/actions/fetch-accounting-account.mjs +1 -0
- package/dist/actions/fetch-accounting-account.mjs.map +1 -1
- package/dist/actions/fetch-accounting-vendor.cjs +1 -0
- package/dist/actions/fetch-accounting-vendor.cjs.map +1 -1
- package/dist/actions/fetch-accounting-vendor.d.cts +3 -4
- package/dist/actions/fetch-accounting-vendor.d.cts.map +1 -1
- package/dist/actions/fetch-accounting-vendor.d.mts +3 -4
- package/dist/actions/fetch-accounting-vendor.d.mts.map +1 -1
- package/dist/actions/fetch-accounting-vendor.mjs +1 -0
- package/dist/actions/fetch-accounting-vendor.mjs.map +1 -1
- package/dist/actions/fetch-custom-accounting-field.cjs +1 -0
- package/dist/actions/fetch-custom-accounting-field.cjs.map +1 -1
- package/dist/actions/fetch-custom-accounting-field.d.cts +3 -3
- package/dist/actions/fetch-custom-accounting-field.d.cts.map +1 -1
- package/dist/actions/fetch-custom-accounting-field.d.mts +3 -3
- package/dist/actions/fetch-custom-accounting-field.d.mts.map +1 -1
- package/dist/actions/fetch-custom-accounting-field.mjs +1 -0
- package/dist/actions/fetch-custom-accounting-field.mjs.map +1 -1
- package/dist/actions/get-accounting-accounts.cjs +1 -0
- package/dist/actions/get-accounting-accounts.cjs.map +1 -1
- package/dist/actions/get-accounting-accounts.d.cts +3 -8
- package/dist/actions/get-accounting-accounts.d.cts.map +1 -1
- package/dist/actions/get-accounting-accounts.d.mts +3 -8
- package/dist/actions/get-accounting-accounts.d.mts.map +1 -1
- package/dist/actions/get-accounting-accounts.mjs +1 -0
- package/dist/actions/get-accounting-accounts.mjs.map +1 -1
- package/dist/actions/get-accounting-all-connections.cjs +1 -0
- package/dist/actions/get-accounting-all-connections.cjs.map +1 -1
- package/dist/actions/get-accounting-all-connections.d.cts +3 -1
- package/dist/actions/get-accounting-all-connections.d.cts.map +1 -1
- package/dist/actions/get-accounting-all-connections.d.mts +3 -1
- package/dist/actions/get-accounting-all-connections.d.mts.map +1 -1
- package/dist/actions/get-accounting-all-connections.mjs +1 -0
- package/dist/actions/get-accounting-all-connections.mjs.map +1 -1
- package/dist/actions/get-accounting-connection-by-id.cjs +1 -0
- package/dist/actions/get-accounting-connection-by-id.cjs.map +1 -1
- package/dist/actions/get-accounting-connection-by-id.d.cts +3 -3
- package/dist/actions/get-accounting-connection-by-id.d.cts.map +1 -1
- package/dist/actions/get-accounting-connection-by-id.d.mts +3 -3
- package/dist/actions/get-accounting-connection-by-id.d.mts.map +1 -1
- package/dist/actions/get-accounting-connection-by-id.mjs +1 -0
- package/dist/actions/get-accounting-connection-by-id.mjs.map +1 -1
- package/dist/actions/get-accounting-connection.cjs +1 -0
- package/dist/actions/get-accounting-connection.cjs.map +1 -1
- package/dist/actions/get-accounting-connection.d.cts +3 -1
- package/dist/actions/get-accounting-connection.d.cts.map +1 -1
- package/dist/actions/get-accounting-connection.d.mts +3 -1
- package/dist/actions/get-accounting-connection.d.mts.map +1 -1
- package/dist/actions/get-accounting-connection.mjs +1 -0
- package/dist/actions/get-accounting-connection.mjs.map +1 -1
- package/dist/actions/get-accounting-fields.cjs +1 -0
- package/dist/actions/get-accounting-fields.cjs.map +1 -1
- package/dist/actions/get-accounting-fields.d.cts +3 -4
- package/dist/actions/get-accounting-fields.d.cts.map +1 -1
- package/dist/actions/get-accounting-fields.d.mts +3 -4
- package/dist/actions/get-accounting-fields.d.mts.map +1 -1
- package/dist/actions/get-accounting-fields.mjs +1 -0
- package/dist/actions/get-accounting-fields.mjs.map +1 -1
- package/dist/actions/get-accounting-vendors.cjs +1 -0
- package/dist/actions/get-accounting-vendors.cjs.map +1 -1
- package/dist/actions/get-accounting-vendors.d.cts +3 -4
- package/dist/actions/get-accounting-vendors.d.cts.map +1 -1
- package/dist/actions/get-accounting-vendors.d.mts +3 -4
- package/dist/actions/get-accounting-vendors.d.mts.map +1 -1
- package/dist/actions/get-accounting-vendors.mjs +1 -0
- package/dist/actions/get-accounting-vendors.mjs.map +1 -1
- package/dist/actions/get-all-transactions.cjs +1 -0
- package/dist/actions/get-all-transactions.cjs.map +1 -1
- package/dist/actions/get-all-transactions.d.cts +3 -33
- package/dist/actions/get-all-transactions.d.cts.map +1 -1
- package/dist/actions/get-all-transactions.d.mts +3 -33
- package/dist/actions/get-all-transactions.d.mts.map +1 -1
- package/dist/actions/get-all-transactions.mjs +1 -0
- package/dist/actions/get-all-transactions.mjs.map +1 -1
- package/dist/actions/get-card-vault-resource.cjs +1 -0
- package/dist/actions/get-card-vault-resource.cjs.map +1 -1
- package/dist/actions/get-card-vault-resource.d.cts +3 -3
- package/dist/actions/get-card-vault-resource.d.cts.map +1 -1
- package/dist/actions/get-card-vault-resource.d.mts +3 -3
- package/dist/actions/get-card-vault-resource.d.mts.map +1 -1
- package/dist/actions/get-card-vault-resource.mjs +1 -0
- package/dist/actions/get-card-vault-resource.mjs.map +1 -1
- package/dist/actions/get-card.cjs +1 -0
- package/dist/actions/get-card.cjs.map +1 -1
- package/dist/actions/get-card.d.cts +3 -3
- package/dist/actions/get-card.d.cts.map +1 -1
- package/dist/actions/get-card.d.mts +3 -3
- package/dist/actions/get-card.d.mts.map +1 -1
- package/dist/actions/get-card.mjs +1 -0
- package/dist/actions/get-card.mjs.map +1 -1
- package/dist/actions/get-custom-field-option.cjs +1 -0
- package/dist/actions/get-custom-field-option.cjs.map +1 -1
- package/dist/actions/get-custom-field-option.d.cts +3 -3
- package/dist/actions/get-custom-field-option.d.cts.map +1 -1
- package/dist/actions/get-custom-field-option.d.mts +3 -3
- package/dist/actions/get-custom-field-option.d.mts.map +1 -1
- package/dist/actions/get-custom-field-option.mjs +1 -0
- package/dist/actions/get-custom-field-option.mjs.map +1 -1
- package/dist/actions/get-department.cjs +1 -0
- package/dist/actions/get-department.cjs.map +1 -1
- package/dist/actions/get-department.d.cts +3 -3
- package/dist/actions/get-department.d.cts.map +1 -1
- package/dist/actions/get-department.d.mts +3 -3
- package/dist/actions/get-department.d.mts.map +1 -1
- package/dist/actions/get-department.mjs +1 -0
- package/dist/actions/get-department.mjs.map +1 -1
- package/dist/actions/get-inventory-item-field.cjs +1 -0
- package/dist/actions/get-inventory-item-field.cjs.map +1 -1
- package/dist/actions/get-inventory-item-field.d.cts +3 -1
- package/dist/actions/get-inventory-item-field.d.cts.map +1 -1
- package/dist/actions/get-inventory-item-field.d.mts +3 -1
- package/dist/actions/get-inventory-item-field.d.mts.map +1 -1
- package/dist/actions/get-inventory-item-field.mjs +1 -0
- package/dist/actions/get-inventory-item-field.mjs.map +1 -1
- package/dist/actions/get-memo.cjs +1 -0
- package/dist/actions/get-memo.cjs.map +1 -1
- package/dist/actions/get-memo.d.cts +3 -3
- package/dist/actions/get-memo.d.cts.map +1 -1
- package/dist/actions/get-memo.d.mts +3 -3
- package/dist/actions/get-memo.d.mts.map +1 -1
- package/dist/actions/get-memo.mjs +1 -0
- package/dist/actions/get-memo.mjs.map +1 -1
- package/dist/actions/get-reimbursement.cjs +1 -0
- package/dist/actions/get-reimbursement.cjs.map +1 -1
- package/dist/actions/get-reimbursement.d.cts +3 -3
- package/dist/actions/get-reimbursement.d.cts.map +1 -1
- package/dist/actions/get-reimbursement.d.mts +3 -3
- package/dist/actions/get-reimbursement.d.mts.map +1 -1
- package/dist/actions/get-reimbursement.mjs +1 -0
- package/dist/actions/get-reimbursement.mjs.map +1 -1
- package/dist/actions/get-spend-limit.cjs +1 -0
- package/dist/actions/get-spend-limit.cjs.map +1 -1
- package/dist/actions/get-spend-limit.d.cts +3 -3
- package/dist/actions/get-spend-limit.d.cts.map +1 -1
- package/dist/actions/get-spend-limit.d.mts +3 -3
- package/dist/actions/get-spend-limit.d.mts.map +1 -1
- package/dist/actions/get-spend-limit.mjs +1 -0
- package/dist/actions/get-spend-limit.mjs.map +1 -1
- package/dist/actions/get-statement.cjs +1 -0
- package/dist/actions/get-statement.cjs.map +1 -1
- package/dist/actions/get-statement.d.cts +3 -4
- package/dist/actions/get-statement.d.cts.map +1 -1
- package/dist/actions/get-statement.d.mts +3 -4
- package/dist/actions/get-statement.d.mts.map +1 -1
- package/dist/actions/get-statement.mjs +1 -0
- package/dist/actions/get-statement.mjs.map +1 -1
- package/dist/actions/get-transaction.cjs +1 -0
- package/dist/actions/get-transaction.cjs.map +1 -1
- package/dist/actions/get-transaction.d.cts +3 -3
- package/dist/actions/get-transaction.d.cts.map +1 -1
- package/dist/actions/get-transaction.d.mts +3 -3
- package/dist/actions/get-transaction.d.mts.map +1 -1
- package/dist/actions/get-transaction.mjs +1 -0
- package/dist/actions/get-transaction.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -0
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +1 -0
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/get-users-deferred-status.cjs +1 -0
- package/dist/actions/get-users-deferred-status.cjs.map +1 -1
- package/dist/actions/get-users-deferred-status.d.cts +3 -3
- package/dist/actions/get-users-deferred-status.d.cts.map +1 -1
- package/dist/actions/get-users-deferred-status.d.mts +3 -3
- package/dist/actions/get-users-deferred-status.d.mts.map +1 -1
- package/dist/actions/get-users-deferred-status.mjs +1 -0
- package/dist/actions/get-users-deferred-status.mjs.map +1 -1
- package/dist/actions/get-vendor.cjs +1 -0
- package/dist/actions/get-vendor.cjs.map +1 -1
- package/dist/actions/get-vendor.d.cts +3 -3
- package/dist/actions/get-vendor.d.cts.map +1 -1
- package/dist/actions/get-vendor.d.mts +3 -3
- package/dist/actions/get-vendor.d.mts.map +1 -1
- package/dist/actions/get-vendor.mjs +1 -0
- package/dist/actions/get-vendor.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -0
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +3 -3
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +3 -3
- package/dist/actions/get-webhook.d.mts.map +1 -1
- package/dist/actions/get-webhook.mjs +1 -0
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/issue-virtual-card.cjs +1 -0
- package/dist/actions/issue-virtual-card.cjs.map +1 -1
- package/dist/actions/issue-virtual-card.d.cts +3 -14
- package/dist/actions/issue-virtual-card.d.cts.map +1 -1
- package/dist/actions/issue-virtual-card.d.mts +3 -14
- package/dist/actions/issue-virtual-card.d.mts.map +1 -1
- package/dist/actions/issue-virtual-card.mjs +1 -0
- package/dist/actions/issue-virtual-card.mjs.map +1 -1
- package/dist/actions/list-accounting-inventory-item-options.cjs +1 -0
- package/dist/actions/list-accounting-inventory-item-options.cjs.map +1 -1
- package/dist/actions/list-accounting-inventory-item-options.d.cts +3 -8
- package/dist/actions/list-accounting-inventory-item-options.d.cts.map +1 -1
- package/dist/actions/list-accounting-inventory-item-options.d.mts +3 -8
- package/dist/actions/list-accounting-inventory-item-options.d.mts.map +1 -1
- package/dist/actions/list-accounting-inventory-item-options.mjs +1 -0
- package/dist/actions/list-accounting-inventory-item-options.mjs.map +1 -1
- package/dist/actions/list-accounting-tax-rates.cjs +1 -0
- package/dist/actions/list-accounting-tax-rates.cjs.map +1 -1
- package/dist/actions/list-accounting-tax-rates.d.cts +3 -4
- package/dist/actions/list-accounting-tax-rates.d.cts.map +1 -1
- package/dist/actions/list-accounting-tax-rates.d.mts +3 -4
- package/dist/actions/list-accounting-tax-rates.d.mts.map +1 -1
- package/dist/actions/list-accounting-tax-rates.mjs +1 -0
- package/dist/actions/list-accounting-tax-rates.mjs.map +1 -1
- package/dist/actions/list-cards.cjs +1 -0
- package/dist/actions/list-cards.cjs.map +1 -1
- package/dist/actions/list-cards.d.cts +3 -10
- package/dist/actions/list-cards.d.cts.map +1 -1
- package/dist/actions/list-cards.d.mts +3 -10
- package/dist/actions/list-cards.d.mts.map +1 -1
- package/dist/actions/list-cards.mjs +1 -0
- package/dist/actions/list-cards.mjs.map +1 -1
- package/dist/actions/list-departments.cjs +1 -0
- package/dist/actions/list-departments.cjs.map +1 -1
- package/dist/actions/list-departments.d.cts +3 -4
- package/dist/actions/list-departments.d.cts.map +1 -1
- package/dist/actions/list-departments.d.mts +3 -4
- package/dist/actions/list-departments.d.mts.map +1 -1
- package/dist/actions/list-departments.mjs +1 -0
- package/dist/actions/list-departments.mjs.map +1 -1
- package/dist/actions/list-memos.cjs +1 -0
- package/dist/actions/list-memos.cjs.map +1 -1
- package/dist/actions/list-memos.d.cts +3 -12
- package/dist/actions/list-memos.d.cts.map +1 -1
- package/dist/actions/list-memos.d.mts +3 -12
- package/dist/actions/list-memos.d.mts.map +1 -1
- package/dist/actions/list-memos.mjs +1 -0
- package/dist/actions/list-memos.mjs.map +1 -1
- package/dist/actions/list-reimbursements.cjs +1 -0
- package/dist/actions/list-reimbursements.cjs.map +1 -1
- package/dist/actions/list-reimbursements.d.cts +3 -21
- package/dist/actions/list-reimbursements.d.cts.map +1 -1
- package/dist/actions/list-reimbursements.d.mts +3 -21
- package/dist/actions/list-reimbursements.d.mts.map +1 -1
- package/dist/actions/list-reimbursements.mjs +1 -0
- package/dist/actions/list-reimbursements.mjs.map +1 -1
- package/dist/actions/list-statements.cjs +1 -0
- package/dist/actions/list-statements.cjs.map +1 -1
- package/dist/actions/list-statements.d.cts +3 -6
- package/dist/actions/list-statements.d.cts.map +1 -1
- package/dist/actions/list-statements.d.mts +3 -6
- package/dist/actions/list-statements.d.mts.map +1 -1
- package/dist/actions/list-statements.mjs +1 -0
- package/dist/actions/list-statements.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -10
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -10
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/list-vendors-accounts.cjs +1 -0
- package/dist/actions/list-vendors-accounts.cjs.map +1 -1
- package/dist/actions/list-vendors-accounts.d.cts +3 -5
- package/dist/actions/list-vendors-accounts.d.cts.map +1 -1
- package/dist/actions/list-vendors-accounts.d.mts +3 -5
- package/dist/actions/list-vendors-accounts.d.mts.map +1 -1
- package/dist/actions/list-vendors-accounts.mjs +1 -0
- package/dist/actions/list-vendors-accounts.mjs.map +1 -1
- package/dist/actions/list-vendors-contacts.cjs +1 -0
- package/dist/actions/list-vendors-contacts.cjs.map +1 -1
- package/dist/actions/list-vendors-contacts.d.cts +3 -5
- package/dist/actions/list-vendors-contacts.d.cts.map +1 -1
- package/dist/actions/list-vendors-contacts.d.mts +3 -5
- package/dist/actions/list-vendors-contacts.d.mts.map +1 -1
- package/dist/actions/list-vendors-contacts.mjs +1 -0
- package/dist/actions/list-vendors-contacts.mjs.map +1 -1
- package/dist/actions/list-vendors-credits.cjs +1 -0
- package/dist/actions/list-vendors-credits.cjs.map +1 -1
- package/dist/actions/list-vendors-credits.d.cts +3 -7
- package/dist/actions/list-vendors-credits.d.cts.map +1 -1
- package/dist/actions/list-vendors-credits.d.mts +3 -7
- package/dist/actions/list-vendors-credits.d.mts.map +1 -1
- package/dist/actions/list-vendors-credits.mjs +1 -0
- package/dist/actions/list-vendors-credits.mjs.map +1 -1
- package/dist/actions/list-vendors.cjs +1 -0
- package/dist/actions/list-vendors.cjs.map +1 -1
- package/dist/actions/list-vendors.d.cts +3 -9
- package/dist/actions/list-vendors.d.cts.map +1 -1
- package/dist/actions/list-vendors.d.mts +3 -9
- package/dist/actions/list-vendors.d.mts.map +1 -1
- package/dist/actions/list-vendors.mjs +1 -0
- package/dist/actions/list-vendors.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -1
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -1
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/options-for-custom-accounting-field.cjs +1 -0
- package/dist/actions/options-for-custom-accounting-field.cjs.map +1 -1
- package/dist/actions/options-for-custom-accounting-field.d.cts +3 -3
- package/dist/actions/options-for-custom-accounting-field.d.cts.map +1 -1
- package/dist/actions/options-for-custom-accounting-field.d.mts +3 -3
- package/dist/actions/options-for-custom-accounting-field.d.mts.map +1 -1
- package/dist/actions/options-for-custom-accounting-field.mjs +1 -0
- package/dist/actions/options-for-custom-accounting-field.mjs.map +1 -1
- package/dist/actions/patch-accounting-connection.cjs +1 -0
- package/dist/actions/patch-accounting-connection.cjs.map +1 -1
- package/dist/actions/patch-accounting-connection.d.cts +3 -7
- package/dist/actions/patch-accounting-connection.d.cts.map +1 -1
- package/dist/actions/patch-accounting-connection.d.mts +3 -7
- package/dist/actions/patch-accounting-connection.d.mts.map +1 -1
- package/dist/actions/patch-accounting-connection.mjs +1 -0
- package/dist/actions/patch-accounting-connection.mjs.map +1 -1
- package/dist/actions/patch-card-resource.cjs +1 -0
- package/dist/actions/patch-card-resource.cjs.map +1 -1
- package/dist/actions/patch-card-resource.d.cts +3 -21
- package/dist/actions/patch-card-resource.d.cts.map +1 -1
- package/dist/actions/patch-card-resource.d.mts +3 -21
- package/dist/actions/patch-card-resource.d.mts.map +1 -1
- package/dist/actions/patch-card-resource.mjs +1 -0
- package/dist/actions/patch-card-resource.mjs.map +1 -1
- package/dist/actions/patch-custom-field-option.cjs +1 -0
- package/dist/actions/patch-custom-field-option.cjs.map +1 -1
- package/dist/actions/patch-custom-field-option.d.cts +3 -8
- package/dist/actions/patch-custom-field-option.d.cts.map +1 -1
- package/dist/actions/patch-custom-field-option.d.mts +3 -8
- package/dist/actions/patch-custom-field-option.d.mts.map +1 -1
- package/dist/actions/patch-custom-field-option.mjs +1 -0
- package/dist/actions/patch-custom-field-option.mjs.map +1 -1
- package/dist/actions/patch-gl-account-resource.cjs +1 -0
- package/dist/actions/patch-gl-account-resource.cjs.map +1 -1
- package/dist/actions/patch-gl-account-resource.d.cts +3 -6
- package/dist/actions/patch-gl-account-resource.d.cts.map +1 -1
- package/dist/actions/patch-gl-account-resource.d.mts +3 -6
- package/dist/actions/patch-gl-account-resource.d.mts.map +1 -1
- package/dist/actions/patch-gl-account-resource.mjs +1 -0
- package/dist/actions/patch-gl-account-resource.mjs.map +1 -1
- package/dist/actions/patch-inventory-item-field.cjs +1 -0
- package/dist/actions/patch-inventory-item-field.cjs.map +1 -1
- package/dist/actions/patch-inventory-item-field.d.cts +3 -4
- package/dist/actions/patch-inventory-item-field.d.cts.map +1 -1
- package/dist/actions/patch-inventory-item-field.d.mts +3 -4
- package/dist/actions/patch-inventory-item-field.d.mts.map +1 -1
- package/dist/actions/patch-inventory-item-field.mjs +1 -0
- package/dist/actions/patch-inventory-item-field.mjs.map +1 -1
- package/dist/actions/post-accounting-accounts.cjs +1 -0
- package/dist/actions/post-accounting-accounts.cjs.map +1 -1
- package/dist/actions/post-accounting-accounts.d.cts +3 -9
- package/dist/actions/post-accounting-accounts.d.cts.map +1 -1
- package/dist/actions/post-accounting-accounts.d.mts +3 -9
- package/dist/actions/post-accounting-accounts.d.mts.map +1 -1
- package/dist/actions/post-accounting-accounts.mjs +1 -0
- package/dist/actions/post-accounting-accounts.mjs.map +1 -1
- package/dist/actions/post-accounting-connection.cjs +1 -0
- package/dist/actions/post-accounting-connection.cjs.map +1 -1
- package/dist/actions/post-accounting-connection.d.cts +3 -7
- package/dist/actions/post-accounting-connection.d.cts.map +1 -1
- package/dist/actions/post-accounting-connection.d.mts +3 -7
- package/dist/actions/post-accounting-connection.d.mts.map +1 -1
- package/dist/actions/post-accounting-connection.mjs +1 -0
- package/dist/actions/post-accounting-connection.mjs.map +1 -1
- package/dist/actions/post-accounting-vendors.cjs +1 -0
- package/dist/actions/post-accounting-vendors.cjs.map +1 -1
- package/dist/actions/post-accounting-vendors.d.cts +3 -7
- package/dist/actions/post-accounting-vendors.d.cts.map +1 -1
- package/dist/actions/post-accounting-vendors.d.mts +3 -7
- package/dist/actions/post-accounting-vendors.d.mts.map +1 -1
- package/dist/actions/post-accounting-vendors.mjs +1 -0
- package/dist/actions/post-accounting-vendors.mjs.map +1 -1
- package/dist/actions/post-inventory-item-options.cjs +1 -0
- package/dist/actions/post-inventory-item-options.cjs.map +1 -1
- package/dist/actions/post-inventory-item-options.d.cts +3 -7
- package/dist/actions/post-inventory-item-options.d.cts.map +1 -1
- package/dist/actions/post-inventory-item-options.d.mts +3 -7
- package/dist/actions/post-inventory-item-options.d.mts.map +1 -1
- package/dist/actions/post-inventory-item-options.mjs +1 -0
- package/dist/actions/post-inventory-item-options.mjs.map +1 -1
- package/dist/actions/post-physical-card.cjs +1 -0
- package/dist/actions/post-physical-card.cjs.map +1 -1
- package/dist/actions/post-physical-card.d.cts +3 -41
- package/dist/actions/post-physical-card.d.cts.map +1 -1
- package/dist/actions/post-physical-card.d.mts +3 -41
- package/dist/actions/post-physical-card.d.mts.map +1 -1
- package/dist/actions/post-physical-card.mjs +1 -0
- package/dist/actions/post-physical-card.mjs.map +1 -1
- package/dist/actions/reactivate-accounting-connection.cjs +1 -0
- package/dist/actions/reactivate-accounting-connection.cjs.map +1 -1
- package/dist/actions/reactivate-accounting-connection.d.cts +3 -3
- package/dist/actions/reactivate-accounting-connection.d.cts.map +1 -1
- package/dist/actions/reactivate-accounting-connection.d.mts +3 -3
- package/dist/actions/reactivate-accounting-connection.d.mts.map +1 -1
- package/dist/actions/reactivate-accounting-connection.mjs +1 -0
- package/dist/actions/reactivate-accounting-connection.mjs.map +1 -1
- package/dist/actions/reactivate-user.cjs +1 -0
- package/dist/actions/reactivate-user.cjs.map +1 -1
- package/dist/actions/reactivate-user.d.cts +3 -3
- package/dist/actions/reactivate-user.d.cts.map +1 -1
- package/dist/actions/reactivate-user.d.mts +3 -3
- package/dist/actions/reactivate-user.d.mts.map +1 -1
- package/dist/actions/reactivate-user.mjs +1 -0
- package/dist/actions/reactivate-user.mjs.map +1 -1
- package/dist/actions/submit-reimbursement-receipt.cjs +1 -0
- package/dist/actions/submit-reimbursement-receipt.cjs.map +1 -1
- package/dist/actions/submit-reimbursement-receipt.d.cts +3 -10
- package/dist/actions/submit-reimbursement-receipt.d.cts.map +1 -1
- package/dist/actions/submit-reimbursement-receipt.d.mts +3 -10
- package/dist/actions/submit-reimbursement-receipt.d.mts.map +1 -1
- package/dist/actions/submit-reimbursement-receipt.mjs +1 -0
- package/dist/actions/submit-reimbursement-receipt.mjs.map +1 -1
- package/dist/actions/suspend-card.cjs +1 -0
- package/dist/actions/suspend-card.cjs.map +1 -1
- package/dist/actions/suspend-card.d.cts +3 -4
- package/dist/actions/suspend-card.d.cts.map +1 -1
- package/dist/actions/suspend-card.d.mts +3 -4
- package/dist/actions/suspend-card.d.mts.map +1 -1
- package/dist/actions/suspend-card.mjs +1 -0
- package/dist/actions/suspend-card.mjs.map +1 -1
- package/dist/actions/terminate-card.cjs +1 -0
- package/dist/actions/terminate-card.cjs.map +1 -1
- package/dist/actions/terminate-card.d.cts +3 -4
- package/dist/actions/terminate-card.d.cts.map +1 -1
- package/dist/actions/terminate-card.d.mts +3 -4
- package/dist/actions/terminate-card.d.mts.map +1 -1
- package/dist/actions/terminate-card.mjs +1 -0
- package/dist/actions/terminate-card.mjs.map +1 -1
- package/dist/actions/update-accounting-field.cjs +1 -0
- package/dist/actions/update-accounting-field.cjs.map +1 -1
- package/dist/actions/update-accounting-field.d.cts +3 -6
- package/dist/actions/update-accounting-field.d.cts.map +1 -1
- package/dist/actions/update-accounting-field.d.mts +3 -6
- package/dist/actions/update-accounting-field.d.mts.map +1 -1
- package/dist/actions/update-accounting-field.mjs +1 -0
- package/dist/actions/update-accounting-field.mjs.map +1 -1
- package/dist/actions/update-accounting-inventory-item-options.cjs +1 -0
- package/dist/actions/update-accounting-inventory-item-options.cjs.map +1 -1
- package/dist/actions/update-accounting-inventory-item-options.d.cts +3 -4
- package/dist/actions/update-accounting-inventory-item-options.d.cts.map +1 -1
- package/dist/actions/update-accounting-inventory-item-options.d.mts +3 -4
- package/dist/actions/update-accounting-inventory-item-options.d.mts.map +1 -1
- package/dist/actions/update-accounting-inventory-item-options.mjs +1 -0
- package/dist/actions/update-accounting-inventory-item-options.mjs.map +1 -1
- package/dist/actions/update-accounting-tax-code-options.cjs +1 -0
- package/dist/actions/update-accounting-tax-code-options.cjs.map +1 -1
- package/dist/actions/update-accounting-tax-code-options.d.cts +3 -5
- package/dist/actions/update-accounting-tax-code-options.d.cts.map +1 -1
- package/dist/actions/update-accounting-tax-code-options.d.mts +3 -5
- package/dist/actions/update-accounting-tax-code-options.d.mts.map +1 -1
- package/dist/actions/update-accounting-tax-code-options.mjs +1 -0
- package/dist/actions/update-accounting-tax-code-options.mjs.map +1 -1
- package/dist/actions/update-accounting-tax-code.cjs +1 -0
- package/dist/actions/update-accounting-tax-code.cjs.map +1 -1
- package/dist/actions/update-accounting-tax-code.d.cts +3 -4
- package/dist/actions/update-accounting-tax-code.d.cts.map +1 -1
- package/dist/actions/update-accounting-tax-code.d.mts +3 -4
- package/dist/actions/update-accounting-tax-code.d.mts.map +1 -1
- package/dist/actions/update-accounting-tax-code.mjs +1 -0
- package/dist/actions/update-accounting-tax-code.mjs.map +1 -1
- package/dist/actions/update-accounting-tax-rate.cjs +1 -0
- package/dist/actions/update-accounting-tax-rate.cjs.map +1 -1
- package/dist/actions/update-accounting-tax-rate.d.cts +3 -6
- package/dist/actions/update-accounting-tax-rate.d.cts.map +1 -1
- package/dist/actions/update-accounting-tax-rate.d.mts +3 -6
- package/dist/actions/update-accounting-tax-rate.d.mts.map +1 -1
- package/dist/actions/update-accounting-tax-rate.mjs +1 -0
- package/dist/actions/update-accounting-tax-rate.mjs.map +1 -1
- package/dist/actions/update-accounting-vendor.cjs +1 -0
- package/dist/actions/update-accounting-vendor.cjs.map +1 -1
- package/dist/actions/update-accounting-vendor.d.cts +3 -6
- package/dist/actions/update-accounting-vendor.d.cts.map +1 -1
- package/dist/actions/update-accounting-vendor.d.mts +3 -6
- package/dist/actions/update-accounting-vendor.d.mts.map +1 -1
- package/dist/actions/update-accounting-vendor.mjs +1 -0
- package/dist/actions/update-accounting-vendor.mjs.map +1 -1
- package/dist/actions/update-card-limit.cjs +1 -0
- package/dist/actions/update-card-limit.cjs.map +1 -1
- package/dist/actions/update-card-limit.d.cts +3 -5
- package/dist/actions/update-card-limit.d.cts.map +1 -1
- package/dist/actions/update-card-limit.d.mts +3 -5
- package/dist/actions/update-card-limit.d.mts.map +1 -1
- package/dist/actions/update-card-limit.mjs +1 -0
- package/dist/actions/update-card-limit.mjs.map +1 -1
- package/dist/actions/update-department.cjs +1 -0
- package/dist/actions/update-department.cjs.map +1 -1
- package/dist/actions/update-department.d.cts +3 -6
- package/dist/actions/update-department.d.cts.map +1 -1
- package/dist/actions/update-department.d.mts +3 -6
- package/dist/actions/update-department.d.mts.map +1 -1
- package/dist/actions/update-department.mjs +1 -0
- package/dist/actions/update-department.mjs.map +1 -1
- package/dist/actions/update-limits.cjs +1 -0
- package/dist/actions/update-limits.cjs.map +1 -1
- package/dist/actions/update-limits.d.cts +3 -28
- package/dist/actions/update-limits.d.cts.map +1 -1
- package/dist/actions/update-limits.d.mts +3 -28
- package/dist/actions/update-limits.d.mts.map +1 -1
- package/dist/actions/update-limits.mjs +1 -0
- package/dist/actions/update-limits.mjs.map +1 -1
- package/dist/actions/update-user.cjs +1 -0
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +3 -12
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +3 -12
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +1 -0
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/actions/upload-new-options.cjs +1 -0
- package/dist/actions/upload-new-options.cjs.map +1 -1
- package/dist/actions/upload-new-options.d.cts +3 -9
- package/dist/actions/upload-new-options.d.cts.map +1 -1
- package/dist/actions/upload-new-options.d.mts +3 -9
- package/dist/actions/upload-new-options.d.mts.map +1 -1
- package/dist/actions/upload-new-options.mjs +1 -0
- package/dist/actions/upload-new-options.mjs.map +1 -1
- package/dist/actions/upload-tax-code-options.cjs +1 -0
- package/dist/actions/upload-tax-code-options.cjs.map +1 -1
- package/dist/actions/upload-tax-code-options.d.cts +3 -8
- package/dist/actions/upload-tax-code-options.d.cts.map +1 -1
- package/dist/actions/upload-tax-code-options.d.mts +3 -8
- package/dist/actions/upload-tax-code-options.d.mts.map +1 -1
- package/dist/actions/upload-tax-code-options.mjs +1 -0
- package/dist/actions/upload-tax-code-options.mjs.map +1 -1
- package/dist/actions/upload-tax-rates.cjs +1 -0
- package/dist/actions/upload-tax-rates.cjs.map +1 -1
- package/dist/actions/upload-tax-rates.d.cts +3 -9
- package/dist/actions/upload-tax-rates.d.cts.map +1 -1
- package/dist/actions/upload-tax-rates.d.mts +3 -9
- package/dist/actions/upload-tax-rates.d.mts.map +1 -1
- package/dist/actions/upload-tax-rates.mjs +1 -0
- package/dist/actions/upload-tax-rates.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"submit-reimbursement-receipt.mjs","names":[],"sources":["../../src/actions/submit-reimbursement-receipt.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampSubmitReimbursementReceiptInput = z.object({\n receipt: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Receipt file to upload. The file name should match the receipt filename (for example, 'receipt.pdf' or 'receipt.jpg').\"),\n reimbursee_id: z.string().describe(\"UUID of the user to create the reimbursement for\"),\n idempotency_key: z.string().describe(\"Unique value to prevent duplicate uploads. Use a UUID to avoid collisions\"),\n reimbursement_id: z.string().describe(\"Optional UUID of existing reimbursement to attach receipt to. If not provided, a new draft reimbursement will be created via OCR\").optional(),\n});\nconst RampSubmitReimbursementReceipt_ReimbursementTypeSchema = z.enum([\"MILEAGE\", \"OUT_OF_POCKET\", \"PAYBACK_FULL\", \"PAYBACK_PARTIAL\", \"PER_DIEM\"]).describe(\"Type of reimbursement.\");\nconst RampSubmitReimbursementReceipt_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 RampSubmitReimbursementReceipt_AttendeeSchema = z.object({\n name: z.string().describe(\"Name of the attendee\").nullable().optional(),\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 RampSubmitReimbursementReceipt_ReimbursementDirectionSchema = z.enum([\"BUSINESS_TO_USER\", \"USER_TO_BUSINESS\"]).describe(\"Direction of reimbursement payment.\");\nconst RampSubmitReimbursementReceipt_LineItemAmountSchema = z.object({\n amount: z.number().int().describe(\"Amount in minor units (e.g., cents for USD)\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code\").nullable().optional(),\n}).passthrough().describe(\"Amount object for a line item.\");\nconst RampSubmitReimbursementReceipt_AccountingFieldSourceSchema = z.object({\n id: z.string().describe(\"Source identifier\").nullable().optional(),\n name: z.string().describe(\"Source name\").nullable().optional(),\n}).passthrough().describe(\"Source information for an accounting field.\");\nconst RampSubmitReimbursementReceipt_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 RampSubmitReimbursementReceipt_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: RampSubmitReimbursementReceipt_AccountingFieldSourceSchema.nullable().optional(),\n external_id: z.string().describe(\"External identifier for the accounting field selection\").nullable().optional(),\n category_info: RampSubmitReimbursementReceipt_CategoryInfoSchema.nullable().optional(),\n external_code: z.string().describe(\"External code for the accounting field\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the accounting provider\").nullable().optional(),\n}).passthrough().describe(\"Accounting field selection with category information.\");\nconst RampSubmitReimbursementReceipt_LineItemSchema = z.object({\n memo: z.string().describe(\"Memo for this line item\").nullable().optional(),\n amount: RampSubmitReimbursementReceipt_LineItemAmountSchema.nullable().optional(),\n accounting_field_selections: z.array(RampSubmitReimbursementReceipt_AccountingFieldSelectionSchema).describe(\"Accounting field selections for this line item\").nullable().optional(),\n}).passthrough().describe(\"Individual line item within a reimbursement.\");\nconst RampSubmitReimbursementReceipt_ReimbursementSyncStatusSchema = z.enum([\"NOT_SYNC_READY\", \"SYNCED\", \"SYNC_READY\"]).describe(\"Sync status of the reimbursement.\");\nconst RampSubmitReimbursementReceipt_MoneyAmountSchema = z.object({\n amount: z.number().int().describe(\"Amount in minor units (e.g., cents for USD). Divide by minor_unit_conversion_rate to get decimal amount\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR)\").nullable().optional(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate from minor units to major units (e.g., 100 for USD cents to dollars)\").nullable().optional(),\n}).passthrough().describe(\"Money amount with currency information.\");\nconst RampSubmitReimbursementReceipt_ExpenseGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the expense group\").nullable().optional(),\n name: z.string().describe(\"Name of the expense group\").nullable().optional(),\n}).passthrough().describe(\"Expense group information.\");\nexport const RampSubmitReimbursementReceiptOutput = z.object({\n id: z.string().describe(\"Unique identifier of the reimbursement\").nullable(),\n memo: z.string().describe(\"Reimbursement memo\").nullable().optional(),\n type: RampSubmitReimbursementReceipt_ReimbursementTypeSchema.nullable(),\n state: RampSubmitReimbursementReceipt_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 identifiers\").nullable().optional(),\n attendees: z.array(RampSubmitReimbursementReceipt_AttendeeSchema).describe(\"List of attendees for the reimbursement\").nullable().optional(),\n direction: RampSubmitReimbursementReceipt_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 (ISO8601 format)\").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 (ISO8601 format)\").nullable(),\n line_items: z.array(RampSubmitReimbursementReceipt_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 (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 (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: RampSubmitReimbursementReceipt_ReimbursementSyncStatusSchema.nullable().optional(),\n end_location: z.string().describe(\"Ending location of the trip, for mileage reimbursements\").nullable().optional(),\n payee_amount: RampSubmitReimbursementReceipt_MoneyAmountSchema.nullable().optional(),\n submitted_at: z.string().describe(\"Time when reimbursement was most recently submitted (ISO8601 format)\").nullable().optional(),\n expense_group: RampSubmitReimbursementReceipt_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 (ISO 8601 date format)\").nullable().optional(),\n payment_processed_at: z.string().describe(\"Time of reimbursement payment (ISO8601 format)\").nullable().optional(),\n accounting_field_selections: z.array(RampSubmitReimbursementReceipt_AccountingFieldSelectionSchema).describe(\"List of accounting fields selected to code the reimbursement\").nullable().optional(),\n original_reimbursement_amount: RampSubmitReimbursementReceipt_MoneyAmountSchema.nullable().optional(),\n}).passthrough().describe(\"Complete reimbursement details returned after submitting a receipt.\");\n\nexport const rampSubmitReimbursementReceipt = action(\"RAMP_SUBMIT_REIMBURSEMENT_RECEIPT\", {\n slug: \"ramp-submit-reimbursement-receipt\",\n name: \"Submit Reimbursement Receipt\",\n description: \"Tool to upload a receipt for a reimbursement. Use when submitting receipts for out-of-pocket expenses. If reimbursement_id is provided, attaches the receipt to an existing reimbursement; otherwise creates a new draft reimbursement via OCR.\",\n input: RampSubmitReimbursementReceiptInput,\n output: RampSubmitReimbursementReceiptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,SAAS,EAAE,OAAO;EAClB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,wHAAwH;CAClI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACrF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAChH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAA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,CAAC,SAAS;EAChK,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,6BAA6B,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjM,+BAA+B,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"submit-reimbursement-receipt.mjs","names":[],"sources":["../../src/actions/submit-reimbursement-receipt.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampSubmitReimbursementReceiptInput = z.object({\n receipt: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Receipt file to upload. The file name should match the receipt filename (for example, 'receipt.pdf' or 'receipt.jpg').\"),\n reimbursee_id: z.string().describe(\"UUID of the user to create the reimbursement for\"),\n idempotency_key: z.string().describe(\"Unique value to prevent duplicate uploads. Use a UUID to avoid collisions\"),\n reimbursement_id: z.string().describe(\"Optional UUID of existing reimbursement to attach receipt to. If not provided, a new draft reimbursement will be created via OCR\").optional(),\n});\nconst RampSubmitReimbursementReceipt_ReimbursementTypeSchema = z.enum([\"MILEAGE\", \"OUT_OF_POCKET\", \"PAYBACK_FULL\", \"PAYBACK_PARTIAL\", \"PER_DIEM\"]).describe(\"Type of reimbursement.\");\nconst RampSubmitReimbursementReceipt_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 RampSubmitReimbursementReceipt_AttendeeSchema = z.object({\n name: z.string().describe(\"Name of the attendee\").nullable().optional(),\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 RampSubmitReimbursementReceipt_ReimbursementDirectionSchema = z.enum([\"BUSINESS_TO_USER\", \"USER_TO_BUSINESS\"]).describe(\"Direction of reimbursement payment.\");\nconst RampSubmitReimbursementReceipt_LineItemAmountSchema = z.object({\n amount: z.number().int().describe(\"Amount in minor units (e.g., cents for USD)\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code\").nullable().optional(),\n}).passthrough().describe(\"Amount object for a line item.\");\nconst RampSubmitReimbursementReceipt_AccountingFieldSourceSchema = z.object({\n id: z.string().describe(\"Source identifier\").nullable().optional(),\n name: z.string().describe(\"Source name\").nullable().optional(),\n}).passthrough().describe(\"Source information for an accounting field.\");\nconst RampSubmitReimbursementReceipt_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 RampSubmitReimbursementReceipt_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: RampSubmitReimbursementReceipt_AccountingFieldSourceSchema.nullable().optional(),\n external_id: z.string().describe(\"External identifier for the accounting field selection\").nullable().optional(),\n category_info: RampSubmitReimbursementReceipt_CategoryInfoSchema.nullable().optional(),\n external_code: z.string().describe(\"External code for the accounting field\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the accounting provider\").nullable().optional(),\n}).passthrough().describe(\"Accounting field selection with category information.\");\nconst RampSubmitReimbursementReceipt_LineItemSchema = z.object({\n memo: z.string().describe(\"Memo for this line item\").nullable().optional(),\n amount: RampSubmitReimbursementReceipt_LineItemAmountSchema.nullable().optional(),\n accounting_field_selections: z.array(RampSubmitReimbursementReceipt_AccountingFieldSelectionSchema).describe(\"Accounting field selections for this line item\").nullable().optional(),\n}).passthrough().describe(\"Individual line item within a reimbursement.\");\nconst RampSubmitReimbursementReceipt_ReimbursementSyncStatusSchema = z.enum([\"NOT_SYNC_READY\", \"SYNCED\", \"SYNC_READY\"]).describe(\"Sync status of the reimbursement.\");\nconst RampSubmitReimbursementReceipt_MoneyAmountSchema = z.object({\n amount: z.number().int().describe(\"Amount in minor units (e.g., cents for USD). Divide by minor_unit_conversion_rate to get decimal amount\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR)\").nullable().optional(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate from minor units to major units (e.g., 100 for USD cents to dollars)\").nullable().optional(),\n}).passthrough().describe(\"Money amount with currency information.\");\nconst RampSubmitReimbursementReceipt_ExpenseGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the expense group\").nullable().optional(),\n name: z.string().describe(\"Name of the expense group\").nullable().optional(),\n}).passthrough().describe(\"Expense group information.\");\nexport const RampSubmitReimbursementReceiptOutput = z.object({\n id: z.string().describe(\"Unique identifier of the reimbursement\").nullable(),\n memo: z.string().describe(\"Reimbursement memo\").nullable().optional(),\n type: RampSubmitReimbursementReceipt_ReimbursementTypeSchema.nullable(),\n state: RampSubmitReimbursementReceipt_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 identifiers\").nullable().optional(),\n attendees: z.array(RampSubmitReimbursementReceipt_AttendeeSchema).describe(\"List of attendees for the reimbursement\").nullable().optional(),\n direction: RampSubmitReimbursementReceipt_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 (ISO8601 format)\").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 (ISO8601 format)\").nullable(),\n line_items: z.array(RampSubmitReimbursementReceipt_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 (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 (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: RampSubmitReimbursementReceipt_ReimbursementSyncStatusSchema.nullable().optional(),\n end_location: z.string().describe(\"Ending location of the trip, for mileage reimbursements\").nullable().optional(),\n payee_amount: RampSubmitReimbursementReceipt_MoneyAmountSchema.nullable().optional(),\n submitted_at: z.string().describe(\"Time when reimbursement was most recently submitted (ISO8601 format)\").nullable().optional(),\n expense_group: RampSubmitReimbursementReceipt_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 (ISO 8601 date format)\").nullable().optional(),\n payment_processed_at: z.string().describe(\"Time of reimbursement payment (ISO8601 format)\").nullable().optional(),\n accounting_field_selections: z.array(RampSubmitReimbursementReceipt_AccountingFieldSelectionSchema).describe(\"List of accounting fields selected to code the reimbursement\").nullable().optional(),\n original_reimbursement_amount: RampSubmitReimbursementReceipt_MoneyAmountSchema.nullable().optional(),\n}).passthrough().describe(\"Complete reimbursement details returned after submitting a receipt.\");\n\nexport const rampSubmitReimbursementReceipt: AppAction<\n typeof RampSubmitReimbursementReceiptInput,\n typeof RampSubmitReimbursementReceiptOutput,\n typeof ramp.credential\n> = action(\"RAMP_SUBMIT_REIMBURSEMENT_RECEIPT\", {\n slug: \"ramp-submit-reimbursement-receipt\",\n name: \"Submit Reimbursement Receipt\",\n description: \"Tool to upload a receipt for a reimbursement. Use when submitting receipts for out-of-pocket expenses. If reimbursement_id is provided, attaches the receipt to an existing reimbursement; otherwise creates a new draft reimbursement via OCR.\",\n input: RampSubmitReimbursementReceiptInput,\n output: RampSubmitReimbursementReceiptOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,SAAS,EAAE,OAAO;EAClB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,wHAAwH;CAClI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACrF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAChH,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;AACrL,CAAC;AACD,MAAM,yDAAyD,EAAE,KAAK;CAAC;CAAW;CAAiB;CAAgB;CAAmB;AAAU,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACpL,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;AACrgB,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,8DAA8D,EAAE,KAAK,CAAC,oB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SAAS,CAAC,CAAC,SAAS;EACnF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,eAAe,kDAAkD,SAAS,CAAC,CAAC,SAAS;EACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;EACnG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzK,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChK,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,6BAA6B,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjM,+BAA+B,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suspend-card.cjs","names":["z","action"],"sources":["../../src/actions/suspend-card.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampSuspendCardInput = z.object({\n card_id: z.string().describe(\"The unique identifier of the card to suspend\"),\n idempotency_key: z.string().describe(\"An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, we encourage clients to use random generated UUIDs.\"),\n});\nexport const RampSuspendCardOutput = z.object({\n id: z.string().describe(\"ID of the deferred task. Task status can be checked via a GET call to /deferred/status/{task_id}\").nullable(),\n}).passthrough().describe(\"Response containing the deferred task ID for tracking the card suspension operation.\");\n\nexport const rampSuspendCard = action(\"RAMP_SUSPEND_CARD\", {\n slug: \"ramp-suspend-card\",\n name: \"Suspend Card\",\n description: \"Tool to suspend a card by creating an async task that locks the card from use. Use when you need to temporarily disable a card. The suspension is revertable.\",\n input: RampSuspendCardInput,\n output: RampSuspendCardOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"suspend-card.cjs","names":["z","action"],"sources":["../../src/actions/suspend-card.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampSuspendCardInput = z.object({\n card_id: z.string().describe(\"The unique identifier of the card to suspend\"),\n idempotency_key: z.string().describe(\"An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, we encourage clients to use random generated UUIDs.\"),\n});\nexport const RampSuspendCardOutput = z.object({\n id: z.string().describe(\"ID of the deferred task. Task status can be checked via a GET call to /deferred/status/{task_id}\").nullable(),\n}).passthrough().describe(\"Response containing the deferred task ID for tracking the card suspension operation.\");\n\nexport const rampSuspendCard: AppAction<\n typeof RampSuspendCardInput,\n typeof RampSuspendCardOutput,\n typeof ramp.credential\n> = action(\"RAMP_SUSPEND_CARD\", {\n slug: \"ramp-suspend-card\",\n name: \"Suspend Card\",\n description: \"Tool to suspend a card by creating an async task that locks the card from use. Use when you need to temporarily disable a card. The suspension is revertable.\",\n input: RampSuspendCardInput,\n output: RampSuspendCardOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC3E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kNAAkN;AACzP,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,EACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sFAAsF;AAEhH,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ramp } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/suspend-card.d.ts
|
|
@@ -8,10 +10,7 @@ declare const RampSuspendCardInput: z.ZodObject<{
|
|
|
8
10
|
declare const RampSuspendCardOutput: z.ZodObject<{
|
|
9
11
|
id: z.ZodNullable<z.ZodString>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const rampSuspendCard:
|
|
12
|
-
card_id: string;
|
|
13
|
-
idempotency_key: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const rampSuspendCard: AppAction<typeof RampSuspendCardInput, typeof RampSuspendCardOutput, typeof ramp.credential>;
|
|
15
14
|
//#endregion
|
|
16
15
|
export { rampSuspendCard };
|
|
17
16
|
//# sourceMappingURL=suspend-card.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suspend-card.d.cts","names":[],"sources":["../../src/actions/suspend-card.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"suspend-card.d.cts","names":[],"sources":["../../src/actions/suspend-card.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ramp } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/suspend-card.d.ts
|
|
@@ -8,10 +10,7 @@ declare const RampSuspendCardInput: z.ZodObject<{
|
|
|
8
10
|
declare const RampSuspendCardOutput: z.ZodObject<{
|
|
9
11
|
id: z.ZodNullable<z.ZodString>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const rampSuspendCard:
|
|
12
|
-
card_id: string;
|
|
13
|
-
idempotency_key: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const rampSuspendCard: AppAction<typeof RampSuspendCardInput, typeof RampSuspendCardOutput, typeof ramp.credential>;
|
|
15
14
|
//#endregion
|
|
16
15
|
export { rampSuspendCard };
|
|
17
16
|
//# sourceMappingURL=suspend-card.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suspend-card.d.mts","names":[],"sources":["../../src/actions/suspend-card.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"suspend-card.d.mts","names":[],"sources":["../../src/actions/suspend-card.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suspend-card.mjs","names":[],"sources":["../../src/actions/suspend-card.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampSuspendCardInput = z.object({\n card_id: z.string().describe(\"The unique identifier of the card to suspend\"),\n idempotency_key: z.string().describe(\"An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, we encourage clients to use random generated UUIDs.\"),\n});\nexport const RampSuspendCardOutput = z.object({\n id: z.string().describe(\"ID of the deferred task. Task status can be checked via a GET call to /deferred/status/{task_id}\").nullable(),\n}).passthrough().describe(\"Response containing the deferred task ID for tracking the card suspension operation.\");\n\nexport const rampSuspendCard = action(\"RAMP_SUSPEND_CARD\", {\n slug: \"ramp-suspend-card\",\n name: \"Suspend Card\",\n description: \"Tool to suspend a card by creating an async task that locks the card from use. Use when you need to temporarily disable a card. The suspension is revertable.\",\n input: RampSuspendCardInput,\n output: RampSuspendCardOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"suspend-card.mjs","names":[],"sources":["../../src/actions/suspend-card.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampSuspendCardInput = z.object({\n card_id: z.string().describe(\"The unique identifier of the card to suspend\"),\n idempotency_key: z.string().describe(\"An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, we encourage clients to use random generated UUIDs.\"),\n});\nexport const RampSuspendCardOutput = z.object({\n id: z.string().describe(\"ID of the deferred task. Task status can be checked via a GET call to /deferred/status/{task_id}\").nullable(),\n}).passthrough().describe(\"Response containing the deferred task ID for tracking the card suspension operation.\");\n\nexport const rampSuspendCard: AppAction<\n typeof RampSuspendCardInput,\n typeof RampSuspendCardOutput,\n typeof ramp.credential\n> = action(\"RAMP_SUSPEND_CARD\", {\n slug: \"ramp-suspend-card\",\n name: \"Suspend Card\",\n description: \"Tool to suspend a card by creating an async task that locks the card from use. Use when you need to temporarily disable a card. The suspension is revertable.\",\n input: RampSuspendCardInput,\n output: RampSuspendCardOutput,\n});\n"],"mappings":";;;AAcA,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBkC,EAAE,OAAO;EAC3C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC3E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kNAAkN;CACzP,CAaS;CACP,QAbmC,EAAE,OAAO,EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,EACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminate-card.cjs","names":["z","action"],"sources":["../../src/actions/terminate-card.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampTerminateCardInput = z.object({\n card_id: z.string().describe(\"The unique identifier of the card to terminate permanently\"),\n idempotency_key: z.string().describe(\"An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, use random generated UUIDs.\"),\n});\nexport const RampTerminateCardOutput = z.object({\n id: z.string().describe(\"ID of the deferred task. Task status can be checked via a GET call to .../deferred/status/<task_id>\").nullable(),\n}).passthrough();\n\nexport const rampTerminateCard = action(\"RAMP_TERMINATE_CARD\", {\n slug: \"ramp-terminate-card\",\n name: \"Terminate Card\",\n description: \"Tool to permanently terminate a Ramp card. This action creates an async task to terminate the card and is irreversible. Use when you need to permanently deactivate a card. The response contains a task ID that can be used to check the termination status.\",\n input: RampTerminateCardInput,\n output: RampTerminateCardOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"terminate-card.cjs","names":["z","action"],"sources":["../../src/actions/terminate-card.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampTerminateCardInput = z.object({\n card_id: z.string().describe(\"The unique identifier of the card to terminate permanently\"),\n idempotency_key: z.string().describe(\"An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, use random generated UUIDs.\"),\n});\nexport const RampTerminateCardOutput = z.object({\n id: z.string().describe(\"ID of the deferred task. Task status can be checked via a GET call to .../deferred/status/<task_id>\").nullable(),\n}).passthrough();\n\nexport const rampTerminateCard: AppAction<\n typeof RampTerminateCardInput,\n typeof RampTerminateCardOutput,\n typeof ramp.credential\n> = action(\"RAMP_TERMINATE_CARD\", {\n slug: \"ramp-terminate-card\",\n name: \"Terminate Card\",\n description: \"Tool to permanently terminate a Ramp card. This action creates an async task to terminate the card and is irreversible. Use when you need to permanently deactivate a card. The response contains a task ID that can be used to check the termination status.\",\n input: RampTerminateCardInput,\n output: RampTerminateCardOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L;AACjO,CAAC;AACD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,EAC1I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ramp } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/terminate-card.d.ts
|
|
@@ -8,10 +10,7 @@ declare const RampTerminateCardInput: z.ZodObject<{
|
|
|
8
10
|
declare const RampTerminateCardOutput: z.ZodObject<{
|
|
9
11
|
id: z.ZodNullable<z.ZodString>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const rampTerminateCard:
|
|
12
|
-
card_id: string;
|
|
13
|
-
idempotency_key: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const rampTerminateCard: AppAction<typeof RampTerminateCardInput, typeof RampTerminateCardOutput, typeof ramp.credential>;
|
|
15
14
|
//#endregion
|
|
16
15
|
export { rampTerminateCard };
|
|
17
16
|
//# sourceMappingURL=terminate-card.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminate-card.d.cts","names":[],"sources":["../../src/actions/terminate-card.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"terminate-card.d.cts","names":[],"sources":["../../src/actions/terminate-card.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAItB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ramp } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/terminate-card.d.ts
|
|
@@ -8,10 +10,7 @@ declare const RampTerminateCardInput: z.ZodObject<{
|
|
|
8
10
|
declare const RampTerminateCardOutput: z.ZodObject<{
|
|
9
11
|
id: z.ZodNullable<z.ZodString>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const rampTerminateCard:
|
|
12
|
-
card_id: string;
|
|
13
|
-
idempotency_key: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const rampTerminateCard: AppAction<typeof RampTerminateCardInput, typeof RampTerminateCardOutput, typeof ramp.credential>;
|
|
15
14
|
//#endregion
|
|
16
15
|
export { rampTerminateCard };
|
|
17
16
|
//# sourceMappingURL=terminate-card.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminate-card.d.mts","names":[],"sources":["../../src/actions/terminate-card.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"terminate-card.d.mts","names":[],"sources":["../../src/actions/terminate-card.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAItB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminate-card.mjs","names":[],"sources":["../../src/actions/terminate-card.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampTerminateCardInput = z.object({\n card_id: z.string().describe(\"The unique identifier of the card to terminate permanently\"),\n idempotency_key: z.string().describe(\"An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, use random generated UUIDs.\"),\n});\nexport const RampTerminateCardOutput = z.object({\n id: z.string().describe(\"ID of the deferred task. Task status can be checked via a GET call to .../deferred/status/<task_id>\").nullable(),\n}).passthrough();\n\nexport const rampTerminateCard = action(\"RAMP_TERMINATE_CARD\", {\n slug: \"ramp-terminate-card\",\n name: \"Terminate Card\",\n description: \"Tool to permanently terminate a Ramp card. This action creates an async task to terminate the card and is irreversible. Use when you need to permanently deactivate a card. The response contains a task ID that can be used to check the termination status.\",\n input: RampTerminateCardInput,\n output: RampTerminateCardOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"terminate-card.mjs","names":[],"sources":["../../src/actions/terminate-card.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampTerminateCardInput = z.object({\n card_id: z.string().describe(\"The unique identifier of the card to terminate permanently\"),\n idempotency_key: z.string().describe(\"An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, use random generated UUIDs.\"),\n});\nexport const RampTerminateCardOutput = z.object({\n id: z.string().describe(\"ID of the deferred task. Task status can be checked via a GET call to .../deferred/status/<task_id>\").nullable(),\n}).passthrough();\n\nexport const rampTerminateCard: AppAction<\n typeof RampTerminateCardInput,\n typeof RampTerminateCardOutput,\n typeof ramp.credential\n> = action(\"RAMP_TERMINATE_CARD\", {\n slug: \"ramp-terminate-card\",\n name: \"Terminate Card\",\n description: \"Tool to permanently terminate a Ramp card. This action creates an async task to terminate the card and is irreversible. Use when you need to permanently deactivate a card. The response contains a task ID that can be used to check the termination status.\",\n input: RampTerminateCardInput,\n output: RampTerminateCardOutput,\n});\n"],"mappings":";;;AAcA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoC,EAAE,OAAO;EAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L;CACjO,CAaS;CACP,QAbqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,EAC1I,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-accounting-field.cjs","names":["z","action"],"sources":["../../src/actions/update-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUpdateAccountingFieldInput = z.object({\n name: z.string().describe(\"Name of the custom accounting field.\").optional(),\n field_id: z.string().describe(\"UUID of the custom accounting field to update (ramp_id).\"),\n display_name: z.string().describe(\"Update the name of the custom accounting field on Ramp.\").optional(),\n is_splittable: z.boolean().describe(\"Update the is_splittable of the custom accounting field on Ramp.\").optional(),\n});\nconst RampUpdateAccountingField_InputTypeSchema = z.enum([\"BOOLEAN\", \"DATE\", \"FREE_FORM_TEXT\", \"SINGLE_CHOICE\"]);\nconst RampUpdateAccountingField_IsRequiredForSchema = z.enum([\"BILL\", \"BILL_PAYMENT\", \"PURCHASE_ORDER\", \"REIMBURSEMENT\", \"TRANSACTION\", \"VENDOR_CREDIT\"]);\nexport const RampUpdateAccountingFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field from ERP system.\").nullable().optional(),\n name: z.string().describe(\"Name of the custom accounting field in the remote ERP system.\").nullable().optional(),\n ramp_id: z.string().describe(\"id to uniquely identify a custom accounting field within Ramp system\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates whether the accounting field is currently active.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was created.\").nullable().optional(),\n input_type: RampUpdateAccountingField_InputTypeSchema.nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was last updated.\").nullable().optional(),\n display_name: z.string().describe(\"Name of the custom accounting field on Ramp.\").nullable().optional(),\n is_splittable: z.boolean().describe(\"Whether the field can be split across multiple line items in transactions.\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the accounting connection that the custom accounting field is uploaded to.\").nullable().optional(),\n is_required_for: z.array(RampUpdateAccountingField_IsRequiredForSchema).describe(\"Types of objects that require this accounting field to be used for coding before they can be marked as ready to sync.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the custom accounting fields are uploaded to.\").nullable().optional(),\n}).passthrough().describe(\"Response from updating a custom accounting field.\");\n\nexport const rampUpdateAccountingField = action(\"RAMP_UPDATE_ACCOUNTING_FIELD\", {\n slug: \"ramp-update-accounting-field\",\n name: \"Update Custom Accounting Field\",\n description: \"Tool to update a custom accounting field. Use when you need to modify the display name, name, or splittable setting of an existing custom accounting field.\",\n input: RampUpdateAccountingFieldInput,\n output: RampUpdateAccountingFieldOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-accounting-field.cjs","names":["z","action"],"sources":["../../src/actions/update-accounting-field.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampUpdateAccountingFieldInput = z.object({\n name: z.string().describe(\"Name of the custom accounting field.\").optional(),\n field_id: z.string().describe(\"UUID of the custom accounting field to update (ramp_id).\"),\n display_name: z.string().describe(\"Update the name of the custom accounting field on Ramp.\").optional(),\n is_splittable: z.boolean().describe(\"Update the is_splittable of the custom accounting field on Ramp.\").optional(),\n});\nconst RampUpdateAccountingField_InputTypeSchema = z.enum([\"BOOLEAN\", \"DATE\", \"FREE_FORM_TEXT\", \"SINGLE_CHOICE\"]);\nconst RampUpdateAccountingField_IsRequiredForSchema = z.enum([\"BILL\", \"BILL_PAYMENT\", \"PURCHASE_ORDER\", \"REIMBURSEMENT\", \"TRANSACTION\", \"VENDOR_CREDIT\"]);\nexport const RampUpdateAccountingFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field from ERP system.\").nullable().optional(),\n name: z.string().describe(\"Name of the custom accounting field in the remote ERP system.\").nullable().optional(),\n ramp_id: z.string().describe(\"id to uniquely identify a custom accounting field within Ramp system\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates whether the accounting field is currently active.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was created.\").nullable().optional(),\n input_type: RampUpdateAccountingField_InputTypeSchema.nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was last updated.\").nullable().optional(),\n display_name: z.string().describe(\"Name of the custom accounting field on Ramp.\").nullable().optional(),\n is_splittable: z.boolean().describe(\"Whether the field can be split across multiple line items in transactions.\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the accounting connection that the custom accounting field is uploaded to.\").nullable().optional(),\n is_required_for: z.array(RampUpdateAccountingField_IsRequiredForSchema).describe(\"Types of objects that require this accounting field to be used for coding before they can be marked as ready to sync.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the custom accounting fields are uploaded to.\").nullable().optional(),\n}).passthrough().describe(\"Response from updating a custom accounting field.\");\n\nexport const rampUpdateAccountingField: AppAction<\n typeof RampUpdateAccountingFieldInput,\n typeof RampUpdateAccountingFieldOutput,\n typeof ramp.credential\n> = action(\"RAMP_UPDATE_ACCOUNTING_FIELD\", {\n slug: \"ramp-update-accounting-field\",\n name: \"Update Custom Accounting Field\",\n description: \"Tool to update a custom accounting field. Use when you need to modify the display name, name, or splittable setting of an existing custom accounting field.\",\n input: RampUpdateAccountingFieldInput,\n output: RampUpdateAccountingFieldOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACnH,CAAC;AACD,MAAM,4CAA4CA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAQ;CAAkB;AAAe,CAAC;AAC/G,MAAM,gDAAgDA,IAAAA,EAAE,KAAK;CAAC;CAAQ;CAAgB;CAAkB;CAAiB;CAAe;AAAe,CAAC;AACxJ,MAAa,kCAAkCA,IAAAA,EAAE,OAAO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M;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ramp } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-accounting-field.d.ts
|
|
@@ -33,12 +35,7 @@ declare const RampUpdateAccountingFieldOutput: z.ZodObject<{
|
|
|
33
35
|
}>>>>;
|
|
34
36
|
accounting_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const rampUpdateAccountingField:
|
|
37
|
-
field_id: string;
|
|
38
|
-
name?: string | undefined;
|
|
39
|
-
display_name?: string | undefined;
|
|
40
|
-
is_splittable?: boolean | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
38
|
+
declare const rampUpdateAccountingField: AppAction<typeof RampUpdateAccountingFieldInput, typeof RampUpdateAccountingFieldOutput, typeof ramp.credential>;
|
|
42
39
|
//#endregion
|
|
43
40
|
export { rampUpdateAccountingField };
|
|
44
41
|
//# sourceMappingURL=update-accounting-field.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-accounting-field.d.cts","names":[],"sources":["../../src/actions/update-accounting-field.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-accounting-field.d.cts","names":[],"sources":["../../src/actions/update-accounting-field.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAe/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ramp } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-accounting-field.d.ts
|
|
@@ -33,12 +35,7 @@ declare const RampUpdateAccountingFieldOutput: z.ZodObject<{
|
|
|
33
35
|
}>>>>;
|
|
34
36
|
accounting_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const rampUpdateAccountingField:
|
|
37
|
-
field_id: string;
|
|
38
|
-
name?: string | undefined;
|
|
39
|
-
display_name?: string | undefined;
|
|
40
|
-
is_splittable?: boolean | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
38
|
+
declare const rampUpdateAccountingField: AppAction<typeof RampUpdateAccountingFieldInput, typeof RampUpdateAccountingFieldOutput, typeof ramp.credential>;
|
|
42
39
|
//#endregion
|
|
43
40
|
export { rampUpdateAccountingField };
|
|
44
41
|
//# sourceMappingURL=update-accounting-field.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-accounting-field.d.mts","names":[],"sources":["../../src/actions/update-accounting-field.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-accounting-field.d.mts","names":[],"sources":["../../src/actions/update-accounting-field.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAe/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-accounting-field.mjs","names":[],"sources":["../../src/actions/update-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUpdateAccountingFieldInput = z.object({\n name: z.string().describe(\"Name of the custom accounting field.\").optional(),\n field_id: z.string().describe(\"UUID of the custom accounting field to update (ramp_id).\"),\n display_name: z.string().describe(\"Update the name of the custom accounting field on Ramp.\").optional(),\n is_splittable: z.boolean().describe(\"Update the is_splittable of the custom accounting field on Ramp.\").optional(),\n});\nconst RampUpdateAccountingField_InputTypeSchema = z.enum([\"BOOLEAN\", \"DATE\", \"FREE_FORM_TEXT\", \"SINGLE_CHOICE\"]);\nconst RampUpdateAccountingField_IsRequiredForSchema = z.enum([\"BILL\", \"BILL_PAYMENT\", \"PURCHASE_ORDER\", \"REIMBURSEMENT\", \"TRANSACTION\", \"VENDOR_CREDIT\"]);\nexport const RampUpdateAccountingFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field from ERP system.\").nullable().optional(),\n name: z.string().describe(\"Name of the custom accounting field in the remote ERP system.\").nullable().optional(),\n ramp_id: z.string().describe(\"id to uniquely identify a custom accounting field within Ramp system\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates whether the accounting field is currently active.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was created.\").nullable().optional(),\n input_type: RampUpdateAccountingField_InputTypeSchema.nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was last updated.\").nullable().optional(),\n display_name: z.string().describe(\"Name of the custom accounting field on Ramp.\").nullable().optional(),\n is_splittable: z.boolean().describe(\"Whether the field can be split across multiple line items in transactions.\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the accounting connection that the custom accounting field is uploaded to.\").nullable().optional(),\n is_required_for: z.array(RampUpdateAccountingField_IsRequiredForSchema).describe(\"Types of objects that require this accounting field to be used for coding before they can be marked as ready to sync.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the custom accounting fields are uploaded to.\").nullable().optional(),\n}).passthrough().describe(\"Response from updating a custom accounting field.\");\n\nexport const rampUpdateAccountingField = action(\"RAMP_UPDATE_ACCOUNTING_FIELD\", {\n slug: \"ramp-update-accounting-field\",\n name: \"Update Custom Accounting Field\",\n description: \"Tool to update a custom accounting field. Use when you need to modify the display name, name, or splittable setting of an existing custom accounting field.\",\n input: RampUpdateAccountingFieldInput,\n output: RampUpdateAccountingFieldOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-accounting-field.mjs","names":[],"sources":["../../src/actions/update-accounting-field.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampUpdateAccountingFieldInput = z.object({\n name: z.string().describe(\"Name of the custom accounting field.\").optional(),\n field_id: z.string().describe(\"UUID of the custom accounting field to update (ramp_id).\"),\n display_name: z.string().describe(\"Update the name of the custom accounting field on Ramp.\").optional(),\n is_splittable: z.boolean().describe(\"Update the is_splittable of the custom accounting field on Ramp.\").optional(),\n});\nconst RampUpdateAccountingField_InputTypeSchema = z.enum([\"BOOLEAN\", \"DATE\", \"FREE_FORM_TEXT\", \"SINGLE_CHOICE\"]);\nconst RampUpdateAccountingField_IsRequiredForSchema = z.enum([\"BILL\", \"BILL_PAYMENT\", \"PURCHASE_ORDER\", \"REIMBURSEMENT\", \"TRANSACTION\", \"VENDOR_CREDIT\"]);\nexport const RampUpdateAccountingFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field from ERP system.\").nullable().optional(),\n name: z.string().describe(\"Name of the custom accounting field in the remote ERP system.\").nullable().optional(),\n ramp_id: z.string().describe(\"id to uniquely identify a custom accounting field within Ramp system\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates whether the accounting field is currently active.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was created.\").nullable().optional(),\n input_type: RampUpdateAccountingField_InputTypeSchema.nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was last updated.\").nullable().optional(),\n display_name: z.string().describe(\"Name of the custom accounting field on Ramp.\").nullable().optional(),\n is_splittable: z.boolean().describe(\"Whether the field can be split across multiple line items in transactions.\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the accounting connection that the custom accounting field is uploaded to.\").nullable().optional(),\n is_required_for: z.array(RampUpdateAccountingField_IsRequiredForSchema).describe(\"Types of objects that require this accounting field to be used for coding before they can be marked as ready to sync.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the custom accounting fields are uploaded to.\").nullable().optional(),\n}).passthrough().describe(\"Response from updating a custom accounting field.\");\n\nexport const rampUpdateAccountingField: AppAction<\n typeof RampUpdateAccountingFieldInput,\n typeof RampUpdateAccountingFieldOutput,\n typeof ramp.credential\n> = action(\"RAMP_UPDATE_ACCOUNTING_FIELD\", {\n slug: \"ramp-update-accounting-field\",\n name: \"Update Custom Accounting Field\",\n description: \"Tool to update a custom accounting field. Use when you need to modify the display name, name, or splittable setting of an existing custom accounting field.\",\n input: RampUpdateAccountingFieldInput,\n output: RampUpdateAccountingFieldOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACnH,CAAC;AACD,MAAM,4CAA4C,EAAE,KAAK;CAAC;CAAW;CAAQ;CAAkB;AAAe,CAAC;AAC/G,MAAM,gDAAgD,EAAE,KAAK;CAAC;CAAQ;CAAgB;CAAkB;CAAiB;CAAe;AAAe,CAAC;AAgBxJ,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;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ounting-inventory-item-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUpdateAccountingInventoryItemOptionsInput = z.object({\n name: z.string().describe(\"The updated name of the inventory item option\").optional(),\n option_id: z.string().describe(\"The Ramp UUID of the inventory item option to update\"),\n}).describe(\"Request to update an inventory item option.\");\nexport const RampUpdateAccountingInventoryItemOptionsOutput = z.object({\n id: z.string().describe(\"The external ID of the inventory item option. This is the ID in your ERP system\").nullable(),\n name: z.string().describe(\"The name of the inventory item option\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the inventory item option within Ramp system\").nullable(),\n is_active: z.boolean().describe(\"Whether the inventory item option is active\").nullable(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item option belongs to\").nullable(),\n}).passthrough().describe(\"Response from updating an inventory item option.\");\n\nexport const rampUpdateAccountingInventoryItemOptions = action(\"RAMP_UPDATE_ACCOUNTING_INVENTORY_ITEM_OPTIONS\", {\n slug: \"ramp-update-accounting-inventory-item-options\",\n name: \"Update Accounting Inventory Item Option\",\n description: \"Tool to update an inventory item option in Ramp's accounting system. Use when you need to modify an existing inventory item option's details.\",\n input: RampUpdateAccountingInventoryItemOptionsInput,\n output: RampUpdateAccountingInventoryItemOptionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-accounting-inventory-item-options.cjs","names":["z","action"],"sources":["../../src/actions/update-accounting-inventory-item-options.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampUpdateAccountingInventoryItemOptionsInput = z.object({\n name: z.string().describe(\"The updated name of the inventory item option\").optional(),\n option_id: z.string().describe(\"The Ramp UUID of the inventory item option to update\"),\n}).describe(\"Request to update an inventory item option.\");\nexport const RampUpdateAccountingInventoryItemOptionsOutput = z.object({\n id: z.string().describe(\"The external ID of the inventory item option. This is the ID in your ERP system\").nullable(),\n name: z.string().describe(\"The name of the inventory item option\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the inventory item option within Ramp system\").nullable(),\n is_active: z.boolean().describe(\"Whether the inventory item option is active\").nullable(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item option belongs to\").nullable(),\n}).passthrough().describe(\"Response from updating an inventory item option.\");\n\nexport const rampUpdateAccountingInventoryItemOptions: AppAction<\n typeof RampUpdateAccountingInventoryItemOptionsInput,\n typeof RampUpdateAccountingInventoryItemOptionsOutput,\n typeof ramp.credential\n> = action(\"RAMP_UPDATE_ACCOUNTING_INVENTORY_ITEM_OPTIONS\", {\n slug: \"ramp-update-accounting-inventory-item-options\",\n name: \"Update Accounting Inventory Item Option\",\n description: \"Tool to update an inventory item option in Ramp's accounting system. Use when you need to modify an existing inventory item option's details.\",\n input: RampUpdateAccountingInventoryItemOptionsInput,\n output: RampUpdateAccountingInventoryItemOptionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gDAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACvF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACpH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,2CAITC,eAAAA,OAAO,iDAAiD;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ramp } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-accounting-inventory-item-options.d.ts
|
|
@@ -12,10 +14,7 @@ declare const RampUpdateAccountingInventoryItemOptionsOutput: z.ZodObject<{
|
|
|
12
14
|
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
13
15
|
accounting_connection_id: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const rampUpdateAccountingInventoryItemOptions:
|
|
16
|
-
option_id: string;
|
|
17
|
-
name?: string | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const rampUpdateAccountingInventoryItemOptions: AppAction<typeof RampUpdateAccountingInventoryItemOptionsInput, typeof RampUpdateAccountingInventoryItemOptionsOutput, typeof ramp.credential>;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { rampUpdateAccountingInventoryItemOptions };
|
|
21
20
|
//# sourceMappingURL=update-accounting-inventory-item-options.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-accounting-inventory-item-options.d.cts","names":[],"sources":["../../src/actions/update-accounting-inventory-item-options.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-accounting-inventory-item-options.d.cts","names":[],"sources":["../../src/actions/update-accounting-inventory-item-options.ts"],"mappings":";;;;;cAMa,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;cAI7C,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;;;;;cAQ9C,wCAAA,EAA0C,SAAA,QAC9C,6CAAA,SACA,8CAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ramp } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-accounting-inventory-item-options.d.ts
|
|
@@ -12,10 +14,7 @@ declare const RampUpdateAccountingInventoryItemOptionsOutput: z.ZodObject<{
|
|
|
12
14
|
is_active: z.ZodNullable<z.ZodBoolean>;
|
|
13
15
|
accounting_connection_id: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const rampUpdateAccountingInventoryItemOptions:
|
|
16
|
-
option_id: string;
|
|
17
|
-
name?: string | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const rampUpdateAccountingInventoryItemOptions: AppAction<typeof RampUpdateAccountingInventoryItemOptionsInput, typeof RampUpdateAccountingInventoryItemOptionsOutput, typeof ramp.credential>;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { rampUpdateAccountingInventoryItemOptions };
|
|
21
20
|
//# sourceMappingURL=update-accounting-inventory-item-options.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-accounting-inventory-item-options.d.mts","names":[],"sources":["../../src/actions/update-accounting-inventory-item-options.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-accounting-inventory-item-options.d.mts","names":[],"sources":["../../src/actions/update-accounting-inventory-item-options.ts"],"mappings":";;;;;cAMa,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;cAI7C,8CAAA,EAA8C,CAAA,CAAA,SAAA;;;;;;;cAQ9C,wCAAA,EAA0C,SAAA,QAC9C,6CAAA,SACA,8CAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-accounting-inventory-item-options.mjs","names":[],"sources":["../../src/actions/update-accounting-inventory-item-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUpdateAccountingInventoryItemOptionsInput = z.object({\n name: z.string().describe(\"The updated name of the inventory item option\").optional(),\n option_id: z.string().describe(\"The Ramp UUID of the inventory item option to update\"),\n}).describe(\"Request to update an inventory item option.\");\nexport const RampUpdateAccountingInventoryItemOptionsOutput = z.object({\n id: z.string().describe(\"The external ID of the inventory item option. This is the ID in your ERP system\").nullable(),\n name: z.string().describe(\"The name of the inventory item option\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the inventory item option within Ramp system\").nullable(),\n is_active: z.boolean().describe(\"Whether the inventory item option is active\").nullable(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item option belongs to\").nullable(),\n}).passthrough().describe(\"Response from updating an inventory item option.\");\n\nexport const rampUpdateAccountingInventoryItemOptions = action(\"RAMP_UPDATE_ACCOUNTING_INVENTORY_ITEM_OPTIONS\", {\n slug: \"ramp-update-accounting-inventory-item-options\",\n name: \"Update Accounting Inventory Item Option\",\n description: \"Tool to update an inventory item option in Ramp's accounting system. Use when you need to modify an existing inventory item option's details.\",\n input: RampUpdateAccountingInventoryItemOptionsInput,\n output: RampUpdateAccountingInventoryItemOptionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-accounting-inventory-item-options.mjs","names":[],"sources":["../../src/actions/update-accounting-inventory-item-options.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampUpdateAccountingInventoryItemOptionsInput = z.object({\n name: z.string().describe(\"The updated name of the inventory item option\").optional(),\n option_id: z.string().describe(\"The Ramp UUID of the inventory item option to update\"),\n}).describe(\"Request to update an inventory item option.\");\nexport const RampUpdateAccountingInventoryItemOptionsOutput = z.object({\n id: z.string().describe(\"The external ID of the inventory item option. This is the ID in your ERP system\").nullable(),\n name: z.string().describe(\"The name of the inventory item option\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the inventory item option within Ramp system\").nullable(),\n is_active: z.boolean().describe(\"Whether the inventory item option is active\").nullable(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item option belongs to\").nullable(),\n}).passthrough().describe(\"Response from updating an inventory item option.\");\n\nexport const rampUpdateAccountingInventoryItemOptions: AppAction<\n typeof RampUpdateAccountingInventoryItemOptionsInput,\n typeof RampUpdateAccountingInventoryItemOptionsOutput,\n typeof ramp.credential\n> = action(\"RAMP_UPDATE_ACCOUNTING_INVENTORY_ITEM_OPTIONS\", {\n slug: \"ramp-update-accounting-inventory-item-options\",\n name: \"Update Accounting Inventory Item Option\",\n description: \"Tool to update an inventory item option in Ramp's accounting system. Use when you need to modify an existing inventory item option's details.\",\n input: RampUpdateAccountingInventoryItemOptionsInput,\n output: RampUpdateAccountingInventoryItemOptionsOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,2CAIT,OAAO,iDAAiD;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB2D,EAAE,OAAO;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,CAAC,CAAC,CAAC,SAAS,6CAiBH;CACP,QAjB4D,EAAE,OAAO;EACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACpH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACxF,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-accounting-tax-code-options.cjs","names":["z","action"],"sources":["../../src/actions/update-accounting-tax-code-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUpdateAccountingTaxCodeOptionsInput = z.object({\n name: z.string().describe(\"The name of the tax code option.\").optional(),\n option_id: z.string().describe(\"The unique identifier (UUID) of the tax code option to update\"),\n tax_rate_ids: z.array(z.string()).describe(\"A list of external tax rate IDs (remote_id values) to associate with this tax code option. If this value is provided, it will replace all existing tax rate IDs.\").optional(),\n}).describe(\"Request to update a tax code option.\");\nexport const RampUpdateAccountingTaxCodeOptionsOutput = z.object({\n id: z.string().describe(\"The external ID of the tax code option. This is the ID in your ERP system.\").nullable(),\n name: z.string().describe(\"The name of the tax code option.\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the tax code option within Ramp system.\").nullable(),\n is_active: z.boolean().describe(\"Whether the tax code option is active.\").nullable(),\n tax_rate_ids: z.array(z.string()).describe(\"A list of external tax rate IDs (remote_id values) associated with this tax code option.\"),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax code option belongs to.\").nullable(),\n}).passthrough().describe(\"Response from updating a tax code option.\");\n\nexport const rampUpdateAccountingTaxCodeOptions = action(\"RAMP_UPDATE_ACCOUNTING_TAX_CODE_OPTIONS\", {\n slug: \"ramp-update-accounting-tax-code-options\",\n name: \"Update Accounting Tax Code Option\",\n description: \"Tool to update a tax code option in Ramp. Use when you need to modify the name or associated tax rates of an existing tax code option.\",\n input: RampUpdateAccountingTaxCodeOptionsInput,\n output: RampUpdateAccountingTaxCodeOptionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-accounting-tax-code-options.cjs","names":["z","action"],"sources":["../../src/actions/update-accounting-tax-code-options.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampUpdateAccountingTaxCodeOptionsInput = z.object({\n name: z.string().describe(\"The name of the tax code option.\").optional(),\n option_id: z.string().describe(\"The unique identifier (UUID) of the tax code option to update\"),\n tax_rate_ids: z.array(z.string()).describe(\"A list of external tax rate IDs (remote_id values) to associate with this tax code option. If this value is provided, it will replace all existing tax rate IDs.\").optional(),\n}).describe(\"Request to update a tax code option.\");\nexport const RampUpdateAccountingTaxCodeOptionsOutput = z.object({\n id: z.string().describe(\"The external ID of the tax code option. This is the ID in your ERP system.\").nullable(),\n name: z.string().describe(\"The name of the tax code option.\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the tax code option within Ramp system.\").nullable(),\n is_active: z.boolean().describe(\"Whether the tax code option is active.\").nullable(),\n tax_rate_ids: z.array(z.string()).describe(\"A list of external tax rate IDs (remote_id values) associated with this tax code option.\"),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax code option belongs to.\").nullable(),\n}).passthrough().describe(\"Response from updating a tax code option.\");\n\nexport const rampUpdateAccountingTaxCodeOptions: AppAction<\n typeof RampUpdateAccountingTaxCodeOptionsInput,\n typeof RampUpdateAccountingTaxCodeOptionsOutput,\n typeof ramp.credential\n> = action(\"RAMP_UPDATE_ACCOUNTING_TAX_CODE_OPTIONS\", {\n slug: \"ramp-update-accounting-tax-code-options\",\n name: \"Update Accounting Tax Code Option\",\n description: \"Tool to update a tax code option in Ramp. Use when you need to modify the name or associated tax rates of an existing tax code option.\",\n input: RampUpdateAccountingTaxCodeOptionsInput,\n output: RampUpdateAccountingTaxCodeOptionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC9F,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;AAC1N,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC/G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F;CACrI,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,qCAITC,eAAAA,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ramp } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-accounting-tax-code-options.d.ts
|
|
@@ -14,11 +16,7 @@ declare const RampUpdateAccountingTaxCodeOptionsOutput: z.ZodObject<{
|
|
|
14
16
|
tax_rate_ids: z.ZodArray<z.ZodString>;
|
|
15
17
|
accounting_connection_id: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const rampUpdateAccountingTaxCodeOptions:
|
|
18
|
-
option_id: string;
|
|
19
|
-
name?: string | undefined;
|
|
20
|
-
tax_rate_ids?: string[] | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const rampUpdateAccountingTaxCodeOptions: AppAction<typeof RampUpdateAccountingTaxCodeOptionsInput, typeof RampUpdateAccountingTaxCodeOptionsOutput, typeof ramp.credential>;
|
|
22
20
|
//#endregion
|
|
23
21
|
export { rampUpdateAccountingTaxCodeOptions };
|
|
24
22
|
//# sourceMappingURL=update-accounting-tax-code-options.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-accounting-tax-code-options.d.cts","names":[],"sources":["../../src/actions/update-accounting-tax-code-options.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-accounting-tax-code-options.d.cts","names":[],"sources":["../../src/actions/update-accounting-tax-code-options.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cAKvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cASxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { ramp } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-accounting-tax-code-options.d.ts
|
|
@@ -14,11 +16,7 @@ declare const RampUpdateAccountingTaxCodeOptionsOutput: z.ZodObject<{
|
|
|
14
16
|
tax_rate_ids: z.ZodArray<z.ZodString>;
|
|
15
17
|
accounting_connection_id: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const rampUpdateAccountingTaxCodeOptions:
|
|
18
|
-
option_id: string;
|
|
19
|
-
name?: string | undefined;
|
|
20
|
-
tax_rate_ids?: string[] | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const rampUpdateAccountingTaxCodeOptions: AppAction<typeof RampUpdateAccountingTaxCodeOptionsInput, typeof RampUpdateAccountingTaxCodeOptionsOutput, typeof ramp.credential>;
|
|
22
20
|
//#endregion
|
|
23
21
|
export { rampUpdateAccountingTaxCodeOptions };
|
|
24
22
|
//# sourceMappingURL=update-accounting-tax-code-options.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-accounting-tax-code-options.d.mts","names":[],"sources":["../../src/actions/update-accounting-tax-code-options.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-accounting-tax-code-options.d.mts","names":[],"sources":["../../src/actions/update-accounting-tax-code-options.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cAKvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cASxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-accounting-tax-code-options.mjs","names":[],"sources":["../../src/actions/update-accounting-tax-code-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUpdateAccountingTaxCodeOptionsInput = z.object({\n name: z.string().describe(\"The name of the tax code option.\").optional(),\n option_id: z.string().describe(\"The unique identifier (UUID) of the tax code option to update\"),\n tax_rate_ids: z.array(z.string()).describe(\"A list of external tax rate IDs (remote_id values) to associate with this tax code option. If this value is provided, it will replace all existing tax rate IDs.\").optional(),\n}).describe(\"Request to update a tax code option.\");\nexport const RampUpdateAccountingTaxCodeOptionsOutput = z.object({\n id: z.string().describe(\"The external ID of the tax code option. This is the ID in your ERP system.\").nullable(),\n name: z.string().describe(\"The name of the tax code option.\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the tax code option within Ramp system.\").nullable(),\n is_active: z.boolean().describe(\"Whether the tax code option is active.\").nullable(),\n tax_rate_ids: z.array(z.string()).describe(\"A list of external tax rate IDs (remote_id values) associated with this tax code option.\"),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax code option belongs to.\").nullable(),\n}).passthrough().describe(\"Response from updating a tax code option.\");\n\nexport const rampUpdateAccountingTaxCodeOptions = action(\"RAMP_UPDATE_ACCOUNTING_TAX_CODE_OPTIONS\", {\n slug: \"ramp-update-accounting-tax-code-options\",\n name: \"Update Accounting Tax Code Option\",\n description: \"Tool to update a tax code option in Ramp. Use when you need to modify the name or associated tax rates of an existing tax code option.\",\n input: RampUpdateAccountingTaxCodeOptionsInput,\n output: RampUpdateAccountingTaxCodeOptionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-accounting-tax-code-options.mjs","names":[],"sources":["../../src/actions/update-accounting-tax-code-options.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampUpdateAccountingTaxCodeOptionsInput = z.object({\n name: z.string().describe(\"The name of the tax code option.\").optional(),\n option_id: z.string().describe(\"The unique identifier (UUID) of the tax code option to update\"),\n tax_rate_ids: z.array(z.string()).describe(\"A list of external tax rate IDs (remote_id values) to associate with this tax code option. If this value is provided, it will replace all existing tax rate IDs.\").optional(),\n}).describe(\"Request to update a tax code option.\");\nexport const RampUpdateAccountingTaxCodeOptionsOutput = z.object({\n id: z.string().describe(\"The external ID of the tax code option. This is the ID in your ERP system.\").nullable(),\n name: z.string().describe(\"The name of the tax code option.\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the tax code option within Ramp system.\").nullable(),\n is_active: z.boolean().describe(\"Whether the tax code option is active.\").nullable(),\n tax_rate_ids: z.array(z.string()).describe(\"A list of external tax rate IDs (remote_id values) associated with this tax code option.\"),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax code option belongs to.\").nullable(),\n}).passthrough().describe(\"Response from updating a tax code option.\");\n\nexport const rampUpdateAccountingTaxCodeOptions: AppAction<\n typeof RampUpdateAccountingTaxCodeOptionsInput,\n typeof RampUpdateAccountingTaxCodeOptionsOutput,\n typeof ramp.credential\n> = action(\"RAMP_UPDATE_ACCOUNTING_TAX_CODE_OPTIONS\", {\n slug: \"ramp-update-accounting-tax-code-options\",\n name: \"Update Accounting Tax Code Option\",\n description: \"Tool to update a tax code option in Ramp. Use when you need to modify the name or associated tax rates of an existing tax code option.\",\n input: RampUpdateAccountingTaxCodeOptionsInput,\n output: RampUpdateAccountingTaxCodeOptionsOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,qCAIT,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAC9F,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CAC1N,CAAC,CAAC,CAAC,SAAS,sCAkBH;CACP,QAlBsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAC/G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACvG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACnF,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F;EACrI,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|